/* ==========================================================================
   カスタマーサポート特設サイト / トップ（.sp-top のあるページだけに効く）
   v0.3（2026-10-12）：急いでいる人がすぐ動けるものだけに削った版。ファーストビューはセンタリング
   全部入りの v0.2 は 09_旧版/トップ_v0.2_モックアップ全部入り/。色は sp-base.css の :root
   ========================================================================== */

/* トップは本文を画面いっぱいに使う：Lightning の本文の上下の余白をなくす */
body:has(.sp-top) .site-body{ padding-top: 0; padding-bottom: 0; background: var(--sp-bg); }
body:has(.sp-top) .entry-body{ margin: 0; }
body:has(.sp-top) .main-section{ margin-bottom: 0; }   /* フッターの上に白い隙間が出ないように（Lightning がスマホで 28px 付ける） */
body:has(.sp-top) .site-footer{ margin-top: 0; }

.sp-top{ font-size: 15px; line-height: 1.75; }
.sp-center{ text-align: center; }
.sp-narrow{ max-width: 960px; }


/* ---- ファーストビュー ------------------------------------------------------
   v0.17.0（2026-10-14 わただ）：PC は H1 を画面の上下のまん中に置き、その下に「タグ＋検索欄」→「調べ方のボタン3つ」を順に並べる。
   ボタンは大きなすりガラスのカード3つ（モスバーガーの「モスのおいしさのために」の形を写真なしで）。H1 → 検索 → ボタンの順に下からふわっと出す。
   電話の行（お電話・フォームでのご相談）はファーストビューから外した（それまでの「最初の画面に必ず入れる」はやめた。
   電話はすぐ下の「お電話・フォームでのご相談」の帯と、ヘッダーのお問合せ、スマホのヘッダーの2段目にある）。
   ヒーローの高さ＝画面の高さ − ヘッダー（--sp-hdr は sp.js が測って入れる。管理バーの分も含む） */
.sp-hero{
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: var(--sp-deep);
  min-height: calc(100vh - var(--sp-hdr, 70px));
  min-height: calc(100svh - var(--sp-hdr, 70px));
  display: flex; align-items: center;
}
/* 写真のスライド。is-on の1枚だけ見える。ゆっくり寄っていく（動きを減らす設定の人には止める） */
.sp-hero-slides{ position: absolute; inset: 0; }
.sp-hero-bg{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  opacity: 0; transition: opacity 1.2s ease;
}
.sp-hero-bg.is-on{ opacity: 1; animation: sp-kb 12s linear both; }
@keyframes sp-kb{ from{ transform: scale(1.02); } to{ transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce){
  .sp-hero-bg{ transition: none; }
  .sp-hero-bg.is-on{ animation: none; }
}
/* 文字を真ん中に置くので、写真の上は全体を均一に暗くする（真ん中を少しだけ濃く） */
.sp-hero-veil{
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at center, rgba(28,47,49,.62) 0%, rgba(28,47,49,0) 100%),   /* 文字の後ろの写真（ロゴなど）がうるさくならないよう、真ん中を濃く */
    linear-gradient(rgba(28,47,49,.6), rgba(24,66,66,.66));
}
.sp-hero-veil::after{ /* 方眼（設計図の雰囲気） */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
}
/* 切り替えの点（sp.js が作る） */
.sp-dots{ position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 14px; display: flex; gap: 8px; }
.sp-dots button{ width: 9px; height: 9px; padding: 0; border: 0; border-radius: 6px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s; }
.sp-dots button[aria-current="true"]{ width: 26px; background: #fff; }

.sp-hero-in{ position: relative; width: 100%; }
.sp-hero-in > *{ margin: 0 !important; width: 100%; }

/* ① H1 */
.sp-top h1{
  color: #fff;
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.3; font-weight: 900; letter-spacing: .02em;   /* 2026-10-14 わただ：大きく、全部白（「信頼」の色分けはやめた） */
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  word-break: auto-phrase;   /* 意味のまとまりで折り返す（スマホで「24時間／受付」と切れないように） */
}
.sp-h1-l{ display: inline-block; }   /* 折り返すなら「現場を止めない、／信頼のサポート。」の間だけ（「信頼の／サポート」と切れないように） */

/* ② タグ＋検索欄（ひとまとまり。タグが上） */
.sp-findbox{ max-width: 900px; }   /* タグがPCで1行に収まる幅。検索欄は 640px で真ん中 */
/* タグ（丸い枠に「#」。2026-10-12 わただの参考画像に合わせた）。PC は写真の上なので白い線と白い文字 */
.sp-tags{ list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sp-tags li{ margin: 0; }   /* Lightning が li に付ける上下の余白を消す */
.sp-tags a{
  display: block; background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.75); border-radius: 999px;
  font-size: 12.5px; line-height: 1.4; padding: 5px 13px; white-space: nowrap; transition: background .15s, color .15s;
}
.sp-tags a::before{ content: "#"; margin-right: 2px; opacity: .8; }
.sp-tags a:hover{ background: #fff; color: var(--sp-deep); }
/* 検索欄（ABEMA のヘルプの検索欄のような、白い細い枠の丸い欄＋左に虫めがね）
   検索ボタンは画面に出さない（Enter・スマホのキーボードの「検索」で送る。読み上げ用には残す） */
.sp-search{
  position: relative; display: flex; align-items: center; gap: 10px;
  max-width: 640px; margin: 0 auto;
  background: #fff; border: 1px solid #d8e4e2; border-radius: 999px;
  padding: 0 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.sp-search .sp-ic{ font-size: 18px; color: #8a9a98; flex: none; }
.sp-search input{
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: var(--sp-ink); font-size: 15px; padding: 14px 0; box-shadow: none;
}
.sp-search input::placeholder{ color: #9aa8a6; }
.sp-search:focus-within{ border-color: var(--sp-main); box-shadow: 0 0 0 3px rgba(127,216,207,.45), 0 10px 30px rgba(0,0,0,.25); }

/* ---- PC（641px 以上）：H1 をまん中に、その下に検索と白いカードのボタン3つ（v0.17.0。v0.19.0 ですりガラス → 白いカード） ---- */
@media (min-width: 641px){
  /* 上の空き（::before）と下のまとまりに同じだけ伸びてもらい、H1 を上下のまん中に置く。
     低い画面で下のまとまりが入りきらないときは、上の空きが縮んで H1 が上に上がる（ボタンまで最初の画面に入れるため） */
  .sp-hero-in{
    display: flex; flex-direction: column; align-items: center;
    min-height: calc(100vh - var(--sp-hdr, 70px)); min-height: calc(100svh - var(--sp-hdr, 70px));
    padding: 24px 28px 40px;   /* 左右はヘッダーのロゴ・お問合せの端にそろえる（1199px 以下。外側の箱が左右に 8px ずつはみ出しているので 20 + 8） */
  }
  /* H1 の上の空き。下のまとまりと同じだけ伸びる。いちばん下（H1 のすぐ上）に英字の小見出し */
  .sp-hero-top{ flex: .85 1 0; min-height: 12px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: clamp(10px, 2vh, 18px); }
  .sp-hero-top .sp-hero-kicker{
    margin: 0 !important; color: var(--sp-hl); font-size: 14px; font-weight: 800; letter-spacing: .32em; line-height: 1.4;
    text-shadow: 0 1px 10px rgba(0,0,0,.35); animation: sp-up .8s cubic-bezier(.2,.7,.2,1) backwards;
  }

  /* 右上のバナー：本日は営業日／休業日（右端はヘッダーの「お問合せ」の右端にそろえる＝.sp-hero-in の左右の余白と同じ） */
  .sp-today{
    position: absolute; z-index: 3; top: 22px; right: 28px; width: auto !important;
    display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center;
    padding: 12px 16px 12px 18px; border-radius: 14px; text-decoration: none; text-align: left;
    background: #fff; color: var(--sp-ink);   /* 白い札（v0.19.0。下のボタン3つ・本文のカードと同じ仲間に） */
    box-shadow: 0 2px 4px rgba(14,27,44,.08), 0 12px 28px rgba(14,27,44,.18); transition: background .2s, transform .2s;
    animation: sp-in-r .8s cubic-bezier(.2,.7,.2,1) .9s backwards;   /* ボタンのあとに右から出てくる */
  }
  .sp-today:hover{ background: #f5f9f8; color: var(--sp-ink); transform: translateY(-2px); }
  /* 選択中の印（キーボード操作・ページを戻ったとき）。写真の上なので白い細い線。ボタン3つも同じ */
  .sp-today:focus, .sp-entry a:focus{ outline: none; }
  .sp-today:focus-visible, .sp-entry a:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }
  .sp-today::before{   /* 点（営業日は緑、休業日はオレンジ） */
    content: ""; grid-row: 1 / span 3; width: 12px; height: 12px; border-radius: 50%;
    background: #22a06b; box-shadow: 0 0 0 5px rgba(34,160,107,.18);   /* 白地でも見える濃さ */
  }
  .sp-today.is-off::before{ background: #f2b25c; box-shadow: 0 0 0 5px rgba(242,178,92,.25); }
  .sp-today::after{   /* › */
    content: ""; grid-column: 3; grid-row: 1 / span 3; width: 8px; height: 8px;
    border-right: 2px solid var(--sp-main); border-bottom: 2px solid var(--sp-main); transform: rotate(-45deg);
  }
  .sp-today span, .sp-today b, .sp-today small{ grid-column: 2; display: block; }
  .sp-today span{ font-size: 12px; color: var(--sp-sub); letter-spacing: .02em; }
  .sp-today b{ font-size: 17px; font-weight: 800; line-height: 1.35; }
  .sp-today small{ font-size: 12px; color: var(--sp-sub); }
  .sp-top h1{ flex: none; }
  .sp-hero-below{
    flex: 1.15 1 0; width: 100%;   /* 上の空き .85 : 下 1.15 → H1 はまん中より気持ち上（中心が画面の 4 割ほど。2026-10-14 わただ） */
    display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 4.5vh, 44px);
    padding-top: clamp(32px, 7.5vh, 84px);   /* H1 と検索（タグ）の間は余白ではっきり仕切る（わただ） */
  }
  .sp-hero-below > *{ width: 100%; }

  /* 調べ方のボタン3つ：白いカード（v0.19.0。2026-10-15 わただ：すりガラスはヒーローだけ浮いてテイストが違う → 下層ページのカードと同じ白・角丸 16px・影）。
     まん中に見出しと説明、右下に「›」の丸 */
  .sp-entry{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: none; }   /* 横幅はヘッダーと同じ（ロゴの左端〜お問合せの右端。2026-10-14 わただ：横幅いっぱいに） */
  .sp-entry a{
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: clamp(128px, 18vh, 176px); padding: 26px 30px 28px; text-align: center;
    color: var(--sp-ink); font-weight: 800; font-size: 19px; line-height: 1.4; text-decoration: none;
    background: #fff; border-radius: 16px;
    box-shadow: 0 2px 4px rgba(14,27,44,.08), 0 14px 34px rgba(14,27,44,.18);
    transition: background .2s, transform .2s, box-shadow .2s;
  }
  .sp-entry a:hover{ background: #f5f9f8; transform: translateY(-3px); box-shadow: 0 4px 8px rgba(14,27,44,.1), 0 20px 44px rgba(14,27,44,.24); color: var(--sp-ink); }
  .sp-entry .sp-ic{ font-size: 30px; flex: none; color: var(--sp-main); }
  .sp-entry span{ display: block; }
  .sp-entry small{ display: block; margin-top: 4px; font-weight: 500; font-size: 13px; color: var(--sp-sub); }
  .sp-entry i{ position: absolute; right: 12px; bottom: 12px; width: 26px; height: 26px; background: var(--sp-main); border-radius: 50%; }
  .sp-entry i::after{
    content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 8px;
    border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
  }
  /* アラームはいちばん急ぐ人の入口なので、これだけ塗り（下層ページの「大事な行動だけ塗り」と同じ考え方） */
  .sp-entry .sp-e-main{ background: var(--sp-main); color: #fff; }
  .sp-entry .sp-e-main:hover{ background: var(--sp-main-2); color: #fff; }
  .sp-entry .sp-e-main .sp-ic{ color: #fff; }
  .sp-entry .sp-e-main small{ color: rgba(255,255,255,.85); }
  .sp-entry .sp-e-main i{ background: #fff; }
  .sp-entry .sp-e-main i::after{ border-color: var(--sp-main); }

  /* 順繰りに表示：H1 → 検索 → ボタン1・2・3（下からふわっと）。終わったら何も残さない（backwards。ホバーの動きとぶつからないように） */
  .sp-top h1, .sp-findbox, .sp-entry a{ animation: sp-up .8s cubic-bezier(.2,.7,.2,1) backwards; }
  .sp-findbox{ animation-delay: .25s; }
  .sp-entry a:nth-child(1){ animation-delay: .45s; }
  .sp-entry a:nth-child(2){ animation-delay: .55s; }
  .sp-entry a:nth-child(3){ animation-delay: .65s; }
}
@media (min-width: 1200px){
  .sp-hero-in{ padding-left: 5px; padding-right: 5px; }   /* 1200px 以上：ヘッダーの中身（1140px の箱の内側）の端にそろえる */
  .sp-today{ right: 5px; }
}
@keyframes sp-in-r{ from{ opacity: 0; transform: translateX(24px); } to{ opacity: 1; transform: none; } }
@keyframes sp-up{ from{ opacity: 0; transform: translateY(18px); } to{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){
  .sp-top h1, .sp-findbox, .sp-entry a, .sp-today, .sp-hero-kicker{ animation: none !important; }
}
/* 低い画面（ノートPC など）：H1 とボタンを少し小さく */
@media (max-height: 720px) and (min-width: 641px){
  .sp-top h1{ font-size: clamp(30px, 3.8vw, 46px); }
  .sp-search input{ padding: 11px 0; }
  .sp-entry a{ min-height: 118px; padding: 22px 26px 24px; font-size: 17px; }
}


/* ---- セクション ------------------------------------------------------------
   v0.19.0（2026-10-15 わただ）：ヒーローの下は下層ページと同じ型。灰色の地に白いカード、見出しは左寄せの「日本語＋英字＋細い線」（.sp-sh）。
   3つのセクションは同じ幅（.sp-narrow 960px）、セクションの間は広め（PC 72px・スマホ 52px） */
.sp-blk{ padding: 72px 0 0; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); background: #eef2f2; }  /* 面を画面の端まで */
.sp-blk:last-child{ padding-bottom: 88px; }
.sp .sp-sh{
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  margin: 0 2px 16px; padding: 0; border: 0; background: none; text-align: left;
  font-size: 18px; font-weight: 800; line-height: 1.45; color: var(--sp-ink);
}
.sp .sp-sh::before{ display: none; }
.sp .sp-sh::after{ content: ""; position: static; order: 2; flex: 1 1 40px; width: auto; height: 1px; background: #cfdcda; align-self: center; border: 0; }
.sp-sh .sp-en{ font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--sp-main); }
.sp-sh-lead{ font-size: 14px; color: var(--sp-sub); line-height: 1.75; margin: 0 2px 16px !important; }
.sp-sh-note{ font-size: 12.5px; color: var(--sp-sub); line-height: 1.7; margin: 12px 2px 0 !important; }
.sp-sh-note a{ color: var(--sp-main); }
.sp-more-btn{ max-width: 420px; margin: 0 auto !important; }

/* お問合せの多い内容 TOP5：5枚のカード（2026-10-14。櫻井さんの TOP5 に差し替え）
   PC は1位を左に大きく（2列×2行分）、2〜5位を右に 2×2。スマホは1位を横いっぱい、2〜5位を 2×2（下の 720px 以下）
   ★5件とも一度に見えるように並べる（横スクロールにはしない。4位・5位が隠れて、探している症状を見落とすため。わただ合意）
   順位の札は濃い色のまま（お問合せの多い順＝困りごとの多い順なので、金銀銅のような色は付けない）
   よくある原因は1位のカードだけ */
.sp-acards{ list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sp-acards li{ margin: 0; min-width: 0; }
.sp-acards li:first-child{ grid-column: span 2; grid-row: span 2; }
.sp-acard{
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border-radius: 16px; color: var(--sp-ink);
  box-shadow: 0 1px 2px rgba(14,27,44,.05), 0 8px 24px rgba(14,27,44,.05);   /* 下層ページの .sp-card と同じ影 */
  transition: box-shadow .15s, transform .15s;
}
.sp-acard:hover{ box-shadow: 0 2px 4px rgba(14,27,44,.06), 0 14px 30px rgba(14,27,44,.1); transform: translateY(-2px); color: var(--sp-ink); }
.sp-acard-img{ position: relative; display: block; aspect-ratio: 4 / 3; background: var(--sp-tint); overflow: hidden; }
.sp-acards li:first-child .sp-acard-img{ aspect-ratio: auto; flex: 1; min-height: 240px; }
.sp-acard-img img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-rk{
  position: absolute; top: 0; left: 0; background: var(--sp-deep); color: #fff;
  font-family: Consolas, Menlo, monospace; font-weight: 800; font-size: 14px; letter-spacing: .04em;
  padding: 5px 10px; border-bottom-right-radius: 10px;
}
.sp-acards li:first-child .sp-rk{ font-size: 18px; padding: 7px 14px; }
.sp-sr{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-acard-body{ display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 14px 14px; }
.sp-acard-body b{ display: block; font-size: 15px; line-height: 1.45; margin-top: 2px; }
.sp-acard-body small{ display: block; color: var(--sp-sub); font-size: 12px; line-height: 1.55; }
.sp-acard-cz{ display: none; }
.sp-acards li:first-child .sp-acard-body{ padding: 16px 20px 18px; gap: 4px; }
.sp-acards li:first-child .sp-acard-body b{ font-size: 20px; }
.sp-acards li:first-child .sp-acard-body small{ font-size: 13.5px; }
.sp-acards li:first-child .sp-acard-cz{
  display: block; width: 100%; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--sp-line);
  color: var(--sp-sub); font-size: 12px; line-height: 1.5;
}
.sp-acard-cz em{ display: block; font-style: normal; font-weight: 700; color: var(--sp-ink); font-size: 14px; }
/* 部品名・番号の札：ヒーローのキーワードと同じ丸い枠に「#」（v0.19.0。2026-10-15 わただ：順位の黒い札と同じ形で、とっ散らかって見えた） */
.sp-no{ border: 1px solid #c9dbd8; border-radius: 999px; padding: 2px 10px; color: var(--sp-deep); font-size: 12px; font-weight: 700; white-space: nowrap; }
.sp-no::before{ content: "#"; margin-right: 2px; opacity: .7; }

/* お電話・フォームでのご相談：白いカード（中身は sp-page.css の .sp-card・.sp-rows・.sp-btn-main。v0.19.0 で濃い緑の帯からカードに） */

/* 健康診断サービスのバナー（2026-10-14 わただ）。PC は左に写真・右に濃い緑の面、スマホは写真が上
   写真は点検している人が左に寄っているので、切り抜くときは左を残す（object-position） */
.sp-banner{
  display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden;
  background: var(--sp-deep); border-radius: 16px; color: #fff;
  transition: box-shadow .15s, transform .15s;
}
.sp-banner:hover{ color: #fff; box-shadow: 0 12px 30px rgba(14,27,44,.18); transform: translateY(-2px); }
.sp-banner-img{ position: relative; display: block; min-height: 300px; }
.sp-banner-img img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 15%; }   /* 人を左に、ヘルメットを切らない */
.sp-banner-body{ display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 32px 36px; }
.sp-banner .sp-ksub{ color: var(--sp-hl); }
.sp .sp-banner-h{ display: block; margin: 0; padding: 0; border: 0; color: #fff; font-size: 26px; font-weight: 900; line-height: 1.35; }
.sp-banner-catch{ display: block; font-size: 17px; font-weight: 800; color: var(--sp-hl); }
.sp-banner-p{ display: block; color: #c9d8d6; font-size: 14.5px; line-height: 1.75; }
.sp-banner-go{
  display: inline-block; margin-top: 10px; background: #fff; color: var(--sp-deep);
  font-weight: 800; font-size: 14px; padding: 10px 22px; border-radius: 999px;
}
.sp-banner:hover .sp-banner-go{ background: var(--sp-tint); }

/* お知らせ・確認方法のパネルはやめた（2026-10-14 わただ）：お知らせは更新を続けられないので出さない、
   確認方法はメニューと「お電話・フォームでのご相談」の中のボタン（ポップアップ）へ */


/* ---- スマホ・タブレット --------------------------------------------------- */
@media (max-width: 900px){
  .sp-banner{ grid-template-columns: 1fr; }
  .sp-banner-img{ min-height: 0; aspect-ratio: 16 / 9; }
  .sp-banner-body{ padding: 20px 20px 22px; gap: 6px; }
  .sp .sp-banner-h{ font-size: 21px; }
  .sp-banner-p{ font-size: 13.5px; }
}
@media (max-width: 720px){
  /* TOP5 のスマホ：1位を横いっぱい、2〜5位を 2×2 */
  .sp-acards{ grid-template-columns: 1fr 1fr; gap: 10px; }
  .sp-acards li:first-child{ grid-column: span 2; grid-row: auto; }
  .sp-acards li:first-child .sp-acard-img{ flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .sp-acard{ border-radius: 12px; }
  .sp-rk{ font-size: 12.5px; padding: 3px 8px; border-bottom-right-radius: 8px; }
  .sp-acards li:first-child .sp-rk{ font-size: 15px; padding: 5px 11px; }
  .sp-acard-body{ padding: 9px 10px 11px; gap: 2px; }
  .sp-acard-body .sp-no{ font-size: 11px; padding: 1px 8px; }
  .sp-acard-body b{ font-size: 14px; }
  .sp-acard-body small{ font-size: 11.5px; }
  .sp-acards li:first-child .sp-acard-body{ padding: 12px 14px 14px; }
  .sp-acards li:first-child .sp-acard-body b{ font-size: 17px; }
  .sp-acards li:first-child .sp-acard-body small{ font-size: 12.5px; }
}
@media (max-width: 640px){
  /* スマホは JAL のアプリのような形（2026-10-12 わただ）：写真は上の帯だけ（H1 を載せる）、その下に
     調べ方のタイル3つを帯にくっつけて並べ、検索はその下に置く。HTML の順はそのままで、order で並べ替え
     （電話はヘッダーの2段目。ファーストビューの電話の行は v0.17.0 で外した）
     ★端から端まで出すものに、マイナスの余白（margin: calc(50% - 50vw) など）を使わない。
       本番では効かず左右に隙間が残った（2026-10-12）。中の箱は左右の余白なし（padding: 0）にして、
       余白が要るもの（タグ・検索欄・電話）だけに、それぞれ左右 16px を付ける */
  .sp-hero{
    --sp-band: clamp(170px, 30svh, 260px);   /* 写真の帯。ヘッダーが2段になった分、窮屈に見えないよう広めに（2026-10-13 わただ） */
    display: block; min-height: 0; color: var(--sp-ink); background: var(--sp-paper);
  }
  .sp-hero-slides, .sp-hero-veil{ bottom: auto; height: var(--sp-band); }
  .sp-hero-veil{ background: linear-gradient(rgba(28,47,49,.45), rgba(24,66,66,.72)); }
  .sp-dots{ bottom: auto; top: calc(var(--sp-band) - 18px); }
  .sp-hero-in{ display: flex; flex-direction: column; gap: 0; padding: 0; max-width: none; }   /* 中身を order で並べ替える（PC は 641px 以上の指定） */

  /* 帯（写真の上の H1） */
  .sp-top h1{
    order: 1; height: calc(var(--sp-band) * .68); display: flex; align-items: flex-start; justify-content: center; padding-top: 6px !important;   /* 帯の下 68%（上 32% は英字の小見出し） */   /* 中の span を真ん中に（文字を直接 flex にすると「24時間受付」が別の塊に分かれるため span で包んである） */
    padding: 0 16px 12px; font-size: clamp(25px, 7.4vw, 32px);
  }

  .sp-hero .sp-today{ display: none !important; }   /* 「本日は営業日です」はスマホでは MENU の中に出す（sp-base.css の .sp-today--menu） */
  /* 英字の小見出し：写真の帯の中、H1 の上（帯を 上 32% ＝英字 ／ 下 68% ＝H1 に分ける。2026-10-14 わただ） */
  .sp-hero-top{ order: 1; display: flex; justify-content: center; align-items: flex-end; height: calc(var(--sp-band) * .32); padding: 0 16px 6px; }
  .sp-hero-top .sp-hero-kicker{ margin: 0 !important; color: var(--sp-hl); font-size: 10.5px; font-weight: 800; letter-spacing: .2em; line-height: 1.4; text-shadow: 0 1px 8px rgba(0,0,0,.4); white-space: nowrap; }
  .sp-hero-below{ display: contents; }   /* PC 用のまとまり。スマホでは中身をそのまま order で並べ替える */

  /* 調べ方のタイル3つ：帯のすぐ下に、端から端まで、同じ見た目で3つ並べる（わただ：アラームだけの線は不要） */
  .sp-entry{
    order: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: none;   /* minmax(0,…)：長い文字で列がはみ出さないように */
    background: #fff; border-bottom: 1px solid var(--sp-line);
  }
  .sp-entry a, .sp-entry .sp-e-main{
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 800;
    background: #fff; color: var(--sp-deep); box-shadow: none; border-radius: 0;
    padding: 14px 4px 12px; text-align: center; font-size: 13px; line-height: 1.4; word-break: auto-phrase; overflow-wrap: anywhere;
  }
  .sp-entry a + a{ border-left: 1px solid var(--sp-line); }
  .sp-entry a:hover{ transform: none; box-shadow: none; background: var(--sp-tint); color: var(--sp-deep); }
  .sp-entry .sp-ic, .sp-entry .sp-e-main .sp-ic{ color: var(--sp-main); font-size: 26px; }
  .sp-entry small, .sp-entry i{ display: none; }

  /* タグ＋検索欄（左右 16px） */
  .sp-findbox{ order: 3; padding: 16px 16px 22px; }
  /* タグは横に流さず折り返す（流すと見落とすため。わただ） */
  .sp-tags{ gap: 8px 6px; margin-bottom: 14px; }
  .sp-tags li:nth-child(n+7){ display: none; }   /* スマホは6つまで（2段に収めるため。7つ目からは PC だけ） */
  .sp-tags a{ font-size: 12px; padding: 4px 10px; color: var(--sp-deep); border-color: #8fb3ae; background: #fff; }
  .sp-tags a:hover{ background: var(--sp-tint); color: var(--sp-deep); }
  .sp-search{ padding: 0 16px; border-color: #b9cbc8; box-shadow: none; }
  .sp-search input{ font-size: 14px; padding: 12px 0; }

  .sp-blk{ padding: 52px 0 0; }
  .sp-blk:last-child{ padding-bottom: 64px; }
  .sp .sp-sh{ font-size: 16.5px; }
}
/* 背の低いスマホ（iPhone SE など）：ヘッダーが2段になった分、帯・タイル・カードを詰めて、電話まで最初の画面に入れる */
@media (max-width: 640px) and (max-height: 620px){
  .sp-hero{ --sp-band: 150px; }
  .sp-top h1{ font-size: 24px; padding-bottom: 10px; }
  .sp-entry a, .sp-entry .sp-e-main{ padding: 10px 4px 8px; gap: 4px; }
  .sp-entry .sp-ic, .sp-entry .sp-e-main .sp-ic{ font-size: 22px; }
  .sp-findbox{ padding-top: 12px; }
  .sp-tags{ margin-bottom: 10px; gap: 6px 5px; }
  .sp-search input{ padding: 10px 0; }
}
