@charset "UTF-8";
/* ==========================================================================
   静岡介護タクシー ミモザ営業所 － デザイン案
   ========================================================================== */

/* --------------------------------------------------
   1. カラー・トークン
   -------------------------------------------------- */
:root {
  /* 配色：みわ歯科クリニックに合わせて黄・橙・こげ茶・ベージュだけにする */
  --c-main: #f6ca1c;          /* メインの黄（ボタン・下線・アクセント） */
  --c-main-d: #8a5a00;        /* 文字にできる濃さの黄土。リンク色 */
  --c-main-l: #f9df6b;        /* 明るい黄（ホバー・下線） */
  --c-tint: #f9f4a7;          /* 淡い黄（マーカー・小さな面） */
  --c-tint2: #fbf7e6;         /* ごく淡いクリーム（バッジなど小さなもの） */
  --c-fill: #eeebe3;          /* 表の見出し列・項目名など、白の上に置く面 */
  --c-section-tint: #f3f1eb;  /* 薄いベージュの帯（参考サイトの地の比率に合わせる） */
  --c-section-sub: #ffffff;   /* もう一方の面も白（緑をやめる） */

  --c-sub: #e68a00;           /* 橙のアクセント（面・図形） */
  --c-sub-d: #a85f00;         /* 文字にできる濃さの橙 */
  --c-sub-tint: #f9f4a7;

  --c-text: #5a4a37;          /* 本文（参考サイトと同色） */
  --c-text-m: #6b5c48;
  --c-text-w: #756b5e;

  --c-bg: #f9f8f3;            /* 地（参考サイトと同色） */
  --c-panel: #ffffff;
  --c-line: #e2ded3;          /* 線（参考サイトと同色） */
  --c-line-2: #cbc7c2;

  --c-line-green: #06c755;    /* LINE公式の色。ブランド色なので変えない */
  --c-tel: #f6ca1c;
  --c-tel-hover: #f9df6b;
  --c-mail: #ffffff;          /* メールボタンは白地＋こげ茶の枠にする */
  --c-mail-hover: #f9f4a7;

  /* 参考サイトはカードも写真も角を丸めていない（丸いのはボタンと番号の丸だけ）。
     ここを大きくすれば以前の丸い見た目に戻せる */
  --radius: 4px;
  --radius-l: 6px;
  --radius-s: 3px;

  /* お問い合わせの橙。参考サイトは #e68a00 だが白抜き文字が2.63:1で読めないため少し濃くした */
  --c-cta: #cc7400;
  --c-cta-d: #b06300;

  --shadow: none;             /* 参考サイトは影を使わない */
  --shadow-s: none;
  --wrap: 1120px;
  --wrap-n: 880px;

  --font-jp: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-round: var(--font-jp);
  --font-en: "Josefin Sans", var(--font-jp);
}

/* 配色パターンB：やわらかグリーン */
[data-theme="b"] {
  --c-main: #4fa373;
  --c-main-d: #3c8259;
  --c-main-l: #7cc79b;
  --c-tint: #e7f4ec;
  --c-tint2: #f4fbf7;
  --c-sub: #d9a52c;
  --c-sub-d: #b3841a;
  --c-sub-tint: #fbf3de;
  --c-text: #35392f;
  --c-text-m: #626a5c;
  --c-text-w: #868d80;
  --c-bg: #fbfdfa;
  --c-line: #dfe9e0;
}

/* 配色パターンC：ブルーグレー×ミモザ */
[data-theme="c"] {
  --c-main: #48789b;
  --c-main-d: #365d7a;
  --c-main-l: #7ba6c3;
  --c-tint: #e8f0f6;
  --c-tint2: #f5f9fc;
  --c-sub: #e0a11c;
  --c-sub-d: #b57f0c;
  --c-sub-tint: #fdf4dd;
  --c-text: #333a40;
  --c-text-m: #5f676e;
  --c-text-w: #858c92;
  --c-bg: #fbfcfe;
  --c-line: #dde5eb;
}

/* --------------------------------------------------
   2. ベース
   -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 96px; }

/* ページ内リンクの滑らかな移動。「動きを減らす」設定の人には効かせない */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 18px;
  line-height: 2;
  letter-spacing: .05em;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  overflow-wrap: break-word;
  line-break: strict;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--c-main-d); text-underline-offset: .2em; }
a:hover { opacity: .78; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: .4em; }
h1, h2, h3, h4 { font-family: var(--font-round); font-weight: 700; line-height: 1.5; margin: 0 0 .6em; letter-spacing: .15em; }
small { font-size: .82em; }
table { border-collapse: collapse; width: 100%; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-n { width: min(100% - 40px, var(--wrap-n)); margin-inline: auto; }

.section { padding: 88px 0; position: relative; }
.section--tint { background: var(--c-section-tint); }
.section--sub { background: var(--c-section-sub); }
.section--panel { background: var(--c-panel); }

.center { text-align: center; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.lead { font-size: 1.06rem; color: var(--c-text-m); }
.note { font-size: .85rem; color: var(--c-text-w); line-height: 1.8; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 仮の内容であることを示すチップ（デザイン案のあいだだけ使用） */
.tmp {
  display: inline-block; margin-left: .5em; padding: .1em .6em;
  font-size: .68rem; font-family: var(--font-jp); font-weight: 500; letter-spacing: .08em;
  color: #a8752c; background: #fdf1d8; border: 1px solid #edd6a4; border-radius: 999px;
  vertical-align: .18em; line-height: 1.7;
}

/* --------------------------------------------------
   3. セクション見出し
   -------------------------------------------------- */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head__jp {
  display: inline-block; margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem);
  color: var(--c-text); padding-bottom: .3em;
  background-image: linear-gradient(var(--c-main), var(--c-main));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 3px;
}
.sec-head__desc { margin: 26px auto 0; max-width: 46em; width: fit-content; color: var(--c-text-m); font-size: 1rem; text-align: left; }
.sec-head--left { text-align: left; }

/* 大見出し（sec-head）の下に置く小見出し */
.sub-head {
  margin: 64px 0 12px; padding-left: 16px;
  border-left: 5px solid var(--c-main);
  font-size: clamp(1.12rem, 1.02rem + .42vw, 1.34rem); line-height: 1.5;
}
.sub-head--sub { border-left-color: var(--c-sub); }
.sub-head + .sub-head__desc { margin: 0 0 26px; padding-left: 21px; color: var(--c-text-m); font-size: .95rem; }

.h-lead {
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  line-height: 1.7; margin-bottom: .8em;
}
.marker {
  background-image: linear-gradient(transparent 72%, var(--c-tint) 72%);
  padding: 0 .1em;
}

/* --------------------------------------------------
   4. ボタン
   -------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 19px 33px 21px; border-radius: 50px; border: 2px solid transparent;
  font-family: var(--font-round); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .15em; line-height: 1.5;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, opacity .2s;
  box-shadow: none; min-height: 64px;
}
.btn:hover { opacity: 1; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }

/* 進む系のボタンだけ、右端に三角の矢印を置く（電話・メールはアイコンがあるので付けない） */
.btn--main, .btn--ghost { padding-right: 48px; }
.btn--main::after, .btn--ghost::after {
  content: ""; position: absolute; top: 50%; right: 25px;
  width: 14px; height: 10px;
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2210%22%20viewBox%3D%220%200%2014%2010%22%3E%3Cpath%20d%3D%22M5.771%201.755a1.5%201.5%200%200%201%202.458%200L12.348%207.64A1.5%201.5%200%200%201%2011.119%2010H2.881A1.5%201.5%200%200%201%201.652%207.64Z%22%20fill%3D%22%235a4a37%22%2F%3E%3C%2Fsvg%3E");
  transform: translateY(-50%) rotate(90deg);
  transition: transform .2s;
}
.btn--main:hover::after, .btn--ghost:hover::after { transform: translateY(-50%) rotate(90deg) translateY(-3px); }

.btn--main { background: var(--c-main); color: var(--c-text); }
.btn--main:hover { background: var(--c-main-l); color: var(--c-text); }
.btn--tel { background: var(--c-tel); color: var(--c-text); }
.btn--tel:hover { background: var(--c-tel-hover); color: var(--c-text); }
/* 副のボタンは、参考サイトと同じく白地にこげ茶の枠。色ではなく塗りの有無で主従を出す */
.btn--ghost { background: #fff; color: var(--c-text); border-color: var(--c-text); }
.btn--ghost:hover { background: var(--c-tint); color: var(--c-text); border-color: var(--c-text); }
.btn--sub { background: var(--c-mail); color: var(--c-text); border-color: var(--c-text); }
.btn--sub:hover { background: var(--c-mail-hover); color: var(--c-text); border-color: var(--c-text); }
.btn--lg { padding: 22px 52px 24px; font-size: 1.12rem; min-height: 70px; }
.btn--main.btn--lg, .btn--ghost.btn--lg { padding-right: 62px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.btn-row--left { justify-content: flex-start; }

/* テキストリンク：黄色の下線＋三角の矢印（参考サイトと同じ作り） */
.arrow-link {
  position: relative; display: inline-block;
  padding: 0 24px 8px 0;
  border-bottom: 2px solid var(--c-main);
  font-family: var(--font-round); font-weight: 700;
  letter-spacing: .15em; line-height: 1.5;
  text-decoration: none; color: var(--c-text);
}
.arrow-link::after {
  content: ""; position: absolute; top: 6px; right: 0;
  width: 14px; height: 10px;
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2210%22%20viewBox%3D%220%200%2014%2010%22%3E%3Cpath%20d%3D%22M5.771%201.755a1.5%201.5%200%200%201%202.458%200L12.348%207.64A1.5%201.5%200%200%201%2011.119%2010H2.881A1.5%201.5%200%200%201%201.652%207.64Z%22%20fill%3D%22%235a4a37%22%2F%3E%3C%2Fsvg%3E");
  transform: rotate(90deg);
  transition: transform .2s;
}
.arrow-link:hover { opacity: 1; }
/* 文章の途中に埋め込んだリンクでは、三角と右の余白が文を分断するので出さない */
.lead .arrow-link, .note .arrow-link { padding-right: 0; }
.lead .arrow-link::after, .note .arrow-link::after { content: none; }
.arrow-link:hover::after { transform: rotate(90deg) translateY(-3px); }

/* --------------------------------------------------
   5. ヘッダー
   -------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(249, 248, 243, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-line);
}
.header__inner {
  width: min(100% - 32px, 1280px); margin-inline: auto;
  display: flex; align-items: center; gap: 20px; min-height: 88px;
}
/* ロゴは組み（マーク＋静岡介護タクシー＋mimosa＋ミモザ営業所）で1枚の画像。
   文字が絵に含まれているので、横に文字要素を並べない */
.logo { display: flex; align-items: center; text-decoration: none; color: var(--c-text); flex: none; }
.logo:hover { opacity: 1; }
.logo__img { display: block; width: 148px; height: auto; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gnav__list a {
  display: block; padding: 10px 14px; font-size: .95rem; font-weight: 500;
  text-decoration: none; color: var(--c-text); border-radius: 999px; white-space: nowrap;
}
.gnav__list a:hover { background: var(--c-tint); opacity: 1; }
.gnav__list a[aria-current="page"] { background: var(--c-tint); color: var(--c-main-d); font-weight: 700; }

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header__cta .btn { padding: 12px 20px; min-height: 48px; font-size: .95rem; white-space: nowrap; }

.burger {
  display: none; margin-left: auto; width: 52px; height: 52px; border: 1px solid var(--c-line);
  background: #fff; border-radius: 14px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--c-text); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--c-text);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

.drawer {
  display: none; position: fixed; inset: 78px 0 0; background: var(--c-bg);
  z-index: 99; padding: 24px 20px 120px; overflow-y: auto;
}
.drawer.is-open { display: block; }
.drawer__list { list-style: none; margin: 0 0 24px; padding: 0; }
.drawer__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 8px; border-bottom: 1px solid var(--c-line);
  text-decoration: none; color: var(--c-text); font-weight: 500; font-family: var(--font-round);
}
.drawer__list a::after { content: "›"; color: var(--c-main); font-size: 1.4rem; }

/* --------------------------------------------------
   6. ヒーロー
   -------------------------------------------------- */
.hero { position: relative; }

/* 写真の上に文字を重ねる。画面幅いっぱいに出す */
.hero__media { position: relative; overflow: hidden; }
.hero__media .ph {
  border-radius: 0; border: 0; aspect-ratio: 2 / 1; min-height: 480px;
}
.hero__overlay {
  /* スライドに z-index を振ったので、文字側にも振らないと写真の下に潜る */
  position: absolute; z-index: 3; inset: 0; display: flex; align-items: flex-end; color: #fff;
  padding-bottom: clamp(32px, 5.5vw, 76px);
  /* 白い車体の写真に替えたので、文字のある左下だけを楕円で暗くする。
     全体に暗い帯を敷くと「サイトが暗い」という先方の指摘に逆行するため */
  background:
    radial-gradient(78% 86% at 22% 108%, rgba(26, 20, 10, .8) 0%, rgba(26, 20, 10, .5) 44%, rgba(26, 20, 10, 0) 78%),
    linear-gradient(to top, rgba(26, 20, 10, .32) 0%, rgba(26, 20, 10, .09) 26%, rgba(26, 20, 10, 0) 52%);
}
.hero__copy { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.hero__title {
  /* 上限だけpx指定なのは、ブラウザの文字サイズ設定が大きい人でも
     枠（1120px固定）からあふれて折り返さないようにするため。 */
  font-size: clamp(1.55rem, 4.4vw, 52px); line-height: 1.5; margin-bottom: 0; color: #fff;
  /* 白い車体の上に白文字が乗るので、near と far の二重で縁を作る */
  text-shadow: 0 1px 3px rgba(20, 14, 6, .6), 0 2px 22px rgba(20, 14, 6, .55);
}

/* 写真3枚を重ねてクロスフェードする。切り替えはJSがクラスを付け替えるだけ */
.hero__slides { position: relative; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__slide.is-current { opacity: 1; z-index: 2; }
.hero__slide.is-prev { opacity: 0; z-index: 1; }

/* 表示中の1枚をゆっくり寄る。消えかけの1枚にも同じ animation を指定しているので、
   is-current が外れた瞬間に元の大きさへ戻ってしまうことがない */
.hero__slide.is-current img,
.hero__slide.is-prev img { animation: heroZoom 7.6s ease-out both; }

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* 写真ごとに見せたい位置が違うので、切り取りの中心をずらす */
.hero__slide:nth-child(1) img { object-position: 50% 54%; }
.hero__slide:nth-child(2) img { object-position: 50% 50%; }
.hero__slide:nth-child(3) img { object-position: 50% 62%; }

.hero__nav { display: flex; gap: 10px; margin-top: clamp(18px, 2.2vw, 28px); }
.hero__navbtn {
  position: relative;
  width: 46px; height: 24px; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.hero__navbtn::before {
  content: ""; position: absolute; inset: 50% 0 auto;
  height: 4px; margin-top: -2px; border-radius: 2px;
  background: rgba(255, 255, 255, .45);
  transition: background .3s ease;
}
.hero__navbtn:hover::before { background: rgba(255, 255, 255, .75); }
.hero__navbtn.is-current::before { background: var(--c-main); }
.hero__navbtn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }

/* --------------------------------------------------
   7. 写真プレースホルダ
   -------------------------------------------------- */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.55) 0 12px, rgba(255,255,255,0) 12px 24px),
    var(--c-tint);
  border: 1px solid var(--c-line);
  color: var(--c-text-w); text-align: center; padding: 20px;
}
.ph--hero { aspect-ratio: 4 / 3; border-radius: var(--radius-l); }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--card { aspect-ratio: 3 / 2; }
/* 写真が入った枠。枠のサイズはプレースホルダのまま使う */
.ph.is-photo { border-color: transparent; padding: 0; background: var(--c-tint2); }
.ph.is-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------
   9. カード・グリッド
   -------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); height: 100%;
}
.card__title { font-size: 1.15rem; margin-bottom: .5em; }
.card__title--icon { display: flex; align-items: center; gap: .5em; }
.card__title svg { width: 26px; height: 26px; color: var(--c-main); flex: none; }
.card p { font-size: .96rem; color: var(--c-text-m); }
.card p.note, .card .note { font-size: .85rem; color: var(--c-text-w); }

/* サービスカード（写真つき） */
.scene { display: block; text-decoration: none; color: var(--c-text); height: 100%; }
.scene:hover { opacity: 1; }
.scene__ph {
  border-radius: var(--radius); overflow: hidden;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: transform .25s, outline-color .25s;
}
.scene:hover .scene__ph { outline-color: var(--c-main); }
/* 見出しが2行になると、flex では矢印だけが右端に飛ぶ。文字の直後に付くようにする */
.scene__title {
  display: block;
  margin: 14px 0 6px; font-family: var(--font-round); font-weight: 700; font-size: 1.05rem;
}
.scene__title::after {
  content: ""; display: inline-block; width: 11px; height: 8px;
  margin-left: .5em; vertical-align: .12em;
  background: no-repeat center/contain; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2210%22%20viewBox%3D%220%200%2014%2010%22%3E%3Cpath%20d%3D%22M5.771%201.755a1.5%201.5%200%200%201%202.458%200L12.348%207.64A1.5%201.5%200%200%201%2011.119%2010H2.881A1.5%201.5%200%200%201%201.652%207.64Z%22%20fill%3D%22%235a4a37%22%2F%3E%3C%2Fsvg%3E");
  transform: rotate(90deg);
}
.scene__desc { font-size: .88rem; color: var(--c-text-m); line-height: 1.8; margin: 0; }

/* グループ見出し（緑のピル） */

.panel {
  background: #fff; border-radius: var(--radius-l); padding: 44px;
  box-shadow: var(--shadow); border: 1px solid var(--c-line);
}

/* --------------------------------------------------
   10. お悩みリスト
   -------------------------------------------------- */
.worry { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.worry li {
  display: flex; gap: 14px; align-items: flex-start; margin: 0;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-s);
  padding: 18px 22px; font-size: 1rem; line-height: 1.8;
}
.worry li::before {
  content: ""; width: 26px; height: 26px; flex: none; margin-top: .2em; border-radius: 50%;
  background: var(--c-tint) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a6600' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M9.1 9a3 3 0 1 1 4.2 2.8c-.8.4-1.3 1.2-1.3 2.1v.3'/%3E%3Ccircle cx='12' cy='17.6' r='.9' fill='%239a6600' stroke='none'/%3E%3C/svg%3E") center/18px no-repeat;
}
.worry-answer {
  margin-top: 34px; text-align: center; font-family: var(--font-round); font-weight: 700;
  font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); line-height: 1.7;
}

/* --------------------------------------------------
   11. 選ばれる理由
   -------------------------------------------------- */
.reason { text-align: center; }
.reason__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%; background: var(--c-main); color: var(--c-text);
  font-family: var(--font-en); font-weight: 600; font-size: 1.5rem; margin-bottom: 16px;
}
.reason__title { font-size: 1.2rem; margin-bottom: .5em; }
.reason p { text-align: left; }

/* --------------------------------------------------
   12. ご利用の流れ
   -------------------------------------------------- */
.flow { list-style: none; margin: 0; padding: 0; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 3px;
  background: var(--c-main); border-radius: 3px;
}
.flow li { display: flex; gap: 24px; margin: 0 0 30px; position: relative; align-items: flex-start; }
.flow li:last-child { margin-bottom: 0; }
.flow__num {
  width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--c-main);
  color: var(--c-text); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 600; font-size: 1.35rem; position: relative; z-index: 1;
}
.flow__body { padding-top: 6px; }
.flow__title { font-size: 1.12rem; margin-bottom: .3em; }
.flow__body p { font-size: .96rem; color: var(--c-text-m); margin: 0; }

/* --------------------------------------------------
   13. CTA バンド
   -------------------------------------------------- */
.cta {
  background: var(--c-fill);
  /* 写真を敷いた帯の上に置くので、うっすら枠を入れて箱の輪郭を出す */
  border: 1px solid rgba(90, 74, 55, .10);
  border-radius: var(--radius-l); padding: 52px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta__title { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); margin-bottom: .3em; }
.cta__lead { color: var(--c-text-m); margin-bottom: 30px; }
.cta__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); gap: 24px; justify-content: center; }
/* 721〜900px では2段組みだと箱が244〜327pxしかなく、受付時間の1行が入らない。
   この幅では縦に積んで、1行に収まる幅を確保する */
@media (max-width: 900px) {
  .cta__grid { grid-template-columns: minmax(0, 560px); justify-content: center; }
}
.cta__item { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-s); }
/* 見出しの小札。参考サイトの、淡い黄の札の下に小さな三角が付く形 */
.cta__cap {
  position: relative; display: table; margin: 0 auto 18px; padding: 7px 16px 8px;
  border-radius: 6px; background: var(--c-tint);
  font-size: .85rem; color: var(--c-text); font-weight: 700; letter-spacing: .08em;
}
.cta__cap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; margin: auto;
  width: 0; height: 0; border-style: solid; border-width: 8px 8px 0 8px;
  border-color: var(--c-tint) transparent transparent transparent;
}

/* 電話は塗りのボタンではなく、大きな番号として見せる（参考サイトの申込ブロックと同じ） */
.cta .btn--tel,
.contact-block .panel .btn--tel {
  background: none; border: 0; box-shadow: none; border-radius: 0;
  min-height: 0; padding: 4px 0 2px; gap: .3em;
  font-family: var(--font-en); font-weight: 600;
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.25rem);
  letter-spacing: .05em; line-height: 1.2; color: var(--c-text);
}
.cta .btn--tel svg,
.contact-block .panel .btn--tel svg { width: .78em; height: .78em; stroke-width: 2.2; }
.cta .btn--tel:hover,
.contact-block .panel .btn--tel:hover { background: none; opacity: .72; }

/* メールは橙の塗り。参考サイトの「24時間Web予約」と同じ扱い。
   小さく出るところ（下部固定バーなど）は白抜き文字が読めるよう、橙を一段濃くする */
.btn--sub { background: var(--c-cta-d); color: #fff; border-color: transparent; }
.btn--sub:hover { background: #9e5900; color: #fff; border-color: transparent; }
.btn--sub svg { stroke-width: 2.2; }
/* お問い合わせの大きなボタンだけ、参考サイトと同じ明るい橙。
   文字を19.2pxの太字にして、白抜きでも読める大きさにしている */
.cta .btn--sub,
.contact-block .panel .btn--sub { background: var(--c-cta); font-size: 1.2rem; }
.cta .btn--sub:hover,
.contact-block .panel .btn--sub:hover { background: var(--c-cta-d); }
/* スマホではボタンの文字が2行に折れやすい。字間と左右の余白を詰めて1行に収める。
   小さくなるぶん白抜き文字が読めるよう、橙は一段濃いほうを使う */
@media (max-width: 720px) {
  .btn { letter-spacing: .06em; padding-left: 20px; padding-right: 20px; }
  .btn--lg { padding-left: 24px; padding-right: 24px; }
  .btn--main, .btn--ghost { padding-right: 40px; }
  .btn--main.btn--lg, .btn--ghost.btn--lg { padding-right: 46px; }
  /* 以前はスマホで文字を1.05rem（16.8px）に落としていたが、18.66px未満だと
     白文字に4.5:1が必要になり、オレンジを暗い #b06300 まで沈めるしかなかった。
     文字を1.2rem（19.2px）のまま字間と余白で詰めれば360px以上で1行に収まり、
     「大きい文字」の扱い（3:1でよい）になるので明るいオレンジが使える */
  .cta .btn--sub,
  .contact-block .panel .btn--sub {
    letter-spacing: .02em; padding-left: 12px; padding-right: 12px;
  }
  .page-contact .btn--main { font-size: 1.05rem; background: var(--c-cta-d); }
  .page-contact .btn--main:hover { background: #9e5900; }
}
.cta__note { margin-top: 26px; font-size: .9rem; color: var(--c-text-m); }

/* --------------------------------------------------
   14. 料金
   -------------------------------------------------- */
.ptable { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow-s); }
.ptable caption {
  caption-side: top; background: var(--c-main); color: var(--c-text); padding: 14px;
  font-family: var(--font-round); font-weight: 700; font-size: 1.08rem;
}
.ptable th, .ptable td { padding: 16px 20px; border-bottom: 1px solid var(--c-line); text-align: left; font-size: 1rem; }
.ptable th { background: var(--c-fill); font-weight: 700; width: 42%; }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }
.ptable--def th { width: 8em; }
.ptable td.num { font-family: var(--font-jp); font-weight: 700; font-size: 1.1rem; white-space: nowrap; font-feature-settings: "tnum"; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sim__price .yen { font-family: var(--font-jp); font-size: .5em; margin-left: .15em; }

/* --------------------------------------------------
   15. FAQ（アコーディオン）
   -------------------------------------------------- */
.faq { display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-s);
}
.faq summary {
  display: flex; align-items: flex-start; gap: 14px; padding: 22px 26px; cursor: pointer;
  font-family: var(--font-round); font-weight: 700; font-size: 1.05rem; line-height: 1.6;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--c-main); color: var(--c-text); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 1.02rem; margin-top: -.1em;
}
.faq summary::after {
  content: ""; width: 16px; height: 16px; margin-left: auto; flex: none; margin-top: .5em;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a6600' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq__body { padding: 0 26px 26px 74px; }
.faq__body p { font-size: .98rem; color: var(--c-text-m); }
.faq__body p:first-child { margin-top: 0; }
.avail thead th .dow { display: block; font-size: .78rem; color: var(--c-text-m); font-weight: 500; }
.avail .mark { font-family: var(--font-en); font-size: 1.3rem; font-weight: 600; }
.avail .ok { color: var(--c-sub-d); }
.avail .few { color: #d9822b; }
.avail .ng { color: #b9b2a6; }

/* --------------------------------------------------
   17. お知らせ
   -------------------------------------------------- */
.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.news li { margin: 0; }
.news a {
  display: grid; grid-template-columns: 130px 1fr; gap: 4px 20px; align-items: baseline;
  padding: 20px 8px; border-bottom: 1px solid var(--c-line); text-decoration: none; color: var(--c-text);
}
.news a:hover { opacity: 1; background: var(--c-tint2); }
.news__date { font-family: var(--font-en); font-weight: 500; color: var(--c-text-m); font-size: .92rem; }
.news__cat {
  display: inline-block; margin-left: 10px; padding: 2px 12px; border-radius: 999px;
  background: var(--c-sub-tint); color: var(--c-sub-d); font-size: .72rem; font-weight: 700;
}
.news__title { font-weight: 500; line-height: 1.7; }

/* --------------------------------------------------
   19. 対応エリア・地図
   -------------------------------------------------- */
.area { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line);
  box-shadow: var(--shadow-s); line-height: 0; background: var(--c-tint2);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map--wide { aspect-ratio: 16 / 10; }
.map--sq { aspect-ratio: 4 / 3; }
.area__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.area__list li {
  margin: 0; padding: 7px 16px; background: #fff; border: 1px solid var(--c-line);
  border-radius: 999px; font-size: .9rem; font-weight: 500;
}
.area__list li.is-main { background: var(--c-main); color: var(--c-text); border-color: var(--c-main); font-weight: 700; }

/* --------------------------------------------------
   20. 事業所情報（定義リスト）
   -------------------------------------------------- */
.info { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.info dl { margin: 0; }
.info__row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--c-line); }
.info__row:last-child { border-bottom: 0; }
.info dt { padding: 18px 26px; background: var(--c-fill); font-weight: 700; font-size: .98rem; }
.info dd { padding: 18px 26px; margin: 0; font-size: .98rem; }

/* --------------------------------------------------
   21. 関連事業
   -------------------------------------------------- */
.rel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* --------------------------------------------------
   22. ページヘッダー（下層）
   -------------------------------------------------- */
.pagehead {
  padding: 46px 0 26px; background: var(--c-bg);
  text-align: center; position: relative; overflow: hidden;
}
.pagehead__title { font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.4rem); margin: 0; }
.pagehead__lead { margin: 22px auto 0; max-width: 44em; color: var(--c-text-m); font-size: 1rem; }

.greeting { max-width: 44em; margin: 30px auto 0; }

/* ページ内リンクで飛んだとき、上のメニューに隠れないようにする */
section[id] { scroll-margin-top: 96px; }

.breadcrumb { padding: 14px 0; font-size: .82rem; color: var(--c-text-m); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5em; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .5em; color: var(--c-text-w); }
.breadcrumb a { color: var(--c-text-m); }

/* --------------------------------------------------
   23. フォーム
   -------------------------------------------------- */
.form { display: grid; gap: 24px; }
.form__field { display: grid; gap: 8px; }
.form__label { font-weight: 700; font-family: var(--font-round); font-size: 1rem; display: flex; align-items: center; gap: .6em; }
.form__req { font-size: .7rem; padding: 2px 10px; border-radius: 999px; background: var(--c-sub-d); color: #fff; font-weight: 700; }
.form__any { font-size: .7rem; padding: 2px 10px; border-radius: 999px; background: var(--c-fill); color: var(--c-text-m); font-weight: 700; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"], .form select, .form textarea {
  width: 100%; padding: 15px 16px; font-size: 1rem; font-family: inherit; color: var(--c-text);
  border: 1px solid var(--c-line); border-radius: var(--radius-s); background: #fff; min-height: 56px;
}
.form textarea { min-height: 160px; line-height: 1.8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--c-sub-d); outline-offset: 1px; }
.form__help { font-size: .84rem; color: var(--c-text-w); }
.form__radios { display: flex; flex-wrap: wrap; gap: 10px; }
.form__radio {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--c-line);
  border-radius: 999px; cursor: pointer; font-size: .95rem; background: #fff; min-height: 52px;
}
.form__radio input { width: 20px; height: 20px; accent-color: var(--c-main); }
.form__radio:has(input:checked) { border-color: var(--c-sub-d); border-width: 2px; background: var(--c-tint); }

/* --------------------------------------------------
   24. フッター
   -------------------------------------------------- */
.footer { background: var(--c-bg); border-top: 1px solid var(--c-line); padding: 64px 0 130px; margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer__desc { font-size: .92rem; color: var(--c-text-m); margin-top: 16px; }
.footer__h { font-family: var(--font-round); font-weight: 700; font-size: 1rem; margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { color: var(--c-text); text-decoration: none; font-size: .94rem; }
.footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--c-text-m);
}

/* スマホ下部固定CTA */
.fixcta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(249, 248, 243, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.fixcta .btn { flex: 1; padding: 14px 10px; font-size: .98rem; min-height: 56px; box-shadow: none; }

/* --------------------------------------------------
   26. レスポンシブ
   -------------------------------------------------- */
@media (max-width: 1180px) {
  .gnav__list a { padding: 10px 10px; font-size: .9rem; }
}

/* メニューをバーガーにまとめる幅。
   ここから下は下部の固定CTAで電話番号を出しておく。
   以前は固定CTAが860px以下からで、861〜1080pxだけ電話がどこにも出ない状態だった */
@media (max-width: 1080px) {
  .gnav { display: none; }
  .burger { display: flex; margin-left: auto; }
  .fixcta { display: flex; }
  .footer { padding-bottom: 130px; }
}

@media (max-width: 960px) {
  .hero__media .ph { aspect-ratio: 16 / 10; min-height: 420px; }
  .hero__overlay { padding-bottom: 40px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .area { grid-template-columns: 1fr; gap: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 17px; line-height: 1.9; }
  .section { padding: 60px 0; }
  /* スマホでも写真の上に重ねる。写真を縦長にして文字の逃げ場をつくる */
  .hero__media .ph { aspect-ratio: 4 / 5; min-height: 0; }
  .hero__overlay {
    padding-bottom: 30px;
    background:
      radial-gradient(150% 62% at 30% 104%, rgba(26, 20, 10, .72) 0%, rgba(26, 20, 10, .4) 44%, rgba(26, 20, 10, 0) 78%),
      linear-gradient(to top, rgba(26, 20, 10, .28) 0%, rgba(26, 20, 10, 0) 46%);
  }
  .hero__title { font-size: 1.42rem; }
  /* 縦長の枠になると左右を切ることになる。3枚目は看板が入らない位置へ寄せる */
  .hero__slide:nth-child(1) img { object-position: 42% 50%; }
  .hero__slide:nth-child(3) img { object-position: 22% 50%; }
  .wrap, .wrap-n { width: calc(100% - 32px); }
  .sec-head { margin-bottom: 34px; }
  .grid { gap: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--3.grid--keep2, .grid--4.grid--keep2 { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 26px 20px; }
  .cta { padding: 36px 20px; }
  .cta__grid { grid-template-columns: 1fr; }
  .flow::before { left: 25px; }
  .flow__num { width: 52px; height: 52px; font-size: 1.15rem; }
  .flow li { gap: 16px; }
  .faq summary { padding: 18px 18px; font-size: 1rem; gap: 12px; }
  .faq__body { padding: 0 18px 22px 64px; }
  .info__row { grid-template-columns: 1fr; }
  .info dt { padding: 14px 20px 6px; background: var(--c-fill); }
  .info dd { padding: 8px 20px 16px; }
  .news a { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .rel { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .ptable th, .ptable td { padding: 13px 14px; font-size: .95rem; }
  .ptable th { width: 46%; }
  .ptable--def, .ptable--def tr, .ptable--def tbody { display: block; }
  .ptable--def th, .ptable--def td { display: block; width: auto; }
  .ptable--def th { border-bottom: 0; padding-bottom: 4px; }
  .ptable--def td { padding-top: 0; }
}

@media (max-width: 420px) {
  .logo__main { font-size: 1.1rem; }
  .logo__mark { width: 40px; height: 40px; }
  .header__inner { min-height: 68px; }
  .drawer { top: 68px; }
}

@media print {
  .header, .fixcta, .drawer { display: none !important; }
  body { background: #fff; }
}

/* お客様の声 */
.voice { position: relative; }
.voice .voice__text { margin-bottom: 0; font-size: .94rem; line-height: 1.95; }

/* --------------------------------------------------
   3つの支え：写真と3つの円形ノード
   -------------------------------------------------- */
:root {
  --mzu3-paper: #f9f8f3;
  --mzu3-wash: #eeebe3;
  --mzu3-line: #c19a3a;
  --mzu3-deep: var(--c-sub-d);
}

.mzu3-showcase {
  position: relative;
  overflow: hidden;
  color: var(--c-text);
  background: linear-gradient(90deg, var(--mzu3-wash) 0 35%, var(--mzu3-paper) 35% 100%);
}

/* PC幅では「安心して暮らせる毎日へ」の下が35〜50pxしかなく、
   次のセクションとの区切りが分からない。図の下に余白を足す */
@media (min-width: 981px) {
  .mzu3-showcase { padding-bottom: 64px; }
}

.mzu3-stage {
  position: relative;
  width: min(100%, 1440px);
  min-height: 760px;
  aspect-ratio: 1440 / 960;
  margin: 0 auto;
}

.mzu3-orbits {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.mzu3-orbits path {
  fill: none;
  stroke: var(--mzu3-line);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.mzu3-orbit-points circle {
  fill: var(--mzu3-deep);
  stroke: var(--mzu3-paper);
  stroke-width: 6;
  vector-effect: non-scaling-stroke;
}

.mzu3-hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(34px, 5.5vw, 79px);
  width: min(39vw, 560px);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

/* 写真の外側の細い円。コネクタの起点はこの円の上に置く。
   inset は (320-280)/560 = 7.14%。写真の半径の1.14倍 */
.mzu3-hub::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -7.14%;
  border: 2px solid rgba(168, 95, 0, .32);
  border-radius: 50%;
}

.mzu3-hub-photo {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 10px solid var(--c-panel);
  border-radius: 50%;
  background: var(--c-panel);
  box-shadow: 0 22px 34px rgba(90, 74, 55, .18);
}

.mzu3-hub-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.mzu3-hub-title {
  position: absolute;
  z-index: 3;
  top: 9.5%;
  left: clamp(36px, 5.5vw, 79px);
  max-width: 40%;
  margin: 0;
  color: var(--c-text);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
}

.mzu3-message {
  position: absolute;
  z-index: 3;
  left: clamp(36px, 5.5vw, 79px);
  bottom: 5.2%;
  margin: 0;
  color: var(--c-text);
  font-size: clamp(30px, 3.35vw, 49px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .035em;
  white-space: nowrap;
}

.mzu3-support {
  --mzu3-accent: var(--c-sub-d);
  position: absolute;
  z-index: 3;
  left: 50%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: clamp(150px, 13.6vw, 196px) minmax(0, 1fr);
  gap: clamp(20px, 2.2vw, 32px);
  align-items: center;
  width: 47%;
  min-width: 0;
  height: 30%;
  padding: clamp(16px, 1.7vw, 24px);
  border-radius: clamp(20px, 2.2vw, 32px);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
}

.mzu3-support--move {
  --mzu3-accent: #a85f00;
  top: 1%;
}

.mzu3-support--life {
  --mzu3-accent: #a85f00;
  top: 35%;
}

.mzu3-support--environment {
  --mzu3-accent: #a85f00;
  top: 69%;
}

.mzu3-icon {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 4px solid var(--c-panel);
  border-radius: 50%;
  background: var(--c-panel);
  box-shadow: 0 14px 20px rgba(90, 74, 55, .12);
}

/* バッジの外側にもう1本、少し離して細い輪 */
.mzu3-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(168, 95, 0, .30);
  border-radius: 50%;
  pointer-events: none;
}

.mzu3-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.mzu3-support-copy {
  min-width: 0;
}

.mzu3-support-kicker {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 1.6vw, 24px);
  margin: 0 0 7px;
  color: var(--mzu3-deep);
  font-size: clamp(18px, 1.75vw, 27px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
}

.mzu3-support-num {
  font-family: var(--font-en);
  font-size: clamp(36px, 3.6vw, 54px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .035em;
}

.mzu3-support h3 {
  margin: 0 0 12px;
  color: var(--c-text);
  font-size: clamp(21px, 2.05vw, 29px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: .015em;
}

.mzu3-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 13px 5px;
  border: 1px solid var(--c-text-w);
  border-radius: 6px;
  color: var(--c-text-m);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 500;
  line-height: 1.45;
}

.mzu3-support ul {
  margin: 0;
  padding-left: 1.35em;
  color: var(--c-text-m);
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.72;
}

.mzu3-support li {
  margin: 0;
}

.mzu3-support li + li {
  margin-top: 3px;
}

.mzu3-support li::marker {
  color: var(--mzu3-accent);
}

/* 1150px以下は min-height 760px が縦横比に勝ってしまい、
   SVGだけが縦に伸びて起点の点が外周の円からずれる（981pxで約16px）。
   min-height をやめて縦横比を保ち、そのぶん低くなるカードに
   中身が収まるよう高さと文字まわりを詰める。
   カードの中心は 16% / 50% / 84% のまま（線の終点と合わせるため） */
/* 1300px以下はカードの高さに余裕がなく、中身が下にはみ出す。
   行間と余白だけ詰めて収める */
@media (min-width: 981px) and (max-width: 1300px) {
  .mzu3-support h3 {
    margin-bottom: 8px;
    line-height: 1.32;
  }

  .mzu3-badge {
    margin-bottom: 8px;
  }

  .mzu3-support ul {
    line-height: 1.6;
  }
}

@media (min-width: 981px) and (max-width: 1150px) {
  .mzu3-stage {
    min-height: 0;
  }

  .mzu3-support {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    height: 32%;
    padding: 14px;
  }

  .mzu3-support--move {
    top: 0;
  }

  .mzu3-support--life {
    top: 34%;
  }

  .mzu3-support--environment {
    top: 68%;
  }

  .mzu3-support h3 {
    font-size: 20px;
  }
}

@media (max-width: 980px) {
  .mzu3-showcase {
    background: linear-gradient(180deg, var(--mzu3-wash) 0 410px, var(--mzu3-paper) 410px 100%);
  }

  .mzu3-stage {
    display: flex;
    flex-direction: column;
    width: min(100%, 760px);
    min-height: 0;
    aspect-ratio: auto;
    padding: 68px 28px 72px;
  }

  .mzu3-orbits {
    display: none;
  }

  .mzu3-hub {
    position: relative;
    top: auto;
    left: auto;
    width: min(82vw, 420px);
    margin: 0 auto 38px;
    transform: none;
  }

  .mzu3-hub-title {
    position: static;
    margin: 0 auto 20px;
    font-size: clamp(21px, 4.4vw, 27px);
    text-align: center;
  }

  .mzu3-message {
    position: static;
    margin: 0 auto 50px;
    font-size: clamp(27px, 5.5vw, 38px);
    text-align: center;
    white-space: normal;
  }

  .mzu3-support {
    position: relative;
    top: auto;
    left: auto;
    grid-template-columns: clamp(138px, 24vw, 172px) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 34px);
    width: 100%;
    height: auto;
    padding: 34px 0;
    border-top: 1px solid var(--c-line);
  }

  .mzu3-support--environment {
    padding-bottom: 0;
  }

  .mzu3-support-kicker {
    font-size: 20px;
  }

  .mzu3-support-num {
    font-size: 42px;
  }

  .mzu3-support h3 {
    font-size: clamp(21px, 3.8vw, 27px);
  }

  .mzu3-support ul {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .mzu3-stage {
    padding: 56px 20px 60px;
  }

  .mzu3-hub {
    width: min(84vw, 390px);
  }

  .mzu3-support {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 20px;
  }

  .mzu3-support h3 {
    font-size: 20px;
  }

  .mzu3-support ul {
    font-size: 14px;
    line-height: 1.7;
  }
}

@media (max-width: 520px) {
  .mzu3-showcase {
    background: linear-gradient(180deg, var(--mzu3-wash) 0 360px, var(--mzu3-paper) 360px 100%);
  }

  .mzu3-stage {
    padding-inline: 18px;
  }

  .mzu3-hub {
    margin-bottom: 32px;
  }

  .mzu3-hub-title {
    margin-bottom: 18px;
    letter-spacing: .08em;
  }

  .mzu3-message {
    margin-bottom: 36px;
    font-size: clamp(25px, 7vw, 31px);
  }

  .mzu3-support {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 0 38px;
  }

  .mzu3-icon {
    justify-self: center;
    width: 136px;
  }

  .mzu3-support-kicker {
    justify-content: center;
  }

  .mzu3-support h3,
  .mzu3-badge {
    margin-inline: auto;
  }

  .mzu3-support h3 {
    text-align: center;
  }

  .mzu3-support-copy {
    display: flex;
    flex-direction: column;
  }

  .mzu3-support ul {
    align-self: center;
    width: min(100%, 24em);
  }
}

/* --------------------------------------------------
   20. 動き
   head の判定で <html class="anim"> が付いたときだけ効かせる。
   ブラウザの設定が「動きを減らす」なら class が付かないので、
   ここから下は全部無効になり、最初から見えている状態になる
   -------------------------------------------------- */

/* スクロールに合わせて、下から静かに出す */
.anim .section > .wrap > *,
.anim .section > .wrap-n > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.22, .7, .3, 1);
}

.anim .section > .wrap > .is-in,
.anim .section > .wrap-n > .is-in {
  opacity: 1;
  transform: none;
}

/* 並んだカードは、順に少しずつ遅らせる */
.anim .grid > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .6s ease var(--anim-d, 0s),
    transform .6s cubic-bezier(.22, .7, .3, 1) var(--anim-d, 0s);
}

.anim .grid.is-in > * {
  opacity: 1;
  transform: none;
}

.anim .grid > *:nth-child(2) { --anim-d: .08s; }
.anim .grid > *:nth-child(3) { --anim-d: .16s; }
.anim .grid > *:nth-child(4) { --anim-d: .24s; }
.anim .grid > *:nth-child(5) { --anim-d: .32s; }
.anim .grid > *:nth-child(6) { --anim-d: .4s; }

/* 3つの支えの図。写真とカードが出てから、線が伸びる */
.anim .mzu3-hub,
.anim .mzu3-hub-title,
.anim .mzu3-message,
.anim .mzu3-support {
  opacity: 0;
  transition: opacity .8s ease var(--anim-d, 0s), transform .8s cubic-bezier(.22, .7, .3, 1) var(--anim-d, 0s);
}

.anim .mzu3-hub { transform: translateY(-50%) scale(.96); }
.anim .mzu3-hub-title,
.anim .mzu3-message { transform: translateY(14px); }
.anim .mzu3-support { transform: translateX(22px); }

.anim .mzu3-support--move { --anim-d: .18s; }
.anim .mzu3-support--life { --anim-d: .28s; }
.anim .mzu3-support--environment { --anim-d: .38s; }
.anim .mzu3-message { --anim-d: .12s; }

.anim .mzu3-showcase.is-in .mzu3-hub { opacity: 1; transform: translateY(-50%) scale(1); }
.anim .mzu3-showcase.is-in .mzu3-hub-title,
.anim .mzu3-showcase.is-in .mzu3-message { opacity: 1; transform: none; }
.anim .mzu3-showcase.is-in .mzu3-support { opacity: 1; transform: none; }

.anim .mzu3-orbit-points circle {
  opacity: 0;
  transition: opacity .4s ease .95s;
}

.anim .mzu3-showcase.is-in .mzu3-orbit-points circle { opacity: 1; }

/* 980px以下は写真が position:relative になるので、translateY(-50%) を持ち込まない */
@media (max-width: 980px) {
  .anim .mzu3-hub { transform: scale(.96); }
  .anim .mzu3-showcase.is-in .mzu3-hub { transform: none; }
}

/* ヘッダーは、少しスクロールしたら影を濃くする */
.header { transition: box-shadow .3s ease, background-color .3s ease; }
.header.is-scrolled { box-shadow: 0 6px 22px rgba(97, 82, 48, .1); }


/* 浮き上がる動きは、マウスのある環境だけにする。
   スマホやタブレットではタップがホバー扱いになり、浮いたまま戻らなくなるため */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .scene:hover .scene__ph { transform: translateY(-4px); }
}

/* よくあるご質問の分類へのリンク */
.faq-jump { padding: 22px 0 0; }

.faq-jump__lead {
  margin: 0 0 10px;
  color: var(--c-text-m);
  font-size: .9rem;
}

.faq-jump__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 3px solid var(--c-main);
  list-style: none;
}

.faq-jump__list li + li::before {
  content: "・";
  color: var(--c-text-w);
}

.faq-jump__list a {
  color: var(--c-text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--c-main-l);
}

.faq-jump__list a:hover { border-bottom-color: var(--c-main-d); }

/* サービスページ：3つの支え */
#three > .wrap > .grid {
  max-width: 960px;
  margin-inline: auto;
}

#three .card {
  padding: 24px 28px 26px;
  border-top: 4px solid var(--c-main);
}

#three .three-num {
  margin: 0 0 10px;
  color: var(--c-sub-d);
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
}

#three .card__title {
  margin-bottom: .2em;
  font-size: clamp(1.12rem, 1rem + .35vw, 1.28rem);
}

@media (max-width: 720px) {
  #three .card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
    padding: 20px 22px;
  }

  #three .three-num {
    grid-row: 1 / span 2;
    margin: .45em 0 0;
  }

  #three .card__title {
    margin: 0;
  }
}

/* --------------------------------------------------
   21. 動きの微調整（20章の続き）
   -------------------------------------------------- */

/* よくあるご質問。開いた中身がすっと現れる */
.anim .faq details[open] .faq__body {
  animation: faqOpen .3s ease-out;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* スマホは3つのカードが画面いっぱいなので、横からではなく下から出す。
   横に22pxずらすと、動いているあいだだけ右端がはみ出してしまう */
@media (max-width: 980px) {
  .anim .mzu3-support { transform: translateY(16px); }
}

/* サービスページの導入文。PCで整えた改行が、スマホだと二重に折り返して読みにくい */
@media (max-width: 720px) {
  #three .sec-head__desc br { display: none; }
}

/* 印刷。スクロールしていない場所は透明のままなので、
   このまま印刷するとほとんどのセクションが白紙で出てしまう */
@media print {
  .anim .section > .wrap > *,
  .anim .section > .wrap-n > *,
  .anim .grid > *,
  .anim .mzu3-hub,
  .anim .mzu3-hub-title,
  .anim .mzu3-message,
  .anim .mzu3-support,
  .anim .mzu3-orbit-points circle {
    opacity: 1 !important;
    transform: none !important;
    /* 動きながら紙に焼かれると薄いまま出てしまうので、印刷では動きも止める */
    transition: none !important;
    animation: none !important;
  }

  .anim .mzu3-hub { transform: translateY(-50%) !important; }
  .hero__slide { opacity: 1; }
  .hero__slide:not(.is-current) { display: none; }
}

/* --------------------------------------------------
   介護タクシーLP
   -------------------------------------------------- */
.taxi-lp { font-size: 18px; }

.taxi-lp main p,
.taxi-lp main li,
.taxi-lp main th,
.taxi-lp main td,
.taxi-lp main dt,
.taxi-lp main dd,
.taxi-lp main summary,
.taxi-lp main caption { font-size: 18px; }

.taxi-lp .btn { font-size: 18px; }
.taxi-lp .flow__title { font-size: 20px; }
.taxi-lp main .ptable td.num,
.taxi-lp main .voice .voice__text { font-size: 18px; }

.taxi-header .header__inner { justify-content: space-between; }
.taxi-header .header__cta { margin-left: auto; }
.taxi-header .taxi-header__tel { width: auto; min-height: 50px; padding: 10px 22px; }
.taxi-header__tel-short { display: none; }

.taxi-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(600px, calc(100svh - 78px), 760px);
  overflow: hidden;
  background: #2b2318;
}

.taxi-hero__media,
.taxi-hero__shade { position: absolute; inset: 0; }

.taxi-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 52%;
}

.taxi-hero__shade {
  background: linear-gradient(to top, #2b2318 0%, transparent 82%);
  opacity: .88;
}

.taxi-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: clamp(44px, 6vw, 76px);
}

.taxi-hero__copy { max-width: 780px; }

.taxi-hero__name {
  margin-bottom: 12px;
  color: var(--c-panel);
  font-weight: 700;
}

.taxi-hero__title {
  margin-bottom: 0;
  color: var(--c-panel);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.45;
}

.taxi-hero .taxi-hero__tel {
  width: min(100%, 390px);
  margin-top: 28px;
}

.taxi-hero__hours {
  max-width: 28em;
  margin: 12px 0 0;
  color: var(--c-panel);
  line-height: 1.7;
}

.taxi-photo-card {
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.taxi-photo-card .ph { border-radius: 0; }
.taxi-photo-card__body { padding: 24px; }
.taxi-photo-card__body .card__title { font-size: 20px; }
.taxi-card-kicker {
  margin-bottom: 8px;
  color: var(--c-sub-d);
  font-weight: 700;
}

.taxi-lift-photo { aspect-ratio: 16 / 8; }

.taxi-feature-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.taxi-feature-list li {
  margin: 0;
  padding: 20px 22px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-left: 5px solid var(--c-main);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  font-weight: 500;
}

/* 3つ並べると1枚あたり340pxしかなく、料金ページ用の設定（見出し列42%）では
   「初乗り（最初の1.1kmまで）」が3行に割れる。この並びのときだけ詰める。
   height:100% は、高さの決まっていないグリッドの中では解決できず、
   表が枠から溢れて下の注記に重なっていたので外した */
.taxi-price-grid { align-items: start; }

.taxi-price-grid .ptable caption {
  padding: 12px 10px;
  font-size: .98rem;
  line-height: 1.45;
}

.taxi-price-grid .ptable th,
.taxi-price-grid .ptable td {
  padding: 13px 14px;
  font-size: .95rem;
}

.taxi-price-grid .ptable th {
  width: auto;
  white-space: nowrap;
}

/* 本文に字間(.05em)を入れたぶん、折り返さない見出しセルが横に伸びて
   390px の画面をはみ出した。この表だけ字間を戻す */
.taxi-price-grid .ptable { letter-spacing: 0; }

/* 360px の画面では、折り返さない指定のままだと表が画面からはみ出す。
   3行に割れるのを嫌って nowrap にしていたが、はみ出すより折り返すほうがよい */
@media (max-width: 400px) {
  .taxi-price-grid .ptable th { white-space: normal; }
}

.taxi-price-grid .ptable td.num { font-size: 1.02rem; }

/* 「（時間制）」だけが次の行に残らないよう、かたまりで折り返す */
.taxi-price-grid .ptable caption span { display: inline-block; }

.taxi-price-note { margin: 20px 0 0; }

.taxi-estimate {
  margin-top: 40px;
  text-align: center;
}

.taxi-estimate .h-lead { margin-bottom: 10px; }
.taxi-estimate .btn { margin-top: 12px; }
.taxi-support-lead { margin-bottom: 36px; }
.taxi-voice-source { margin-top: 26px; }
.taxi-office-grid { align-items: center; }
.taxi-home-link { margin-top: 30px; }
.taxi-final-cta__hours { margin-top: 10px; }

.taxi-footer { padding: 38px 0 48px; }
.taxi-footer .footer__bottom {
  justify-content: center;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 1080px) {
  .taxi-footer { padding-bottom: 130px; }
}

@media (max-width: 720px) {
  .taxi-lp .section { padding: 64px 0; }

  .taxi-hero {
    min-height: calc(100svh - 78px);
  }

  .taxi-hero__media img { object-position: 74% 50%; }
  .taxi-hero__inner { padding-top: 48px; padding-bottom: 30px; }
  .taxi-hero__title { font-size: clamp(1.75rem, 8.2vw, 2.35rem); }
  .taxi-hero .taxi-hero__tel { margin-top: 22px; }
  .taxi-photo-card__body { padding: 22px 20px 24px; }
  .taxi-lift-photo { aspect-ratio: 4 / 5; }
  .taxi-lift-photo img { object-position: 58% 50%; }
  .taxi-estimate { padding: 30px 20px; }
  .taxi-support-lead { text-align: left; }
}

@media (max-width: 520px) {
  .taxi-header .header__inner { width: calc(100% - 20px); gap: 10px; }
  .taxi-header .taxi-header__tel { padding: 8px 14px; }
  .taxi-header__tel-number { display: none; }
  .taxi-header__tel-short { display: inline; }
}

@media (max-width: 420px) {
  .taxi-hero { min-height: calc(100svh - 68px); }
}

/* ロゴの大きさ。狭い画面では少し縮めて、ヘッダーの高さを抑える */
@media (max-width: 980px) {
  .header__inner { min-height: 80px; }
  .logo__img { width: 134px; }
}

@media (max-width: 720px) {
  .header__inner { min-height: 70px; }
  .logo__img { width: 118px; }
}

.footer .logo__img { width: 210px; }

@media (max-width: 720px) {
  .footer .logo__img { width: 180px; }
}

/* トップページだけ、メニューを写真の上に重ねる。
   ヘッダーを画面に固定すると、その下からヒーローが始まるので写真が透けて見える。
   下へスクロールしたら白を濃くして、本文の上でも文字が読めるようにする */
.home .header {
  position: fixed;
  inset: 0 0 auto;
  /* ぼかしを外して、写真がそのまま透けて見えるようにする。
     読みやすさはぼかしの有無でほとんど変わらず（5.47→5.42）、
     ぼかしは写真を潰していただけだった。
     白は .62。これより薄いと、3枚目の暗い車内でメニューの文字が読めなくなる */
  background: rgba(255, 255, 255, .62);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(255, 255, 255, .3);
}

.home .header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: var(--c-line);
}


/* --------------------------------------------------
   27. 連絡先のかたまり（ご連絡はこちらから）
   -------------------------------------------------- */
/* トップの「ご連絡はこちらから」。大見出しと同じ大きさにして、黄色の下線を引く */
.contact-block__title {
  display: table; margin: 0 auto 26px; padding-bottom: .3em;
  font-family: var(--font-round); font-weight: 700; line-height: 1.5;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem); letter-spacing: .15em;
  color: var(--c-text); text-align: center;
  background-image: linear-gradient(var(--c-main), var(--c-main));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 3px;
}

/* 連絡先のかたまりは、帯いっぱいにうっすら写真を敷く。
   箱（.cta / .panel）の中には敷かない */
.contact-block {
  background-color: var(--c-fill);
  background-image:
    linear-gradient(rgba(238, 235, 227, .90), rgba(238, 235, 227, .90)),
    url("img/staff.jpg");
  /* 写真は明るさだけを使い、色みは下のベージュから取る。
     そのまま重ねると空や木の色で面が青みがかるため */
  background-blend-mode: normal, luminosity;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}
/* ベージュの面に直接のる注記は、薄いままだと4.38:1で基準を割るので一段濃くする */
.contact-block .note { color: var(--c-text-m); }

/* --------------------------------------------------
   28. ご予約・お問い合わせのページ（予約ページの配色）
   -------------------------------------------------- */
/* 参考にした https://ssl.haisha-yoyaku.jp/... の配色。
   ベージュの見出し帯・橙の送信ボタン・朱色の必須・オリーブの選択中。
   そのままでは白抜き文字が読めない色があったので、濃さだけ調整している */
.page-contact {
  --c-khaki: #d3ceb9;      /* 項目名の帯（参考ページのまま） */
  --c-khaki-d: #7d7249;    /* 選択中（参考は #9e9365。白文字が3.08:1なので濃くした） */
  --c-orange: #c26709;     /* 送信ボタン（参考は #e67e22。白文字が2.85:1なので濃くした） */
  --c-req: #c9432b;        /* 必須（参考は #dd5239。白文字が3.93:1なので濃くした） */
}

/* 項目名を、参考ページと同じベージュの帯にする */
.page-contact .form__label {
  padding: 9px 14px; border-radius: 4px;
  background: var(--c-khaki); color: var(--c-text);
  letter-spacing: .08em;
}
.page-contact .form__req { background: var(--c-req); color: #fff; }
.page-contact .form__any {
  background: #fff; color: var(--c-text); border: 1px solid #b6ad9a;
}

/* 選んでいる項目はオリーブで塗る（参考ページと同じ見せ方） */
.page-contact .form__radio:has(input:checked) {
  background: var(--c-khaki-d); border-color: var(--c-khaki-d); border-width: 2px; color: #fff;
}
.page-contact .form__radio input { accent-color: var(--c-khaki-d); }
.page-contact .form__radio:has(input:checked) input { accent-color: #fff; }

/* 送信ボタンは橙。白抜き文字が読めるよう19.2pxの太字にしている */
.page-contact .btn--main {
  background: var(--c-orange); color: #fff; font-size: 1.2rem;
}
.page-contact .btn--main:hover { background: #a85800; color: #fff; }
.page-contact .btn--main::after { filter: brightness(0) invert(1); }

/* 入力欄の枠と、フォーカスの枠も参考ページの色に合わせる */
.page-contact .form input[type="text"],
.page-contact .form input[type="tel"],
.page-contact .form input[type="email"],
.page-contact .form input[type="date"],
.page-contact .form select,
.page-contact .form textarea { border-color: #c2b9a5; }
.page-contact .form input:focus,
.page-contact .form select:focus,
.page-contact .form textarea:focus { outline-color: var(--c-orange); }


/* --------------------------------------------------
   29. 受付時間の注記／事業内容の背景
   -------------------------------------------------- */
/* 「受付 平日8:30〜17:30／時間外は折り返しご連絡します」。
   途中で切れると読みにくいので、字間をなくして1行に収める。
   スマホは幅が足りない（要 361px に対し 246〜300px しかない）ので、
   「／」のところで2つに割れるようにしてある */
.hours { letter-spacing: 0; }
.hours span { display: inline-block; }
.taxi-hero__hours.hours { letter-spacing: 0; }

/* 1行に収まるだけの幅があるときだけ、途中で切らない。
   721〜880px は2段組みのせいで箱が244〜267pxしかなく、
   430px 未満は画面自体が狭いので、そこは「／」で2つに割る */
@media (min-width: 881px) {
  .hours { font-size: .8rem; white-space: nowrap; }
  .taxi-lp main p.hours { font-size: .8rem; }
}
@media (min-width: 431px) and (max-width: 720px) {
  .hours { font-size: .8rem; white-space: nowrap; }
  .taxi-lp main p.hours { font-size: .8rem; }
}

/* 「事業内容と提携先」の背景に、うっすらミモザの写真を敷く。
   ミモザは黄色なので、ほかの写真と違って色をそのまま残している
   （地味にしたいときは background-blend-mode: normal, luminosity; を足す） */
.mimosa-band {
  background-color: var(--c-bg);
  background-image:
    linear-gradient(rgba(249, 248, 243, .90), rgba(249, 248, 243, .90)),
    url("img/mimosa-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



/* --------------------------------------------------
   30. 介護タクシーLPの手直し
   -------------------------------------------------- */

/* 見出しの3行目が「介護タク／シーです。」と語の途中で割れていた。
   かたまりで折り返すようにする */
.taxi-hero__title span { display: inline-block; }

/* 最初の画面で、受付時間が下の固定電話バーの裏に入って読めなかった。
   バーが出るのは1080px以下なので、その幅では文字をバーの高さぶん上へ逃がす。
   ホームバーのあるiPhoneではバーがもう少し高くなるので env() を足している。
   1684行と同じ詳細度なので、必ずこの位置（後ろ）に書く */
@media (max-width: 1080px) {
  .taxi-hero__inner { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* 同じ幅では下の固定バーが電話の役目をしているので、ヘッダーのボタンは出さない。
   最初の画面に同じ黄色いボタンが3つ縦に並ぶのを避ける */
@media (max-width: 1080px) {
  .taxi-header .header__cta { display: none; }
}

/* ページ末尾の電話番号が、LPだけ18pxに潰れていた（.taxi-lp .btn が後勝ちしていた）。
   他の7ページと同じ大きさに戻す */
.taxi-lp .cta .btn--tel { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.25rem); }

/* 320px幅で固定バーの文字が2行に割れ、バーが高くなってヒーローに食い込んでいた */
@media (max-width: 360px) {
  .fixcta .btn { font-size: .9rem; letter-spacing: .02em; padding-left: 10px; padding-right: 10px; }
}

/* 画面の高さが低い端末（iPhone SE 第1世代の568pxなど）では、
   ヒーローの中身が1画面に収まりきらず、受付時間が固定バーの裏に入っていた。
   上の余白と見出しを詰めて、最初の画面に収める */
@media (max-width: 1080px) and (max-height: 620px) {
  .taxi-hero__inner { padding-top: 22px; }
  .taxi-hero__title { font-size: clamp(1.4rem, 6.4vw, 1.9rem); }
  .taxi-hero__name { margin-bottom: 6px; }
  .taxi-hero .taxi-hero__tel { margin-top: 12px; }
}

/* ヒーローの白文字が車体の白い面に重なって読めなかった（事業所名で2.97:1、必要は4.5:1）。
   もとの暗幕は下から上への1枚だけで、文字のかたまりの上のほうまで届いていなかった。
   左からの暗幕を1枚重ねて、文字の乗る左半分を確実に暗くする。
   opacity は外して、濃さは rgba の数値に織り込んだ（.88倍されて狙いの濃さにならないため） */
.taxi-hero__shade {
  background:
    linear-gradient(to right, rgba(43, 35, 24, .78) 0%, rgba(43, 35, 24, .68) 42%, rgba(43, 35, 24, 0) 80%),
    linear-gradient(to top, rgba(43, 35, 24, .84) 0%, rgba(43, 35, 24, 0) 82%);
  opacity: 1;
}

/* ヒーローの見出しを、強制改行ではなく語のまとまりで自然に折り返す形にした。
   PC幅では4行に割れて「静岡市の」だけが1行に残っていた。
   文字の幅を広げ、大きい文字なので字間を .15em から .08em に詰めて2行に収める。
   スマホは幅の都合で4行のまま（320pxは5行から4行に改善） */
.taxi-hero__title { letter-spacing: .08em; }

@media (min-width: 981px) {
  .taxi-hero__copy { max-width: 1000px; }
}

/* ページ末尾のCTAは電話1つだけなのに、2列ぶんの枠に入っていて左へ252px寄っていた。
   （他の7ページは電話とメールの2つあるので2列で正しい） */
.taxi-final-cta .cta__grid { grid-template-columns: minmax(0, 560px); }

/* 料金の3つの表は、見出しの帯の行数が違うと表の1行目の位置がずれる。
   961px以上は見出しが2行に収まるので、高さを2行ぶんに揃える
   （24px は上下の padding、1.45 は行間、0.98rem は見出しの文字の大きさ）。
   960px以下は列が270〜290pxしかなく見出しが3行になって揃わないので、縦に積む */
@media (min-width: 961px) {
  .taxi-price-grid .ptable caption { min-height: calc(2 * 1.45 * 0.98rem + 24px); }
}
@media (max-width: 960px) {
  .taxi-price-grid { grid-template-columns: minmax(0, 560px); justify-content: center; }
}


/* --------------------------------------------------
   31. オレンジを明るくする
   -------------------------------------------------- */
/* 「メールでご相談する」のオレンジが暗いという指摘。
   白文字を載せている以上、明るさには上限がある。実測は次のとおり。
     #b06300 4.53:1 ／ #c26709 4.01 ／ #cc7400 3.46 ／ #d17800 3.28 ／ #e68a00 2.63
   19.2px以上の太字なら3:1でよいので、文字を19.2pxに揃えたうえで #d17800 まで明るくする。
   これ以上明るくすると3:1を割り、高齢の方には読みにくくなる */
:root { --c-cta: #d17800; }

/* 画面下に固定した小さいボタン（15.7px）は「大きい文字」の扱いにならず4.5:1が要る。
   ここだけは暗いオレンジのままにする */
.fixcta .btn--sub { background: var(--c-cta-d); }
.fixcta .btn--sub:hover { background: #9e5900; }

/* 320px幅ではボタンの文字が2行に割れる。狭い画面だけ文字を詰める */
@media (max-width: 340px) {
  .cta .btn--sub,
  .contact-block .panel .btn--sub,
  .page-contact .btn--main { font-size: 1.02rem; letter-spacing: 0; padding-left: 8px; padding-right: 8px; }
}

/* お問い合わせページの下部CTAだけ .btn-row を使っていて、
   ほかの6ページ（.cta の中）と色も大きさも違っていた。同じ扱いにする */
.contact-block .btn-row .btn--sub { background: var(--c-cta); font-size: 1.2rem; }
.contact-block .btn-row .btn--sub:hover { background: var(--c-cta-d); }
.contact-block .btn-row .btn--tel { font-size: 1.2rem; }

/* --------------------------------------------------
   32. 幅の見直し（3カード・ごあいさつ・事業所概要）と表の下の空白
   -------------------------------------------------- */

/* サービスページの3カードだけ960pxで止めていたため、02の
   「訪問看護・暮らしのお手伝い」が折り返していた。下のパネルと同じ
   本文幅（1120px）まで広げて、左右の端をそろえる */
#three > .wrap > .grid { max-width: none; }

/* .grid--2 の中の情報表は、隣の文章のほうが背が高いと引き伸ばされて
   下に白い帯が残る。中身の高さで止める */
.grid--2 > .info { align-self: start; }

/* 事業所案内のごあいさつ。下の白いパネルと同じ幅にそろえる */
.greeting { max-width: none; }

/* 3カードを横3つに並べたままだと、900px未満で02の説明文が
   211px必要なのに幅が足りず折り返す。タブレットの幅からは
   720px以下と同じ「番号を左に置いた横長のカード」に切り替える */
@media (max-width: 900px) {
  #three > .wrap > .grid { grid-template-columns: 1fr; }
  #three .card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
    padding: 20px 22px;
  }
  #three .three-num { grid-row: 1 / span 2; margin: .45em 0 0; }
  #three .card__title { margin: 0; }
}

/* --------------------------------------------------
   33. お問い合わせフォーム（Contact Form 7）
   フォーム本体には functions.php で class="form" を足しているので、
   24章の .form の指定がそのまま当たる。ここではCF7が独自に出す
   入れ物（span）だけを、デザイン案の見た目に合わせ直す
   -------------------------------------------------- */
.form .wpcf7-form-control-wrap { display: block; }

/* ラジオと同意チェックは、1つずつが丸いボタンの形になる */
.form .wpcf7-radio,
.form .wpcf7-acceptance,
.form .wpcf7-acceptance .wpcf7-list-item { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.form .wpcf7-list-item { margin: 0; }
.form .wpcf7-list-item label {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--c-line);
  border-radius: 999px; cursor: pointer; font-size: .95rem; background: #fff; min-height: 52px;
}
.form .wpcf7-list-item label:has(input:checked) { border-color: var(--c-sub-d); border-width: 2px; background: var(--c-tint); }
.form .wpcf7-list-item input { width: 20px; height: 20px; accent-color: var(--c-main); }

/* 未記入のときの知らせ */
.form .wpcf7-not-valid-tip { color: #a3261c; font-size: .86rem; margin-top: 4px; }
.form .wpcf7-not-valid { border-color: #a3261c; }
.form .wpcf7-spinner { margin: 0 0 0 12px; }

/* 送信したあとの知らせ */
.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0; padding: 16px 18px; border-radius: var(--radius-s);
  border: 1px solid var(--c-line); font-size: .95rem; line-height: 1.8;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--c-sub-d); background: var(--c-tint); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #a3261c; background: #fdf4f3; }
