/* SD代行のページだけの見た目（2026-10-31 作り直し・「安心感・信頼感」）
   - theme が daikou のページだけで読み込む。共通の site.css は変えず、ここで .theme-daikou … として上書きする
   - 白地に紺とオレンジ。本文 17px・白地で文字のコントラスト 4.5:1 以上（10/30 本人「白ベースでクリーンに」「年齢層が高いので見やすく」）
   - 動き: 出てくる・線を引く・数字が増える・ヒーローの演出。prefers-reduced-motion ではすべて止める（いちばん下）
   - 日本語の改行: 見出し・ボタン・ラベルは文節で折る（keep-all → 対応ブラウザは auto-phrase）。数字・電話番号は折らない */

/* ---------- 色と大きさ ---------- */
.theme-daikou {
  --d-navy-950: #061224;
  --d-navy-900: #0b1f3a;
  --d-navy-850: #0f2747;
  --d-sky: #e8f0fa;
  --d-sky-2: #f3f7fc;
  --d-orange-hi: #d6232d;          /* 飾りの線の赤（2026-10-31 夜 オレンジ→赤。文字には使わない）*/
  --d-orange-grad: linear-gradient(135deg, #c24d06 0%, #a83c00 55%, #8f3300 100%);
  /* 配車の電話ボタンの色（2026-10-31 夜 見直し） */
  --d-cta: linear-gradient(135deg, #dc2f38 0%, #c8202a 55%, #b3161f 100%);
  --d-cta-ink: #fff;
  --d-cta-sh: rgba(179, 22, 31, .7);
  --d-navy-grad: linear-gradient(140deg, #173a6b 0%, #0f2747 55%, #0b1f3a 100%);
  --d-r: 20px;
  --d-r-lg: 28px;
  --d-sh: 0 1px 2px rgba(16, 43, 82, .05), 0 10px 30px -14px rgba(16, 43, 82, .22);
  --d-sh-lg: 0 2px 6px rgba(16, 43, 82, .05), 0 30px 60px -26px rgba(11, 31, 58, .45);
  --hdr: 156px;                    /* PC: 上の段 76px ＋ メニューの段 48px ＋ 営業時間のバー 32px */
  --header-h: calc(var(--hdr) + var(--bar-h));
  background: #fff;
}
@media (max-width: 1020px) { .theme-daikou { --hdr: 104px; } }  /* 72px ＋ 営業時間のバー 32px */
@media (max-width: 860px) { .theme-daikou { --hdr: 94px; } }    /* 64px ＋ 営業時間のバー 30px */
html:has(body.theme-daikou) { scroll-padding-top: 158px; }
@media (max-width: 860px) { html:has(body.theme-daikou) { scroll-padding-top: 146px; } }
.theme-daikou #main { overflow-x: clip; }   /* 飾りがはみ出しても横スクロールを出さない */

/* 改行（見出し・ボタン・ラベルは文節で） */
.theme-daikou :is(h1, h2, h3, h4, .btn, summary, label, legend, dt, dd, th, td, li, small, b, .sec-lead, .d-phero-lead, .dh-lead, figcaption) {
  word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere;
}
.theme-daikou p { word-break: auto-phrase; overflow-wrap: anywhere; }
.theme-daikou .nowrap { white-space: nowrap; }

/* ---------- 受付中かどうかの札 ---------- */
.d-status {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px 3px 10px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; white-space: nowrap;
  background: #eef2f7; color: var(--ink-2);
}
.d-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8a96a8; flex-shrink: 0; }
.d-status.is-open { background: #e2f5e9; color: #0a6630; }
.d-status.is-open::before { background: #16a34a; animation: dPulse 2s ease-out infinite; }
.d-status.is-closed { background: #fff0e4; color: #9c3a00; }
.d-status.is-closed::before { background: #c8202a; }
.d-status-sm { font-size: 12.5px; padding: 2px 10px 2px 8px; }
.d-status-xs { font-size: 11px; padding: 1px 7px 1px 6px; gap: 4px; letter-spacing: 0; }
.d-status-xs::before { width: 6px; height: 6px; }
.d-status-dark { background: rgba(255, 255, 255, .1); color: #dbe5f2; }
.d-status-dark.is-open { background: rgba(34, 197, 94, .18); color: #b9f3cc; }
.d-status-dark.is-closed { background: rgba(255, 154, 61, .18); color: #ffd4b0; }
.d-status-note { font-size: 13px; color: var(--muted); font-weight: 500; }
.dh-status-sub { display: block; width: 100%; font-size: 14px; font-weight: 700; color: #9c3a00; }
@keyframes dPulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } }

/* ---------- ヘッダー ---------- */
.theme-daikou .site-header { height: auto; transition: box-shadow .3s var(--ease); }
.theme-daikou .site-header .d-hbar { height: 76px; gap: 18px; }
@media (max-width: 1020px) { .theme-daikou .site-header .d-hbar { height: calc(var(--hdr) - 32px); gap: 12px; } }
@media (max-width: 860px) { .theme-daikou .site-header .d-hbar { height: calc(var(--hdr) - 30px); } }
.theme-daikou .brand { gap: 10px; }
.d-hinfo { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.d-hhours { display: grid; justify-items: end; gap: 3px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); font-weight: 700; }
.d-hhours-t { display: grid; justify-items: end; }
.d-htel {
  display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 8px; border-radius: 16px; text-decoration: none; color: #fff;
  background: var(--d-orange-grad); box-shadow: 0 10px 22px -12px rgba(179, 22, 31, .8); transition: transform .2s var(--ease), box-shadow .2s;
}
.d-htel:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(179, 22, 31, .9); }
.d-htel-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
.d-htel-ic svg, .d-cta-ic svg, .d-bigtel-ic svg { width: 21px; height: 21px; animation: dRing 4.5s ease-in-out 1.5s infinite; transform-origin: 50% 50%; }
.d-htel-tx { display: grid; line-height: 1.15; }
.d-htel-tx small { font-size: 12.5px; font-weight: 700; }
.d-htel-tx b { font-size: 23px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.d-hmail { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; border-radius: 14px; border: 1.5px solid var(--line); color: var(--navy-800); font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s; }
.d-hmail:hover { border-color: var(--brand); background: var(--d-sky-2); color: var(--navy-800); }
.d-hmail svg { width: 19px; height: 19px; color: var(--brand); }
.d-htel-sp { display: none; }
.theme-daikou .menu-btn { margin-left: 4px; flex-shrink: 0; background: var(--d-sky); color: var(--navy-800); }
@keyframes dRing { 0%, 84%, 100% { transform: rotate(0); } 86% { transform: rotate(-14deg); } 89% { transform: rotate(12deg); } 92% { transform: rotate(-9deg); } 95% { transform: rotate(6deg); } }

/* PC（1021px〜）: 下の段のメニュー。下へスクロールしたらたたむ */
@media (min-width: 1021px) {
  .theme-daikou .d-gnav { margin: 0; height: 48px; border-top: 1px solid var(--line); overflow: hidden; transition: height .3s var(--ease), opacity .25s, border-color .3s; }
  .theme-daikou .site-header .d-gnav .container { height: 48px; }
  .theme-daikou .d-gnav ul { gap: 2px; margin-left: -12px; }
  .theme-daikou .d-gnav ul a { position: relative; padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
  .theme-daikou .d-gnav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2.5px; border-radius: 2px; background: var(--d-orange-hi); transform: scaleX(0); transition: transform .3s var(--ease); }
  .theme-daikou .d-gnav ul a:hover { background: var(--d-sky-2); color: var(--navy-800); }
  .theme-daikou .d-gnav ul a:hover::after, .theme-daikou .d-gnav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .theme-daikou .d-gnav ul a[aria-current="page"] { color: var(--navy-800); background: var(--d-sky); }
  .theme-daikou .site-header.is-compact .d-gnav { height: 0; opacity: 0; border-top-color: transparent; }
  .theme-daikou .site-header.is-compact { box-shadow: 0 1px 0 var(--line), 0 10px 26px rgba(15, 27, 45, .08); }
}
@media (max-width: 1020px) {
  .d-hmail { display: none; }
  .d-hinfo { gap: 10px; }
  .d-htel { padding: 6px 14px 6px 7px; }
  .d-htel-tx b { font-size: 21px; }
  /* メニューを開いたとき（site.css の引き出し）に、受付時間と電話を出す */
  .theme-daikou .is-open .gnav .container { height: auto; display: block; padding: 0; }
  .d-drawer-hours { padding: 14px 16px; border-radius: 16px; background: var(--d-sky-2); border: 1px solid var(--line); font-size: 15px; }
  .d-drawer-hours p { margin: 0; }
  .d-drawer-hours p + p { margin-top: 6px; }
  .d-drawer-hours b { display: block; font-size: 14px; color: var(--muted); }
  .theme-daikou .is-open .gnav ul a[aria-current="page"] { color: var(--accent); }
}
@media (max-width: 860px) {
  .d-hinfo { display: none; }
  .d-htel-sp {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; margin-left: auto;
    width: 52px; height: 46px; border-radius: 13px; background: var(--d-orange-grad); color: #fff; text-decoration: none;
    font-size: 11px; font-weight: 700; line-height: 1; box-shadow: 0 8px 18px -10px rgba(179, 22, 31, .8);
  }
  .d-htel-sp svg { width: 20px; height: 20px; }
  .d-htel-sp:hover { color: #fff; }
  .theme-daikou .menu-btn { margin-left: auto; }  /* ヘッダーの電話ボタンを外したので、メニューボタンを右上へ寄せる */
}

/* ---------- 共通の部品（SD代行の中だけ） ---------- */
.theme-daikou .section.soft { background: linear-gradient(180deg, #f5f8fc, #f0f4f9); }
.theme-daikou .eyebrow { color: var(--accent); }
.theme-daikou .btn { box-shadow: 0 8px 18px -12px var(--b); }
.theme-daikou .btn-accent { background: var(--d-orange-grad); border-color: #a83c00; }
.theme-daikou .btn-white { box-shadow: none; }
.theme-daikou .card { transition: opacity .9s var(--ease), transform .5s var(--ease), box-shadow .3s var(--ease), border-color .3s; }  /* opacity は data-reveal（site.js）の出現のため */
.theme-daikou .card:hover { transform: translateY(-3px); box-shadow: var(--d-sh); border-color: #c9d6e7; }
.theme-daikou .banner { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; border-radius: var(--d-r); }
.theme-daikou .banner:hover { transform: translateY(-3px); box-shadow: var(--d-sh); }
.theme-daikou .cta-band { border-radius: var(--d-r-lg); }
.theme-daikou .price-table { border-radius: var(--d-r); }
.theme-daikou .form-card { border-radius: var(--d-r-lg); box-shadow: var(--d-sh); }
.theme-daikou .d-pc { display: inline; }
@media (max-width: 860px) { .theme-daikou .d-pc { display: none; } }

/* ページの上（下層ページ） */
.theme-daikou .page-hero.d-phero {
  position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 44px;
  background: radial-gradient(900px 420px at 92% -10%, #d9e6f6 0%, transparent 62%), linear-gradient(180deg, #edf3fa, #f8fafd);
}
.d-phero-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.d-phero-deco svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; }
.d-phero-deco path { fill: none; stroke: rgba(29, 79, 145, .09); stroke-width: 44; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.theme-daikou .d-phero h1 { animation: dUp .8s var(--ease) both; }
.d-phero-lead { margin-top: 6px !important; font-size: 17px; font-weight: 700; color: var(--ink-2); }
.d-phero-jump { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.d-phero-jump a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--navy-800); font-size: 15px; font-weight: 700; text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.d-phero-jump a:hover { border-color: var(--brand); transform: translateY(-1px); }
.d-phero-jump svg { width: 18px; height: 18px; color: var(--brand); }

/* ---------- トップ: いちばん上 ---------- */
.dh {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(36px, 5vw, 64px);
  background: radial-gradient(1100px 620px at 88% -8%, #dce8f7 0%, transparent 62%), linear-gradient(180deg, #eff4fa 0%, #fff 88%);
}
.dh-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dh-road { position: absolute; left: 0; bottom: 0; width: 100%; height: 72%; }
.dh-road-base { fill: none; stroke: rgba(29, 79, 145, .07); stroke-width: 70; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dh-road-dash { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 3; stroke-dasharray: 26 24; vector-effect: non-scaling-stroke; animation: dRoad 2.4s linear infinite; }
@keyframes dRoad { to { stroke-dashoffset: -50; } }
.dh-light { position: absolute; width: 560px; height: 560px; right: -160px; top: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(214, 35, 45, .14), transparent 66%); animation: dFloat 10s ease-in-out infinite alternate; }
@keyframes dFloat { to { transform: translate(-40px, 30px) scale(1.06); } }
.dh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.dh-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 16px; animation: dUp .7s var(--ease) both; }
.dh-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 16px; font-weight: 700; letter-spacing: .1em; color: var(--accent); animation: dUp .7s var(--ease) .05s both; }
.dh-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dh-title { font-size: clamp(34px, 5vw, 62px); font-weight: 700; line-height: 1.24; letter-spacing: .03em; color: var(--navy-800); margin: 0 0 18px; }
.dh-ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.dh-ln > span { display: inline-block; animation: dLine .9s var(--ease) .12s both; }
.dh-ln:nth-of-type(2) > span { animation-delay: .24s; }
.dh-ln:nth-of-type(3) > span { animation-delay: .36s; }
.d-top .dh-ln:nth-of-type(2) > span {
  background: linear-gradient(transparent 68%, rgba(214, 35, 45, .3) 68%) no-repeat 0 0 / 100% 100%;
  animation: dLine .9s var(--ease) .24s both, dMark .9s var(--ease) 1.05s both;
}
@keyframes dLine { from { transform: translateY(105%); } to { transform: none; } }
@keyframes dMark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes dUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.dh-lead { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; color: var(--ink-2); margin: 0 0 24px; animation: dUp .8s var(--ease) .45s both; }
.theme-daikou .dh-tel { position: relative; overflow: hidden; isolation: isolate; background: var(--d-orange-grad); box-shadow: 0 20px 38px -18px rgba(179, 22, 31, .8); animation: dUp .8s var(--ease) .55s both; }
.theme-daikou .dh-tel:hover { background: var(--d-orange-grad); filter: brightness(1.05); }
.dh-tel::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .26), transparent); transform: skewX(-18deg); animation: dShine 6s ease-in-out 2.2s infinite; }
@keyframes dShine { 0% { left: -60%; } 22%, 100% { left: 130%; } }
.dh-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; animation: dUp .8s var(--ease) .65s both; }
.dh-points li { display: inline-flex; align-items: center; gap: 7px; font-size: 15.5px; font-weight: 700; color: var(--navy-800); }
.dh-points svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; flex-shrink: 0; }
.dh-points small { font-size: 13px; }
.dh-media { position: relative; padding: 0 0 34px 0; }
.dh-photo { border-radius: var(--d-r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--d-sh-lg); background: var(--navy-100); animation: dClip 1.25s var(--ease) .15s both; }
.dh-photo img { width: 100%; height: 100%; object-fit: cover; animation: dZoom 2.4s var(--ease) .15s both; }
.dh-rec .dh-photo { aspect-ratio: 4 / 3; }
@keyframes dClip { from { clip-path: inset(0 0 0 100% round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
@keyframes dZoom { from { transform: scale(1.12); } to { transform: none; } }
.dh-photo2 { position: absolute; left: -26px; bottom: 0; width: 36%; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--d-sh-lg); animation: dPop .8s var(--ease) 1s both; }
.dh-photo2 img { width: 100%; height: 100%; object-fit: cover; }
.dh-badge {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); box-shadow: 0 16px 32px -16px rgba(11, 31, 58, .5); border: 1px solid rgba(16, 43, 82, .06);
  animation: dPop .7s var(--ease) both, dBob 5s ease-in-out infinite alternate;
}
.dh-badge .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--d-navy-grad); color: #ffc24d; flex-shrink: 0; }
.dh-badge .ic svg { width: 22px; height: 22px; }
.dh-badge small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.dh-badge b { display: block; font-size: 17px; font-weight: 700; color: var(--navy-800); line-height: 1.3; white-space: nowrap; }
.dh-badge-a { top: 20px; left: -22px; animation-delay: .75s, 1.6s; }
.dh-badge-b { right: -14px; bottom: 64px; animation-delay: .9s, 2.3s; }
.dh-badge-b .ic { background: var(--d-orange-grad); color: #fff; }
@keyframes dPop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes dBob { from { translate: 0 0; } to { translate: 0 -8px; } }
.dh-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.dh-quick a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(16, 43, 82, .04); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.dh-quick a:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--d-sh); border-color: #c4d3e7; }
.dh-quick .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--d-sky); color: var(--brand); flex-shrink: 0; transition: background .25s, color .25s; }
.dh-quick a:hover .ic { background: var(--brand); color: #fff; }
.dh-quick .line .ic { background: #e3f9ec; color: var(--line-green); }
.dh-quick a.line:hover .ic { background: var(--line-green); color: #fff; }
.dh-quick .ic svg { width: 25px; height: 25px; }
.dh-quick b { display: block; font-size: 16.5px; line-height: 1.4; color: var(--navy-800); }
.dh-quick small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1100px) { .dh-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .dh-grid { grid-template-columns: minmax(0, 1fr); }
  .dh-media { padding: 0 0 22px; }
  .dh-photo { aspect-ratio: 16 / 10; }
  .dh-photo2 { left: 12px; width: 32%; border-width: 4px; }
  .dh-badge-a { top: 12px; left: 12px; }
  .dh-badge-b { right: 12px; bottom: 40px; }
}
@media (max-width: 640px) {
  .dh-photo2 { display: none; }
  .dh-badge { padding: 7px 12px 7px 7px; gap: 8px; border-radius: 13px; }
  .dh-badge .ic { width: 34px; height: 34px; border-radius: 10px; }
  .dh-badge .ic svg { width: 19px; height: 19px; }
  .dh-badge b { font-size: 15px; }
  .dh-badge small { font-size: 11.5px; }
  .dh-badge-b { bottom: 34px; }
  .dh-quick { gap: 10px; }
  .dh-quick a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .dh-quick .ic { width: 40px; height: 40px; border-radius: 12px; }
  .dh-quick b { font-size: 15.5px; }
}
@media (max-width: 400px) { .dh-quick small { display: none; } .dh-points li { font-size: 15px; } }

/* ---------- トップの FV（2026-10-31 夜 作り直し）: 夜の紺に車両の写真を全面に敷く・右に事実だけの3つのバッジ ----------
   字は白・見出しの飾りと小さな字は金色（紺の地でコントラスト 4.5:1 以上）。動きは付けない（本人「アニメーションを減らす」） */
.dh.dh-night { color: #fff; background: #081a33; padding: calc(var(--header-h) + clamp(44px, 6vw, 92px)) 0 clamp(30px, 4vw, 52px); }
.dh-bg { position: absolute; inset: 0; z-index: -2; }
.dh-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; filter: saturate(.72) brightness(.86); }
.dh-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 38, .97) 0%, rgba(6, 18, 38, .9) 32%, rgba(8, 26, 54, .6) 58%, rgba(8, 26, 54, .34) 100%),
    linear-gradient(180deg, rgba(6, 18, 38, .45) 0%, rgba(6, 18, 38, 0) 24%, rgba(6, 18, 38, 0) 56%, rgba(6, 18, 38, .94) 100%);
}
.dh-night::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -24%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 176, 72, .16), transparent 62%); pointer-events: none; }
.dh-night .dh-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; }
.dh-night .dh-kicker { color: #ffc56b; }
.dh-night .dh-title { color: #fff; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.22; text-shadow: 0 2px 26px rgba(0, 0, 0, .3); }
.d-top .dh-night .dh-ln:nth-of-type(2) > span { background: linear-gradient(transparent 76%, rgba(226, 52, 62, .85) 76%, rgba(226, 52, 62, .85) 90%, transparent 90%) no-repeat 0 0 / 100% 100%; }
.dh-night .dh-lead { color: rgba(255, 255, 255, .9); margin-bottom: 26px; }
/* 配車のご注文: 白い枠。押せるのは電話番号のボタンだけ（本人 10/31「全体が押せるのではなく、電話番号だけ」） */
.dh-order { max-width: 500px; padding: 18px 20px 16px; border-radius: 22px; background: #fff; color: var(--navy-800); box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .75); }
.dh-order-k { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.dh-order-k svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; }
.dh-order-tel { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background: var(--d-cta); color: #fff; text-decoration: none; box-shadow: 0 14px 26px -14px var(--d-cta-sh), inset 0 1px 0 rgba(255, 255, 255, .22); transition: transform .2s var(--ease), filter .2s; }
.dh-order-tel:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.dh-order-tel .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); flex-shrink: 0; }
.dh-order-tel .ic svg { width: 22px; height: 22px; }
.dh-order-tel .num { font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: .03em; white-space: nowrap; }
.dh-order-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 12px 0 0; font-size: 14.5px; font-weight: 700; line-height: 1.5; color: var(--ink-2); }
.dh-tel-k { padding: 1px 10px; border-radius: 999px; background: var(--d-sky); color: var(--navy-800); font-size: 13px; }
@media (max-width: 400px) { .dh-order { padding: 16px 14px 14px; } .dh-order-tel { padding: 11px 12px; gap: 10px; } .dh-order-tel .ic { width: 36px; height: 36px; } .dh-order-tel .num { font-size: 26px; } }
.dh-sub { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; font-size: 15.5px; font-weight: 700; color: rgba(255, 255, 255, .92); }
.dh-sub span { display: inline-flex; align-items: center; gap: 7px; }
.dh-sub svg { width: 22px; height: 22px; color: #ffc56b; flex-shrink: 0; }
.dh-sub b { font-size: 18px; margin: 0 1px; }
.dh-sub small { font-size: 12.5px; }
.dh-medals { list-style: none; margin: 0 0 6px; padding: 0; display: flex; justify-content: flex-end; gap: clamp(10px, 1.4vw, 20px); }
.dh-medals li {
  position: relative; width: clamp(122px, 11.5vw, 152px); aspect-ratio: 1; flex-shrink: 0; display: grid; place-items: center; text-align: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(22, 52, 98, .94), rgba(6, 18, 38, .94) 72%);
  box-shadow: 0 0 0 1px rgba(227, 194, 122, .4), 0 0 0 6px rgba(6, 18, 38, .35), 0 20px 40px -18px rgba(0, 0, 0, .7);
}
.dh-laurel { position: absolute; left: 5%; top: 5%; width: 90%; height: 90%; color: #d8b66a; }
.dh-medals li > span { position: relative; display: grid; gap: 2px; line-height: 1.2; }
.dh-medals small { font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .88); letter-spacing: .03em; }
.dh-medals b { font-size: clamp(22px, 2.1vw, 27px); font-weight: 700; line-height: 1.15; color: #f6d68f; letter-spacing: .04em; }
.dh-night .dh-quick { margin-top: clamp(36px, 5vw, 60px); }
@media (max-width: 1100px) and (min-width: 861px) { .dh-night .dh-grid { grid-template-columns: minmax(0, 1fr); } .dh-medals { justify-content: flex-start; } }
@media (max-width: 860px) {
  .dh.dh-night { padding-top: calc(var(--header-h) + 30px); }
  .dh-bg img { object-position: 72% 50%; }
  .dh-bg::after { background: linear-gradient(180deg, rgba(6, 18, 38, .5) 0%, rgba(6, 18, 38, .84) 42%, rgba(6, 18, 38, .95) 100%); }
  .dh-night .dh-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .dh-medals { justify-content: center; gap: 8px; margin: 0; }
  .dh-medals li { width: calc((100% - 16px) / 3); max-width: 124px; }
  .dh-medals small { font-size: 10.5px; }
  .dh-medals b { font-size: 21px; }
  .dh-night .dh-lead { margin-bottom: 20px; }
}
@media (max-width: 400px) { .dh-medals small { font-size: 10px; letter-spacing: 0; } .dh-medals b { font-size: 19px; } .dh-sub { font-size: 14.5px; gap: 6px 14px; } }

/* ---------- トップ: 安心のポイント ---------- */
.d-trust { padding: 8px 0 clamp(56px, 7vw, 88px); }
@media (max-width: 860px) { .d-trust { padding: 28px 0 24px; } }  /* スマホ: 上を広く・下を狭く（2026-11-01 本人） */
.d-trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.d-trust-list li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 43, 82, .04); }
.d-trust-list .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: var(--d-navy-grad); }
.d-trust-list li:nth-child(even) .ic { background: var(--d-orange-grad); }
.d-trust-list .ic svg { width: 26px; height: 26px; }
.d-trust-list b { display: block; font-size: 16.5px; line-height: 1.45; color: var(--navy-800); }
.d-trust-list small { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 500; }
@media (max-width: 1020px) { .d-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .d-trust-list { gap: 10px; }
  .d-trust-list li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .d-trust-list .ic { width: 42px; height: 42px; border-radius: 12px; }
  .d-trust-list .ic svg { width: 22px; height: 22px; }
  .d-trust-list b { font-size: 15px; }
  .d-trust-list small { font-size: 13px; }
}

/* ---------- トップ: 特長 ---------- */
.d-feat { background: linear-gradient(180deg, #fff, #f6f9fc); }
.d-fx { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.d-fx + .d-fx { margin-top: clamp(64px, 9vw, 120px); }
.d-fx.rev > .d-fx-media { order: 2; }
.d-fx-media { position: relative; isolation: isolate; }
.d-fx-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: var(--d-r-lg); background: linear-gradient(135deg, var(--d-sky), #fff0e4); }
.d-fx.rev .d-fx-media::before { inset: 18px 18px -18px -18px; }
.d-fx-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--d-r-lg); box-shadow: var(--d-sh); }
.d-fx-tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 12px; border-radius: 999px; background: rgba(11, 31, 58, .86); color: #fff; font-size: 14.5px; font-weight: 700; }
.d-fx-tag svg { width: 19px; height: 19px; color: #ffc24d; }
.d-fx-no { display: block; margin-bottom: 4px; font: 700 clamp(60px, 7vw, 96px)/1 var(--font-jp); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.5px rgba(29, 79, 145, .38); }
.d-fx h3 { font-size: clamp(23px, 2.6vw, 31px); line-height: 1.55; color: var(--navy-800); }
.d-fx p { color: var(--ink-2); }
@media (max-width: 860px) {
  .d-fx { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .d-fx.rev > .d-fx-media { order: 0; }
  .d-fx-media::before, .d-fx.rev .d-fx-media::before { inset: 10px -10px -10px 10px; }
  .d-fx-no { font-size: 56px; }
}

/* ---------- トップ: ご利用の流れ（夜の色） ---------- */
.d-flow { position: relative; overflow: hidden; isolation: isolate; color: #dfe7f2; background: radial-gradient(900px 520px at 12% 0%, rgba(46, 100, 173, .38), transparent 62%), linear-gradient(180deg, #0c1f3b, #071428); }
.d-flow::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.4px); background-size: 52px 52px; opacity: .16; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.d-flow-bg { position: absolute; inset: 0; z-index: -2; opacity: .13; }
.d-flow-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.d-flow .sec-title { color: #fff; }
.d-flow .eyebrow { color: #ffb36b; }
.d-flow .sec-lead { color: #c3d0e2; }
.d-steps { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.d-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 36px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255, 194, 77, .8) 0 16px, transparent 16px 28px); transform-origin: left; }
.d-steps::after { content: ""; position: absolute; top: 31px; left: 12%; width: 13px; height: 13px; border-radius: 50%; background: #ffc24d; box-shadow: 0 0 0 6px rgba(255, 194, 77, .2), 0 0 24px 6px rgba(255, 194, 77, .55); opacity: 0; }
.d-step { position: relative; text-align: center; padding: 0 4px; }
.d-step-ic { position: relative; z-index: 1; width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--d-orange-grad); box-shadow: 0 0 0 7px rgba(255, 255, 255, .06), 0 16px 30px -12px rgba(0, 0, 0, .6); }
.d-step-ic svg { width: 32px; height: 32px; }
.d-step-no { display: block; font-size: 13px; font-weight: 700; letter-spacing: .22em; color: #ffb36b; margin-bottom: 6px; }
.d-step h3 { font-size: 20px; color: #fff; margin-bottom: 10px; }
.d-step p { font-size: 15.5px; line-height: 1.85; color: #c9d5e6; margin: 0; text-align: left; }
.d-step-tel { color: #ffd08a !important; font-weight: 700; white-space: nowrap; }
.d-flow-note { max-width: 780px; margin: clamp(32px, 4vw, 48px) auto 0; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; color: #c3d0e2; }
.d-js .d-steps:not(.is-in)::before { transform: scaleX(0); }
.d-js .d-steps.is-in::before { transition: transform 1.6s var(--ease) .2s; }
.d-js .d-steps.is-in::after { animation: dDrive 2.2s var(--ease) .3s both; }
.d-js .d-steps:not(.is-in) .d-step { opacity: 0; }
.d-js .d-steps.is-in .d-step { animation: dUp .7s var(--ease) both; }
.d-js .d-steps.is-in .d-step:nth-child(2) { animation-delay: .35s; }
.d-js .d-steps.is-in .d-step:nth-child(3) { animation-delay: .7s; }
.d-js .d-steps.is-in .d-step:nth-child(4) { animation-delay: 1.05s; }
@keyframes dDrive { 0% { left: 12%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { left: 88%; opacity: 0; } }
@media (max-width: 860px) {
  .d-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .d-steps::before { left: 33px; right: auto; top: 36px; bottom: 36px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 194, 77, .8) 0 14px, transparent 14px 24px); transform-origin: top; }
  .d-js .d-steps:not(.is-in)::before { transform: scaleY(0); }
  .d-steps::after { left: 28px; top: 36px; }
  .d-js .d-steps.is-in::after { animation-name: dDriveV; }
  .d-step { display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 16px; text-align: left; padding: 0; }
  .d-step-ic { grid-row: span 3; width: 68px; height: 68px; margin: 0; }
  .d-step-ic svg { width: 28px; height: 28px; }
  .d-step-no { margin: 6px 0 2px; }
  .d-step h3 { font-size: 19px; margin-bottom: 6px; }
}
@keyframes dDriveV { 0% { top: 36px; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 50px); opacity: 0; } }

/* ---------- トップ: 安心の保障 ---------- */
.d-safe { background: linear-gradient(180deg, #f3f7fc, #fff); }
.d-safe-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.d-safe-tx p { color: var(--ink-2); }
.d-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.d-stat { position: relative; padding: 20px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 43, 82, .04); overflow: hidden; }
.d-stat::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--d-orange-hi)); }
.d-stat .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--d-sky); color: var(--brand); margin-bottom: 10px; }
.d-stat .ic svg { width: 22px; height: 22px; }
.d-stat small { display: block; font-size: 14.5px; font-weight: 700; color: var(--muted); }
.d-stat b { display: block; margin-top: 4px; font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.2; color: var(--navy-800); white-space: nowrap; font-variant-numeric: tabular-nums; }
.d-stat i { font-style: normal; font-size: 15px; font-weight: 700; margin-left: 2px; }
.d-safe-photo { position: relative; margin: 14px 0 0; border-radius: var(--d-r); overflow: hidden; box-shadow: var(--d-sh); }
.d-safe-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.d-safe-photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(11, 31, 58, .82); color: #fff; font-size: 13.5px; font-weight: 700; }
@media (max-width: 860px) { .d-safe-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .d-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .d-stat { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
  .d-stat .ic { display: none; }
  .d-stat b { margin: 0; font-size: 28px; }
}

/* ---------- 営業時間と料金・料金の目安 ---------- */
.d-fee-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.d-hcard, .d-tiers { border-radius: var(--d-r-lg); padding: clamp(22px, 3.4vw, 36px); }
.d-hcard { background: #fff; border: 1px solid var(--line); box-shadow: var(--d-sh); }
.d-hcard h3, .d-tiers h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 6px; color: var(--navy-800); }
.d-hcard h3 + .d-hrows { margin-top: 0; }
.d-hcard h3:not(:first-child) { margin-top: 18px; }
.d-hcard h3 svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--d-sky); color: var(--brand); }
.d-hrows { margin: 0; }
.d-hrows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.d-hrows dt { font-weight: 700; color: var(--ink-2); }
.d-hrows dd { margin: 0; font-size: clamp(19px, 2vw, 23px); font-weight: 700; color: var(--navy-800); white-space: nowrap; }
.d-hcard-now { margin: 16px 0 6px; }
.d-tiers { position: relative; overflow: hidden; color: #dfe7f2; background: var(--d-navy-grad); box-shadow: var(--d-sh-lg); }
.d-tiers::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 35, 45, .38), transparent 66%); }
.d-tiers > * { position: relative; }
.d-tiers h3 { color: #fff; }
.d-tiers h3 small { font-size: 14px; color: #c3d0e2; }
.d-tiers h3 svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #ffc24d; }
.d-tier { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.d-tier span { font-size: 16px; font-weight: 700; color: #d2dcea; }
.d-tier b { font-size: clamp(26px, 3vw, 32px); font-weight: 700; color: #fff; white-space: nowrap; line-height: 1.2; }
.d-tier b small { font-size: 14px; font-weight: 700; margin: 0 3px; color: #d2dcea; }
.d-tier-main b { font-size: clamp(38px, 4.4vw, 50px); color: #ffc24d; }
.d-extras { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 4px; }
.d-extras li { display: grid; grid-template-columns: 7.2em minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 14.5px; color: #c3d0e2; }
.d-extras li span:first-child { font-weight: 700; color: #fff; }
.d-extras li b { color: #fff; white-space: nowrap; }
.theme-daikou .d-tiers .d-more { --b: #fff; background: #fff; color: var(--navy-800); }
.theme-daikou .d-tiers .d-more:hover { background: #ffc24d; border-color: #ffc24d; color: var(--navy-900); }
.d-calc-wrap { margin-top: 24px; scroll-margin-top: 126px; }
@media (max-width: 860px) { .d-fee-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .d-extras li { grid-template-columns: minmax(0, 1fr) auto; } .d-extras li span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 13.5px; } }

.d-calc { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); border-radius: var(--d-r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--d-sh); }
.d-calc-in { padding: clamp(22px, 3.4vw, 36px); }
.d-calc-ttl { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 20px; font-weight: 700; color: var(--navy-800); }
.d-calc-ttl svg { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: var(--d-orange-grad); color: #fff; flex-shrink: 0; }
.d-calc-lb { display: block; margin: 14px 0 10px; font-size: 15.5px; font-weight: 700; color: var(--ink-2); }
.d-calc-km { display: flex; align-items: center; gap: 16px; }
.d-calc-range { flex: 1; min-width: 0; height: 32px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.d-calc-range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #c8202a var(--p, 7.6%), #dbe3ee var(--p, 7.6%)); }
.d-calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid #c8202a; box-shadow: 0 4px 12px rgba(179, 22, 31, .35); }
.d-calc-range::-moz-range-track { height: 10px; border-radius: 999px; background: #dbe3ee; }
.d-calc-range::-moz-range-progress { height: 10px; border-radius: 999px; background: #c8202a; }
.d-calc-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #c8202a; box-shadow: 0 4px 12px rgba(179, 22, 31, .35); }
.d-calc-num { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-800); }
.d-calc-num input { width: 96px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid #b9c4d3; font: 700 22px/1.2 var(--font-jp); color: var(--navy-800); text-align: right; background: #fff; }
.d-calc-num input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46, 100, 173, .15); }
.d-calc-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.d-calc-quick button { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy-800); font: 700 15px/1.3 var(--font-jp); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.d-calc-quick button:hover { border-color: var(--brand); }
.d-calc-quick button.is-on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.d-calc-opt { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.d-calc-opt legend { padding: 0; margin-bottom: 8px; font-size: 14.5px; font-weight: 700; color: var(--muted); }
.d-calc-opt label { display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px; margin-bottom: 8px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.d-calc-opt label:has(input:checked) { border-color: #c8202a; background: #fff4ec; }
.d-calc-opt input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #c8202a; flex-shrink: 0; }
.d-calc-opt span { font-size: 15.5px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.d-calc-opt small { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.d-calc-out { position: relative; overflow: hidden; padding: clamp(22px, 3.4vw, 36px); color: #dfe7f2; background: var(--d-navy-grad); display: flex; flex-direction: column; }
.d-calc-out::before { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 35, 45, .32), transparent 66%); }
.d-calc-out > * { position: relative; }
.d-calc-k { margin: 0; font-size: 15.5px; font-weight: 700; color: #c3d0e2; }
.d-calc-k small { font-size: 13px; }
.d-calc-total { margin: 2px 0 10px; color: #fff; line-height: 1.1; white-space: nowrap; }
.d-calc-total b { font-size: clamp(46px, 5.6vw, 64px); font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.d-calc-total span { font-size: 22px; font-weight: 700; margin-left: 4px; }
.d-calc-break { list-style: none; padding: 0; margin: 0 0 12px; }
.d-calc-break li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; line-height: 1.5; }
.d-calc-break li span { color: #c9d5e6; }
.d-calc-break li b { color: #fff; white-space: nowrap; }
.d-calc-break .d-calc-kmline span { color: #ffc24d; font-weight: 700; }
.d-calc-note { font-size: 13.5px; color: #b6c4d8; margin: 0 0 16px; }
.d-calc-tel { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 12px 18px; border-radius: 16px; background: var(--d-orange-grad); color: #fff; text-decoration: none; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6); transition: transform .2s var(--ease); }
.d-calc-tel:hover { color: #fff; transform: translateY(-2px); }
.d-calc-tel svg { width: 26px; height: 26px; flex-shrink: 0; }
.d-calc-tel span { display: grid; line-height: 1.2; }
.d-calc-tel small { font-size: 13.5px; font-weight: 700; }
.d-calc-tel b { font-size: 23px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
@media (max-width: 860px) { .d-calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .d-calc-km { gap: 10px; } .d-calc-num input { width: 84px; font-size: 20px; } }

/* ---------- 営業エリア ---------- */
.d-area { background: linear-gradient(180deg, #f3f7fc, #fff); }
.d-area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.d-map { max-width: 460px; margin: 0 auto; padding: 14px; border-radius: var(--d-r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--d-sh-lg); }
.d-map-in { position: relative; border-radius: 16px; overflow: hidden; }
.d-map-in img { width: 100%; }
.d-map-pulse { position: absolute; left: 49.1%; top: 49.9%; width: 74%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.d-map-pulse i { position: absolute; inset: 0; border-radius: 50%; border: 2.5px solid rgba(192, 70, 0, .6); opacity: 0; animation: dRadar 3.6s ease-out infinite; }
.d-map-pulse i:nth-child(2) { animation-delay: 1.8s; }
@keyframes dRadar { 0% { transform: scale(.12); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.d-area-tx h3 { margin: 18px 0 10px; font-size: 16px; letter-spacing: .06em; color: var(--accent); }
.d-cities { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.d-cities li { padding: 7px 16px; border-radius: 999px; background: #fff; border: 1.5px solid #cfdbea; font-size: clamp(17px, 1.8vw, 19px); font-weight: 700; color: var(--navy-800); white-space: nowrap; }
.d-area-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 15.5px; color: var(--ink-2); }
.d-area-note svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--brand); }
.d-area-tx .btn-tel { margin-top: 22px; }
@media (max-width: 860px) { .d-area-grid { grid-template-columns: minmax(0, 1fr); } .d-map { max-width: 400px; } }

/* ---------- よくある質問 ---------- */
.d-faqsec { background: #fff; }
.d-faq-i { margin-bottom: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .25s, box-shadow .25s; }
.d-faq-i[open] { border-color: #b8cbe3; box-shadow: var(--d-sh); }
.d-faq-i summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--navy-800); }
.d-faq-i summary::-webkit-details-marker { display: none; }
.d-faq-i summary:hover { background: var(--d-sky-2); }
.d-faq-q, .d-faq-al { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 16px; font-weight: 700; }
.d-faq-q { background: var(--d-navy-grad); color: #fff; }
.d-faq-al { background: #fff0e4; color: #c8202a; }
.d-faq-qt { flex: 1; min-width: 0; }
.d-faq-pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--d-sky); flex-shrink: 0; transition: transform .3s var(--ease), background .3s; }
.d-faq-pm::before, .d-faq-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; border-radius: 2px; background: var(--brand); translate: -50% -50%; }
.d-faq-pm::after { rotate: 90deg; transition: rotate .3s var(--ease); }
.d-faq-i[open] .d-faq-pm { transform: rotate(180deg); background: var(--brand); }
.d-faq-i[open] .d-faq-pm::before, .d-faq-i[open] .d-faq-pm::after { background: #fff; }
.d-faq-i[open] .d-faq-pm::after { rotate: 0deg; }
.d-faq-a { display: flex; gap: 14px; padding: 4px 18px 20px; }
.d-faq-i[open] .d-faq-a { animation: dDown .35s var(--ease); }
.d-faq-a p { margin: 4px 0 0; color: var(--ink-2); font-size: 16.5px; }
@keyframes dDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.d-faq-more { margin-top: 28px; padding: 22px; border-radius: 20px; background: var(--d-sky-2); border: 1px dashed #b8cbe3; text-align: center; }
.d-faq-more p { margin: 0 0 12px; font-weight: 700; color: var(--ink-2); }
.d-faq-more .btn svg, .d-contact-help .btn svg { width: 22px; height: 22px; }
@media (max-width: 480px) { .d-faq-i summary { gap: 10px; padding: 14px; font-size: 16px; } .d-faq-a { gap: 10px; padding: 2px 14px 18px; } .d-faq-q, .d-faq-al { width: 30px; height: 30px; font-size: 15px; } }

/* ---------- 運営会社・採用（トップ） ---------- */
.d-co { background: linear-gradient(180deg, #fff, #f5f8fc); }
.d-co-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.d-co-photos { position: relative; padding: 0 0 18% 0; }
.d-co-p1 { width: 82%; border-radius: var(--d-r-lg); overflow: hidden; box-shadow: var(--d-sh); }
.d-co-p1 img, .d-co-p2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.d-co-p2 { position: absolute; right: 0; bottom: 0; width: 56%; border-radius: var(--d-r); overflow: hidden; border: 6px solid #fff; box-shadow: var(--d-sh-lg); }
.d-co-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.d-co-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-weight: 700; color: var(--navy-800); font-size: 16px; }
.d-co-list svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; color: var(--brand); }
.d-co-list small { display: block; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .d-co-grid { grid-template-columns: minmax(0, 1fr); } }
.d-rec { padding-top: 0; background: #f5f8fc; }
.d-rec-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(24px, 5vw, 56px); border-radius: 32px; background: linear-gradient(135deg, #fff6ee, #fff 60%); border: 1px solid #f3dcc8; box-shadow: var(--d-sh); }
.d-rec-tx h3 { font-size: clamp(19px, 2.2vw, 24px); color: var(--navy-800); }
.d-rec-chips { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.d-rec-chips li { padding: 6px 14px; border-radius: 999px; background: #fff0e4; color: #9c3a00; font-size: 15px; font-weight: 700; }
@media (max-width: 860px) { .d-rec-card { grid-template-columns: minmax(0, 1fr); border-radius: 24px; } }

/* ---------- 保険・約款 ---------- */
.d-ins-lead { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.d-ins .d-ins-photo { aspect-ratio: 16 / 10; }
.d-stats-light { margin-top: clamp(28px, 4vw, 44px); }
.d-terms { background: #f5f8fc; }
.d-toc { margin: 0 0 28px; padding: 20px 24px; border-radius: var(--d-r); background: #fff; border: 1px solid var(--line); }
.d-toc p { margin: 0 0 8px; font-weight: 700; color: var(--navy-800); }
.d-toc ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; }
.d-toc li { break-inside: avoid; padding: 3px 0; font-size: 15px; }
.d-toc a { text-decoration: none; font-weight: 700; }
.d-toc a:hover { text-decoration: underline; }
.d-prose { padding: clamp(20px, 4vw, 44px); border-radius: var(--d-r-lg); background: #fff; border: 1px solid var(--line); }
.d-prose h3:first-child { margin-top: 0; }
.d-prose h4 { padding-left: 14px; border-left: 4px solid var(--d-orange-hi); scroll-margin-top: 130px; }
@media (max-width: 640px) { .d-toc ol { columns: 1; } }

/* ---------- 運営会社 ---------- */
.d-co-h { font-size: clamp(22px, 3vw, 32px) !important; }
.d-biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 6vw, 72px); }
.d-biz-i { border-radius: var(--d-r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 43, 82, .04); transition: transform .3s var(--ease), box-shadow .3s; }
.d-biz-i:hover { transform: translateY(-3px); box-shadow: var(--d-sh); }
.d-biz-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.d-biz-body { padding: 18px 20px 22px; }
.d-biz-body .ic { width: 44px; height: 44px; margin-top: -40px; margin-bottom: 10px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--d-navy-grad); border: 3px solid #fff; position: relative; }
.d-biz-body .ic svg { width: 22px; height: 22px; }
.d-biz-body h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 6px; }
.d-biz-body p { margin: 0; font-size: 15px; color: var(--ink-2); }
.d-tablecard { border-radius: var(--d-r); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.d-tablecard .dl-table { border-top: 0; }
.d-tablecard .dl-table tr:last-child > * { border-bottom: 0; }
@media (max-width: 860px) { .d-biz { grid-template-columns: minmax(0, 1fr); } }

/* ---------- お問い合わせ ---------- */
.d-contact { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
.d-contact-side { position: sticky; top: 130px; }
.d-telcard { padding: 24px; border-radius: var(--d-r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--d-sh); }
.d-telcard-k { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--navy-800); }
.d-telcard-k .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--d-orange-grad); color: #fff; }
.d-telcard-k .ic svg { width: 20px; height: 20px; }
.d-telcard-now { margin: 0; }
.d-telcard-num { display: block; margin: 8px 0 10px; font-size: clamp(30px, 3vw, 36px); font-weight: 700; letter-spacing: .03em; color: var(--navy-800); text-decoration: none; white-space: nowrap; }
.d-telcard-rows { margin: 0 0 16px; }
.d-telcard-rows dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.d-telcard-rows dd { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; }
.d-contact-help { margin-top: 16px; padding: 20px; border-radius: var(--d-r); background: #fff; border: 1px solid var(--line); }
.d-contact-help p { font-size: 15.5px; }
.d-contact-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; }
.d-contact-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.d-contact-links svg { width: 20px; height: 20px; }
.d-form-h { display: flex; align-items: center; gap: 10px; font-size: 21px; color: var(--navy-800); }
.d-form-h svg { width: 26px; height: 26px; color: var(--brand); }
@media (max-width: 960px) { .d-contact { grid-template-columns: minmax(0, 1fr); } .d-contact-side { position: static; } }

/* ---------- 料金ページ ---------- */
.d-hours2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 18px; align-items: stretch; }
.d-uketsuke { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.d-nowcard { padding: 20px 22px; border-radius: var(--d-r); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.d-nowcard p { margin: 0; }
.d-nowcard-k { font-size: 14.5px; font-weight: 700; color: var(--muted); }
.d-nowcard .d-calc-tel { margin-top: 10px; }
.d-h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(21px, 2.4vw, 25px); color: var(--navy-800); }
.d-h3 svg { width: 36px; height: 36px; padding: 7px; border-radius: 11px; background: var(--d-sky); color: var(--brand); flex-shrink: 0; }
.d-bar { display: flex; margin-top: 26px; border-radius: 16px; overflow: hidden; box-shadow: var(--d-sh); }
.d-bar-seg { padding: 12px 14px; color: #fff; display: grid; gap: 2px; transform-origin: left; }
.d-bar-seg span { font-size: 13.5px; font-weight: 700; opacity: .9; }
.d-bar-seg b { font-size: 15px; font-weight: 700; white-space: nowrap; }
.d-bar .s1 { flex: 1.3; background: #c8202a; }
.d-bar .s2 { flex: 2.2; background: var(--navy-800); }
.d-bar .s3 { flex: 2.6; background: #1d4f91; }
.d-js [data-d="bars"]:not(.is-in) .d-bar-seg { transform: scaleX(0); }
.d-js [data-d="bars"].is-in .d-bar-seg { animation: dGrow .8s var(--ease) both; }
.d-js [data-d="bars"].is-in .s2 { animation-delay: .2s; }
.d-js [data-d="bars"].is-in .s3 { animation-delay: .4s; }
@keyframes dGrow { from { transform: scaleX(0); } to { transform: none; } }
.d-examples { margin-top: 28px; padding: clamp(20px, 3vw, 30px); border-radius: var(--d-r-lg); background: #fff; border: 1px solid var(--line); }
.d-examples h3 { font-size: 18px; color: var(--navy-800); }
.d-ex-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.d-ex-table tbody { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.d-ex-table tr { display: grid; padding: 12px 14px; border-radius: 14px; background: var(--d-sky-2); border: 1px solid var(--line); }
.d-ex-table th { text-align: left; font-size: 14.5px; color: var(--muted); font-weight: 700; padding: 0; }
.d-ex-table td { padding: 0; font-size: 15px; font-weight: 700; color: var(--navy-800); white-space: nowrap; }
.d-ex-table td b { font-size: 25px; font-weight: 700; }
.d-examples .form-note { margin: 14px 0 0; }
.d-extra-table .amount { white-space: nowrap; }
@media (max-width: 860px) { .d-hours2 { grid-template-columns: minmax(0, 1fr); } .d-ex-table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .d-bar { flex-direction: column; } .d-bar-seg { display: flex; justify-content: space-between; align-items: baseline; } .d-js [data-d="bars"]:not(.is-in) .d-bar-seg { transform: scaleX(0); } }

/* ---------- 採用ページ（既存の部品を SD代行の色で） ---------- */
.d-recpage .dh .chips { margin-bottom: 14px; animation: dUp .7s var(--ease) .05s both; }
.d-recpage .dh .btn-row { animation: dUp .8s var(--ease) .55s both; }
.d-recpage .d-hero-note { animation: dUp .8s var(--ease) .65s both; }
.theme-daikou .step { border-radius: var(--d-r); }
.theme-daikou .step::before { color: #c8202a; font-weight: 700; }
.theme-daikou .faq { border-radius: 16px; }
.theme-daikou .faq summary::before { color: var(--brand); }
.theme-daikou .faq[open] { border-color: #b8cbe3; }

/* お礼のページ */
.theme-daikou .d-thanks { background: radial-gradient(800px 400px at 50% 0%, #e2ecf8, transparent 70%), var(--soft); }
.theme-daikou .d-thanks .icon { animation: dPop .7s var(--ease) both; }

/* ---------- フッター（紺） ---------- */
.theme-daikou .d-related { background: #f5f8fc; border-top: 0; }
.theme-daikou .site-footer.d-footer { background: radial-gradient(900px 420px at 85% 0%, rgba(46, 100, 173, .3), transparent 62%), linear-gradient(180deg, #0c1f3b, #061224); color: #c9d5e6; border-top: 0; padding-top: clamp(48px, 6vw, 72px); }
.theme-daikou .d-footer a:not(.btn):not(.d-bigtel) { color: #e6edf7; }
.theme-daikou .d-footer a:not(.btn):not(.d-bigtel):hover { color: #ffc24d; }
.theme-daikou .d-footer .footer-grid h4 { color: #fff; }
.theme-daikou .d-footer .footer-area .areas b { color: #fff; }
.theme-daikou .d-footer .footer-area img { max-width: 260px; border: 0; }
.theme-daikou .d-footer .footer-bottom { border-top-color: rgba(255, 255, 255, .1); color: #93a4bd; }
.d-fcall { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; margin-bottom: clamp(40px, 5vw, 64px); padding: clamp(22px, 3.6vw, 40px); border-radius: var(--d-r-lg); background: linear-gradient(120deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .13); }
.d-fcall-k { margin: 0 0 8px; }
.d-fcall h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 32px); color: #fff; }
.d-fcall-h { margin: 0; font-size: 15.5px; color: #c9d5e6; }
.d-bigtel { display: flex; align-items: center; gap: 14px; padding: 14px 28px 14px 14px; border-radius: 22px; background: var(--d-orange-grad); color: #fff; text-decoration: none; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .7); transition: transform .2s var(--ease); }
.d-bigtel:hover { color: #fff; transform: translateY(-2px); }
.d-bigtel-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
.d-bigtel-ic svg { width: 28px; height: 28px; }
.d-bigtel-tx { display: grid; line-height: 1.15; }
.d-bigtel-tx small { font-size: 14px; font-weight: 700; }
.d-bigtel-tx b { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.d-fbrand-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; text-decoration: none; }
.d-fbrand-logo img { width: 44px; height: 44px; border-radius: 11px; }
.d-footer .wm-daikou b { color: #fff; }
.d-footer .wm-daikou b i { color: #ff9a3d; }
.d-footer .wm-daikou small { color: #93a4bd; }
.d-fbrand > p { font-size: 15.5px; }
.d-fbtns { flex-direction: column; align-items: stretch; max-width: 340px; }
.d-flinks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.d-flinks a::before { content: "›"; margin-right: 8px; color: #ff7c84; font-weight: 700; }
@media (max-width: 860px) {
  .d-fcall { grid-template-columns: minmax(0, 1fr); }
  .d-bigtel { justify-self: stretch; }
}
@media (max-width: 400px) { .d-bigtel { padding-right: 16px; } .d-bigtel-ic { width: 46px; height: 46px; } }

/* ---------- スマホ: 画面下の固定の電話の帯と gnav（〜860px） ---------- */
.d-dock, .d-cta { display: none; }
@media (max-width: 860px) {
  body.theme-daikou .site-footer.d-footer { padding-bottom: calc(180px + env(safe-area-inset-bottom)); }
  .d-dock {
    display: block; position: fixed; z-index: 46; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); height: 72px;
    border-radius: 22px; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
    border: 1px solid rgba(16, 43, 82, .1); box-shadow: 0 14px 32px -12px rgba(11, 31, 58, .4), inset 0 1px 0 #fff;
    transition: transform .3s var(--ease), opacity .3s;
  }
  .d-dock ul { position: relative; z-index: 1; list-style: none; margin: 0; padding: 4px; height: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
  .d-dock a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; padding: 0; border-radius: 16px;
    color: #4a5568; text-decoration: none; font-size: 11px; font-weight: 700; line-height: 1.2; text-align: center; letter-spacing: 0;
    -webkit-tap-highlight-color: transparent; transition: background .25s, color .25s, transform .15s;
  }
  .d-dock a:active { transform: scale(.95); }
  .d-dock-ic svg { width: 22px; height: 22px; display: block; }
  /* 1行の項目も2行ぶんの高さにして、アイコンの高さをそろえる。枠の中で上下の余白が同じになるように、まとめて上下の真ん中に置く */
  .d-dock-lb { min-height: 2.3em; display: flex; align-items: center; line-height: 1.15; word-break: keep-all; }
  .d-dock a[aria-current] { background: linear-gradient(180deg, #e3ecf9, #d3e1f4); color: var(--navy-800); box-shadow: inset 0 0 0 1.5px rgba(29, 79, 145, .22); }
  .d-dock a[aria-current] .d-dock-ic { color: var(--brand); }
  /* 現在地の背景の枠は、押したとき・スクロールしたときに横へすべって動く（daikou.js が .d-dock-pill を足す）。JS が動かないときは上の背景のまま */
  .d-dock-pill {
    position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 16px; opacity: 0; pointer-events: none;
    background: linear-gradient(180deg, #e3ecf9, #d3e1f4); box-shadow: inset 0 0 0 1.5px rgba(29, 79, 145, .22);
  }
  .d-dock-pill.is-on { opacity: 1; }
  .d-dock.is-ready .d-dock-pill { transition: transform .38s var(--ease), width .38s var(--ease), opacity .2s; }
  .d-dock.has-pill a[aria-current] { background: none; box-shadow: none; }
  .d-dock.has-pill a .d-dock-ic { transition: color .25s; }

  .d-cta { display: block; position: fixed; z-index: 45; left: 8px; right: 76px; bottom: calc(88px + env(safe-area-inset-bottom)); transition: transform .35s var(--ease), opacity .35s, visibility .35s; }
  .d-cta-tel { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 12px 0 8px; border-radius: 18px; background: var(--d-orange-grad); color: #fff; text-decoration: none; box-shadow: 0 14px 28px -12px rgba(179, 22, 31, .75); }
  .d-cta-tel:hover { color: #fff; }
  .d-cta-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
  .d-cta-ic svg { width: 22px; height: 22px; }
  .d-cta-tx { display: grid; min-width: 0; line-height: 1.15; }
  .d-cta-tx small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
  .d-cta-tx b { font-size: 22px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
  .d-cta .d-status { background: #fff; }
  .d-cta.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .d-cta.two .btn { height: 60px; padding: 0 8px; font-size: 15.5px; border-radius: 18px; white-space: nowrap; }
  .d-cta.two .btn svg { width: 22px; height: 22px; }
  .d-js .d-top:not(.d-cta-show) .d-cta { transform: translateY(24px); opacity: 0; visibility: hidden; pointer-events: none; }
  body.d-typing .d-dock, body.d-typing .d-cta, body.d-typing .d-chat-launch { transform: translateY(160%); opacity: 0; pointer-events: none; }
}
@media (max-width: 374px) {
  .d-cta-tx b { font-size: 20px; }
  .d-cta-ic { width: 38px; height: 38px; }
  .d-cta.two .btn { font-size: 14.5px; }
}

/* ---------- 右下の AI アシスタント ---------- */
.d-chat-launch {
  position: fixed; z-index: 46; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px;
  border: 0; border-radius: 999px; cursor: pointer; color: #fff; font: 700 16px/1.2 var(--font-jp); letter-spacing: .03em;
  background: var(--d-navy-grad); box-shadow: 0 18px 36px -14px rgba(11, 31, 58, .65), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .25s var(--ease), box-shadow .25s, opacity .3s; animation: dPop .6s var(--ease) 1.2s both;
}
.d-chat-launch[hidden] { display: none; }
.d-chat-launch:hover { transform: translateY(-2px); }
.d-chat-launch-ic { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--d-orange-grad); }
.d-chat-launch-ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 154, 61, .7); animation: dHalo 2.8s ease-out 2s infinite; }
@keyframes dHalo { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.d-chat-launch-ic svg { width: 24px; height: 24px; }
.d-chat-on .d-chat-launch { opacity: 0; pointer-events: none; }
.d-chat-hint { position: fixed; z-index: 46; right: 24px; bottom: 96px; width: 270px; padding: 14px 40px 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--d-sh-lg); cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.d-chat-hint.is-open { opacity: 1; transform: none; }
.d-chat-hint[hidden] { display: none; }
.d-chat-hint::after { content: ""; position: absolute; right: 40px; bottom: -8px; width: 14px; height: 14px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.d-chat-hint p { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.6; color: var(--navy-800); }
.d-chat-hint-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--d-sky); color: var(--navy-800); cursor: pointer; display: grid; place-items: center; }
.d-chat-hint-x svg { width: 14px; height: 14px; }
.d-chat-shade { position: fixed; inset: 0; z-index: 89; background: rgba(6, 18, 36, .45); opacity: 0; transition: opacity .25s; }
.d-chat-shade.is-open { opacity: 1; }
.d-chat-shade[hidden], .d-chat[hidden] { display: none; }
@media (min-width: 861px) { .d-chat-shade { display: none !important; } }
.d-chat {
  position: fixed; z-index: 90; right: 24px; bottom: 24px; width: 392px; height: min(640px, calc(100dvh - 48px));
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 24px; overflow: hidden; background: #f4f7fb;
  box-shadow: 0 30px 70px -20px rgba(6, 18, 36, .55), 0 0 0 1px rgba(16, 43, 82, .08);
  opacity: 0; transform: translateY(16px) scale(.98); transform-origin: right bottom; transition: opacity .25s, transform .3s var(--ease);
}
.d-chat.is-open { opacity: 1; transform: none; }
.d-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; color: #fff; background: var(--d-navy-grad); }
.d-chat-av { width: 44px; height: 44px; border-radius: 13px; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.d-chat-av img { width: 36px; height: 36px; border-radius: 9px; }
.d-chat-who { flex: 1; min-width: 0; }
.d-chat-who h2 { margin: 0; font-size: 17px; line-height: 1.35; color: #fff; }
.d-chat-who p { margin: 3px 0 0; }
.d-chat-who .d-status { background: rgba(255, 255, 255, .12); color: #dbe5f2; }
.d-chat-who .d-status.is-open { background: rgba(34, 197, 94, .2); color: #c2f5d3; }
.d-chat-who .d-status.is-closed { background: rgba(255, 154, 61, .2); color: #ffd9ba; }
.d-chat-x { width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.d-chat-x:hover { background: rgba(255, 255, 255, .22); }
.d-chat-x svg { width: 20px; height: 20px; }
.d-chat-log { overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 10px; display: flex; flex-direction: column; gap: 10px; }
.d-msg { display: flex; gap: 8px; align-items: flex-start; animation: dUp .35s var(--ease) both; }
.d-msg-av { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; background: #fff url("/assets/img/mark-sddaikou.svg") center / 26px no-repeat; border: 1px solid var(--line); }
.d-msg.bot .d-msg-av + .d-bubble { margin-left: 0; }
.d-msg.bot:not(:has(.d-msg-av)) { padding-left: 38px; }
.d-bubble { max-width: 88%; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid var(--line); font-size: 15.5px; line-height: 1.75; color: var(--ink); word-break: auto-phrase; overflow-wrap: anywhere; }
.d-bubble b { color: var(--navy-800); }
.d-bubble small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.d-bubble a { font-weight: 700; white-space: nowrap; }
.d-chat-big { font-size: 22px; color: #c8202a !important; white-space: nowrap; }
.d-msg.me { justify-content: flex-end; }
.d-msg.me .d-bubble { border-radius: 16px 4px 16px 16px; background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.d-msg.choices, .d-msg.acts { padding-left: 38px; }
.d-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.d-chip { padding: 8px 14px; border-radius: 999px; border: 1.5px solid #9fb6d3; background: #fff; color: var(--navy-800); font: 700 14.5px/1.35 var(--font-jp); cursor: pointer; text-align: left; word-break: keep-all; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.d-chip:hover:not([disabled]) { background: var(--brand); border-color: var(--brand); color: #fff; }
.d-chip:active:not([disabled]) { transform: scale(.97); }
.d-chip[disabled] { cursor: default; opacity: .4; }
.d-chip.is-picked { opacity: 1; background: var(--d-sky); border-color: var(--brand); }
.d-chat-acts { display: flex; flex-wrap: wrap; gap: 7px; }
.d-chat-act { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--brand); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.d-chat-act:hover { border-color: var(--brand); }
.d-chat-act-tel { background: var(--d-orange-grad); border-color: #a83c00; color: #fff; }
.d-chat-act-tel:hover { color: #fff; }
.d-chat-act svg { width: 18px; height: 18px; }
.d-chat-break { list-style: none; padding: 0; margin: 4px 0; }
.d-chat-break li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.d-chat-break li b { white-space: nowrap; }
.d-chat-ol { margin: 4px 0; padding-left: 1.4em; font-size: 15px; }
.d-chat-area { margin: 0; font-size: 15px; }
.d-chat-area b { margin-right: 6px; }
.d-dots { display: inline-flex; gap: 5px; padding: 6px 2px; }
.d-dots i { width: 8px; height: 8px; border-radius: 50%; background: #9fb0c6; animation: dDot 1.1s ease-in-out infinite; }
.d-dots i:nth-child(2) { animation-delay: .15s; }
.d-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.d-chat-foot { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.d-chat-tel { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--d-orange-grad); color: #fff; text-decoration: none; }
.d-chat-tel:hover { color: #fff; }
.d-chat-tel svg { width: 22px; height: 22px; flex-shrink: 0; }
.d-chat-tel span { display: grid; line-height: 1.2; }
.d-chat-tel small { font-size: 12.5px; font-weight: 700; }
.d-chat-tel b { font-size: 20px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
body.d-noscroll { overflow: hidden; }
@media (max-width: 860px) {
  .d-chat-launch {
    right: 8px; bottom: calc(88px + env(safe-area-inset-bottom)); width: 60px; height: 60px; padding: 0; border-radius: 18px;
    flex-direction: column; justify-content: center; gap: 2px; font-size: 10.5px; letter-spacing: 0;
  }
  .d-chat-launch-ic { width: 32px; height: 32px; background: none; }
  .d-chat-launch-ic::after { display: none; }
  .d-chat-launch-ic svg { width: 26px; height: 26px; color: #ffb36b; }
  .d-chat { left: 0; right: 0; bottom: 0; width: auto; height: min(88dvh, 720px); border-radius: 22px 22px 0 0; transform: translateY(100%); transform-origin: center bottom; }
  .d-chat.is-open { transform: none; }
  .d-bubble { max-width: 92%; }
}

/* ---------- JS の動き（d-js のときだけ最初は隠す） ---------- */
.d-js [data-d="clip"] img { clip-path: inset(0 100% 0 0 round 28px); transform: scale(1.06); transition: clip-path 1.15s var(--ease), transform 1.8s var(--ease); }
.d-js [data-d="clip"].is-in img { clip-path: inset(0 0 0 0 round 28px); transform: none; }
.d-js [data-stagger]:not(.is-in) > * { opacity: 0; }
.d-js [data-stagger].is-in > * { animation: dUp .6s var(--ease) both; animation-delay: calc(var(--d-i, 0) * 90ms); }

/* ---------- 動きを減らす設定のとき: すべて止める ---------- */
@media (prefers-reduced-motion: reduce) {
  .theme-daikou *, .theme-daikou *::before, .theme-daikou *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .d-js [data-d="clip"] img { clip-path: none; transform: none; }
  .d-js [data-stagger]:not(.is-in) > *, .d-js .d-steps:not(.is-in) .d-step { opacity: 1; }
  .d-js .d-steps:not(.is-in)::before, .d-js [data-d="bars"]:not(.is-in) .d-bar-seg { transform: none; }
  .d-steps::after { display: none; }
  .d-chat, .d-chat-hint { transform: none; }
}
/* 続けて話すときは、アイコンを最初の吹き出しだけに */
.d-msg.bot + .d-msg.bot .d-msg-av { visibility: hidden; }
/* PC: いちばん下までスクロールしたとき、右下の AI アシスタントのボタンがフッターの字にかからないように */
@media (min-width: 861px) { body.theme-daikou .site-footer.d-footer { padding-bottom: 104px; } }

/* ---------- 押せるボタン（上のご案内）と、押せない「安心のポイント」の見た目を分ける（2026-10-31 依頼主） ---------- */
.dh-quick a { position: relative; padding-right: 40px; border: 1.5px solid #c9d7ea; box-shadow: 0 6px 16px -10px rgba(16, 43, 82, .45); }
.dh-quick a::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-right: 2.5px solid var(--orange-500); border-bottom: 2.5px solid var(--orange-500); transform: rotate(-45deg); transition: right .2s; }
.dh-quick a:hover::after { right: 14px; }
.dh-quick a:active { transform: translateY(1px); box-shadow: 0 2px 6px -4px rgba(16, 43, 82, .45); }
@media (max-width: 860px) { .dh-quick a::after { top: 22px; margin-top: 0; right: 14px; } }

.d-trust-box { border-radius: 22px; background: linear-gradient(180deg, #f3f7fc, #eef3fa); padding: clamp(18px, 2.6vw, 30px) clamp(16px, 3vw, 36px); }
.d-trust-h { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--navy-600); }
.d-trust-list { gap: 0 28px; }
.d-trust-list li { padding: 14px 0; border: 0; border-bottom: 1px dashed #c9d5e6; border-radius: 0; background: none; box-shadow: none; cursor: default; }
.d-trust-list .ic, .d-trust-list li:nth-child(even) .ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy-600); box-shadow: inset 0 0 0 1.5px #c9d7ea; }
.d-trust-list .ic svg { width: 21px; height: 21px; }
.d-trust-list b { font-size: 15.5px; }
@media (max-width: 860px) {
  .d-trust-list li { flex-direction: row; align-items: center; gap: 12px; padding: 12px 0; }
  .d-trust-list .ic { width: 36px; height: 36px; }
}
@media (max-width: 560px) { .d-trust-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 字の太さ（2026-10-31 依頼主「字が太すぎる」）: 見出しも 700 まで ---------- */
.theme-daikou h1, .theme-daikou h2, .theme-daikou h3, .theme-daikou .sec-title { font-weight: 700; }
.theme-daikou main p, .theme-daikou main li { font-weight: 400; }
.theme-daikou main p b, .theme-daikou main li b, .theme-daikou main strong { font-weight: 700; }

/* ---------- 配車の電話の帯は、PC でも画面の下にいつも出す（ヘッダーの電話ボタンは外した） ---------- */
@media (min-width: 861px) {
  .d-cta { display: block; position: fixed; z-index: 45; left: 24px; bottom: 18px; width: min(500px, calc(100% - 280px)); transition: transform .35s var(--ease), opacity .35s; }
  .d-cta-tel { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px 0 10px; border-radius: 20px; background: var(--d-orange-grad); color: #fff; text-decoration: none; box-shadow: 0 16px 32px -12px rgba(179, 22, 31, .7); transition: transform .2s, box-shadow .2s; }
  .d-cta-tel:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(179, 22, 31, .8); }
  .d-cta-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
  .d-cta-ic svg { width: 22px; height: 22px; }
  .d-cta-tx { display: grid; min-width: 0; line-height: 1.15; }
  .d-cta-tx small { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .d-cta-tx b { font-size: 24px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
  .d-cta .d-status { background: #fff; }
  body.theme-daikou .site-footer.d-footer { padding-bottom: 110px; }
}

/* フッターの大きな電話ボタン: 字は白（フッターのリンクの色を受けない） */
.site-footer a.d-bigtel, .site-footer a.d-bigtel:hover, .site-footer a.d-bigtel * { color: #fff; }

/* ---------- アニメーションを減らす（2026-10-31 本人「多すぎる・サービスサイトなので」） ----------
   残すのは: スクロールでのふわっと（site.js の data-reveal）・受付中の点・AI アシスタントの会話（吹き出し・入力中の点）・よくある質問の開閉・ボタンの hover */
.theme-daikou *, .theme-daikou *::before, .theme-daikou *::after { animation-name: none !important; }
.theme-daikou .d-msg { animation-name: dUp !important; }
.theme-daikou .d-dots i { animation-name: dDot !important; }
.theme-daikou .d-faq-i[open] .d-faq-a { animation-name: dDown !important; }
.theme-daikou .d-status.is-open::before { animation-name: dPulse !important; }
.d-js [data-d="clip"] img { clip-path: none !important; transform: none !important; transition: none !important; }
.d-js [data-stagger]:not(.is-in) > *, .d-js .d-steps:not(.is-in) .d-step { opacity: 1 !important; }
.d-js .d-steps:not(.is-in)::before, .d-js [data-d="bars"]:not(.is-in) .d-bar-seg { transform: none !important; }
.d-steps::after { display: none !important; }
.dh-road-dash, .dh-light, .d-map-pulse { display: none !important; }

/* ---------- 配車の電話ボタンの色（2026-10-31 夜 見直し → 11/1 赤に） ----------
   11/1 本人「まだ色がおかしい」「CTAは赤にしよう」: ボタンは赤・字は白（コントラスト 4.7:1 以上）。飾りの線や小さな見出しのオレンジも赤にそろえ、オレンジはロゴだけに残す
   前は白い字を読めるようにオレンジを暗くしていて、茶色に見えていた（本人「茶色と紺でいいのか考え直して」）。
   ロゴのオレンジに近い明るい色にして、字とアイコンを紺にする（字のコントラスト 6:1 以上）。ロゴの「SD」もマークと同じオレンジに */
.theme-daikou { --d-orange-grad: var(--d-cta); }
.theme-daikou :is(.d-htel, .d-htel-sp, .btn-accent, .dh-tel, .d-tel, .d-calc-tel, .d-bigtel, .d-cta-tel, .d-chat-act-tel, .d-chat-tel),
.theme-daikou :is(.d-htel, .d-htel-sp, .btn-accent, .dh-tel, .d-tel, .d-calc-tel, .d-bigtel, .d-cta-tel, .d-chat-act-tel, .d-chat-tel):hover,
.site-footer a.d-bigtel, .site-footer a.d-bigtel:hover, .site-footer a.d-bigtel * { color: var(--d-cta-ink); }
.theme-daikou .d-tel { background: var(--d-cta); }
.theme-daikou :is(.dh-badge-b .ic, .d-step-ic, .d-calc-ttl svg, .d-telcard-k .ic, .d-chat-launch-ic) { color: var(--d-cta-ink); }
.theme-daikou .btn-accent, .theme-daikou .d-chat-act-tel { border-color: #b3161f; }
.theme-daikou :is(.d-cta-ic, .d-bigtel-ic, .d-htel-ic) { background: rgba(255, 255, 255, .2); }
.theme-daikou .wm-daikou b i { color: #f07a1a; }
.theme-daikou { --orange-500: #c8202a; --orange-600: #a3161f; --orange-100: #fdeced; }

/* ---------- ヘッダーのすぐ下の営業時間のバー（2026-11-01 本人「ヘッダーのすぐ下に営業時間を固定のバーで」） ---------- */
.d-hoursbar { background: #0f2747; color: #fff; border-top: 1px solid rgba(255, 255, 255, .06); }
.d-hoursbar .container { height: 32px; display: flex; align-items: center; justify-content: center; gap: 4px 12px; font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: .04em; }
.d-hoursbar-k { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #f6d68f; font-size: 13px; }
.d-hoursbar-k svg { width: 15px; height: 15px; }
.d-hoursbar-sep { color: rgba(255, 255, 255, .45); }
@media (max-width: 860px) {
  .d-hoursbar .container { height: 30px; gap: 6px; font-size: 12px; letter-spacing: 0; }
  .d-hoursbar-k { padding: 3px 8px; font-size: 11.5px; gap: 4px; }
  .d-hoursbar-k svg { width: 13px; height: 13px; }
  .d-hoursbar-sep { margin: 0 -2px; }
}
