/* 屋根と板金の かねひさ（デモ）
   トタンの銀・空・さびの赤。見出しは Reggae One、本文は BIZ UDPGothic。
   あしらい: 見出しの左に「はぜ」の断面／区切りは立平の屋根を真横から見た線／写真は右上を斜めに切る */
:root {
  --sumi: #2B2F33;
  --silver: #9AA5B1;
  --sky: #6CA0DC;
  --rust: #A0442A;
  --rust-d: #86361F;
  --tint: color-mix(in srgb, #9AA5B1 12%, #fff);
  --s35: #DCE0E5;
  --sub: #4F565D;
  --disp: "Reggae One", "BIZ UDPGothic", sans-serif;
  --body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --wrap: 1160px;
  --hd: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: #fff; color: var(--sumi); font-family: var(--body); font-size: clamp(15px, .86rem + .25vw, 17px); line-height: 1.85; letter-spacing: .02em; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.small { font-size: .84em; color: var(--sub); line-height: 1.75; }
.sp { display: none; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; }
.hd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 9H17V1.5H21V9H40' fill='none' stroke='%239AA5B1' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 10px; pointer-events: none; }
.hd__in { max-width: 1320px; margin-inline: auto; height: var(--hd); padding-inline: clamp(14px, 3vw, 36px); display: flex; align-items: center; gap: 14px; }
.brand { display: block; flex: none; text-decoration: none; }
.logo { display: block; width: 176px; height: auto; }
.logo__sm { font-family: var(--body); font-weight: 700; font-size: 13px; fill: var(--sumi); letter-spacing: .12em; }
.logo__nm { font-family: var(--disp); font-size: 33px; fill: var(--sumi); letter-spacing: .04em; }
.demo { flex: none; font-size: 10px; letter-spacing: .14em; color: var(--sub); border: 1px solid var(--silver); padding: 0 5px; line-height: 16px; align-self: center; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.gnav ul { display: flex; gap: clamp(12px, 1.6vw, 24px); }
.gnav ul a { position: relative; display: block; padding: 8px 0; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.gnav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 3px; background: var(--rust); }
.gnav ul a:hover { color: var(--rust); }
.gnav__end { display: flex; align-items: center; gap: 14px; }
.tel { font-family: var(--disp); font-size: 18px; text-decoration: none; white-space: nowrap; letter-spacing: .02em; }
.menu { display: none; }

/* ---------- ボタン・文字のリンク ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; background: var(--rust); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid var(--rust); border-radius: 0; line-height: 1.4; transition: transform .08s ease-out; }
.btn:hover { background: var(--rust-d); border-color: var(--rust-d); }
.btn:active { transform: translate(2px, 2px); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 14px; }
.btn--line { background: transparent; color: var(--sumi); border-color: var(--sumi); }
.btn--line:hover { background: #fff; color: var(--sumi); border-color: var(--sumi); }
.lnk { font-weight: 700; text-decoration: underline; text-decoration-color: var(--silver); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lnk:hover { text-decoration-color: var(--rust); }
.lnk--w { color: #fff; text-decoration-color: rgba(255, 255, 255, .6); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }

/* ---------- 見出し ---------- */
.hz { flex: none; width: 22px; height: 17px; margin-top: .42em; }
.h1 { display: flex; align-items: flex-start; gap: 14px; font-family: var(--disp); font-size: clamp(34px, 5vw, 58px); line-height: 1.3; letter-spacing: .02em; font-feature-settings: "palt"; }
.h1 .hz { width: 30px; height: 23px; margin-top: .45em; }
.h2 { display: flex; align-items: flex-start; gap: 12px; font-family: var(--disp); font-size: clamp(23px, 2.6vw, 33px); line-height: 1.4; letter-spacing: .02em; margin-bottom: 26px; font-feature-settings: "palt"; text-wrap: balance; word-break: auto-phrase; }
.h2 .hz { margin-top: .5em; }
.h2--big { font-size: clamp(28px, 4vw, 48px); line-height: 1.32; }
.h2--plain { display: block; }
.h4 { font-family: var(--body); font-weight: 700; font-size: 16px; margin-bottom: 10px; }

/* ---------- 区画 ---------- */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--tint { background: var(--tint); }
.sec--end { padding-block: 36px 64px; }
.seam { height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='22'%3E%3Cpath d='M0 19H16V3H18.5Q20.5 3 20.5 5V19H40' fill='none' stroke='%239AA5B1' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 22px; }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split--64 { grid-template-columns: 3fr 2fr; }
.split--46 { grid-template-columns: 2fr 3fr; }
.split--55, .split--55r { grid-template-columns: 1fr 1fr; align-items: center; }
.under { max-width: 46em; margin-top: 26px; }
.crumb { font-size: 13px; color: var(--sub); padding-top: 24px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px; }
.crumb li + li::before { content: "／"; margin-right: 4px; color: var(--silver); }
.phead { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(24px, 3vw, 36px); }
.phead .h1 { margin-bottom: 18px; }
.phead--side { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 28px 56px; align-items: end; }
.lead { font-size: 1.08em; max-width: 34em; margin: 0; }
.lead--after { margin-top: 26px; }
.next { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: flex-end; }

/* ---------- 写真（右上を斜めに切る・銀の1pxの縁） ---------- */
.ph { margin: 0; background: var(--silver); padding: 1px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.ph img { width: 100%; clip-path: polygon(0 0, calc(100% - 11.5px) 0, 100% 11.5px, 100% 100%, 0 100%); background: var(--s35); }
.ph figcaption { background: #fff; margin: 0 -1px -1px; padding: 10px 0 0; font-weight: 700; font-size: 15px; }
.ph--wide img { aspect-ratio: 21 / 8; object-fit: cover; }
.ph--far { justify-self: end; width: 100%; }

/* ---------- 札（台風のあとの点検） ---------- */
.tag { position: relative; display: inline-block; margin: 28px 0 18px; padding-top: 0; }
.tag::before { content: ""; position: absolute; left: 50%; top: -24px; width: 36px; height: 26px; margin-left: -18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='26'%3E%3Cpath d='M4 0L18 18L32 0' fill='none' stroke='%232B2F33' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat; }
.tag > span { position: relative; display: block; background: var(--sky); padding: 1.5px; clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%, 0 9px); }
.tag > span::before { content: ""; position: absolute; left: 50%; top: 6px; width: 9px; height: 9px; margin-left: -4.5px; border: 1.5px solid var(--sky); border-radius: 50%; background: var(--tint); z-index: 1; }
.tag > span > em, .tag > span { font-style: normal; }
.tag__in { display: block; background: #fff; color: var(--sumi); font-weight: 700; font-size: 14px; line-height: 1.4; padding: 20px 18px 8px; letter-spacing: .08em; clip-path: polygon(8.4px 0, calc(100% - 8.4px) 0, 100% 8.4px, 100% 100%, 0 100%, 0 8.4px); white-space: nowrap; }

/* ---------- 最初の画面 ---------- */
.hero { position: relative; height: 80vh; height: 80svh; min-height: 540px; max-height: 920px; overflow: hidden; color: #fff; background: #7f8a95; }
.hero__img { position: absolute; left: 0; right: 0; top: -24px; bottom: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(30, 34, 38, .66) 0%, rgba(30, 34, 38, .42) 42%, rgba(30, 34, 38, 0) 72%); }
.hero__copy { position: relative; z-index: 2; max-width: var(--wrap); margin-inline: auto; padding: clamp(30px, 6vh, 70px) clamp(18px, 4vw, 40px) 0; }
.hero .tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='26'%3E%3Cpath d='M4 0L18 18L32 0' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3C/svg%3E"); }
.hero .tag > span::before { background: #fff; }
.hero h1 { font-family: var(--disp); font-size: clamp(34px, 5.6vw, 72px); line-height: 1.28; letter-spacing: .02em; text-shadow: 0 2px 14px rgba(0, 0, 0, .28); font-feature-settings: "palt"; margin: 0 0 18px; }
.hero__copy > p:not(.tag) { max-width: 30em; font-size: clamp(15px, 1.2vw, 17px); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.hero .acts { margin-top: 20px; }
.motion .hero__img { animation: pan 14s cubic-bezier(.3, .1, .3, 1) forwards; }
@keyframes pan { from { transform: translateY(0); } to { transform: translateY(24px); } }
.motion .hero__copy > * { animation: up .8s cubic-bezier(.2, .7, .3, 1) both; }
.motion .hero__copy > :nth-child(2) { animation-delay: .12s; }
.motion .hero__copy > :nth-child(3) { animation-delay: .24s; }
.motion .hero__copy > :nth-child(4) { animation-delay: .36s; }
@keyframes up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.motion .tag > span { transform-origin: 50% -20px; animation: swing 2.6s ease-out .5s both; }
@keyframes swing { 0% { transform: rotate(-6deg); } 35% { transform: rotate(3.5deg); } 65% { transform: rotate(-1.5deg); } 100% { transform: rotate(0); } }

/* ---------- 図（共通） ---------- */
.fig { margin: 0; }
.fig__t { display: flex; align-items: center; gap: 14px; font-family: var(--disp); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.4; margin-bottom: 16px; }
.fig__t::after { content: ""; flex: 1; height: 1px; background: var(--silver); }
.fig__note { font-size: .84em; color: var(--sub); margin-top: 14px; }
.y-name { font-family: var(--disp); font-size: 25px; fill: var(--sumi); }
.y-sm { font-family: var(--body); font-size: 15px; font-weight: 700; }
.y-txt { font-family: var(--body); font-size: 16px; fill: var(--sumi); }

/* Y-1 屋根の部分の名前 */
.y1 { container-type: inline-size; }
.y1__frame { overflow: hidden; }
.y1__svg { display: block; width: 194%; margin-left: -45%; height: auto; }
.y1__lab { display: none; }
.y1__list { counter-reset: n; display: grid; gap: 0 28px; margin-top: 12px; }
.y1__list li { counter-increment: n; display: grid; grid-template-columns: 34px auto; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--silver); }
.y1__list li::before { content: counter(n); grid-row: span 2; width: 30px; height: 30px; border: 1.5px solid var(--sumi); border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-size: 16px; line-height: 1; }
.y1__list b { font-family: var(--disp); font-weight: 400; font-size: 18px; line-height: 1.5; }
.y1__list span { font-size: .94em; }
@container (min-width: 560px) { .y1__list { grid-template-columns: 1fr 1fr; } }
@container (min-width: 860px) {
  .y1__svg { width: 100%; margin-left: 0; }
  .y1__lab { display: inline; }
  .y1__num, .y1__list { display: none; }
}
.y1__wipe { transform-box: view-box; transition: transform 1.6s cubic-bezier(.45, 0, .25, 1); }
.motion .y1.io:not(.is-in) .y1__wipe { transform: translateY(-100%); }

/* Y-3 台風のあと、下から見るところ */
.y3 { container-type: inline-size; }
.y3__in { display: grid; gap: 18px; }
.y3__in svg { display: block; width: 100%; height: auto; }
.y3__list li { display: grid; grid-template-columns: 38px auto; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--silver); }
.y3__list li:last-child { border-bottom: 1px solid var(--silver); }
.y3__no { grid-row: span 2; width: 32px; height: 32px; border: 1.5px solid var(--sumi); border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-size: 17px; line-height: 1; }
.y3__list b { font-family: var(--disp); font-weight: 400; font-size: 19px; line-height: 1.5; }
.y3__list span:last-child { font-size: .94em; }
@container (min-width: 640px) { .y3__in { grid-template-columns: 1.55fr 1fr; align-items: center; gap: 28px; } }
.y3__n { transform-box: fill-box; transform-origin: center; transition: opacity .3s ease-out, transform .3s ease-out; transition-delay: calc(var(--i) * .3s); }
.motion .y3.io:not(.is-in) .y3__n { opacity: 0; transform: scale(.8); }
.w-fig { max-width: 980px; }

/* Y-2 お電話から工事の日まで */
.y2 { container-type: inline-size; }
.y2__g { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; row-gap: 30px; }
.y2__s { position: relative; grid-column: 2; background: #fff; border: 1px solid var(--silver); border-top: 3px solid var(--sumi); padding: 16px 18px 14px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; align-content: start; transition: opacity .5s ease-out, transform .5s ease-out; transition-delay: calc(var(--i) * .15s); }
.y2__s svg { width: 44px; height: 44px; grid-row: span 2; }
.y2__s b { font-family: var(--disp); font-weight: 400; font-size: 19px; line-height: 1.4; }
.y2__s p { margin: 4px 0 0; font-size: .9em; line-height: 1.7; }
.y2__s:not(.y2__s5)::after { content: ""; position: absolute; left: 32px; bottom: -27px; width: 14px; height: 22px; margin-left: -7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='22'%3E%3Cpath d='M7 0V20M1 14L7 21L13 14' fill='none' stroke='%232B2F33' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat; }
.y2__s1 { grid-row: 1; } .y2__n2 { grid-row: 2; } .y2__s2 { grid-row: 3; } .y2__s3 { grid-row: 4; }
.y2__dec { grid-row: 5; } .y2__n4 { grid-row: 6; } .y2__s4 { grid-row: 7; } .y2__s5 { grid-row: 8; }
.y2__n, .y2__dec { grid-column: 2; margin: -14px 0 -14px; font-size: 13px; line-height: 1.6; color: var(--sub); }
.y2__n { padding-left: 50px; }
.y2__dec { display: flex; align-items: center; gap: 8px; color: var(--sumi); font-weight: 700; font-size: 14px; padding-left: 50px; }
.y2__dec i { flex: none; width: 10px; height: 10px; background: var(--rust); }
.y2__band { grid-column: 1; margin: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; line-height: 1.4; }
.y2__band span { writing-mode: vertical-rl; letter-spacing: .06em; padding: 10px 0; }
.y2__band--free { grid-row: 1 / 5; background: var(--silver); }
.y2__band--pay { grid-row: 8; border: 1.5px solid var(--sumi); background: #fff; }
.motion .y2.io:not(.is-in) .y2__s { opacity: 0; transform: translateY(10px); }
@container (min-width: 780px) {
  .y2__g { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 46px; row-gap: 10px; }
  .y2__s { grid-row: 3; grid-template-columns: 1fr; padding: 16px 16px 18px; }
  .y2__s svg { grid-row: auto; margin-bottom: 8px; }
  .y2__s1 { grid-column: 1; } .y2__s2 { grid-column: 2; } .y2__s3 { grid-column: 3; } .y2__s4 { grid-column: 4; } .y2__s5 { grid-column: 5; }
  .y2__s:not(.y2__s5)::after { left: auto; right: -41px; top: 50%; bottom: auto; width: 36px; height: 14px; margin: -7px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14'%3E%3Cpath d='M0 7H34M27 1L35 7L27 13' fill='none' stroke='%232B2F33' stroke-width='1.5'/%3E%3C/svg%3E"); }
  .y2__n, .y2__dec { margin: 0; padding-left: 0; }
  .y2__n { grid-row: 1; align-self: end; border-left: 1px solid var(--sumi); padding: 0 0 4px 10px; }
  .y2__n2 { grid-column: 2; } .y2__n4 { grid-column: 4; }
  .y2__dec { grid-row: 2; grid-column: 3 / 5; justify-self: center; margin-top: 4px; }
  .y2__band { grid-row: 4; padding: 10px 14px; }
  .y2__band span { writing-mode: horizontal-tb; padding: 0; }
  .y2__band--free { grid-column: 1 / 4; }
  .y2__band--pay { grid-column: 5; }
  .motion .y2.io:not(.is-in) .y2__s { transform: translateX(-12px); }
}

/* Y-4 屋根の3つの形 */
.y4 { container-type: inline-size; }
.y4__g { display: grid; gap: 26px; }
.y4__c { border-top: 1px solid var(--silver); padding-top: 14px; }
.y4__c svg { display: block; width: 100%; max-width: 420px; height: auto; }
.y4__c b { display: block; font-family: var(--disp); font-weight: 400; font-size: 20px; margin-top: 4px; }
.y4__c p { margin: 4px 0 0; font-size: .92em; }
@container (min-width: 760px) { .y4__g { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.three { display: grid; gap: 22px; margin-top: 34px; }
@media (min-width: 700px) { .three { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 料金の表 ---------- */
.price { border-top: 1px solid var(--silver); }
.price th, .price td { border-bottom: 1px solid var(--silver); padding: 15px 0; vertical-align: baseline; }
.price th { text-align: left; font-weight: 400; padding-right: 20px; }
.price td { text-align: right; white-space: nowrap; }
.price small { font-size: 13px; color: var(--sub); margin-right: 8px; }
.yen { font-family: var(--disp); font-size: clamp(20px, 2vw, 24px); letter-spacing: .02em; }
.price--wide { max-width: 980px; }
.fee { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.fee .small { margin-top: 12px; }
.calc { background: var(--tint); padding: clamp(22px, 3vw, 34px); border-top: 3px solid var(--silver); }
.calc__t { font-weight: 700; margin-bottom: 14px; }
.calc__f { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.calc__sum { font-family: var(--disp); font-size: clamp(30px, 3.4vw, 40px); line-height: 1.2; }
.ex { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-bottom: 18px; align-items: start; }
.ex__b { background: #fff; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--silver); }
.ex__t { font-weight: 700; margin-bottom: 12px; }
.ex th, .ex td { padding: 10px 0; border-bottom: 1px solid var(--silver); vertical-align: baseline; }
.ex th { text-align: left; font-weight: 400; padding-right: 12px; }
.ex td { text-align: right; }
.ex td b { font-family: var(--disp); font-weight: 400; font-size: 20px; white-space: nowrap; }
.ex__sum th { font-weight: 700; }
.ex__sum th, .ex__sum td { border-bottom: 3px double var(--sumi); }
.ex__sum td b { font-size: clamp(26px, 2.8vw, 32px); }

/* ---------- 表・一覧 ---------- */
.info th, .info td { border-bottom: 1px solid var(--silver); padding: 14px 0; text-align: left; vertical-align: top; }
.info { border-top: 1px solid var(--silver); }
.info th { width: 7.5em; font-weight: 700; padding-right: 14px; white-space: nowrap; }
.info a { text-decoration: none; }
.look { border-top: 1px solid var(--silver); margin: 22px 0 14px; max-width: 980px; }
.look th, .look td { border-bottom: 1px solid var(--silver); padding: 14px 0; text-align: left; vertical-align: baseline; }
.look th { width: 8em; font-family: var(--disp); font-weight: 400; font-size: 19px; padding-right: 16px; white-space: nowrap; }
.look--tool th { font-family: var(--body); font-weight: 700; font-size: 1em; width: 7em; }
.sq { margin-bottom: 22px; }
.sq li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--silver); }
.sq li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 9px; height: 9px; background: var(--rust); }
.ruled { margin: 6px 0 24px; border-top: 1px solid var(--silver); }
.ruled li { padding: 11px 0; border-bottom: 1px solid var(--silver); }
.box { background: #fff; border: 1px solid var(--sumi); padding: clamp(22px, 4vw, 46px); max-width: 980px; }
.box .h2 { margin-bottom: 20px; }
.box__no { font-weight: 700; }
.talk { margin: 4px 0 24px; }
.talk li { padding: 6px 0 6px 18px; border-left: 2px solid var(--silver); font-size: 1.06em; margin-bottom: 6px; }
.bigtel { display: inline-block; font-family: var(--disp); font-size: clamp(34px, 5.4vw, 54px); line-height: 1.2; text-decoration: none; margin: 4px 0 10px; letter-spacing: .02em; }

/* トップの区画ごとの組み方 */
.visit__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.visit__q { font-size: 1.08em; }
.bend .ph { transform-origin: left center; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(20px, 5vw, 72px); align-items: start; }
.qa { margin: 0 0 18px; border-top: 1px solid var(--silver); }
.qa > div { padding: 20px 0; border-bottom: 1px solid var(--silver); }
.qa dt { font-weight: 700; font-size: 1.05em; padding-left: 28px; position: relative; }
.qa dt::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cpath d='M2 30H16V6H28V18M42 30H21V11H25V16' fill='none' stroke='%239AA5B1' stroke-width='4'/%3E%3C/svg%3E") no-repeat center / contain; }
.qa dd { margin: 8px 0 0 28px; }
.shop .info { background: #fff; }
.shop .info th, .shop .info td { padding-inline: 14px; }

/* 頼むときの流れ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.steps__i { padding: 0 clamp(18px, 2.4vw, 34px); border-left: 1px solid var(--silver); }
.steps__i:first-child { padding-left: 0; border-left: 0; }
.steps .h2 { font-size: clamp(21px, 2.1vw, 27px); }
.kojin { font-size: .9em; }
.kojin p { max-width: 50em; margin-bottom: .6em; }

/* 板金の作業場 */
.dan { border-top: 1px solid var(--silver); }
.dan > li { display: grid; grid-template-columns: 11em 1fr; gap: 18px clamp(20px, 4vw, 48px); padding: 28px 0; border-bottom: 1px solid var(--silver); align-items: start; }
.dan h3 { font-family: var(--disp); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; }
.dan__ph { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; align-items: start; }
.dan__hz { display: grid; grid-template-columns: 1fr 220px; gap: 20px 32px; align-items: center; }
.hzbig { width: 220px; height: auto; }
.hzbig__b { transition: transform 1s cubic-bezier(.3, .7, .3, 1) .2s, opacity .6s ease-out .2s; }
.motion .io:not(.is-in) .hzbig__b, .motion .hzbig.io:not(.is-in) .hzbig__b { transform: translateX(46px); opacity: 0; }
.swatch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.swatch li { font-weight: 700; font-size: 15px; transition: opacity .5s ease-out, transform .5s ease-out; transition-delay: calc(var(--i) * .12s); }
.swatch span { display: block; height: 130px; margin-bottom: 8px; background: repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 255, 255, .22) 30px 32px, rgba(0, 0, 0, .28) 32px 34px, transparent 34px 46px), linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .1)), var(--c); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.motion .swatch li.io:not(.is-in) { opacity: 0; transform: translateY(12px); }

/* 店のこと */
.aisatsu { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(20px, 5vw, 72px); }
.aisatsu .h2 { font-size: clamp(28px, 3.6vw, 44px); }
.name__kan { font-family: var(--disp); font-size: clamp(64px, 10vw, 128px); line-height: 1; color: var(--s35); -webkit-text-stroke: 1.5px var(--silver); margin: 4px 0 0; letter-spacing: .04em; }
.map { margin: 0 0 14px; }
.map svg { display: block; width: 100%; max-width: 560px; height: auto; }

/* ---------- 見えたら出す ---------- */
.rv { transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .7, .3, 1); }
.motion .rv:not(.is-in) { opacity: 0; transform: translateY(14px); }

/* ---------- フッター ---------- */
.ft { background: var(--sumi); color: #fff; }
.ft .seam { background-color: #fff; }
.ft__in { display: grid; grid-template-columns: auto 1fr; gap: 28px 64px; padding-top: 48px; padding-bottom: 28px; }
.ft .logo { width: 196px; }
.ft .logo__sm, .ft .logo__nm { fill: #fff; }
.ft .logo .lgB { stroke: #fff; }
.ft__info { margin: 18px 0 0; font-size: 14px; line-height: 1.9; }
.ft__nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 26px; font-size: 14px; }
.ft__nav a { text-decoration: none; }
.ft__nav a:hover { text-decoration: underline; }
.ft__copy { font-size: 12px; color: #C9CED4; padding-bottom: 28px; margin-block: 0; }

/* ---------- 狭い画面 ---------- */
@media (max-width: 1100px) {
  .menu { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-left: auto; background: none; border: 1px solid var(--sumi); padding: 8px 10px 5px; cursor: pointer; color: var(--sumi); font-family: var(--body); }
  .menu__bars { position: relative; display: block; width: 22px; height: 2px; background: var(--sumi); margin: 5px 0; }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--sumi); }
  .menu__bars::before { top: -6px; } .menu__bars::after { top: 6px; }
  .menu__label { font-size: 10px; letter-spacing: .1em; line-height: 1; }
  .js .gnav { display: none; }
  .gnav { position: fixed; left: 0; right: 0; top: var(--hd); margin: 0; flex-direction: column; align-items: stretch; gap: 18px; background: #fff; padding: 18px clamp(18px, 4vw, 40px) 28px; border-bottom: 1px solid var(--silver); max-height: calc(100vh - var(--hd)); overflow: auto; }
  html:not(.js) .gnav { position: static; display: flex; }
  .is-menu .gnav { display: flex; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav ul a { padding: 13px 0; border-bottom: 1px solid var(--tint); font-size: 16px; }
  .gnav__end { flex-wrap: wrap; }
  .demo { margin-left: 2px; }
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps__i { padding: 0; border-left: 0; }
  .dan > li { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .split--64, .split--46, .split--55, .split--55r, .visit__in, .faq, .aisatsu, .fee, .ex, .phead--side { grid-template-columns: 1fr; }
  .split--55r > :last-child { order: -1; }
  .phead--side .ph--far { max-width: 520px; justify-self: start; }
  .ft__in { grid-template-columns: 1fr; }
  .ft__nav ul { justify-content: flex-start; }
}
@media (max-width: 600px) {
  :root { --hd: 64px; }
  .logo { width: 150px; }
  .sp { display: inline; }
  .hero { min-height: 500px; }
  .dan__ph, .dan__hz { grid-template-columns: 1fr; }
  .swatch { grid-template-columns: 1fr 1fr; }
  .price tr { display: grid; }
  .price th { padding: 14px 0 0; border-bottom: 0; }
  .price td { padding: 2px 0 12px; }
  .look th, .look td { display: block; width: auto; }
  .look th { padding-bottom: 0; border-bottom: 0; }
  .look td { padding-top: 2px; }
  .info th { width: 5.5em; }
  .ex tr { display: grid; }
  .ex th { padding: 10px 0 0; border-bottom: 0; }
  .ex td { padding: 0 0 10px; }
  .next { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
