/* ==========================================================================
   みえる！おそうじ スタイルシート
   変数名・影・イージング・出現アニメは よりそいコネクト共通の /assets/css/site.css
   と揃えている。配色だけは独自：名刺に合わせて、白〜うすい水色の地に名刺の黄色をポイント、
   青をアクセントにした清潔感のある明るい系（2026-11-19 にライム・緑から変更）。ハンバーガー・出現アニメの動きは
   /assets/js/site.js をそのまま使うため、クラス名・ID もそちらに合わせている。
   構成：変数 / リセット / 共通部品 / 出現アニメ / ヘッダー / ファーストビュー /
        4つのみえる / できること / 料金 / 流れ / 作業事例 / 代表紹介 / 安心の情報 / そのほか /
        よくある質問 / お問い合わせ / フッター / 固定CTAバー / レスポンシブ
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. カスタムプロパティ（/assets/css/site.css と同じ値）
   -------------------------------------------------------------------------- */
:root {
  /* 2026-11-19 名刺（黄色の筆の帯・青の丸ゴシック）に合わせて配色を変更。
     青と黄色が補色でけんかしないよう「紺＋からし色」に寄せた（比較画像の調整1。紺は少し明るめ） */
  --color-primary: #F8D47C;        /* ベース：からし寄りの黄色（バナー・屋根・ボタンなどの面）。上の文字は --color-deep */
  --color-primary-hover: #F2C95F;
  --color-primary-line: #E6B54A;   /* 白地の上の細いライン用（黄色そのままだと白に溶ける） */
  --color-accent: #9DBBD6;         /* アクセント：くすんだ水色（枠線・点線） */
  --color-accent-dark: #256A97;    /* 紺寄りの青：リンク・小見出し・タイルなど（白地で 4.5:1 以上） */
  --color-accent-light: #E8F0F7;   /* 青（淡）：ラベル・バッジの面 */
  --color-line: #3A9E64;           /* LINE ブランドカラー（#06C755）の彩度を落としたもの。原色だと目がちかちかするため */
  --color-line-hover: #328A57;
  --color-bg: #FFFFFF;
  --color-bg-tint: #F3F7FB;        /* 背景：ごくうすい青（背景リズム用） */
  --color-text: #3A3530;           /* 名刺のイラストの線のような、こげ茶寄りの黒 */
  --color-text-light: #66707A;
  --color-border: #DDE6EF;
  --color-deep: #224868;           /* 紺：見出し・締めのセクション */
  --color-deep-2: #1A3A55;
  /* 色の役割（2026-11-19）：白・うすい青＝地、紺＝主役、からし色＝目印（キャンペーン・ボタン・番号・見出しの下線だけ）。
     からし色の面に細い線や小さい文字は乗せない */
  --color-primary-soft: #FBE3A6;   /* 黄色（淡）：フッター直前の「ご相談・お見積り」の面 */
  --color-number: #D9A42E;         /* 番号（01〜）：からし色を少し濃くして白地でも読めるように */
  --color-bubble: #BCD4E8;         /* 泡の輪：水色（黄色の輪はシミに見えるため） */
  --color-bubble-dot: #D3E4F1;
  --color-placeholder: #E4E7E5;    /* ダミー画像のグレー */

  --shadow-card: 0 1px 2px rgba(28, 52, 70, 0.05), 0 5px 16px rgba(28, 52, 70, 0.08);
  --shadow-card-hover: 0 12px 28px rgba(28, 52, 70, 0.14), 0 2px 6px rgba(28, 52, 70, 0.08);
  --ease: cubic-bezier(0.16, 0.7, 0.24, 1);

  --radius-card: 16px;
  --radius-btn: 999px;
  --header-height: 84px;           /* PCはメニュー2段ぶん。ハンバーガー幅では 64px に戻す */
  --cta-bar-height: 72px;
}

/* --------------------------------------------------------------------------
   2. リセット・ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* 見出しなど短い文だけ文節単位で改行する（言葉の途中で切れないように）。
   本文は日本語の原則どおり文字単位で詰めて折り返す（文節改行だと長い語句の手前で行が短く切れて不自然になる）。
   auto-phrase は Chrome 系のみ対応。ほかのブラウザでは普通の改行になる */
h1,
h2,
h3,
h4,
dt,
summary,
figcaption {
  word-break: auto-phrase;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: var(--color-accent-dark);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   3. 共通レイアウト・部品
   -------------------------------------------------------------------------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding: 96px 0;
}

.section-green {
  background: var(--color-bg-tint);
}

.section-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;   /* 名刺と同じ系統の丸ゴシック（2026-11-19） */
  font-size: clamp(24px, 17px + 1.4vw, 34px);
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 24px;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-primary-line);
  margin: 16px auto 0;
}

/* 見出しの下線は、画面に入ったら左から右へ線を引くように伸びる（2026-11-19。見出しの文字は動かさない）。
   h2 の .wipe は site.js が親要素の上端で判定して .is-visible を付ける */
html.js .section-title.wipe::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.6, 0.05, 0.3, 1) 0.2s;
}

html.js .section-title.wipe.is-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  html.js .section-title.wipe::after {
    transform: none;
    transition: none;
  }
}

.section-lead {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 48px;
}

/* 途中で改行させたくない語句（日本語の自動改行で語が割れるのを防ぐ） */
.nw {
  display: inline-block;
}

/* PC（901px以上）のときだけ効かせる改行 */
@media (max-width: 900px) {
  .br-pc {
    display: none;
  }
}

.note {
  font-size: 15px;
  color: var(--color-text-light);
}

/* アイコン置き場（<symbol> をまとめた SVG）。画面には出さない。
   display: none にすると一部のブラウザで <use> が描かれないので、大きさ0で隠す */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ダミー画像（ラベル付きのグレー枠）。写真が届いたら <img> に差し替える */
.ph-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--color-placeholder);
  border-radius: 12px;
  color: #6B716D;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  aspect-ratio: 4 / 3;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px var(--glow, rgba(28, 52, 70, 0.18));
}

.btn:active {
  transform: translateY(-1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-small {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-deep);
  --glow: rgba(235, 180, 50, 0.35);
  box-shadow: 0 3px 10px rgba(235, 180, 50, 0.25);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

/* LINE の緑のボタン */
.btn-line {
  background: var(--color-line);
  color: #fff;
  --glow: rgba(58, 158, 100, 0.3);
  box-shadow: 0 3px 10px rgba(58, 158, 100, 0.18);
}

.btn-line:hover {
  background: var(--color-line-hover);
}

.btn-outline {
  background: #fff;
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-light);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   4. スクロール出現アニメーション（site.js が .is-visible を付ける）
   -------------------------------------------------------------------------- */
html.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.js .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.js .rise {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .rise.is-visible {
  opacity: 1;
  transform: none;
}

.stagger > :nth-child(2) { transition-delay: 0.09s; }
.stagger > :nth-child(3) { transition-delay: 0.18s; }
.stagger > :nth-child(4) { transition-delay: 0.27s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .fade-in,
  html.js .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   5. ヘッダー・ナビゲーション
   -------------------------------------------------------------------------- */
/* ヘッダー（2026-11-19）：ページの一番上は名刺の黄色の帯（下の縁を拭き跡の形に切り抜き、少し下に垂らす）。
   スクロールで帯が見えなくなったら、header.js が .is-floating を付けて、白いヘッダーを画面の上に固定し、
   上からスッと出す */
.site-header {
  --header-wipe: clamp(18px, 3vw, 34px);
  position: relative;
  z-index: 100;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--header-wipe));
  background: var(--color-primary);
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--header-wipe)) no-repeat,
                url(../images/deco/wipe-edge-top.png) 0 100% / 100% var(--header-wipe) no-repeat;
  mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--header-wipe)) no-repeat,
        url(../images/deco/wipe-edge-top.png) 0 100% / 100% var(--header-wipe) no-repeat;
  pointer-events: none;
}

.site-header.is-floating {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: header-drop 0.35s var(--ease) both;
}

.site-header.is-floating::before {
  display: none;
}

/* 固定にしたぶん、本文が上に詰まらないよう余白を足す */
body.header-floating {
  padding-top: var(--header-height);
}

@keyframes header-drop {
  from { transform: translateY(-100%); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header.is-floating {
    animation: none;
  }
}

.site-header.is-floating .global-nav li:not(.nav-cta) a::after {
  background: var(--color-primary-line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1.3;
}

/* ロゴ置き場：画像が届いたら <img> に差し替える */
.site-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-deep);
  text-decoration: none;
  white-space: nowrap;
}

/* PCは2段：上段がサービス（大きめ）、下段がページ内の案内（小さめ・補助色） */
.global-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: auto;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.global-nav .nav-sub a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
}

.global-nav a {
  position: relative;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.global-nav li:not(.nav-cta) a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-deep);   /* 黄色のヘッダーの上では紺（白いヘッダーのときは下で黄色に） */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.global-nav li:not(.nav-cta) a:hover {
  color: var(--color-accent-dark);
}

.global-nav li:not(.nav-cta) a:hover::after {
  transform: scaleX(1);
}

/* メニュー内の LINE・電話（モバイルのメニューを開いたときだけ表示） */
.global-nav .nav-cta-list {
  display: none;
}

.header-cta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--color-deep);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. ファーストビュー
   -------------------------------------------------------------------------- */
/* ヘッダーの下から画面の下端までちょうど埋める（スマホは下の固定CTAバーぶんも引く） */
.hero {
  --hero-offset: var(--header-height);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--hero-offset));
  min-height: calc(100svh - var(--hero-offset));
  padding: 64px 0;
  background:
    radial-gradient(circle, rgba(110, 165, 205, 0.16) 1.5px, transparent 1.5px) 0 0 / 28px 28px,
    linear-gradient(180deg, #fff 0%, var(--color-bg-tint) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

/* ---------- 作業前・作業後の写真と泡 ----------
   見出しと説明文のあいだに、作業前 → 作業後 の順で矢印つきの横並びにする（全画面共通）。
   写真の幅・矢印の幅・上下の余白は下の変数で決め、画面サイズごとの値はファイル末尾で上書きする */
.hero-inner {
  --hero-gap: clamp(28px, 4.5vh, 56px);   /* 見出し・写真・説明文のあいだの余白 */
  --photo-w: clamp(220px, 34vh, 380px);   /* 写真カード1枚の幅（PCは画面の高さに合わせる） */
  --photo-gap: 28px;                      /* 写真と矢印のあいだ */
  --arrow-w: 48px;
}

.hero-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--photo-gap);
  margin: 0 auto var(--hero-gap);
  pointer-events: none;
  animation: hero-deco-in 1s ease 0.3s both;
}

@keyframes hero-deco-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 背景の泡（ヒーロー全体に散らす。文字のかたまりの後ろに来る） */
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: hero-deco-in 1s ease 0.3s both;
}

/* カードと、そのまわりの泡をひとまとめにする */
.hero-deco-group {
  position: relative;
  width: var(--photo-w);
  min-width: 0;
}

.hero-photo {
  margin: 0;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.hero-photo .ph-img {
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
}

.hero-deco-before .hero-photo {
  transform: rotate(-4deg);
}

.hero-deco-after .hero-photo {
  transform: rotate(4deg);
}

.hero-photos-arrow {
  flex-shrink: 0;
  width: var(--arrow-w);
  color: var(--color-accent-dark);
}

.hero-photos-arrow svg {
  display: block;
  width: 100%;
  height: auto;
}

/* 泡。--x / --y はカードの左上を基準にした位置（カードの幅・高さに対する%） */
.bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--s) * var(--bubble-scale, 1));
  height: calc(var(--s) * var(--bubble-scale, 1));
  border: 2px solid var(--color-bubble);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  animation: bubble-float 7s ease-in-out var(--d) infinite;
}

/* 泡のつやの線 */
.bubble:not(.bubble-dot)::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 18%;
  width: 36%;
  height: 36%;
  border-radius: 50%;
  border-top: 2px solid var(--color-bubble);
  transform: rotate(-40deg);
}

.bubble-dot {
  border: none;
  background: var(--color-bubble-dot);
}

@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photos,
  .hero-bubbles,
  .bubble {
    animation: none;
  }
}

/* ---------- スクロールで動く背景の泡（assets/js/bubbles.js が作る） ----------
   ヒーローの下からお問い合わせの上までの範囲。セクションの背景より手前、文字やカードより奥に置く */
main {
  position: relative;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.drift-bubbles {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.drift-bubble {
  position: absolute;
  top: 0;
  left: 0;
}

/* 見出しは文字の幅ぴったりの箱にする（キラキラを文字のまわりに散らすため） */
.hero-title {
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: clamp(28px, 18px + 2.8vw, 50px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-deep);
  font-feature-settings: "palt";   /* 「」、の空きを詰める */
  margin-bottom: var(--hero-gap, 28px);
}

/* 見出しの「、」の後ろの空きを詰める（丸ゴシックの読み込み方では palt が効かないため個別に詰める）。
   「、」自体に負の余白を付けると .nw の幅計算が合わず「、」だけ改行されるので、語句のまとまりごと詰める */
.hero-title .tc {
  margin-right: -0.4em;
}

/* 「すべて」は最初から少し大きく、下にパステルライムのマーカーが引いてある。
   JSの演出中だけマーカーを消し、最後にトランジションで引く（大きさは動かさない） */
.hero-accent {
  position: relative;
  z-index: 0;
  display: inline-block;
  font-size: 1.12em;
}

.hero-accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.2em;
  height: 0.32em;
  border-radius: 0.16em;
  background: var(--color-primary);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
}

/* ---------- 拭き取り演出（assets/js/hero.js） ----------
   汚れはJSが作るので、JSなしなら最初からきれいな見出しのまま。
   JSありでは汚れを載せるまで見出しを隠す（汚れのない文字が一瞬見えるのを防ぐ）。
   JSが失敗しても 3 秒後には必ず表示する。 */
html.js .hero-title {
  visibility: hidden;
  animation: hero-failsafe 0s linear 3s forwards;
}

html.js .hero-title.is-ready {
  visibility: visible;
  animation: none;
}

@keyframes hero-failsafe {
  to { visibility: visible; }
}

/* 演出前の状態へはトランジションなしで切り替える（最後に is-intro を外したときだけ動かす） */
html.js .hero-title.is-intro .hero-accent::after {
  transform: scaleX(0);
  transition: none;
}

.hero-title .dirty {
  position: relative;
  display: inline-block;
}

.dirt {
  position: absolute;
  pointer-events: none;
}

.dirt-blob {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dirt-blob.is-wiped {
  opacity: 0 !important;
  transform: scale(0.85) !important;
}

/* 布巾を持った手。transform は JS が毎フレーム書き換える */
.wiper {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 2.3em;
  height: 2.3em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(30, 76, 102, 0.12));
}

.wiper.is-on {
  opacity: 1;
}

.wiper svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sparkle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: sparkle 2s ease-in-out forwards;
}

.sparkle svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes sparkle {
  0%   { opacity: 0; transform: scale(0.4) rotate(0deg); }
  30%  { opacity: 1; transform: scale(1) rotate(15deg); }
  55%  { opacity: 0.6; transform: scale(0.85) rotate(25deg); }
  75%  { opacity: 1; transform: scale(1) rotate(35deg); }
  100% { opacity: 0; transform: scale(0.6) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce) {
  html.js .hero-title {
    visibility: visible;
    animation: none;
  }
}

.hero-text {
  width: fit-content;
  max-width: 46em;
  margin: 0 auto;
  font-size: 17px;
}

/* 説明文の冒頭のサービス名 */
.hero-brand {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--color-accent-dark);
}

/* --------------------------------------------------------------------------
   7. 4つの「みえる」
   PC：2×2 で、カードはアイコンを左・文章を右に置く横長レイアウト。
   タブレット：2×2 のまま、カードはアイコンを上に置く縦長レイアウト。
   スマホ：1列で、横長レイアウトを小さくしたもの
   -------------------------------------------------------------------------- */
.feature-lead {
  max-width: 57em;
  margin-left: auto;
  margin-right: auto;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);   /* アイコンの線は currentColor */
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-num {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-number);
  margin-bottom: 6px;
}

.feature-card h3 {
  font-size: 21px;
  line-height: 1.5;
  color: var(--color-deep);
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   7-2. できること（サービスメニュー）
   PC：ハウスクリーニング（広い）と空室清掃（狭い）を横に並べる。
   タブレット・スマホ：縦に並べる。対応できる場所はアイコンのタイルで一覧にする
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.service-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.service-card-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-dark);
}

.service-card-icon svg {
  stroke: #fff !important;
}

.service-card-head h3 {
  font-size: 21px;
  line-height: 1.4;
  color: var(--color-deep);
}

.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 20px 12px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.service-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--color-accent-light);
}

.service-card-icon svg,
.service-item-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--color-accent-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-deep);
  word-break: auto-phrase;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .service-card {
    padding: 24px 18px;
  }

  .service-card-icon {
    width: 48px;
    height: 48px;
  }

  .service-card-icon svg {
    width: 26px;
    height: 26px;
  }

  .service-items {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 18px 8px;
  }

  .service-item-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .service-item-label {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   8. 料金（カードのカルーセル）
   一度に見える枚数は --per-view で決める（PC 4枚 → 3枚 → タブレット 2枚 → スマホ 1枚＋次を少し見せる）。
   横スクロール＋scroll-snap で動くので、左右ボタン（price-carousel.js）がなくてもスワイプで見られる
   -------------------------------------------------------------------------- */
.price-carousel {
  --per-view: 4;
  --gap: 20px;
  position: relative;
  max-width: 1040px;
  margin: 0 auto 24px;
}

.price-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* カードの影が切れないよう上下左右に少し余白を取り、その分を外側の負の余白で打ち消す */
  padding: 8px 6px 20px;
  margin: 0 -6px;
  /* 吸着位置も左右の余白ぶんずらす（ずらさないと先頭で6pxスクロールした状態になり「前へ」が消えない） */
  scroll-padding: 0 6px;
}

.price-track::-webkit-scrollbar {
  display: none;
}

.price-track:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-card);
}

.price-card {
  display: flex;
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding-bottom: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  scroll-snap-align: start;
}

/* カード上部いっぱいの写真。高さはカード全体の6割ほど。
   カードが縦長になりすぎないよう、カード幅に応じて PC は 10:9、その間の幅は 3:2、スマホは 6:5 に切り抜く */
.price-card-photo {
  width: 100%;
  aspect-ratio: 10 / 9;
  background: var(--color-placeholder);
}

@media (min-width: 601px) and (max-width: 1139px) {
  .price-card-photo {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 600px) {
  .price-card-photo {
    aspect-ratio: 6 / 5;
  }
}

.price-card-photo img,
.price-card-photo .ph-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  aspect-ratio: auto;
}

.price-card h3 {
  margin: 14px 16px 4px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-deep);
}

.price-card h3 small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
}

.price-card-price {
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-deep);
}

.price-card-num {
  margin-right: 2px;
  font-size: 32px;
  color: var(--color-accent-dark);
}

/* 金額の下の注記（キャンペーン価格・税込）。1行で小さく置く */
.price-card-tax {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-light);
}

/* 詳しい料金案内ページへのリンク（右向き矢印つき） */
.price-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 4px 14px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.price-card-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.price-card-link:hover {
  background: var(--color-accent-light);
}

/* 左右ボタン（JSが動くときだけ出す） */
.price-carousel-btn {
  display: none;
  position: absolute;
  top: calc(50% - 6px);
  z-index: 1;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}

html.js .price-carousel-btn {
  display: flex;
}

.price-carousel-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-deep);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-carousel-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

.price-carousel-prev {
  left: -22px;
}

.price-carousel-next {
  right: -22px;
}

/* カルーセルの下の「料金の一覧を見る」ボタン */
.price-more {
  margin-top: 8px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .price-track {
    scroll-behavior: auto;
  }
}

@media (max-width: 1139px) {
  .price-carousel {
    --per-view: 3;
  }

  /* 画面の端に余白がないので、ボタンをカードの上に重ねる */
  .price-carousel-prev {
    left: -8px;
  }

  .price-carousel-next {
    right: -8px;
  }
}

@media (max-width: 900px) {
  .price-carousel {
    --per-view: 2;
  }
}

@media (max-width: 600px) {
  /* 1枚＋次のカードの端を少し見せて、横に続くことを伝える */
  .price-carousel {
    --per-view: 1.3;
    --gap: 14px;
  }

  .price-carousel-btn {
    width: 38px;
    height: 38px;
  }
}

/* --------------------------------------------------------------------------
   9. 作業の流れ
   -------------------------------------------------------------------------- */
/* カードの枠や番号の丸は使わず、大きな数字（01〜06）とライム色の点線で流れを見せる。
   タブレット・スマホ：数字を左に置き、点線で縦につなぐ。
   PC：横3つ×2段に並べ、同じ段の数字のあいだを点線で横につなぐ */
.flow-list {
  max-width: 760px;
  margin: 0 auto;
}

.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding-bottom: 32px;
}

/* 数字の下から次の数字までの縦の点線 */
.flow-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 8px;
  left: 22px;
  border-left: 2px dashed var(--color-accent);
}

.flow-num {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-number);
}

.flow-body {
  padding-top: 4px;
}

.flow-body h3 {
  font-size: 19px;
  color: var(--color-deep);
  margin-bottom: 4px;
}

@media (min-width: 901px) {
  /* 1段目（01〜03）と2段目（04〜06）のあいだに、折り返しの点線を通す行（56px）をはさむ */
  .flow-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto 56px auto;
    column-gap: 56px;
    max-width: 1040px;
  }

  .flow-item {
    display: block;
    padding-bottom: 0;
  }

  .flow-item:nth-child(-n+3) {
    grid-row: 1;
  }

  .flow-item:nth-child(n+4) {
    grid-row: 3;
  }

  /* 03→04 の折り返し。曲がり角がすべて丸くなるよう、角ごとに部品を分けて描く。
     段のあいだの行（56px）の真ん中＝段の下から 28px の高さを横切る。文字の上は通らない
     ① 03 の ::after：03 の数字から右へ → 右上の角 → 右端を下りる（段のあいだの行の 14px まで）
     ② 一覧の ::before：右端の続きを下りる → 右下の角 → 真ん中を左へ
     ③ 04 の ::after：左上の角 → 左端を下りる → 左下の角 → 04 の数字へ入る */
  .flow-item:nth-child(3)::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 80px;
    right: -24px;
    bottom: -14px;
    border-top: 2px dashed var(--color-accent);
    border-right: 2px dashed var(--color-accent);
    border-top-right-radius: 14px;
  }

  .flow-list::before {
    content: "";
    grid-row: 2;
    grid-column: 1 / -1;
    align-self: start;
    height: 14px;
    margin: 14px -24px 0 -10px;
    border-right: 2px dashed var(--color-accent);
    border-bottom: 2px dashed var(--color-accent);
    border-bottom-right-radius: 14px;
  }

  .flow-item:nth-child(4)::after {
    content: "";
    position: absolute;
    top: -28px;
    left: -24px;
    width: 18px;
    height: 52px;
    border-top: 2px dashed var(--color-accent);
    border-left: 2px dashed var(--color-accent);
    border-bottom: 2px dashed var(--color-accent);
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
  }

  /* 折り返しの点線は、段の中の点線よりかなり薄くして目立ちすぎないようにする */
  .flow-item:nth-child(3)::after,
  .flow-list::before,
  .flow-item:nth-child(4)::after {
    opacity: 0.25;
  }

  /* スマホ用の縦の点線は消し、数字の右から同じ段の次の数字の手前までの横の点線にする
     （段の終わりと最後の項目には引かない） */
  .flow-item:not(:last-child)::before {
    display: none;
  }

  .flow-item:not(:nth-child(3n)):not(:last-child)::before {
    display: block;
    top: 24px;
    bottom: auto;
    left: 80px;
    right: -44px;
    border-left: none;
    border-top: 2px dashed var(--color-accent);
  }

  .flow-num {
    display: block;
    margin-bottom: 14px;
    font-size: 48px;
  }

  .flow-body {
    padding-top: 0;
  }

  .flow-body h3 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.5;
  }
}

/* 画面の左右に余白が少ない幅では、折り返しの点線が画面からはみ出さないよう全体を内側に寄せる */
@media (min-width: 901px) and (max-width: 1139px) {
  .flow-list {
    padding: 0 28px;
  }
}

/* --------------------------------------------------------------------------
   10. 作業事例
   -------------------------------------------------------------------------- */
/* 工程順の写真5枚。PC・タブレットは3枚＋2枚（2段目は中央に寄せる）、スマホは縦1列 */
.case-steps {
  --per-row: 3;
  --gap-x: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px var(--gap-x);
  list-style: none;
}

.case-step {
  flex: 0 0 calc((100% - var(--gap-x) * (var(--per-row) - 1)) / var(--per-row));
}

.case-step figure {
  margin: 0;
}

.case-step figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
}

/* 写真の名前（作業前・養生…）をライム色の札にする */
.case-step-label {
  display: table;
  margin-bottom: 6px;
  padding: 2px 12px;
  border-radius: var(--radius-btn);
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  font-weight: 700;
}

.case-more {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 600px) {
  .case-steps {
    --per-row: 1;
    row-gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   11. 代表紹介
   -------------------------------------------------------------------------- */
.profile {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

.profile-photo {
  text-align: center;
}

.profile-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.profile-name {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 700;
}

.profile-role {
  font-size: 14px;
  color: var(--color-text-light);
}

.profile-body p + p {
  margin-top: 1em;
}

/* --------------------------------------------------------------------------
   12. 安心の情報
   -------------------------------------------------------------------------- */
.info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.info-item {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

/* カードの中の注意事項（行頭の点をぶら下げて、2行目以降の頭をそろえる） */
.info-points {
  list-style: none;
  font-size: 15px;
}

.info-points li {
  position: relative;
  padding-left: 1em;
}

.info-points li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0.1em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.info-points li + li {
  margin-top: 8px;
}

.info-item dt {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 8px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. 法人のお客様へ
   -------------------------------------------------------------------------- */
/* 説明文のすぐ下にボタンを置くので、説明文の下の余白を詰める（スマホ用の .section-lead の指定より優先させる） */
.section-lead.business-lead {
  margin-bottom: 28px;
}

.business-cta {
  text-align: center;
}

/* --------------------------------------------------------------------------
   14. よくある質問（details / summary）
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 18px 56px 18px 52px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-a::before {
  position: absolute;
  left: 18px;
  font-size: 18px;
  font-weight: 700;
}

.faq-item summary::before {
  content: "Q";
  top: 17px;
  color: var(--color-accent-dark);
}

/* 開閉の＋／− */
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-accent-dark);
  border-bottom: 2px solid var(--color-accent-dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-a {
  position: relative;
  padding: 0 24px 20px 52px;
}

.faq-a::before {
  content: "A";
  top: -1px;
  color: var(--color-accent-dark);
}

/* 回答の下のリンク（枠の中の右下に置く。矢印は「詳しく見る」と同じ山形） */
.faq-more {
  margin-top: -8px;
  padding: 0 24px 20px 52px;
  text-align: right;
}

.faq-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.faq-more a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   15. お問い合わせ（ダーク締めセクション）
   -------------------------------------------------------------------------- */
/* 締めのセクション（ご相談・お見積り）はフッターより少し薄い黄色（2026-11-19。それまでは紺のグラデーション）。
   すぐ下のフッターが黄色で、上の縁の拭き跡がこのセクションに食い込む */
.section-dark {
  background: var(--color-primary-soft);
  color: var(--color-text);
}

.section-dark .section-eyebrow,
.section-dark .section-title {
  color: var(--color-deep);
}

.section-dark .section-lead {
  color: var(--color-text);
}

.section-dark .btn-ghost {
  background: #fff;
  color: var(--color-deep);
  border-color: var(--color-deep);
}

.section-dark .btn-ghost:hover {
  background: var(--color-accent-light);
}

.contact-btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-btns .btn {
  min-height: 64px;
  font-size: 19px;
}

.contact-meta {
  text-align: center;
  font-size: 15px;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   16. フッター
   -------------------------------------------------------------------------- */
/* フッターは黄色の帯（2026-11-19。それまでは紺）。上の縁を拭き跡の形にして、すぐ上の
   「ご相談・お見積り」（少し薄い黄色）に食い込ませる。波の形はフッターだけに描く */
.site-footer {
  position: relative;
  padding: 56px 0 28px;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 14px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: clamp(24px, 4vw, 48px);
  background: var(--color-primary);
  -webkit-mask: url(../images/deco/wipe-edge-bottom.png) 0 100% / 100% 100% no-repeat;
  mask: url(../images/deco/wipe-edge-bottom.png) 0 100% / 100% 100% no-repeat;
  pointer-events: none;
}

/* 3列（左：サービス名／中央：メニュー／右：運営） */
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "brand nav operator";
  gap: 32px 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(34, 72, 104, 0.18);
}

.footer-brand {
  grid-area: brand;
}

.footer-logo {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-deep);
}

/* メニューはヘッダーと同じ2つのまとまりを、縦3行×2列で並べる */
.footer-nav {
  grid-area: nav;
}

.footer-nav ul {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  justify-content: start;
  gap: 10px 32px;
}

.footer-operator {
  grid-area: operator;
  text-align: right;
}

.footer-operator-name {
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--color-deep);
}

.footer-operator li + li {
  margin-top: 10px;
}

.site-footer a {
  color: var(--color-deep);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-deep-2);
  text-decoration: underline;
}

.footer-operator-name a {
  color: var(--color-deep);
}

.footer-copy {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  opacity: 0.75;
}

/* 3列が入りきらない幅：サービス名と運営を上の段の左右に、メニューを下の段に置く */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand operator"
      "nav   nav";
  }
}

/* --------------------------------------------------------------------------
   17. 固定CTAバー（スマホのみ）
   -------------------------------------------------------------------------- */
.cta-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   18. レスポンシブ
   -------------------------------------------------------------------------- */
/* ヘッダーのメニューが入りきらない幅からハンバーガーに切り替える */
@media (max-width: 1040px) {
  :root {
    --header-height: 64px;
  }

  .hamburger {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .global-nav li:not(.nav-cta) a {
    display: block;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
  }

  .global-nav li:not(.nav-cta) a::after {
    display: none;
  }

  .global-nav .nav-cta-list {
    display: flex;
  }

  .nav-cta {
    padding: 16px 24px 0;
  }

  .global-nav .nav-cta a {
    display: flex;
    padding: 12px 24px;
    font-size: 17px;
  }

  .global-nav .nav-cta .btn-primary {
    color: var(--color-deep);
  }

  .global-nav .nav-cta .btn-line {
    color: #fff;
  }

  .global-nav .nav-cta .btn-outline {
    color: var(--color-accent-dark);
  }
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .info-list {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .feature-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 24px;
  }

  .profile {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: calc(var(--cta-bar-height) + env(safe-area-inset-bottom));
  }

  .section {
    padding: 64px 0;
  }

  .section-lead {
    text-align: left;
    margin-bottom: 36px;
  }

  .hero {
    --hero-offset: calc(var(--header-height) + var(--cta-bar-height) + env(safe-area-inset-bottom));
    padding: 48px 0;
  }

  .hero-text {
    text-align: left;
    font-size: 16px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding: 24px 20px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
  }

  .feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .feature-card h3 {
    font-size: 19px;
  }

  .contact-btns {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "operator";
  }

  .footer-nav ul {
    gap: 12px 24px;
  }

  .footer-operator {
    text-align: left;
  }

  /* スマホ画面下に LINE・電話を常に表示 */
  .cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    min-height: var(--cta-bar-height);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  }

  .cta-bar .btn {
    min-height: 0;
    padding: 8px 12px;
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   19. ファーストビューの大きさ（画面サイズごと）
   縦に長い画面で上下の余白が寂しくならないよう、写真と余白は画面の高さ（vh）に合わせて大きくする
   -------------------------------------------------------------------------- */
/* タブレット：文字と写真をひとまわり大きく */
@media (min-width: 601px) and (max-width: 1239px) {
  /* 写真の幅は「画面幅に2枚＋矢印が収まる幅（100px ＝ 矢印 44px ＋ すきま 28px × 2）」と
     「画面の高さの32%」の小さいほう */
  .hero-inner {
    --photo-w: clamp(220px, min((100% - 100px) / 2, 32vh), 480px);
    --hero-gap: clamp(32px, 6vh, 88px);
    --arrow-w: 44px;
  }

  .hero-title {
    font-size: clamp(40px, min(22px + 3.6vw, 5.2vh), 68px);
  }

  .hero-text {
    font-size: clamp(19px, 1.6vh, 22px);
  }

  .hero-photo .ph-img {
    font-size: 15px;
  }
}

/* 縦向きのタブレット：写真を正方形にして高さを出す */
@media (min-width: 601px) and (max-width: 1239px) and (orientation: portrait) {
  .hero-photo .ph-img {
    aspect-ratio: 1 / 1;
  }
}

/* スマホ：写真2枚と矢印を画面幅いっぱいに並べる（44px ＝ 矢印 28px ＋ すきま 8px × 2） */
@media (max-width: 600px) {
  .hero-inner {
    --photo-w: min(calc((100% - 44px) / 2), 190px);
    --photo-gap: 8px;
    --arrow-w: 28px;
    --hero-gap: clamp(24px, 4.5vh, 48px);
  }

  /* 1行が約11.5文字ぶんの幅なので、画面幅（左右の余白 40px を除く）÷ 11.5 で2行に収める */
  .hero-title {
    font-size: clamp(26px, (100vw - 40px) / 11.5, 36px);
  }

  .hero-deco-group {
    --bubble-scale: 0.7;
  }

  .hero-photo {
    padding: 6px;
  }

  .hero-photo .ph-img {
    padding: 4px;
    font-size: 11px;
  }
}

/* 縦に長いスマホ：写真を正方形にして高さを出し、余白と説明文も少し大きくする */
@media (max-width: 600px) and (min-height: 820px) {
  .hero-inner {
    --hero-gap: clamp(28px, 6vh, 64px);
  }

  .hero-photo .ph-img {
    aspect-ratio: 1 / 1;
  }

  .hero-text {
    font-size: 17px;
  }
}

/* 高さの低いスマホ（iPhone SE など）：写真と余白を小さくしてヒーローを画面内に収める */
@media (max-width: 600px) and (max-height: 700px) {
  .hero {
    padding: 32px 0;
  }

  .hero-inner {
    --hero-gap: 20px;
    --photo-w: min(calc((100% - 44px) / 2), 130px);
  }
}

/* --------------------------------------------------------------------------
   LINE予約の500円OFFクーポン（トップ・サービス一覧・詳細ページ共通。2026-11-22）
   切り取り線のチケット風。からし色の面には大きい文字だけを置く
   -------------------------------------------------------------------------- */
.coupon-card {
  --notch-bg: #fff;   /* 半円の切り欠きは、置いた場所の背景色で塗る */
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  max-width: 720px;
  margin: 20px auto 28px;
  background: #fff;
  border: 2px solid var(--color-accent-dark);
  border-radius: var(--radius-card);
}

/* 左右の縦線の真ん中に半円の切り欠き（チケットの形）。
   円は枠線の上に重ねて、半円の部分の枠線は円の地の色で消す */
.coupon-card::before,
.coupon-card::after,
.coupon-stub::before,
.coupon-stub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -14px;
  border: 2px solid var(--color-accent-dark);
  border-radius: 50%;
  background: var(--notch-bg);
  z-index: 2;   /* 黄色の面より上に重ねる */
}

.coupon-card::before,
.coupon-stub::before {
  left: -15px;
  clip-path: inset(0 0 0 13px);
}

.coupon-card::after,
.coupon-stub::after {
  right: -15px;
  clip-path: inset(0 13px 0 0);
}

/* スマホ用の切り欠き（区切りの点線の両端）は、PCでは出さない */
.coupon-stub::before,
.coupon-stub::after {
  display: none;
}

.section-green .coupon-card {
  --notch-bg: var(--color-bg-tint);
}

.coupon-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  background: var(--color-primary);
  border-right: 3px dotted var(--color-accent-dark);
  border-radius: calc(var(--radius-card) - 2px) 0 0 calc(var(--radius-card) - 2px);
  color: var(--color-deep);
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.coupon-stub-top,
.coupon-stub-bottom {
  font-size: 16px;
}

.coupon-stub-num {
  font-size: 36px;
  letter-spacing: -0.02em;
}

.coupon-stub-num small {
  font-size: 18px;
}

.coupon-body {
  padding: 16px 20px;
  text-align: left;
}

.coupon-title {
  word-break: auto-phrase;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-deep);
}

.coupon-text {
  margin-top: 4px;
  font-size: 14px;
  color: var(--color-text);
}

.coupon-btn {
  margin-top: 10px;
}

@media (max-width: 600px) {
  .coupon-card {
    grid-template-columns: 1fr;
  }

  /* スマホは区切りの点線（横）の両端に切り欠きを置く */
  .coupon-card::before,
  .coupon-card::after {
    display: none;
  }

  .coupon-stub::before,
  .coupon-stub::after {
    display: block;
    top: auto;
    bottom: -15.5px;
    margin-top: 0;
  }

  .coupon-stub::before {
    left: -15px;
  }

  .coupon-stub::after {
    right: -15px;
  }

  .coupon-stub {
    flex-direction: row;
    gap: 6px;
    align-items: baseline;
    border-right: 0;
    border-bottom: 3px dotted var(--color-accent-dark);
    border-radius: calc(var(--radius-card) - 2px) calc(var(--radius-card) - 2px) 0 0;
  }

  .coupon-stub-num {
    font-size: 30px;
  }

  .coupon-body {
    padding: 14px 16px 16px;
  }

  .coupon-title {
    font-size: 16px;
  }
}
