* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #222;
}

.faq-title {
    font-size: 24px;
}

.faq-content {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 32px 24px;
    background-color: #fff;
    border-radius: 10px;
    text-align: left;
}

.faq-content p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 24px;
    }

    .faq-content p {
        font-size: 2.8vw;
        line-height: 1.5;
    }
}

.sp {
    display: none;
}

.pc {
    display: block;
}

@media (max-width: 768px) {
    .sp {
        display: block;
    }

    .pc {
        display: none;
    }
}

/* =========================
    FAQ Page
========================= */
.faq-main .guideline-title {
    text-align: center;
    margin-bottom: 32px;
    font-size: 24px;
}

.faq-main {
    position: relative;
    max-width: 100%;
    padding: 50px 16px;
    background: url("../img/terms/bg.jpg") center top / cover no-repeat;
    text-align: left;
    overflow: hidden;
}

.faq-main::before,
.faq-main::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1600px;
    height: 180px;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0.55;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* .faq-main::before {
    top: 90px;
    background-image:
        radial-gradient(120% 80% at 50% 50%, transparent 58%, #ffffff 59%, #ffffff 63%, transparent 64%);
}

.faq-main::after {
    top: 520px;
    background-image:
        radial-gradient(120% 80% at 50% 50%, transparent 58%, #ffffff 59%, #ffffff 63%, transparent 64%);
} */

.faq-section {
    position: relative;
    z-index: 1;
}

.faq-panel {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 40px 42px 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.faq-list {
    display: flex;
    flex-direction: column;
}

/* QAセットの最後にだけ線を入れる */
.faq-item {
    border-bottom: 1px solid #1f1f1f;
    padding: 12px 0 14px;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Q/A 共通レイアウト */
.faq-item__q,
.faq-item__a {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    align-items: flex-start;
    border-bottom: none;
}

.faq-item__q {
    margin-bottom: 6px;
}

.faq-item__a {
    margin-bottom: 0;
}

/* ラベル */
.faq-item__label {
    display: block;
    width: 100%;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
    color: #4b9b1e;
    transform: translateY(1px);
    font-family: "futura-pt-bold", sans-serif;
    font-weight: 700;
    font-style: normal;
    white-space: nowrap;
    text-align: right;
}

/* Aだけ右寄せ */
.faq-item__a .faq-item__label {
    color: #bfb78e;
}

/* 本文 */
.faq-item__q p,
.faq-item__a p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.75;
    color: #222;
    word-break: break-word;
}

.faq-item__a p {
    font-size: 13px;
}

.faq-item__a a {
    color: #007aff;
    text-decoration: underline;
    word-break: break-all;
}

.faq-item__a--last {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .faq-main {
        padding: 40px 16px 72px;
    }

    .faq-panel {
        padding: 32px 24px 36px;
        border-radius: 20px;
    }
}

@media (max-width: 767px) {
    .faq-main {
        padding: 32px 12px 56px;
    }

    .faq-main::before {
        top: 60px;
        width: 900px;
        height: 120px;
    }

    .faq-main::after {
        top: 380px;
        width: 900px;
        height: 120px;
    }

    .faq-panel {
        padding: 20px 16px 24px;
        border-radius: 16px;
    }

    .faq-item {
        padding: 10px 0 12px;
    }

    .faq-item:last-child {
        padding-bottom: 0;
    }

    .faq-item__q,
    .faq-item__a {
        grid-template-columns: 52px 1fr;
        gap: 8px;
    }

    .faq-item__q {
        margin-bottom: 4px;
    }

    .faq-item__label {
        font-size: 20px;
    }

    .faq-item__q p {
        font-size: 12px;
        line-height: 1.7;
    }

    .faq-item__a p {
        font-size: 11px;
        line-height: 1.7;
    }
}