/* =========================================================
   リハビリセンターあしすと — Corporate Site
   「最後の１秒まで、自分らしく。」
   朝焼けの空 × クリームの紙 × スクラップブック（エリトラの姉妹サイト）
   ========================================================= */

:root {
  /* palette — あしすとのロゴ（橙の足あと × 緑の文字）由来 */
  --cream: #FFF6EC;
  --paper: rgba(255, 252, 247, .94);
  --paper-solid: #FFFCF7;
  --white: #FFFFFF;
  --ink: #3B2517;
  --ink-2: #6B4E3D;
  --ink-3: #A38A76;
  --peach: #F9C9A0;
  --peach-2: #FDE7D6;
  --primary: #E8652A;
  --primary-deep: #B9451A;
  --green: #6BAA54;
  --green-deep: #3E7A32;
  --sand: #EAD2A8;
  --sakura: #F7CFD3;
  --nanohana: #FBE49A;
  --wakaba: #D4EAC6;
  --sora: #D6ECF5;
  --fuji: #E4DCF2;
  --line: rgba(59, 37, 23, .14);
  --shadow: 0 18px 50px -20px rgba(185, 69, 26, .22);

  /* type */
  --f-display: "Yusei Magic", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --f-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --f-latin: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --fs-hero: clamp(2.3rem, 5.3vw, 4.5rem);
  --fs-h1: clamp(1.9rem, 3.8vw, 3rem);
  --fs-h2: clamp(1.65rem, 3.2vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 1.8vw, 1.5rem);
  --fs-lead: clamp(1rem, 1.2vw, 1.12rem);

  /* layout */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 28px;
  --header-h: 84px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
/* 同じタブでサイト内を移動してトップに戻ってきたとき（html.is-return）はローディングを出さない */
html.is-return .loader { display: none; }
html.is-return body.is-loading { overflow-y: auto; }
/* 登場アニメで出てくる要素は、JS がアニメの初期状態（透明）を作るまで隠しておく。
   これがないと「一瞬表示 → 消える → アニメでもう一度表示」とチラつく。
   html.js は <head> の小さなスクリプトで描画前に付く（JS が無効なら何も隠さない）。
   JS が読み込めなかった場合に備え、2.5秒後には必ず表示する
   ・トップ（ローディングなしで戻ってきたとき）… hero-go で解除
   ・下層ページの見出しまわり … hero-go で解除
   ・スクロールで出てくる要素 … reveal-go で解除 */
html.is-return:not(.hero-go) .hero__copy,
html.is-return:not(.hero-go) .hero__visual,
html.is-return:not(.hero-go) .scroll-hint,
html.js:not(.hero-go) .phero__inner,
html.js:not(.reveal-go) [data-reveal] { visibility: hidden; animation: heroFallback 0s linear 2.5s forwards; }
@keyframes heroFallback { to { visibility: visible; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
/* 文章の中に置いたリンク（注記・手順・FAQ・料金の但し書きなど）は、リンクだと分かるようにする。
   部品のリンク（ボタン・電話・カード全体）には class が付いているので、class の無いものだけに効かせる */
.notecard p a:not([class]), .plan__note a:not([class]), .ilist p a:not([class]),
.step p a:not([class]), .faq .a a:not([class]), .cta p a:not([class]), .note a:not([class]) {
  color: var(--primary-deep); font-weight: 700; text-decoration: underline; text-underline-offset: .2em;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
/* 見出しは言葉の途中で改行しない：改行は句読点と <wbr>（文節の区切り）の位置だけ（README「見出しの改行」）。
   収まらないほど長い語があるときだけ、例外的にどこでも改行する */
h1, h2, h3, .quote, .concept__text .big { word-break: keep-all; overflow-wrap: anywhere; }
/* 見出しの先頭の「を半文字ぶん左へ（かぎかっこの空きで、1行目だけ字下げしたように見えるのを防ぐ） */
.hang { margin-left: -.5em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.latin { font-family: var(--f-latin); font-style: italic; font-weight: 400; letter-spacing: .02em; }
.num { font-family: var(--f-latin); font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- WebGL sky ---------- */
.sky {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #FBE1CC 0%, #FFF6EC 100%);
}
main, .header, .footer, .marquee, .totop { position: relative; z-index: 1; }
main { overflow-x: clip; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--cream);
  display: grid; place-items: center;
}
.loader__inner { text-align: center; }
.loader__mascot { width: 64px; height: auto; margin: 0 auto 18px; animation: bob 1.8s ease-in-out infinite; }
.loader__tag { font-family: var(--f-display); font-size: 1.1rem; margin: 0 0 6px; color: var(--ink); }
.loader__count { font-family: var(--f-latin); font-style: italic; font-size: 2.4rem; line-height: 1; margin: 0; color: var(--primary); font-variant-numeric: tabular-nums; }
.loader__pct { font-size: 1.1rem; margin-left: 3px; }
.loader__bar { width: 168px; height: 3px; background: rgba(232, 101, 42, .16); border-radius: 3px; margin: 16px auto 0; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 3px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- custom cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label, body.has-cursor summary { cursor: none; }
  body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: text; }
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; }
  .cursor.is-hidden { opacity: 0; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--primary); }
  /* リングは毎フレーム動くので、重い指定を置かない。
     mix-blend-mode は背後（WebGL の空）と合成し直しになるため使わない。
     クリーム地の上では単色の半透明と見た目が同じになる値にしてある。
     大きさの変化は width/height ではなく transform: scale（JS 側）で行う。 */
  .cursor__ring { width: 42px; height: 42px; margin: -21px 0 0 -21px; background: rgba(232, 101, 42, .16); transition: background .35s; }
  .cursor.is-hover .cursor__ring { background: rgba(212, 234, 198, .8); }
}

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(16px, 3vw, 40px);
  transition: background .5s, box-shadow .5s, height .5s, transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s;
}
.header.is-scrolled {
  height: 68px;
  background: rgba(255, 252, 247, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -20px rgba(59, 37, 23, .3);
}
/* ヘッダーは常に表示（ページを移っても消さない）。
   初回のローディング中だけ幕の下で待機し、幕が上がるときに降りてくる（is-in で表示） */
html.js:not(.is-return) .loader ~ .header:not(.is-in) { opacity: 0; transform: translateY(-16px); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 150px; height: auto; transition: width .5s; }
.header.is-scrolled .brand__mark { width: 128px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__co { font-size: .66rem; letter-spacing: .14em; color: var(--ink-2); font-weight: 700; }
.brand__name { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
/* 「サービス」にマウスを乗せる／キーボードで選ぶと、5つのサービスの一覧を下に出す */
.nav__group { position: relative; display: flex; align-items: center; gap: 4px; }
.nav__toggle { display: inline-flex; align-items: center; padding: 6px 0; color: var(--ink-2); }
.nav__toggle svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.nav__sub { position: absolute; top: 100%; left: 50%; padding-top: 14px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s; }
.nav__group:hover .nav__sub, .nav__group.is-open .nav__sub { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav__group:hover .nav__toggle svg, .nav__group.is-open .nav__toggle svg { transform: rotate(180deg); }
/* キーボードで選んだときだけ開く。:focus-within だとマウスで押したあとも開いたままになるため、
   :focus-visible（キーボード操作のフォーカス）で判定する。※ :has() 非対応のブラウザではこの2行だけ無効 */
.nav__group:has(:focus-visible) .nav__sub { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav__group:has(:focus-visible) .nav__toggle svg { transform: rotate(180deg); }
.nav__sub-panel { background: #fff; border-radius: 22px; box-shadow: 0 26px 54px -26px rgba(59, 37, 23, .5); padding: 12px; display: grid; gap: 2px; min-width: 180px; } /* 幅は中身に合わせる */
.nav__sub-panel a { display: block; padding: 11px 16px; border-radius: 14px; font-size: .92rem; font-weight: 700; white-space: nowrap; transition: background .25s, color .25s; }
.nav__sub-panel a::after { content: none; }
.nav__sub-panel a:hover { background: var(--cream); color: var(--primary-deep); }
.nav__sub-panel a.is-current { background: var(--wakaba); color: var(--green-deep); }
.nav a { font-size: .92rem; font-weight: 700; position: relative; padding: 6px 2px; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 5px; border-radius: 4px;
  background: var(--nanohana); z-index: -1;
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.header__tel {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff; font-weight: 500;
  padding: 10px 18px; border-radius: 999px;
  font-family: var(--f-latin); font-size: 1.05rem; letter-spacing: .02em;
  box-shadow: 0 12px 24px -12px rgba(232, 101, 42, .8);
  transition: background .3s, box-shadow .3s;
}
.header__tel:hover { background: var(--primary-deep); box-shadow: 0 16px 30px -12px rgba(232, 101, 42, .9); }
.burger { display: none; width: 48px; height: 48px; margin-left: auto; position: relative; border-radius: 50%; background: rgba(255, 252, 247, .8); }
.burger span { position: absolute; left: 14px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s, top .4s; }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* ---------- mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--cream);
  display: grid; align-content: start; gap: 28px;
  padding: 96px var(--gutter) 40px;
  overflow-y: auto;
  clip-path: circle(0 at calc(100% - 40px) 42px);
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), visibility 0s .8s;
  visibility: hidden;
}
.menu.is-open { clip-path: circle(160% at calc(100% - 40px) 42px); visibility: visible; transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; font-family: var(--f-display); font-size: 1.6rem; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.menu__nav .latin { font-size: .9rem; color: var(--primary); }
.menu__sub { display: grid; gap: 2px; padding: 4px 0 6px 96px; border-bottom: 1px dashed var(--line); }
.menu__nav .menu__sub a { display: block; font-family: var(--f-body); font-size: 1rem; font-weight: 700; color: var(--ink-2); padding: 5px 0; border-bottom: 0; }
.menu__nav .menu__sub a::before { content: "— "; color: var(--primary); }
.menu__contact { display: grid; gap: 10px; }
.menu__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary-deep); }
.menu__contact small { font-size: .78rem; color: var(--ink-3); font-weight: 400; margin-left: 4px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .82rem; font-weight: 700; color: var(--primary-deep); letter-spacing: .06em;
  margin: 0 0 16px;
}
.eyebrow .latin { font-size: 1.1rem; font-weight: 400; letter-spacing: .02em; color: var(--primary); }
.eyebrow__sep { width: 28px; height: 1px; background: var(--primary); opacity: .6; flex: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--green { color: var(--green-deep); }
.eyebrow--green .latin { color: var(--green); }
.eyebrow--green .eyebrow__sep { background: var(--green); }
.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: var(--fs-h2); line-height: 1.5; letter-spacing: .01em;
  margin: 0;
}
.h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h3); margin: 0 0 .7em; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { text-align: center; }
.section-head__lead { font-size: var(--fs-lead); color: var(--ink-2); margin: 1em 0 0; max-width: 40em; }
.section-head--center .section-head__lead { margin-inline: auto; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); }
.center { text-align: center; }

/* marker highlight */
.hi { position: relative; font-style: normal; display: inline-block; z-index: 0; }
.hi::before {
  content: ""; position: absolute; left: -.1em; right: -.1em; bottom: .04em; height: .48em; z-index: -1;
  border-radius: 8px 10px 6px 12px; background: var(--nanohana);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1) .25s;
}
.hi--green::before { background: var(--wakaba); }
.hi--peach::before { background: var(--peach); }
.hi--pink::before { background: var(--sakura); }
.hi.is-on::before { transform: scaleX(1); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  border: 2px solid transparent;
  transition: box-shadow .35s, background .35s, color .35s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.btn:hover svg { transform: translateX(5px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 14px 30px -14px rgba(232, 101, 42, .8); }
.btn--primary:hover { background: var(--primary-deep); box-shadow: 0 20px 36px -14px rgba(232, 101, 42, .9); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 14px 30px -14px rgba(107, 170, 84, .8); }
.btn--green:hover { background: var(--green-deep); }
.btn--ghost { background: rgba(255, 252, 247, .75); border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--small { padding: 11px 20px; font-size: .88rem; }

/* chips（対応範囲などのラベル） */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.chips li { font-size: .8rem; font-weight: 700; color: var(--ink-2); background: rgba(255, 252, 247, .9); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 13px; }
.chips li::before { content: "✓"; color: var(--green); margin-right: 6px; }

/* ---------- panel & waves ---------- */
.panel { position: relative; background: var(--paper); padding: clamp(72px, 9vw, 120px) 0; margin: clamp(80px, 10vw, 120px) 0; overflow-x: clip; }
.panel--tight { padding: clamp(56px, 7vw, 90px) 0; }
.wave { position: absolute; left: 0; width: 100%; height: clamp(36px, 6vw, 80px); display: block; pointer-events: none; }
.wave--top { top: 1px; transform: translateY(-100%); }
.wave--bottom { bottom: 1px; transform: translateY(100%) scaleY(-1); }
.wave path { fill: var(--paper); }
.section { position: relative; padding: clamp(40px, 6vw, 80px) 0; overflow-x: clip; }
.section .container { position: relative; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; position: relative;
  padding: calc(var(--header-h) + 24px) 0 48px;
}
.hero__inner {
  width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center;
}
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: var(--fs-hero); line-height: 1.3; letter-spacing: .01em;
  margin: .3em 0 .5em;
}
.hero__title .line { display: block; overflow: hidden; padding: .04em 0 .08em; }
.hero__title .hi::before { transition-delay: .9s; }
.hero__lead { font-size: var(--fs-lead); max-width: 34em; margin: 0 0 1.6em; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.5em; }
.hero__tel { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--primary-deep); }
.hero__tel .num { white-space: nowrap; font-size: 1.55rem; letter-spacing: .02em; }
.hero__tel small { font-size: .8rem; color: var(--ink-3); margin-left: 4px; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 520px); }
.blob-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 58% 42% 55% 45% / 45% 50% 50% 55%;
  animation: blob 14s ease-in-out infinite alternate;
  box-shadow: 0 40px 80px -40px rgba(185, 69, 26, .45);
  transform: translateZ(0);
}
.blob-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blob {
  0%   { border-radius: 58% 42% 55% 45% / 45% 50% 50% 55%; }
  50%  { border-radius: 45% 55% 48% 52% / 55% 42% 58% 45%; }
  100% { border-radius: 52% 48% 60% 40% / 40% 58% 42% 60%; }
}
.hero__tape { left: 18%; top: -6px; transform: rotate(-8deg); width: 120px; }
.hero__mascot-wrap { position: absolute; left: -6%; bottom: -4%; width: 26%; }
.hero__mascot { width: 100%; height: auto; filter: drop-shadow(0 14px 22px rgba(59, 37, 23, .2)); animation: bob 3.4s ease-in-out infinite; }
.sticker-wrap { position: absolute; right: -4%; top: -6%; width: clamp(100px, 12vw, 140px); aspect-ratio: 1; }
.sticker { display: block; width: 100%; height: 100%; animation: spin 20s linear infinite; filter: drop-shadow(0 10px 20px rgba(185, 69, 26, .18)); }
.sticker__bg { fill: rgba(255, 252, 247, .96); }
.sticker text { font-family: var(--f-body); font-weight: 700; font-size: 11.5px; fill: var(--primary-deep); letter-spacing: .08em; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: clamp(20px, 4vw, 48px); bottom: 26px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: .95rem; }
.scroll-hint i { display: block; width: 56px; height: 1px; background: rgba(163, 138, 118, .5); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform: translateX(-100%); animation: scrollline 2.2s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes scrollline { to { transform: translateX(100%); } }

/* ---------- page hero（下層ページ） ---------- */
/* ヘッダー下の余白は、トップの各セクション（.panel）の上余白と同じ幅にそろえる（「サービス」から着地したときと同じ見え方） */
.phero { position: relative; padding: calc(var(--header-h) + clamp(72px, 9vw, 120px)) 0 32px; }
.phero__inner {
  width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: center;
}
.phero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: var(--fs-h1); line-height: 1.4; letter-spacing: .01em;
  margin: .2em 0 .5em;
}
.phero__lead { font-size: var(--fs-lead); max-width: 34em; margin: 0 0 1.4em; color: var(--ink-2); }
.phero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.phero__visual .blob-photo { aspect-ratio: 5 / 5.4; }
.phero__mascot { position: absolute; right: -6%; bottom: -6%; width: 24%; filter: drop-shadow(0 14px 22px rgba(59, 37, 23, .2)); animation: bob 3.8s ease-in-out infinite; }
.phero__mascot--flip { transform: scaleX(-1); }
/* 集合写真は人が小さく見えるので、少し寄せて見せる（採用トップのヒーロー）。
   拡大しすぎると左端の人の頭がブロブの角で切れるので、この値が上限。 */
.blob-photo--zoom img { transform: translate(2.5%, 1.6%) scale(1.18); }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .8rem; color: var(--ink-3); }
.crumb li + li::before { content: "›"; margin-right: 6px; }
.crumb a:hover { color: var(--primary-deep); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; padding: 12px 0 20px; margin: -20px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--f-display); font-size: clamp(1.1rem, 2.1vw, 1.55rem); color: var(--ink-2);
  animation: marquee 52s linear infinite;
}
.marquee__track--b { animation-duration: 64s; animation-direction: reverse; color: var(--primary-deep); margin-top: 10px; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee__item svg { width: 22px; height: 22px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- concept ---------- */
.deco-sprig { position: absolute; width: clamp(120px, 16vw, 220px); height: auto; aspect-ratio: 120 / 80; opacity: .9; pointer-events: none; }
.deco-sprig--tr { right: 10px; top: 14px; transform: rotate(-10deg); }
.deco-sprig--bl { left: 0; bottom: -24px; transform: scaleX(-1) rotate(-150deg); opacity: .7; }
.concept .container { position: relative; z-index: 1; }
.concept__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.concept__text p { font-size: var(--fs-lead); margin: 0 0 1.2em; }
.concept__text .big { font-family: var(--f-display); font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.7; margin-bottom: 1em; }
.concept__photo { justify-self: center; }

/* snapshot print */
.print {
  position: relative; background: #fff; padding: 10px 10px 12px; margin: 0;
  box-shadow: 0 24px 44px -26px rgba(59, 37, 23, .45);
  transform: rotate(var(--tilt, -3deg));
  width: min(100%, 340px);
  transform-style: preserve-3d;
}
.print img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.print--wide img { aspect-ratio: 4 / 3; }
.print figcaption { font-family: var(--f-display); font-size: clamp(.76rem, 3.6vw, .92rem); text-align: center; padding: 10px 0 2px; color: var(--ink-2);
  word-break: keep-all; overflow-wrap: anywhere; }   /* 語の途中で折り返さない（改行位置は <wbr> で指定） */
.print--tilt-l { --tilt: -3.5deg; }
.print--tilt-r { --tilt: 2.5deg; }
.print--small { width: min(62%, 220px); }
.tape {
  position: absolute; width: 96px; height: 26px; left: 50%; top: -12px;
  transform: translateX(-50%) rotate(-3deg);
  background-color: var(--nanohana); opacity: .82;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .38) 0 5px, transparent 5px 11px);
  mix-blend-mode: multiply; z-index: 2;
}
.tape--pink { background-color: var(--sakura); }
.tape--blue { background-color: var(--sora); }
.tape--green { background-color: var(--wakaba); }
.tape--peach { background-color: var(--peach); }
.tape--yellow { background-color: var(--nanohana); }

/* voices */
.voices { display: grid; grid-template-columns: 1.1fr auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.voices__left { position: relative; padding-left: 104px; }
.voices__mascot { position: absolute; left: 4px; bottom: 36px; width: 66px; height: auto; animation: bob 4s ease-in-out infinite; }
.voices__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bubble {
  position: relative; background: #fff; border-radius: 24px; padding: 11px 20px;
  font-family: var(--f-display); font-size: 1.05rem; line-height: 1.6;
  box-shadow: 0 12px 28px -18px rgba(232, 101, 42, .55);
  width: fit-content; max-width: 100%;
}
.bubble::after { content: ""; position: absolute; left: -5px; top: 50%; width: 14px; height: 14px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.voices__list li:nth-child(even) { margin-left: 24px; }
.voices__note { font-size: .9rem; color: var(--ink-3); margin: 14px 0 0; }
.voices__arrow { display: flex; justify-content: center; color: #F5C25A; }
.voices__arrow svg { width: 68px; height: 68px; filter: drop-shadow(0 8px 14px rgba(245, 194, 90, .55)); animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.voices__right { position: relative; background: linear-gradient(135deg, var(--peach-2), #fff 70%); border-radius: 32px; padding: clamp(28px, 3.4vw, 44px); box-shadow: var(--shadow); }
.voices__tag { position: absolute; top: -16px; left: 26px; background: var(--green); color: #fff; font-size: .8rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin: 0; transform: rotate(-3deg); box-shadow: 0 8px 16px -8px rgba(107, 170, 84, .7); }
.voices__answer { font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.75; margin: 0 0 .6em; }
.voices__answer strong { color: var(--primary-deep); font-weight: 400; }
.voices__sub { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* ---------- support equation ---------- */
.support { position: relative; padding: 20px 0 60px; overflow-x: clip; }
.support__inner { position: relative; }
.equation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(12px, 2.5vw, 28px); }
.equation__item {
  display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.3;
  padding: 24px 32px; min-width: 210px;
  border: 4px solid; background: rgba(255, 252, 247, .92);
  border-radius: 48% 52% 50% 50% / 55% 45% 55% 45%;
  box-shadow: var(--shadow);
}
.equation__item--green { border-color: var(--green); }
.equation__item--orange { border-color: var(--primary); }
.equation__item--yellow { border-color: #F2C64B; }
.equation__kicker { font-size: .9rem; color: var(--ink-2); }
.equation__big { font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.equation__sub { font-size: .85rem; color: var(--ink-3); margin-top: 4px; }
.equation__op { font-family: var(--f-display); font-size: 2.4rem; color: var(--ink-2); }
/* 3つ並べると1行に収まらないので、「＝」の前で必ず改行して答えのピルと同じ行にする */
.equation__break { flex-basis: 100%; height: 0; }
.equation__pair { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.equation__result { background: var(--ink); color: var(--cream); padding: 24px 56px; border-radius: 999px; box-shadow: 0 24px 50px -24px rgba(59, 37, 23, .6); line-height: 1.3; text-align: center; }
.equation__result .equation__big { display: block; color: var(--nanohana); }
.equation__result .equation__sub { display: block; margin-top: 8px; color: rgba(255, 246, 236, .7); word-break: keep-all; overflow-wrap: anywhere; }
.equation__mascot { display: block; width: 60px; margin-left: -4px; }
.equation__mascot img { animation: bob 4.2s ease-in-out infinite; }
/* 数式の前置き。改行は <wbr> と句読点の位置だけ（言葉の途中で切らない） */
.support__lead { text-align: center; font-size: var(--fs-lead); color: var(--ink-2); line-height: 2; max-width: 40em; margin: 18px auto clamp(32px, 4vw, 48px); word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }

/* decorative pastel blobs */
.deco { position: absolute; border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; pointer-events: none; opacity: .75; filter: blur(2px); }
.deco--peach { width: 220px; height: 220px; background: var(--peach); left: -60px; top: 0; }
.deco--yellow { width: 160px; height: 160px; background: var(--nanohana); right: -20px; bottom: 20px; }
.deco--green { width: 260px; height: 260px; background: var(--wakaba); right: -80px; top: -40px; }
.deco--pink { width: 200px; height: 200px; background: var(--sakura); left: -60px; bottom: -20px; }

/* ---------- service（トップ：交互レイアウト） ---------- */
.service__grid { display: grid; gap: clamp(56px, 8vw, 110px); }
.scard { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.scard--rev .scard__photos { order: 2; }
.scard__photos { position: relative; min-height: 380px; display: grid; place-items: center; }
.scard__photos .print:nth-child(1) { position: relative; z-index: 1; width: min(78%, 340px); }
.scard__photos .print:nth-child(1):not(:only-child) { justify-self: start; }
.scard__photos .print:nth-child(2) {
  position: absolute; right: 0; bottom: 60px; z-index: 2;
  left: calc(0.72 * (min(78%, 340px) - 20px) + 20px);
  width: auto;
}
.scard__label { margin: 0 0 4px; display: flex; align-items: center; gap: 12px; }
.scard__label .latin { font-size: 1.15rem; color: var(--primary); }
.scard__label .tag { font-size: .72rem; font-weight: 700; color: var(--green-deep); background: var(--wakaba); border-radius: 999px; padding: 3px 10px; }
.scard__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 .5em; line-height: 1.4; }
.wishes { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wishes li { font-family: var(--f-display); font-size: 1.08rem; color: var(--primary-deep); padding-left: 1.5em; position: relative; }
.wishes li::before { content: ""; position: absolute; left: 0; top: .5em; width: .85em; height: .85em; background: var(--nanohana); border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%; }
.note { font-size: .82rem; color: var(--ink-3); margin: 0; }
.scard__more { margin-top: 18px; }

/* ---------- 採用ページのテイスト（オレンジ→新緑に寄せる） ---------- */
/* 求人は読み手が違う（働く人）ので、同じ部品のまま色の主役だけ緑に替えている。
   ヘッダー・フッター・ロゴは共通のままなので、別サイトには見えない。 */
body.is-recruit { background: #FAFDF6; }
.is-recruit .panel { background: linear-gradient(180deg, rgba(212, 234, 198, .5), var(--paper) 72%); }
/* 上の波はパネルの上端と同じ色にする（白い帯が出ないように）。下の波はパネル下端＝--paper のまま */
.is-recruit .wave--top path { fill: rgba(212, 234, 198, .5); }
.is-recruit .btn--primary { background: var(--green); box-shadow: 0 14px 30px -14px rgba(107, 170, 84, .8); }
.is-recruit .btn--primary:hover { background: var(--green-deep); box-shadow: 0 20px 36px -14px rgba(107, 170, 84, .9); }
.is-recruit .eyebrow .latin,
.is-recruit .fcard__no,
.is-recruit .fcard__label,
.is-recruit .pcard__price .num,
.is-recruit .stats .num,
.is-recruit .crumb a:hover { color: var(--green-deep); }
.is-recruit .notecard p a:not([class]), .is-recruit .plan__note a:not([class]), .is-recruit .ilist p a:not([class]),
.is-recruit .step p a:not([class]), .is-recruit .faq .a a:not([class]), .is-recruit .note a:not([class]) { color: var(--green-deep); }
.is-recruit .eyebrow__sep { background: rgba(62, 122, 50, .45); }
.is-recruit .pcard--featured { border-color: rgba(107, 170, 84, .55); }
.is-recruit .pcard__badge--orange { background: var(--green); }
.is-recruit .otable th { color: var(--green-deep); }
.is-recruit .quote { color: var(--green-deep); }
.is-recruit .cta { background: linear-gradient(135deg, #3E5A33, #2C3F25); }

/* 採用ページでは電話での問い合わせ導線を出さない（応募はフォームに一本化） */
.is-recruit .header__tel,
.is-recruit .menu__contact a[href^="tel:"] { display: none; }

/* 募集中バッジ（ヒーローの上） */
.jobbadge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 16px; border-radius: 999px;
  background: var(--wakaba); color: var(--green-deep); font-size: .82rem; font-weight: 700; }
.jobbadge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- values / effects（ふわふわブロブ 3枚） ---------- */
.effects { position: relative; padding: clamp(40px, 6vw, 80px) 0; overflow-x: clip; }
.effects .container { position: relative; }
/* 見出しブロック（英字＋大見出し）の左に、見出しと同じくらいの高さで添える（エリトラの Effects と同じ大きさ） */
.effects .section-head { position: relative; }
.effects__mascot { --mascot-h: clamp(104px, 10.4vw, 150px); position: absolute; left: clamp(0px, 3vw, 40px); top: 50%; width: auto; height: var(--mascot-h); margin-top: calc(var(--mascot-h) / -2); animation: bob 3.8s ease-in-out infinite; }
.effects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.ecard {
  position: relative; text-align: center;
  padding: 15% 16%; /* カード幅に対する割合。丸い形から文字がはみ出さない余白 */
  border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%;
  min-height: 320px; display: flex; flex-direction: column; justify-content: center;
  animation: float 9s ease-in-out infinite;
}
.ecard:nth-child(2) { animation-delay: -3s; border-radius: 54% 46% 48% 52% / 45% 55% 45% 55%; }
.ecard:nth-child(3) { animation-delay: -6s; border-radius: 50% 50% 56% 44% / 52% 48% 52% 48%; }
.ecard--peach { background: var(--peach-2); }
.ecard--yellow { background: var(--nanohana); }
.ecard--green { background: var(--wakaba); }
.ecard--pink { background: var(--sakura); }
.ecard__icon { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--ink); }
.ecard__no { font-family: var(--f-latin); font-style: italic; font-size: 1rem; color: var(--primary-deep); display: block; margin-bottom: 4px; }
.ecard h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; margin: 0 0 .5em; line-height: 1.5; }
.ecard p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.ecard .ecard__pair { font-size: .8rem; font-weight: 700; color: var(--primary-deep); margin: -.2em 0 .7em; }
a.fcard { display: block; color: inherit; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-.6deg); } }

/* ---------- plans / price cards ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.pcard {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 32px 26px 26px;
  box-shadow: 0 20px 44px -30px rgba(59, 37, 23, .35);
  display: flex; flex-direction: column; gap: 8px;
  border: 2px solid transparent;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: 0 32px 54px -28px rgba(232, 101, 42, .5); }
.pcard--featured { background: linear-gradient(165deg, #fff 30%, var(--peach-2)); border-color: var(--primary); }
.pcard__badge { position: absolute; top: -14px; left: 22px; background: var(--green); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: 0 8px 16px -8px rgba(107, 170, 84, .7); }
.pcard__badge--orange { background: var(--primary); box-shadow: 0 8px 16px -8px rgba(232, 101, 42, .8); }
.pcard__name { font-family: var(--f-display); font-size: 1.35rem; margin: 0; line-height: 1.3; }
.pcard__name small { display: block; font-family: var(--f-body); font-size: .8rem; font-weight: 400; color: var(--ink-2); margin-top: 3px; }
.pcard__time { font-size: .85rem; color: var(--ink-3); margin: 0; display: flex; align-items: center; gap: 6px; }
.pcard__price { margin: 8px 0 6px; color: var(--primary-deep); display: flex; align-items: baseline; gap: 4px; line-height: 1; flex-wrap: wrap; }
.pcard__price .num { font-size: 2.2rem; letter-spacing: -.01em; }
.pcard__price .num--text { font-family: var(--f-display); font-size: 1.8rem; }
.pcard__price .unit { font-size: .95rem; font-weight: 700; }
.pcard__price .pre { font-size: .9rem; font-weight: 700; color: var(--ink-2); margin-right: 2px; }
.pcard__formula { font-size: .8rem; color: var(--ink-2); line-height: 1.7; margin: 0; }
.pcard__list { margin: 0 0 8px; padding: 0; list-style: none; font-size: .92rem; color: var(--ink-2); line-height: 1.7; }
.pcard__list li { padding-left: 1.1em; position: relative; }
.pcard__list li::before { content: "・"; position: absolute; left: 0; }
.pcard__reco { margin: auto 0 0; font-size: .8rem; font-weight: 700; padding: 8px 12px; border-radius: 12px; background: rgba(251, 228, 154, .55); color: var(--ink); }
.pcard__reco--green { background: var(--wakaba); }
.pcard__reco--peach { background: var(--peach-2); }
.plan__note { font-size: .86rem; color: var(--ink-2); margin: clamp(32px, 4vw, 48px) 0 0; padding: 18px 24px; background: rgba(251, 228, 154, .28); border-radius: 18px; line-height: 1.8; }
.options { margin-top: clamp(48px, 5vw, 64px); }
.otable-wrap { overflow-x: auto; }
.otable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 480px; }
.otable th, .otable td { padding: 14px 16px; border-bottom: 1px dashed var(--line); text-align: left; vertical-align: top; }
.otable th { font-weight: 700; width: 36%; color: var(--ink); }
.otable td { color: var(--ink-2); }
.otable small { font-size: .8rem; color: var(--ink-3); }
.otable .num { color: var(--primary-deep); font-size: 1.05rem; }
/* 住居タイプ別の目安：1枚のカードに一軒家とマンションを並べる */
.house { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(24px, 3vw, 48px); align-items: start; }
.house__col h4 { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; margin: 0 0 6px; }
.house .note { margin-top: 12px; }
.otable--narrow { min-width: 0; }
.otable--narrow th { width: 54%; font-size: .9rem; word-break: keep-all; overflow-wrap: anywhere; } /* 条件文は句読点・中黒で折り返す */
.otable--narrow td { font-size: .9rem; }
.otable--narrow th, .otable--narrow td { padding: 10px 4px 10px 0; }
.otable--narrow small { display: block; margin-top: 2px; }
.otable small { word-break: keep-all; overflow-wrap: anywhere; }
.note--lead { margin: -.4em 0 14px; }
.otable--head thead th { width: auto; font-size: .78rem; color: var(--ink-3); letter-spacing: .06em; border-bottom: 2px solid var(--line); padding-top: 4px; padding-bottom: 8px; }

/* ---------- flow（道と、歩くあしすとくん） ---------- */
.flow { padding: clamp(60px, 8vw, 110px) 0; }
.road { position: relative; margin: 0 auto; max-width: 1100px; }
.road__svg { width: 100%; height: auto; display: block; overflow: visible; }
.road__path { fill: none; stroke: rgba(59, 37, 23, .28); stroke-width: 3; stroke-dasharray: .006 .012; stroke-linecap: round; }
.road__path--progress { stroke: var(--primary); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.road__stop { fill: #fff; stroke: var(--primary); stroke-width: 4; }
.road__stopnum { font-family: var(--f-latin); font-style: italic; font-size: 18px; fill: var(--primary-deep); text-anchor: middle; dominant-baseline: central; }
.road__van { position: absolute; left: 0; top: 0; width: 112px; }
/* 画像は左向きなので反転して進行方向（右）を向かせる */
.road__van img { transform: scaleX(-1); filter: drop-shadow(0 12px 14px rgba(59, 37, 23, .25)); }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { background: rgba(255, 252, 247, .92); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.step__no { font-size: 2.1rem; color: var(--primary); line-height: 1; display: block; margin-bottom: 8px; }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; margin: 0 0 .4em; }
.step p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.step p + p { margin-top: .5em; }

/* ---------- news ---------- */
.news__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.news__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.news__item { display: grid; grid-template-columns: 6.2em minmax(5.8em, auto) 1fr; align-items: center; gap: 10px 16px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 252, 247, .92); box-shadow: 0 12px 28px -22px rgba(59, 37, 23, .4); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
a.news__item:hover { transform: translateX(6px); box-shadow: 0 16px 34px -22px rgba(232, 101, 42, .5); }
.news__date { font-family: var(--f-latin); font-size: .95rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.news__cat { justify-self: start; font-size: .72rem; font-weight: 700; color: #fff; background: var(--primary); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.news__cat--day { background: var(--green); }
.news__cat--nurse { background: #4E8FC9; }
.news__cat--recruit { background: var(--ink-2); }
.news__cat--other { background: var(--ink-3); }
.news__title { font-weight: 700; font-size: .98rem; line-height: 1.6; }
.news__body { grid-column: 3 / -1; font-size: .88rem; color: var(--ink-2); line-height: 1.7; }
.news__empty { padding: 20px; font-size: .92rem; color: var(--ink-3); background: rgba(255, 252, 247, .8); border-radius: 18px; }
.news__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.news__filters button { font-size: .82rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: rgba(255, 252, 247, .9); border: 1.5px solid var(--line); color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; }
.news__filters button.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.news__filters .count { font-family: var(--f-latin); font-style: italic; margin-left: 6px; color: var(--primary); }
.news__filters button.is-active .count { color: var(--nanohana); }
.notecard { position: relative; background: linear-gradient(135deg, var(--wakaba), #fff 75%); border-radius: 32px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.notecard__label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 1.15rem; margin: 0 0 10px; }
.notecard__label .n { font-family: var(--f-latin); font-style: italic; font-weight: 600; font-size: 1.05rem; color: #fff; background: #41C9B4; padding: 2px 10px; border-radius: 8px; }
.notecard p { font-size: .92rem; color: var(--ink-2); }
.notecard .btn { margin-top: 6px; }
.notecard__mascot { position: absolute; right: 14px; top: -34px; width: 44px; animation: bob 4.4s ease-in-out infinite; }

/* ---------- recruit teaser ---------- */
.recruit { position: relative; }
.recruit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
/* 4枚とも同じ大きさにそろえ（どの行も一番高い行に合わせる）、「求人を見る」をカードの下端にそろえる */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; }
.jobs > li { display: flex; }
.jcard { flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 18px 20px; box-shadow: 0 16px 34px -26px rgba(59, 37, 23, .4); border: 2px solid transparent; transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s; }
.jcard:hover { transform: translateY(-4px); border-color: var(--primary); }
.jcard .latin { font-size: .92rem; color: var(--primary); display: block; }
.jcard strong { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; display: block; margin: 2px 0 6px; word-break: keep-all; overflow-wrap: anywhere; } /* 高さは js/main.js の data-align でそろえる */
.jcard__tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.jcard__tags li { font-size: .7rem; font-weight: 700; color: var(--green-deep); background: var(--wakaba); border-radius: 999px; padding: 2px 8px; }
.jcard__arrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: .82rem; font-weight: 700; color: var(--primary-deep); }
.jcard__arrow svg { width: 14px; height: 14px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 20px 0 24px; }
.stats div { display: flex; align-items: baseline; gap: 6px; }
.stats .num { font-size: 2.2rem; color: var(--primary-deep); line-height: 1; }
.stats small { font-size: .82rem; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__grid > :only-child { grid-column: 1 / -1; max-width: 720px; margin-inline: auto; }
/* お問い合わせページ：フォームと右列（電話・地図）の下端をそろえる。短いほうが伸びる（右は地図、フォームは下に余白） */
.contact__grid--even { align-items: stretch; }
.contact__grid--even > .form { align-content: start; }
.contact__grid--even > .telcards { display: flex; flex-direction: column; gap: 14px; }
.contact__grid--even .map { flex: 1; display: flex; flex-direction: column; }
.contact__grid--even .map iframe { flex: 1; min-height: 300px; height: auto; }
.contact__lead { font-size: var(--fs-lead); color: var(--ink-2); margin: 1.2em 0 .6em; }
.contact__tel { display: flex; align-items: center; gap: 14px; color: var(--primary-deep); margin: 8px 0 8px; }
.contact__tel .num { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: .01em; }
.contact__tel svg { width: 44px; height: 44px; padding: 10px; background: var(--primary); color: #fff; border-radius: 50%; flex: none; box-sizing: border-box; }
.contact__tel--green { color: var(--green-deep); }
.contact__tel--green svg { background: var(--green); }
.contact__tel small { display: block; font-family: var(--f-body); font-size: .78rem; color: var(--ink-3); line-height: 1.5; letter-spacing: 0; }
.contact__hours { font-size: .86rem; color: var(--ink-2); margin: 10px 0 14px; display: flex; align-items: center; gap: 8px; }
.contact__hours svg { width: 16px; height: 16px; color: var(--ink-3); }
.contact__mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.05rem; border-bottom: 3px solid var(--nanohana); padding-bottom: 2px; }
.contact__apply { margin-top: 28px; padding: 24px 28px; border-radius: 24px; background: linear-gradient(135deg, var(--peach-2), #fff 75%); box-shadow: var(--shadow); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.contact__apply-text { font-family: var(--f-display); font-size: 1.08rem; margin: 0; }
.contact__apply .note { width: 100%; margin: 0; }
.contact__bubble { display: flex; align-items: flex-end; gap: 16px; margin-top: 32px; }
.contact__bubble img { width: 52px; height: auto; flex: none; }
.contact__bubble p { position: relative; margin: 0; background: var(--wakaba); border-radius: 22px; padding: 14px 20px; font-family: var(--f-display); font-size: .98rem; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; } /* 改行は句読点と <wbr> の位置だけ */
.contact__bubble p::after { content: ""; position: absolute; left: -6px; bottom: 18px; width: 14px; height: 14px; background: var(--wakaba); transform: rotate(45deg); border-radius: 2px; }

/* form */
.form { background: #fff; border-radius: 32px; padding: clamp(24px, 3.2vw, 40px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form__title { font-family: var(--f-display); font-size: 1.3rem; margin: 0 0 4px; }
.form label, .form .form__group { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; }
.form__label { display: flex; align-items: center; gap: 8px; }
.form .req { display: inline-block; font-size: .7rem; line-height: 1.6; color: #fff; background: var(--primary); padding: 1px 8px; border-radius: 999px; }
.form .opt { display: inline-block; font-size: .7rem; line-height: 1.6; color: var(--ink-2); background: var(--peach-2); padding: 1px 8px; border-radius: 999px; }
.form input, .form textarea, .form select {
  font: inherit; font-size: 1rem; width: 100%;
  padding: 12px 16px; border: 2px solid var(--line); border-radius: 14px;
  background: var(--cream); color: var(--ink);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(163, 138, 118, .7); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(232, 101, 42, .15); }
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; margin-top: 4px; }
.form__note { font-size: .8rem; color: var(--ink-3); margin: 0; }
.form .is-error { border-color: var(--primary); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-weight: 400; font-size: .92rem; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.checks input { width: 18px; height: 18px; padding: 0; margin: 0; accent-color: var(--primary); }

/* tel cards（お問い合わせページ） */
.telcards { display: grid; gap: 14px; }
.telcard { background: #fff; border-radius: 24px; padding: 22px 24px; box-shadow: 0 16px 34px -26px rgba(59, 37, 23, .4); }
.telcard__for { font-size: .82rem; color: var(--ink-2); line-height: 1.6; margin: 0 0 8px; }
.telcard__num { display: inline-flex; align-items: center; gap: 10px; color: var(--primary-deep); font-size: 1.7rem; margin: 0; }
.telcard__num svg { width: 22px; height: 22px; }
.telcard--green .telcard__num { color: var(--green-deep); }
.telcard__fax { font-size: .82rem; color: var(--ink-3); margin: 4px 0 0; }
.hourscard { background: linear-gradient(135deg, var(--wakaba), #fff 75%); border-radius: 24px; padding: 18px 24px; box-shadow: 0 16px 34px -26px rgba(59, 37, 23, .3); }
.hourscard p { margin: 0; font-size: .92rem; }
.hourscard strong { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; display: block; margin-bottom: 4px; }
/* 連絡先のそばに置く個人情報の一言（エリトラと同じ、左に細い帯だけの見た目） */
.contact__privacy { margin: 20px 0 0; padding: 12px 18px; border-left: 3px solid var(--peach); font-size: .84rem; line-height: 1.8; color: var(--ink-3); }
.contact__privacy a { color: var(--primary-deep); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }
.map__body { padding: 16px 20px 18px; font-size: .9rem; color: var(--ink-2); }
.map__body p { margin: 0 0 4px; }
.map__body a { color: var(--primary-deep); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 22px; box-shadow: 0 16px 34px -28px rgba(59, 37, 23, .4); padding: 0 22px; overflow: hidden; }
.faq summary { list-style: none; display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 12px; padding: 16px 0; font-family: var(--f-display); font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--f-latin); font-style: italic; font-size: 1.3rem; color: var(--primary); text-align: center; }
.faq summary .plus { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--peach-2); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--primary-deep); transform: translate(-50%, -50%); transition: transform .35s; }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 0 0 18px; font-size: .95rem; color: var(--ink-2); }
.faq .a .lbl { font-family: var(--f-latin); font-style: italic; font-size: 1.3rem; color: var(--green); text-align: center; line-height: 1.4; }
.faq .a p { margin: 0; }

/* ---------- feature cards（下層ページ共通） ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.fgrid--2 { grid-template-columns: repeat(2, 1fr); }
.fgrid--4 { grid-template-columns: repeat(4, 1fr); }
.fcard { position: relative; background: #fff; border-radius: 26px; padding: 26px 24px 24px; box-shadow: 0 20px 44px -30px rgba(59, 37, 23, .35); border: 2px solid transparent; transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.fcard:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(232, 101, 42, .4); }
.fcard--soft { background: rgba(255, 252, 247, .92); }
.fcard__no { font-family: var(--f-latin); font-style: italic; font-size: 1.6rem; color: var(--primary); line-height: 1; display: block; margin-bottom: 8px; }
.fcard__label { font-family: var(--f-latin); font-style: italic; font-size: .9rem; color: var(--green-deep); display: block; margin-bottom: 4px; }
.fcard__icon { width: 44px; height: 44px; color: var(--primary); margin-bottom: 10px; }
.fcard h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.5; margin: 0 0 .5em; }
.fcard h3 small { display: block; font-family: var(--f-body); font-size: .8rem; color: var(--primary-deep); font-weight: 700; margin-top: 2px; }
.fcard p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.fcard ul { margin: 8px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--ink-2); } /* カード本文（p）と同じ大きさ */
.fcard ul li { padding-left: 1.2em; position: relative; }
.fcard ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: .6em; height: .6em; background: var(--wakaba); border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%; }
.fcard__badge { position: absolute; top: -12px; right: 18px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.fcard__img { border-radius: 16px; overflow: hidden; margin: -6px -4px 14px; }
.fcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* カードをすべて同じ大きさにそろえる（どの行も一番高い行に合わせる）。1列表示のときは中身の高さのまま */
.fgrid--even { grid-auto-rows: 1fr; }
/* 採用ページの募集職種：ボタンをカードの下端にそろえる（職種名・ラベルの高さは js/main.js の data-align でそろえる） */
.fgrid--jobs .fcard { display: flex; flex-direction: column; }
.fcard .jcard__tags { margin: 0 0 10px; } /* カードが縦並び（flex）で余白が重ならないため、上の余白は職種名の下余白だけにする */
.fcard .jcard__tags li { padding: 2px 8px; }
.fcard .jcard__tags li::before,
.fcard .sns li::before { content: none; }   /* タグ・SNSの並びには印を付けない */
.fcard .sns li { padding-left: 0; }
.fcard .fcard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
/* 中身が多いカードを1枚だけ横幅いっぱいに（左に説明、右に対応内容とボタン） */
.fgrid--lastwide > :last-child { grid-column: 1 / -1; }
.fcard--wide { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px 44px; align-items: center; }
.fcard--wide .chips { margin: 0 0 14px; }
.fcard--wide .fcard__side p { margin: 0; }
/* カード内のピル型リストは、箇条書きの点ではなくチェックのまま */
.fcard .chips li { position: static; padding: 5px 13px; }
.fcard .chips li::before { content: "✓"; position: static; width: auto; height: auto; background: none; border-radius: 0; color: var(--green); margin-right: 6px; }

/* pill list（対象の方など） */
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.pills li { background: rgba(255, 252, 247, .92); border-radius: 20px; padding: 18px 20px; box-shadow: 0 14px 30px -26px rgba(59, 37, 23, .4); }
.pills strong { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; display: block; margin-bottom: 4px; }
.pills strong::before { content: ""; display: inline-block; width: .7em; height: .7em; margin-right: 8px; background: var(--primary); border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%; }
.pills span { font-size: .88rem; color: var(--ink-2); }

/* two-column text + print */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > .split__photo { order: -1; }
.split__photo { justify-self: center; }
.split__text p { font-size: var(--fs-lead); margin: 0 0 1.1em; }
.split__text .h3 { margin-bottom: .5em; }
.split__text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.split__text ul li { padding-left: 1.5em; position: relative; font-size: .98rem; color: var(--ink-2); }
.split__text ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8em; height: .8em; background: var(--nanohana); border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%; }

/* insurance compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.compare article { background: #fff; border-radius: 26px; padding: 26px 26px 22px; box-shadow: 0 20px 44px -30px rgba(59, 37, 23, .35); border-top: 6px solid var(--primary); }
.compare article + article { border-top-color: var(--green); }
.compare h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; margin: 0 0 .4em; }
.compare h3 .latin { display: block; font-size: .9rem; color: var(--primary); }
.compare article + article h3 .latin { color: var(--green-deep); }
.compare dl { margin: 0; display: grid; }
.compare dl div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.compare dt { font-weight: 700; color: var(--ink-3); }
.compare dd { margin: 0; color: var(--ink-2); }

/* horizontal timeline（1日の流れ） */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; }
.timeline__time { display: inline-block; font-family: var(--f-latin); font-style: italic; font-size: 1rem; color: var(--primary-deep); background: var(--nanohana); border-radius: 999px; padding: 2px 12px; margin-bottom: 10px; }
.timeline__time--end { background: var(--wakaba); color: var(--green-deep); }
.timeline .print { width: 100%; }
.timeline h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; margin: 14px 0 .3em; }
.timeline p { margin: 0; font-size: .86rem; color: var(--ink-2); }
.timeline li:not(:last-child)::after { content: "›"; position: absolute; right: -14px; top: 42%; font-family: var(--f-display); font-size: 1.6rem; color: var(--primary); }

/* documents（PDF） */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.docs > li { display: flex; } /* 同じ行のカードは高さをそろえる */
.docs a { flex: 1; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: 0 14px 30px -26px rgba(59, 37, 23, .4); font-weight: 700; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.docs a:hover { transform: translateX(4px); }
.docs svg { width: 26px; height: 26px; color: var(--primary); flex: none; }
.docs small { display: block; font-size: .74rem; font-weight: 400; color: var(--ink-3); }

/* areas / scenes chips */
.rounds { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.rounds li { width: 128px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-size: 1.05rem; background: #fff; border-radius: 48% 52% 50% 50% / 55% 45% 55% 45%; box-shadow: var(--shadow); border: 3px solid var(--peach); }
.rounds li:nth-child(even) { border-color: var(--wakaba); border-radius: 54% 46% 48% 52% / 45% 55% 45% 55%; }
.rounds li svg { width: 32px; height: 32px; color: var(--primary); margin-bottom: 4px; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.areas li { font-weight: 700; background: var(--wakaba); border-radius: 999px; padding: 6px 16px; }
.areas li.is-main { background: var(--primary); color: #fff; }

/* CTA band */
.cta { position: relative; background: var(--ink); color: var(--cream); border-radius: 40px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 40px; align-items: center; box-shadow: 0 30px 60px -30px rgba(59, 37, 23, .6); overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; background: rgba(232, 101, 42, .35); filter: blur(4px); }
.cta h2 { position: relative; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .4em; line-height: 1.5; }
.cta h2 em { font-style: normal; color: var(--nanohana); }
.cta p { position: relative; margin: 0; color: rgba(255, 246, 236, .8); font-size: .95rem; }
.cta__actions { position: relative; display: grid; gap: 12px; justify-items: start; }
.cta__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--f-latin); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
.cta__tel svg { width: 26px; height: 26px; color: var(--nanohana); }
.cta__tel small { font-family: var(--f-body); font-size: .78rem; color: rgba(255, 246, 236, .7); display: block; letter-spacing: 0; }
.cta__mascot { position: absolute; right: 24px; bottom: 4px; width: 64px; opacity: .95; animation: bob 4.4s ease-in-out infinite; }

/* ---------- company ---------- */
.company { padding: clamp(50px, 7vw, 90px) 0 30px; }
.company__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; background: var(--paper); border-radius: 40px; padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow); }
.company__dl { margin: 0; display: grid; }
.company__dl div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.company__dl dt { font-weight: 700; color: var(--ink-3); font-size: .9rem; }
.company__dl dd { margin: 0; font-size: .95rem; }
.company__dl a { color: var(--primary-deep); font-weight: 700; }
.company__dl small { color: var(--ink-3); font-size: .8rem; }
.company__visual { text-align: center; }
.company__logo { width: min(70%, 260px); height: auto; margin: 0 auto 16px; filter: drop-shadow(0 12px 20px rgba(185, 69, 26, .18)); }
.company__tag { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.6; margin: 0 0 8px; }
.company__area { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-3); margin: 0; }
.company__mascot { width: 62px; height: auto; margin: 18px auto 0; animation: bob 4.6s ease-in-out infinite; }
.sns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.sns a { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; background: #fff; border-radius: 999px; padding: 7px 14px; box-shadow: 0 10px 20px -16px rgba(59, 37, 23, .5); transition: transform .3s; }
.sns a:hover { transform: translateY(-3px); }
.sns svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- profile（代表） ---------- */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.profile__name { font-family: var(--f-display); font-size: 1.5rem; margin: 0; }
.profile__role { font-size: .85rem; color: var(--ink-3); margin: 0 0 14px; }
.profile dl { margin: 0; display: grid; }
.profile dl div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.profile dt { font-weight: 700; color: var(--ink-3); }
.profile dd { margin: 0; color: var(--ink-2); }
.message { background: #fff; border-radius: 32px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); margin-top: clamp(28px, 4vw, 48px); }
.message > p { font-size: var(--fs-lead); } /* 直下の段落だけ。中のカードの本文には効かせない */
.message .sign { text-align: right; font-family: var(--f-display); font-size: 1.05rem; margin: 1.6em 0 0; }
.quote { font-family: var(--f-display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--primary-deep); text-align: center; margin: 1.2em 0; }

/* initiatives list */
.ilist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: it; }
.ilist li { background: rgba(255, 252, 247, .92); border-radius: 20px; padding: 16px 20px 16px 58px; position: relative; box-shadow: 0 14px 30px -26px rgba(59, 37, 23, .4); }
.ilist li::before { counter-increment: it; content: counter(it, decimal-leading-zero); position: absolute; left: 20px; top: 16px; font-family: var(--f-latin); font-style: italic; font-size: 1.15rem; color: var(--primary); }
.ilist strong { font-family: var(--f-display); font-weight: 400; font-size: 1.02rem; display: block; }
.ilist strong small { font-family: var(--f-body); font-size: .72rem; color: var(--green-deep); background: var(--wakaba); border-radius: 999px; padding: 1px 8px; margin-left: 8px; vertical-align: middle; }
.ilist p { margin: 4px 0 0; font-size: .86rem; color: var(--ink-2); }

/* voices（スタッフの声） */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { display: flex; flex-direction: column; background: #fff; border-radius: 26px; padding: 24px 24px 22px; box-shadow: 0 20px 44px -30px rgba(59, 37, 23, .35); position: relative; }
.tcard::before { content: "“"; position: absolute; left: 20px; top: 6px; font-family: var(--f-latin); font-size: 3rem; color: var(--peach); line-height: 1; }
.tcard p { margin: 14px 0 12px; font-size: .95rem; }
.tcard footer { margin-top: auto; font-size: .8rem; color: var(--ink-3); } /* 名前の行はカードの下端にそろえる */
.tcard footer strong { color: var(--ink); font-weight: 700; }

/* ---------- footer ---------- */
.footer { padding: 44px 0 34px; background: var(--paper); margin-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { width: 150px; height: auto; }
.footer__name { font-family: var(--f-display); font-size: 1.15rem; margin: 0; }
.footer__tag { font-size: .85rem; color: var(--ink-2); margin: 0; }
.footer__addr { font-size: .8rem; color: var(--ink-3); margin: 4px 0 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 18px; font-size: .88rem; font-weight: 700; justify-content: flex-end; max-width: 560px; }
.footer__nav a { position: relative; }
.footer__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--nanohana); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.footer__nav a:hover::after { transform: scaleX(1); }
.footer__nav .ext { color: var(--ink-3); }
.footer__copy { grid-column: 1 / -1; font-size: .82rem; color: var(--ink-3); margin: 8px 0 0; text-align: center; }
.totop {
  position: fixed; right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--cream); display: grid; place-items: center; z-index: 40;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s, transform .4s, background .3s; box-shadow: 0 16px 30px -14px rgba(59, 37, 23, .6);
}
.totop.is-show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--primary-deep); }

/* ---------- privacy / prose ---------- */
.prose { background: #fff; border-radius: 32px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.prose h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: .95rem; color: var(--ink-2); }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose section + section { margin-top: 2.4em; }
.prose section > h2:first-child { margin-top: 0; }
.prose h2 .no { font-family: var(--f-latin); font-style: italic; color: var(--primary); margin-right: .5em; }
.prose dl { display: grid; gap: 12px; margin: 0; }
.prose dl > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 2px 18px; }
.prose dt { font-size: .9rem; font-weight: 700; color: var(--ink); }
.prose dd { margin: 0; font-size: .95rem; color: var(--ink-2); }
.prose .callout { background: var(--cream); border-radius: 18px; padding: 16px clamp(16px, 2.5vw, 22px); }
.prose .callout p:first-child { margin-top: 0; }
.prose .callout p:last-child { margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans--3 { grid-template-columns: repeat(3, 1fr); }
  .fgrid--4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li:nth-child(2n)::after { display: none; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .house { grid-template-columns: 1fr; }
  .fcard--wide { grid-template-columns: 1fr; }
  :root { --header-h: 72px; }
  .nav, .header__tel { display: none; }
  .burger { display: block; }
  .brand__mark { width: 128px; }
  .header.is-scrolled .brand__mark { width: 118px; }
  .hero { padding-top: calc(var(--header-h) + 8px); padding-bottom: 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__visual { width: min(86%, 400px); margin-top: 16px; padding-bottom: 12%; }
  .hero__mascot-wrap { width: 28%; left: -4%; bottom: 0; }
  .scroll-hint { display: none; }
  .phero__inner { grid-template-columns: 1fr; gap: 24px; }
  .phero__visual { width: min(80%, 360px); }
  .marquee { margin: 0 0 24px; padding: 8px 0 16px; }
  .concept__grid, .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev > .split__photo { order: 0; }
  .voices { grid-template-columns: 1fr; }
  .voices__arrow svg { transform: rotate(90deg); animation: none; }
  .scard, .scard--rev { grid-template-columns: 1fr; }
  .scard--rev .scard__photos { order: 0; }
  .scard__photos { min-height: 0; max-width: 430px; margin-inline: auto; }
  .effects__mascot { position: static; width: 64px; height: auto; margin: 0 auto 14px; }
  .prose dl > div { grid-template-columns: 1fr; }
  .effects__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .ecard { min-height: 0; }
  .road { display: none; }
  .steps, .steps--4 { grid-template-columns: 1fr; max-width: 560px; margin: 20px auto 0; position: relative; }
  .steps::before { content: ""; position: absolute; left: 34px; top: 30px; bottom: 30px; border-left: 3px dashed rgba(232, 101, 42, .4); z-index: -1; }
  .news__grid, .recruit__grid, .contact__grid, .company__grid, .compare, .profile, .fgrid, .fgrid--2, .cta { grid-template-columns: 1fr; }
  .news__grid .notecard { margin-top: 28px; }   /* 1列になると上の一覧とのすき間が28pxしかなく、はみ出したマスコットが一覧に触れる */
  .fgrid--even { grid-auto-rows: auto; }
  .profile { max-width: 520px; }
  .profile > .print { justify-self: center; }
  .pills { grid-template-columns: repeat(2, 1fr); }
  .ilist, .tcards { grid-template-columns: 1fr; }
  .company__dl div { grid-template-columns: 96px 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
  .cta__mascot { display: none; }
}
@media (max-width: 600px) {
  /* 住居タイプ別の表は、スマホでは「条件」の下に「金額」を積む */
  .house .otable--narrow, .house .otable--narrow tbody, .house .otable--narrow tr, .house .otable--narrow th, .house .otable--narrow td { display: block; width: auto; }
  .house .otable--narrow tr { padding: 10px 0; border-bottom: 1px dashed var(--line); }
  .house .otable--narrow th, .house .otable--narrow td { padding: 0; border: 0; }
  .house .otable--narrow td { margin-top: 2px; }
  body { font-size: 15px; }
  .plans, .plans--3, .fgrid--4, .docs, .pills, .jobs, .checks, .form__row, .timeline { grid-template-columns: 1fr; }
  .jobs { grid-auto-rows: auto; } /* 1列のときは中身の高さのまま（短いカードに空白を作らない） */
  .timeline li::after { display: none !important; }
  .timeline .print { width: min(100%, 300px); margin-inline: auto; }
  .scard__photos { gap: 18px; }
  .scard__photos .print:nth-child(1):not(:only-child) { justify-self: center; }
  .scard__photos .print:nth-child(2) { position: static; width: min(64%, 230px); }
  .hero__visual { width: min(90%, 340px); }
  .hero__mascot-wrap { width: 30%; left: -6%; }
  /* 小見出しは英字の行と日本語の行に分ける（横並びのままだと両方が細く折り返し、「コ／ト」のように言葉の途中で切れる）。
     日本語は句読点・中黒の位置で折り返す */
  .eyebrow { flex-wrap: wrap; gap: 4px 10px; word-break: keep-all; overflow-wrap: anywhere; }
  .eyebrow__sep { display: none; }
  .eyebrow .latin { width: 100%; }
  .eyebrow--center .latin { text-align: center; }
  .voices__left { padding-left: 0; padding-top: 0; }
  .voices__mascot { position: static; width: 54px; margin: 0 0 8px; }
  .voices__list li:nth-child(even) { margin-left: 12px; }
  .equation__item { min-width: 0; width: 100%; }
  .equation__break, .support__lead br { display: none; }
  .equation__pair { flex-direction: column; width: 100%; }
  .equation__result { width: 100%; padding: 22px 28px; }
  .equation__mascot { width: 54px; margin: 4px auto 0; }
  .company__mascot { width: 56px; }
  .contact__bubble { align-items: flex-start; }
  .otable th { width: 42%; }
  .news__item { grid-template-columns: auto auto; }
  .news__title { grid-column: 1 / -1; }
  .rounds li { width: 104px; font-size: .95rem; }
  .menu__nav a { grid-template-columns: 80px 1fr; font-size: 1.4rem; }
  .menu__sub { padding-left: 80px; }
  .menu__nav .menu__sub a { font-size: .95rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
  .hi::before { transform: scaleX(1); }
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--cream); padding: 12px 22px; border-radius: 999px;
  font-size: .9rem; font-weight: 700; z-index: 90; opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .35s; box-shadow: 0 16px 30px -14px rgba(59, 37, 23, .6);
  max-width: calc(100% - 40px); text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
