:root {
    color-scheme: light;
    --ink: #202c38;
    --muted: #465963;
    --teal: #007d78;
    --teal-accent: #00a6a1;
    --teal-wash: #edf7f6;
    --line: #d8e6e2;
    --paper: #fff;
    --yellow: #ffdf58;
    --yellow-wash: #fff6c8;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.landing-document {
    --header-clearance: 96px;
    --cta-clearance: calc(76px + env(safe-area-inset-bottom, 0px));
    scroll-padding-block: var(--header-clearance) var(--cta-clearance);
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", Meiryo, system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: .015em;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
strong { font-weight: 600; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #007d78; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; top: 8px; left: 8px; padding: 12px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { background: white; border-bottom: 1px solid #e5efec; }
.landing-page { padding-bottom: var(--cta-clearance); }
.landing-page .site-header { position: sticky; top: 0; z-index: 10; }
.landing-page .skip-link { position: fixed; z-index: 20; }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 500; line-height: 1.35; }
.brand svg { flex: 0 0 38px; width: 38px; height: 38px; }
.header-inner nav, .header-actions, .hero-actions { display: flex; align-items: center; gap: 12px; }
.header-inner nav { gap: clamp(12px, 2vw, 27px); font-size: .85rem; font-weight: 500; white-space: nowrap; }
.header-inner nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 52px; padding: 10px 21px; border: 1px solid transparent;
    border-radius: 9px; font: inherit; font-size: .94rem; font-weight: 500; line-height: 1.45; text-align: center;
}
.header-actions .button { padding-inline: 14px; min-height: 44px; border-radius: 999px; white-space: nowrap; font-size: .81rem; }
.button-outline { border-color: #aac9c2; color: #16534e; }
.button-outline:hover { background: #eef7f4; }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-primary:hover { background: #ffe77d; }
.button-light { background: white; color: #16534e; border-color: #d4e5df; }
.button-light:hover { background: #eaf6f1; }
.hero {
    color: white;
    background:
        linear-gradient(90deg, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 64%) 42%, rgb(0 0 0 / 42%) 100%),
        #202624 url("/assets/img/landing-office-hero.webp") right 42% / cover no-repeat;
}
.hero-inner { min-height: 550px; padding-block: 49px; display: grid; grid-template-columns: 1fr 1.14fr; gap: 22px; align-items: center; }
.hero-service-bar {
    background: var(--teal); color: white; padding: 9px 18px; text-align: center;
    font-size: clamp(.72rem, 1.25vw, .9rem); font-weight: 500;
}
.eyebrow { color: var(--teal); font-size: .78rem; font-weight: 600; letter-spacing: .11em; }
.hero h1 { margin-top: 13px; font-size: clamp(1.95rem, 3.55vw, 3.25rem); line-height: 1.36; letter-spacing: .01em; }
.hero h1 span { color: #ffe375; }
.hero-copy { max-width: 34rem; margin-top: 22px; color: #effbf7; font-size: clamp(.95rem, 1.28vw, 1.08rem); line-height: 1.95; }
.hero-actions { margin-top: 27px; flex-wrap: wrap; }
.hero-actions .button { border-radius: 999px; }
.hero-figure { width: min(100%, 360px); min-width: 0; justify-self: end; align-self: end; }
.hero-figure img { display: block; width: 100%; height: auto; }
.hero-figure figcaption { margin-top: 2px; color: #e2f4ec; text-align: center; font-size: .75rem; }
.facts { background: var(--teal-wash); border-bottom: 1px solid #dfede8; }
.facts ul { list-style: none; padding: 23px 0; margin-block: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { display: flex; justify-content: center; align-items: baseline; gap: 9px; font-size: .9rem; font-weight: 600; }
.facts li + li { border-left: 1px solid #cbded8; }
.facts strong { color: var(--teal); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -.02em; }
.section { padding-block: clamp(55px, 8vw, 108px); }
.section-heading { text-align: center; margin-bottom: clamp(28px, 5vw, 52px); }
.section-heading h2, .access h2 { margin-top: 8px; font-size: clamp(1.55rem, 3.3vw, 2.6rem); line-height: 1.45; letter-spacing: .01em; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.feature-grid, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { border: 1px solid var(--line); border-radius: 17px; padding: 14px 14px 24px; }
.feature-art { height: 135px; border-radius: 10px; display: grid; place-items: center; }
.feature-art svg { width: 136px; height: 99px; }
.yellow { background: var(--yellow-wash); }
.mint { background: #e2f4f2; }
.cream { background: #f6faf9; }
.feature h3, .feature p { margin-inline: 9px; }
.feature h3, .steps h3 { margin-top: 17px; font-size: 1.12rem; line-height: 1.5; }
.feature p, .steps p { margin-top: 8px; color: var(--muted); font-size: .92rem; }
.challenges { padding-bottom: 0; }
.challenge-intro {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center; gap: clamp(20px, 5vw, 72px); margin-bottom: 28px;
}
.challenge-intro .section-heading { margin: 0; text-align: left; }
.challenge-intro h2 { text-wrap: balance; }
.team-illustration { display: block; width: 100%; height: auto; border-radius: 17px; }
.section-icon {
    display: block; width: 44px; height: 44px; padding: 10px; border-radius: 11px;
    color: var(--teal); background: #ddf2ef; fill: none; stroke: currentColor;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.challenge-grid .section-icon, .plan .section-icon { margin-bottom: 12px; }
.challenge-grid li:nth-child(2) .section-icon, .plan:nth-child(2) .section-icon { color: #615100; background: var(--yellow-wash); }
.challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.challenge-grid li { background: #f6faf9; border-left: 3px solid #5ec5bd; border-radius: 9px; padding: 21px; }
.challenge-grid h3 { font-size: 1.05rem; line-height: 1.5; }
.challenge-grid p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.sample { background: #f6faf9; }
.sample-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.sample-inner .section-heading { text-align: left; margin: 0; }
.sample-inner .section-heading h2 + p { margin-top: 16px; color: var(--muted); }
.sample-points { list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: .9rem; }
.sample-points li + li { margin-top: 7px; }
.sample-points strong { color: var(--teal); }
.sample-figure { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 17px; padding: 18px; }
.sample-figure svg { display: block; width: 100%; }
.sample-figure svg text { font-family: inherit; font-weight: 500; }
.sample-figure figcaption { color: var(--muted); font-size: .8rem; text-align: center; }
.flow {
    background:
        linear-gradient(rgb(241 249 245 / 62%), rgb(241 249 245 / 77%)),
        #eff7f4 url("/assets/img/landing-office-workflow.webp") center / cover no-repeat;
}
.steps { grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; }
.steps li { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step-marker { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.step-marker span { font-weight: 600; color: var(--teal); font-size: 1.8rem; line-height: 1; }
.steps h3 { margin-top: 9px; }
.faq { max-width: 820px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin-inline: auto; }
.plan {
    display: flex; flex-direction: column; align-items: flex-start;
    background: white; border: 1px solid var(--line); border-top: 5px solid var(--teal-accent);
    border-radius: 17px; padding: clamp(22px, 4vw, 34px);
    box-shadow: 0 8px 24px rgb(22 65 58 / 7%);
}
.plan + .plan { border-top-color: var(--yellow); }
.plan h3 { font-size: 1rem; }
.plan .plan-price { margin-top: 12px; color: var(--teal); font-size: clamp(1.15rem, 2.6vw, 1.65rem); font-weight: 600; }
.plan p + p { margin-top: 8px; margin-bottom: 20px; color: var(--muted); }
.plan .button { margin-top: auto; border-radius: 999px; }
.text-link { color: #16534e; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #0a3330; }
.inquiry-page { background: var(--teal-wash); }
.inquiry-main { max-width: 740px; }
.inquiry-main h1 { margin-top: 8px; font-size: clamp(1.5rem, 4.2vw, 2.6rem); line-height: 1.4; }
.inquiry-card { padding: clamp(20px, 4.5vw, 40px); background: white; border: 1px solid var(--line); border-radius: 17px; }
.inquiry-form { display: grid; gap: 8px; }
.inquiry-form label { font-weight: 600; }
.inquiry-form input, .inquiry-form textarea {
    width: 100%; min-height: 46px; margin-bottom: 13px; padding: 10px 12px;
    border: 1px solid #a9c6bd; border-radius: 7px; background: #fff; color: var(--ink); font: inherit;
}
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus-visible, .inquiry-form textarea:focus-visible, .inquiry-form button:focus-visible { outline: 3px solid #26786c; outline-offset: 2px; }
.inquiry-form button { justify-self: start; cursor: pointer; }
.inquiry-hint { font-size: .88rem; color: var(--muted); }
.inquiry-errors { padding: 12px 16px; background: #fff0ec; border-radius: 8px; color: #902b20; }
.inquiry-errors ul { margin: 0; padding-left: 1.2em; }
.inquiry-success .button { margin-top: 20px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 17px 10px; font-weight: 600; }
summary::marker { color: var(--teal); }
details p { color: var(--muted); padding: 0 10px 17px; }
.access { padding-bottom: 34px; }
.access-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.access-inner {
    background: #dff3f1;
    color: var(--ink);
    border: 1px solid #b5ded9;
    border-top: 5px solid var(--teal-accent);
    border-radius: 16px;
    padding: clamp(22px, 4vw, 44px);
}
.access .eyebrow { color: var(--teal); }
.access .hero-actions { margin: 0; }
.site-footer { padding-block: 23px; color: var(--muted); }
.fixed-cta {
    position: fixed; z-index: 10; inset: auto 0 0;
    padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 -5px 20px rgb(22 65 58 / 9%);
}
.fixed-cta-inner { display: flex; justify-content: center; gap: 12px; }
.fixed-cta .button { min-height: 48px; border-radius: 999px; }
@media (max-width: 950px) {
    .header-inner nav { display: none; }
    .hero-inner { min-height: 490px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .landing-document { --header-clearance: 68px; }
    .wrap { width: calc(100% - 36px); }
    .header-inner { display: grid; justify-content: stretch; gap: 10px; padding-block: 12px; }
    .landing-page .header-actions { display: none; }
    .brand svg { flex-basis: 32px; width: 32px; height: 32px; }
    .header-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .header-actions .button { padding-inline: 6px; }
    .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 39px 24px; gap: 22px; }
    .hero h1 { font-size: clamp(1.45rem, 7.1vw, 3rem); }
    .hero-copy { margin-top: 14px; }
    .hero-actions { display: grid; gap: 9px; margin-top: 19px; }
    .hero-actions .button { justify-content: space-between; }
    .hero {
        background-image: linear-gradient(rgb(0 0 0 / 73%), rgb(0 0 0 / 55%)), url("/assets/img/landing-office-hero.webp");
        background-position: 69% center;
    }
    .hero-figure { justify-self: center; }
    .challenge-intro { grid-template-columns: minmax(0, 1fr); }
    .facts ul { padding-block: 17px; }
    .facts li { flex-direction: column; align-items: center; gap: 4px; font-size: .73rem; }
    .feature-grid, .steps, .challenge-grid, .sample-inner, .plan-grid { grid-template-columns: minmax(0, 1fr); }
    .inquiry-form button { justify-self: stretch; }
    .access-inner, .footer-inner { display: grid; justify-content: stretch; }
    .footer-inner { gap: 4px; }
    .fixed-cta-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .fixed-cta .button { padding-inline: 6px; font-size: clamp(.73rem, 3.15vw, .88rem); gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
