@charset "utf-8";

:root {
  --teal: #28555e;
  --teal-dark: #244c55;
  --gold: #d8b778;
  --soft: #f7f8f5;
  --mist: #e9eff0;
  --ink: #171c1b;
  --header-height: 108px;
  --serif: "Noto Serif JP", "Yu Mincho", "Yu Mincho", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "メイリオ", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
button { font: inherit; }
.section-anchor { scroll-margin-top: calc(var(--header-height) - 5px); }
.section-container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.illustration { position: absolute; pointer-events: none; user-select: none; }
.section-en { display: block; margin: 0 0 12px; font-size: 14px; font-family: var(--sans); font-weight: 600; letter-spacing: .48em; color: var(--gold); line-height: 1.5; }
.section-title h2, .vertical-section-title h2 { margin: 0; color: var(--teal); font: 700 36px/1.45 var(--serif); letter-spacing: .12em; }
.vertical-copy { margin: 0; font: 500 17px/2.05 var(--serif); letter-spacing: .1em; }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height); color: #fff; transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled, .site-header.is-menu-open { background: rgba(35, 77, 85, .96); box-shadow: 0 3px 20px rgba(0,0,0,.1); }
.site-header__inner { width: min(1380px, calc(100% - 60px)); height: 100%; display: flex; align-items: center; justify-content: space-between; margin: 0 auto; gap: 40px; }
.site-logo { display: inline-flex; align-items: center; gap: 15px; flex-shrink: 0; color: #fff; text-decoration: none; font: 700 clamp(20px,2.1vw,29px)/1.3 var(--serif); white-space: nowrap; letter-spacing: .025em; }
.site-logo__mark { width: 54px; height: 55px; object-fit: contain; }
.global-nav ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; column-gap: clamp(22px, 3.1vw, 48px); }
.global-nav a { display: inline-block; padding: 12px 0; font-size: 17px; font-weight: 700; line-height: 1.5; white-space: nowrap; text-decoration: none; transition: opacity .2s ease; }
.global-nav a:hover { opacity: .7; }
.menu-toggle { display: none; }

/* hero */
.hero { position: relative; display: grid; place-items: center; min-height: 800px; height: 800px; isolation: isolate; background: #203b31 url("assets/hero.jpg") center top / cover no-repeat; color: white; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); z-index: -1; }
.hero__content { width: calc(100% - 44px); transform: translateY(12px); text-shadow: 0 2px 12px rgba(0,0,0,.23); }
.hero h1 { margin: 0 0 32px; font: 700 clamp(33px,3.3vw,49px)/1.65 var(--serif); letter-spacing: .1em; }
.hero h1 span { display: inline-block; }
.hero p { margin: 0; font: 700 clamp(14px,1.2vw,18px)/1.85 var(--sans); letter-spacing: .08em; }
.only-mobile { display: none; }
.small {
    position: absolute;
    right: 1em;
    bottom: 2em;
    font-size: 14px;
}

/* business */
.business { position: relative; min-height: 1000px; padding: 170px 0 145px; overflow: hidden; }
.business__bird { top: 20px; right: 12.5%; width: 395px; }
.business__intro { position: absolute; top: 165px; right: min(6.1vw, 90px); display: flex; align-items: flex-start; flex-direction: row-reverse; gap: 48px; }
.vertical-section-title { display: flex; align-items: flex-start; flex-direction: row-reverse; gap: 18px; }
.vertical-section-title h2 { writing-mode: vertical-rl; font-size: 37px; letter-spacing: .14em; }
.vertical-section-title .section-en { writing-mode: vertical-rl; text-orientation: upright; font-size: 12px; letter-spacing: .45em; margin: 0; }
.business__intro .vertical-copy { writing-mode: vertical-rl; height: 560px; max-width: 180px; font-size: 16px; line-height: 2.25; letter-spacing: .14em; margin-top: 50px }
.business__cards { width: min(950px, 69vw); }
.business-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-left: min(6.25vw, 90px); width: min(840px, calc(100% - 90px)); min-height: 280px; background: var(--soft); box-shadow: 6px 16px 24px rgba(15,34,30,.09); text-decoration: none; }
.business-card + .business-card { margin-top: 100px; }
.business-card--offset { margin-left: min(13vw, 190px); }
.business-card__image { width: 100%; height: 280px; object-fit: cover; filter: brightness(0.8); transition: .2s ease-in; }
.business-card__body { position: relative; padding: 64px 30px 42px; color: var(--teal); }
.business-card__en { margin: 0 0 17px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .3em; line-height: 1.5; }
.business-card h3 { display: flex; flex-direction: column; gap: 18px; margin: 0; font: 700 29px/1.45 var(--serif); letter-spacing: .1em; }
.business-card h3 span { font-size: 19px; }
.business-card__arrow { position: absolute; right: 23px; bottom: 18px; font: 400 28px/1 var(--sans); transition: .2s ease-in; }
.business-card:hover .business-card__image { filter: brightness(1); }
.business-card:hover .business-card__arrow { right:13px }

/* company */
.company { position: relative; background: var(--soft); padding: 120px 0; min-height: 690px; }
.company__village { top: -100px; left: 24px; width: 350px; }
.company__inner { display: grid; grid-template-columns: 320px minmax(0,1fr); align-items: start; column-gap: 40px; }
.company__intro { padding: 0 0 0 100px; }
.company__intro .vertical-copy { writing-mode: vertical-rl; height: 340px; margin-top: 55px; margin-left: 10px; font-size: 16px; }
.detail-panel { background: white; padding: 48px 40px; box-shadow: 10px 16px 24px rgba(20,42,38,.07); color: var(--teal); }
.company__panel { margin-top: 30px; }
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; gap: 0; min-height: 60px; padding: 14px 28px; border-top: 1px solid #c8cdca; }
.detail-list > div:last-child { border-bottom: 1px solid #c8cdca; }
.detail-list dt, .detail-list dd { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .07em; line-height: 1.8; }
.detail-list a { text-decoration: none; }
.detail-list a:hover { text-decoration: underline; }

/* message */
.message { position: relative; background: #fff; min-height: 700px; padding: 115px 0; overflow: hidden; }
.message__handshake { top: 30px; right: 7%; width: 355px; }
.message__inner { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 85px; max-width: 1020px; }
.message__portrait { width: 300px; height: 300px; background: #d9d9d9; box-shadow: 12px 15px 20px rgba(0,0,0,.07); }
.message__body { position: relative; z-index: 1; }
.message__lead { margin: 38px 0 33px; font: 700 20px/1.95 var(--serif); letter-spacing: .07em; }
.message__text { font-size: 15px; line-height: 1.9; letter-spacing: .035em; }
.message__text p { margin: 0; }
.message__signature { margin: 16px 0 0; text-align: right; font: 700 14px/1.6 var(--serif); }
.message__signature strong { font-size: 19px; margin-left: 15px; }

/* recruit */
.recruit { min-height: 700px; padding: 120px 0; background: var(--mist); }
.recruit__inner { display: grid; grid-template-columns: minmax(0, 840px) minmax(190px, 1fr); column-gap: 92px; align-items: start; }
.recruit__panel { padding: 45px 40px; }
.recruit__panel .detail-list > div { grid-template-columns: 180px minmax(0,1fr); min-height: 62px; }
.recruit__tel { display: none; }
.recruit__intro { padding-top: 0; }
.recruit__intro .vertical-copy { writing-mode: vertical-rl; height: 370px; margin-top: 38px; font-size: 16px; }

/* access */
.access { position: relative; min-height: 700px; padding: 140px 0 100px; }
.access__butterfly { top: 0; left: 20px; width: 224px; }
.access__inner { display: grid; grid-template-columns: 320px minmax(0,1fr); column-gap: 40px; align-items: start; }
.access__intro { padding-left: 100px; }
.access__intro .vertical-copy { writing-mode: vertical-rl; height: 315px; margin-top: 44px; margin-left: 10px; font-size: 16px; }
.access__map-link { display: block; overflow: hidden; margin-top: 0; box-shadow: 5px 12px 23px rgba(20,42,38,.08); transition: box-shadow .2s ease; }
.access__map-link:hover { box-shadow: 7px 15px 28px rgba(20,42,38,.16); }
.access__map-link img { width: 100%; height: auto; aspect-ratio: 840 / 462; object-fit: cover; }

/* footer */
.site-footer { position: relative; min-height: 115px; padding: 48px 20px 26px; display: grid; place-items: center; background: var(--teal); color: #fff; text-align: center; }
.site-footer::before { content: ""; position: absolute; bottom: calc(100% - 1px); inset-inline: 0; height: 58px; background: url("assets/grass.png") center bottom / 110% 110% no-repeat; pointer-events: none; }
.site-footer p { margin: 0; font: 400 12px/1.7 Georgia,serif; letter-spacing: .03em; }

/* ======================================
   Tablet
====================================== */
@media (max-width: 1199px) {
  :root { --header-height: 88px; }
  .site-header__inner { width: calc(100% - 44px); gap: 25px; }
  .site-logo { font-size: 22px; gap: 10px; }
  .site-logo__mark { width: 43px; height: 44px; }
  .global-nav ul { column-gap: 20px; }
  .global-nav a { font-size: 14px; }
  .business__cards { width: 68vw; }
  .business-card { width: calc(100% - 6vw); margin-left: 6vw; text-decoration: none; }
  .business-card--offset { margin-left: 11vw; }
  .business-card__body { padding: 45px 23px 35px; }
  .business-card h3 { font-size: 25px; }
  .business-card h3 span { font-size: 17px; }
  .business__intro { right: 3.5%; gap: 25px; }
  .business__intro .vertical-copy { max-width: 145px; font-size: 14px; }
  .company__inner, .access__inner { grid-template-columns: 245px minmax(0,1fr); gap: 22px; }
  .company__intro, .access__intro { padding-left: 30px; }
  .recruit__inner { grid-template-columns: minmax(0,1fr) 160px; gap: 45px; }
  .detail-list > div, .recruit__panel .detail-list > div { grid-template-columns: 130px minmax(0,1fr); padding-inline: 12px; }
  .message__inner { gap: 50px; }
}

/* ======================================
   Smartphone / tablet: ナビはハンバーガー、縦書き→横書き
====================================== */
@media (max-width: 1023px) {
  :root { --header-height: 70px; }
  .section-container { width: min(100% - 36px, 560px); }
  .section-en { font-size: 11px; letter-spacing: .3em; margin-bottom: 7px; }
  .section-title h2, .vertical-section-title h2 { font-size: 27px; letter-spacing: .08em; }
  .vertical-copy { font-size: 14px; line-height: 2; letter-spacing: .03em; }
  .site-header__inner { width: calc(100% - 32px); }
  .site-logo { font-size: clamp(16px, 4.3vw, 21px); gap: 8px; }
  .site-logo__mark { width: 37px; height: 38px; }
  .menu-toggle { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex: 0 0 42px; width: 42px; height: 44px; padding: 7px; border: 0; background: transparent; color: #fff; cursor: pointer; z-index: 2; }
  .menu-toggle span { display: block; width: 26px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .22s ease, opacity .22s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
  .global-nav { position: absolute; top: 100%; right: 0; left: 0; padding: 8px 20px 23px; background: rgba(35,77,85,.98); box-shadow: 0 20px 24px rgba(0,0,0,.12); visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .global-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .global-nav ul { display: block; width: min(100%,560px); margin: auto; }
  .global-nav li + li { border-top: 1px solid rgba(255,255,255,.17); }
  .global-nav a { display: block; padding: 15px 9px; font-size: 15px; }
  .hero { min-height: 620px; height: min(85svh,760px); background-position: 48% center; }
  .hero::before { background: rgba(0,0,0,.2); }
  .hero__content { transform: translateY(18px); }
  .hero h1 { margin-bottom: 20px; font-size: clamp(27px,7.2vw,36px); letter-spacing: .07em; line-height: 1.8; }
  .hero h1 span { display: block; }
  .hero p { font-size: 13px; letter-spacing: .02em; }
  .only-mobile { display: inline; }

  .business { min-height: auto; padding: 94px 18px 90px; }
  .business__bird { top: 16px; right: 2%; width: 170px; opacity: .85; }
  .business__intro { position: relative; top: auto; right: auto; display: block; max-width: 560px; margin: 0 auto 34px; }
  .vertical-section-title { display: block; }
  .vertical-section-title h2, .vertical-section-title .section-en { writing-mode: horizontal-tb; text-orientation: mixed; }
  .vertical-section-title h2 { font-size: 27px; }
  .vertical-section-title .section-en { margin: 0 0 7px; font-size: 11px; letter-spacing: .3em; }
  .business__intro .vertical-copy { writing-mode: horizontal-tb; max-width: none; height: auto; font: 400 14px/2 var(--serif); letter-spacing: .025em; margin-top: 16px; }
  .business__intro .vertical-copy br { display: none; }
  .business__cards { width: min(100%,560px); margin: 0 auto; }
  .business-card, .business-card--offset { display: block; width: 100%; min-height: auto; margin-left: 0; text-decoration: none; }
  .business-card + .business-card { margin-top: 28px; }
  .business-card__image { height: clamp(180px,55vw,260px); }
  .business-card__body { min-height: 156px; padding: 24px 22px 36px; }
  .business-card__en { margin-bottom: 12px; font-size: 10px; letter-spacing: .24em; }
  .business-card h3 { font-size: 23px; gap: 8px; }
  .business-card h3 span { font-size: 15px; }
  .business-card__arrow { right: 18px; bottom: 14px; font-size: 24px; }

  .company { min-height: auto; padding: 93px 0 75px; }
  .company__village { top: -43px; left: 7px; width: 175px; }
  .company__inner { display: block; }
  .company__intro { padding: 0; }
  .company__intro .vertical-copy { writing-mode: horizontal-tb; height: auto; margin: 17px 0 27px; font: 400 14px/2 var(--serif); }
  .company__intro .vertical-copy br { display: none; }
  .detail-panel { padding: 20px 18px; box-shadow: 5px 9px 22px rgba(20,42,38,.07); }
  .company__panel { margin-top: 0; }
  .detail-list > div { grid-template-columns: 100px minmax(0,1fr); min-height: 0; padding: 13px 2px; }
  .detail-list dt, .detail-list dd { font-size: 12px; line-height: 1.7; letter-spacing: .025em; overflow-wrap: anywhere; }
  .detail-list dt { padding-right: 12px; }
  .detail-list dd br { display: none; }

  .message { min-height: auto; padding: 85px 0 85px; }
  .message__handshake { width: 170px; right: -8px; top: 3px; opacity: .88; }
  .message__inner { display: flex; flex-direction: column; gap: 33px; align-items: stretch; }
  .message__body { order: 0; }
  .message__portrait { order: 1; width: min(260px,70%); height: auto; aspect-ratio: 1/1; align-self: center; }
  .message__lead { margin: 22px 0 22px; font-size: 16px; line-height: 1.95; letter-spacing: .025em; }
  .message__lead br { display: none; }
  .message__text { font-size: 13px; line-height: 2; letter-spacing: .025em; }
  .message__text p + p { margin-top: 12px; }
  .message__signature { margin-top: 19px; font-size: 12px; }
  .message__signature strong { font-size: 16px; }

  .recruit { min-height: auto; padding: 74px 0 85px; }
  .recruit__inner { display: flex; flex-direction: column; gap: 30px; align-items: stretch; }
  .recruit__intro { order: 0; }
  .recruit__panel { order: 1; padding: 18px; }
  .recruit__intro .vertical-copy { writing-mode: horizontal-tb; height: auto; margin-top: 14px; font: 400 14px/2 var(--serif); }
  .recruit__intro .vertical-copy br { display: none; }
  .recruit__panel .detail-list > div { grid-template-columns: 90px minmax(0,1fr); padding: 12px 2px; min-height: 0; }
  .recruit__tel { display: inline; color: var(--teal); text-decoration: underline !important; }

  .access { min-height: auto; padding: 95px 0 120px; }
  .access__butterfly { top: 0; left: 5px; width: 140px; }
  .access__inner { display: block; }
  .access__intro { padding: 0; }
  .access__intro .vertical-copy { writing-mode: horizontal-tb; height: auto; margin: 16px 0 30px; font: 400 14px/2 var(--serif); }
  .access__intro .vertical-copy br { display: none; }
  .access__map-link img { aspect-ratio: 1.4; object-position: center; }

  .site-footer { min-height: 95px; padding: 35px 16px 25px; }
  .site-footer::before { height: 38px; }
  .site-footer p { font-size: 10px; }
}
@media (max-width: 370px) {
  .site-logo { font-size: 15px; }
  .site-logo__mark { width: 33px; }
  .detail-list > div { grid-template-columns: 76px minmax(0,1fr); }
  .recruit__panel .detail-list > div { grid-template-columns: 76px minmax(0,1fr); }
  .hero h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .section-container { width: min(100% - 72px, 720px); }
  .business { padding-inline: 36px; }
  .business__intro, .business__cards { max-width: 720px; width: 100%; }
  .business-card { display: grid; grid-template-columns: 48% 52%; }
  .business-card__image { height: 240px; }
  .business-card__body { padding: 34px 24px 40px; }
  .company__inner, .access__inner { max-width: 720px; }
  .company__panel, .recruit__panel { padding: 28px 30px; }
  .detail-list > div, .recruit__panel .detail-list > div { grid-template-columns: 145px minmax(0,1fr); }
  .message__inner { max-width: 720px; }
  .message__portrait { width: min(300px, 70%); }
  .access__map-link img { aspect-ratio: 16/9; }
}
