@charset "UTF-8";
/* =============================================================
   訪問看護ステーション コーポレートサイト
   仕様: DESIGN.md  /  Core Idea: 「白い余白は、ご自宅の静けさ」
   構成: 1 tokens → 2 reset → 3 typography → 4 layout
         5 components → 6 sections → 7 responsive → 8 a11y/motion
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  color-scheme: light;

  /* --- color（チラシ準拠：グリーン × クリーム、地は白） --- */
  --c-bg:        #FFFFFF;
  --c-surface:   #FBF7EC;   /* チラシのクリーム地 */
  --c-surface-2: #F4EDDC;
  --c-ink:       #1E2A18;
  --c-ink-2:     #4C5945;
  --c-ink-3:     #78846F;
  --c-line:      #E7E3D4;

  --c-primary:   #4C8C2B;   /* チラシの葉色グリーン */
  --c-primary-d: #3A6D1F;
  --c-primary-l: #EDF6E1;
  --c-primary-p: #8CC152;   /* 見出しピルの明るい緑 */
  --c-accent:    #D9812F;   /* CTA（電話）の温色 */
  --c-accent-d:  #B96A21;
  --c-accent-l:  #FCF1E2;
  --c-focus:     #3A6D1F;

  /* --- space (8px grid) --- */
  --s-1: .5rem;  --s-2: 1rem;  --s-3: 1.5rem;  --s-4: 2rem;
  --s-5: 3rem;   --s-6: 4rem;  --s-7: 6rem;    --s-8: 8rem;
  --section-y: clamp(4rem, 9vw, 8rem);
  --gutter:    clamp(1.25rem, 5vw, 3rem);
  --maxw:      1120px;
  --maxw-text: 34em;

  /* --- shape --- */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-full: 999px;
  --shadow-1: 0 1px 2px rgba(16,38,31,.04), 0 8px 24px rgba(16,38,31,.05);
  --shadow-2: 0 2px 6px rgba(16,38,31,.06), 0 18px 40px rgba(16,38,31,.08);

  /* --- motion --- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .22s;
  --dur-in: .5s;

  /* --- type --- */
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium",
          "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;
  --header-h: 76px;
}

/* =============================================================
   2. RESET
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  font-size: 100%;              /* ユーザー設定を尊重 */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.95;
  letter-spacing: .02em;
  font-size: clamp(1.0625rem, .9rem + .4vw, 1.1875rem);   /* 17px(SP) → 19px(PC) */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "palt" 0;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* =============================================================
   3. TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4 {
  line-break: strict;
  overflow-wrap: anywhere;
  font-weight: 700;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); line-height: 1.45; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem);  line-height: 1.5; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem);    line-height: 1.6; }
h4 { font-size: 1.125rem; line-height: 1.7; }

p { max-width: var(--maxw-text); }
.lead {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);   /* 18px(SP) → 22px(PC) */
  font-weight: 500;
  line-height: 1.9;
  color: var(--c-ink-2);
}
.note { font-size: 1rem; line-height: 1.8; color: var(--c-ink-3); }
strong { font-weight: 700; }
.pc-br { display: none; }

/* =============================================================
   4. LAYOUT
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-surface); }
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__label {
  display: inline-block;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-primary);
  margin-bottom: var(--s-1);
}
.section__head p { margin-top: var(--s-2); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* =============================================================
   5. COMPONENTS
   ============================================================= */

/* --- 5.1 buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  min-height: 56px; padding: .75rem 1.75rem;
  border: 1px solid transparent; border-radius: var(--r-full);
  font-size: 1.0625rem; font-weight: 700; letter-spacing: .02em;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--c-primary-d); box-shadow: var(--shadow-2); }
.btn--accent { background: var(--c-accent); color: #fff; box-shadow: var(--shadow-1); }
.btn--accent:hover { background: var(--c-accent-d); box-shadow: var(--shadow-2); }
.btn--ghost { background: transparent; border-color: var(--c-primary); color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary-l); }
.btn--lg { min-height: 64px; padding-inline: 2.25rem; font-size: 1.125rem; }
.btn__icon { width: 1.25em; height: 1.25em; flex: none; }

/* --- 5.2 card --- */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: #CFE2DE; }
.card h3 { margin-bottom: var(--s-1); }
.card p { color: var(--c-ink-2); max-width: none; }

/* --- 5.2b チラシ由来：ピル見出し + クリームカード --- */
.card--cream { background: var(--c-surface); border-color: #EBE3D0; }
.pill-head {
  display: inline-block;
  margin-bottom: var(--s-2);
  padding: .4rem 1.5rem;
  background: var(--c-primary-p);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 1.125rem; font-weight: 700; line-height: 1.6;
  letter-spacing: .04em;
}
.dot-list { display: grid; gap: .625rem; }
.dot-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--c-ink-2); }
.dot-list li::before {
  content: ""; flex: none; margin-top: .68em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary-p);
}

/* --- 5.3 chip --- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-block;
  padding: .3rem .85rem;
  background: var(--c-primary-l);
  color: var(--c-primary-d);
  border-radius: var(--r-full);
  font-size: .9375rem; font-weight: 500; line-height: 1.7;
}

/* --- 5.4 icon circle --- */
.icon-circle {
  display: grid; place-items: center;
  width: 60px; height: 60px; flex: none;
  border-radius: var(--r-full);
  background: var(--c-primary-l);
  color: var(--c-primary);
  margin-bottom: var(--s-2);
}
.icon-circle svg { width: 28px; height: 28px; }

/* --- 5.5 tel block --- */
.tel-block { display: flex; flex-direction: column; gap: .25rem; }
.tel-block__label { font-size: .9375rem; font-weight: 700; color: var(--c-ink-3); letter-spacing: .08em; }
.tel-num {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700; line-height: 1.2; letter-spacing: 0;
  color: var(--c-primary);
}
.tel-num svg { width: .9em; height: .9em; }
.tel-num:hover { color: var(--c-primary-d); text-decoration: underline; text-underline-offset: 6px; }

/* --- 5.5b 本文中のリンク（リンクだと分かる見た目にする） --- */
.area-card dd a, .area-note a, .footer address a, .faq__body a {
  display: inline-block;
  padding-block: .2rem;
  color: var(--c-primary-d);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.area-card dd a:hover, .area-note a:hover, .footer address a:hover, .faq__body a:hover {
  color: var(--c-primary);
}

/* --- 5.6 badges --- */
.badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  border: 1px solid var(--c-line); border-radius: var(--r-full);
  background: #fff;
  font-size: .9375rem; font-weight: 700; color: var(--c-ink-2);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }

/* =============================================================
   6. SECTIONS
   ============================================================= */

/* --- 6.0 skip link --- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  padding: .75rem 1.25rem; background: var(--c-primary); color: #fff;
  border-radius: var(--r-sm); font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --- 6.1 header --- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 2px 16px rgba(16,38,31,.05); }
.header__inner {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: var(--header-h);
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}
.logo { display: flex; align-items: center; gap: .625rem; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.logo__mark { width: 38px; height: 38px; flex: none; color: var(--c-primary); }
.logo__sub { display: block; font-size: .75rem; font-weight: 500; color: var(--c-ink-3); letter-spacing: .04em; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.nav__list a { font-size: 1rem; font-weight: 700; color: var(--c-ink-2); transition: color var(--dur) var(--ease); }
.nav__list a:hover { color: var(--c-primary); }
.header__cta { display: flex; align-items: center; gap: var(--s-2); }
.header__tel { display: flex; flex-direction: column; line-height: 1.3; }
.header__tel .num { font-size: 1.375rem; font-weight: 700; color: var(--c-primary); letter-spacing: 0; }
.header__tel .time { font-size: .8125rem; color: var(--c-ink-3); }
.header .btn { min-height: 48px; padding-inline: 1.25rem; font-size: 1rem; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; padding: 0;
  background: transparent; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--c-ink); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- 6.2 hero --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  background:
    radial-gradient(900px 500px at 88% -8%, var(--c-primary-l) 0%, rgba(228,242,239,0) 62%),
    radial-gradient(700px 420px at 4% 108%, var(--c-accent-l) 0%, rgba(253,241,228,0) 60%),
    var(--c-bg);
}
.hero__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1.15fr .85fr; align-items: center; }
.hero__eyebrow {
  display: inline-block; margin-bottom: var(--s-3);
  padding: .4rem 1rem; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--c-line);
  font-size: .9375rem; font-weight: 700; color: var(--c-primary-d);
}
.hero h1 { margin-bottom: var(--s-3); }
.hero h1 .mark { color: var(--c-primary); }
.hero__lead { margin-bottom: var(--s-4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.hero__badges { margin-top: var(--s-3); }

.hero__side { display: grid; gap: var(--s-3); align-content: start; }
.hero__photo {
  width: 100%; height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  object-fit: cover;
}

.hero__panel {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-1);
}
.hero__panel h2 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.hero__areas { display: grid; gap: .75rem; margin-bottom: var(--s-3); }
.hero__area {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .875rem 1rem;
  background: var(--c-surface); border-radius: var(--r-md);
}
.hero__area b { font-size: 1.125rem; }
.hero__area span { font-size: .9375rem; color: var(--c-ink-3); }

/* --- 6.3 area --- */
.area-card { display: flex; flex-direction: column; gap: var(--s-2); }
.area-card__head { display: flex; align-items: center; gap: .75rem; }
.area-card__head svg { width: 26px; height: 26px; color: var(--c-primary); flex: none; }
.area-card dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem .875rem; font-size: 1rem; margin-top: auto; }
.area-card dt { font-weight: 700; color: var(--c-ink-3); white-space: nowrap; }
.area-card dd { margin: 0; color: var(--c-ink-2); }
.area-note {
  margin-top: var(--s-4); padding: 1.25rem 1.5rem;
  background: var(--c-surface-2); border-radius: var(--r-md);
}
.area-note p { max-width: none; margin: 0; color: var(--c-ink-2); }

/* --- 6.4 service --- */
.service-card p { font-size: 1.0625rem; }
.service-card__sub { margin-top: .5rem; font-size: .9375rem; color: var(--c-ink-3); }

/* --- 6.5 reason --- */
.reason-item { display: flex; gap: var(--s-3); align-items: flex-start; }
.reason-item__num {
  flex: none; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: var(--r-full);
  background: var(--c-primary); color: #fff;
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0;
}
.reason-item h3 { margin-bottom: .35rem; }
.reason-item p { color: var(--c-ink-2); max-width: none; }

/* --- 6.6 flow --- */
.flow { display: grid; gap: 0; counter-reset: step; }
.flow__item {
  display: grid; grid-template-columns: 72px 1fr; gap: var(--s-3);
  padding-bottom: var(--s-5); position: relative;
}
.flow__item:last-child { padding-bottom: 0; }
.flow__item::before {
  content: ""; position: absolute; left: 35px; top: 60px; bottom: 0;
  width: 2px; background: var(--c-line);
}
.flow__item:last-child::before { display: none; }
.flow__num {
  grid-row: span 2; display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: var(--r-full);
  background: var(--c-primary-l); color: var(--c-primary-d);
  font-weight: 700; line-height: 1.1; text-align: center; letter-spacing: 0;
  position: relative; z-index: 1;
}
.flow__num small { display: block; font-size: .6875rem; letter-spacing: .1em; }
.flow__num b { font-size: 1.625rem; }
.flow__body h3 { margin-bottom: .35rem; }
.flow__body p { color: var(--c-ink-2); max-width: none; }

/* --- 6.7 price --- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.price-table { min-width: 560px; }
.price-table th, .price-table td { padding: 1.125rem 1.25rem; text-align: left; border-bottom: 1px solid var(--c-line); font-size: 1.0625rem; }
.price-table thead th { background: var(--c-surface); font-weight: 700; color: var(--c-ink-2); font-size: 1rem; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th { font-weight: 700; white-space: nowrap; }
.callout {
  margin-top: var(--s-3); padding: 1.25rem 1.5rem;
  background: var(--c-accent-l); border-radius: var(--r-md);
  border-left: 4px solid var(--c-accent);
}
.callout p { max-width: none; font-size: 1rem; color: var(--c-ink-2); }
.callout p + p { margin-top: .5rem; }

/* --- 6.8 faq --- */
.faq-list { display: grid; gap: var(--s-2); max-width: 860px; }
.faq {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: flex-start; gap: .875rem;
  padding: 1.25rem 1.5rem; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; color: var(--c-primary); font-size: 1.25rem; line-height: 1.45; }
.faq summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: .55rem;
  width: 11px; height: 11px;
  border-right: 2px solid var(--c-ink-3); border-bottom: 2px solid var(--c-ink-3);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { background: var(--c-surface); }
.faq__body { display: flex; gap: .875rem; padding: 0 1.5rem 1.5rem 1.5rem; }
.faq__body::before { content: "A"; flex: none; color: var(--c-accent); font-weight: 700; font-size: 1.25rem; }
.faq__body p { color: var(--c-ink-2); max-width: none; }

/* --- 6.9b 木漏れ日バンド（採用セクションへの導入。社名のモチーフ） --- */
.komorebi-band {
  position: relative;
  width: 100%;
  height: clamp(150px, 24vw, 280px);
  overflow: hidden;
  background: var(--c-primary);
}
.komorebi-band img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
}
/* 下端を採用セクションの緑へ溶かし込む */
.komorebi-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(76,140,43,0) 45%,
    rgba(76,140,43,.55) 78%,
    var(--c-primary) 100%);
}

/* --- 6.9 recruit --- */
.recruit { background: var(--c-primary); color: #fff; }
.recruit .section__label { color: #CDE8AE; }
.recruit h2, .recruit p { color: #fff; }
.recruit .lead { color: #E2F1D2; }
.recruit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.recruit__list { display: grid; gap: .875rem; }
.recruit__list li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.0625rem; }
.recruit__list li::before {
  content: ""; flex: none; margin-top: .55rem;
  width: 9px; height: 9px; border-radius: 50%; background: #B7DE8E;
}
.recruit .btn--accent { margin-top: var(--s-3); }

.recruit__detail { display: grid; gap: var(--s-3); }
.recruit__dl {
  display: grid; grid-template-columns: auto 1fr;
  gap: .625rem 1.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-lg);
}
.recruit__dl dt { font-weight: 700; color: #CDE8AE; white-space: nowrap; }
.recruit__dl dd { margin: 0; color: #fff; font-size: 1.0625rem; }
.recruit__note { color: #E2F1D2 !important; max-width: none; }
.recruit__note a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* --- 6.10 contact --- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact__tel {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-1);
}
.contact__tel h3 { margin-bottom: var(--s-2); }
.contact__tel .tel-block + .tel-block { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--c-line); }

.mail-address { margin-top: .25rem; }
.mail-address a {
  display: inline-block; padding-block: .2rem;
  font-size: 1.125rem; font-weight: 700;
  color: var(--c-primary-d);
  text-decoration: underline; text-underline-offset: 3px;
  word-break: break-all;
}
.mail-address a:hover { color: var(--c-primary); }

.form { display: grid; gap: var(--s-3); }
.field { display: grid; gap: .5rem; }
.field label { font-weight: 700; font-size: 1.0625rem; }
.req {
  display: inline-block; margin-left: .5rem; padding: .05rem .5rem;
  background: var(--c-accent-l); color: var(--c-accent-d);
  border-radius: var(--r-sm); font-size: .8125rem; font-weight: 700;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem;
  background: #fff; border: 1px solid #CFDCD8; border-radius: var(--r-md);
  font-size: 1.0625rem; line-height: 1.7;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A9C4BE; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(15,122,107,.16);
}
.field textarea { min-height: 160px; resize: vertical; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; line-height: 1.8; }
.consent input { width: 22px; height: 22px; margin-top: .4rem; flex: none; accent-color: var(--c-primary); }
.consent a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }

/* --- 6.11 footer --- */
.footer { background: var(--c-surface); border-top: 1px solid var(--c-line); padding-block: var(--s-6) var(--s-4); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-4); }
.footer h4 { margin-bottom: var(--s-2); font-size: 1.0625rem; }
.footer__links { display: grid; gap: .625rem; }
.footer__links a { font-size: 1rem; color: var(--c-ink-2); }
.footer__links a:hover { color: var(--c-primary); text-decoration: underline; text-underline-offset: 4px; }
.footer address { font-style: normal; font-size: 1rem; color: var(--c-ink-2); line-height: 1.9; }
.footer__bottom {
  margin-top: var(--s-5); padding-top: var(--s-3);
  border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between;
  font-size: .9375rem; color: var(--c-ink-3);
}

/* --- 6.12 mobile fixed CTA --- */
.mobile-cta {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 90;
  gap: .625rem; padding: .625rem var(--s-2);
  padding-bottom: calc(.625rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
}
.mobile-cta .btn { flex: 1; min-height: 54px; font-size: 1rem; padding-inline: 1rem; }

/* =============================================================
   7. RESPONSIVE
   ============================================================= */
@media (min-width: 1025px) {
  .pc-br { display: inline; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav, .header__cta { display: none; }
  .nav-toggle { display: block; }

  .header.is-open .nav {
    display: block; position: absolute; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-2); padding: var(--s-2) var(--gutter) var(--s-3);
  }
  .header.is-open .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .header.is-open .nav__list a {
    display: block; padding: 1rem .25rem; font-size: 1.0625rem;
    border-bottom: 1px solid var(--c-line);
  }
  .header.is-open .nav__list li:last-child a { border-bottom: 0; }

  .hero__inner { grid-template-columns: 1fr; }
  .recruit__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 84px; }          /* 固定CTA分の余白 */
  .mobile-cta { display: flex; }
  .hero__actions .btn { width: 100%; }
  .recruit__dl { grid-template-columns: 1fr; gap: .25rem; }
  .recruit__dl dt { margin-top: .875rem; }
  .recruit__dl dt:first-of-type { margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .flow__item { grid-template-columns: 56px 1fr; gap: var(--s-2); }
  .flow__num { width: 56px; height: 56px; }
  .flow__num b { font-size: 1.25rem; }
  .flow__item::before { left: 27px; top: 46px; }
  .reason-item { gap: var(--s-2); }
  .reason-item__num { width: 48px; height: 48px; font-size: 1.0625rem; }
}

/* =============================================================
   8. A11Y & MOTION
   ============================================================= */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* scroll reveal
   初期状態の非表示は「JSが有効なときだけ」適用する（.js は head のインラインJSで付与）。
   JS無効・IntersectionObserver未発火でもコンテンツが消えないことを保証する。 */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--dur-in) var(--ease), transform var(--dur-in) var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* 失敗時のフェイルセーフ（main.js が付与） */
.js.reveal-off .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;   /* 描画が進まない環境でも確実に表示する */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

@media print {
  .header, .mobile-cta, .nav-toggle, .hero__actions { display: none !important; }
  body { font-size: 11pt; padding: 0; }
  .reveal { opacity: 1; transform: none; }
}
