/* S1: First view */
.fv {
  aspect-ratio: 1536 / 916;
  margin-top: 76px;
  overflow: hidden;
  background: var(--kinari);
}
.fv-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
}
.fv-sp-art-picture, .fv-sp-tags { display: none; }
.fv-copy {
  position: absolute;
  z-index: 2;
  left: 3.9%;
  top: 49.6%;
  width: 50%;
}
.fv-sub { margin-bottom: 4px; font-family: var(--font-mincho); font-size: clamp(1rem, 1.35vw, 1.35rem); font-weight: 700; line-height: 1.65; letter-spacing: .025em; }
.fv-small { margin-bottom: 5px; font-family: var(--font-mincho); font-size: 1rem; font-weight: 700; }
.fv-note { margin-bottom: 0; color: var(--muted); font-size: clamp(.66rem, .76vw, .78rem); line-height: 1.55; }
.fv-actions { position: absolute; z-index: 4; top: 78%; left: 3%; display: flex; gap: 14px; }
.fv-actions .btn { min-width: 300px; padding: 18px 32px; }

/* S2: Pain */
.pain .section-inner { padding-top: 100px; padding-bottom: 86px; }
.pain h2 { font-size: clamp(1.3rem, 2.15vw, 2.25rem); white-space: nowrap; }
.pain-title-break { display: none; }
.ornament-line { position: relative; display: flex; align-items: center; width: min(700px, 70%); height: 24px; margin: 0 auto 44px; }
.ornament-line::before, .ornament-line::after { content: ""; flex: 1; height: 1px; background: var(--kincha); }
.ornament-line span { width: 16px; height: 16px; margin: 0 16px; border: 1px solid var(--kincha); border-radius: 50%; }
.pain-grid, .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pain-card { min-height: 390px; padding: 32px 34px; }
.circle-kanji { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 16px; color: var(--kincha); border: 1px solid var(--kincha); border-radius: 50%; font-family: var(--font-mincho); }
.circle-kanji::before { content: ""; width: 13px; height: 13px; border: 1px solid var(--kincha); border-radius: 50% 0 50% 0; transform: rotate(45deg); }
.pain-card h3 { position: relative; padding-bottom: 16px; text-align: center; }
.pain-card h3::after { content: ""; position: absolute; bottom: 0; left: 12%; width: 76%; height: 1px; background: var(--kincha); }
.pain-card ul { padding: 0; margin: 18px 0 0; list-style: none; }
.pain-card li { position: relative; padding-left: 24px; margin-bottom: 16px; font-family: var(--font-mincho); font-size: .94rem; line-height: 1.75; }
.pain-card li::before { content: "“"; position: absolute; left: 0; top: -.15em; color: var(--shu); font-size: 1.5em; font-weight: 700; }
.pain-conclusion { margin: 70px auto 0; padding: 30px 20px; border-top: 1px solid var(--kincha); border-bottom: 1px solid var(--kincha); font-family: var(--font-mincho); font-size: clamp(1.35rem, 2.35vw, 2.2rem); letter-spacing: .06em; text-align: center; }
.pain-conclusion strong { font-weight: 700; }

/* S3: Service */
.service h2 { max-width: 1200px; margin: 0 auto 58px; }
.service-grid { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; }
.corner-card {
  position: relative;
  padding: 38px 30px;
  background: rgba(252, 250, 244, .82);
  background-clip: padding-box;
  border: 24px solid transparent;
  border-image-source: var(--corner-sumi);
  border-image-slice: 32;
  border-image-width: 24px;
  border-image-repeat: stretch;
  text-align: center;
}
.step-number { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border: 1px solid var(--sumi); border-radius: 50%; font-family: var(--font-mincho); font-size: 1.6rem; }
.corner-card h3 { padding-bottom: 16px; border-bottom: 1px solid rgba(168, 138, 76, .45); }
.corner-card p { margin-bottom: 0; font-family: var(--font-mincho); line-height: 1.85; }
.tegaki-slot { width: 126px; height: 112px; margin: 20px auto; display: grid; place-items: center; overflow: hidden; }
.tegaki-icon:not([src]) { display: none; }
.tegaki-icon { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: darken; filter: contrast(1.12); }
.tegaki-fallback { display: grid; place-items: center; width: 74px; height: 74px; border: 2px solid var(--sumi); border-radius: 50%; font-family: var(--font-mincho); font-size: 1.55rem; }
.tegaki-slot.compact { height: 82px; margin-bottom: 0; }
.tegaki-slot.compact .tegaki-fallback { width: 58px; height: 58px; font-size: 1.25rem; }
.joinery-image { width: 70px; height: 88px; object-fit: contain; mix-blend-mode: darken; filter: contrast(1.08); }
.joinery-image:not([src]) { visibility: hidden; }
.service-grid .corner-card:last-of-type .tegaki-icon { transform: translateY(-9px); }
.service-conclusion { margin: 56px auto 0; font-family: var(--font-mincho); font-size: clamp(1.2rem, 2vw, 1.85rem); text-align: center; }
.service-conclusion strong { color: var(--shu); }

/* S4: Why */
.why { background: var(--white-paper); }
.why-grid { align-items: stretch; }
.why-card { display: flex; flex-direction: column; height: 100%; min-height: 540px; padding: 46px 38px 36px; overflow: hidden; border-top: 8px solid var(--kincha); text-align: center; }
.why-number { display: block; margin-bottom: 26px; color: var(--kincha); font-family: var(--font-mincho); font-size: 2rem; }
.why-card h3 { min-height: 98px; padding-bottom: 24px; border-bottom: 1px solid rgba(168, 138, 76, .45); }
.why-card p { margin-top: 28px; margin-bottom: 0; line-height: 1.9; }
.why-card .tegaki-slot.compact { flex: 0 0 110px; width: 126px; height: 110px; display: flex; align-items: flex-end; justify-content: center; margin-top: auto; margin-bottom: 0; padding-top: 18px; }
.why-card .tegaki-slot.compact .tegaki-icon { width: 100%; height: 92px; object-fit: contain; object-position: center bottom; }

/* S5: Menu */
.menu-inner { width: min(980px, calc(100% - 48px)); padding-top: 118px; padding-bottom: 120px; }
.menu h2 { margin-bottom: 10px; font-size: clamp(2rem, 3vw, 2.7rem); }
.menu-sub { margin-bottom: 12px; font-family: var(--font-mincho); font-size: clamp(1.05rem, 1.6vw, 1.35rem); text-align: center; }
.menu-lead { max-width: 760px; margin: 0 auto; color: var(--muted); text-align: center; }
.menu-catalog { margin-top: 58px; }
.menu-category { margin-bottom: 54px; }
.menu-category h3 { position: relative; margin-bottom: 20px; padding: 0 0 10px 8px; color: #8b691e; border-bottom: 2px solid var(--kincha); font-size: clamp(1.65rem, 3vw, 2.5rem); }
.menu-category h3::after { content: "◇"; position: absolute; right: 4px; bottom: -17px; padding: 0 5px; color: var(--kincha); background: var(--kinari); font-size: 1rem; }
.menu-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; font-family: var(--font-mincho); }
.menu-item-head { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1rem, 1.75vw, 1.35rem); font-weight: 700; }
.menu-name { flex: none; }
.menu-leader { flex: 1; min-width: 20px; height: 5px; background-image: radial-gradient(circle, rgba(74, 74, 68, .65) 1.25px, transparent 1.4px); background-position: left center; background-size: 8px 5px; background-repeat: repeat-x; }
.menu-price { flex: none; font-size: 1.08em; }
.menu-desc { margin: 0 0 0 4px; padding: 2px 0 0; color: #4a4a44; font-family: 'Noto Sans JP', sans-serif; font-size: .84rem; font-weight: 400; line-height: 1.65; }
@media (max-width: 640px) { .menu-desc { font-size: .78rem; margin-left: 2px; } }
.menu-ending { margin-top: 70px; padding-top: 45px; border-top: 1px solid var(--kincha); text-align: center; }
.menu-ending > p { max-width: 760px; margin-right: auto; margin-bottom: 30px; margin-left: auto; font-family: var(--font-mincho); font-size: 1.2rem; }
.menu-ending .btn { min-width: min(600px, 100%); }
.menu-ending small { display: block; margin-top: 28px; color: var(--muted); font-size: .74rem; line-height: 1.8; text-align: left; }

/* Mid CTAs */
.mid-cta { color: #fff; background: radial-gradient(circle at 60% 10%, rgba(29, 61, 96, .7), transparent 48%), linear-gradient(135deg, #050a13, #0d213b 54%, #050912); }
.mid-cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 70px; padding: 66px 0; }
.mid-cta h3 { margin-bottom: 12px; color: #fff; font-size: clamp(1.7rem, 3.3vw, 3.1rem); }
.mid-cta p { max-width: 800px; margin-bottom: 0; }
.mid-cta .btn { min-width: 320px; }

/* S6: Compare */
.compare { background: var(--white-paper); }
.compare h2 { margin-bottom: 6px; }
.compare-sub { margin-bottom: 42px; color: var(--shu); font-family: var(--font-mincho); font-size: 1.25rem; font-weight: 700; text-align: center; }
.table-scroll { overflow-x: auto; }
.compare table { width: 100%; min-width: 840px; border-collapse: collapse; background: rgba(255, 255, 255, .72); font-family: var(--font-mincho); font-size: clamp(.95rem, 1.45vw, 1.25rem); }
.compare th, .compare td { padding: 18px 24px; border: 1px solid var(--kincha); text-align: center; }
.compare thead th { color: #fff; background: var(--shu); font-size: 1.15em; }
.compare thead th:first-child { width: 18%; color: var(--sumi); background: var(--kinari); }
.compare tbody th { text-align: left; }
.compare tbody td:last-child { color: var(--shu); background: var(--kinari); font-weight: 700; }

/* S7: Flow */
.flow-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr) 28px) minmax(0, 1fr); align-items: center; gap: 0; }
.flow-card { min-height: 510px; padding: 38px 14px 30px; overflow: visible; color: var(--sumi); background: var(--white-paper); background-clip: padding-box; border-width: 18px; box-shadow: 0 8px 20px rgba(45, 38, 26, .08); }
.flow-card.is-red { border-image-source: var(--corner-shu); min-height: 560px; }
.flow-num { display: block; font-family: var(--font-mincho); font-size: 2.8rem; line-height: 1; }
.flow-badge { display: inline-block; margin-top: 10px; padding: 3px 10px; color: var(--shu); border: 1px solid var(--shu); font-family: var(--font-mincho); font-size: .82rem; }
.flow-card h3 { min-height: 62px; margin-top: 20px; font-size: 1.25rem; font-weight: 700; }
.flow-icon-slot { display: grid; place-items: center; width: 100%; height: 104px; margin: 4px auto 14px; }
.flow-icon { width: auto; height: 100px; max-width: 100%; object-fit: contain; mix-blend-mode: darken; filter: contrast(1.1); }
.flow-icon[data-cutout="icon-step0.png"],
.flow-icon[data-cutout="icon-step2.png"],
.flow-icon[data-cutout="icon-step3.png"],
.flow-icon[data-cutout="icon-step4.png"],
.flow-icon[data-cutout="icon-step5.png"] { height: 76px; }
.flow-icon:not([src]), .flow-joinery:not([src]), .flow-cost-tag-image:not([src]) { display: none; }
.flow-joinery { width: 28px; height: 72px; object-fit: contain; mix-blend-mode: darken; filter: contrast(1.06); }
.flow-card p { min-height: 90px; margin-bottom: 14px; color: #30302b; font-size: 1rem; line-height: 1.75; }
.flow-card small { display: block; color: #4a4a44; font-size: .85rem; line-height: 1.65; }
.flow-cost-tag-slot { position: absolute; z-index: 4; top: -16px; right: -11px; width: 62px; transform: rotate(8deg); transform-origin: center; }
.flow-cost-tag-image { display: block; width: 100%; height: auto; }
.flow-cost-fallback { margin-top: 0; background: var(--kinari); }
.flow > .section-inner > .btn { display: flex; width: min(560px, 100%); margin: 60px auto 0; }

/* S8: Plans */
.plans { background: var(--white-paper); }
.plans h2 { margin-bottom: 10px; }
.plans-sub { margin-bottom: 56px; text-align: center; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.plan-card {
  position: relative;
  min-height: 510px;
  padding: 64px 28px 34px;
  overflow: visible;
  background-color: var(--kinari);
  background-image: var(--paper-noise);
  border: 1px solid rgba(168, 138, 76, .2);
  border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow-paper);
  clip-path: polygon(12% 0, 88% 0, 100% 8%, 100% 100%, 0 100%, 0 8%);
  text-align: center;
}
.plan-card.is-dashed { border: 2px dashed var(--muted); border-radius: 4px; box-shadow: none; background: transparent; clip-path: none; }
.tag-knot { position: absolute; top: 26px; left: 50%; width: 130px; height: 16px; transform: translateX(-50%); border-top: 4px double var(--kincha); }
.tag-knot::before, .tag-knot::after { content: ""; position: absolute; top: -9px; width: 55px; height: 16px; border-top: 3px solid var(--kincha); }
.tag-knot::before { left: 8px; transform: rotate(15deg); }
.tag-knot::after { right: 8px; transform: rotate(-15deg); }
.plan-card h3 { min-height: 76px; margin-top: 44px; }
.short-rule { display: block; width: 56px; height: 1px; margin: 0 auto 28px; background: var(--kincha); }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 5px; min-height: 112px; font-family: var(--font-mincho); white-space: nowrap; }
.plan-price strong { font-family: var(--font-mincho); font-size: clamp(4rem, 6vw, 6.4rem); font-weight: 900; line-height: 1; }
.plan-owned { display: flex; align-items: center; justify-content: center; min-height: 112px; color: var(--kincha); font-family: var(--font-mincho); font-size: 1.25rem; font-weight: 700; }
.owned-check { position: relative; display: block; width: 58px; height: 58px; border: 1px solid var(--kincha); border-radius: 50%; }
.owned-check::after { content: ""; position: absolute; top: 15px; left: 17px; width: 21px; height: 12px; border-bottom: 2px solid var(--kincha); border-left: 2px solid var(--kincha); transform: rotate(-45deg); }
.plan-condition { margin-top: 18px; font-family: var(--font-mincho); font-size: .94rem; line-height: 1.9; }

/* S9: Voices */
.voices h2 { margin-bottom: 8px; }
.voices-sub { margin-bottom: 70px; text-align: center; }
.voice-carousel-shell { position: relative; width: min(1120px, 100%); margin: 0 auto; }
.voice-carousel { display: flex; gap: 28px; overflow-x: auto; padding: 0 4%; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.voice-carousel::-webkit-scrollbar { display: none; }
.voice-card {
  flex: 0 0 min(760px, 78%);
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 38px 44px 30px;
  background-color: var(--white-paper);
  background-image: var(--paper-noise);
  border: 1px solid rgba(168, 138, 76, .48);
  box-shadow: 0 12px 26px rgba(50, 36, 12, .1), 0 2px 5px rgba(50, 36, 12, .08);
  scroll-snap-align: center;
}
.voice-card.is-placeholder { border-style: dashed; box-shadow: none; }
.voice-header { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid rgba(168, 138, 76, .55); }
.voice-label { display: inline-block; padding: 4px 12px; color: #7b5c1c; border: 1px solid var(--kincha); font-family: var(--font-mincho); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.voice-build { margin: 0; font-family: var(--font-mincho); font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 700; line-height: 1.75; }
.voice-card blockquote { position: relative; padding: 28px 8px 28px 26px; margin: 0; color: var(--sumi); border-left: 4px solid var(--shu); font-size: 1.02rem; line-height: 1.95; }
.voice-company { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; margin: auto 0 0; padding-top: 20px; border-top: 1px solid rgba(168, 138, 76, .35); font-family: var(--font-mincho); text-align: right; }
.voice-company-logo { flex: 0 0 auto; width: min(184px, 34%); height: auto; }
.voice-company a { color: var(--sumi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s ease; }
.voice-company a:hover, .voice-company a:focus-visible { color: var(--shu); }
.voice-controls { margin-top: 22px; text-align: center; }
.voice-nav { position: absolute; z-index: 1; top: calc(50% - 34px); display: grid; place-items: center; width: 46px; height: 46px; padding: 0; color: var(--sumi); background: var(--white-paper); border: 1px solid var(--kincha); border-radius: 50%; font-family: var(--font-mincho); font-size: 2rem; line-height: 1; box-shadow: 0 4px 10px rgba(50, 36, 12, .12); cursor: pointer; transform: translateY(-50%); transition: color .2s ease, border-color .2s ease, opacity .2s ease; }
.voice-nav:hover, .voice-nav:focus-visible { color: var(--shu); border-color: var(--shu); }
.voice-nav:disabled { opacity: .35; cursor: default; }
.voice-nav--previous { left: 10px; }
.voice-nav--next { right: 10px; }
.voice-counter { display: inline-block; margin: 0; padding: 0; color: var(--muted); background: transparent; font-family: var(--font-mincho); font-size: .95rem; white-space: nowrap; }
.voices > .section-inner > .btn { display: flex; width: min(560px, 100%); margin: 72px auto 0; }

/* Members */
.members h2 { margin-bottom: 8px; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(860px, 100%); margin: 0 auto; gap: 28px; }
.member-card { overflow: hidden; background-color: var(--white-paper); background-image: var(--paper-noise); border: 1px solid rgba(168, 138, 76, .48); box-shadow: 0 12px 26px rgba(50, 36, 12, .1), 0 2px 5px rgba(50, 36, 12, .08); }
.member-photo { display: block; width: 100%; height: auto; border-bottom: 1px solid rgba(168, 138, 76, .55); }
.member-card-body { padding: 24px 26px 28px; }
.member-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.member-name { margin-bottom: 0; color: var(--sumi); font-family: var(--font-mincho); font-size: 1.25rem; font-weight: 700; }
.member-bio { margin-bottom: 0; color: var(--sumi); font-size: .95rem; line-height: 1.9; }

/* S10: FAQ */
.faq { background: var(--white-paper); }
.faq-inner { width: min(1180px, calc(100% - 48px)); }
.faq-heading { display: flex; justify-content: center; align-items: center; gap: 22px; margin-bottom: 52px; }
.faq-heading h2 { margin-bottom: 0; }
.faq-heading-mark { display: grid; place-items: center; width: 58px; height: 58px; color: #fff; background: var(--shu); border-radius: 50%; font-family: var(--font-mincho); font-size: 1.75rem; }
.faq-item { border-bottom: 1px solid var(--kincha); }
.faq-item:first-child { border-top: 1px solid var(--kincha); }
.faq-item summary { position: relative; display: grid; grid-template-columns: 50px 1fr 40px; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--kincha); font-family: var(--font-mincho); font-size: 2rem; font-weight: 500; text-align: center; }
.faq-item[open] summary::after { content: "−"; }
.faq-mark { color: var(--shu); font-family: var(--font-mincho); font-size: 1.55rem; text-align: center; }
.faq-answer { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 0 58px 24px 0; color: var(--muted); }
.faq-answer-mark { color: var(--shu); font-family: var(--font-mincho); font-size: 1.35rem; font-weight: 700; text-align: center; }
.faq-answer p { margin-bottom: 0; }
.faq-ending { margin-top: 62px; text-align: center; }
.faq-ending p { max-width: 800px; margin-right: auto; margin-bottom: 28px; margin-left: auto; }

/* S11: Closing */
.closing { color: #fff; background: radial-gradient(circle at 50% 0, rgba(24, 53, 83, .75), transparent 54%), linear-gradient(135deg, #050913, #091629 55%, #02050b); }
.closing h2 { margin-bottom: 12px; color: #fff; }
.closing-sub { margin-bottom: 48px; text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.conversion-form { display: flex; flex-direction: column; min-height: 650px; padding: 38px; color: var(--sumi); background: var(--white-paper); border-radius: 5px; box-shadow: 0 18px 42px rgba(0, 0, 0, .22); }
.conversion-form h3 { min-height: 76px; margin-bottom: 18px; text-align: center; }
.conversion-form label { display: grid; gap: 6px; margin-bottom: 14px; font-size: .86rem; font-weight: 700; }
.form-label-text { display: flex; align-items: center; gap: 8px; }
.field-status { display: inline-flex; align-items: center; min-height: 20px; padding: 1px 7px; border-radius: 3px; font-size: .68rem; font-weight: 700; line-height: 1.35; }
.field-status.is-required { color: #fff; background: var(--shu); }
.field-status.is-optional { color: #555; background: #E3E1DB; }
.field-help { color: var(--muted); font-size: .74rem; font-weight: 400; line-height: 1.5; }
.conversion-form input, .conversion-form textarea { width: 100%; padding: 12px 13px; color: var(--sumi); background: #fff; border: 1px solid #bcbab3; border-radius: 2px; }
.conversion-form textarea { resize: vertical; }
.conversion-form .privacy-consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; margin: auto 0 18px; font-size: .82rem; font-weight: 500; line-height: 1.6; cursor: pointer; }
.conversion-form .privacy-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; padding: 0; accent-color: var(--cta-dark); cursor: pointer; }
.privacy-consent a { color: var(--cta-dark); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.privacy-consent a:hover, .privacy-consent a:focus-visible { color: var(--shu); }
.conversion-form .btn { width: 100%; margin-top: 0; }
.form-status { min-height: 28px; margin: 10px 0 0; color: var(--shu); font-weight: 700; text-align: center; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-error-summary { margin: 0 0 16px; padding: 11px 13px; color: #8f170d; font-size: .86rem; font-weight: 700; background: #fff1ee; border: 1px solid #d85b4e; border-radius: 2px; }
.conversion-form.is-submitting { opacity: .92; }
.conversion-form button[disabled] { cursor: wait; opacity: .7; }
.download-note { margin: 0 0 14px; color: var(--muted); font-size: .82rem; text-align: center; }
