:root {
    --bg: #f5f1ea;
    --bg-soft: #fffaf3;
    --ink: #1b1f28;
    --ink-sub: #525968;
    --line: #d9d2c7;
    --red-700: #b2272a;
    --red-500: #cf3f3b;
    --amber-500: #f0aa31;
    --navy-800: #111d31;
    --navy-700: #1b2942;
    --white: #ffffff;
    --font-main: "Zen Kaku Gothic New", sans-serif;
    --font-display: "Bebas Neue", sans-serif;
    --utility-height: 38px;
    --header-height: 84px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--ink);
    line-height: 1.72;
    background: linear-gradient(180deg, #f8f5ef 0%, #f4efe6 100%);
    padding-top: var(--utility-height);
}

body.nav-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.utility-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1300;
    height: var(--utility-height);
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #191f2d 0%, #2c3447 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link {
    color: #d8dde8;
    font-size: 0.88rem;
    font-weight: 500;
}

.back-link:hover {
    color: #ffffff;
}

.site-header {
    position: fixed;
    top: var(--utility-height);
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1200;
    background: rgba(255, 251, 244, 0.96);
    border-bottom: 1px solid #d8d0c4;
    backdrop-filter: blur(8px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    display: grid;
    place-items: center;
    color: #ffe2be;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    background:
        linear-gradient(135deg, #741115 0%, #b62e32 100%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 10px);
}

.brand-main {
    display: block;
    font-size: 1.03rem;
    line-height: 1.25;
    font-weight: 800;
    color: #202536;
}

.brand-sub {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    color: #6a7182;
    font-weight: 500;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333a4a;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.is-active {
    color: #9f1f24;
    border-bottom-color: #cf3f3b;
}

.nav-link.btn-link {
    border-radius: 4px;
    border: 1px solid #cf3f3b;
    color: #fff4ef;
    background: linear-gradient(135deg, #cf3f3b 0%, #af2a2d 100%);
}

.nav-link.btn-link:hover {
    border-bottom-color: #cf3f3b;
    color: #fffdf7;
    filter: brightness(1.05);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px auto;
    background: #232a3b;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

main {
    margin-top: var(--header-height);
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #f9f3e9;
    background:
        linear-gradient(120deg, rgba(14, 22, 38, 0.97), rgba(24, 38, 63, 0.93)),
        repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 12px);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 20%, rgba(207, 63, 59, 0.25), transparent 30%),
        radial-gradient(circle at 84% 72%, rgba(240, 170, 49, 0.18), transparent 35%);
}

.hero-inner {
    position: relative;
    padding: 92px 0 84px;
}

.hero-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #ffe7bd;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.hero-title {
    margin-top: 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.27;
    letter-spacing: 0.01em;
    font-weight: 900;
}

.hero-copy {
    margin-top: 18px;
    max-width: 740px;
    color: #d7deec;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 800;
}

.btn-primary {
    color: #fff8ef;
    background: linear-gradient(135deg, #cf3f3b, #ab2a30);
}

.btn-primary:hover {
    filter: brightness(1.06);
}

.btn-ghost {
    color: #f6f1e8;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-note {
    margin-top: 14px;
    font-size: 0.84rem;
    color: #c5cfdf;
}

.hero-panel {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    padding: 20px;
    background: rgba(8, 14, 24, 0.45);
}

.hero-panel h2 {
    font-size: 0.96rem;
    color: #f5ddae;
}

.hero-panel ul {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.hero-panel li {
    position: relative;
    padding-left: 18px;
    font-size: 0.94rem;
    color: #dee6f6;
}

.hero-panel li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber-500);
}

.section {
    padding: 84px 0;
}

.section-soft {
    background: linear-gradient(180deg, #fdf8f1 0%, #f6f1e9 100%);
}

.section-dark {
    color: #ececf0;
    background:
        linear-gradient(120deg, #141b2c 0%, #1b2840 100%),
        repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 12px);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-head.section-left {
    margin: 0 0 22px;
    text-align: left;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 800;
    color: #b62d2d;
}

.section-dark .section-label {
    color: #f0b852;
}

.section-head h2 {
    margin-top: 8px;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    line-height: 1.35;
    color: #1f2634;
}

.section-dark .section-head h2 {
    color: #ffffff;
}

.section-head p {
    margin-top: 10px;
    color: #5a6271;
}

.section-dark .section-head p {
    color: #bec7d8;
}

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

.kpi-card {
    border: 1px solid #d8d0c4;
    background: #fffdf9;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(27, 31, 40, 0.08);
}

.kpi-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 0.04em;
    color: #ad2528;
    line-height: 1;
}

.kpi-card span {
    display: block;
    margin-top: 8px;
    font-size: 0.86rem;
    color: #4f5666;
    font-weight: 600;
}

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

.card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdfa;
    padding: 20px 18px;
    box-shadow: 0 12px 25px rgba(19, 26, 42, 0.07);
}

.card h3 {
    color: #1f365d;
    font-size: 1.14rem;
    line-height: 1.46;
}

.card p {
    margin-top: 10px;
    color: #4f5868;
}

.card ul {
    margin-top: 12px;
    display: grid;
    gap: 7px;
}

.card li {
    position: relative;
    padding-left: 16px;
    color: #4f5868;
}

.card li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d33f3f;
}

.split {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
}

.notice-box {
    border: 1px solid #d8d2c8;
    border-left: 4px solid #cb3a3c;
    border-radius: 8px;
    background: #fffdfa;
    padding: 20px;
}

.notice-box h3 {
    font-size: 1.16rem;
    color: #20345a;
}

.notice-box p {
    margin-top: 8px;
    color: #4e5767;
}

.steps {
    display: grid;
    gap: 10px;
}

.step-item {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    border: 1px solid #d9d2c7;
    border-radius: 8px;
    background: #fffcf7;
    padding: 14px;
}

.step-no {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #b0272d;
    letter-spacing: 0.04em;
}

.step-item h3 {
    font-size: 1.04rem;
    color: #22385f;
}

.step-item p {
    margin-top: 6px;
    color: #50596a;
}

.table-wrap {
    border: 1px solid #d8d0c4;
    border-radius: 8px;
    overflow: hidden;
    background: #fffdfa;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid #ece4d9;
}

.price-table th {
    color: #7c2a2d;
    background: #fbf1ea;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
}

.price-table td {
    color: #3f4756;
}

.table-note {
    margin-top: 12px;
    font-size: 0.86rem;
    color: #646d7d;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.73rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    background: #f9e6d8;
    color: #8f2b2f;
}

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

.case-card {
    border: 1px solid #d7d0c4;
    border-radius: 8px;
    background: #fffdfa;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(18, 26, 43, 0.08);
}

.case-card h3 {
    margin-top: 10px;
    font-size: 1.08rem;
    color: #23395f;
    line-height: 1.45;
}

.case-meta {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.case-meta p {
    font-size: 0.9rem;
    color: #4d5665;
}

.case-meta strong {
    color: #1f2f4f;
}

.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.form-box {
    border: 1px solid #d8d0c4;
    border-radius: 8px;
    background: #fffdfa;
    padding: 18px;
}

.form-box h3 {
    font-size: 1.05rem;
    color: #273a5d;
}

.form-box p {
    margin-top: 8px;
    color: #596172;
    font-size: 0.92rem;
}

.form-box label {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: #424b5c;
}

.form-box input,
.form-box select,
.form-box textarea {
    width: 100%;
    border: 1px solid #d2c9bb;
    border-radius: 4px;
    min-height: 42px;
    padding: 8px 10px;
    background: #fffcf7;
    font: inherit;
    color: #1f2531;
}

.form-box textarea {
    min-height: 130px;
    resize: vertical;
}

.inline-options {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inline-options label {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #d7cfc2;
    background: #fffbf4;
    font-size: 0.86rem;
}

.inline-options input {
    width: auto;
    min-height: auto;
}

.form-result {
    margin-top: 14px;
    border: 1px solid #c7d8bd;
    border-left: 4px solid #68a243;
    border-radius: 6px;
    background: #f5fbf0;
    padding: 14px;
    color: #2f4920;
}

.columns-list {
    display: grid;
    gap: 14px;
}

.column-item {
    border: 1px solid #d8d0c4;
    border-radius: 8px;
    background: #fffdfa;
    padding: 18px;
    display: grid;
    gap: 10px;
}

.column-item .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.column-item h3 {
    font-size: 1.14rem;
    color: #243c64;
    line-height: 1.45;
}

.column-item p {
    color: #4e5868;
}

.author-card {
    border: 1px solid #d8d1c6;
    border-radius: 8px;
    background: #fffdfa;
    padding: 20px;
}

.author-card h3 {
    color: #253a61;
    font-size: 1.18rem;
}

.author-card p {
    margin-top: 9px;
    color: #4f5868;
}

.contact-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 0.95fr 1.05fr;
}

.contact-card {
    border: 1px solid #d8d0c3;
    border-radius: 8px;
    background: #fffdfa;
    padding: 20px;
}

.contact-card h3 {
    color: #253a62;
    font-size: 1.16rem;
}

.contact-card ul {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.contact-card li {
    color: #4d5666;
}

.contact-main {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 0.03em;
    line-height: 1;
    color: #b82b2f;
}

.cta-band {
    margin-top: 26px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(191, 53, 56, 0.2), rgba(40, 55, 84, 0.2));
}

.cta-band h3 {
    font-size: 1.34rem;
    color: #fff4df;
}

.cta-band p {
    margin-top: 8px;
    color: #d0dcf0;
}

.cta-band .btn {
    margin-top: 14px;
}

.footer {
    background: #111a2b;
    color: #ccd6ea;
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: grid;
    gap: 10px;
}

.footer-logo {
    font-size: 1.08rem;
    font-weight: 800;
    color: #f6d7a9;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    font-size: 0.8rem;
    color: #9ca9c2;
}

[data-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

@media (max-width: 1120px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        width: 100%;
        border-bottom: 1px solid #d8d0c4;
        background: rgba(255, 251, 244, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .site-nav ul {
        padding: 14px 4%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .site-nav.is-open {
        max-height: 78vh;
    }

    .brand {
        max-width: calc(100% - 56px);
    }

    .brand-main,
    .brand-sub {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-grid,
    .split,
    .form-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .kpi-grid,
    .card-grid,
    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 76px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 1.35rem;
    }

    .brand-main {
        font-size: 0.9rem;
    }

    .brand-sub {
        font-size: 0.56rem;
    }

    .hero-inner {
        padding: 78px 0 70px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.38;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .kpi-grid,
    .card-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .price-table th,
    .price-table td {
        font-size: 0.85rem;
        padding: 11px 10px;
    }
}

@media (max-width: 580px) {
    .brand-sub {
        display: none;
    }

    .section {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 1.86rem;
    }
}
