@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@500;600;700&display=swap");

/*
  Well Planners shared styles
  Layout, colors, and reusable parts are kept here so page-specific HTML stays simple.
*/
:root {
  --ink: #123d38;
  --ink-soft: #41615c;
  --paper: #fffdfa;
  --canvas: #f3f7f4;
  --mist: #e9f2ed;
  --line: #cfe0d7;
  --green: #0c695f;
  --green-deep: #073f3a;
  --coral: #d97053;
  --coral-deep: #b84e35;
  --gold: #d3a14d;
  --shadow: 0 18px 44px rgba(10, 69, 61, .12);
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .025em; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(211, 161, 77, .85); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); letter-spacing: .04em; line-height: 1.45; }
h1 { margin-bottom: 22px; font-size: clamp(38px, 5.2vw, 66px); }
h2 { margin-bottom: 20px; font-size: clamp(28px, 3.4vw, 43px); }
h3 { line-height: 1.55; }
p { margin-bottom: 20px; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.narrow { max-width: 830px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 15px; transform: translateY(-180%); border-radius: 7px; background: var(--green-deep); color: #fff; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

/* Header and navigation */
.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(207, 224, 215, .8); background: rgba(255, 253, 250, .93); backdrop-filter: blur(12px); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(7, 63, 58, .08); }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green-deep); font-size: 19px; font-weight: 700; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px 10px 10px 2px; background: var(--green); box-shadow: 5px 5px 0 var(--gold); color: #fff; font-family: var(--serif); font-size: 19px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 14px; font-weight: 700; }
.site-nav > a:not(.button) { padding: 9px 8px; color: var(--ink); text-decoration: none; }
.site-nav > a:not(.button)[aria-current="page"], .site-nav > a:not(.button):hover { color: var(--green); }
.menu-button { display: none; padding: 8px; border: 0; background: transparent; color: var(--green-deep); font-size: 23px; cursor: pointer; }

/* Buttons and common labels */
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); box-shadow: 0 8px 18px rgba(7, 63, 58, .16); color: #fff; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { background: var(--green-deep); box-shadow: 0 12px 24px rgba(7, 63, 58, .21); color: #fff; transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.button-outline { background: transparent; box-shadow: none; color: var(--green); }
.button-outline:hover { background: var(--green); color: #fff; }
.button-light { border-color: #fff; background: #fff; color: var(--green-deep); }
.button-light:hover { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.text-link { color: var(--green); font-size: 15px; font-weight: 700; }
.eyebrow { margin-bottom: 12px; color: var(--coral-deep); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

/* Home */
.hero { padding: clamp(60px, 8vw, 104px) 0 clamp(56px, 7vw, 92px); border-bottom: 1px solid var(--line); background: var(--canvas); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .95fr); align-items: center; gap: clamp(36px, 6vw, 80px); }
.hero-for { display: inline-block; margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--coral); color: var(--green-deep); font-size: 15px; font-weight: 700; line-height: 1.6; }
.hero h1 { margin-bottom: 22px; font-size: clamp(36px, 4.8vw, 58px); }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 620px; color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 18px); }
.hero-facts { max-width: 620px; margin: 30px 0 0; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.hero-facts dt { color: var(--green); font-weight: 700; }
.hero-facts dd { margin: 0; color: var(--ink-soft); }
.section, .content-section { padding: clamp(64px, 9vw, 116px) 0; }
.section-tint { background: var(--canvas); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 35px; }
.section-heading h2 { margin-bottom: 0; }
.card-grid { display: grid; gap: 22px; }
.two-up { grid-template-columns: repeat(2, 1fr); }
.time-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.time-list li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; font-size: 14px; color: var(--ink-soft); }
.time-list strong { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .two-up { grid-template-columns: 1fr; } .time-list li { grid-template-columns: 84px 1fr; } }
.service-card { min-height: 100%; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 23px rgba(7, 63, 58, .05); transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card h2, .service-card h3 { margin: 20px 0 12px; font-family: var(--sans); font-size: 21px; font-weight: 700; }
.service-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }
.card-number { color: var(--coral-deep); font-family: var(--serif); font-size: 18px; font-weight: 700; }
.cta-section { position: relative; overflow: hidden; background: var(--green-deep); color: #fff; text-align: center; }
.cta-section h2, .cta-section .eyebrow { color: #fff; }
.cta-section .eyebrow { color: #f3cc82; }
.cta-section p:not(.eyebrow) { max-width: 650px; margin-right: auto; margin-left: auto; color: #d9ece4; }
.cta-inner { position: relative; z-index: 1; max-width: 780px; }
.social-links { display: flex; flex-wrap: wrap; gap: 9px 17px; margin: 20px 0 0; }
.social-links a { color: var(--green); font-size: 14px; font-weight: 700; }

/* Lower pages and structured content */
.page-hero { padding: clamp(70px, 9vw, 112px) 0 clamp(48px, 7vw, 78px); background: linear-gradient(115deg, #f2f8f3, #fff8f2); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 730px; margin-bottom: 0; color: var(--ink-soft); font-size: 18px; }
.content-section p, .content-section li { color: var(--ink-soft); }
.content-section li { margin-bottom: 8px; }
.note-box { margin-top: 54px; padding: 28px 30px; border-left: 5px solid var(--coral); border-radius: 0 15px 15px 0; background: #fff2ea; }
.note-box p:last-child { margin-bottom: 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 23px rgba(7, 63, 58, .05); }
.price-card h2 { margin-bottom: 12px; font-size: 28px; }
.price-card .price { color: var(--green); font-family: var(--serif); font-size: 20px; font-weight: 700; }
.price-card .button { align-self: start; margin-top: auto; }
.price-list { margin: 18px 0 26px; padding-left: 1.15em; }
.space-top { margin-top: 54px; }
.space-top-sm { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 52px 22px 0; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 18px; right: 8px; color: var(--coral-deep); content: "+"; font-size: 28px; font-weight: 400; }
.faq-list details[open] summary { color: var(--green); }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { max-width: 800px; padding: 0 0 24px; }
.faq-answer p:last-child { margin-bottom: 0; }
.profile-layout { display: grid; grid-template-columns: minmax(210px, .55fr) 1fr; align-items: center; gap: clamp(35px, 7vw, 78px); margin-bottom: 70px; }
.profile-photo { margin: 0; }.profile-photo img { display: block; width: 100%; max-width: 320px; border-radius: 30px 90px 30px 30px; box-shadow: var(--shadow); }
.profile-name { margin-bottom: 8px; font-size: clamp(31px, 3.6vw, 45px); }.profile-role { color: var(--green); font-weight: 700; }
.tag-list, .check-list { margin: 18px 0 0; padding: 0; list-style: none; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }.tag-list li { margin: 0; padding: 3px 10px; border: 1px solid #aac3b4; border-radius: 999px; color: var(--green-deep); font-size: 13px; }
.check-list { display: grid; gap: 9px; }.check-list li { color: var(--ink); }.check-list li::before { margin-right: 8px; color: var(--green); content: "✓"; font-weight: 700; }
.timeline { margin: 42px 0; padding-left: 0; border-left: 1px solid var(--line); list-style: none; }.timeline li { position: relative; padding: 0 0 32px 32px; }.timeline li::before { position: absolute; top: 10px; left: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--coral); content: ""; }.timeline h3 { margin-bottom: 8px; font-size: 17px; }.timeline p { margin-bottom: 0; }
.flow-list { display: grid; margin: 42px 0; }.flow-step { display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 29px 0; border-top: 1px solid var(--line); }.flow-step:last-child { border-bottom: 1px solid var(--line); }.flow-step-number { color: var(--coral-deep); font-family: var(--serif); font-size: 26px; font-weight: 700; }.flow-step h2 { margin-bottom: 10px; font-size: 27px; }.flow-step p:last-child { margin-bottom: 0; }
.contact-points { display: grid; gap: 8px; margin: 28px 0; }.contact-points div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 12px 16px; border-radius: 10px; background: var(--canvas); }.contact-points strong { color: var(--green); font-size: 13px; line-height: 1.7; }.contact-points span { font-size: 14px; line-height: 1.7; }
.privacy-content h2 { margin-top: 56px; }.privacy-content h3 { font-family: var(--sans); font-size: 18px; }.policy-date { margin-top: 48px; }.thanks-heading { font-size: clamp(36px, 5vw, 58px); }

/* Accessible contact form */
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9%; align-items: start; }.contact-intro h2 { font-size: clamp(29px, 3.8vw, 42px); }.contact-intro p { color: var(--ink-soft); }
.contact-form { padding: clamp(25px, 4vw, 46px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }.form-group { margin-bottom: 23px; }.form-group label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }.required { margin-left: 5px; color: #a8362c; font-size: 12px; }.form-control { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #a7c2b3; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }.form-control:focus { border-color: var(--green); outline: 3px solid rgba(12, 105, 95, .16); }.form-control.textarea { min-height: 160px; resize: vertical; }.form-note { color: var(--ink-soft); font-size: 13px; line-height: 1.75; }.form-status { min-height: 1.9em; margin: 18px 0 0; color: var(--green-deep); font-size: 14px; font-weight: 700; }.form-status.is-error { color: #a8362c; }.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Home and service building blocks */
[id] { scroll-margin-top: 96px; }
.need-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.need-list li { position: relative; margin: 0; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.need-list li::before { position: absolute; top: 16px; left: 2px; color: var(--coral-deep); content: "✓"; font-weight: 700; }
.entry-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.entry-card { display: flex; flex-direction: column; padding: clamp(26px, 3.5vw, 38px); border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.entry-card.is-main { grid-row: span 2; border: 2px solid var(--green); }
.entry-tag { align-self: start; display: inline-block; margin-bottom: 14px; padding: 2px 10px; border-radius: 999px; background: var(--mist); color: var(--green-deep); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.is-main .entry-tag, .entry-tag.is-main { background: var(--green); color: #fff; }
.entry-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); }
.entry-card p, .entry-card li { color: var(--ink-soft); }
.entry-card ul { margin: 0 0 24px; padding-left: 1.15em; }
.entry-card .button-row { margin-top: auto; }
.step-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step-list li { margin: 0; padding: 18px 16px; border-top: 3px solid var(--green); background: #fff; counter-increment: step; }
.step-list li::before { display: block; margin-bottom: 6px; color: var(--coral-deep); content: "0" counter(step); font-family: var(--serif); font-weight: 700; }
.step-list strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.6; }
.step-list span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.profile-strip { display: grid; grid-template-columns: 150px 1fr; gap: clamp(22px, 4vw, 44px); align-items: center; }
.profile-strip img { display: block; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: top; }
.profile-strip h2 { margin-bottom: 4px; font-size: clamp(24px, 2.6vw, 32px); }
.profile-strip .tag-list { margin: 10px 0 16px; }
.profile-strip p { color: var(--ink-soft); }
.page-toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.page-toc a { padding: 6px 14px; border: 1px solid #aac3b4; border-radius: 999px; background: #fff; color: var(--green-deep); font-size: 14px; font-weight: 700; text-decoration: none; }
.page-toc a:hover { border-color: var(--green); color: var(--green); }
.scope-table { width: 100%; margin: 18px 0 30px; border-collapse: collapse; border-top: 1px solid var(--line); font-size: 15px; }
.scope-table th, .scope-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.scope-table th { width: 32%; color: var(--ink); font-weight: 700; }
.scope-table td { color: var(--ink-soft); }
.content-section h3 { margin: 34px 0 10px; font-size: 19px; }

/* Self-made sample materials (home hero and portfolio) */
.sample { margin: 0; }
.sample-label { display: inline-block; margin-bottom: 10px; padding: 2px 10px; border: 1px solid var(--coral-deep); border-radius: 999px; color: var(--coral-deep); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.slide { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; aspect-ratio: 16 / 9; padding: clamp(16px, 2.2vw, 26px); border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); color: var(--ink); line-height: 1.6; }
.slide .slide-title { margin: 0; padding-bottom: 8px; border-bottom: 3px solid var(--green); font-family: var(--sans); font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; letter-spacing: .02em; }
.slide .slide-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.slide .slide-cols li { margin: 0; padding: 10px 11px; border-top: 4px solid var(--green); border-radius: 4px; background: var(--canvas); color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.slide .slide-cols li:nth-child(2) { border-top-color: var(--coral); }
.slide .slide-cols li:nth-child(3) { border-top-color: var(--gold); }
.slide .slide-cols strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 14px; }
.slide .slide-note { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.slide .slide-text { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.75; }
.sample figcaption { margin-bottom: 10px; color: var(--green-deep); font-size: 15px; font-weight: 700; }
.slide.slide-before { aspect-ratio: auto; grid-template-rows: auto auto; gap: 8px; background: #fbfbf9; box-shadow: none; }
.slide-before .slide-title { border-bottom-color: var(--line); font-size: 14px; }
.slide-before .slide-text { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ba-arrow { margin: 10px 0; color: var(--coral-deep); font-size: 14px; font-weight: 700; text-align: center; }
.sample-note { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.before-after .slide { box-shadow: none; }
.ba-label { margin-bottom: 8px; color: var(--green-deep); font-size: 14px; font-weight: 700; }
.worksheet { max-width: 640px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.worksheet .worksheet-title { margin: 0 0 4px; font-size: 18px; }
.worksheet ol { margin: 16px 0 0; padding-left: 1.4em; }
.worksheet li { margin-bottom: 16px; color: var(--ink); }
.write-line { display: block; height: 32px; border-bottom: 1px dashed #9fb9ab; }

/* Footer */
.site-footer { padding: 61px 0 24px; background: var(--green-deep); color: #e7f0eb; }.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; padding-bottom: 44px; }.footer-brand { color: #fff; }.footer-brand .brand-mark { background: var(--coral); box-shadow: 5px 5px 0 var(--gold); }.footer-tagline { max-width: 390px; margin: 15px 0 0 42px; color: #c9ddd4; font-size: 14px; }.footer-links { display: grid; grid-template-columns: repeat(2, max-content); align-content: start; justify-content: end; gap: 10px 42px; font-size: 14px; }.footer-links a { color: #e7f0eb; text-decoration: none; }.footer-links a:hover { color: #f4c67b; }.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); color: #bdd4ca; font-size: 13px; }.footer-bottom .social-links { margin: 0; }.footer-bottom a, .site-footer .social-links a { color: #fff; }

@media (max-width: 960px) { .step-list { grid-template-columns: repeat(3, 1fr); } .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .site-nav { gap: 2px; }.site-nav > a:not(.button) { padding-right: 5px; padding-left: 5px; font-size: 12px; } }
@media (max-width: 780px) {
  body { font-size: 16px; }.container { width: min(100% - 36px, 620px); }.header-inner { min-height: 66px; }.brand { font-size: 17px; }.brand-mark { width: 28px; height: 28px; font-size: 17px; }.menu-button { display: block; }
  .site-nav { position: absolute; top: 66px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 18px 20px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 15px 24px rgba(7, 63, 58, .1); }.site-nav.is-open { display: flex; }.site-nav > a:not(.button) { padding: 11px 0; font-size: 15px; }.site-nav .button { margin-top: 10px; }
  .hero { padding-top: 48px; }
  .hero-grid, .contact-layout, .profile-layout, .entry-grid, .before-after, .need-list { grid-template-columns: 1fr; }
  .two-up, .price-grid, .step-list { grid-template-columns: 1fr; }
  .hero-facts div { grid-template-columns: 72px 1fr; }
  .slide { aspect-ratio: auto; }
  .entry-card.is-main { grid-row: auto; }
  .profile-strip { grid-template-columns: 1fr; }
  .profile-strip img { width: 112px; height: 112px; }
  .scope-table th, .scope-table td { display: block; width: auto; padding-right: 0; }
  .scope-table th { padding-bottom: 0; border-bottom: 0; }
  .section-heading { align-items: start; flex-direction: column; }.service-card { padding: 26px; }.flow-step { grid-template-columns: 1fr; gap: 3px; }.footer-grid { grid-template-columns: 1fr; }.footer-links { justify-content: start; }.footer-bottom { flex-direction: column; }.footer-tagline { margin-left: 0; }
}
@media (max-width: 520px) { .slide .slide-cols { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.button, .service-card { transition: none; }.button:hover, .service-card:hover { transform: none; } }
