/* 01-nagi「凪とゆり」 設計:文档/方案/01-nagi.md(§1 規範、§2 SVG、§3 共通部品、§4 各ページ)
 * 断点:手机 <768 / 平板 768–1279 / PC ≥1280(この 3 つだけ)。
 * 日文断行:骨架の ctx.phrase()(<wbr>)+ keep-all。text-wrap: balance / pretty、auto-phrase は使わない。 */

/* ===================== 1. 規範(変数) ===================== */
:root {
  --c-bg: #FCF7F3;
  --c-surface: #FFFFFF;
  --c-lily: #F3DCEA;
  --c-lily-soft: #FBEFF4;
  --c-honey: #F6C26B;
  --c-nagi: #5A5299;
  --c-ink: #3A2F33;
  --c-sub: #6B5E62;
  --c-berry: #8C3B6E;
  --c-berry-hover: #74305B;
  --c-berry-active: #5F2649;
  --c-honey-hover: #F0B24E;
  --c-honey-active: #E9A93F;
  --c-focus: #5A5299;
  --c-error: #A3243C;
  --c-line: #EAD9E2;
  --c-field: #8A7680;
  --c-sky-top: #F8E3EE;
  --c-sky-bottom: #FBE3C4;

  --f-head: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', sans-serif;
  --f-body: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;

  --fs-deco: 22px; --fs-h1: min(28px, 8vw); --fs-h2: min(26px, 7.4vw); --fs-h2-xl: 28px; --fs-h3: 20px; --fs-lead: 19px;
  --fs-body: 18px; --fs-small: 16px; --fs-ui: 12px; --fs-notice: 13px; --fs-btn: 17px; --fs-tel: 30px;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --sp-7: 48px; --sp-8: 64px; --sp-9: 80px; --sp-10: 120px;
  --sec-pad: 72px;
  --gutter: 20px;
  --max: 1120px;
  --measure: 760px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --r-arch: 999px 999px 16px 16px;
  --arc-h: 24px;
  --shadow-pop: 0 12px 32px rgba(58, 47, 51, .14);
  --hd-h: 64px;
}
@media (min-width: 768px) {
  :root {
    --fs-deco: 28px; --fs-h1: 34px; --fs-h2: 30px; --fs-h2-xl: 34px; --fs-h3: 22px; --fs-lead: 20px;
    --fs-btn: 18px; --fs-tel: 36px;
    --sec-pad: 96px; --gutter: 32px; --arc-h: 40px;
  }
}
@media (min-width: 1280px) {
  :root {
    --fs-deco: 32px; --fs-h1: 40px; --fs-h2: 36px; --fs-h2-xl: 40px; --fs-h3: 24px; --fs-lead: 22px;
    --fs-tel: 40px;
    --sec-pad: 120px; --gutter: 40px; --hd-h: 96px;
  }
}
@media (max-width: 359px) { :root { --fs-btn: 16px; } }

/* ===================== 2. 基本 ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (min-width: 1280px) { html { scroll-padding-top: 16px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font: 400 var(--fs-body)/2 var(--f-body);
  letter-spacing: .06em;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--c-berry); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-berry-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
button { font: inherit; color: inherit; }
.tabular, .b-tel, .bigtel__num, .b-timeline__date { font-variant-numeric: tabular-nums; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: middle; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; }
.skip:focus { left: 8px; top: 8px; padding: 8px 16px; background: #fff; color: var(--c-ink); border-radius: 8px; }
.yn-phrase { word-break: keep-all; overflow-wrap: anywhere; }
.bl { display: inline-block; } /* halves():2 分割した文節のかたまり */
.nw { white-space: nowrap; }
/* 3 行以上の正文:普通折返し(文節 <wbr> なし)。text-wrap: pretty は使わない(WebKit で行長が縮む) */
.prose, .b-p:not(.yn-phrase), .b-dl dd { word-break: normal; line-break: strict; overflow-wrap: anywhere; }

/* ===================== 3. 帯・緩弧・潮線・見出し ===================== */
.bg-base { --sec-bg: var(--c-bg); }
.bg-lily { --sec-bg: var(--c-lily); }
.bg-honey { --sec-bg: var(--c-honey); }
.bg-nagi { --sec-bg: var(--c-nagi); color: #fff; }
.bg-nagi :focus-visible { outline-color: #fff; }
.bg-honey :focus-visible { outline-color: var(--c-ink); }

.sec { position: relative; background: var(--sec-bg); padding-block: var(--sec-pad); }
.sec--first { padding-top: 32px; }
@media (min-width: 768px) { .sec--first { padding-top: 48px; } }
.sec__inner { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* 弧は「下の帯」の上縁に置き、色 = 下の帯の底色。上の帯の下内边距(≥弧高)に重なる */
.arc {
  position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  height: var(--arc-h); color: var(--sec-bg); pointer-events: none; z-index: 1;
}
.arc--tide { height: calc(var(--arc-h) * 1.8); }
.arc svg { display: block; width: 100%; height: 100%; }

.deco {
  display: flex; align-items: center; gap: 8px;
  font: 500 var(--fs-deco)/1.2 var(--f-head); letter-spacing: .06em;
  color: var(--c-nagi); margin-bottom: 6px;
}
.deco .ic { width: 24px; height: 24px; stroke-width: 2.4; }
.bg-nagi .deco { color: var(--c-lily); }
.sec__head { margin-bottom: 32px; }
@media (min-width: 768px) { .sec__head { margin-bottom: 48px; } }
.sec__h { font: 700 var(--fs-h2)/1.5 var(--f-head); letter-spacing: .06em; }
.bg-nagi .sec__h { color: #fff; }
.sec--center .sec__head { text-align: center; }
.sec--center .deco { justify-content: center; }

.measure { max-width: var(--measure); }
.measure > * + * { margin-top: 1em; }
.lead { font: 500 var(--fs-lead)/2 var(--f-head); letter-spacing: .06em; max-width: var(--measure); }
.lead--center { margin-inline: auto; }
@media (min-width: 768px) { .lead--center { text-align: center; } }

/* 区块淡入:JS が is-pending を付けたときだけ隠れる(既定は見える。main.js 参照) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .6s ease-out, transform .6s ease-out; }
  .reveal.is-pending { opacity: 0; transform: translateY(16px); }
  .cards > .reveal:nth-child(2), .worries > .reveal:nth-child(2), .steps > .reveal:nth-child(3) { transition-delay: 80ms; }
  .worries > .reveal:nth-child(3) { transition-delay: 160ms; }
}

/* ===================== 4. ボタン ===================== */
.btnwrap { margin-top: 32px; }
.btnwrap--center { text-align: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; min-width: 280px; padding: 12px 32px;
  border-radius: var(--r-pill);
  font: 700 var(--fs-btn)/1.4 var(--f-head); letter-spacing: .06em;
  text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s;
}
.btn:hover { text-decoration: none; }
.btn .ic { width: 20px; height: 20px; transition: transform .2s; }
@media (prefers-reduced-motion: no-preference) { .btn:hover .ic { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .btn .ic { transition: none; } }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-berry); color: #fff; }
.btn--primary:hover { background: var(--c-berry-hover); color: #fff; }
.btn--primary:active { background: var(--c-berry-active); }
.btn--secondary { background: var(--c-honey); color: var(--c-ink); }
.btn--secondary:hover { background: var(--c-honey-hover); color: var(--c-ink); }
.btn--secondary:active { background: var(--c-honey-active); }
.btn--ghost { min-height: 52px; background: #fff; color: var(--c-berry); border: 1.5px solid var(--c-berry); }
.btn--ghost:hover { background: var(--c-lily); color: var(--c-berry); }
.btn--ghost:active { background: #EBC9DD; }
.btn--onnagi { background: var(--c-bg); color: var(--c-berry); }
.btn--onnagi:hover { background: #fff; color: var(--c-berry-hover); }
@media (max-width: 767px) {
  .btn { display: flex; width: 100%; max-width: 400px; min-width: 0; margin-inline: auto; padding-inline: 18px; gap: 8px; letter-spacing: .02em; font-size: clamp(16px, 4.3vw, 17px); }
}

/* ===================== 5. 页头 ===================== */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-bg); border-bottom: 1px solid var(--c-line);
}
.hd__inner {
  display: flex; align-items: center; height: 64px;
  padding: 0 12px 0 var(--gutter);
}
.hd__logo { margin-right: auto; min-height: 44px; } /* 触控区(logo の見た目は変えない) */
@media (min-width: 768px) and (max-width: 1279px) { .hd .yn-logo { --yn-logo-scale: .8; } }
.hd * { white-space: nowrap; }
.hd__btns { display: flex; gap: 8px; }
.hd__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 64px; height: 56px; padding: 0; border-radius: var(--r-lg);
  font: 700 var(--fs-ui)/1.2 var(--f-head); letter-spacing: 0;
  text-decoration: none; cursor: pointer;
}
.hd__btn .ic { width: 22px; height: 22px; }
.hd__btn--tel { background: var(--c-berry); color: #fff; border: 0; }
.hd__btn--tel:hover { background: var(--c-berry-hover); color: #fff; }
.hd__btn--menu { background: #fff; color: var(--c-ink); border: 1.5px solid var(--c-line); }
.hd__btn--menu:hover { background: var(--c-lily); }
.hd__btn:active { transform: translateY(1px); }
.hd__btn--menu .ic--close, .hd__btn--menu[aria-expanded="true"] .ic--menu { display: none; }
.hd__btn--menu[aria-expanded="true"] .ic--close { display: inline-block; }
/* JS 無し:開閉ボタンは動かないので隠し、代わりにフッターのナビへ飛ぶリンクを出す(<head> で .js が付くので JS ありでは出ない) */
html:not(.js) button.hd__btn--menu { display: none; }
.js .hd__btn--nojs { display: none; }
@media (max-width: 359px) {
  .hd .yn-logo { --yn-logo-scale: .85; }
  .hd__inner { padding-right: 8px; padding-left: 16px; }
  .hd__btns { gap: 4px; }
  .hd__btn { width: 58px; }
}

/* PC 头部(≥1280):文字ナビ 3 + 電話 + 胶囊 2 */
.gn { display: none; }
@media (min-width: 1280px) {
  .hd { position: static; }
  .hd__inner { height: 96px; padding: 0 var(--gutter); }
  .hd__btns { display: none; }
  .gn { display: flex; align-items: center; gap: 32px; }
  .gn__list { display: flex; gap: 32px; list-style: none; }
  .gn__item { position: relative; }
  .gn__link {
    position: relative; display: inline-flex; align-items: center; gap: 4px; height: 48px;
    font: 700 16px/1.4 var(--f-head); letter-spacing: .08em; color: var(--c-ink); text-decoration: none;
  }
  .gn__link .ic { width: 14px; height: 14px; }
  .gn__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 6px; opacity: 0;
    background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M1 5Q50 -1 99 5' fill='none' stroke='%238C3B6E' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  }
  .gn__link:hover, .gn__link[aria-current="page"], .gn__link[data-active] { color: var(--c-berry); }
  .gn__link:hover::after, .gn__link[aria-current="page"]::after, .gn__link[data-active]::after { opacity: 1; }
  .gn__sub {
    display: none; position: absolute; top: 100%; left: -16px; z-index: 60; min-width: 200px;
    padding: 8px; list-style: none; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  }
  .has-sub:hover .gn__sub, .has-sub:focus-within .gn__sub { display: block; }
  .has-sub.is-esc .gn__sub { display: none; } /* Esc で閉じた(main.js) */
  @media (prefers-reduced-motion: no-preference) {
    .has-sub:hover .gn__sub, .has-sub:focus-within .gn__sub { animation: nagi-fade .2s ease-out; }
  }
  .gn__sublink {
    display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: var(--r-md);
    font: 700 16px/1.4 var(--f-head); letter-spacing: .08em; color: var(--c-ink); text-decoration: none;
  }
  .gn__sublink:hover { background: var(--c-lily-soft); color: var(--c-berry); }
  .gn__sublink[aria-current="page"] { color: var(--c-berry); box-shadow: inset 4px 0 var(--c-berry); }
  .gn__tel { display: flex; align-items: center; gap: 6px; color: var(--c-berry); }
  .gn__tel > .ic { width: 20px; height: 20px; }
  .gn__telcol { display: flex; flex-direction: column; line-height: 1.3; }
  .gn__tellink { font: 700 22px/1.2 var(--f-head); letter-spacing: .02em; color: var(--c-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
  .gn__tellink:hover { color: var(--c-berry); text-decoration: underline; }
  .gn__fax { font: 400 16px/1.4 var(--f-body); letter-spacing: .02em; color: var(--c-sub); }
  .gn__caps { display: flex; gap: 12px; list-style: none; }
  .cap {
    display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: var(--r-pill);
    font: 700 16px/1.4 var(--f-head); letter-spacing: .06em; text-decoration: none; transition: background-color .2s;
  }
  .cap--honey { background: var(--c-honey); color: var(--c-ink); }
  .cap--honey:hover { background: var(--c-honey-hover); color: var(--c-ink); }
  .cap--berry { background: var(--c-berry); color: #fff; }
  .cap--berry:hover { background: var(--c-berry-hover); color: #fff; }
  .cap[aria-current="page"] span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}
@keyframes nagi-fade { from { opacity: 0; } to { opacity: 1; } }

/* 手机菜单(<1280):sticky 页头の直下 */
.menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  height: calc(100vh - 64px); height: calc(100dvh - 64px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--c-bg); border-top: 1px solid var(--c-line);
}
.menu.is-open { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) { .menu.is-open { animation: nagi-fade .2s ease-out; } }
@media (min-width: 1280px) { .menu, .menu.is-open { display: none; } }
.menu__list, .menu__sub { list-style: none; }
.menu__list { width: min(100% - 2 * var(--gutter), 640px); margin: 8px auto 0; }
.menu__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 4px;
  border-bottom: 1px solid var(--c-line);
  font: 700 20px/1.4 var(--f-head); letter-spacing: .08em; color: var(--c-ink); text-decoration: none;
}
.menu__link .ic { width: 20px; height: 20px; color: var(--c-berry); }
.menu__sub .menu__link { padding-left: 24px; font-size: 18px; }
.menu__link[aria-current="page"] { color: var(--c-berry); box-shadow: inset 4px 0 var(--c-berry); padding-left: 16px; }
.menu__sub .menu__link[aria-current="page"] { padding-left: 32px; }
.menu__contact { width: min(100% - 2 * var(--gutter), 640px); margin: 32px auto 0; text-align: center; }
.menu__fax { margin-top: 12px; font-size: 16px; color: var(--c-sub); }
.menu__scene { margin-top: auto; padding-top: 40px; background: linear-gradient(transparent, var(--c-sky-top) 40px, var(--c-sky-bottom)); }
.menu__scene img { display: block; width: 100%; }

/* ===================== 6. 電話(全站共通) ===================== */
.bigtel {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  color: var(--c-ink); text-decoration: none;
}
.bigtel > .ic { width: 32px; height: 32px; color: var(--c-berry); }
.bigtel__txt { display: flex; flex-direction: column; align-items: flex-start; }
.bigtel__num { font: 700 var(--fs-tel)/1.2 var(--f-head); letter-spacing: .04em; white-space: nowrap; }
.bigtel__sub { display: none; }
.bigtel:hover { color: var(--c-berry); text-decoration: underline; text-decoration-thickness: 2px; }
.fax { margin-top: 8px; font-size: 18px; color: var(--c-ink); }
@media (max-width: 767px) {
  .bigtel, .bigtel--menu {
    display: flex; justify-content: center; width: 100%; min-height: 64px; padding: 8px 16px;
    border-radius: var(--r-pill); background: var(--c-berry); color: #fff;
  }
  .bigtel:hover { color: #fff; background: var(--c-berry-hover); text-decoration: none; }
  .bigtel > .ic { width: 26px; height: 26px; color: #fff; }
  .bigtel__txt { align-items: center; }
  .bigtel__num { font-size: clamp(19px, 6vw, 26px); letter-spacing: .02em; }
  .bigtel__sub { display: block; font: 500 14px/1.4 var(--f-head); letter-spacing: .06em; }
}
/* メニュー内:幅に関係なく深莓の全幅カプセル */
.bigtel--menu {
  display: flex; justify-content: center; width: 100%; min-height: 64px; padding: 8px 16px;
  border-radius: var(--r-pill); background: var(--c-berry); color: #fff;
}
.bigtel--menu:hover { color: #fff; background: var(--c-berry-hover); text-decoration: none; }
.bigtel--menu > .ic { width: 26px; height: 26px; color: #fff; }
.bigtel--menu .bigtel__txt { align-items: center; }
.bigtel--menu .bigtel__num { font-size: 24px; }
.bigtel--menu .bigtel__sub { display: block; font: 500 14px/1.4 var(--f-head); }

/* ===================== 7. 首屏(home-hero) ===================== */
.hero {
  position: relative; overflow: hidden; container-type: inline-size;
  background: linear-gradient(var(--c-sky-top), var(--c-sky-bottom) 75%);
}
.hero__text { position: relative; z-index: 1; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-top: 24px; }
.hero__art { display: block; position: relative; z-index: 0; }
.hero__art img { display: block; width: 100%; height: auto; }
/* 手机:插画の上端 = 文字の底辺 + 24px − 百合の頂点位置(cqw 非対応なら vw) */
.hero--points .hero__art { margin-top: calc(24px - 70.26vw); margin-top: calc(24px - 70.26cqw); }
.hero--calm .hero__art { margin-top: calc(24px - 65.47vw); margin-top: calc(24px - 65.47cqw); }
@media (min-width: 768px) {
  .hero__text { padding-top: 64px; }
  .hero__text > * { max-width: min(620px, 52vw); }
  .hero--solo .hero__text > * { max-width: min(620px, 60vw); } /* 复审 ③:标语为空时的兜底 */
  /* 平板/PC:地平线 = 文字底边 + 40px(≥32px) */
  .hero .hero__art { margin-top: calc(40px - 32.64vw); margin-top: calc(40px - 32.64cqw); }
}
@media (min-width: 1280px) {
  .hero__text { padding-top: 88px; }
  .hero--solo .hero__text > * { max-width: min(620px, 52vw); }
}

.hero__tagline {
  font: 700 min(28px, calc((100vw - 40px) / 14.5))/1.4 var(--f-head); letter-spacing: .04em;
  color: var(--c-berry); white-space: nowrap;
}
@media (min-width: 768px) { .hero__tagline { font-size: clamp(28px, calc(52vw / 14.5), 44px); } }
@media (min-width: 1280px) { .hero__tagline { font-size: min(44px, calc(min(620px, 52vw) / 13.6)); } }
.hero__lead { margin-top: 8px; font: 500 17px/1.9 var(--f-head); }
.hero__catch { margin-top: 10px; font: 500 17px/1.9 var(--f-head); letter-spacing: .02em; color: var(--c-ink); }
@media (min-width: 768px) { .hero__catch { margin-top: 20px; font-size: 20px; letter-spacing: .06em; } }
@media (max-width: 1279px) { .hero__catch br { display: none; } }
.hero__catch--solo { margin-top: 0; font: 700 22px/1.6 var(--f-head); letter-spacing: .04em; }
.hero__catch--solo br { display: none; }
@media (min-width: 768px) { .hero__catch--solo { margin-top: 0; font-size: 28px; } }
@media (min-width: 1280px) { .hero__catch--solo { font-size: 32px; } }
.hero__company { margin-top: 8px; font: 700 16px/1.6 var(--f-head); letter-spacing: .12em; }
@media (min-width: 768px) { .hero__company { margin-top: 16px; font-size: 18px; } }

.hero__points { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; }
.hero__points li {
  display: inline-flex; align-items: center; min-height: 40px; padding: 4px 16px;
  background: #fff; border: 1.5px solid var(--c-berry); border-radius: var(--r-pill);
  font: 500 16px/1.4 var(--f-head); letter-spacing: .04em; white-space: nowrap;
}
.hero__addr { display: flex; align-items: center; gap: 6px; margin-top: 14px; font: 500 16px/1.6 var(--f-head); letter-spacing: .04em; }
.hero__addr .ic { width: 18px; height: 18px; color: var(--c-berry); }
.hero__more { display: none; }
@media (min-width: 1280px) {
  .hero__more { display: block; margin-top: 24px; }
  .paths__more { display: none; }
}

/* 两条路 */
.paths { position: relative; background: var(--c-bg); --sec-bg: var(--c-bg); padding: 8px 0 24px; }
.paths__nav { display: grid; gap: 12px; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.path {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 64px; padding: 8px 24px; border-radius: var(--r-pill);
  font: 700 18px/1.4 var(--f-head); letter-spacing: .06em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s;
}
.path__main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.path .ic { width: 22px; height: 22px; transition: transform .2s; }
@media (prefers-reduced-motion: no-preference) { .path:hover .ic { transform: translateX(4px); } }
.path__desc { display: none; }
.path--service { background: var(--c-berry); color: #fff; }
.path--service:hover { background: var(--c-berry-hover); color: #fff; }
.path--recruit { background: var(--c-honey); color: var(--c-ink); }
.path--recruit:hover { background: var(--c-honey-hover); color: var(--c-ink); }
.path:active { transform: translateY(1px); }
@media (max-width: 359px) { .path { padding-inline: 20px; font-size: 16px; letter-spacing: .02em; } }
@media (min-width: 768px) {
  .paths { padding-top: 24px; }
  .paths__nav { max-width: 640px; }
  .path { min-height: 72px; padding-inline: 32px; font-size: 20px; }
}
@media (min-width: 1280px) {
  .paths { padding: 24px 0 80px; }
  .paths__nav { max-width: none; grid-template-columns: 1fr 1fr; gap: 32px; }
  .path { min-height: 120px; padding: 16px 40px; border-radius: var(--r-xl); font-size: 24px; }
  .path__desc { display: block; margin-top: 2px; font: 500 16px/1.6 var(--f-head); letter-spacing: .06em; }
}
.paths__more { width: min(100% - 2 * var(--gutter), 640px); margin: 24px auto 32px; }
.paths__more .hero__points li { white-space: normal; }

/* ===================== 8. 下層ページの見出し・パンくず・目次 ===================== */
.pagehead {
  position: relative; overflow: hidden; container-type: inline-size;
  background: linear-gradient(var(--c-sky-top), var(--c-sky-bottom) 75%);
}
.pagehead__text { position: relative; z-index: 1; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-top: 32px; }
.pagehead__title { font: 700 var(--fs-h1)/1.4 var(--f-head); letter-spacing: .06em; }
.pagehead__art { display: block; position: relative; z-index: 0; margin-top: calc(24px - 20.27vw); margin-top: calc(24px - 20.27cqw); }
.pagehead__art img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) {
  .pagehead__art { margin-top: calc(32px - 10.42vw); margin-top: calc(32px - 10.42cqw); }
}
@media (min-width: 1280px) { .pagehead__text { padding-top: 48px; } }

.crumbs { position: relative; background: var(--c-bg); --sec-bg: var(--c-bg); }
.crumbs__nav { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; min-height: 48px; padding-top: 8px; list-style: none; font-size: 16px; line-height: 1.6; color: var(--c-sub); }
.crumbs__list li { display: inline-flex; align-items: center; }
.crumbs__list a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs__sep { margin: 0 10px; }
.crumbs [aria-current="page"] { color: var(--c-ink); }
.crumbs--before-tide { padding-bottom: calc(var(--arc-h) * 1.8 + 24px); }

.toc { width: min(100% - 2 * var(--gutter), var(--max)); margin: 16px auto 0; }
.toc__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; }
.toc__link {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; height: 100%; padding: 6px 12px;
  background: #fff; border: 1.5px solid var(--c-berry); border-radius: var(--r-pill);
  font: 700 16px/1.4 var(--f-head); letter-spacing: .04em; color: var(--c-berry); text-decoration: none; text-align: center;
}
.toc__link:hover { background: var(--c-lily); color: var(--c-berry); }
.toc__link .ic { width: 16px; height: 16px; }
@media (max-width: 767px) { .toc__link { padding-inline: 8px; font-size: 15px; letter-spacing: .02em; } }
@media (max-width: 359px) { .toc__link { font-size: 14px; letter-spacing: 0; gap: 4px; } }
@media (min-width: 768px) {
  .toc__list { display: flex; flex-wrap: wrap; gap: 12px; }
  .toc__link { padding-inline: 24px; }
}

/* ===================== 9. カード ===================== */
.cards { display: grid; gap: 24px; }
@media (min-width: 768px) { .cards { grid-template-columns: 1fr 1fr; gap: 32px; } }
.b-card {
  display: flex; flex-direction: column;
  padding: 20px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
}
@media (min-width: 768px) { .b-card { padding: 24px; } }
.arch { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; border-radius: var(--r-arch); }
.arch--tall { aspect-ratio: 5 / 6; }
.arch--square { aspect-ratio: 1 / 1; }
.b-card__body { display: flex; flex-direction: column; flex: 1; }
.b-card__title { display: flex; align-items: center; gap: 8px; margin-top: 20px; font: 700 var(--fs-h3)/1.6 var(--f-head); letter-spacing: .04em; }
.b-card__badge, .b-card__text { margin-top: 8px; }
.b-card__list { margin-top: 12px; }
.b-card__linkwrap { margin-top: auto; padding-top: 24px; }
@media (min-width: 768px) { .b-card__link { width: 100%; min-width: 0; } }
@media (min-width: 768px) and (max-width: 1279px) { .cards .b-card__link { padding-inline: 16px; gap: 8px; font-size: 16px; letter-spacing: .02em; } }

/* 横長カード(services-list、recruit-jobs) */
.rows { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .card--row { display: grid; grid-template-columns: 36% 1fr; gap: 32px; align-items: start; padding: 32px; }
  .card--row .b-card__title { margin-top: 0; }
  .card--row .b-card__linkwrap { margin-top: 0; }
  .card--row .b-card__link { width: auto; min-width: 280px; }
}
@media (min-width: 1280px) {
  .card--row { grid-template-columns: 400px 1fr; gap: 40px; }
  .card--row .b-card__title { font-size: 28px; }
}

/* 訪問介護のサービス(写真 + 小項目カード) */
.svcs { display: grid; gap: 32px; }
.card--service { padding: 24px 20px; border-radius: var(--r-xl); }
.card--service .b-card__body { display: contents; }
.card--service .b-card__title { order: -1; margin: 0 0 16px; }
.card--service .b-card__title .ic { width: 20px; height: 20px; color: var(--c-berry); }
.card--service .arch { aspect-ratio: 1 / 1; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; list-style: none; }
.svc__item {
  display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  line-height: 1.6;
}
.svc__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--c-lily-soft); color: var(--c-berry); }
.svc__ic .ic { width: 32px; height: 32px; }
@media (max-width: 1279px) {
  .svc__item { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 479px) {
  .svc { grid-template-columns: 1fr; gap: 8px; }
  .svc__item { flex-direction: row; align-items: center; min-height: 64px; }
  .svc__item:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .card--service { padding: 32px; }
  .card--service .b-card__title { font-size: 26px; }
  .card--service .b-card__media { max-width: 360px; }
  .svc { grid-template-columns: repeat(3, 1fr); }
  .svc__item:last-child:nth-child(odd) { grid-column: auto; }
  .svc__item:last-child:nth-child(3n+1) { grid-column: span 2; }
}
@media (min-width: 1280px) {
  .card--service {
    display: grid; grid-template-columns: 360px 1fr; column-gap: 40px; padding: 40px;
    grid-template-areas: "media title" "media list";
    grid-template-rows: auto 1fr;
  }
  .card--service .b-card__media { grid-area: media; }
  .card--service .b-card__title { grid-area: title; font-size: 28px; }
  .card--service .svc { grid-area: list; align-self: start; margin-top: 0; grid-template-columns: repeat(3, 1fr); }
  .svc__item { flex-direction: row; align-items: center; }
  .svc__item:last-child:nth-child(odd) { grid-column: auto; }
  .svc__item:last-child:nth-child(3n+1) { grid-column: span 2; }
}

/* 花びら記号のリスト */
.petal { list-style: none; }
.petal li { display: flex; gap: 10px; }
.petal li + li { margin-top: 8px; }
.petal .ic { width: 16px; height: 16px; margin-top: .55em; color: var(--c-berry); }

/* ===================== 10. home ===================== */
/* 理念(凪紫) */
.sec--home-philosophy .sec__h { font-size: var(--fs-h2-xl); }
.moon { display: grid; place-items: center; width: 144px; height: 144px; margin: 0 auto; border-radius: 50%; background: var(--c-bg); }
.moon__mark img { display: block; width: 96px; height: auto; }
@media (min-width: 768px) { .moon { width: 184px; height: 184px; } .moon__mark img { width: 120px; } }
.caption { margin-top: 24px; font: 500 18px/1.8 var(--f-head); color: var(--c-bg); text-align: center; }
.sec--home-philosophy .btnwrap { margin-top: 24px; }
.horizon { position: absolute; left: 0; right: 0; bottom: 56px; height: 1px; background: rgba(252, 247, 243, .3); }
@media (min-width: 768px) { .horizon { bottom: 80px; } }
.horizon--bars .bars { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); }

/* 三本線(居中・下ほど短い) */
.bars { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.bars span { display: block; height: 4px; border-radius: 2px; background: var(--c-honey); }
.bars span:nth-child(1) { width: 32px; }
.bars span:nth-child(2) { width: 22px; }
.bars span:nth-child(3) { width: 12px; }

/* 招聘(写真 + 文字) */
.split { display: grid; gap: 32px; }
.split__media .arch { max-width: 440px; margin-inline: auto; }
@media (max-width: 767px) {
  .split__text { display: contents; }
  .split .sec__head { order: -1; margin-bottom: 0; }
  .split .btnwrap { margin-top: 0; }
}
@media (min-width: 768px) {
  .split { grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
  .split .sec__head { margin-bottom: 0; }
}
@media (min-width: 1280px) { .split { gap: 64px; } }

/* 連絡パネル(home-contact / kaigo-contact) */
.panel { background: #fff; border-radius: var(--r-xl); padding: 24px 16px; text-align: left; }
@media (min-width: 768px) { .panel { padding: 48px; } }
@media (min-width: 1280px) { .panel { padding: 56px; } }
.panel--contact { display: grid; gap: 24px; max-width: 1040px; margin-inline: auto; }
.panel--contact .panel__col + .panel__col { padding-top: 24px; border-top: 1px solid var(--c-line); }
.panel__h { font: 700 var(--fs-h3)/1.6 var(--f-head); letter-spacing: .04em; margin-bottom: 16px; }
.panel__btnwrap { margin-top: 8px; }
@media (min-width: 1280px) {
  .panel--contact { grid-template-columns: 1fr 1fr; gap: 0; }
  .panel--contact .panel__col { padding-inline: 40px; }
  .panel--contact .panel__col:first-child { padding-left: 0; }
  .panel--contact .panel__col + .panel__col { padding-top: 0; padding-right: 0; border-top: 0; border-left: 1px solid var(--c-line); }
}

/* ===================== 11. services / houmon-kaigo ===================== */
.worries__h { margin-top: 56px; font: 700 24px/1.5 var(--f-head); letter-spacing: .06em; }
@media (min-width: 768px) { .worries__h { margin-top: 72px; font-size: 30px; } }
.worries { display: grid; gap: 12px; margin-top: 24px; list-style: none; }
.worries__item { display: flex; align-items: center; gap: 16px; padding: 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-xl); line-height: 1.8; }
.worries__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--c-lily-soft); color: var(--c-berry); }
.worries__ic .ic { width: 28px; height: 28px; }
@media (min-width: 1024px) {
  .worries { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
  .worries__item { flex-direction: column; align-items: center; text-align: center; padding: 32px 24px; }
  .worries__ic { width: 80px; height: 80px; }
  .worries__ic .ic { width: 40px; height: 40px; }
}
@media (max-width: 479px) { .worries__item { flex-direction: column; align-items: flex-start; gap: 10px; } }
.next { margin-top: 40px; text-align: center; color: var(--c-berry); line-height: 0; }
.next .ic { width: 32px; height: 32px; }

/* ===================== 12. about ===================== */
.motto { font: 700 26px/1.6 var(--f-head); letter-spacing: .06em; color: #fff; text-align: center; }
@media (min-width: 768px) { .motto { font-size: 34px; } }
@media (min-width: 1280px) { .motto { font-size: 40px; } }
.motto__body { margin-top: 32px; padding-bottom: 72px; text-align: center; color: var(--c-bg); font-size: 18px; line-height: 2.2; }
@media (min-width: 768px) { .motto__body { font-size: 20px; padding-bottom: 88px; } }
.motto__body > * + * { margin-top: .4em; }
.sec--about-philosophy .horizon { bottom: 64px; }
@media (min-width: 768px) { .sec--about-philosophy .horizon { bottom: 96px; } }

.message { display: grid; gap: 32px; justify-items: center; }
.message__text { justify-self: stretch; }
.message__disc { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: var(--c-lily); }
.disc__mark img { display: block; width: 80px; height: auto; }
@media (min-width: 768px) {
  .message { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
  .message__disc { width: 160px; height: 160px; }
  .disc__mark img { width: 104px; }
}
.person {
  margin-top: 48px; padding: 24px 20px; background: #fff; border-radius: var(--r-xl);
  border-left: 6px solid var(--c-berry);
}
@media (min-width: 768px) { .person { padding: 40px 48px; } }
.b-person__role { font-size: 16px; color: var(--c-sub); }
.b-person__name { margin-top: 4px; font: 700 28px/1.5 var(--f-head); letter-spacing: .08em; }
.b-person__profile { margin-top: 24px; }
.b-person__label { font: 700 20px/1.6 var(--f-head); letter-spacing: .04em; }
.b-person__text { margin-top: 8px; }
.b-person__qual { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; font-weight: 400; }
.b-person__qual::before, .dl--job dt::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 0 70% 0 70%;
  background: var(--c-berry); transform: rotate(45deg);
}

/* 会社概要・募集要項の dl */
.dlcard { background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.b-dl__row { border-top: 1px solid var(--c-line); }
.b-dl__row:first-child { border-top: 0; }
.b-dl dt { font: 700 16px/1.6 var(--f-head); letter-spacing: .06em; }
.dl--company dt { padding: 12px 20px; background: var(--c-lily-soft); }
.dl--company dd { padding: 12px 20px 16px; }
@media (min-width: 768px) {
  .dl--company .b-dl__row { display: grid; grid-template-columns: 200px 1fr; min-height: 64px; }
  .dl--company dt { display: flex; align-items: center; padding: 16px 24px; font-size: 17px; }
  .dl--company dd { padding: 16px 24px; align-self: center; }
}

/* 沿革(花びら形の節点 + 凪紫の縦線) */
.history { position: relative; list-style: none; counter-reset: hist; }
.history::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--c-nagi); }
.history .b-timeline__item { position: relative; counter-increment: hist; padding-left: 80px; min-height: 48px; }
.history .b-timeline__item + .b-timeline__item { margin-top: 40px; }
.history .b-timeline__item::before {
  content: ""; position: absolute; left: 4px; top: 4px; width: 40px; height: 40px;
  border-radius: 50% 0; transform: rotate(45deg); background: var(--c-lily); box-shadow: 0 0 0 3px var(--c-bg);
}
.history .b-timeline__item::after {
  content: counter(hist, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 48px; height: 48px;
  display: grid; place-items: center; font: 700 16px/1 var(--f-head); color: var(--c-berry); letter-spacing: .04em;
}
.history .b-timeline__date { font: 700 20px/1.6 var(--f-head); letter-spacing: .04em; padding-top: 8px; }
.history .b-timeline__text { margin-top: 4px; }
@media (min-width: 768px) {
  .history .b-timeline__item { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding-left: 88px; }
  .history .b-timeline__text { margin-top: 0; padding-top: 6px; }
}

/* ===================== 13. recruit ===================== */
.zig { display: grid; gap: 24px; }
.zig + .zig { margin-top: 48px; }
.zig__h { font: 700 var(--fs-h2)/1.6 var(--f-head); letter-spacing: .06em; margin-bottom: 20px; }
.zig__media .arch { max-width: 440px; margin-inline: auto; }
@media (min-width: 768px) {
  .zig { grid-template-columns: 1fr 40%; gap: 48px; align-items: center; }
  .zig--rev { grid-template-columns: 40% 1fr; }
  .zig--rev .zig__media { order: -1; }
  .zig + .zig { margin-top: 72px; }
}
@media (min-width: 1280px) {
  .zig { grid-template-columns: 1fr 440px; gap: 64px; }
  .zig--rev { grid-template-columns: 440px 1fr; }
  .zig__h { font-size: 32px; }
}
.sec--recruit-intro .btnwrap { margin-top: 56px; }

.jobs__jump { display: grid; gap: 8px; list-style: none; margin-bottom: 32px; }
.jump {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 6px 20px;
  background: #fff; border: 1.5px solid var(--c-berry); border-radius: var(--r-pill);
  font: 700 16px/1.4 var(--f-head); letter-spacing: .04em; color: var(--c-berry); text-decoration: none; text-align: center;
}
.jump:hover { background: var(--c-lily); color: var(--c-berry); }
.jump .ic { width: 16px; height: 16px; }
@media (min-width: 768px) { .jobs__jump { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; } .jump { padding-inline: 24px; } }
.job { padding: 24px 20px; background: #fff; border-radius: var(--r-xl); border: 1px solid var(--c-line); }
.job + .job { margin-top: 24px; }
@media (min-width: 768px) { .job { padding: 40px; } .job + .job { margin-top: 32px; } }
.job__title { padding-bottom: 12px; margin-bottom: 8px; border-bottom: 2px solid var(--c-honey); font: 700 var(--fs-h3)/1.6 var(--f-head); letter-spacing: .04em; }
@media (max-width: 359px) { .job__title { font-size: 18px; } }
.dl--job dt { display: flex; align-items: baseline; gap: 10px; padding-top: 16px; }
.dl--job dd { padding: 4px 0 16px; }
@media (min-width: 768px) {
  .dl--job .b-dl__row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; }
  .dl--job dt { padding: 16px 0; }
  .dl--job dd { padding: 16px 0; }
}
.sec--recruit-requirements .btnwrap { margin-top: 48px; }

/* ===================== 14. day-flow ===================== */
.flow { position: relative; list-style: none; }
.flow::before { content: ""; position: absolute; left: 15px; top: 20px; bottom: 8px; width: 2px; background: var(--c-nagi); }
.flow::after { content: ""; position: absolute; left: 8px; bottom: 0; width: 16px; height: 8px; border-radius: 0 0 8px 8px; background: var(--c-berry); }
.flow .b-timeline__item { position: relative; }
.flow .b-timeline__item + .b-timeline__item { margin-top: 48px; }
.flow .b-timeline__item:first-child::before { content: ""; position: absolute; left: 8px; top: -10px; width: 16px; height: 8px; border-radius: 8px 8px 0 0; background: var(--c-honey); }
.flow .b-timeline__date {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 4px 18px;
  border-radius: var(--r-pill); background: var(--c-honey); color: var(--c-ink);
  font: 700 20px/1.4 var(--f-head); letter-spacing: .04em;
}
.flow .b-timeline__title, .flow .b-timeline__text, .flow .b-timeline__media { padding-left: 40px; }
.flow .b-timeline__title { margin-top: 12px; font: 700 var(--fs-h3)/1.6 var(--f-head); letter-spacing: .04em; }
.flow .b-timeline__text { margin-top: 4px; }
.flow .b-timeline__media { margin-top: 16px; }
@media (min-width: 768px) {
  .flow::before { left: 23px; }
  .flow::after, .flow .b-timeline__item:first-child::before { left: 16px; }
  .flow .b-timeline__item {
    display: grid; grid-template-columns: 1fr 30%; column-gap: 40px;
    grid-template-areas: "date media" "title media" "text media" ". media"; grid-template-rows: auto auto auto 1fr;
  }
  .flow .b-timeline__item + .b-timeline__item { margin-top: 56px; }
  .flow .b-timeline__date { grid-area: date; justify-self: start; }
  .flow .b-timeline__title { grid-area: title; padding-left: 56px; }
  .flow .b-timeline__text { grid-area: text; padding-left: 56px; }
  .flow .b-timeline__text br { display: none; }
  .flow .b-timeline__media { grid-area: media; margin-top: 0; padding-left: 0; }
}
@media (min-width: 1280px) { .flow .b-timeline__item { grid-template-columns: 1fr 360px; column-gap: 56px; } }
.flow .b-timeline__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; border-radius: var(--r-arch); }

/* ===================== 15. entry / contact / privacy ===================== */
.steps { display: grid; gap: 8px; list-style: none; }
.steps__item { padding: 24px 20px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.steps__arrow { display: grid; place-items: center; color: var(--c-berry); line-height: 0; }
.steps__arrow .ic { width: 28px; height: 28px; }
.steps__arrow .ic--arrow { display: none; }
@media (min-width: 768px) and (max-width: 1023px) { .steps__item { padding: 32px; } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 16px; }
  .steps__item { padding: 32px; }
  .steps__arrow .ic--arrow { display: inline-block; width: 32px; height: 32px; }
  .steps__arrow .ic--chevron { display: none; }
}

.formpanel { max-width: 760px; margin-inline: auto; padding: 24px 20px; background: #fff; border-radius: var(--r-xl); }
@media (min-width: 768px) { .formpanel { padding: 56px; } }
.f__fields { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .f__fields { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .f__fields > * { grid-column: 1 / -1; }
  .f__fields > .f__row--text, .f__fields > .f__row--email, .f__fields > .f__row--tel { grid-column: auto; }
}
.f__row { min-width: 0; margin: 0; padding: 0; border: 0; }
.f__label { display: block; margin-bottom: 8px; padding: 0; font: 700 17px/1.6 var(--f-head); letter-spacing: .04em; color: var(--c-ink); }
.f__req, .f__opt {
  display: inline-flex; align-items: center; height: 24px; margin-left: 8px; padding: 0 8px; border-radius: var(--r-pill);
  font: 700 13px/1 var(--f-head); letter-spacing: .04em; vertical-align: 2px;
}
.f__req { background: var(--c-berry); color: #fff; }
.f__opt { border: 1px solid var(--c-field); color: var(--c-sub); }
.f__input, .f__textarea, .f__select {
  display: block; width: 100%; min-height: 56px; padding: 14px 16px;
  font: 400 18px/1.6 var(--f-body); letter-spacing: .04em; color: var(--c-ink);
  background: #fff; border: 1.5px solid var(--c-field); border-radius: var(--r-md);
}
.f__textarea { min-height: 200px; resize: vertical; }
.f__select {
  appearance: none; -webkit-appearance: none; padding-right: 48px;
  background: #fff right 16px center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%233A2F33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 13l7 7 7-7'/%3E%3C/svg%3E");
}
.f__input:hover, .f__textarea:hover, .f__select:hover { border-color: var(--c-ink); }
.f__input:focus, .f__textarea:focus, .f__select:focus { outline: 3px solid rgba(90, 82, 153, .35); outline-offset: 0; border: 2px solid var(--c-nagi); }
.f__input:user-invalid, .f__textarea:user-invalid, .f__select:user-invalid { border-color: var(--c-error); }
.f__choices { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 768px) { .f__row--radio .f__choices { flex-direction: row; flex-wrap: wrap; gap: 4px 32px; } }
.f__choice, .f__row--checkbox { display: flex; align-items: center; gap: 12px; min-height: 48px; line-height: 1.6; cursor: pointer; }
.f__row--checkbox { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; }
.f__row--checkbox > .f__link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.f__radio, .f__checkbox {
  appearance: none; -webkit-appearance: none; flex: none; display: grid; place-content: center;
  width: 24px; height: 24px; margin: 0; background: #fff; border: 1.5px solid var(--c-field); border-radius: 6px; cursor: pointer;
}
.f__radio { border-radius: 50%; }
.f__radio:checked, .f__checkbox:checked { background: var(--c-berry); border-color: var(--c-berry); }
.f__radio:checked::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.f__checkbox:checked::before { content: ""; width: 12px; height: 7px; margin-top: -3px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.f__radio:focus-visible, .f__checkbox:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.f__choice-label { font: 700 17px/1.6 var(--f-head); letter-spacing: .04em; cursor: pointer; }
.f__actions { margin-top: 48px; text-align: center; }
.f__submit {
  display: inline-flex; align-items: center; justify-content: center; width: 320px; max-width: 100%; min-height: 56px; padding: 12px 32px;
  border: 0; border-radius: var(--r-pill); background: var(--c-berry); color: #fff; cursor: pointer;
  font: 700 18px/1.4 var(--f-head); letter-spacing: .1em; transition: background-color .2s;
}
.f__submit:hover { background: var(--c-berry-hover); }
.f__submit:active { background: var(--c-berry-active); transform: translateY(1px); }
@media (max-width: 767px) { .f__submit { width: 100%; } }
.f__status { display: flex; justify-content: center; gap: 8px; margin-top: 16px; font-size: 16px; color: var(--c-ink); text-align: center; }
.f__status::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .6em; border-radius: 0 70% 0 70%; background: var(--c-berry); transform: rotate(45deg); }
.f__status:empty { display: none; }
.f__status.is-error { color: var(--c-error); font-weight: 700; }
.f__status.is-error::before { background: var(--c-error); }
.f__submit:disabled { opacity: .6; cursor: progress; }
.f__notice { margin-top: 12px; font-size: var(--fs-notice); line-height: 1.7; letter-spacing: .02em; color: var(--c-sub); text-align: center; }
[data-required-group] .f__label { margin-bottom: 4px; }

.panel--tel { max-width: 760px; margin-inline: auto; text-align: center; }
@media (min-width: 768px) {
  .panel--tel { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 40px; }
  .panel--tel .fax { margin-top: 0; }
}
.bigtel__label { margin-right: .2em; }
@media (max-width: 767px) { .lead br { display: none; } .panel--end .fax, .panel--tel .fax { text-align: center; } }

.notecard { max-width: 760px; margin-inline: auto; padding: 32px 20px; background: #fff; border-radius: var(--r-xl); text-align: center; }
@media (min-width: 768px) { .notecard { padding: 56px; } }
.b-pending { display: inline-flex; align-items: baseline; gap: 10px; text-align: left; }
.b-pending .ic { width: 16px; height: 16px; color: var(--c-berry); align-self: center; }

/* 下層ページ末尾の連絡帯 */
.panel--end { max-width: 880px; margin-inline: auto; display: grid; gap: 24px; }
.panel--end .panel__col--btn { display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) {
  .panel--end:not(.panel--entry) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
}
@media (max-width: 1023px) { .panel--end .panel__col { text-align: center; } }
.panel__btns { display: grid; gap: 12px; justify-items: center; }
@media (min-width: 768px) { .panel__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; } }
.panel__telrow { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 20px; padding-top: 20px; border-top: 1px solid var(--c-line); text-align: center; }
.panel__tel { display: inline-flex; align-items: center; gap: 6px; font: 700 22px/1.4 var(--f-head); letter-spacing: .04em; }
.panel__tel .ic { width: 22px; height: 22px; color: var(--c-berry); }
.panel__tel a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.panel__tel a:hover { color: var(--c-berry); }
.panel__fax { font-size: 16px; color: var(--c-sub); }

/* ===================== 16. 页脚 ===================== */
.ft { position: relative; background: #fff; --sec-bg: #fff; padding-top: 56px; }
@media (min-width: 768px) { .ft { padding-top: 72px; } }
.ft__inner { display: grid; gap: 40px; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
@media (min-width: 1280px) { .ft__inner { grid-template-columns: 5fr 7fr; gap: 48px; } }
.ft__addr { margin-top: 20px; font-size: 18px; line-height: 1.8; }
.ft__telrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 12px; }
.ft__tel { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 700 18px/1.6 var(--f-head); letter-spacing: .04em; color: var(--c-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.ft__tel .ic { width: 20px; height: 20px; color: var(--c-berry); }
.ft__tel:hover { color: var(--c-berry); text-decoration: underline; }
.ft__fax { font-size: 18px; color: var(--c-ink); }
.ft__mail { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 18px; overflow-wrap: anywhere; }
.ft__mail .ic { width: 20px; height: 20px; color: var(--c-berry); }
.ft__mail a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 767px) {
  .ft__telrow { flex-direction: column; align-items: stretch; gap: 8px; }
  .ft__tel { justify-content: center; min-height: 56px; border-radius: var(--r-pill); background: var(--c-berry); color: #fff; font-size: 22px; }
  .ft__tel .ic { color: #fff; }
  .ft__tel:hover { color: #fff; background: var(--c-berry-hover); text-decoration: none; }
}
.ft__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; list-style: none; }
.ft__sub { list-style: none; }
.ft__list a { display: flex; align-items: center; min-height: 44px; font: 700 17px/1.5 var(--f-head); letter-spacing: .06em; color: var(--c-ink); text-decoration: none; }
.ft__list a:hover { color: var(--c-berry); text-decoration: underline; }
.ft__sub a { font: 400 16px/1.5 var(--f-body); color: var(--c-sub); }
.ft__sub a::before { content: "・"; }
.ft__list a[aria-current="page"] { color: var(--c-berry); }
@media (max-width: 767px) { .ft__list { gap: 0 16px; } .ft__list a { font-size: 16px; letter-spacing: .02em; } .ft__sub a { font-size: 15px; } }
@media (min-width: 768px) { .ft__list { grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 8px 24px; } }
.ft__legal { width: min(100% - 2 * var(--gutter), var(--max)); margin: 32px auto 0; padding: 16px 0 24px; border-top: 1px solid var(--c-line); }
.ft__legal ul { list-style: none; }
.ft__legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.ft__bar { background: var(--c-nagi); color: #fff; }
.ft__bar :focus-visible { outline-color: #fff; }
.ft__barin {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 24px; min-height: 48px; padding: 8px 0;
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; font-size: 14px; line-height: 1.6;
}
.ft__copy { letter-spacing: .04em; }
.ft__top a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; color: #fff; }
@media (min-width: 768px) {
  .ft__barin { justify-content: flex-start; }
  .ft__top { margin-left: auto; }
}

/* ===================== 17. 印刷 ===================== */
@media print {
  .hd { position: static; }
  .menu, .hd__btns, .skip { display: none !important; }
  .reveal, .reveal.is-pending { opacity: 1 !important; transform: none !important; }
}
