:root {
  --ink: #142b2d;
  --muted: #536668;
  --deep: #0d3b3f;
  --deep-2: #092d30;
  --teal: #14636a;
  --mint: #dcebe7;
  --cream: #f7f4ec;
  --paper: #fff;
  --line: #d8e1df;
  --amber: #d89a3c;
  --amber-light: #f4dcae;
  --shadow: 0 18px 50px rgba(13,59,63,.11);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: .015em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 24px; }
h3 { font-size: 1.25rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.section { padding: 96px 0; }
.section-tint { background: var(--cream); }
.section-dark { color: #fff; background: var(--deep); }
.section-lead { color: var(--muted); font-size: 1.08rem; }
.eyebrow { margin-bottom: 12px; color: var(--teal); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: var(--amber-light); }
.small-note { margin: 15px 0 0; color: var(--muted); font-size: .88rem; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: #fff; background: var(--deep); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(216,225,223,.9); backdrop-filter: blur(15px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--deep); text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; color: var(--deep); }
.brand-mark svg { width: 100%; height: 100%; fill: currentColor; }
.brand-mark .brand-heart { fill: var(--amber); }
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand strong { font-size: 1.05rem; letter-spacing: .03em; }
.brand small { color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .06em; }
.desktop-nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 700; }
.desktop-nav a { text-decoration: none; }
.desktop-nav a:not(.nav-cta):hover { color: var(--teal); }
.nav-cta { padding: 10px 18px; color: #fff; background: var(--deep); border-radius: 999px; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { padding: 8px 12px; font-weight: 800; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.mobile-nav nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 700; }

.hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--deep); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(5,35,38,.95) 0%, rgba(8,44,47,.88) 38%, rgba(8,44,47,.35) 64%, rgba(8,44,47,.05) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: 78px; }
.hero-copy { width: min(670px, 62%); }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.3rem, 5vw, 4.2rem); letter-spacing: .01em; text-wrap: balance; }
.hero-lead { max-width: 610px; margin-bottom: 30px; font-size: 1.08rem; line-height: 1.9; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 800; line-height: 1.35; text-decoration: none; border: 2px solid transparent; border-radius: 12px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button small { font-size: .78rem; font-weight: 700; opacity: .85; }
.button-primary { color: #112626; background: var(--amber-light); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.button-primary:hover { background: #ffe7b9; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.button-outline { color: var(--deep); border-color: var(--deep); background: transparent; }
.button-outline:hover { color: #fff; background: var(--deep); }
.button-light { color: var(--deep); background: #fff; }
.button.full { width: 100%; }
.hero-note { margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: .88rem; }

.trust-bar { color: #fff; background: var(--deep-2); border-top: 1px solid rgba(255,255,255,.12); }
.trust-grid { min-height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-grid div { min-height: 46px; padding: 0 22px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.16); }
.trust-grid div:first-child { padding-left: 0; }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { color: var(--amber-light); font-size: 1.05rem; }
.trust-grid span { color: rgba(255,255,255,.76); font-size: .78rem; }

.intro { padding-bottom: 88px; }
.intro h2 { text-wrap: balance; }
.section-heading { margin-bottom: 38px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 60px; align-items: end; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.plan-card { position: relative; padding: 38px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 32px rgba(13,59,63,.06); }
.plan-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.recommended { position: absolute; top: -16px; right: 28px; padding: 6px 16px; color: #fff; background: var(--teal); font-size: .78rem; font-weight: 800; border-radius: 999px; }
.plan-label { margin-bottom: 5px; color: var(--teal); font-size: .8rem; font-weight: 800; }
.plan-head h3 { margin-bottom: 14px; font-size: 1.5rem; }
.price { margin-bottom: 6px; display: flex; align-items: baseline; gap: 5px; color: var(--deep); }
.price strong { font-family: Georgia, "Times New Roman", serif; font-size: 3.25rem; line-height: 1; letter-spacing: -.02em; }
.price span { font-weight: 800; }
.price-note { min-height: 58px; margin-bottom: 22px; color: var(--muted); font-size: .9rem; }
.price-note em { color: #a96400; font-style: normal; font-weight: 800; }
.check-list, .compact-list, .scope-card ul, .legal-list ul { padding: 0; margin: 0; list-style: none; }
.check-list { margin-bottom: 22px; }
.check-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid #edf1f0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 21px; height: 21px; display: grid; place-items: center; color: #fff; background: var(--teal); font-size: .75rem; font-weight: 900; border-radius: 50%; }
.plan-caption { flex: 1; color: var(--muted); font-size: .9rem; }
.option-wrap { margin-top: 26px; padding: 28px 30px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 16px; }
.option-wrap h3 { margin-bottom: 18px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--deep); background: var(--mint); white-space: nowrap; }
td:nth-child(2) { font-weight: 800; white-space: nowrap; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.reason-list { display: grid; gap: 14px; }
.reason-list article { padding: 22px; display: grid; grid-template-columns: 48px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 25px rgba(13,59,63,.05); }
.reason-list span { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--teal); font-family: Georgia, serif; font-weight: 800; border-radius: 50%; }
.reason-list h3 { margin-bottom: 4px; }
.reason-list p { margin: 0; color: var(--muted); font-size: .93rem; }

.flow-grid { padding: 0; margin: 42px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.flow-grid li { position: relative; padding: 29px 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; }
.flow-grid li:not(:last-child)::after { content: "›"; position: absolute; right: -16px; top: 50%; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; color: var(--deep); background: var(--amber-light); font-size: 1.5rem; font-weight: 900; border-radius: 50%; transform: translateY(-50%); }
.flow-grid span { color: var(--amber-light); font-family: Georgia, serif; font-size: 2rem; font-weight: 800; }
.flow-grid h3 { margin: 5px 0 10px; }
.flow-grid p { margin: 0; color: rgba(255,255,255,.76); font-size: .9rem; }

.payment { padding-block: 74px; }
.payment-card { padding: 38px 44px; display: grid; grid-template-columns: 110px minmax(0,1fr) 270px; gap: 34px; align-items: center; background: linear-gradient(135deg, #f2f0ff, #eef9f6); border: 1px solid #d8d9ef; border-radius: var(--radius); }
.stripe-mark { width: 100px; height: 100px; display: grid; place-items: center; color: #fff; background: #635bff; font-size: 1.3rem; font-weight: 900; letter-spacing: -.06em; border-radius: 22px; box-shadow: 0 13px 25px rgba(99,91,255,.22); }
.payment h2 { margin-bottom: 12px; }
.payment p { margin-bottom: 0; color: var(--muted); }
.compact-list { display: grid; gap: 10px; }
.compact-list li { position: relative; padding-left: 25px; font-size: .9rem; font-weight: 700; }
.compact-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }

.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.scope-card { padding: 32px; background: #fff; border-radius: 17px; }
.scope-card h3 { padding-bottom: 15px; margin-bottom: 12px; border-bottom: 2px solid var(--line); }
.scope-card.yes h3 { color: var(--teal); }
.scope-card.no h3 { color: #755547; }
.scope-card li { position: relative; padding: 7px 0 7px 26px; }
.scope-card.yes li::before { content: "○"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.scope-card.no li::before { content: "—"; position: absolute; left: 0; color: #927163; font-weight: 900; }

.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 75px; align-items: start; }
.faq-layout > div:first-child { position: sticky; top: 110px; }
.faq-layout > div:first-child > p:last-child { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 48px 22px 0; font-size: 1.03rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 10px; top: 20px; width: 27px; height: 27px; display: grid; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 42px 24px 0; margin: 0; color: var(--muted); }

.final-cta { padding: 74px 0; color: #fff; background: linear-gradient(125deg, var(--deep), #176a70); }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: center; }
.final-cta h2 { max-width: 800px; margin-bottom: 12px; }
.final-cta p:last-child { margin-bottom: 0; color: rgba(255,255,255,.75); }

.site-footer { padding: 55px 0 25px; color: rgba(255,255,255,.74); background: #071f21; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .8fr; gap: 55px; }
.footer-brand { margin-bottom: 15px; color: #fff; }
.footer-brand small { color: rgba(255,255,255,.58); }
.site-footer h2 { margin-bottom: 12px; color: #fff; font-size: .85rem; letter-spacing: .1em; }
.site-footer p { margin-bottom: 5px; font-size: .82rem; }
.site-footer > .container a:not(.brand) { display: block; width: fit-content; margin-bottom: 7px; }
.footer-phone { color: var(--amber-light); font-size: 1.4rem; font-weight: 900; text-decoration: none; }
.footer-bottom { margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; }

.simple-header .header-inner { min-height: 72px; }
.back-link { color: var(--teal); font-size: .9rem; font-weight: 800; text-decoration: none; }
.legal-main { background: #f8f7f2; }
.legal-hero { padding: 84px 0 55px; color: #fff; background: var(--deep); }
.legal-hero h1 { margin-bottom: 15px; font-size: clamp(2rem, 5vw, 3.4rem); }
.legal-hero p:last-child { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.78); }
.legal-section { padding-top: 54px; }
.legal-list { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.legal-list > div { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); }
.legal-list > div:last-child { border-bottom: 0; }
.legal-list dt, .legal-list dd { padding: 21px 24px; margin: 0; }
.legal-list dt { color: var(--deep); background: #edf5f2; font-weight: 800; }
.legal-list dd { color: #405456; }
.legal-list li { position: relative; padding-left: 20px; margin-bottom: 5px; }
.legal-list li::before { content: "・"; position: absolute; left: 0; font-weight: 900; }
.updated { margin: 20px 0 0; color: var(--muted); text-align: right; font-size: .85rem; }
.legal-actions { margin-top: 40px; display: flex; gap: 12px; justify-content: center; }
.compact-footer { padding-top: 22px; }
.compact-footer .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { min-height: 630px; }
  .hero-copy { width: min(600px, 78%); }
  .hero-shade { background: linear-gradient(90deg, rgba(5,35,38,.94), rgba(8,44,47,.7) 70%, rgba(8,44,47,.25)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding-block: 14px; }
  .trust-grid div { padding: 9px 18px; }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .section-heading, .split, .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid li:nth-child(2)::after { display: none; }
  .payment-card { grid-template-columns: 90px 1fr; }
  .stripe-mark { width: 80px; height: 80px; }
  .compact-list { grid-column: 2; }
  .faq-layout > div:first-child { position: static; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 62px 0; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand strong { font-size: .94rem; }
  .brand small { font-size: .63rem; }
  .hero { min-height: 660px; align-items: flex-end; }
  .hero-image { object-position: 64% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,35,38,.98) 5%, rgba(8,44,47,.86) 58%, rgba(8,44,47,.14) 100%); }
  .hero-inner { padding-block: 130px 48px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .hero h1 br { display: none; }
  .hero-actions { display: grid; }
  .button { width: 100%; padding-inline: 17px; }
  .trust-grid div { padding-left: 12px; }
  .intro h2 br { display: none; }
  .section-heading { gap: 15px; }
  .plan-grid, .scope-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 30px 23px; }
  .price strong { font-size: 2.9rem; }
  .option-wrap { padding: 23px 18px; }
  .split { gap: 28px; }
  .reason-list article { grid-template-columns: 40px 1fr; padding: 18px; }
  .reason-list span { width: 38px; height: 38px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid li:not(:last-child)::after { display: none; }
  .payment-card { padding: 28px 22px; grid-template-columns: 1fr; text-align: left; }
  .stripe-mark { width: 72px; height: 72px; }
  .compact-list { grid-column: auto; }
  .faq-layout { gap: 14px; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .back-link { font-size: 0; }
  .back-link::after { content: "← 戻る"; font-size: .84rem; }
  .legal-hero { padding: 62px 0 42px; }
  .legal-list > div { grid-template-columns: 1fr; }
  .legal-list dt { padding-bottom: 10px; }
  .legal-list dd { padding-top: 12px; }
  .legal-actions { flex-direction: column; }
  .compact-footer .footer-bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
