/* Site styles extracted from index.html. Keep cascade order intact to preserve the current design. */
:root {
    --ink: #202721;
    --muted: #677067;
    --paper: #ffffff;
    --soft: #f7f5ef;
    --warm: #fbfaf6;
    --line: #d9d4c8;
    --line-strong: #c8c0b1;
    --green: #244938;
    --green-dark: #1a3429;
    --blue: #385f70;
    --gold: #b8892f;
    --red: #b85445;
    --shadow: 0 12px 30px rgba(34, 40, 34, 0.08);
    --radius: 8px;
    --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-button {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--green);
    background: #fff;
    cursor: pointer;
}

.mobile-nav {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 800;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    color: inherit;
}

.btn-primary {
    color: #fff;
    background: var(--green);
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-secondary {
    color: var(--green);
    background: #fff;
    border-color: var(--line-strong);
}

.btn-secondary:hover {
    border-color: var(--green);
    background: var(--warm);
}

.hero {
    min-height: 560px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.hero .container {
    position: relative;
    min-height: 560px;
    display: grid;
    align-items: center;
}

.hero .container::after {
    content: "";
    position: absolute;
    right: 0;
    top: 76px;
    width: min(43vw, 500px);
    aspect-ratio: 92 / 70;
    border-radius: var(--radius);
    background: #fff url("consultation-illustration.svg") center / cover no-repeat;
    box-shadow: 0 22px 52px rgba(34, 40, 34, 0.13);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 610px;
    padding: 64px 0 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 800;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--gold);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 600px;
    margin-bottom: 22px;
    font-size: clamp(2.2rem, 4.2vw, 3.55rem);
    line-height: 1.2;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 560px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.04rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 610px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fact {
    min-height: 76px;
    padding: 14px 15px;
    border-right: 1px solid var(--line);
}

.fact:last-child {
    border-right: 0;
}

.fact strong {
    display: block;
    font-size: 1rem;
    line-height: 1.45;
}

.fact span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

section {
    padding: 86px 0;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 38px;
}

.section-label {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 800;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.35;
    letter-spacing: 0;
}

.section-head p {
    margin-bottom: 0;
    color: var(--muted);
}

.consult-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 8px;
    min-height: 170px;
    padding: 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.icon {
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-bottom: 0;
    border: 1px solid #cbd8d0;
    border-radius: 50%;
    color: var(--green);
    background: #f3f7f4;
}

.card h3 {
    grid-column: 2;
    margin-bottom: 8px;
    font-size: 1.12rem;
    line-height: 1.45;
}

.card p {
    grid-column: 2;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.soft-section {
    background: var(--soft);
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    background: #fff;
}

.reason {
    min-height: 235px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
}

.reason:last-child {
    border-right: 0;
}

.reason-number {
    color: var(--gold);
    font-weight: 800;
}

.flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}

.flow-step {
    position: relative;
    padding: 22px 18px 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.flow-step:last-child {
    border-right: 0;
}

.flow-step span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.flow-step h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.flow-step p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

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

.voice {
    position: relative;
    padding: 24px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.voice p {
    margin-bottom: 0;
    color: var(--muted);
}

.profile-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 54px;
    align-items: center;
}

.profile-visual {
    min-height: 360px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2)),
        var(--soft);
    box-shadow: none;
}

.profile-card {
    width: 80%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
}

.avatar {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    font-size: 2.2rem;
    font-weight: 800;
}

.profile-photo {
    object-fit: cover;
    object-position: center top;
}

.profile-title {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.profile-name {
    display: block;
    margin-top: 4px;
    font-size: 1.45rem;
    font-weight: 800;
}

.profile-text p {
    color: var(--muted);
}

.profile-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.profile-meta div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.profile-meta strong {
    display: block;
    font-size: 0.92rem;
}

.profile-meta span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

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

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 24px 20px;
}

.faq-item h3 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.contact {
    background: var(--green-dark);
    color: #fff;
}

.contact .section-label,
.contact h2 {
    color: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: 44px;
    align-items: center;
}

.contact-lead {
    color: rgba(255, 255, 255, 0.82);
}

.contact-methods {
    display: grid;
    gap: 12px;
}

.contact-method {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.contact-method span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
}

.contact-method strong {
    display: block;
    margin-top: 2px;
    font-size: 1.08rem;
}

.notice {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #fff;
    font-size: 0.82rem;
    line-height: 1.7;
}

.notice p {
    margin: 0;
}

footer {
    padding: 34px 0;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-company {
    color: #fff;
    font-weight: 800;
}

@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .menu-button {
        display: grid;
    }

    .mobile-nav {
        position: fixed;
        inset: 68px 0 auto;
        display: grid;
        gap: 4px;
        padding: 18px 24px 24px;
        border-bottom: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.98);
        transform: translateY(-120%);
        transition: transform 0.2s ease;
        z-index: 25;
    }

    .mobile-nav.open {
        transform: translateY(0);
    }

    .mobile-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid var(--line);
        font-weight: 800;
    }

    .hero {
        min-height: auto;
    }

    .hero .container {
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero .container::after {
        position: relative;
        inset: auto;
        width: min(100%, 520px);
        margin: 0;
        order: 2;
    }

    .hero-content {
        padding: 64px 0 34px;
    }

    .section-head,
    .profile-layout,
    .company-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .consult-grid,
    .reason-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flow {
        grid-template-columns: 1fr;
        border-top: 0;
    }

    .flow-step {
        padding: 18px 0;
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .profile-layout {
        gap: 28px;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .header-inner {
        min-height: 66px;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .mobile-nav {
        inset: 66px 0 auto;
    }

    .hero-content {
        padding-top: 50px;
        padding-bottom: 28px;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 64px 0;
    }

    .hero-facts,
    .consult-grid,
    .reason-grid,
    .voice-grid,
    .faq-grid,
    .profile-meta,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-facts {
        border: 1px solid var(--line);
        background: #fff;
    }

    .fact {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .fact:last-child {
        border-bottom: 0;
    }

    .card {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: auto;
        padding: 20px;
    }

    .reason {
        min-height: auto;
        gap: 28px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .reason:last-child {
        border-bottom: 0;
    }

    .profile-visual {
        min-height: 320px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* SmartChat inspired direction */
:root {
    --ink: #0f172a;
    --muted: #475569;
    --paper: #ffffff;
    --soft: #f8fafc;
    --warm: #f1f5f9;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --green: #003366;
    --green-dark: #00264d;
    --blue: #2563eb;
    --gold: #93c5fd;
    --accent-light: #e0e7ff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 51, 102, 0.1);
    --radius: 8px;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
    --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    --font-en: "Outfit", sans-serif;
}

body {
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    line-height: 1.9;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border: 2px solid #f1f5f9;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green);
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    padding: 20px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    transition: padding 0.3s var(--easing), background 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.header-inner {
    min-height: auto;
}

.brand {
    gap: 10px;
    color: var(--green);
    font-family: var(--font-en);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform 0.3s var(--easing);
}

.brand:hover {
    transform: scale(1.04);
}

.brand-text {
    color: var(--green);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.nav {
    gap: 38px;
    color: var(--ink);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.nav a {
    position: relative;
    transition: color 0.3s var(--easing);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.3s var(--easing);
}

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

.nav a:hover::after {
    width: 100%;
}

.btn {
    min-height: 48px;
    padding: 0 28px;
    overflow: hidden;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
    position: relative;
    transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing), background 0.3s var(--easing), color 0.3s var(--easing), border-color 0.3s var(--easing);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: var(--green);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.22);
}

.btn-primary:hover {
    background: var(--green-dark);
    box-shadow: 0 8px 22px rgba(0, 51, 102, 0.3);
}

.btn-secondary {
    color: var(--green);
    border-color: #cbd5e1;
    background: #fff;
}

.btn-secondary:hover {
    border-color: var(--green);
    background: #f8fafc;
    box-shadow: var(--shadow);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        opacity: 0;
        transform: scale(2);
    }
}

.menu-button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.menu-button svg {
    pointer-events: none;
}

.menu-button .close-icon {
    display: none;
}

.menu-button[aria-expanded="true"] .menu-icon {
    display: none;
}

.menu-button[aria-expanded="true"] .close-icon {
    display: block;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1050;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 80px 28px;
    background: #fff;
    transition: right 0.4s var(--easing);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    display: block;
    min-height: auto;
    border: 0;
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--easing), transform 0.4s var(--easing), color 0.3s var(--easing);
}

.mobile-nav.open a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.open a:nth-of-type(1) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-of-type(2) { transition-delay: 0.16s; }
.mobile-nav.open a:nth-of-type(3) { transition-delay: 0.22s; }
.mobile-nav.open a:nth-of-type(4) { transition-delay: 0.28s; }
.mobile-nav.open a:nth-of-type(5) { transition-delay: 0.34s; }
.mobile-nav.open a:nth-of-type(6) { transition-delay: 0.4s; }
.mobile-nav.open a:nth-of-type(7) { transition-delay: 0.46s; }

.mobile-nav a:hover {
    color: var(--green);
    transform: scale(1.06);
}

.mobile-close-button {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
}

.mobile-close-button svg {
    pointer-events: none;
}

body.menu-open .menu-button {
    visibility: hidden;
}

.hero {
    min-height: 600px;
    height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, #f0f4ff 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, #f1f5f9 0%, transparent 40%),
        #fff;
}

.hero::before {
    content: "HOKEN SODAN";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    width: 100%;
    color: rgba(0, 51, 102, 0.035);
    font-family: var(--font-en);
    font-size: min(13vw, 190px);
    font-weight: 800;
    line-height: 0.9;
    text-align: center;
    white-space: pre;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: bgTypeIn 1.4s ease-out 0.2s both;
}

.hero .container {
    min-height: auto;
    display: block;
}

.hero .container::after {
    content: "";
    position: absolute;
    right: 60px;
    top: 50%;
    width: min(34vw, 390px);
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(0, 51, 102, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45)),
        url("consultation-illustration.svg") center / 84% no-repeat,
        #fff;
    box-shadow: var(--shadow-hover);
    transform: translateY(-42%);
    animation: float 3.8s ease-in-out infinite;
}

@keyframes bgTypeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -46%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(-42%);
    }

    50% {
        transform: translateY(calc(-42% - 18px));
    }
}

.hero-content {
    max-width: 700px;
    padding: 110px 0 72px 8%;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--green);
    font-family: var(--font-en);
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: fadeInSlide 1s ease-out 0.3s forwards;
}

.eyebrow::before {
    width: 0;
    height: 1px;
    margin-right: 16px;
    background: var(--green);
    animation: expandLine 1s ease-out 0.5s forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandLine {
    to {
        width: 40px;
    }
}

h1 {
    max-width: 700px;
    margin-bottom: 34px;
    font-size: clamp(2.5rem, 5.3vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1::first-line {
    color: var(--green);
}

.hero-lead {
    max-width: 600px;
    margin-bottom: 34px;
    padding-left: 24px;
    border-left: 2px solid var(--green);
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 2;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.keep-phrase {
    display: inline-block;
}

.hero-actions,
.hero-facts {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.hero-facts {
    max-width: 670px;
    gap: 0;
    margin-top: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.fact {
    min-height: 86px;
    padding: 16px 18px;
    border-color: var(--line);
}

.fact strong {
    font-weight: 800;
}

.fact span {
    color: var(--muted);
}

section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

section[id] {
    scroll-margin-top: 88px;
}

#service {
    background: var(--soft);
}

#service::before,
#flow::before,
#faq::before {
    position: absolute;
    z-index: 0;
    color: #e2e8f0;
    font-family: var(--font-en);
    font-size: min(20vw, 240px);
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

#service::before {
    content: "SERVICES";
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
}

#flow::before {
    content: "FLOW";
    left: -3%;
    bottom: 0;
    color: rgba(0, 51, 102, 0.035);
}

#faq::before {
    content: "FAQ";
    top: 10%;
    right: 4%;
    color: rgba(0, 51, 102, 0.045);
}

.section-head {
    display: block;
    margin-bottom: 64px;
}

.section-head p {
    max-width: 720px;
    margin-top: 24px;
    color: var(--muted);
}

.section-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 12px;
    border-radius: 4px;
    color: var(--green);
    background: var(--accent-light);
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.section-label:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.1);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.4;
}

h3 {
    line-height: 1.45;
}

.consult-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    border: 0;
}

.card {
    min-height: 240px;
    display: block;
    padding: 40px 32px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing), border-color 0.3s var(--easing);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--green);
    transition: height 0.3s var(--easing);
}

.card::after {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #f1f5f9;
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    transition: color 0.3s var(--easing), transform 0.3s var(--easing);
}

.card:nth-child(1)::after { content: "01"; }
.card:nth-child(2)::after { content: "02"; }
.card:nth-child(3)::after { content: "03"; }
.card:nth-child(4)::after { content: "04"; }
.card:nth-child(5)::after { content: "05"; }
.card:nth-child(6)::after { content: "06"; }

.card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px) scale(1.02);
}

.card:hover::before {
    height: 100%;
}

.card:hover::after {
    color: rgba(0, 51, 102, 0.08);
    transform: scale(1.1);
}

.icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border: 0;
    border-radius: 12px;
    color: var(--green);
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
    position: relative;
    z-index: 1;
}

.card h3,
.card p {
    grid-column: auto;
    position: relative;
    z-index: 1;
}

.card h3 {
    margin-bottom: 14px;
    font-size: 1.28rem;
    font-weight: 800;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.85;
}

#reason.soft-section {
    padding: 140px 0;
    color: #fff;
    background: var(--green);
}

#reason::before {
    content: "WHY US";
    position: absolute;
    left: -5%;
    bottom: -8%;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-en);
    font-size: min(18vw, 220px);
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

#reason .section-label {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

#reason .section-head p,
#reason h2 {
    color: #fff;
}

.reason-grid {
    gap: 60px;
    border: 0;
    background: transparent;
}

.reason {
    min-height: auto;
    display: block;
    padding: 32px 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
}

.reason-number {
    display: block;
    margin-bottom: 18px;
    color: #93c5fd;
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 800;
}

.reason h3 {
    font-size: 1.38rem;
    margin-bottom: 16px;
}

.reason p {
    color: #e0e7ff;
    font-size: 0.95rem;
}

.soft-section:not(#reason) {
    background: var(--soft);
}

.flow {
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 18px;
    border: 0;
    overflow-x: auto;
    padding: 10px 0 20px;
    scroll-snap-type: x mandatory;
}

.flow-step {
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    transition: transform 0.35s var(--easing), box-shadow 0.35s var(--easing), border-color 0.35s var(--easing);
}

.flow-step:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.flow-step span {
    color: var(--green);
    font-family: var(--font-en);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.voice {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--easing), box-shadow 0.35s var(--easing);
}

.voice:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.profile-layout {
    width: min(calc(100% - 48px), 1100px);
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 70px;
    max-width: 1100px;
    padding: 70px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
}

.profile-layout:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.profile-visual {
    min-height: auto;
    border: 0;
    background: transparent;
}

.profile-card {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.avatar {
    width: 220px;
    height: 220px;
    margin-bottom: 24px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 20%, #60a5fa, transparent 30%),
        linear-gradient(135deg, #003366, #2563eb);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
    font-size: 3.2rem;
}

.profile-photo {
    display: block;
    object-fit: cover;
    object-position: center 18%;
}

.profile-title {
    color: var(--green);
    font-weight: 800;
}

.profile-name {
    font-size: 1.8rem;
}

.profile-text p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

.profile-meta {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.profile-meta div {
    border-color: var(--line);
    background: var(--soft);
    transition: transform 0.3s var(--easing), border-color 0.3s var(--easing);
}

.profile-meta div:hover {
    border-color: var(--green);
    transform: translateY(-3px);
}

.company {
    background: #fff;
}

.company::before {
    content: "COMPANY";
    position: absolute;
    right: -4%;
    top: 12%;
    z-index: 0;
    color: rgba(0, 51, 102, 0.04);
    font-family: var(--font-en);
    font-size: min(18vw, 210px);
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

.company-layout {
    max-width: 980px;
    padding: 64px 60px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: box-shadow 0.4s var(--easing), transform 0.4s var(--easing);
}

.company-layout:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.company-table th,
.company-table td {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: 0;
}

.company-table th {
    width: 170px;
    color: var(--green);
    font-weight: 800;
}

.company-table td {
    color: var(--muted);
}

.faq-grid {
    gap: 16px;
}

.faq-item {
    border-color: var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.faq-item h3 {
    font-weight: 800;
}

.contact {
    color: var(--ink);
    background: var(--warm);
}

.contact .section-label {
    color: var(--green);
    background: var(--accent-light);
}

.contact h2 {
    color: var(--ink);
}

.contact-layout {
    width: min(calc(100% - 48px), 980px);
    max-width: 980px;
    padding: 64px 60px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: box-shadow 0.4s var(--easing);
}

.contact-layout:hover {
    box-shadow: var(--shadow-hover);
}

.contact-lead {
    color: var(--muted);
}

.contact-methods {
    gap: 16px;
}

.contact-method {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    transition: transform 0.3s var(--easing), border-color 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.contact-method:hover {
    border-color: var(--green);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.contact-method span {
    color: var(--green);
    font-family: var(--font-en);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-method strong {
    color: var(--ink);
}

.notice {
    border-color: var(--line);
    color: var(--muted);
    background: #fff;
}

footer {
    background: var(--ink);
    text-align: center;
}

.footer-inner {
    justify-content: center;
}

.footer-inner > div:first-child {
    display: none;
}

.footer-inner > div:last-child {
    color: #64748b;
    font-family: var(--font-en);
}

.fade-up,
.slide-in-left,
.slide-in-right {
    opacity: 0;
    transition: opacity 1s var(--easing), transform 1s var(--easing);
}

.fade-up {
    transform: translateY(30px);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.fade-up.visible,
.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 980px) {
    .container {
        padding: 0 32px;
    }

    .nav,
    .header-actions .btn-primary {
        display: none;
    }

    .menu-button {
        display: grid;
        position: relative;
        z-index: 1101;
        flex: 0 0 44px;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .hero {
        height: auto;
        min-height: 720px;
        padding-top: 92px;
    }

    .hero .container::after {
        position: relative;
        right: auto;
        top: auto;
        width: min(100%, 420px);
        margin: 20px auto 0;
        transform: none;
    }

    .hero-content {
        padding: 70px 0 28px;
    }

    .profile-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .reason-grid,
    .voice-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .profile-layout,
    .company-layout,
    .contact-layout {
        padding: 44px 28px;
    }

    .company-layout {
        width: min(calc(100% - 48px), 980px);
    }

    .profile-layout {
        width: min(calc(100% - 48px), 1100px);
    }

    .contact-layout {
        width: min(calc(100% - 48px), 980px);
    }

    .profile-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-visual {
        justify-items: center;
    }
}

@media (max-width: 700px) {
    .container {
        width: 100%;
        padding: 0 24px;
    }

    .site-header,
    .site-header.scrolled {
        padding: 14px 0;
    }

    .header-inner {
        gap: 16px;
    }

    .header-actions {
        margin-left: auto;
        position: relative;
        z-index: 1101;
    }

    .menu-button {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .mobile-close-button {
        top: 14px;
        right: 24px;
        width: 40px;
        height: 40px;
    }

    .brand {
        font-size: 1.1rem;
    }

    .brand-text {
        max-width: 180px;
        font-size: 0.86rem;
        line-height: 1.25;
    }

    .hero {
        min-height: 650px;
        padding-bottom: 8px;
    }

    .hero::before {
        font-size: 15vw;
    }

    .hero .container::after {
        width: min(100%, 340px);
    }

    h1 {
        font-size: 2.35rem;
        margin-bottom: 28px;
    }

    .hero-lead {
        padding-left: 16px;
        font-size: 0.95rem;
    }

    .hero-content {
        padding-bottom: 4px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-facts,
    .consult-grid,
    .profile-meta,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        width: calc(100% - 32px);
        padding: 40px 24px;
        border-radius: 10px;
    }

    .profile-layout {
        width: calc(100% - 32px);
        padding: 40px 24px;
        border-radius: 10px;
    }

    .company {
        padding-bottom: 44px;
    }

    .company-layout {
        width: calc(100% - 32px);
        padding: 40px 24px;
        border-radius: 10px;
    }

    #faq {
        padding-top: 44px;
    }

    .fact {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .fact:last-child {
        border-bottom: 0;
    }

    section {
        padding: 76px 0;
    }

    #service {
        padding-top: 32px;
    }

    .section-head {
        margin-bottom: 42px;
    }

    .consult-grid {
        gap: 24px;
    }

    .card {
        min-height: auto;
        padding: 30px 24px;
    }

    #reason.soft-section {
        padding: 88px 0;
    }

    .flow {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .flow-step {
        min-height: auto;
        padding: 24px;
    }

    .avatar {
        width: 176px;
        height: 176px;
    }

    .company-table th,
    .company-table td {
        display: block;
        padding: 0;
        border-bottom: 0;
    }

    .company-table th {
        width: 100%;
        margin-bottom: 5px;
        font-size: 0.82rem;
    }

    .company-table td {
        padding-bottom: 22px;
    }

    .company-table tr {
        display: block;
        margin-bottom: 18px;
        border-bottom: 1px solid var(--line);
    }

    .company-table tr:last-child {
        margin-bottom: 0;
        border-bottom: 0;
    }

    .company-table tr:last-child td {
        padding-bottom: 0;
    }

    .footer-inner {
        align-items: center;
    }
}

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