/* Shared design tokens and foundations. */
:root {
  --surface: #fff;
  --surface-soft: #f3f6f8;
  --surface-section: #f8fafb;
  --surface-tint: #edf4f7;
  --surface-nav: #f0f4f6;
  --surface-hover: #e3edf2;
  --text-main: #26384c;
  --text-muted: #526173;
  --text-heading: #16324f;
  --color-link: #192b68;
  --color-link-hover: #132352;
  --color-accent: #167c9a;
  --color-border: #cdd4de;
  --footer-background: #071734;
  --footer-muted: #b6c2d1;
  --status-background: #fbe9eb;
  --status-text: #9b3343;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-size-body: 18px;
  --font-size-text: 16px;
  --font-size-small: 14px;
  --font-size-caption: 13px;
  --font-size-heading: 30px;
  --font-size-page-title: clamp(28px, 3vw, 40px);
  --line-body: 1.9;
  --line-heading: 1.6;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --section-gap: 96px;
  --section-inset: calc(var(--section-gap) / 2);
  --page-gutter: 50px;
  --header-size: 88px;
  --radius-image: 10px;
  --radius-control: 4px;
  --shadow-card: 0 3px 18px rgba(22, 50, 79, .065);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-size) + 20px); }
body { margin: 0; color: var(--text-main); background: var(--surface); font: 400 var(--font-size-body)/var(--line-body) var(--font-serif); }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
h1, h2, h3 { color: var(--text-heading); font-weight: 700; line-height: var(--line-heading); }
h2 { font-size: var(--font-size-heading); }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .75; }
img { max-width: 100%; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 var(--page-gutter); }
.section-block { padding-block: var(--section-gap) 0; }
.section-block--inset { padding-block: var(--section-inset); }
.products-page main, .policy-page main { padding-bottom: var(--section-inset); }
.inner { overflow: hidden; }
.photo-frame { min-width: 0; overflow: hidden; border-radius: var(--radius-image); }
.photo-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .photo-frame > img { transition: transform .45s ease; }
  .photo-frame:hover > img { transform: scale(1.035); }
}
.bg-img { pointer-events: none; }
#about .bg-img, #imp-info .bg-img, #contact .bg-img, #access .bg-img { z-index: -1; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 16px; background: var(--surface); color: var(--text-heading); }
.h2-desc { color: var(--text-muted); font-size: clamp(16px, 1.5vw, 17px); line-height: var(--line-body); }
.button, #recruit .desc .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 24px; border: 1px solid var(--color-link); border-radius: var(--radius-control); background: var(--color-link); color: var(--surface); font-size: var(--font-size-text); font-weight: 600; line-height: 1.7; text-align: center; text-decoration: none; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover, #recruit .desc .btn:hover { opacity: 1; background-color: var(--color-link-hover); box-shadow: 0 5px 16px rgba(7, 23, 52, .14); transform: translateY(-1px); }
}
@media (max-width: 1000px) {
  :root { --header-size: 56px; --font-size-body: 16px; }
}
@media (max-width: 767px) {
  :root { --page-gutter: 24px; --section-gap: 64px; }
}
@media (max-width: 480px) {
  :root { --page-gutter: 20px; --font-size-heading: 24px; }
}

/* Header and ordinary page navigation. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); transition: background-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(7, 23, 52, .08), inset 0 -1px 0 rgba(22, 50, 79, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-container { min-height: 88px; max-width: 2000px; margin: auto; padding: 16px 40px 16px 70px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand { display: block; flex: 0 0 72px; }
.brand img { display: block; width: 72px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 16px; line-height: 1.7; }
.desktop-nav > a { position: relative; padding: 8px 0; white-space: nowrap; }
.desktop-nav > a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.desktop-nav > a:focus-visible::after, .desktop-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu, .header-mail { display: none; }
.contact-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; }
.header-contact { display: block; flex: 0 0 auto; padding-left: 24px; border-left: 1px solid var(--color-border); color: var(--text-heading); }
.header-phone { display: flex; align-items: center; gap: 8px; min-height: 30px; font-size: 23px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.header-hours { display: flex; align-items: center; gap: 10px; margin-top: 4px; color: var(--text-muted); font-size: 13px; line-height: 1.5; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .desktop-nav > a:hover { opacity: 1; }
  .desktop-nav > a:hover::after { transform: scaleX(1); }
}
@media (max-width: 1180px) {
  .header-container { padding-left: 30px; padding-right: 30px; gap: 20px; }
  .desktop-nav { gap: 14px; font-size: 14px; }
  .brand { flex-basis: 64px; }
  .brand img { width: 64px; }
  .header-contact { padding-left: 20px; }
  .header-phone { font-size: 21px; }
}
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .header-container { min-height: 56px; padding: 6px 15px; gap: 4px; }
  .brand { display: flex; align-items: center; flex-basis: 50px; min-height: 44px; }
  .brand img { width: 50px; }
  .header-contact { display: flex; flex-direction: column; justify-content: center; min-height: 44px; margin-left: auto; padding-left: 0; border-left: 0; }
  .header-phone { gap: 6px; min-height: 24px; font-size: 18px; line-height: 1.2; }
  .header-phone .contact-icon { flex-basis: 16px; width: 16px; height: 16px; }
  .header-hours { gap: 6px; margin-top: 0; font-size: 12px; line-height: 1.4; }
  .header-mail { display: flex; flex: 0 0 44px; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--radius-control); color: var(--text-heading); }
  .header-mail .contact-icon { flex-basis: 24px; width: 24px; height: 24px; }
  .mobile-menu { display: block; order: 2; }
  .mobile-menu summary { position: relative; z-index: 52; width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-control); padding: 10px; color: var(--text-heading); list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-icon { position: relative; display: block; width: 24px; height: 18px; }
  .menu-icon > span { position: absolute; top: 8px; left: 0; width: 24px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .15s ease, top .15s ease, opacity .15s ease; }
  .menu-icon > span:first-child { top: 0; }
  .menu-icon > span:last-child { top: 16px; }
  .mobile-menu[open] .menu-icon > span:first-child { top: 8px; transform: rotate(45deg); }
  .mobile-menu[open] .menu-icon > span:nth-child(2) { opacity: 0; }
  .mobile-menu[open] .menu-icon > span:last-child { top: 8px; transform: rotate(-45deg); }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; width: 100%; max-height: calc(100vh - var(--header-size)); max-height: calc(100dvh - var(--header-size)); overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; background: #39455d; color: var(--surface); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 12px 24px rgba(7, 23, 52, .12); }
  .mobile-menu nav > a { min-height: 44px; flex-shrink: 0; border-bottom: 1px solid #9ea9c5; padding: 6px 5px; }
}
@media (max-width: 374px) {
  .header-container { padding-inline: 12px; }
  .header-phone { gap: 4px; font-size: 16px; }
  .header-hours { gap: 4px; }
  .header-hours-label { display: none; }
}

/* Hero: a shared copy block keeps every viewport in the normal layout. */
  #hero-area {
    padding-top: clamp(12px, 1.4vw, 24px);
  }
  #hero-area .hero-container {
    --hero-gutter: clamp(20px, 3.3vw, 56px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 var(--hero-gutter);
  }
  #hero-area .hero-screen {
    border-radius: var(--radius-image);
    grid-area: 1 / 1;
    min-width: 0;
    margin-left: clamp(56px, 7vw, 120px);
    height: clamp(420px, min(62vw, calc(100vh - var(--header-size) - 80px)), 760px);
    height: clamp(420px, min(62vw, calc(100svh - var(--header-size) - 80px)), 760px);
    overflow: hidden;
  }
  #hero-area .hero-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 43%;
  }
  #hero-area .hero-copy {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: start;
    position: relative;
    z-index: 1;
    width: min(600px, 85%);
    margin-bottom: clamp(24px, 3vw, 48px);
    padding: clamp(20px, 2.2vw, 32px);
    border-radius: var(--radius-image);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 8px 28px rgba(7, 23, 52, .07);
    font-size: clamp(17px, 1.25vw, 20px);
    font-weight: 600;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }
  #hero-area .hero-copy p + p {
    margin-top: 8px;
  }
  #hero-area .hero-copy p span {
    display: inline-block;
    max-width: 100%;
  }
  #hero-area .hero-copy strong {
    margin: 0 .1em;
    font-size: 1.3em;
    font-weight: 700;
  }
  @media (max-width: 767px) {
    #hero-area .hero-container {
      display: block;
      padding: 0 16px;
    }
    #hero-area .hero-screen {
      margin-left: 0;
      height: clamp(280px, 52vh, 500px);
      height: clamp(280px, 52svh, 500px);
    }
    #hero-area .hero-screen img {
      object-position: 25% 45%;
    }
    #hero-area .hero-copy {
      width: calc(100% - 32px);
      max-width: 600px;
      margin: -24px 16px 0;
      padding: 20px;
      font-size: 16px;
    }
  }
  @media (max-height: 520px) and (orientation: landscape) {
    #hero-area .hero-container {
      display: block;
    }
    #hero-area .hero-screen {
      margin-left: 0;
      height: clamp(240px, calc(100vh - var(--header-size) - 40px), 360px);
      height: clamp(240px, calc(100svh - var(--header-size) - 40px), 360px);
    }
    #hero-area .hero-copy {
      width: calc(100% - 48px);
      max-width: 600px;
      margin: -20px 24px 0;
      padding: 20px 24px;
      font-size: 16px;
    }
  }
  /* /Hero */

/* About */
  #about .container {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 45%;
    grid-template-areas: "heading photo" "lead photo" "copy photo";
    gap: var(--space-md) clamp(32px, 4vw, 64px);
    align-items: start;
  }
  #about .bg-img {
    position: absolute;
    top: -50px;
    right: -30px;
    width: min(441px, 55%);
    height: auto;
  }
  #about .about-h2 {
    grid-area: heading;
    line-height: 2;
  }
  #about .about-middle-font {
    grid-area: lead;
    font-size: 24px;
    line-height: 1.7;
    text-wrap: balance;
  }
  #about .about-middle-font span {
    display: inline-block;
    max-width: 100%;
  }
  #about .about-text-wrap {
    grid-area: copy;
    min-width: 0;
  }
  #about .about-h2-desc {
    font-size: 18px;
    line-height: 2;
  }
  #about .about-img {
    grid-area: photo;
    align-self: center;
    display: block;
    width: 100%;
    max-width: 405px;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-image);
  }
  @media screen and (max-width: 767px) {
    #about .container {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas: "heading" "lead" "photo" "copy";
      gap: 24px;
    }
    #about .about-h2 {
      font-size: 24px;
      line-height: 1.6;
      letter-spacing: .04em;
    }
    #about .about-middle-font {
      font-size: 22px;
      line-height: 1.6;
    }
    #about .about-img {
      justify-self: center;
    }
  }
  /* /About */

/* Products */
.product-overview { margin: var(--section-inset) 0 0; padding-block: var(--section-inset); background: var(--surface-section); }
.product-overview + #contact > .section-block { padding-top: var(--section-inset); }
.products-page main { background: var(--surface-section); }
.product-intro { margin-top: 16px; font-size: 17px; }
.product-intro a, .catalog-lead a { color: var(--text-heading); text-decoration: underline; text-underline-offset: 4px; }
.season-label, .product-status { display: inline-block; max-width: 100%; padding: 3px 9px; border-radius: 3px; font-size: var(--font-size-caption); font-weight: 600; line-height: 1.7; }
.season-label { background: var(--surface-tint); color: var(--text-heading); }
.product-overview-action { margin-top: 24px; text-align: center; }
.product-list-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--text-heading); font-size: var(--font-size-text); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.catalog-intro { padding-top: 40px; }
.products-page main > .container { max-width: 1200px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: var(--font-size-small); }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.catalog-intro h1 { margin-top: 24px; color: var(--text-heading); font-size: clamp(28px, 3vw, 40px); line-height: 1.6; }
.catalog-lead { margin-top: 16px; font-size: 18px; }
.product-price-updated { margin-top: 8px; color: var(--text-muted); font-size: var(--font-size-caption); line-height: 1.8; }
.catalog-nav { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 28px; padding: 8px 0; font-size: var(--font-size-text); }
.catalog-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--surface-nav); color: var(--color-link); line-height: 1.7; }
.catalog-nav a:hover, .catalog-nav a:focus-visible { opacity: 1; background: var(--surface-hover); }
.catalog-filters { display: flex; gap: 8px; margin-top: 20px; }
.catalog-filters button { min-height: 44px; padding: 8px 18px; border: 1px solid #b3c6d4; border-radius: 999px; background: var(--surface-hover); color: var(--text-heading); font-size: 15px; line-height: 1.7; }
.catalog-filters button[aria-pressed="true"] { border-color: var(--text-heading); background: var(--text-heading); color: var(--surface); }
.catalog-empty, .product-feedback { padding: 28px 0; color: var(--text-muted); font-size: var(--font-size-text); }
.product-feedback a { color: var(--text-heading); text-decoration: underline; text-underline-offset: 4px; }
.catalog-group { padding-top: 56px; }
.catalog-group > h2 { color: var(--text-heading); font-size: 26px; line-height: 1.5; }
.product-grid, .product-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 36px 28px; margin-top: 24px; }
.product-preview-grid { margin-top: 32px; }
.product-card { min-width: 0; border-radius: var(--radius-image); background: var(--surface); box-shadow: var(--shadow-card); }
.product-photo { aspect-ratio: 16 / 9; border-radius: var(--radius-image) var(--radius-image) 0 0; }
.product-card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.product-status { background: var(--status-background); color: var(--status-text); }
.product-card h3 { font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.product-price-note { margin-bottom: -4px; color: var(--text-muted); font-size: var(--font-size-caption); line-height: 1.6; }
.product-price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; }
.product-amount { flex: 0 0 auto; color: var(--text-heading); font-size: 22px; line-height: 1.4; white-space: nowrap; }
.product-variant, .product-variant-static { flex: 0 1 auto; min-width: 0; max-width: 50%; min-height: 44px; border: 0; border-radius: 6px; background: var(--surface-soft); color: var(--text-heading); font-size: var(--font-size-small); line-height: 1.5; }
.product-variant { padding: 8px 30px 8px 10px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2316324f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }
.product-variant-static { display: flex; align-items: center; justify-content: center; padding: 8px 12px; overflow-wrap: anywhere; }
.product-copy { min-width: 0; color: var(--text-main); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.product-description { font-size: inherit; line-height: inherit; }
.product-description p + p { margin-top: 8px; }
.product-description p { white-space: pre-line; }
.product-read-more { display: inline-block; min-height: 24px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--color-link); font-size: var(--font-size-small); line-height: inherit; text-align: left; white-space: nowrap; vertical-align: baseline; text-decoration: underline; text-underline-offset: 3px; }
.product-copy.is-expanded .product-read-more { margin-top: 4px; }
@media (max-width: 1000px) {
  .product-grid, .product-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .product-intro { font-size: var(--font-size-text); }
  .catalog-intro { padding-top: 24px; }
  .catalog-intro h1 { margin-top: 16px; }
  .catalog-lead { font-size: var(--font-size-text); }
  .catalog-nav { flex-wrap: nowrap; overflow-x: auto; margin-top: 20px; padding: 8px; white-space: nowrap; }
  .catalog-nav a { flex-shrink: 0; }
  .catalog-group { padding-top: 28px; }
  .catalog-group > h2 { font-size: 24px; }
  .product-grid, .product-preview-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(340px, calc(100vw - 2 * var(--page-gutter) - 32px));
    gap: 16px;
    margin: 14px calc(-1 * var(--page-gutter)) 0;
    padding: 6px var(--page-gutter) 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
  }
  .product-grid:focus-visible, .product-preview-grid:focus-visible { outline-offset: -3px; }
  .product-grid > .product-card, .product-preview-grid > .product-card { scroll-snap-align: start; }
  .product-grid::-webkit-scrollbar, .product-preview-grid::-webkit-scrollbar { height: 4px; }
  .product-grid::-webkit-scrollbar-thumb, .product-preview-grid::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--color-border); }
}

/* Past sales are reference information, separate from the seasonal catalog. */
.past-products { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--color-border); font-size: var(--font-size-text); overflow-wrap: anywhere; }
.past-products h2 { font-size: clamp(22px, 3vw, 26px); line-height: 1.6; }
.past-products-list { margin-top: var(--space-lg); }
.past-products-list > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 8px 24px; padding-block: var(--space-md); border-bottom: 1px solid var(--color-border); }
.past-products-list dt { color: var(--text-heading); font-weight: 700; }
.past-products-note { margin-top: var(--space-lg); }
.past-products-note a { color: var(--color-link); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) {
  .past-products { margin-top: 40px; padding-top: 24px; }
  .past-products-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}


/* Instagram and contact. */
#image-libraries { padding-top: var(--section-gap); }
#image-libraries .instagram-inner { background: var(--surface-section); }
.instagram-section { text-align: center; }
.instagram-section > .button { display: flex; width: fit-content; margin-inline: auto; }
.instagram-section > .h2-desc, #contact .contact-h2-desc { margin-top: var(--space-md); }
.instagram-embed { width: 100%; max-width: 540px; margin: var(--space-xl) auto; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-image); background: var(--surface); }
/* Keep the official embed inside the rounded frame, including its inline styles. */
.instagram-embed > .instagram-media, .instagram-embed > iframe { display: block; width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.instagram-embed > blockquote { padding: var(--space-lg); }
.instagram-embed > blockquote a { color: var(--color-link); text-decoration: underline; text-underline-offset: 4px; }
#contact .container { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; }
#contact .bg-img { position: absolute; top: 66px; right: 20px; }
#contact .contact-box { display: flex; justify-content: space-between; align-items: center; gap: var(--space-xl); max-width: 700px; height: auto; margin-top: var(--space-xl); padding: 20px 56px; border: 2px solid var(--color-border); border-radius: var(--radius-image); background: var(--surface); text-align: left; }
#contact .contact-box .img-wrap { display: flex; flex: 0 0 auto; align-items: center; }
#contact .contact-box img { display: block; width: 120px; height: auto; }
.phone-number, .contact-form-link, #access .contact a, #access .time a { color: var(--color-link); }
.phone-number { display: inline-block; font-size: 38px; font-weight: 700; line-height: 1.5; text-align: left; }
#contact .on-time { white-space: normal; font-size: var(--font-size-text); line-height: var(--line-body); text-align: left; }
.contact-form-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--space-sm); font-size: var(--font-size-text); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 768px) {
  #contact .contact-box { max-width: 480px; padding: 20px 30px; }
  #contact .contact-box img { width: 90px; }
  .phone-number { font-size: 24px; }
  #contact .bg-img, #access .bg-img { width: 50%; height: auto; }
}
@media (max-width: 767px) {
  #contact .contact-box { max-width: 100%; padding: 20px; gap: var(--space-md); }
  #contact .contact-box img { width: 60px; }
}
@media (max-width: 480px) {
  #contact .contact-box { flex-direction: column; align-items: flex-start; width: 100%; }
  #contact .contact-box .img-wrap { display: none; }
  #contact .contact-h2-desc br { display: none; }
  #contact .bg-img, #access .bg-img { width: 70%; }
}

/* Recruitment. */
#recruit .container > .contents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: var(--space-xl); }
#recruit .desc { min-width: 0; }
#recruit .title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
#recruit .title-word { color: var(--text-heading); font-size: var(--font-size-heading); font-weight: 700; line-height: var(--line-heading); }
#recruit .title > span:last-child { color: var(--text-muted); font-size: var(--font-size-text); font-weight: 400; }
#recruit .recruit-copy { margin: var(--space-md) 0 20px; font-size: var(--font-size-text); line-break: strict; }
#recruit .recruit-copy span { display: inline-block; }
#recruit .img { display: block; width: 100%; height: auto; aspect-ratio: 2188 / 1240; border-radius: var(--radius-image); }
@media (max-width: 767px) {
  #recruit .container > .contents { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}
@media (max-width: 480px) {
  #recruit .desc .btn { width: 100%; }
}

/* News */
#imp-info { padding-top: var(--section-inset); }
#imp-info .imp-info-inner { background: var(--surface-section); }
#imp-info .container { position: relative; isolation: isolate; }
#imp-info .bg-img { position: absolute; top: -32px; right: -24px; width: min(411px, 50%); height: auto; }
#imp-info .news-note { margin-top: var(--space-md); color: var(--text-muted); font-size: var(--font-size-small); line-height: var(--line-body); }
#imp-info .news-list { display: grid; margin-top: var(--space-xl); padding: var(--space-xl); border-radius: var(--radius-image); background: var(--surface); box-shadow: var(--shadow-card); }
#imp-info .news-list > li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
#imp-info .news-list > li + li { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-border); }
#imp-info .date { color: var(--text-muted); font-size: var(--font-size-small); font-weight: 600; line-height: var(--line-body); letter-spacing: .04em; }
#imp-info .text { font-size: var(--font-size-text); line-height: var(--line-body); }
#imp-info a { color: var(--color-link); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) {
  #about .bg-img { top: -32px; right: -32px; width: min(320px, 70%); }
  #imp-info .bg-img { top: -24px; right: -32px; width: min(300px, 65%); }
  #imp-info .news-list { padding: 20px; }
  #imp-info .news-list > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
}
@media (max-width: 480px) {
  #about .about-h2-desc { font-size: var(--font-size-text); }
}

/* Access and map. */
#access .access-inner { position: relative; isolation: isolate; text-align: center; }
#access .ac-img { width: 350px; height: 250px; aspect-ratio: 1594 / 1095; margin-right: 30px; border-radius: var(--radius-image); }
#access .bg-img { position: absolute; top: calc(var(--section-inset) + 100px); left: 50%; transform: translate(-50%, -50%); }
#access .contents { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-xl); text-align: left; }
#access .info { min-width: 0; }
#access h3 { margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-border); font-size: 24px; }
#access .info > div { margin-bottom: var(--space-md); }
#access .info > div:last-child { margin-bottom: 0; }
#access .time { overflow-wrap: anywhere; }
#access .time a { text-decoration: underline; text-underline-offset: 4px; }
#access .contact a { display: inline-block; min-height: 44px; }
#access .tel { font-size: 30px; line-height: 1.5; }
.map { width: 100%; height: 400px; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 768px) {
  #access .ac-img { width: 200px; height: 180px; }
  #access h3 { font-size: 20px; }
  #access .tel { font-size: 27px; }
  .map { height: 250px; }
}
@media (max-width: 767px) {
  #access .contents { flex-direction: column; align-items: center; gap: var(--space-lg); }
  #access .ac-img { width: 100%; max-width: 400px; height: auto; margin: 0; }
  #access .info { width: 100%; }
}

/* Footer navigation stays above the quieter site information. */
.footer-bottom { background: var(--footer-background); color: var(--surface); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 28px var(--page-gutter) 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; line-height: 1.7; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; margin-top: var(--space-md); color: var(--footer-muted); font-size: 12px; line-height: 1.8; }
.footer-copyright, .footer-policy-nav { font-size: inherit; }
.footer-policy-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 0; }
.footer-policy-nav a:hover, .footer-policy-nav a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) {
  .footer-inner { padding-top: 24px; padding-bottom: 16px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
}

/* Privacy page. */
.policy-container { max-width: 1060px; padding-top: 40px; font-size: var(--font-size-text); line-height: var(--line-body); overflow-wrap: anywhere; }
.policy-container a { color: var(--color-link); text-decoration: underline; text-underline-offset: 4px; }
.policy-intro h1 { margin-top: var(--space-lg); font-size: var(--font-size-page-title); line-height: 1.5; text-wrap: balance; }
.policy-updated { margin-top: var(--space-sm); color: var(--text-muted); font-size: var(--font-size-small); }
.policy-lead { margin-top: var(--space-lg); }
.policy-section { margin-top: 40px; }
.policy-section h2 { margin-bottom: var(--space-md); font-size: 24px; }
.policy-section > p + p, .policy-section > .policy-list + p { margin-top: var(--space-sm); }
.policy-list { margin: var(--space-sm) 0; padding-left: 1.3em; list-style: disc; }
.policy-list > li + li { margin-top: var(--space-xs); }
.policy-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: var(--space-xl); }
.policy-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 767px) {
  .policy-container { padding-top: var(--space-lg); }
  .policy-intro h1 { margin-top: var(--space-md); }
  .policy-section { margin-top: var(--space-xl); }
  .policy-section h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
