:root {
  --ink: #14251f;
  --green: #1f624c;
  --green-dark: #164636;
  --mint: #dceee4;
  --cream: #f6f3eb;
  --paper: #fffefa;
  --red: #ef5940;
  --line: #cdd7d1;
  --muted: #617068;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --latin: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 100; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header { height: 82px; padding: 0 max(4vw, 24px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(20,37,31,.13); background: rgba(255,254,250,.94); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.1; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 50% 50% 50% 6px; font-family: var(--serif); font-size: 18px; }
.brand b { display: block; font-family: var(--latin); font-size: 18px; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; letter-spacing: .08em; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 13px; font-weight: 600; text-decoration: none; }
.nav-cta { padding: 11px 22px; color: white; background: var(--green); border-radius: 3px; }
.menu-button { display: none; border: 0; background: transparent; width: 42px; height: 42px; }

.hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr); overflow: hidden; }
.hero-copy { padding: clamp(64px, 8vw, 130px) 5vw 60px max(5vw, calc((100vw - 1400px)/2)); position: relative; z-index: 2; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; font-family: var(--latin); font-weight: 700; font-size: 11px; letter-spacing: .13em; }
.eyebrow span { display: inline-block; width: 28px; height: 2px; background: var(--red); }
h1, h2 { font-family: var(--serif); letter-spacing: 0; }
h1 { font-size: clamp(46px, 5vw, 78px); line-height: 1.32; margin: 0; }
h1 em { color: var(--green); font-style: normal; position: relative; }
h1 em::after { content: ""; height: 9px; background: #f6d44c; position: absolute; left: 0; right: 0; bottom: 8px; z-index: -1; transform: rotate(-1.5deg); }
.hero-intro { max-width: 530px; margin: 30px 0 34px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 54px; display: inline-flex; justify-content: center; align-items: center; gap: 34px; border: 0; border-radius: 3px; padding: 0 24px; font-weight: 700; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--green); color: white; box-shadow: 0 10px 28px rgba(22,70,54,.17); }
.button.primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.text-link { text-underline-offset: 5px; font-size: 13px; font-weight: 600; }
.hero-price { display: flex; gap: 0; margin: 52px 0 0; }
.hero-price div { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line); }
.hero-price div:last-child { border: 0; }
.hero-price dt { color: var(--muted); font-size: 11px; font-weight: 600; }
.hero-price dd { margin: 3px 0 0; }
.hero-price strong { font-family: var(--latin); font-size: 32px; line-height: 1; }
.hero-price small { margin-left: 5px; font-size: 10px; }

.hero-stage { position: relative; min-height: 680px; background-color: var(--mint); background-image: linear-gradient(rgba(31,98,76,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(31,98,76,.08) 1px, transparent 1px); background-size: 42px 42px; }
.browser { position: absolute; background: white; box-shadow: 0 28px 70px rgba(20,37,31,.23); overflow: hidden; }
.browser-main { width: 78%; top: 12%; left: 8%; transform: rotate(1.4deg); }
.browser-bar { height: 34px; background: #f4f3ef; display: flex; align-items: center; gap: 6px; padding: 0 12px; color: #758078; font-family: var(--latin); font-size: 9px; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9cec9; }
.browser-bar span { margin-left: 8px; }
.browser-main img { width: 100%; height: clamp(310px, 34vw, 520px); object-fit: cover; }
.browser-caption { position: absolute; inset: auto 0 0 0; padding: 50px 44px 32px; color: white; background: linear-gradient(transparent, rgba(13,34,27,.85)); }
.browser-caption span { font-family: var(--latin); font-size: 9px; letter-spacing: .15em; }
.browser-caption b { display: block; margin-top: 8px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 36px); line-height: 1.45; }
.phone-preview { position: absolute; right: 5%; bottom: 5%; width: 168px; padding: 9px; border: 6px solid #13251f; border-radius: 24px; background: white; box-shadow: 0 24px 45px rgba(20,37,31,.3); transform: rotate(-4deg); }
.phone-preview > div { padding: 3px 5px 9px; display: flex; justify-content: space-between; font-size: 7px; }
.phone-preview img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.phone-preview strong { display: block; margin: 8px 0 2px; padding: 7px; color: white; background: var(--green); text-align: center; font-size: 9px; }
.stage-note { position: absolute; left: 4%; bottom: 4%; margin: 0; font-family: var(--latin); font-size: 10px; line-height: 1.5; }
.stage-note b { font-family: var(--sans); font-size: 13px; }

.promise-strip { display: grid; grid-template-columns: repeat(4,1fr); background: var(--green); color: white; }
.promise-strip p { margin: 0; padding: 22px clamp(18px,3vw,46px); display: flex; gap: 14px; border-right: 1px solid rgba(255,255,255,.2); font-size: 13px; }
.promise-strip b { color: #f6d44c; font-family: var(--latin); }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.fit-section, .price-section, .faq-section { padding-top: 120px; padding-bottom: 120px; }
.fit-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.section-lead h2 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.5; }
.section-lead > p:last-child { max-width: 520px; color: var(--muted); }
.fit-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.fit-list article { min-height: 210px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fit-list article:nth-child(even) { border-right: 0; }
.fit-list span { display: inline-block; min-width: 42px; padding: 3px 8px; color: var(--green); background: var(--mint); font-size: 10px; font-weight: 700; text-align: center; }
.fit-list h3 { margin: 17px 0 8px; font-family: var(--serif); font-size: 20px; }
.fit-list p { margin: 0; color: var(--muted); font-size: 13px; }

.works-section { padding: 120px 0 110px; background: var(--ink); color: white; }
.section-lead.light { display: grid; grid-template-columns: 1fr .75fr; align-items: end; }
.section-lead.light .eyebrow { grid-column: 1/-1; }
.section-lead.light > p:last-child { color: #b8c5bf; }
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 62px 24px; margin-top: 58px; }
.work-card { text-decoration: none; }
.work-image { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #31433c; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.work-image span { position: absolute; right: 14px; bottom: 14px; padding: 10px 14px; background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: .25s; }
.work-card:hover img { transform: scale(1.035); }
.work-card:hover .work-image span { opacity: 1; transform: translateY(0); }
.work-card > div:last-child { padding: 20px 3px 0; }
.work-card p { margin: 0; color: #8fb7a6; font-family: var(--latin); font-size: 10px; letter-spacing: .16em; }
.work-card h3 { margin: 5px 0 3px; font-family: var(--serif); font-size: 23px; }
.work-card small { color: #a9b8b1; }
.sample-note { margin: 48px 0 0; color: #82938b; font-size: 10px; }

.price-section .section-lead { display: grid; grid-template-columns: 1fr .65fr; align-items: end; }
.price-section .section-lead .eyebrow { grid-column: 1/-1; }
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; align-items: stretch; margin-top: 58px; }
.plan { position: relative; padding: 38px 30px 30px; border: 1px solid var(--line); background: white; }
.plan.featured { border: 2px solid var(--green); }
.recommend { position: absolute; top: 0; right: 0; margin: 0; padding: 5px 13px; background: var(--green); color: white; font-size: 10px; font-weight: 700; }
.plan-label { margin: 0; color: var(--green); font: 700 10px var(--latin); letter-spacing: .15em; }
.plan h3 { margin: 10px 0 4px; font-family: var(--serif); font-size: 23px; }
.plan-for { min-height: 48px; margin: 0; color: var(--muted); font-size: 12px; }
.amount { padding: 25px 0 20px; border-bottom: 1px solid var(--line); }
.amount small { display: block; color: var(--muted); font-size: 10px; }
.amount strong { font: 700 42px/1 var(--latin); }
.amount span { font-size: 12px; font-weight: 700; }
.plan ul, .care-plan ul { margin: 22px 0; padding: 0; list-style: none; }
.plan li { padding: 7px 0 7px 22px; position: relative; font-size: 13px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan > a { display: block; padding: 12px; border: 1px solid var(--ink); text-align: center; text-decoration: none; font-size: 12px; font-weight: 700; }
.plan.featured > a { background: var(--green); border-color: var(--green); color: white; }
.care-plan { margin-top: 20px; padding: 38px 42px; display: grid; grid-template-columns: 1fr auto; column-gap: 42px; align-items: center; background: var(--mint); }
.care-plan .eyebrow { margin-bottom: 10px; }
.care-plan h3 { margin: 0; font-family: var(--serif); font-size: 25px; }
.care-plan > div > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.care-price { margin: 0; white-space: nowrap; }
.care-price strong { font: 700 40px var(--latin); }
.care-price small { margin-left: 5px; }
.care-plan ul { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 0; padding-top: 18px; border-top: 1px solid rgba(31,98,76,.2); }
.care-plan li { font-size: 12px; font-weight: 600; }
.care-plan li::before { content: "●"; color: var(--red); font-size: 7px; margin-right: 8px; vertical-align: 2px; }
.domain-note { margin: 17px 0 0; color: var(--muted); font-size: 11px; }

.flow-section { padding: 115px 0; background: var(--cream); }
.flow-list { margin: 48px 0 0; padding: 0; border-top: 1px solid #bfc8c1; list-style: none; }
.flow-list li { display: grid; grid-template-columns: 100px 1fr; gap: 25px; padding: 28px 0; border-bottom: 1px solid #bfc8c1; }
.flow-list li > b { color: var(--green); font: 600 18px var(--latin); }
.flow-list h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 20px; }
.flow-list p { margin: 0; color: var(--muted); font-size: 13px; }

.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 24px 44px 24px 0; position: relative; cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; }
summary::after { content: "+"; position: absolute; right: 8px; top: 18px; color: var(--green); font: 300 25px var(--latin); }
details[open] summary::after { content: "−"; }
details p { margin: -6px 44px 24px 0; color: var(--muted); font-size: 13px; }

.contact-section { padding: 115px 0; color: white; background: var(--green); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-copy h2 { margin: 0; font-size: clamp(34px,4vw,52px); line-height: 1.5; }
.contact-copy > p:not(.eyebrow) { color: #c8ddd4; }
.contact-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.contact-facts span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.3); font-size: 10px; }
.contact-form { padding: 38px; background: var(--paper); color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin-bottom: 17px; }
.contact-form label > span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; }
.contact-form label b { margin-left: 5px; color: var(--red); font-size: 9px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: white; padding: 12px; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.contact-form textarea { resize: vertical; }
.contact-form .consent { display: flex; align-items: flex-start; gap: 9px; }
.contact-form .consent input { width: 16px; margin-top: 4px; }
.contact-form .consent span { font-weight: 400; }
.contact-form .button { width: 100%; }
.website-field { position: absolute !important; left: -9999px !important; }
.form-status { margin: 12px 0 0; min-height: 1.5em; font-size: 12px; text-align: center; }

footer { padding: 52px max(4vw,24px); display: grid; grid-template-columns: 1fr auto auto; gap: 60px; background: var(--ink); color: white; }
.footer-brand .brand-mark { background: white; color: var(--green); }
footer > div > p { color: #9cacA5; font-size: 11px; }
.footer-links { display: grid; gap: 6px; }
.footer-links a, .operator a { color: #c3cec9; font-size: 11px; }
.operator a { display: block; }
.operator p { margin-top: 0; color: white; }
.operator small { display: block; margin-top: 18px; color: #7f9088; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: reveal-in .55s ease both; }
@keyframes reveal-in { from { opacity: .35; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .site-header { height: 68px; }
  .menu-button { display: block; padding: 10px; }
  .menu-button span { display: block; height: 2px; margin: 6px 0; background: var(--ink); }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 24px; background: var(--paper); border-bottom: 1px solid var(--line); align-items: stretch; flex-direction: column; gap: 0; }
  nav.is-open { display: flex; }
  nav a { padding: 12px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 65px 24px 52px; }
  .hero-stage { min-height: 580px; }
  .promise-strip { grid-template-columns: 1fr 1fr; }
  .promise-strip p:nth-child(2) { border-right: 0; }
  .fit-section, .faq-section { grid-template-columns: 1fr; gap: 45px; }
  .section-lead.light, .price-section .section-lead { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-for { min-height: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  footer { grid-template-columns: 1fr 1fr; }
  .operator { grid-column: 1/-1; }
}

@media (max-width: 600px) {
  .brand b { font-size: 16px; }
  h1 { font-size: 44px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .text-link { text-align: center; }
  .hero-price { gap: 0; }
  .hero-price div { padding-right: 15px; margin-right: 15px; }
  .hero-price strong { font-size: 26px; }
  .hero-stage { min-height: 430px; }
  .browser-main { width: 88%; left: 3%; }
  .browser-main img { height: 310px; }
  .browser-caption { padding: 50px 22px 20px; }
  .phone-preview { width: 120px; right: 3%; }
  .promise-strip { grid-template-columns: 1fr; }
  .promise-strip p { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .section-shell { width: min(100% - 34px, 1180px); }
  .fit-section, .price-section, .faq-section { padding-top: 82px; padding-bottom: 82px; }
  .fit-list { grid-template-columns: 1fr; }
  .fit-list article { min-height: 0; border-right: 0; }
  .works-section { padding: 82px 0; }
  .works-grid { grid-template-columns: 1fr; gap: 44px; }
  .care-plan { padding: 30px 24px; grid-template-columns: 1fr; }
  .care-price { margin-top: 20px; }
  .care-plan ul { grid-column: auto; display: grid; }
  .flow-section { padding: 82px 0; }
  .flow-list li { grid-template-columns: 55px 1fr; gap: 12px; }
  .contact-section { padding: 82px 0; }
  .contact-form { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  footer { grid-template-columns: 1fr; gap: 28px; }
  .operator { grid-column: auto; }
}
