@charset "UTF-8";

/* =========================================================
   下層ページ共通ヘッダー (Sub Hero)
========================================================= */
.p-sub-hero-bg {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.p-sub-hero-title {
    padding: 60px 0 20px;
    text-align: center;
    margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
    .p-sub-hero-bg {
        height: 100px;
    }
    .p-sub-hero-title {
        padding: 40px 0 10px;
        margin-bottom: 30px;
    }
}

/* =========================================================
   よくある質問 (FAQ)
========================================================= */
.p-faq-intro {
    text-align: center;
    margin-bottom: 60px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.p-faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.p-faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dotted #ccc;
}
.p-faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* 質問 (Q) */
.p-faq-q {
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.5;
}
.p-faq-q::before {
    content: "Q";
    display: inline-block;
    color: var(--color-main);
    font-size: 1.4rem;
    font-weight: 700;
    margin-right: 12px;
    line-height: 1;
    flex-shrink: 0; /* 文字が長くなってもQが潰れないようにする */
}

/* 回答 (A) */
.p-faq-a {
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
}
.p-faq-a::before {
    content: "A";
    display: inline-block;
    color: #aaa; /* 薄いグレー */
    font-size: 1.4rem;
    font-weight: 700;
    margin-right: 12px;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

/* スマホ版レスポンシブ */
@media screen and (max-width: 768px) {
    .p-faq-intro {
        text-align: left;
        margin-bottom: 40px;
    }
    .p-faq-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .p-faq-q {
        font-size: 1rem;
    }
    .p-faq-a {
        font-size: 0.9rem;
    }
    .p-faq-q::before,
    .p-faq-a::before {
        font-size: 1.2rem;
        margin-right: 10px;
    }
}