@charset "utf-8";

/* ==========================================================================
   上石田訪問看護ステーションLino
   カラーと書体の値は DESIGN.md に対応。色を変えるときはここだけを触る。
   ========================================================================== */

:root {
  /* 地の色 */
  --cream: #FDF8F3;
  --sand: #F7EDE2;
  --white: #FFFFFF;
  --line: #E8D8C8;
  --line-soft: #F0E2D4;

  /* 文字 */
  --ink: #4A3730;        /* 本文。クリーム地でコントラスト比 10.58 */
  --ink-soft: #6E5A52;   /* 補足。6.13 */
  --ink-faint: #9C8A80;  /* ラベル。装飾扱い */

  /* ブランド */
  --rose: #B0736F;       /* ロゴ色。大きい文字と装飾に */
  --rose-deep: #8E5450;  /* リンクと小さい文字。5.63 */
  --rose-pale: #F3E3DF;
  --pink: #EDA3AC;
  --apricot: #F2A96F;
  --gold: #E9B85C;
  --leaf: #7E9E7A;
  --line-green: #06C755; /* LINE公式のブランドカラー */

  /* 書体 */
  --font-display: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-util: "Jost", "Zen Old Mincho", sans-serif;

  /* 寸法 */
  --wrap: 68rem;
  --wrap-narrow: 46rem;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --gap-section: clamp(3.25rem, 8vw, 6rem);
  --radius: 1rem;
  --shadow: 0 1px 2px rgba(74, 55, 48, .04), 0 10px 30px -14px rgba(74, 55, 48, .22);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

/* グリッドの子要素は既定で min-width:auto（=中身の最小コンテンツ幅が下限）
   になっており、画像や長い文字列が入ると際限なく広がることがある
   （確認用プレビューの特定条件で実際に2回発生した）。全グリッドの
   直接の子に対して一律で無効化しておく。通常表示には影響しない。 */
:where(.grid, .quicklinks, .check-list, .steps, .area, .contact-cards,
       .values, .insta-grid, .message, .service-block, .hero__inner,
       .site-footer__top, .deflist > div) > * {
  min-width: 0;
}

html { scroll-behavior: smooth; font-size: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 文字サイズ切り替え（ヘッダーの「小・中・大」）。サイト全体がrem単位で
   組まれているため、ルートのfont-sizeを変えるだけで比率を保ったまま
   全体が拡大される。選択はlocalStorageに保存し、全ページで引き継ぐ。 */
html.text-size-large { font-size: 112.5%; }
html.text-size-xlarge { font-size: 125%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;       /* 17px。ご高齢の読者を想定して大きめ */
  font-weight: 400;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
@media (max-width: 40em) { body { font-size: 1rem; } }

img, svg { max-width: 100%; height: auto; }
img { display: block; }
figure { margin: 0; }

/* 固定ヘッダーの下にアンカー先が隠れないようにする */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* --------------------------------------------------------------------------
   TOPだけのローディング演出（ハートと家の線画→Linoの筆記体→本編へ）
   -------------------------------------------------------------------------- */

html.intro-active, html.intro-active body { overflow: hidden; height: 100%; }
.intro-loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1rem, 4vw, 2rem);
  opacity: 1; visibility: visible;
  transition: opacity .5s ease;
}
.intro-loader.is-done { opacity: 0; visibility: hidden; }
.intro-loader__mark { width: min(38vw, 200px); color: var(--rose); overflow: visible; }
.intro-loader__word {
  width: min(52vw, 280px); color: var(--rose); overflow: visible;
  opacity: 0; transition: opacity .3s ease;
}
.intro-loader__word.is-visible { opacity: 1; }
/* パスの座標は元画像から復元したときの生の単位（内側のgで0.083333倍
   されて表示サイズになる）なので、線の太さもその単位で指定する。
   見た目の太さはここでは決まらず、実際のピクセル幅はSVGの表示サイズ
   との比率で決まる */
.intro-loader__draw path {
  fill: none; stroke: currentColor;
  stroke-width: 110; stroke-linecap: round; stroke-linejoin: round;
}
.intro-loader__draw { transition: opacity .3s ease; }
.intro-loader__draw.is-hidden { opacity: 0; }
.intro-loader__fill {
  opacity: 0; transition: opacity .35s ease;
}
.intro-loader__fill.is-visible { opacity: 1; }
.intro-loader__fill path { fill: currentColor; }

a { color: var(--rose-deep); text-underline-offset: .22em; }
a:hover { color: var(--rose); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--white); color: var(--ink);
  padding: .75rem 1.25rem; border: 1px solid var(--rose);
}
.skip:focus { left: .5rem; top: .5rem; }

/* --------------------------------------------------------------------------
   見出し・本文
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.section { padding-block: var(--gap-section); }
.section--sand { background: var(--sand); }
.section--rose { background: var(--rose-pale); }

.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head .label {
  display: block;
  font-family: var(--font-util);
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: .7rem;
}
.section-head h2 { font-size: clamp(1.45rem, 3.6vw, 2.05rem); }
.section-head .sub {
  margin: .9rem 0 0; max-width: 40rem;
  color: var(--ink-soft); font-size: .9375rem;
}
.section-head--center { text-align: center; }
.section-head--center .sub { margin-inline: auto; }

.lead { font-size: 1.125rem; line-height: 2; }

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  max-width: 80rem; margin-inline: auto; padding-inline: var(--pad);
  min-height: var(--header-h);
  /* 文字サイズを大きくした状態でも崩れないよう、収まらなければ折り返す
     （固定の高さではなく最小の高さなので、2段になっても中身は隠れない） */
  display: flex; flex-wrap: wrap; row-gap: .5rem; align-items: center; gap: 1.25rem;
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; flex: none; }
.brand__logo { width: 6.5rem; color: var(--rose); flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1.35; }
.brand__name .jp { font-family: var(--font-display); font-size: .875rem; letter-spacing: .04em; }
.brand__name .en { font-family: var(--font-util); font-size: .625rem; letter-spacing: .16em; color: var(--ink-faint); }
/* 幅の狭い端末でヘッダーが2段にならないように、ブランド表記を詰める */
@media (max-width: 48em) {
  .site-header__inner { gap: .75rem; }
  .brand { gap: .6rem; }
  .brand__logo { width: 5.25rem; }
  .brand__name .jp { font-size: .6875rem; letter-spacing: .01em; }
  .brand__name .en { display: none; }
}
@media (max-width: 26em) {
  .brand__name { display: none; }
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: .65rem; }
.site-nav__links { display: flex; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.site-nav__links a {
  text-decoration: none; color: var(--ink);
  font-size: .8125rem; letter-spacing: .02em; white-space: nowrap;
  padding-block: .35rem; border-bottom: 1px solid transparent;
}
.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] { color: var(--rose-deep); border-bottom-color: var(--rose); }
.site-header__cta { display: flex; align-items: center; gap: .4rem; flex: none; }
/* ヘッダーに収める分は、メニュー内のものよりひと回り小さくして幅を節約 */
.site-header__cta .text-size__btn { width: 1.55rem; height: 1.55rem; }
.site-header__tel { text-decoration: none; text-align: right; line-height: 1.3; flex: none; }
.site-header__tel .num {
  display: block; white-space: nowrap; font-family: var(--font-util); font-size: 1.0625rem;
  color: var(--rose-deep); letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.site-header__tel .cap { display: block; white-space: nowrap; font-size: .625rem; color: var(--ink-faint); letter-spacing: .06em; }

/* 電話番号を出す余白がなくなる幅から、LINEボタンだけを残す */
@media (max-width: 82em) { .site-header__tel { display: none; } }

/* 文字サイズ切り替え。ハンバーガーの中に隠すと存在に気づかれないため、
   スマホ・タブレットではヘッダーに常時出す（デスクトップはナビの中）。
   同じHTMLを2箇所に出し、CSSの表示・非表示だけで切り替える。JSはどちら
   でも同じ要素を更新する。 */
.text-size {
  display: inline-flex; align-items: center; gap: .2rem; flex: none;
  background: var(--sand); border-radius: 999px; padding: .25rem;
}
.text-size__btn {
  appearance: none; border: none; background: transparent; cursor: pointer;
  width: 2.1rem; height: 2.1rem; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}
.text-size__btn[data-text-size="normal"] { font-size: .75rem; }
.text-size__btn[data-text-size="large"] { font-size: .9375rem; }
.text-size__btn[data-text-size="xlarge"] { font-size: 1.125rem; }
.text-size__btn[aria-pressed="true"] { background: var(--rose-deep); color: #fff; }
.text-size--header-mobile { display: none; }
@media (max-width: 72em) {
  .site-nav { display: none; }
  /* ハンバーガーの隣に並べる。狭い画面でも収まるよう小さめにする */
  .text-size--header-mobile { display: block; margin-left: auto; }
  .text-size--header-mobile .text-size__btn { width: 1.55rem; height: 1.55rem; }
}
@media (max-width: 30em) {
  .text-size--header-mobile .text-size { padding: .2rem; gap: .1rem; }
  .text-size--header-mobile .text-size__btn { width: 1.4rem; height: 1.4rem; }
  .text-size--header-mobile .text-size__btn[data-text-size="normal"] { font-size: .6875rem; }
  .text-size--header-mobile .text-size__btn[data-text-size="large"] { font-size: .8125rem; }
  .text-size--header-mobile .text-size__btn[data-text-size="xlarge"] { font-size: .9375rem; }
}

/* 開閉メニュー（62em 以下）。JavaScript を使わず details/summary で開閉する */
.menu { display: none; }
.menu > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-size: .8125rem; letter-spacing: .06em;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu__bars { position: relative; width: 1rem; height: .7rem; flex: none; }
.menu__bars::before, .menu__bars::after, .menu__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--rose-deep);
}
.menu__bars::before { top: 0; }
.menu__bars span { top: 50%; transform: translateY(-50%); }
.menu__bars::after { bottom: 0; }
.menu[open] > summary { border-color: var(--rose); }
/* details が閉じている間は、ブラウザ標準の「非表示にする」挙動任せにせず
   明示的に隠す（巨大な1ファイルにまとめた確認用プレビューで、この標準挙動が
   働かずメニューの中身がそのままの幅で描画され、横崩れする不具合があったため）。 */
.menu:not([open]) > .menu__panel { display: none; }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(74, 55, 48, .5);
  padding: 1.1rem var(--pad) 1.5rem;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.menu__panel ul { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .1rem; }
/* リンク一覧だけを対象にする。.menu__cta の中のボタンに当たると
   .btn の display と余白を打ち消してしまうため、ul の中に限定している。 */
.menu__panel ul a {
  display: block; padding: .75rem .25rem; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-soft); font-size: .9375rem;
}
.menu__panel ul a[aria-current="page"] { color: var(--rose-deep); }
.menu__cta { display: grid; gap: .6rem; }
@media (max-width: 72em) { .menu { display: block; margin-left: auto; flex: none; } }
@media (max-width: 30em) {
  .menu > summary { padding: .55rem .7rem; font-size: 0; gap: 0; }
}

/* --------------------------------------------------------------------------
   ボタン
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500; line-height: 1.4;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--rose-deep); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { background: #7C4844; color: var(--white); }
.btn--ghost { background: var(--white); color: var(--rose-deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--rose); color: var(--rose-deep); }
/* LINE公式のブランドカラー。緑地に白文字はコントラスト比が低いため、
   本文より大きい文字サイズを確保し、必ず説明文を隣に添えて使う。 */
.btn--line { background: var(--line-green); color: var(--white); font-size: 1.0625rem; font-weight: 700; }
.btn--line:hover { background: #05B34C; color: var(--white); }
.btn--tel { background: var(--white); color: var(--rose-deep); border-color: var(--rose); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.0625rem; }
.btn__icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   ヒーロー（トップページ）
   -------------------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero::before {
  content: ""; position: absolute; inset: -25% -15% auto -15%; height: 145%;
  background:
    radial-gradient(40% 48% at 82% 18%, rgba(237, 163, 172, .38), transparent 70%),
    radial-gradient(36% 44% at 95% 58%, rgba(242, 169, 111, .30), transparent 72%),
    radial-gradient(32% 38% at 66% 4%, rgba(233, 184, 92, .26), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--wrap); margin-inline: auto; padding: clamp(2.75rem, 7vw, 5.5rem) var(--pad) clamp(2.5rem, 6vw, 4.5rem);
  display: grid; gap: clamp(1.75rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
  /* スマホでは見出し直後に写真が来るよう並びを固定する。
     写真がボタン列より後ろに埋もれて最初の画面に出ない問題への対応 */
  grid-template-areas: "intro" "photo" "actions";
  align-items: center;
}
.hero__intro { grid-area: intro; }
.hero__actions { grid-area: actions; }
@media (min-width: 60em) {
  .hero__inner {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas:
      "intro   photo"
      "actions photo";
  }
}

.hero__logo { width: min(20rem, 78%); color: var(--rose); margin-bottom: 1.5rem; }
.hero h1 {
  font-size: clamp(1.7rem, 5.2vw, 2.75rem);
  line-height: 1.6; margin-bottom: 1.1rem;
}
.hero__station {
  font-family: var(--font-display); font-size: clamp(.9375rem, 2.2vw, 1.0625rem);
  color: var(--rose-deep); letter-spacing: .08em; margin-bottom: 1.4rem;
}
.hero__text { max-width: 32rem; color: var(--ink-soft); margin-bottom: 1.9rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.9rem; list-style: none; padding: 0; }
.hero__badges li {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: .4rem 1rem;
  font-size: .8125rem; letter-spacing: .03em; color: var(--ink);
}
.hero__figure { grid-area: photo; position: relative; }
.hero__figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* --------------------------------------------------------------------------
   カード類
   -------------------------------------------------------------------------- */

/* minmax()の最小値は、文字サイズを大きくしたときや画面が極端に狭いときに
   コンテナ幅を超えてはみ出すことがあるため、min()でコンテナ幅を上限にして
   常に収まるようにしている */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(15.5rem, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; display: flex; flex-direction: column; gap: .7rem;
}
.card h3 { font-size: 1.125rem; }
.card p { font-size: .9375rem; color: var(--ink-soft); line-height: 1.85; }
.card__icon { width: 2.5rem; height: 2.5rem; color: var(--rose); }
.card--link { text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.card--link:hover { border-color: var(--rose); transform: translateY(-2px); color: inherit; }
.card__more {
  margin-top: auto; padding-top: .5rem;
  font-family: var(--font-util); font-size: .8125rem; letter-spacing: .1em; color: var(--rose-deep);
}

/* 強みカード：番号ではなく役割で区別するため、上辺の色だけを変える */
.strength { border-top: 3px solid var(--rose); }
.strength:nth-child(2) { border-top-color: var(--apricot); }
.strength:nth-child(3) { border-top-color: var(--gold); }

/* 3レーン導線 */
.lane {
  display: flex; flex-direction: column; gap: .6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; text-decoration: none; color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.lane:hover { border-color: var(--rose); transform: translateY(-2px); color: inherit; }
.lane__label { font-family: var(--font-util); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.lane h3 { font-size: 1.2rem; }
.lane p { font-size: .9375rem; color: var(--ink-soft); line-height: 1.85; margin: 0; }
.lane__more { margin-top: auto; padding-top: .6rem; font-size: .875rem; color: var(--rose-deep); }

/* トップページから各ページへの入口を一覧できる小さなタイル。
   ハンバーガーメニューを開かなくても「複数ページのサイトである」
   ことがすぐ分かるように、ヒーロー直下に置く */
.quicklinks {
  display: grid; gap: .65rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 40em) { .quicklinks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62em) { .quicklinks { grid-template-columns: repeat(6, 1fr); } }
/* Instagramはページではなく外部サイトなので、6つのタイルには混ぜず
   すぐ下に独立した導線として置く（フッターまでスクロールしなくても
   TOPを開いてすぐ見つかるように） */
.quicklinks-sns { margin: 1.1rem 0 0; text-align: center; }
.quicklinks-sns a {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--rose-deep); font-size: .875rem; font-weight: 500;
  text-decoration: none;
}
.quicklinks-sns a:hover { color: var(--rose); }
.quicklinks-sns svg { width: 1.15rem; height: 1.15rem; fill: currentColor; flex: none; }
.quicklinks-sns svg.cta-arrow { width: .8rem; height: .8rem; }
.quicklink {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .3rem;
  background: var(--white); border-radius: 1.35rem;
  padding: 1.15rem 1.1rem; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(74, 55, 48, .05), 0 10px 20px -16px rgba(74, 55, 48, .35);
  transition: transform .3s var(--bounce), box-shadow .3s var(--bounce);
}
/* 罫線の四角い枠ではなく、隅にプルメリアを一輪だけ添えて縁とする */
.quicklink::before {
  content: ""; position: absolute; pointer-events: none;
  right: -.9rem; bottom: -.9rem; width: 4.5rem; height: 4.5rem;
  background: url("../brand/flower-plumeria.png") no-repeat center / contain;
  opacity: .16; transform: rotate(8deg);
}
.quicklink:hover, .quicklink:active {
  transform: translateY(-4px) scale(1.015); color: inherit;
  box-shadow: 0 18px 30px -16px rgba(74, 55, 48, .45);
}
.quicklink strong { font-size: .9375rem; line-height: 1.5; }
.quicklink__desc { font-size: .75rem; color: var(--ink-soft); line-height: 1.6; }
/* タップできることが一目で分かるよう、矢印付きの「詳しく見る」を必ず添える。
   地の色に溶け込んで見落とされないよう、文字色だけでなく塗りつぶしの
   小さなボタンとして独立させている（.lane__more も同じ見え方にする）。 */
.quicklink__more, .lane__more {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: var(--rose-deep); color: #fff;
  font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
  transition: background .15s ease, transform .3s var(--bounce);
}
.quicklink:hover .quicklink__more,
.lane:hover .lane__more { background: var(--rose); transform: translateX(2px); }
.cta-arrow { width: .85rem; height: .85rem; fill: currentColor; flex: none; transition: transform .15s ease; }
.quicklink:hover .cta-arrow,
.lane:hover .cta-arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   リスト
   -------------------------------------------------------------------------- */

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 1.85rem; line-height: 1.85; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--rose); opacity: .85;
}
.check-list--pale li::before { background: var(--pink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.4rem 4.2rem;
}
.steps li::before {
  content: "0" counter(step);
  position: absolute; left: 1.4rem; top: 1.35rem;
  font-family: var(--font-util); font-size: 1rem; letter-spacing: .04em;
  color: var(--rose); font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.0625rem; margin-bottom: .3rem; }
.steps p { font-size: .9375rem; color: var(--ink-soft); margin: 0; line-height: 1.85; }

/* 定義リスト（会社概要・募集要項） */
.deflist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.deflist > div {
  display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 1.25rem;
  padding: 1rem .25rem; border-bottom: 1px solid var(--line); align-items: baseline;
}
.deflist dt { font-size: .875rem; color: var(--ink-soft); font-weight: 500; }
.deflist dd { margin: 0; font-size: .9375rem; line-height: 1.85; }
@media (max-width: 34em) {
  .deflist > div { grid-template-columns: 1fr; gap: .2rem; padding-block: .85rem; }
}

/* --------------------------------------------------------------------------
   本文ブロック（理念・代表メッセージ・法的ページ）
   -------------------------------------------------------------------------- */

.prose { max-width: 40rem; }
.prose h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: 2.75rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.125rem; margin-top: 2rem; margin-bottom: .6rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35rem; line-height: 1.9; }
.prose .quiet { color: var(--ink-soft); font-size: .9375rem; }

.statement {
  font-family: var(--font-display); font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.85; letter-spacing: .04em; color: var(--rose-deep);
  margin: 0 0 1.75rem;
}

.message { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 52em) { .message { grid-template-columns: 17rem 1fr; } }
.message__photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.message__caption { margin-top: .8rem; font-size: .8125rem; color: var(--ink-faint); line-height: 1.7; }
.message__sign { margin-top: 1.75rem; font-family: var(--font-display); font-size: 1rem; letter-spacing: .06em; }
.message__sign .role { display: block; font-family: var(--font-body); font-size: .8125rem; color: var(--ink-soft); letter-spacing: .02em; }

/* --------------------------------------------------------------------------
   ページ見出し（下層ページ共通）
   -------------------------------------------------------------------------- */

.page-head { position: relative; overflow: hidden; background: var(--sand); }
.page-head::before {
  content: ""; position: absolute; inset: auto -10% -60% 45%; height: 160%;
  background: radial-gradient(48% 50% at 70% 40%, rgba(237, 163, 172, .34), transparent 70%),
              radial-gradient(40% 44% at 92% 70%, rgba(233, 184, 92, .24), transparent 72%);
  pointer-events: none;
}
/* 水彩ブーケ（ハワイの花のアクセント）。テキストの下に沈むよう
   .page-head__inner 側に z-index を立てて重なり順を確定させている */
.page-head::after {
  content: "";
  position: absolute; top: -10%; right: -4%;
  width: min(26rem, 58%); aspect-ratio: 2000 / 1400;
  background: url("../brand/bouquet-wash-warm.png") no-repeat center / contain;
  opacity: .92;
  pointer-events: none;
}
.page-head__inner {
  position: relative; z-index: 1; max-width: var(--wrap); margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad) clamp(2.25rem, 5vw, 3.25rem);
}
.page-head .en {
  font-family: var(--font-util); font-size: .75rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--rose-deep); display: block; margin-bottom: .7rem;
}
.page-head h1 { font-size: clamp(1.65rem, 4.6vw, 2.4rem); }
.page-head p { margin: 1rem 0 0; max-width: 38rem; color: var(--ink-soft); font-size: .9375rem; }

.breadcrumb { font-size: .75rem; color: var(--ink-faint); padding-block: .9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "／"; margin-right: .5rem; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--rose-deep); text-decoration: underline; }

/* --------------------------------------------------------------------------
   サービス詳細
   -------------------------------------------------------------------------- */

.service-block { display: grid; gap: clamp(1.5rem, 4vw, 2.75rem); align-items: start; }
/* スマホでは長い箇条書きの後にしか写真が出てこない問題への対応。
   狭い画面では常に写真を先に見せる。デスクトップ幅ではこの指定を解除し、
   --flip のブロックだけ左右を入れ替える（下のmin-width側で上書き） */
@media (max-width: 53.99em) {
  .service-block__figure { order: -1; }
}
@media (min-width: 54em) {
  .service-block { grid-template-columns: 1fr 1fr; }
  .service-block__figure { order: 0; }
  .service-block--flip .service-block__figure { order: -1; }
}
.service-block + .service-block { margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.service-block__figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.service-block h2 { font-size: clamp(1.35rem, 3.4vw, 1.75rem); margin-bottom: .9rem; }
.service-block__sub { font-family: var(--font-util); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-deep); display: block; margin-bottom: .6rem; }
.service-block h3 { font-size: 1rem; margin: 1.6rem 0 .6rem; }

/* --------------------------------------------------------------------------
   対応エリア / 連携
   -------------------------------------------------------------------------- */

.area { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.area__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.area__box h3 { font-size: 1.0625rem; margin-bottom: .6rem; }
.area__box p { font-size: .9375rem; color: var(--ink-soft); margin: 0; }

.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.map-embed iframe { display: block; width: 100%; height: 22rem; border: 0; }

/* --------------------------------------------------------------------------
   お問い合わせ
   -------------------------------------------------------------------------- */

.contact-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .8rem; text-align: center; align-items: center;
}
.contact-card h3 { font-size: 1.0625rem; }
.contact-card p { font-size: .875rem; color: var(--ink-soft); margin: 0; line-height: 1.8; }
.contact-card .big {
  font-family: var(--font-util); font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: .01em;
  color: var(--rose-deep); text-decoration: none; font-variant-numeric: tabular-nums; line-height: 1.3;
  white-space: nowrap;   /* 電話番号が途中で改行されないように */
}
.contact-card .big:hover { text-decoration: underline; }
.contact-card .mail { font-family: var(--font-util); font-size: 1.0625rem; word-break: break-all; }
.contact-card__qr { width: 8.5rem; border: 1px solid var(--line); border-radius: 2px; padding: .4rem; background: var(--white); }

.hours { display: grid; gap: .4rem; font-size: .9375rem; }
.hours div { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.hours dt { color: var(--ink-soft); min-width: 5.5rem; }
.hours dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 30em) { .hours dt { min-width: 0; flex-basis: 100%; } }

.callout {
  background: var(--white); border: 1px solid var(--rose); border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}
.callout h3 { font-size: 1.0625rem; margin-bottom: .6rem; }
.callout p { font-size: .9375rem; color: var(--ink-soft); margin-bottom: .8rem; }
.callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   採用
   -------------------------------------------------------------------------- */

.job { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.7rem; }
.job__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem; margin-bottom: 1.1rem; }
.job__title h3 { font-size: 1.2rem; }
.job__type {
  font-size: .75rem; letter-spacing: .06em; color: var(--rose-deep);
  border: 1px solid var(--rose); border-radius: 999px; padding: .1rem .7rem;
}
.job__pay {
  font-family: var(--font-util); font-size: 1.5rem; color: var(--rose-deep);
  letter-spacing: .01em; font-variant-numeric: tabular-nums; margin-bottom: 1rem; display: block;
}
.job__pay small { font-family: var(--font-body); font-size: .8125rem; color: var(--ink-soft); letter-spacing: 0; }
/* カード内は幅が狭いため、項目名の列を詰めて値を折り返さない */
.job .deflist > div { grid-template-columns: 5rem 1fr; gap: .8rem; padding-block: .8rem; }
.job .deflist dd { font-size: .875rem; }

.values { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); list-style: none; margin: 0; padding: 0; }
.values li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.05rem 1.3rem 1.05rem 2.9rem; position: relative; font-size: .9375rem; line-height: 1.8;
}
.values li::before {
  content: "✓"; position: absolute; left: 1.2rem; top: 1rem;
  color: var(--leaf); font-size: 1rem; font-weight: 700;
}

/* --------------------------------------------------------------------------
   Instagram（アカウント名が決まったら有効化する。手順は CONFIG.md）
   -------------------------------------------------------------------------- */

.insta-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); }
.insta-grid a { display: block; border-radius: 2px; overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   花のアクセント（bloom）。写真のないセクションに、うっすらと花・葉を1点だけ
   沈める装飾。ページ全体が文字ばかりに見えないようにするための処置。
   opacity を低く保ち、本文の可読性には影響しない範囲にとどめている。
   -------------------------------------------------------------------------- */

/* ::before は常に通常の子要素より先に描画される（＝背面に沈む）ため、
   .page-head::before の色ムラと同じ考え方で z-index の指定は不要 */
.bloom { position: relative; overflow: hidden; }
.bloom::before {
  content: ""; position: absolute; pointer-events: none;
  background-repeat: no-repeat; background-size: contain;
  opacity: .15; width: 9rem; height: 9rem;
}

.bloom--plumeria-tr::before { background-image: url("../brand/flower-plumeria.png"); top: -1.75rem; right: -1.75rem; transform: rotate(6deg); }
.bloom--plumeria-bl::before { background-image: url("../brand/flower-plumeria.png"); bottom: -1.75rem; left: -1.75rem; transform: rotate(-14deg) scaleX(-1); }
.bloom--hibiscus-tr::before { background-image: url("../brand/flower-hibiscus.png"); top: -1.5rem; right: -2rem; width: 9.5rem; height: 9.5rem; transform: rotate(8deg) scaleX(-1); }
.bloom--hibiscus-bl::before { background-image: url("../brand/flower-hibiscus.png"); bottom: -1.5rem; left: -2rem; width: 9.5rem; height: 9.5rem; transform: rotate(-10deg); }
.bloom--maile-tl::before { background-image: url("../brand/leaf-maile.png"); top: -1rem; left: -1.5rem; width: 8.5rem; height: 8.5rem; transform: rotate(20deg); }
.bloom--maile-br::before { background-image: url("../brand/leaf-maile.png"); bottom: -1rem; right: -1.5rem; width: 8.5rem; height: 8.5rem; transform: rotate(-160deg); }
.bloom--monstera-tl::before { background-image: url("../brand/leaf-monstera.png"); top: -1.5rem; left: -1.75rem; transform: rotate(-12deg); }
.bloom--monstera-br::before { background-image: url("../brand/leaf-monstera.png"); bottom: -1.5rem; right: -1.75rem; transform: rotate(10deg) scaleY(-1); }

/* スマホは画面が小さい分、見える面積そのものが減ってハワイらしさが
   弱く感じられるため、縮小はごくわずかに留め、その分濃く見せる */
@media (max-width: 26em) {
  .bloom::before { width: 8rem; height: 8rem; opacity: .22; }
  .bloom--hibiscus-tr::before, .bloom--hibiscus-bl::before { width: 8.5rem; height: 8.5rem; }
}

/* --------------------------------------------------------------------------
   帯 CTA
   -------------------------------------------------------------------------- */

.band {
  position: relative; overflow: hidden;
  background: linear-gradient(118deg, rgba(237, 163, 172, .30), rgba(242, 169, 111, .24) 52%, rgba(233, 184, 92, .22));
}
.band__inner { position: relative; max-width: var(--wrap); margin-inline: auto; padding: clamp(2.5rem, 6vw, 4rem) var(--pad); text-align: center; }
.band h2 { font-size: clamp(1.3rem, 3.4vw, 1.85rem); margin-bottom: .9rem; }
.band p { max-width: 36rem; margin-inline: auto; color: var(--ink-soft); font-size: .9375rem; margin-bottom: 1.7rem; }
.band__flower { width: 3rem; margin: 0 auto 1.25rem; opacity: .9; }

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: #E9DCD3; padding-block: clamp(2.75rem, 6vw, 4rem) 0; }
.site-footer a { color: #E9DCD3; text-decoration: none; }
.site-footer a:hover { color: var(--pink); text-decoration: underline; }
.site-footer__top {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad);
  display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}
.site-footer__logo { width: 8.5rem; color: var(--pink); margin-bottom: 1.1rem; }
.site-footer__addr { font-size: .875rem; line-height: 1.95; font-style: normal; color: #D6C4B9; }
.site-footer__addr .tel { font-family: var(--font-util); font-size: 1.0625rem; color: #F3E5DC; }
.site-footer h2 { font-size: .8125rem; letter-spacing: .14em; color: var(--pink); margin-bottom: .9rem; font-family: var(--font-util); text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .875rem; }
.site-footer__bottom {
  margin-top: clamp(2.25rem, 5vw, 3rem); border-top: 1px solid rgba(233, 220, 211, .18);
  padding-block: 1.4rem; padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
}
.site-footer__bottom .inner {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .75rem; color: #BCA99E;
}
@media (max-width: 72em) { .site-footer__bottom { padding-bottom: calc(1.4rem + 4.5rem + env(safe-area-inset-bottom)); } }

/* Instagramは角丸グラデーションの公式アイコンそのものを表示するので、
   丸い縁取りボタンで囲わず、アイコン自身の見た目のまま少し大きめに出す */
.social { display: flex; gap: .75rem; align-items: center; }
.social a { display: flex; transition: transform .2s var(--bounce); }
.social a:hover { transform: translateY(-2px) scale(1.06); }
.social svg { width: 2.15rem; height: 2.15rem; }

/* --------------------------------------------------------------------------
   スマホ下部固定バー
   -------------------------------------------------------------------------- */

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 22px -14px rgba(74, 55, 48, .5);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18rem;
  padding: .6rem .4rem; text-decoration: none; color: var(--ink);
  font-size: .75rem; letter-spacing: .04em; min-height: 3.9rem;
}
.mobile-bar a + a { border-left: 1px solid var(--line-soft); }
.mobile-bar svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.mobile-bar .is-line { color: #04903E; }
.mobile-bar .is-tel { color: var(--rose-deep); }
@media (min-width: 72em) { .mobile-bar { display: none; } }

/* 詳細ページを下まで読んでいるとき、TOPのクイックリンクへすぐ戻れるように
   右下に常駐させるボタン。スマホでは下部の電話・LINEバーの上に重ねる。 */
.jump-back {
  position: fixed; right: 1rem;
  bottom: calc(3.9rem + env(safe-area-inset-bottom) + .75rem);
  z-index: 45;
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--rose-deep); color: #fff;
  border-radius: 999px; padding: .65rem 1.05rem .65rem .85rem;
  font-size: .8125rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none; box-shadow: 0 12px 26px -12px rgba(74, 55, 48, .55);
  transition: transform .15s ease;
}
.jump-back:hover { color: #fff; transform: translateY(-2px); }
.jump-back__icon { width: 1rem; height: 1rem; fill: currentColor; flex: none; }
@media (min-width: 72em) { .jump-back { bottom: 1.5rem; } }

/* クイックリンクをタップしたときに舞う花びら（遊び心の演出。JSで生成）。
   実際のページ遷移は一瞬で起きて画面ごと消えてしまうため、遷移までの
   待ち時間（build-pages.pyのPETAL_SCRIPT）とアニメーションの長さを
   揃え、遷移前に一目で見える大きさ・速さにしてある。 */
.petal {
  position: fixed; top: 0; left: 0; width: 1.05rem; height: 1.05rem;
  margin: -.525rem; pointer-events: none; z-index: 60;
  border-radius: 0 70% 0 70%;
  opacity: 1; will-change: transform, opacity;
  animation: petal-scatter .46s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes petal-scatter {
  to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .petal { display: none; }
}

/* --------------------------------------------------------------------------
   小物
   -------------------------------------------------------------------------- */

.note { font-size: .8125rem; color: var(--ink-soft); line-height: 1.85; }
.flower-divider { display: flex; align-items: center; gap: 1.1rem; color: var(--line); margin-block: clamp(2rem, 5vw, 3rem); }
.flower-divider .rule { flex: 1; height: 1px; background: currentColor; }
.flower-divider img { width: 1.75rem; flex: none; }
.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.tag-row li {
  font-size: .8125rem; letter-spacing: .03em;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .95rem;
}
.center { text-align: center; }
.mt-lg { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
[hidden] { display: none !important; }
