/* ============================
FAQページ専用ヒーロー
============================ */
.faq-visual {
    width: 100%;
    padding: 0;
}

.faq__inner {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.faq__visual img {
    width: 100%;
    height: auto;
    display: block;
}

.faq-intro .section-en {
    margin-top: -150px;
    text-transform: uppercase;
}

.faq-lead {
    text-align: left;
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-top: 20px;
    font-weight: 700;
}

.faq-item {
    margin-top: 40px;
}

.faq-q {
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
}

.faq-a {
    margin-top: 10px;
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    font-weight: 600;
}

.faq-list {
    margin-bottom: 30px;
}

.flow-box {
    background: #F1FAFF;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.flow-step {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 900px;
}

.flow-step__left {
    flex-shrink: 0;
    width: 120px;
    text-align: center;
}

.flow-step__num {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-ink);
    display: inline-block;
    margin-top: 6px;
}

.flow-step__right {
    flex: 1;
    text-align: left;
    position: relative;
}

.flow-step__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-ink);
    margin-bottom: 8px;
}

.flow-step__text {
    line-height: 1.8;
    color: #444;
}

.flow-step__btns {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.flow-arrow {
    font-size: 20px;
    color: var(--accent);
}

.btn-green.btn--sm,
.btn--accent.btn--sm {
    width: 100%;
    max-width: 260px;
    height: 64px;
    display: flex;
    text-align: center;
    align-items: center;
}

.flow-step__btns .btn--sm {
    flex: 1;
    min-width: 0;
    height: 56px;
    font-size: 14px;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================================
contact
===================================================== */
.contact-inner {
    background: #F1FAFF;
    text-align: center;
    padding: 50px 0;
}

.contact-text {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 18px;
    color: #333;
    margin-bottom: 60px;
    line-height: 1.8;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    cursor: pointer;
}

.btn-blue {
    background: #20AEE5;
    width: 360px;
    height: 80px;
    font-size: 24px;
}

.btn-green {
    background: #25D366;
    width: 360px;
    height: 80px;
    font-size: 24px;
}

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

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

.btn--accent:hover {
    filter: brightness(1.05);
}

.btn--ghost {
    border-color: var(--accent);
    color: var(--accent-ink);
    background: transparent;
}

.btn--ghost:hover {
    background: color-mix(in oklab, var(--accent) 10%, white);
}

/* =====================================================
footer
===================================================== */
.footer {
    background: #fff;
    border-top: 1px solid #E5E5E5;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-inner {
    max-width: 1560px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 40px;
}

.footer-left {
    text-align: center;
    flex: 1;
    width: 500px;
}

.footer-logo {
    width: 120px;
    margin: 0 auto 20px;
}

.footer-left p {
    font-family: "Zen Maru Gothic", sans-serif;
    color: var(--accent-ink);
    line-height: 1.8;
    font-size: 15px;
}

.footer-right {
    flex: 1;
    width: 200px;
}

.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-right li {
    margin-bottom: 8px;
}

.footer-right a {
    color: var(--accent-ink);
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-right a:hover {
    color: var(--accent);
}

.footer-copy {
    margin-top: 60px;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.05em;
}

/* =====================================================
レスポンシブ
===================================================== */
/* ハンバーガーメニュー */
@media (max-width:1023px) {
    .nav-toggle {
        display: inline-block;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        color: var(--accent);
        position: relative;
        border-radius: 8px;
    }

    .nav-toggle:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

    /* 三本線 */
    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        position: absolute;
        left: 50%;
        width: 24px;
        height: 2px;
        background: var(--accent);
        content: "";
        transform: translateX(-50%);
        transition: transform .2s ease, opacity .2s ease, top .2s ease, bottom .2s ease;
    }

    .nav-toggle span {
        top: 50%;
    }

    .nav-toggle span::before {
        top: -8px;
    }

    .nav-toggle span::after {
        bottom: -8px;
    }

    .site-header.is-open .nav-toggle span {
        background: transparent;
    }

    .site-header.is-open .nav-toggle span::before {
        top: 0;
        transform: translateX(-50%) rotate(45deg);
    }

    .site-header.is-open .nav-toggle span::after {
        bottom: 0;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* ===== メニュー全体 ===== */
    .site-nav {
        position: fixed;
        top: calc(var(--header-h) - 1px);
        left: 0;
        right: 0;
        background: var(--bg);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        pointer-events: none;
    }

    .site-header.is-open .site-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 20px clamp(16px, 6vw, 24px);
    }

    .site-nav a {
        display: block;
        color: var(--fg);
        padding: 12px 8px;
        border-radius: 8px;
    }

    .site-nav a:hover {
        background: rgba(255, 255, 255, .08);
    }

    .site-nav .nav-cta .btn {
        width: 100%;
        text-align: center;
        padding: .8rem 1.5rem;
    }

    .nav-locked {
        overflow: hidden;
        overscroll-behavior: contain;
    }
}

@media (max-width: 767px) {
    .hero__visual {
        display: block;
        width: 100%;
        height: auto;
        margin-top: var(--header-h, 80px);
    }

    .section-en {
        font-size: 64px;
        margin-bottom: 0;
        position: relative;
        display: block;
        margin-inline: auto;
        width: fit-content;
        padding-bottom: 0;
    }

    .faq-intro .section-en {
        text-align: left;
        margin-inline: 0;
        width: auto;
    }

    h2.title {
        font-size: 20px;
        margin: 16px 0;
    }

    .section-en:last-of-type {
        margin: 0;
    }

    .section-en:first-of-type {
        margin-top: -30px;
        padding-bottom: 0;
    }

    .flow .container {
        padding-inline: 0;
    }

    .flow-step:first-child .flow-step__right {
        padding-bottom: 0;
    }

    .flow-step {
        display: flex;
        flex-direction: column;
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 20px 20px;
        background: #fff;
        border: 1px solid var(--accent);
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        gap: 0;
        box-sizing: border-box;
    }

    .flow-box {
        padding: 20px 0;
        border-radius: 0;
    }

    .flow-step__left {
        width: 100%;
        text-align: left;
    }

    .flow-step__num {
        font-size: 18px;
    }

    .flow-step__right {
        width: 100%;
        position: static;
        padding-bottom: 0;
    }

    .flow-step__left .flow-step__num {
        display: block;
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    .flow-step__title {
        font-size: 20px;
    }

    .flow-step__text {
        font-size: 14px;
        line-height: 1.4;
    }

    .flow-step__btns {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 20px 0;
        width: 100%;
        align-items: center;
    }

    .flow-step__btns .btn--sm {
        width: 100%;
        max-width: 300px;
        height: 52px;
        padding: 12px 0;
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 6px;
        box-sizing: border-box;
    }

    /* --- Contact --- */
    .contact-inner {
        padding: 20px 0;
    }

    .contact-text {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 40px;
    }

    .btn {
        font-size: 15px;
        padding: 12px 28px;
        border-radius: 6px;
    }

    .btn-blue,
    .btn-green {
        width: 260px;
        height: 60px;
        font-size: 17px;
    }

    /* --- Footer --- */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        flex: none;
    }

    .footer-logo {
        width: 100px;
        margin: 0 auto 16px;
    }

    .footer-left p {
        font-size: 12px;
        line-height: 1.8;
    }

    .footer-right ul {
        text-align: left;
        padding: .375em;
    }

    .footer-right li {
        margin-bottom: 6px;
    }

    .footer-right a {
        font-size: 12px;
    }

    .footer-copy {
        margin-top: 40px;
        font-size: 13px;
    }
}