:root {
  color-scheme: light;
  --ink: #342e2a;
  --muted: #756d66;
  --line: #eae0d2;
  --ivory: #fbf7ef;
  --sand: #f3eadc;
  --blush: #f3e2dd;
  --paper: #fff;
  --gold: #c49a55;
  --gold-dark: #a77c38;
  --pink: #d98f91;
  --green: #65a67c;
  --shadow-sm: 0 2px 8px rgba(52,46,42,.05);
  --shadow-md: 0 12px 38px rgba(52,46,42,.09);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--ivory); line-height: 1.8; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.mobile-only { display: none; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(234,224,210,.8); background: rgba(251,247,239,.92); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 76px; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; font-family: "Playfair Display", Georgia, serif; font-size: 1.22rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand::before { content: ""; width: 42px; height: 35px; background: url("/assets/wedding-quiz-symbol.svg") center/contain no-repeat; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 700; }
.nav a { text-decoration: none; }
.nav > a:not(.button):hover { color: var(--gold-dark); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 27px; border: 2px solid var(--gold); border-radius: 999px; background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); font-weight: 800; text-decoration: none; transition: background .2s ease,border-color .2s ease,transform .2s ease; }
.button:hover { border-color: var(--gold-dark); background: var(--gold-dark); transform: translateY(-1px); }
.button.small { min-height: 44px; padding-inline: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-dark); font-weight: 800; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateY(2px); }
.eyebrow { margin: 0 0 13px; color: var(--gold-dark); font-family: "Playfair Display", Georgia, serif; font-size: .82rem; font-weight: 700; letter-spacing: .16em; line-height: 1.8; text-transform: uppercase; }
h1,h2,h3 { margin-top: 0; line-height: 1.38; letter-spacing: -.025em; }
h1 { margin-bottom: 0; font-size: clamp(2.55rem,5vw,4.9rem); line-height: 1.2; }
h1 em { color: var(--gold-dark); font-style: normal; }
h2 { font-size: clamp(2rem,3.5vw,3.2rem); }
h3 { font-size: 1.25rem; }

.hero { position: relative; overflow: hidden; padding: 104px 0 106px; background: radial-gradient(circle at 88% 12%,rgba(217,143,145,.2),transparent 28%),linear-gradient(150deg,#fff 0%,var(--ivory) 60%); }
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 78px; }
.hero-heading { margin: 0; font-size: clamp(2.55rem,5vw,4.9rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.hero-heading em { color: var(--gold-dark); font-style: normal; }
.hero-copy { max-width: 620px; margin: 28px 0 30px; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 28px 0 0; padding: 0; color: var(--muted); font-size: .85rem; font-weight: 700; list-style: none; }
.hero-points li::before { margin-right: 7px; color: var(--gold); content: "◆"; font-size: .68rem; }
.product-stage { position: relative; padding: 34px 30px 60px; border: 1px solid var(--line); border-radius: 32px; background: var(--blush); box-shadow: var(--shadow-md); transform: rotate(1deg); }
.stage-note { position: absolute; top: -15px; right: 38px; padding: 7px 15px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.screen { padding: 28px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.screen-head { display: flex; align-items: center; justify-content: space-between; color: var(--gold-dark); font-weight: 900; }
.screen-head small { padding: 5px 10px; border-radius: 999px; background: var(--pink); color: #fff; }
.screen-title { margin: 18px 0 20px; text-align: center; font-size: 1.3rem; font-weight: 900; line-height: 1.5; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer { display: flex; min-height: 70px; align-items: center; padding: 12px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-weight: 800; }
.answer span { display: inline-grid; width: 34px; height: 34px; flex: none; place-items: center; margin-right: 9px; border-radius: 50%; background: var(--sand); }
.answer.selected { border-color: var(--gold); background: #fff8ed; }
.answer.selected span { background: var(--gold); color: #fff; }
.screen-caption { margin: 14px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.floating-result { position: absolute; right: -28px; bottom: -28px; display: grid; width: min(390px,80%); grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); transform: rotate(-1deg); }
.floating-result > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-size: 1.2rem; font-weight: 900; }
.floating-result div { display: flex; flex-direction: column; line-height: 1.45; }
.floating-result small { color: var(--muted); }
.floating-result b { color: var(--gold-dark); font-size: .85rem; }

.promise { border-block: 1px solid var(--line); background: #fff; }
.promise-inner { display: grid; grid-template-columns: repeat(3,1fr); }
.promise p { margin: 0; padding: 28px 42px; border-right: 1px solid var(--line); font-weight: 800; line-height: 1.65; text-align: center; }
.promise p:last-child { border-right: 0; }
.section { padding: 112px 0; }
.section-heading { max-width: 800px; margin: 0 auto 54px; text-align: center; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }

.experience { background: var(--ivory); }
.case-study { background: #fff; }
.case-slider { display: grid; grid-auto-columns: minmax(320px,520px); grid-auto-flow: column; gap: 20px; overflow-x: auto; padding: 4px 4px 24px; scroll-snap-type: x mandatory; scrollbar-color: var(--gold) var(--sand); }
.case-card { position: relative; display: grid; min-height: 190px; grid-template-columns: auto 1fr; align-content: center; align-items: center; gap: 8px 28px; padding: 42px 38px 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--ivory); box-shadow: var(--shadow-md); scroll-snap-align: start; }
.case-status { position: absolute; top: 16px; right: 16px; padding: 5px 12px; border-radius: 999px; background: var(--pink); color: #fff !important; font-size: .74rem; font-weight: 900; }
.case-card time { padding-right: 28px; border-right: 1px solid var(--line); color: var(--gold-dark); font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif; font-size: 1.08rem; font-weight: 800; letter-spacing: .02em; }
.case-body strong { font-size: 1.4rem; }
.case-body dl { display: grid; gap: 3px; margin: 9px 0 0; }
.case-body dl div { display: grid; grid-template-columns: 3.5em 1fr; gap: 8px; }
.case-body dt { color: var(--muted); font-size: .82rem; font-weight: 700; }
.case-body dd { margin: 0; font-size: .9rem; }
.journey { display: grid; grid-template-columns: repeat(3,1fr); align-items: start; gap: 24px; }
.journey-card { position: relative; padding: 22px 22px 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.journey-card.featured { margin-top: -14px; border-color: rgba(196,154,85,.65); }
.journey-number { position: absolute; z-index: 2; top: 12px; left: 12px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-size: .78rem; font-weight: 900; }
.mini-phone { display: grid; min-height: 300px; place-items: center; overflow: hidden; border-radius: 18px; background: var(--sand); }
.mini-phone > div { width: 70%; padding: 19px; border-radius: 20px 20px 8px 8px; background: #fff; box-shadow: var(--shadow-md); }
.join-ui { display: grid; gap: 9px; text-align: center; }
.join-ui i { color: var(--gold-dark); font-family: "Playfair Display",Georgia,serif; font-style: normal; font-weight: 700; }
.join-ui b { margin-block: 5px; font-size: 1.2rem; }
.join-ui span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .68rem; text-align: left; }
.join-ui strong { padding: 9px; border-radius: 9px; background: var(--gold); color: #fff; font-size: .76rem; }
.quiz-ui { display: grid; gap: 12px; text-align: center; }
.quiz-ui small { color: var(--gold-dark); font-weight: 900; }
.quiz-ui > b { line-height: 1.5; }
.quiz-ui > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.quiz-ui span { display: grid; min-height: 52px; place-items: center; border: 1px solid var(--line); border-radius: 9px; font-weight: 900; }
.quiz-ui span.active { border-color: var(--pink); background: #fbeded; }
.rank-ui i { display: block; margin-bottom: 12px; color: var(--gold-dark); font-style: normal; font-weight: 900; text-align: center; }
.rank-ui p { display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 8px; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .72rem; }
.rank-ui p b { color: var(--gold-dark); font-size: .95rem; }
.rank-ui p em { color: var(--muted); font-style: normal; }
.journey-card h3 { margin: 24px 0 9px; }
.journey-card > p { margin: 0; color: var(--muted); font-size: .92rem; }

.features { background: #fff; }
.feature-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 74px; }
.feature-intro { position: sticky; top: 112px; }
.feature-intro h2 { margin-bottom: 20px; }
.feature-intro > p:not(.eyebrow) { margin-bottom: 26px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--ivory); }
.card .icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--sand); color: var(--gold-dark); font-family: "Playfair Display",Georgia,serif; font-size: 1.25rem; font-weight: 900; }
.card .pdf-icon { font-family: inherit; font-size: .65rem; }
.card h3 { margin: 17px 0 7px; }
.card p { margin: 0; color: var(--muted); font-size: .9rem; }

.flow { background: var(--sand); }
.steps { display: grid; max-width: 900px; margin: auto; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 80px 1fr; gap: 26px; padding: 25px 0; border-bottom: 1px solid rgba(196,154,85,.35); }
.steps li > span { color: var(--gold-dark); font-family: "Playfair Display",Georgia,serif; font-size: 1.4rem; font-weight: 700; }
.steps strong { display: block; margin-bottom: 5px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }

.plan-section { background: var(--ivory); }
.trial-plan { display: grid; grid-template-columns:minmax(0,1fr) auto auto; align-items: center; gap: 34px; margin: 0 auto 70px; padding: 30px 34px; border: 1px solid var(--gold); border-radius: 24px; background: #fff; box-shadow: var(--shadow-md); scroll-margin-top: 100px; }
.trial-badge { display: inline-flex; margin-bottom: 10px; padding: 5px 11px; border-radius: 999px; background: var(--pink); color: #fff; font-size: .75rem; font-weight: 900; }
.trial-plan h3 { margin: 0 0 6px; font-size: 1.45rem; }
.trial-plan p { margin: 0; color: var(--muted); font-size: .88rem; }
.trial-plan > ul { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.trial-plan > ul li { min-width: 70px; padding: 10px; border-radius: 12px; background: var(--ivory); text-align: center; }
.trial-plan > ul b,.trial-plan > ul span { display: block; }
.trial-plan > ul b { color: var(--gold-dark); }
.trial-plan > ul span { color: var(--muted); font-size: .68rem; }
.paid-plan-heading { margin-bottom: 25px; text-align: center; }
.paid-plan-heading h3 { margin-bottom: 5px; font-size: 1.55rem; }
.paid-plan-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); align-items: stretch; gap: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.price-card.recommended { border: 2px solid var(--gold); box-shadow: var(--shadow-md); }
.recommended-label { position: absolute; top: -14px; left: 50%; padding: 5px 15px; border-radius: 999px; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 900; transform: translateX(-50%); white-space: nowrap; }
.plan-name { margin: 0 0 3px; color: var(--gold-dark); font-family: "Playfair Display",Georgia,serif; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price-card h3 { min-height: 2em; margin: 0 0 18px; font-size: 1.35rem; }
.plan-price { display: flex; min-height: 58px; align-items: baseline; gap: 5px; }
.plan-price b { color: var(--gold-dark); font-size: 2rem; line-height: 1; }
.plan-price span { color: var(--muted); font-size: .78rem; }
.plan-price strong { color: var(--gold-dark); font-size: 1.65rem; }
.plan-duration { margin: 6px 0 20px; color: var(--muted); font-size: .83rem; }
.price-card > ul { margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.price-card > ul li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.price-card > ul span { color: var(--muted); }
.price-card > ul b { text-align: right; }
.price-card .button { width: 100%; min-height: 48px; margin-top: auto; padding-inline: 12px; font-size: .85rem; }
.price-card .button.secondary { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: none; }
.price-card .button.secondary:hover { border-color: var(--gold); background: #fff8ed; }
.tax-note { margin: 18px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.plan { max-width: 900px; margin: auto; overflow: hidden; border: 1px solid var(--gold); border-radius: 28px; background: #fff; box-shadow: var(--shadow-md); }
.plan-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 34px 38px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg,#fff,var(--ivory)); }
.plan-heading p { margin: 0 0 4px; color: var(--gold-dark); font-family: "Playfair Display",Georgia,serif; font-weight: 700; }
.plan-heading h3 { margin: 0; font-size: 1.85rem; }
.price { text-align: right; }
.price small,.price strong { display: block; }
.price small { color: var(--muted); }
.price strong { color: var(--gold-dark); font-size: 1.45rem; }
.plan-list { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 28px 38px; list-style: none; }
.plan-list li { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-list li:nth-child(3n) { border-right: 0; }
.plan-list li:nth-last-child(-n+3) { border-bottom: 0; }
.plan-list b,.plan-list span { display: block; }
.plan-list b { color: var(--gold-dark); font-size: 1.08rem; }
.plan-list span { color: var(--muted); font-size: .8rem; }
.plan-foot { display: flex; align-items: center; gap: 30px; padding: 28px 38px; background: var(--sand); }
.plan-foot p { flex: 1; margin: 0; color: var(--muted); font-size: .86rem; }
.plan-foot .button { flex: none; }

.faq-section { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .55fr 1fr; gap: 80px; }
.faq-layout h2 { margin-bottom: 10px; }
.faq-layout > div:first-child > p:last-child { color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); background: #fff; }
summary { position: relative; padding: 23px 44px 23px 0; cursor: pointer; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; top: 23px; right: 8px; color: var(--gold-dark); content: "+"; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 42px 24px 0; color: var(--muted); }

.cta { padding: 102px 20px; background: var(--blush); text-align: center; }
.cta-inner { max-width: 760px; }
.cta img { width: 86px; margin: 0 auto 12px; }
.cta h2 { margin-bottom: 18px; }
.cta-inner > p:not(.eyebrow) { margin: 0 0 28px; color: var(--muted); }
.site-footer { padding: 54px 0; border-top: 1px solid var(--line); background: var(--ivory); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-inner > div p { margin: 14px 0 2px; color: var(--muted); font-size: .86rem; }
.footer-inner > div .footer-contact { margin-top: 18px; line-height: 1.8; }
.footer-contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-inner small { color: var(--muted); }
.footer-links { display: flex; max-width: 580px; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; }
.footer-links a { color: var(--muted); font-size: .82rem; }

.legal-main { padding: 66px 0 100px; }
.legal-document { max-width: 880px; margin: auto; padding: 52px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.legal-document h1 { font-size: clamp(2rem,4vw,3rem); }
.legal-document h2 { margin-top: 42px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 1.3rem; }
.legal-document h3 { margin-top: 28px; font-size: 1.08rem; }
.legal-document li { margin: 6px 0; }
.legal-document dt { margin-top: 24px; }
.legal-document dd { margin: 4px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.placeholder { padding: 14px 18px; border: 2px dashed var(--gold); border-radius: 12px; background: #fff9eb; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { z-index: 99; top: 10px; left: 10px; padding: 8px 12px; background: #fff; }

@media (max-width: 940px) {
  .nav > a:not(.button) { display: none; }
  .hero { padding-top: 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-content { max-width: 720px; }
  .product-stage { width: min(680px,100%); margin: auto; }
  .feature-layout,.faq-layout { grid-template-columns: 1fr; gap: 46px; }
  .feature-intro { position: static; max-width: 700px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 30px,1160px); }
  .header-inner { min-height: 66px; }
  .brand { font-size: 1.04rem; }
  .brand::before { width: 35px; height: 30px; }
  .nav .button { min-height: 40px; padding-inline: 15px; font-size: .8rem; }
  .hero { padding: 58px 0 78px; }
  .hero-grid { gap: 58px; }
  h1 { font-size: clamp(2.35rem,12vw,3.5rem); }
  .hero-heading { font-size: clamp(2.35rem,12vw,3.5rem); }
  .hero-copy { font-size: 1rem; }
  .product-stage { padding: 18px 14px 44px; border-radius: 24px; transform: none; }
  .screen { padding: 18px 14px; }
  .screen-title { font-size: 1.05rem; }
  .answer { min-height: 60px; padding: 9px; font-size: .85rem; }
  .answer span { width: 29px; height: 29px; }
  .floating-result { right: 10px; bottom: -34px; width: calc(100% - 36px); }
  .promise-inner { grid-template-columns: 1fr; padding-block: 8px; }
  .promise p { padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .promise p:last-child { border-bottom: 0; }
  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 38px; }
  .mobile-only { display: block; }
  .journey { grid-template-columns: 1fr; }
  .journey-card.featured { margin-top: 0; }
  .mini-phone { min-height: 300px; padding-block: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 52px 1fr; gap: 12px; }
  .trial-plan { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .case-card { padding: 26px 22px; }
  .trial-plan > ul { width: 100%; }
  .trial-plan > .button { width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; gap: 28px; }
  .plan-heading,.plan-foot { display: block; padding: 26px 22px; }
  .price { margin-top: 18px; text-align: left; }
  .plan-list { grid-template-columns: 1fr 1fr; padding: 18px; }
  .plan-list li:nth-child(3n) { border-right: 1px solid var(--line); }
  .plan-list li:nth-child(2n) { border-right: 0; }
  .plan-list li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .plan-list li:nth-last-child(-n+2) { border-bottom: 0; }
  .plan-foot .button { width: 100%; margin-top: 20px; }
  .faq-layout { gap: 22px; }
  .cta { padding: 76px 14px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 30px; justify-content: flex-start; }
  .legal-main { padding-top: 30px; }
  .legal-document { padding: 28px 20px; border-radius: 18px; }
}
@media (max-width: 390px) {
  .header-inner { gap: 8px; }
  .brand { font-size: .93rem; }
  .brand::before { width: 30px; height: 25px; }
  .nav .button { padding-inline: 12px; }
  .answers { grid-template-columns: 1fr; }
  .floating-result { grid-template-columns: 40px 1fr; }
  .floating-result > b { display: none; }
  .plan-list { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .case-card time { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trial-plan > ul { grid-template-columns: 1fr 1fr; }
  .plan-list li,.plan-list li:nth-child(2n),.plan-list li:nth-child(3n),.plan-list li:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan-list li:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none!important; }
}
