:root {
    --ink: #18201f;
    --ink-soft: #34413e;
    --paper: #f3f0e8;
    --paper-deep: #e8e2d6;
    --white: #fffef9;
    --acid: #d5f35a;
    --coral: #ff765f;
    --aqua: #8de2d0;
    --line: rgba(24, 32, 31, 0.18);
    --site-max: 1920px;
    --shell: min(1180px, calc(100vw - 48px));
    --radius: 26px;
    --shadow: 0 30px 70px rgba(24, 32, 31, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #ddd8ce;
}

body {
    margin: 0;
    color: var(--ink);
    background: #ddd8ce;
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 50%;
    width: min(100%, var(--site-max));
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--acid) 0 33%, var(--coral) 33% 66%, var(--aqua) 66%);
    transform: translateX(-50%);
}

.site-header,
main,
.site-footer {
    width: 100%;
    max-width: var(--site-max);
    margin-inline: auto;
}

main {
    background: var(--paper);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-160%);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 15;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(243, 240, 232, 0.92);
    backdrop-filter: blur(16px);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 12px 30px rgba(24, 32, 31, 0.05);
}

.header-inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    overflow: hidden;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--ink);
    font-size: 19px;
    font-weight: 800;
}

.brand-mark i {
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--acid);
}

.brand-mark span {
    position: relative;
    z-index: 1;
    transform: translate(-4px, -2px);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    letter-spacing: 0.13em;
    font-size: 14px;
}

.brand-copy small {
    margin-top: 5px;
    color: #596461;
    font-size: 10px;
    letter-spacing: 0.05em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    font-weight: 650;
}

.site-nav > a:not(.nav-contact) {
    position: relative;
}

.site-nav > a:not(.nav-contact)::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-contact {
    padding: 10px 17px;
    border-radius: 999px;
    color: var(--white);
    background: var(--ink);
    transition: transform 160ms ease, background 160ms ease;
}

.nav-contact:hover {
    background: #2e3a37;
    transform: translateY(-2px);
}

.language-link {
    min-width: 44px;
    color: #596461;
    text-align: center;
}

.nav-toggle {
    display: none;
    border: 0;
    color: var(--ink);
    background: transparent;
}

.hero {
    overflow: hidden;
    padding-top: 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
    min-height: 650px;
    padding-bottom: 78px;
}

.eyebrow,
.section-index {
    margin: 0 0 22px;
    letter-spacing: 0.15em;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.legal-hero h1,
.not-found h1 {
    margin: 0;
    max-width: 800px;
    font-size: clamp(54px, 6.5vw, 94px);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

/* Keep Japanese display copy aligned to the phrase boundaries in the markup. */
html[lang="ja"] .hero h1,
html[lang="ja"] .page-hero h1,
html[lang="ja"] .section h2,
html[lang="ja"] .cta-panel h2,
html[lang="ja"] .legal-hero h1,
html[lang="ja"] .not-found h1 {
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: anywhere;
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-wrap: balance;
}

html[lang="ja"] .hero h1 {
    font-size: clamp(52px, 4.75vw, 68px);
}

html[lang="ja"] .page-hero h1 {
    font-size: clamp(50px, 5vw, 72px);
}

.hero-lead,
.page-hero-grid > p,
.section-lead,
.section-heading-row > p,
.belief-copy p,
.contact-form-panel p,
.legal-copy p {
    text-wrap: pretty;
}

/* Prefer natural Japanese phrase boundaries instead of splitting words mid-line. */
html[lang="ja"] p,
html[lang="ja"] li,
html[lang="ja"] dd {
    word-break: auto-phrase;
}

.hero h1::after {
    display: inline-block;
    width: 0.25em;
    height: 0.25em;
    margin-left: 0.09em;
    border-radius: 50%;
    content: "";
    background: var(--coral);
}

@media (min-width: 981px) {
    html[lang="ja"] .hero-grid {
        grid-template-columns: minmax(0, 1.16fr) minmax(380px, .84fr);
        gap: clamp(44px, 5vw, 72px);
    }

    html[lang="ja"] .page-hero-infra h1,
    html[lang="ja"] .page-hero-contact h1 {
        font-size: clamp(50px, 4.3vw, 62px);
    }
}

.hero-lead {
    max-width: 650px;
    margin: 32px 0 0;
    color: var(--ink-soft);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 38px;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 13px 21px 13px 26px;
    border: 1px solid var(--ink);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 750;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    box-shadow: 7px 7px 0 var(--coral);
    transform: translate(-3px, -3px);
}

.button-primary {
    color: var(--white);
    background: var(--ink);
}

.button-light {
    border-color: var(--white);
    color: var(--ink);
    background: var(--white);
}

.button-light:hover {
    box-shadow: 7px 7px 0 var(--acid);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--ink);
    font-size: 14px;
    font-weight: 750;
}

.signal-board {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 42px 8px 42px 8px;
    color: var(--white);
    background: var(--ink);
    box-shadow: var(--shadow);
}

.signal-board::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.13;
    background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
    background-size: 32px 32px;
}

.signal-topline,
.signal-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.12em;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
}

.signal-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.signal-live::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: "";
    background: var(--acid);
    box-shadow: 0 0 0 5px rgba(213, 243, 90, 0.13);
}

.signal-core {
    position: relative;
    height: 385px;
}

.orbit,
.core-dot,
.node {
    position: absolute;
}

.orbit {
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one {
    width: 250px;
    height: 250px;
}

.orbit-two {
    width: 150px;
    height: 150px;
    border-color: rgba(141, 226, 208, 0.42);
}

.core-dot {
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    border: 9px solid var(--ink);
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 0 50px rgba(255,118,95,.3);
    transform: translate(-50%, -50%);
}

.node {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 9px;
    letter-spacing: .08em;
    background: #25302e;
}

.node-a { top: 27px; left: calc(50% - 36px); }
.node-b { top: 230px; left: 23px; color: var(--ink); background: var(--acid); }
.node-c { top: 250px; right: 18px; color: var(--ink); background: var(--aqua); }

.signal-footer {
    gap: 12px;
}

.signal-footer span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.signal-footer i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--coral);
}

.hero-ticker {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--white);
    white-space: nowrap;
}

.hero-ticker div {
    width: max-content;
    padding: 15px 0;
    letter-spacing: .14em;
    font-size: 11px;
    font-weight: 750;
    animation: ticker 28s linear infinite;
}

.hero-ticker i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 32px;
    border-radius: 50%;
    background: var(--coral);
}

@keyframes ticker {
    from { transform: translateX(4vw); }
    to { transform: translateX(-30%); }
}

.section {
    padding: 120px 0;
}

.intro-grid,
.section-heading-row {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 80px;
}

.section h2,
.cta-panel h2 {
    margin: 0;
    font-size: clamp(38px, 4.5vw, 66px);
    font-weight: 620;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.section-lead,
.section-heading-row > p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1.12fr .94fr .94fr;
    gap: 16px;
    margin-top: 70px;
}

.service-card {
    display: flex;
    min-height: 430px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.service-card-dark {
    color: var(--white);
    background: var(--ink);
}

.service-card-accent {
    background: var(--acid);
}

.service-card-light {
    background: var(--white);
}

.card-number,
.plan-code {
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    letter-spacing: .12em;
}

.card-icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 55px 0 34px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 20px;
}

.service-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -.035em;
}

.service-card p {
    margin: 0 0 28px;
    opacity: .78;
}

.service-card a {
    margin-top: auto;
    font-size: 13px;
    font-weight: 750;
}

.approach-section {
    color: var(--white);
    background: var(--ink);
}

.approach-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 110px;
}

.approach-heading {
    align-self: start;
}

.approach-heading > p:last-child {
    max-width: 480px;
    color: #bec7c4;
    font-size: 18px;
}

.process-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 22px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,.2);
}

.process-list li:last-child {
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.process-list > li > span {
    color: var(--acid);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
}

.process-list h3 {
    margin: -8px 0 4px;
    font-size: 28px;
    font-weight: 600;
}

.process-list p {
    margin: 0;
    color: #bec7c4;
}

.section-heading-row > p {
    max-width: 500px;
}

.pattern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 70px;
    border: 1px solid var(--line);
    background: var(--line);
}

.pattern-grid article {
    min-height: 320px;
    padding: 32px;
    background: var(--paper);
}

.pattern-grid article:nth-child(2) {
    background: var(--white);
}

.pattern-grid span {
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    letter-spacing: .12em;
}

.pattern-grid h3 {
    margin: 120px 0 14px;
    font-size: 25px;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.pattern-grid p {
    margin: 0;
    color: var(--ink-soft);
}

.cta-section {
    padding: 0 0 120px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 64px;
    border-radius: 8px 54px 8px 54px;
    color: var(--ink);
    background: var(--coral);
}

.cta-panel .eyebrow {
    margin-bottom: 13px;
}

.cta-panel-home {
    align-items: center;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.cta-panel-home > div {
    width: 100%;
}

html[lang="ja"] .cta-panel-home h2.cta-copy-single {
    font-size: clamp(32px, 3.3vw, 50px);
    letter-spacing: -.055em;
    white-space: nowrap;
}

.cta-panel .button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.cta-panel-home .button {
    position: relative;
    min-width: 220px;
    min-height: 60px;
    justify-content: space-between;
    gap: 24px;
    padding: 11px 13px 11px 24px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    box-shadow: 7px 7px 0 var(--ink);
}

.cta-panel-home .button span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--ink);
    transition: transform 160ms ease;
}

.cta-panel-home .button:hover {
    box-shadow: 9px 9px 0 var(--acid);
}

.cta-panel-home .button:hover span {
    transform: translate(2px, -2px);
}

.site-footer {
    padding: 80px 0 28px;
    color: var(--white);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 70px;
}

.brand-footer .brand-mark {
    color: var(--ink);
    background: var(--white);
}

.brand-footer .brand-copy small,
.footer-grid > div:first-child > p {
    color: #aeb9b6;
}

.footer-grid > div:first-child > p {
    max-width: 360px;
    margin: 25px 0 0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-nav strong {
    margin-bottom: 10px;
    color: var(--acid);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-nav a {
    color: #cbd3d1;
    font-size: 14px;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.16);
    color: #8e9a97;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    letter-spacing: .06em;
}

.page-hero {
    padding: 110px 0 100px;
    border-bottom: 1px solid var(--line);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    align-items: end;
    gap: 80px;
}

.page-hero h1 {
    font-size: clamp(54px, 6vw, 86px);
}

.page-hero-grid > p {
    margin: 0 0 5px;
    color: var(--ink-soft);
    font-size: 18px;
}

.page-hero-services { background: var(--acid); }
.page-hero-infra { color: var(--white); background: #315a53; }
.page-hero-infra .page-hero-grid > p { color: #d4e2de; }
.page-hero-about { background: var(--aqua); }
.page-hero-contact { background: var(--coral); }

.detail-section {
    padding: 120px 0;
}

.detail-section-alt {
    background: var(--white);
}

.detail-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 100px;
}

.detail-sticky {
    position: sticky;
    top: 130px;
    align-self: start;
}

.detail-number {
    display: inline-grid;
    width: 58px;
    height: 58px;
    margin-bottom: 60px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
}

.detail-sticky h2 {
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 68px);
    letter-spacing: -.055em;
    line-height: 1;
}

html[lang="ja"] .detail-sticky h2 {
    font-size: clamp(40px, 4.1vw, 58px);
    line-height: 1.08;
}

.detail-sticky > p:last-child {
    color: var(--ink-soft);
    font-size: 18px;
}

.capability-list {
    border-top: 1px solid var(--line);
}

.capability-list article {
    padding: 35px 0;
    border-bottom: 1px solid var(--line);
}

.capability-list h3 {
    margin: 0 0 10px;
    font-size: 27px;
    letter-spacing: -.03em;
}

.capability-list p {
    margin: 0 0 18px;
    color: var(--ink-soft);
}

.capability-list span {
    color: #5d6865;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    letter-spacing: .09em;
}

.infrastructure-overview {
    background: var(--white);
}

.feature-strips {
    margin-top: 70px;
    border-top: 1px solid var(--line);
}

.feature-strips article {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 25px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.feature-strips > article > span,
.principles-grid > article > span {
    color: #59635f;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
}

.feature-strips h3 {
    margin: -5px 0 7px;
    font-size: 27px;
    letter-spacing: -.03em;
}

.feature-strips p {
    max-width: 650px;
    margin: 0;
    color: var(--ink-soft);
}

.plan-section {
    background: var(--paper-deep);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 65px;
}

.plan-grid article {
    min-height: 430px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.plan-grid .plan-featured {
    color: var(--white);
    background: #315a53;
    transform: translateY(-18px);
}

.plan-grid h3 {
    margin: 85px 0 12px;
    font-size: 34px;
    letter-spacing: -.04em;
}

.plan-grid p {
    min-height: 82px;
    color: inherit;
    opacity: .78;
}

.plan-grid ul {
    margin: 28px 0 0;
    padding: 0;
    border-top: 1px solid currentColor;
    list-style: none;
}

.plan-grid li {
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
}

.belief-grid,
.company-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 110px;
}

.belief-copy p {
    margin: 0 0 30px;
    font-size: 20px;
    line-height: 1.8;
}

.principles-section {
    background: var(--ink);
    color: var(--white);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 55px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.2);
}

.principles-grid article {
    min-height: 260px;
    padding: 34px;
    background: var(--ink);
}

.principles-grid > article > span { color: var(--acid); }
.principles-grid h3 { margin: 75px 0 9px; font-size: 26px; }
.principles-grid p { margin: 0; color: #bac4c1; }

.company-section {
    background: var(--white);
}

.company-list {
    margin: 0;
    border-top: 1px solid var(--line);
}

.company-list > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.company-list dt {
    color: #68736f;
    font-size: 13px;
}

.company-list dd {
    margin: 0;
    font-weight: 600;
}

.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 90px;
    align-items: start;
}

.contact-prompt h2 {
    max-width: 650px;
}

.prompt-list {
    margin: 55px 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.prompt-list li {
    display: grid;
    grid-template-columns: 42px 1fr;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}

.prompt-list span {
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
}

.contact-form-panel {
    min-width: 0;
    padding: 46px;
    border-radius: 8px 44px 8px 44px;
    color: var(--white);
    background: var(--ink);
}

.contact-form-panel h2 {
    margin: 0 0 20px;
    font-size: clamp(31px, 3vw, 40px);
    letter-spacing: -.04em;
    line-height: 1.15;
}

.contact-form-intro {
    margin: 0;
    color: #c0cac7;
}

.contact-form {
    margin-top: 32px;
}

.contact-form fieldset {
    display: grid;
    gap: 20px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.contact-form fieldset[disabled] {
    opacity: .62;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.form-field > span {
    color: #d9e0de;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .035em;
}

.form-field em,
.form-field small {
    margin-left: 5px;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.form-field em {
    color: var(--acid);
}

.form-field small {
    color: #91a09c;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 5px;
    outline: 0;
    color: var(--white);
    background: rgba(255, 255, 255, .065);
    caret-color: var(--acid);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.form-field input,
.form-field select {
    min-height: 52px;
}

.form-field textarea {
    min-height: 170px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8f9b98;
}

.form-field select option {
    color: var(--ink);
    background: var(--white);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
    border-color: var(--acid);
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 0 0 3px rgba(213, 243, 90, .16);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #cbd4d1;
    font-size: 12px;
    line-height: 1.65;
}

.form-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--acid);
}

.form-consent a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .45);
    text-underline-offset: 3px;
}

.form-turnstile {
    width: 100%;
    min-height: 65px;
    overflow: hidden;
}

.form-notice {
    margin: 24px 0 0;
    padding: 16px 18px;
    border: 1px solid rgba(213, 243, 90, .28);
    border-radius: 5px;
    color: #e9eeec;
    background: rgba(213, 243, 90, .08);
    font-size: 13px;
}

.form-notice strong {
    display: block;
    color: var(--white);
}

.form-notice p,
.form-notice ul {
    margin: 4px 0 0;
}

.form-notice ul {
    padding-left: 19px;
}

.form-notice-error {
    border-color: rgba(255, 118, 95, .45);
    background: rgba(255, 118, 95, .1);
}

.form-notice-success {
    border-color: rgba(141, 226, 208, .42);
    background: rgba(141, 226, 208, .1);
}

.form-submit {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 13px 19px 13px 22px;
    border: 1px solid var(--acid);
    border-radius: 5px;
    color: var(--ink);
    background: var(--acid);
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease;
}

.form-submit:not(:disabled):hover {
    background: #e2ff70;
    transform: translateY(-2px);
}

.form-submit:focus-visible {
    outline: 3px solid rgba(213, 243, 90, .3);
    outline-offset: 3px;
}

.form-submit:disabled {
    color: #78817f;
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
    cursor: not-allowed;
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.legal-hero {
    padding: 105px 0 80px;
    color: var(--white);
    background: var(--ink);
}

.legal-hero h1 {
    font-size: clamp(52px, 6vw, 82px);
}

.legal-hero > .shell > p:last-child {
    margin: 24px 0 0;
    color: #aeb9b6;
}

.legal-section {
    padding: 100px 0 130px;
    background: var(--white);
}

.legal-grid {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 90px;
}

.legal-grid aside {
    position: sticky;
    top: 120px;
    display: flex;
    align-self: start;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.legal-grid aside p {
    margin: 0 0 10px;
    font-weight: 750;
}

.legal-grid aside a {
    color: #68736f;
}

.legal-copy {
    max-width: 760px;
}

.legal-copy section {
    position: relative;
    padding: 0 0 48px 54px;
}

.legal-copy section > span {
    position: absolute;
    top: 7px;
    left: 0;
    color: #5f6966;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
}

.legal-copy h2 {
    margin: 0 0 16px;
    font-size: 29px;
    letter-spacing: -.03em;
}

.legal-copy p {
    margin: 0;
    color: var(--ink-soft);
}

.not-found {
    min-height: 620px;
    padding: 110px 0;
    text-align: center;
}

.not-found .shell {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.error-code {
    margin: 0;
    color: var(--coral);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 20px;
}

.not-found h1 {
    max-width: 850px;
    margin-top: 24px;
    font-size: clamp(45px, 6vw, 80px);
}

.not-found p:not(.error-code) {
    margin: 25px 0 35px;
    color: var(--ink-soft);
}

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

@media (max-width: 980px) {
    :root { --shell: min(100% - 36px, 760px); }
    .nav-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 700; }
    .nav-toggle i,
    .nav-toggle i::before { display: block; width: 22px; height: 2px; content: ""; background: var(--ink); transition: transform 180ms ease; }
    .nav-toggle i { position: relative; }
    .nav-toggle i::before { position: absolute; top: 7px; }
    .nav-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
    .nav-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(90deg); }
    .site-nav { position: absolute; top: 88px; right: 0; left: 0; display: none; align-items: stretch; padding: 24px max(18px, calc((100vw - 760px) / 2)); border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 20px 30px rgba(24,32,31,.08); flex-direction: column; gap: 16px; }
    .site-nav.is-open { display: flex; }
    .site-nav > a { padding: 7px 0; }
    .site-nav .nav-contact { padding: 12px 18px; text-align: center; }
    .site-nav > a::after { display: none; }
    .hero { padding-top: 50px; }
    .hero-grid { grid-template-columns: 1fr; gap: 55px; min-height: 0; }
    .signal-board { width: min(100%, 560px); margin-inline: auto; }
    .intro-grid, .section-heading-row, .page-hero-grid, .detail-grid, .approach-grid, .belief-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 340px; }
    .card-icon { margin-top: 35px; }
    .pattern-grid, .plan-grid { grid-template-columns: 1fr; }
    .pattern-grid article { min-height: 270px; }
    .pattern-grid h3 { margin-top: 80px; }
    .plan-grid .plan-featured { transform: none; }
    .detail-sticky, .legal-grid aside { position: static; }
    .detail-number { margin-bottom: 28px; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 35px; }
    .legal-grid { grid-template-columns: 1fr; gap: 45px; }
    .legal-grid aside { display: none; }
}

@media (max-width: 680px) {
    :root { --shell: calc(100% - 30px); --radius: 20px; }
    body { font-size: 15px; }
    .header-inner { min-height: 76px; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-copy small { display: none; }
    .site-nav { top: 76px; padding-inline: 15px; }
    .hero { padding-top: 35px; }
    .hero-grid { padding-bottom: 48px; }
    .hero h1, .page-hero h1 { font-size: clamp(46px, 14vw, 66px); }
    .page-hero-contact h1 { font-size: clamp(42px, 12vw, 48px); }
    html[lang="ja"] .hero h1, html[lang="ja"] .page-hero h1 { font-size: clamp(42px, 12vw, 52px); }
    .hero-lead { margin-top: 25px; font-size: 17px; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
    .button { width: 100%; }
    .hero-actions .text-link { align-self: flex-start; }
    .signal-board { min-height: 400px; padding: 18px; border-radius: 28px 6px 28px 6px; }
    .signal-core { height: 295px; }
    .orbit-one { width: 205px; height: 205px; }
    .orbit-two { width: 120px; height: 120px; }
    .node { width: 58px; height: 58px; }
    .node-a { top: 20px; left: calc(50% - 29px); }
    .node-b { top: 190px; left: 6px; }
    .node-c { top: 205px; right: 5px; }
    .signal-footer span:nth-child(2) { display: none; }
    .section { padding: 82px 0; }
    .section h2, .cta-panel h2 { font-size: clamp(36px, 11vw, 52px); }
    .service-grid, .pattern-grid { margin-top: 45px; }
    .service-card { min-height: 330px; padding: 25px; }
    .approach-grid { gap: 28px; }
    .process-list li { grid-template-columns: 36px 1fr; gap: 12px; }
    .process-list h3 { font-size: 24px; }
    .pattern-grid h3 { margin-top: 55px; }
    .cta-section { padding-bottom: 82px; }
    .cta-panel { align-items: stretch; padding: 38px 25px; border-radius: 6px 32px 6px 32px; flex-direction: column; }
    .cta-panel-home { align-items: center; padding-inline: 16px; }
    html[lang="ja"] .cta-panel-home h2.cta-copy-single { font-size: clamp(12px, 4.7vw, 29px); letter-spacing: -.08em; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { gap: 12px; flex-direction: column; }
    .page-hero { padding: 75px 0 70px; }
    .detail-section { padding: 82px 0; }
    .detail-sticky h2 { font-size: 46px; }
    .capability-list h3 { font-size: 24px; }
    .feature-strips article { grid-template-columns: 42px 1fr; gap: 10px; }
    .feature-strips h3 { font-size: 23px; }
    .plan-grid h3 { margin-top: 55px; }
    .principles-grid { grid-template-columns: 1fr; }
    .principles-grid article { min-height: 230px; }
    .company-list > div { grid-template-columns: 1fr; gap: 5px; }
    .contact-form-panel { padding: 34px 25px; }
    .form-row { grid-template-columns: 1fr; }
    .legal-hero { padding: 75px 0 60px; }
    .legal-section { padding: 75px 0 90px; }
    .legal-copy section { padding-left: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
