/* つちかぜ造園（架空）— Web工房Pono 自主制作
   色は :root の5系統（メイン・アクセント・背景・文字・線）にまとめてある。テンプレートの色替えはここだけ触ればよい。
   素材の見本（.sw--*）と配置図の柄は「実物の素材の色」なので、テーマ色とは別に固定している */
:root {
  /* メイン：松葉色 */
  --main: #234A3C; --main-d: #163126; --main-l: #DCE6DF;
  /* アクセント：コールテン鋼（さび色） */
  --acc: #B9652F; --acc-d: #9A5224; --acc-l: #F5E6DA;
  /* 背景：コンクリートの紙 */
  --bg: #F3F2EE; --bg2: #E8E9E2; --paper: #FFFFFF;
  /* 文字 */
  --ink: #1C221F; --sub: #58615C; --mute: #8D958F;
  /* 線 */
  --line: rgba(28,34,31,.14); --line-s: rgba(28,34,31,.32);

  --hd: "Shippori Antique B1", "Hiragino Mincho ProN", serif;
  --jp: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --en: "Instrument Sans", "Noto Sans JP", sans-serif;
  --sr: "Instrument Serif", serif;
  --r: 6px; --ease: cubic-bezier(.22,.7,.2,1); --hh: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-size: 16px; line-height: 1.95; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--hd); font-weight: 400; line-height: 1.5; margin: 0; letter-spacing: .06em; }
/* 見出しは文節で折り返し、1文字だけ次の行に落ちないように */
h1, h2, h3, .wc__t, .sv b, .pk__k, .btn, .pz small, .mo small, .st__l { word-break: auto-phrase; text-wrap: balance; }
p { margin: 0; } ul, ol, dl, dd, fieldset, figure { margin: 0; padding: 0; list-style: none; border: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
svg { display: block; }
.wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.narrow { max-width: 880px; }
.en { font-family: var(--sr); font-style: italic; font-size: 20px; letter-spacing: .02em; line-height: 1.3; }
.demo-bar { background: var(--ink); color: rgba(255,255,255,.82); font-size: 12px; text-align: center; padding: 7px 14px; line-height: 1.6; }
.demo-bar a { text-decoration: underline; margin-left: 6px; }
.note { font-size: 13px; color: var(--sub); margin-top: 18px; line-height: 1.8; }
.hint { font-size: 13px; color: var(--sub); line-height: 1.75; margin-top: 10px; }
.lbl { font-size: 14px; font-weight: 700; margin: 22px 0 10px; }
.lbl small { font-weight: 400; color: var(--sub); margin-left: 6px; font-size: 12px; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }

/* ---------- 素材の見本（実物の色） ---------- */
.sw { display: inline-block; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); vertical-align: middle; background-color: #ddd; }
.sw--concrete { background: radial-gradient(#B3B0A8 .9px, transparent 1.3px) 0 0/7px 7px, radial-gradient(#DAD8D2 .8px, transparent 1.2px) 3px 4px/9px 9px, #CFCDC6; }
.sw--slit { background: repeating-linear-gradient(90deg, #CFCDC6 0 30%, #7D9B57 30% 42%, #CFCDC6 42% 72%, #7D9B57 72% 84%, #CFCDC6 84% 100%); }
.sw--gravel { background: radial-gradient(#A0978A 1.3px, transparent 1.7px) 0 0/6px 6px, radial-gradient(#E0DACF 1.1px, transparent 1.5px) 3px 3px/6px 6px, #C3BBAE; }
.sw--interlock { background: linear-gradient(#9E6A4A 1px, transparent 1px) 0 0/100% 7px, linear-gradient(90deg, #9E6A4A 1px, transparent 1px) 0 0/12px 14px, linear-gradient(90deg, #9E6A4A 1px, transparent 1px) 6px 7px/12px 14px, #B9825F; }
.sw--arai { background: radial-gradient(#9A8B74 1px, transparent 1.4px) 0 0/4px 4px, radial-gradient(#ECE2D0 .9px, transparent 1.3px) 2px 2px/4px 4px, #CDBEA6; }
.sw--tile { background: linear-gradient(#BCB6AB 1px, transparent 1px) 0 0/10px 10px, linear-gradient(90deg, #BCB6AB 1px, transparent 1px) 0 0/10px 10px, #D9D4CB; }
.sw--stone { background: linear-gradient(115deg, transparent 38%, #9C9283 38% 42%, transparent 42%), linear-gradient(32deg, transparent 58%, #9C9283 58% 62%, transparent 62%), linear-gradient(160deg, transparent 22%, #9C9283 22% 26%, transparent 26%), linear-gradient(75deg, transparent 75%, #9C9283 75% 79%, transparent 79%), #C9BFAE; }
.sw--tennen { background: repeating-linear-gradient(90deg, #86A35F 0 3px, #78964F 3px 5px); }
.sw--jinko { background: repeating-linear-gradient(45deg, #6FA048 0 2px, #5F903B 2px 4px); }
.sw--terrace { background: linear-gradient(#C6BDAE 1px, transparent 1px) 0 0/14px 14px, linear-gradient(90deg, #C6BDAE 1px, transparent 1px) 0 0/14px 14px, #E3DCD0; }
.sw--mesh { background: repeating-linear-gradient(45deg, #8C918E 0 1px, transparent 1px 5px), repeating-linear-gradient(-45deg, #8C918E 0 1px, transparent 1px 5px), #EEF0EE; }
.sw--alumi { background: repeating-linear-gradient(180deg, #3B3F3E 0 4px, #5A5F5D 4px 5px); }
.sw--wood { background: repeating-linear-gradient(180deg, #8A5A3B 0 5px, #74492F 5px 6px); }
.sw--nuri { background: radial-gradient(circle at 30% 30%, #F3EDE3, #D8CEBE); }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 10px 26px; border: 1.5px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; text-align: center; transition: background .3s, color .3s, border-color .3s; background: none; }
.btn .arw { width: 20px; height: 20px; flex: 0 0 auto; transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--main { background: var(--main); color: #fff; } .btn--main:hover { background: var(--main-d); }
.btn--acc { background: var(--acc); color: #fff; } .btn--acc:hover { background: var(--acc-d); }
.btn--line { border-color: currentColor; } .btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sec--dark .btn--line:hover, .cta .btn--line:hover { background: #fff; color: var(--main-d); border-color: #fff; }
.btn--lg { min-height: 60px; padding: 12px 30px; font-size: 16px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .08em; padding: 6px 0; border-bottom: 1.5px solid currentColor; white-space: nowrap; }
.more .arw { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.more:hover .arw { transform: translateX(5px); }
.link { background: none; border: 0; padding: 0; color: var(--acc-d); text-decoration: underline; font-size: 14px; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; height: var(--hh); padding: 0 28px; background: rgba(243,242,238,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hd.is-scr { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.3); }
.lg { display: flex; align-items: center; gap: 12px; color: var(--main); }
.lg__m { width: 40px; height: 40px; flex: 0 0 auto; }
.lg b { display: block; font-family: var(--hd); font-weight: 400; font-size: 22px; letter-spacing: .14em; line-height: 1.2; color: var(--ink); }
.lg small { display: block; font-family: var(--en); font-size: 10px; letter-spacing: .18em; color: var(--sub); line-height: 1.4; white-space: nowrap; }
.lg--w, .lg--w b { color: #fff; } .lg--w small { color: rgba(255,255,255,.6); }
.hd__nav { display: flex; gap: 28px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.hd__nav a { position: relative; padding: 6px 0; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hd__nav a:hover::after, .hd__nav a.is-cur::after { transform: scaleX(1); }
.hd__tel { font-family: var(--en); font-weight: 600; font-size: 17px; line-height: 1.2; letter-spacing: .04em; }
.hd__tel small { display: block; font-family: var(--jp); font-size: 10px; color: var(--sub); font-weight: 400; }
.hd__cta { min-height: 46px; padding: 8px 22px; font-size: 14px; }
.mb { display: none; }
.dr { display: none; }

/* ---------- 見出し（寸法線のモチーフ） ---------- */
.st { margin-bottom: 44px; max-width: 760px; }
.st__no { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--acc-d); }
.st__no span { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .16em; white-space: nowrap; }
.st__no i { position: relative; flex: 0 0 56px; height: 1px; background: currentColor; }
.st__no i::before, .st__no i::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: currentColor; }
.st__no i::before { left: 0; } .st__no i::after { right: 0; }
.st__no em { font-family: var(--sr); font-style: italic; font-size: 21px; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.st h2 { font-size: clamp(24px, 2.9vw, 36px); }
.st__l { margin-top: 18px; color: var(--sub); }
.st--w .st__no, .st--w .st__no em { color: #E9B48D; } .st--w h2 { color: #fff; } .st--w .st__l { color: rgba(255,255,255,.78); }
.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.row .st { margin-bottom: 0; }

/* ページの頭 */
.ph { padding: 56px 0 46px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--line) 1px, transparent 1px) 0 0/100% 32px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/32px 100%; background-color: var(--bg); position: relative; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 30%, rgba(243,242,238,.6)); pointer-events: none; }
.ph .wrap { position: relative; z-index: 1; }
.crumb { font-size: 12.5px; color: var(--sub); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.ph__en { font-family: var(--sr); font-style: italic; font-size: 24px; color: var(--acc-d); line-height: 1.2; }
.ph h1 { font-size: clamp(30px, 4.6vw, 52px); margin-top: 6px; }
.ph__l { margin-top: 18px; max-width: 700px; color: var(--sub); }
.dim { display: flex; align-items: center; gap: 12px; margin-top: 30px; max-width: 420px; color: var(--line-s); }
.dim i { position: relative; flex: 1; height: 1px; background: currentColor; }
.dim i::before { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: currentColor; }
.dim i:first-child::before { left: 0; } .dim i:last-child::before { right: 0; }
.dim span { font-family: var(--en); font-size: 10px; letter-spacing: .3em; color: var(--sub); }

/* ---------- セクション ---------- */
.sec { padding: 110px 0; }
.sec--t { padding-top: 56px; }
.sec--sub { background: var(--bg2); }
.sec--dark { background: var(--main-d); color: #fff; }

/* ---------- ヒーロー ---------- */
.hero { padding: 48px 0 40px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: 52px; align-items: center; }
.hero__geo { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--acc-d); margin-bottom: 26px; }
.hero__geo span + span::before { content: "/"; margin-right: 14px; color: var(--line-s); }
.hero__t { font-size: clamp(34px, 3.9vw, 52px); line-height: 1.38; letter-spacing: .08em; }
.hero__t span { display: block; opacity: 0; transform: translateY(18px); animation: up 1s var(--ease) forwards; }
.hero__t span:nth-child(2) { animation-delay: .15s; }
@keyframes up { to { opacity: 1; transform: none; } }
.hero__d { margin-top: 26px; color: var(--sub); max-width: 460px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__f { position: relative; }
.hero__img { border-radius: 180px 6px 6px 6px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--bg2); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; animation: zoom 2.4s var(--ease) both; }
@keyframes zoom { from { transform: scale(1.06); } to { transform: none; } }
.hero__cap { position: absolute; left: -28px; bottom: 28px; display: flex; align-items: center; gap: 14px; background: var(--paper); padding: 14px 16px 14px 18px; border-radius: var(--r); box-shadow: 0 18px 40px -22px rgba(0,0,0,.4); max-width: calc(100% - 20px); }
.hero__cap b { display: block; font-size: 14.5px; line-height: 1.5; }
.hero__cap small { display: block; font-size: 12px; color: var(--sub); line-height: 1.5; }
.hero__cap a { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--main); color: #fff; display: grid; place-items: center; }
.hero__cap .arw { width: 18px; height: 18px; }
.hero__mats { display: flex; gap: 10px 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.hero__mats li { display: flex; align-items: center; gap: 8px; }
.hero__mats .sw { width: 22px; height: 22px; }

/* 頼めること */
.svs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sv { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s; }
.sv:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(0,0,0,.35); }
.sv__sw { width: 48px; height: 48px; }
.sv__no { position: absolute; top: 22px; right: 22px; font-family: var(--sr); font-style: italic; font-size: 26px; color: var(--mute); line-height: 1; }
.sv b { font-family: var(--hd); font-weight: 400; font-size: 21px; margin-top: 8px; }
.sv__d { font-size: 14px; color: var(--sub); line-height: 1.8; flex: 1; }
.sv__more { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--main); }
.sv__more .arw { width: 18px; height: 18px; }

/* 型えらび（トップ・シミュレーター） */
.mini__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.mini .st { margin-bottom: 30px; }
.pzs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pz { text-align: left; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.04); color: #fff; transition: .25s; min-height: 64px; }
.pz b { display: block; font-size: 15.5px; line-height: 1.4; }
.pz small { display: block; font-size: 12px; line-height: 1.55; opacity: .75; margin-top: 4px; }
.pz:hover { border-color: rgba(255,255,255,.6); }
.pz.is-on { background: #fff; color: var(--main-d); border-color: #fff; }
.mini__total { margin-top: 30px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.mini__total small { flex: 0 0 100%; font-size: 13px; opacity: .75; }
.mini__total b { font-family: var(--en); font-weight: 500; font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -.01em; }
.mini__total span { font-size: 18px; }
.mini__note { font-size: 13px; opacity: .7; margin: 14px 0 26px; line-height: 1.7; }
.mini__plan { background: var(--bg); border-radius: var(--r); padding: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

/* 配置図 */
.plan { width: 100%; height: auto; font-family: var(--en), var(--jp); }
.plan text { font-size: 10px; fill: var(--ink); letter-spacing: .04em; }
.plan .pl-b { fill: none; stroke: var(--line-s); stroke-dasharray: 4 3; }
.plan .pl-lab rect { fill: #fff; stroke: rgba(28,34,31,.18); }
.plan .pl-lab text { font-size: 9.5px; font-weight: 600; }
.plan g[data-plan-g] { animation: pfade .35s ease; }
@keyframes pfade { from { opacity: .55; } }

/* 施工例カード */
.wcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.wc.is-out { display: none; }
.wc__btn { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.wc__img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--bg2); }
.wc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wc__btn:hover .wc__img img { transform: scale(1.05); }
.wc__tag { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.94); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; color: var(--main); }
.wc__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; font-size: 12.5px; color: var(--sub); }
.wc__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line-s); margin-right: 14px; vertical-align: middle; }
.wc__t { font-family: var(--hd); font-size: 19px; line-height: 1.55; margin-top: 6px; }
.wc__ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.wc__p { font-family: var(--en); font-weight: 600; font-size: 18px; }
.wc__p small { font-family: var(--jp); font-size: 11px; font-weight: 400; color: var(--sub); }
.wc__sw { display: flex; }
.wc__sw .sw { width: 22px; height: 22px; margin-left: -6px; box-shadow: 0 0 0 2px var(--bg); }
.wcs--top .wc:nth-child(2) { margin-top: 60px; }

/* 見本帳 */
.mts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mt { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 16px; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); }
.mt .sw { width: 100%; height: 86px; border-radius: 4px; margin-bottom: 10px; }
.mt b { font-size: 14.5px; line-height: 1.5; padding: 0 6px; }
.mt__p { font-family: var(--en); font-size: 14px; font-weight: 600; color: var(--main); line-height: 1.4; padding: 0 6px; }
.mt__p small { font-family: var(--jp); font-size: 10.5px; font-weight: 400; color: var(--sub); }
.mt__d { font-size: 12.5px; color: var(--sub); line-height: 1.7; margin-top: 6px; padding: 0 6px; }

/* 流れ */
.fl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; }
.fl__img img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.fl__img figcaption { font-size: 13px; color: var(--sub); margin-top: 10px; }
.fl__l { counter-reset: f; }
.fl__l li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding: 0 0 30px; }
.fl__l li::before { content: ""; position: absolute; left: 27px; top: 48px; bottom: 6px; width: 1px; background: var(--line-s); }
.fl__l li:last-child::before { display: none; }
.fl__no { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--main); color: var(--main); display: grid; place-items: center; font-family: var(--en); font-weight: 600; font-size: 15px; background: var(--bg); }
.fl__l b { font-family: var(--hd); font-weight: 400; font-size: 20px; padding-top: 10px; line-height: 1.5; }
.fl__l p { color: var(--sub); font-size: 14.5px; margin-top: 4px; }
.fl__l--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.fl__l--row li::before { display: none; }

/* 会社（トップ） */
.co { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.co__img img { border-radius: 6px 6px 140px 6px; aspect-ratio: 2 / 3; object-fit: cover; width: 100%; max-height: 640px; }
.co__h { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 24px; }
.co__t p { margin-bottom: 16px; color: var(--sub); }
.co__area { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 30px; }
.co__area li { font-size: 13px; padding: 4px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

/* CTA・フッター */
.cta { background: var(--main); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0/100% 28px, linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0/28px 100%; }
.cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.cta .en { color: #E9B48D; }
.cta h2 { font-size: clamp(27px, 3vw, 40px); margin: 10px 0 18px; }
.cta__t p:last-child { opacity: .85; }
.cta__b { display: grid; gap: 12px; }
.cta__tel { font-size: 13px; opacity: .85; margin-top: 6px; line-height: 1.8; }
.cta__tel a { font-family: var(--en); font-weight: 600; font-size: 20px; }
.ft { background: var(--ink); color: rgba(255,255,255,.78); padding: 72px 0 28px; font-size: 13.5px; }
.ft__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.ft__co p { margin-top: 20px; line-height: 1.9; }
.ft__lic { font-size: 12px; opacity: .7; }
.ft__nav { display: grid; gap: 10px; align-content: start; }
.ft__nav a:hover { color: #fff; text-decoration: underline; }
.ft__area .en { color: #E9B48D; margin-bottom: 10px; }
.ft__area small { opacity: .7; }
.ft__bt { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; opacity: .8; }
.ft__bt a { text-decoration: underline; }
.spb { display: none; }

/* モーダル */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(20,24,22,.55); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__b { background: var(--paper); border-radius: 10px; padding: 34px 30px 28px; max-width: 460px; width: 100%; text-align: center; }
.modal__t { font-family: var(--hd); font-size: 21px; line-height: 1.6; margin-bottom: 14px; }
.modal__d { font-size: 14px; color: var(--sub); text-align: left; margin-bottom: 24px; line-height: 1.85; }

/* ---------- 施工例：絞り込み ---------- */
.flt { display: grid; gap: 18px; padding: 26px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.flt fieldset { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: start; }
.flt legend { float: left; font-size: 14px; font-weight: 700; padding-top: 9px; }
.flt legend small { display: block; font-weight: 400; font-size: 12px; color: var(--sub); line-height: 1.4; }
.chs { display: flex; flex-wrap: wrap; gap: 8px; }
.ch { position: relative; }
.ch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ch span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border-radius: 999px; border: 1.5px solid var(--line-s); font-size: 14px; line-height: 1.4; transition: .2s; background: var(--paper); }
.ch input:checked + span { background: var(--main); border-color: var(--main); color: #fff; }
.ch input[type=checkbox]:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.ch input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.flt__row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; padding-top: 16px; border-top: 1px dashed var(--line-s); }
.sel { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.sel select, .fld select { appearance: none; -webkit-appearance: none; min-height: 46px; padding: 8px 40px 8px 16px; border: 1.5px solid var(--line-s); border-radius: var(--r); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C221F' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center/12px no-repeat; font-weight: 400; }
.flt__reset { margin-left: auto; background: none; border: 0; font-size: 14px; text-decoration: underline; color: var(--sub); min-height: 44px; }
.cnt { margin: 34px 0 22px; font-size: 14px; color: var(--sub); }
.cnt b { font-family: var(--en); font-size: 30px; color: var(--ink); font-weight: 600; margin-right: 4px; }
.empty { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line-s); border-radius: var(--r); }
.empty p { color: var(--sub); } .empty p:first-child { color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.empty .btn { margin-top: 22px; }

/* 施工例の詳細（dialog） */
.dlg { width: min(1080px, calc(100% - 40px)); max-height: calc(100% - 40px); padding: 0; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); overflow: auto; }
.dlg::backdrop { background: rgba(20,24,22,.62); }
.dlg__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); position: relative; }
.dlg__img { background: var(--bg2); }
.dlg__img img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; aspect-ratio: 3 / 2; }
.dlg__b { padding: 36px 34px 28px; }
.dlg__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: 0 4px 16px -6px rgba(0,0,0,.35); }
.dlg__x i { position: absolute; left: 14px; right: 14px; top: 23px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.dlg__x i + i { transform: rotate(-45deg); }
.dlg__meta { font-size: 12.5px; color: var(--sub); margin-bottom: 6px; padding-right: 40px; }
.dlg h2 { font-size: 24px; padding-right: 30px; }
.dlg__lead { color: var(--main); font-weight: 700; margin: 12px 0 10px; line-height: 1.7; }
.dlg__body { font-size: 14.5px; color: var(--sub); }
.dlg__h { font-size: 13px; font-weight: 700; margin: 22px 0 10px; }
.dlg__mats { display: grid; gap: 8px; margin-bottom: 24px; }
.dlg__mats li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.dlg__mats li small { font-size: 12px; color: var(--sub); min-width: 70px; }
.dlg__nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--sub); }
.dlg__nav button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; background: none; border: 0; font-size: 13.5px; font-weight: 700; padding: 0 4px; }
.dlg__nav .arw { width: 18px; height: 18px; }
[data-dlg-prev] .arw { transform: scaleX(-1); }
.spec { display: grid; border-top: 1px solid var(--line); margin-top: 22px; }
.spec div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec dt { color: var(--sub); }
.spec dd { font-weight: 500; }
.spec--co div { grid-template-columns: 160px 1fr; padding: 16px 0; font-size: 15px; }

/* ---------- 費用シミュレーター ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: start; }
.sim__pz { background: var(--main-d); color: #fff; border-radius: var(--r); padding: 6px 22px 22px; margin-bottom: 18px; }
.sim__pz .lbl { margin-top: 16px; }
.zn { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 24px; margin-bottom: 18px; min-width: 0; }
.zn legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-family: var(--hd); font-size: 21px; line-height: 1.4; margin-bottom: 14px; }
.zn legend + * { clear: both; }
.zn__no { font-family: var(--en); font-size: 12px; font-weight: 600; color: #fff; background: var(--acc); border-radius: 4px; padding: 3px 7px; letter-spacing: .08em; }
.zn__sum { margin-left: auto; font-family: var(--en); font-size: 16px; font-weight: 600; color: var(--main); white-space: nowrap; }
.qt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 14px; padding: 4px 0 16px; }
.qt__l { font-size: 14px; font-weight: 700; }
.qt__c { display: flex; align-items: center; gap: 4px; }
.qt__b { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-s); background: var(--paper); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.qt__b:hover { border-color: var(--main); color: var(--main); }
.qt output { min-width: 78px; text-align: center; font-size: 14px; }
.qt output b { font-family: var(--en); font-size: 26px; font-weight: 600; margin-right: 2px; }
.qt input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--main); height: 28px; }
.mos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mo { position: relative; }
.mo input, .sg input, .tg input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.mo span { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); transition: .2s; }
.mo .sw { width: 42px; height: 42px; border-radius: 8px; grid-row: span 2; }
.mo b { font-size: 14.5px; line-height: 1.45; }
.mo em { font-style: normal; font-family: var(--en); font-size: 13px; color: var(--sub); line-height: 1.4; }
.mo small { grid-column: 1 / -1; font-size: 12px; color: var(--sub); line-height: 1.65; margin-top: 8px; }
.mo input:checked + span, .sg input:checked + span, .tg input:checked + span { border-color: var(--main); background: var(--main-l); box-shadow: inset 0 0 0 1px var(--main); }
.mo input:focus-visible + span, .sg input:focus-visible + span, .tg input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.zn .lbl:first-of-type { margin-top: 0; }
.sgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sg { position: relative; }
.sg span { display: flex; flex-direction: column; justify-content: center; min-height: 58px; height: 100%; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: var(--r); font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center; }
.sg em { font-style: normal; font-family: var(--en); font-weight: 500; font-size: 12px; color: var(--sub); }
.tgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tg { position: relative; }
.tg span { display: block; height: 100%; padding: 12px 14px 12px 46px; border: 1.5px solid var(--line); border-radius: var(--r); position: relative; }
.tg span::before { content: ""; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--line-s); background: #fff; }
.tg input:checked + span::before { background: var(--main) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3.5 3.5L15 7' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center/16px no-repeat; border-color: var(--main); }
.tg b { display: block; font-size: 14px; line-height: 1.5; }
.tg em { font-style: normal; font-family: var(--en); font-size: 12.5px; color: var(--sub); }
.sim__r { position: sticky; top: calc(var(--hh) + 16px); }
.sim__card { background: var(--paper); border-radius: 10px; padding: 26px 24px; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); }
.sim__rt { font-size: 14px; font-weight: 700; }
.sim__rt small { font-weight: 400; color: var(--sub); }
.sim__total { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.sim__total b { font-family: var(--en); font-weight: 500; font-size: clamp(40px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.01em; color: var(--main-d); }
.sim__range { font-size: 13px; color: var(--sub); }
.sim__range span { font-family: var(--en); font-weight: 600; color: var(--ink); }
.stack { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 16px 0 14px; background: var(--bg2); }
.stack i { display: block; height: 100%; transition: flex-grow .4s var(--ease); min-width: 0; }
.sim__plan { background: var(--bg); border-radius: var(--r); padding: 10px; }
.sim__legend { font-size: 11.5px; color: var(--sub); margin-top: 6px; line-height: 1.6; }
.bd { margin: 16px 0 6px; }
.bd div { display: grid; grid-template-columns: 12px 1fr auto; gap: 2px 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.bd i { width: 10px; height: 10px; border-radius: 3px; align-self: center; }
.bd dt { font-weight: 700; line-height: 1.5; }
.bd dt small { display: block; font-weight: 400; font-size: 12px; color: var(--sub); }
.bd dd { font-family: var(--en); font-weight: 600; font-size: 15px; white-space: nowrap; }
.sim__note { font-size: 12px; color: var(--sub); line-height: 1.75; margin: 14px 0 18px; }
.sim__card .btn + .btn { margin-top: 10px; }
.simbar { display: none; }

/* 工事とお手入れ */
.pks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pk { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pk__plan { background: var(--bg); padding: 12px; border-bottom: 1px solid var(--line); }
.pk__b { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pk__k { font-family: var(--hd); font-size: 22px; }
.pk__d { font-size: 13.5px; color: var(--sub); }
.pk__p { margin: 6px 0 12px; flex: 1; }
.pk__p b { font-family: var(--en); font-weight: 600; font-size: 30px; color: var(--main-d); }
.pk__p small { font-size: 12px; color: var(--sub); }
.pk .more { align-self: flex-start; }
.sv2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.sv2__img img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.sv2__img--t img { aspect-ratio: 4 / 5; max-height: 460px; }
.tbl { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r); overflow: hidden; font-size: 14.5px; }
.tbl caption { text-align: left; font-weight: 700; font-size: 14px; padding: 0 0 12px; }
.tbl th, .tbl td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl tbody th { font-weight: 500; }
.tbl td { font-family: var(--en); font-weight: 600; white-space: nowrap; text-align: right; }
.tbl thead th { font-size: 12.5px; color: var(--sub); font-weight: 400; background: var(--bg); }
.tbl--3 td:nth-child(2) { font-family: var(--jp); font-weight: 400; color: var(--sub); text-align: center; }
.tbl--3 thead th:nth-child(n+2) { text-align: center; }
.ticks { display: grid; gap: 10px; margin-top: 8px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--main-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10l3 3 6-6' fill='none' stroke='%23234A3C' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat; }

/* 会社案内 */
.msg { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.msg__img img { border-radius: 140px 6px 6px 6px; aspect-ratio: 2 / 3; object-fit: cover; width: 100%; max-height: 600px; }
.msg__t p { color: var(--sub); margin-bottom: 16px; }
.sign { color: var(--ink) !important; font-family: var(--hd); font-size: 17px; margin-top: 28px; }
.vl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vl li { background: var(--paper); border-radius: var(--r); padding: 30px 26px; border-top: 3px solid var(--main); }
.vl__no { font-family: var(--sr); font-style: italic; font-size: 32px; color: var(--acc); line-height: 1; }
.vl b { display: block; font-family: var(--hd); font-weight: 400; font-size: 21px; margin: 14px 0 10px; line-height: 1.5; }
.vl p { font-size: 14.5px; color: var(--sub); }
.fqs { display: grid; gap: 10px; }
.fq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.fq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative; font-weight: 700; line-height: 1.6; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::before { content: "Q"; font-family: var(--sr); font-style: italic; color: var(--acc); font-size: 20px; margin-right: 10px; }
.fq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s; }
.fq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.fq p { padding: 0 22px 20px 50px; color: var(--sub); font-size: 15px; }

/* ---------- 現地調査の予約 ---------- */
.rsv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 48px; align-items: start; }
.rf { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 30px 32px 32px; scroll-margin-top: calc(var(--hh) + 12px); }
.rf__prog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; counter-reset: s; }
.rf__prog li { font-size: 12.5px; color: var(--mute); padding-top: 10px; border-top: 3px solid var(--bg2); line-height: 1.4; display: flex; align-items: center; gap: 6px; }
.rf__prog b { font-family: var(--en); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg2); font-size: 12px; flex: 0 0 auto; }
.rf__prog li.is-on { color: var(--ink); border-color: var(--main); font-weight: 700; }
.rf__prog li.is-on b { background: var(--main); color: #fff; }
.rf__p { display: none; }
.rf__p.is-on { display: block; animation: up .45s var(--ease); }
.cal__hd { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.cal__hd .lbl { margin-bottom: 0; }
.cal__nav { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.cal__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-s); background: var(--paper); display: grid; place-items: center; }
.cal__nav button:disabled { opacity: .3; cursor: default; }
.cal__nav button:first-child .arw { transform: scaleX(-1); }
.cal__nav .arw { width: 18px; height: 18px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.cal button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 6px 2px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); line-height: 1.25; }
.cal small { font-size: 11px; color: var(--sub); }
.cal b { font-family: var(--en); font-size: 19px; font-weight: 600; }
.cal em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--main); }
.cal .is-sat small { color: #2F6CA8; } .cal .is-sun small { color: #B8433A; }
.cal button:disabled { background: var(--bg); color: var(--mute); cursor: default; }
.cal button:disabled em { color: var(--mute); font-size: 11px; }
.cal button.is-on { border-color: var(--main); background: var(--main); color: #fff; }
.cal button.is-on small, .cal button.is-on em { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.slots .hint { grid-column: 1 / -1; margin: 0; }
.slots button { min-height: 52px; border: 1.5px solid var(--line-s); border-radius: var(--r); background: var(--paper); font-family: var(--en); font-weight: 600; font-size: 16px; }
.slots button:disabled { background: var(--bg); color: var(--mute); border-color: var(--line); text-decoration: line-through; cursor: default; }
.slots button.is-on { background: var(--main); border-color: var(--main); color: #fff; }
.rf__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.rf__err { color: #B03A2E; font-size: 14px; font-weight: 700; margin-top: 16px; }
.rf__2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.fld { display: grid; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 700; }
.fld span small { font-weight: 400; color: var(--sub); font-size: 12px; margin-left: 6px; }
.fld em { font-style: normal; font-size: 11px; color: #fff; background: var(--acc); padding: 1px 7px; border-radius: 3px; margin-left: 8px; font-weight: 700; vertical-align: 1px; }
.fld input, .fld textarea, .fld select { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line-s); border-radius: var(--r); background: var(--paper); font-weight: 400; font-size: 16px; }
.fld select { padding-right: 40px; }
.fld textarea { resize: vertical; line-height: 1.7; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--main); box-shadow: 0 0 0 3px var(--main-l); }
.is-err { border-color: #B03A2E !important; background: #FDF1EF !important; }
.rf fieldset { margin-top: 4px; }
.rf legend.lbl { padding: 0; }
.warn { margin-top: 12px; font-size: 13.5px; background: var(--acc-l); padding: 12px 16px; border-radius: var(--r); line-height: 1.7; }
.simbox { background: var(--main-l); border-radius: var(--r); padding: 4px 18px 16px; margin-bottom: 8px; }
.simbox .lbl { margin-top: 14px; }
.simbox dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 4px 0; border-bottom: 1px dashed rgba(35,74,60,.25); }
.simbox dd { font-family: var(--en); font-weight: 600; white-space: nowrap; }
.simbox .tot { font-size: 15px; font-weight: 700; border-bottom: 0; padding-top: 8px; }
.simbox .link { margin-top: 8px; }
.up__btn { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 20px; border: 1.5px dashed var(--main); border-radius: var(--r); color: var(--main); font-weight: 700; font-size: 14px; cursor: pointer; position: relative; }
.up__btn input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.up__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.up__list figure { position: relative; width: 92px; height: 92px; border-radius: var(--r); overflow: hidden; background: var(--bg2); }
.up__list img { width: 100%; height: 100%; object-fit: cover; }
.up__list button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 14px; line-height: 1; }
.rsv__side { position: sticky; top: calc(var(--hh) + 16px); }
.rsv__side img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.rsv__side .ticks li { font-size: 14px; }

/* 出現 */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
.is-shot .spb, .is-shot .simbar { display: none !important; }
.is-shot .rv, .is-shot .hero__t span, .is-shot .hero__img img { transition: none !important; animation: none !important; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero__t span, .hero__img img { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- タブレット ---------- */
@media (max-width: 1180px) {
  .hd__tel { display: none; }
  .hd__nav { gap: 20px; }
  .svs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mts { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .sim { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 28px; }
}
@media (max-width: 960px) {
  :root { --hh: 64px; }
  .wrap { width: calc(100% - 40px); }
  .hd { padding: 0 8px 0 20px; gap: 10px; }
  .hd__nav, .hd__cta { display: none; }
  .lg b { font-size: 19px; } .lg__m { width: 34px; height: 34px; }
  .mb { display: block; position: relative; margin-left: auto; width: 52px; height: 52px; border: 0; background: none; }
  .mb i { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
  .mb i:first-child { top: 20px; } .mb i:last-child { top: 30px; }
  .is-open .mb i:first-child { top: 25px; transform: rotate(45deg); } .is-open .mb i:last-child { top: 25px; transform: rotate(-45deg); }
  .dr { display: flex; flex-direction: column; position: fixed; inset: var(--hh) 0 0; z-index: 49; background: var(--bg); padding: 12px 20px 30px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .is-open .dr { opacity: 1; visibility: visible; }
  .dr nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-family: var(--hd); font-size: 21px; }
  .dr nav small { display: none; }
  .dr nav .arw { width: 20px; height: 20px; color: var(--acc); }
  .dr__ft { display: grid; gap: 10px; margin-top: 26px; }
  .dr__ft p { font-size: 13px; color: var(--sub); text-align: center; }
  .sec { padding: 76px 0; }
  .sec--t { padding-top: 40px; }
  .hero { padding-top: 28px; }
  .hero__in { grid-template-columns: 1fr; gap: 30px; }
  .hero__f { margin: 0 -20px; }
  .hero__img { border-radius: 110px 0 0 0; aspect-ratio: 16 / 10; }
  .hero__cap { left: 20px; right: 20px; bottom: -36px; max-width: none; }
  .hero__mats { margin-top: 64px; }
  .mini__in, .fl, .co, .cta__in, .sv2, .msg { grid-template-columns: 1fr; gap: 40px; }
  .mini__plan { order: -1; }
  .wcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
  .wcs--top .wc:nth-child(2) { margin-top: 0; }
  .wcs--top .wc:nth-child(3) { display: none; }
  .mts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt .sw { height: 70px; }
  .fl__l--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pks, .vl { grid-template-columns: 1fr; }
  .pk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pk__plan { border-bottom: 0; border-right: 1px solid var(--line); }
  .sim, .rsv { grid-template-columns: 1fr; }
  .sim__r, .rsv__side { position: static; }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .ft__co { grid-column: 1 / -1; }
  .msg__img { max-width: 420px; }
  .dlg__in { grid-template-columns: 1fr; }
  .dlg__img img { aspect-ratio: 3 / 2; min-height: 0; }
  .p-sim .simbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; align-items: center; gap: 4px 12px; flex-wrap: wrap; padding: 10px 18px; border-radius: 14px; background: var(--main-d); color: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); transition: transform .35s var(--ease), opacity .35s; }
  .p-sim .simbar span { font-size: 11.5px; opacity: .8; flex: 0 0 100%; line-height: 1.3; }
  .p-sim .simbar b { font-family: var(--en); font-size: 26px; font-weight: 500; line-height: 1.2; }
  .p-sim .simbar b::after { content: "円"; font-family: var(--jp); font-size: 13px; margin-left: 3px; }
  .p-sim .simbar em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; background: var(--acc); padding: 8px 14px; border-radius: 999px; }
  .p-sim .simbar.is-hide { transform: translateY(130%); opacity: 0; pointer-events: none; }
  .p-sim .ft { padding-bottom: 110px; }
  .spb { display: grid; grid-template-columns: .7fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(0,0,0,.4); transform: translateY(100%); transition: transform .35s var(--ease); }
  .spb.is-on { transform: none; }
  .spb a { display: grid; place-items: center; min-height: 60px; font-size: 13.5px; font-weight: 700; padding: 6px; text-align: center; line-height: 1.35; }
  .spb a + a { border-left: 1px solid var(--line); }
  .spb .is-main { background: var(--acc); color: #fff; }
  .ft { padding-bottom: 96px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 36px); }
  .hd { padding-left: 16px; }
  .lg small { font-size: 8.5px; letter-spacing: .12em; }
  .sec { padding: 64px 0; }
  .st { margin-bottom: 30px; }
  .st__no i { flex-basis: 34px; }
  .row { margin-bottom: 30px; }
  .ph { padding: 34px 0 32px; }
  .ph__l { font-size: 15px; }
  .dim { margin-top: 22px; }
  .hero__t { font-size: 35px; letter-spacing: .06em; }
  .hero__btns .btn { width: 100%; }
  .hero__f { margin: 0 -18px; }
  .hero__img { border-radius: 72px 0 0 0; aspect-ratio: 4 / 3; }
  .hero__cap { left: 18px; right: 18px; padding: 12px 12px 12px 14px; }
  .hero__mats { gap: 10px 16px; }
  .svs { grid-template-columns: 1fr; gap: 12px; }
  .sv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 20px 18px; }
  .sv__sw { grid-row: span 3; width: 44px; height: 44px; }
  .sv b { margin-top: 0; font-size: 19px; padding-right: 30px; }
  .sv__no { top: 18px; right: 18px; font-size: 22px; }
  .pzs { grid-template-columns: 1fr; }
  .pz { display: flex; align-items: center; gap: 12px; min-height: 56px; }
  .pz b { flex: 0 0 auto; min-width: 5.2em; }
  .pz small { margin-top: 0; }
  .mini__plan { padding: 8px; }
  .mini .btn { width: 100%; }
  .wcs { grid-template-columns: 1fr; gap: 34px; }
  .wcs--top .wc:nth-child(3) { display: block; }
  .mts { gap: 8px; }
  .mt b { font-size: 13.5px; }
  .mt__d { font-size: 12px; }
  .fl__l--row { grid-template-columns: 1fr; gap: 0; }
  .fl__l--row li { padding-bottom: 24px; }
  .co__img img { max-height: 420px; border-radius: 6px 6px 90px 6px; }
  .cta { padding: 64px 0; }
  .cta .btn { width: 100%; }
  .ft__in { grid-template-columns: 1fr; gap: 32px; }
  .flt { padding: 20px 16px; gap: 16px; }
  .flt fieldset { grid-template-columns: 1fr; gap: 8px; }
  .flt legend { padding-top: 0; }
  .flt legend small { display: inline; margin-left: 6px; }
  .ch span { padding: 6px 14px; font-size: 13.5px; }
  .flt__row { gap: 12px; }
  .sel { width: 100%; justify-content: space-between; }
  .sel select { flex: 1; max-width: 230px; }
  .flt__reset { margin-left: 0; }
  .dlg { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .dlg__b { padding: 24px 20px 28px; }
  .dlg h2 { font-size: 21px; }
  .spec div { grid-template-columns: 92px 1fr; }
  .spec--co div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; font-size: 14.5px; }
  .zn { padding: 18px 16px 20px; }
  .zn legend { font-size: 19px; gap: 10px; }
  .mos, .tgs { grid-template-columns: 1fr; gap: 8px; }
  .mo span { padding: 10px 12px; }
  .mo .sw { width: 38px; height: 38px; }
  .sgs { gap: 6px; }
  .sg span { font-size: 13px; padding: 8px 6px; }
  .sim__pz { padding: 4px 16px 18px; }
  .sim__card { padding: 22px 16px; }
  .pk { grid-template-columns: 1fr; }
  .pk__plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding: 13px 12px; }
  .tbl--3 thead { display: none; }
  .tbl--3 tr { display: grid; grid-template-columns: 1fr auto auto; border-bottom: 1px solid var(--line); }
  .tbl--3 th, .tbl--3 td { border-bottom: 0; }
  .tbl--3 tbody th { grid-column: 1 / -1; padding-bottom: 0; }
  .tbl--3 td:nth-child(2) { text-align: left; grid-column: 1 / 3; padding-top: 2px; }
  .tbl--3 td:nth-child(3) { padding-top: 2px; }
  .msg__img { max-width: none; }
  .msg__img img { max-height: 420px; border-radius: 90px 6px 6px 6px; }
  .fq summary { padding: 16px 48px 16px 16px; }
  .fq p { padding: 0 16px 18px 16px; font-size: 14.5px; }
  .rf { padding: 22px 14px 24px; border-radius: 8px; }
  .rf__prog li { font-size: 11px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .cal { gap: 4px; }
  .cal button { min-height: 70px; padding: 4px 0; }
  .cal b { font-size: 17px; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rf__2 { grid-template-columns: 1fr; }
  .rf__nav .btn--lg { padding: 10px 18px; font-size: 15px; flex: 1; }
  .rf__nav .btn--line { padding: 10px 16px; }
}
