/* =========================================================
   Legacy System Page
   ========================================================= */


/* =========================================================
   Hero
   ========================================================= */

.page-hero {
    padding:
        clamp(80px, 10vw, 150px)
        0;

    border-bottom: 1px solid var(--color-border);
}

.page-hero__content {
    max-width: 850px;
}

.page-hero h1 {
    margin-bottom: var(--space-8);

    font-size: clamp(
        2.5rem,
        6vw,
        5rem
    );

    letter-spacing: -0.04em;
}

.page-hero__lead {
    max-width: 720px;

    margin-bottom: 0;

    color: var(--color-text-secondary);

    font-size: clamp(
        1rem,
        2vw,
        1.25rem
    );

    line-height: 2;
}


/* =========================================================
   Content
   ========================================================= */

.content-narrow {
    max-width: 800px;

    margin:
        0 auto;
}

.content-narrow p {
    color: var(--color-text-secondary);
}

.content-narrow strong {
    color: var(--color-text);
}


/* =========================================================
   Problem
   ========================================================= */

.legacy-problem-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1px;

    background: var(--color-border);

    border: 1px solid var(--color-border);
}

.legacy-problem {
    min-height: 260px;

    padding: var(--space-8);

    background: var(--color-white);
}

.legacy-problem > span {
    display: block;

    margin-bottom: var(--space-8);

    color: var(--color-primary);

    font-family: var(--font-mono);

    font-size: 0.75rem;
}

.legacy-problem h3 {
    margin-bottom: var(--space-4);

    font-size: 1.2rem;
}

.legacy-problem p {
    margin-bottom: 0;

    color: var(--color-text-secondary);

    font-size: 0.9rem;
}


/* =========================================================
   Service
   ========================================================= */

.legacy-service-list {
    border-top: 1px solid var(--color-border);
}

.legacy-service {
    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 32px;

    padding:
        var(--space-8)
        0;

    border-bottom: 1px solid var(--color-border);
}

.legacy-service__number {
    color: var(--color-primary);

    font-family: var(--font-mono);

    font-size: 0.8rem;
}

.legacy-service h3 {
    margin-bottom: var(--space-3);
}

.legacy-service p {
    max-width: 720px;

    margin-bottom: 0;

    color: var(--color-text-secondary);
}


/* =========================================================
   Technology
   ========================================================= */

.legacy-tech-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.legacy-tech-card {
    display: block;

    padding: var(--space-8);

    color: inherit;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    text-decoration: none;

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.legacy-tech-card:hover {
    color: inherit;

    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}

.legacy-tech-card__code {
    display: block;

    margin-bottom: var(--space-8);

    color: var(--color-primary);

    font-family: var(--font-mono);

    font-size: 0.8rem;
    font-weight: 700;
}

.legacy-tech-card h3 {
    margin-bottom: var(--space-4);
}

.legacy-tech-card p {
    min-height: 70px;

    color: var(--color-text-secondary);
}


/* =========================================================
   Diagnosis
   ========================================================= */

.legacy-diagnosis {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 80px;

    padding:
        var(--space-12) 0;

    border-top: 1px solid var(--color-border);

    border-bottom: 1px solid var(--color-border);
}

.legacy-diagnosis h2 {
    margin-bottom: 0;

    font-size: clamp(
        2rem,
        4vw,
        3rem
    );
}

.legacy-diagnosis p {
    color: var(--color-text-secondary);
}


/* =========================================================
   Approach
   ========================================================= */

.approach-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 0;
}

.approach-item {
    padding:
        var(--space-8);

    border-left: 1px solid var(--color-border);
}

.approach-item:last-child {
    border-right: 1px solid var(--color-border);
}

.approach-item > span {
    display: block;

    margin-bottom: var(--space-8);

    color: var(--color-primary);

    font-family: var(--font-mono);

    font-size: 0.75rem;
}

.approach-item h3 {
    font-size: 1.25rem;
}

.approach-item p {
    margin-bottom: 0;

    color: var(--color-text-secondary);

    font-size: 0.9rem;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
    position: relative;

    padding:
        24px
        40px
        24px
        0;

    cursor: pointer;

    list-style: none;

    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';

    position: absolute;

    top: 50%;
    right: 0;

    transform: translateY(-50%);

    font-size: 1.5rem;

    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    max-width: 700px;

    margin:
        0
        0
        24px;

    color: var(--color-text-secondary);
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1000px) {

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

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

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

    .approach-item:nth-child(1),
    .approach-item:nth-child(2) {
        border-bottom: 1px solid var(--color-border);
    }

}


@media (max-width: 800px) {

    .legacy-diagnosis {
        grid-template-columns: 1fr;

        gap: 40px;
    }

}


@media (max-width: 767px) {

    .legacy-problem-grid {
        grid-template-columns: 1fr;
    }

    .legacy-problem {
        min-height: auto;
    }

    .legacy-tech-grid {
        grid-template-columns: 1fr;
    }

    .legacy-service {
        grid-template-columns: 50px 1fr;

        gap: 16px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .approach-item,
    .approach-item:last-child {
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .approach-item:last-child {
        border-bottom: 0;
    }

}

/* =========================================================
   VB6 Page
   ========================================================= */

.vb6-highlight {
    position: relative;

    padding: 60px;

    background: var(--color-white);

    border: 1px solid var(--color-border);
}

.vb6-highlight h3 {
    margin-bottom: 20px;
}

.vb6-highlight p {
    max-width: 700px;

    color: var(--color-text-secondary);
}


/* =========================================================
   Responsive (VB6 Page)
   ========================================================= */

@media (max-width: 767px) {

    .vb6-highlight {
        padding: 32px 24px;
    }

}

/* =========================================================
   About Page
========================================================= */

/* --------------------------------
   About Hero
-------------------------------- */

.about-hero {
    position: relative;
}

.about-hero .page-hero__lead {
    max-width: 760px;
}


/* --------------------------------
   Huevo Brand Story
-------------------------------- */

.huevo-story {
    max-width: 820px;
    margin: 0 auto;
}

.huevo-story__name {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.huevo-story__name span {
    font-weight: 400;
    margin-left: 0.5rem;
}

.huevo-story__text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 2;
}


/* --------------------------------
   Lab Introduction
-------------------------------- */

.about-lab {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
    align-items: center;
}

.about-lab__label {
    font-family: "Courier New", monospace;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
}

.about-lab__title {
    margin: 0.75rem 0 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.4;
}

.about-lab__text {
    margin: 0;
    line-height: 2;
}


/* --------------------------------
   Why Legacy
-------------------------------- */

.about-reason {
    max-width: 820px;
    margin: 0 auto;
}

.about-reason__lead {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.8;
}

.about-reason__text {
    margin: 0;
    line-height: 2;
}


/* --------------------------------
   Experience
-------------------------------- */

.about-experience {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-experience__item {
    padding: 2rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.about-experience__label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: "Courier New", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.65;
}

.about-experience__title {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.about-experience__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.9;
}


/* --------------------------------
   Philosophy
-------------------------------- */

.about-philosophy {
    max-width: 900px;
    margin: 0 auto;
}

.about-philosophy__lead {
    margin-bottom: 3rem;
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.6;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-principle {
    position: relative;
    padding: 2rem 1.75rem;
    border-top: 2px solid currentColor;
}

.about-principle__number {
    display: block;
    margin-bottom: 1rem;
    font-family: "Courier New", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.about-principle__title {
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
}

.about-principle__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.9;
}


/* --------------------------------
   Future Vision
-------------------------------- */

.about-future {
    max-width: 820px;
    margin: 0 auto;
}

.about-future__lead {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.8;
}

.about-future__text {
    margin: 0;
    line-height: 2;
}


/* --------------------------------
   Message
-------------------------------- */

.about-message {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-message__main {
    margin: 0 0 1.5rem;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.about-message__sub {
    margin: 0;
    line-height: 2;
}


/* --------------------------------
   Responsive
-------------------------------- */

@media (max-width: 900px) {

    .about-lab {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-experience {
        grid-template-columns: 1fr;
    }

    .about-principles {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-principle {
        padding: 1.5rem;
    }
}


@media (max-width: 600px) {

    .huevo-story__text,
    .about-reason__text,
    .about-future__text,
    .about-principle__text,
    .about-experience__text {
        font-size: 0.95rem;
    }

    .about-reason__lead {
        font-size: 1.1rem;
    }

    .about-philosophy__lead {
        font-size: 1.45rem;
    }

    .about-message__main {
        font-size: 1.7rem;
    }
}

/* =========================================================
   Price Page
========================================================= */

/* --------------------------------
   Price Policy
-------------------------------- */

.price-policy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.price-policy__item {
    padding: 2rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.price-policy__number {
    display: block;
    margin-bottom: 1rem;
    font-family: "Courier New", monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.price-policy__item h3 {
    margin: 0 0 0.8rem;
    font-size: 1.15rem;
}

.price-policy__item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.9;
}


/* --------------------------------
   Service List
-------------------------------- */

.price-service-list {
    display: grid;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.price-service {
    padding: 2rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.price-service__head {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.price-service__number {
    flex: 0 0 auto;
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    opacity: 0.6;
}

.price-service__label {
    margin: 0 0 0.35rem;
    font-family: "Courier New", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    opacity: 0.6;
}

.price-service__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.5;
}

.price-service__body {
    padding-left: 3.2rem;
}

.price-service__body > p {
    margin: 0 0 1.25rem;
    line-height: 1.9;
}

.price-service__body ul {
    margin: 0;
    padding-left: 1.2rem;
}

.price-service__body li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.price-service__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.price-service__price span {
    font-size: 0.85rem;
    opacity: 0.7;
}

.price-service__price strong {
    font-size: 1rem;
}


/* --------------------------------
   Price Factors
-------------------------------- */

.price-factor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.price-factor {
    padding: 1.75rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.price-factor__icon {
    display: block;
    margin-bottom: 1rem;
    font-family: "Courier New", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.price-factor h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.price-factor p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.85;
}


/* --------------------------------
   Flow
-------------------------------- */

.price-flow {
    max-width: 800px;
    margin: 0 auto;
}

.price-flow__item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.price-flow__number {
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    opacity: 0.6;
}

.price-flow__item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.price-flow__item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.price-flow__arrow {
    padding: 0.5rem 0;
    text-align: center;
    font-size: 1.3rem;
    opacity: 0.5;
}


/* --------------------------------
   Note
-------------------------------- */

.price-note {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.price-note .lab-label {
    margin-bottom: 1rem;
}

.price-note h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.5;
}

.price-note p:not(.lab-label) {
    margin: 0 0 1rem;
    line-height: 2;
}

.price-note p:last-child {
    margin-bottom: 0;
}


/* --------------------------------
   Responsive
-------------------------------- */

@media (max-width: 900px) {

    .price-policy {
        grid-template-columns: 1fr;
    }

    .price-factor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .price-service {
        padding: 1.5rem;
    }

    .price-service__head {
        gap: 0.9rem;
    }

    .price-service__title {
        font-size: 1.15rem;
    }

    .price-service__body {
        padding-left: 0;
    }

    .price-service__price {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }

    .price-factor-grid {
        grid-template-columns: 1fr;
    }

    .price-flow__item {
        grid-template-columns: 45px 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }

    .price-note {
        padding: 1.75rem;
    }

}

/* =========================================================
   FAQ Page
========================================================= */

/* --------------------------------
   FAQ Category Navigation
-------------------------------- */

.faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.faq-category-nav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1.2rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 999px;
    background: #fff;
    color: inherit;
    font-size: 0.9rem;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.faq-category-nav__item:hover {
    transform: translateY(-1px);
    border-color: #bbb;
    background: #f8f8f8;
}


/* --------------------------------
   FAQ List
-------------------------------- */

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}


/* --------------------------------
   FAQ Item
-------------------------------- */

.faq-item {
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 1.25rem 3.5rem 1.25rem 0;
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}


/* --------------------------------
   Plus / Minus Icon
-------------------------------- */

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    opacity: 0.55;
}

.faq-item[open] summary::after {
    content: "−";
}


/* --------------------------------
   FAQ Answer
-------------------------------- */

.faq-item__answer {
    padding: 0 3.5rem 1.75rem 0;
}

.faq-item__answer p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 2;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}


/* --------------------------------
   Open Animation
-------------------------------- */

.faq-item[open] summary {
    padding-bottom: 1rem;
}


/* --------------------------------
   Responsive
-------------------------------- */

@media (max-width: 600px) {

    .faq-category-nav {
        justify-content: flex-start;
    }

    .faq-category-nav__item {
        width: 100%;
        justify-content: flex-start;
        border-radius: 6px;
    }

    .faq-item summary {
        min-height: 64px;
        padding-right: 3rem;
        font-size: 0.95rem;
    }

    .faq-item__answer {
        padding-right: 0;
        padding-bottom: 1.5rem;
    }

    .faq-item__answer p {
        font-size: 0.9rem;
    }

}

/* =========================================================
   Contact Page
========================================================= */

/* --------------------------------
   Contact Help
-------------------------------- */

.contact-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-help {
    padding: 2rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.contact-help__number {
    display: block;
    margin-bottom: 1rem;
    font-family: "Courier New", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.contact-help h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.contact-help p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.9;
}


/* --------------------------------
   Form Wrapper
-------------------------------- */

.contact-form-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    padding: 2.5rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}


/* --------------------------------
   Form Group
-------------------------------- */

.form-group {
    margin-bottom: 2rem;
}

.form-group > label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.form-required,
.form-optional {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 400;
}

.form-required {
    background: #333;
    color: #fff;
}

.form-optional {
    background: #f1f1f1;
    color: #666;
}


/* --------------------------------
   Input
-------------------------------- */

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #777;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}


/* --------------------------------
   Checkbox
-------------------------------- */

.form-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

.form-checkbox:hover {
    background: #fafafa;
}

.form-checkbox input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
}

.form-checkbox--privacy {
    margin-top: 1rem;
    border: 0;
    padding: 0;
    min-height: auto;
    background: transparent;
}

.form-checkbox--privacy:hover {
    background: transparent;
}


/* --------------------------------
   Privacy
-------------------------------- */

.form-privacy {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 5px;
    background: #fafafa;
}

.form-privacy p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.8;
}


/* --------------------------------
   Submit
-------------------------------- */

.contact-form__submit {
    margin-top: 2.5rem;
    text-align: center;
}

.contact-form__submit .button {
    min-width: 280px;
    border: 0;
    cursor: pointer;
}


/* --------------------------------
   Contact Note
-------------------------------- */

.contact-note {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.contact-note .lab-label {
    margin-bottom: 1rem;
}

.contact-note h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.5;
}

.contact-note p:not(.lab-label) {
    margin: 0 0 1rem;
    line-height: 2;
}

.contact-note p:last-child {
    margin-bottom: 0;
}


/* --------------------------------
   Responsive
-------------------------------- */

@media (max-width: 900px) {

    .contact-help-grid {
        grid-template-columns: 1fr;
    }

    .form-checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .contact-form {
        padding: 1.5rem;
    }

    .form-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .contact-form__submit .button {
        width: 100%;
        min-width: 0;
    }

    .contact-note {
        padding: 1.75rem;
    }

}

/* ==========================================
   Contact Confirm
========================================== */

.form-confirm-value {
    padding: 16px 18px;
    background: #f8f9fa;
    border: 1px solid #e2e5e8;
    border-radius: 6px;
    line-height: 1.8;
    min-height: 24px;
}

.form-confirm-value--message {
    white-space: normal;
    min-height: 120px;
}

.contact-form__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.contact-form__actions .button {
    min-width: 200px;
    text-align: center;
}


/* エラー */

.contact-note ul {
    margin: 0;
    padding-left: 1.4em;
}

.contact-note li {
    margin-bottom: 8px;
}


/* ==========================================
   Responsive
========================================== */

@media (max-width: 767px) {

    .contact-form__actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .contact-form__actions .button {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

}

/* ==========================================
   Contact Confirm
========================================== */

.form-confirm-value {
    padding: 16px 18px;
    background: #f8f9fa;
    border: 1px solid #e2e5e8;
    border-radius: 6px;
    line-height: 1.8;
    min-height: 24px;
}

.form-confirm-value--message {
    min-height: 120px;
    white-space: normal;
}

.contact-form__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.contact-form__actions .button {
    min-width: 200px;
    text-align: center;
}


/* ==========================================
   Contact Complete
========================================== */

.contact-complete {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.contact-complete__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 28px;

    border-radius: 50%;

    background: #f3f5f6;

    font-family: 'Roboto Mono', monospace;
    font-size: 28px;
    font-weight: 700;
}

.contact-complete__text {
    margin-top: 24px;
    line-height: 2;
}

.contact-complete__note {
    margin-top: 28px;
    padding: 20px;

    background: #f8f9fa;

    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.contact-complete__actions {
    display: flex;
    justify-content: center;
    gap: 16px;

    margin-top: 40px;
}

.contact-complete__actions .button {
    min-width: 200px;
}


/* ==========================================
   Responsive
========================================== */

@media (max-width: 767px) {

    .contact-form__actions {
        flex-direction: column-reverse;
    }

    .contact-form__actions .button {
        width: 100%;
        min-width: 0;
    }

    .contact-complete {
        padding: 40px 20px;
    }

    .contact-complete__actions {
        flex-direction: column;
    }

    .contact-complete__actions .button {
        width: 100%;
        min-width: 0;
    }

}