@charset "UTF-8";

/* =========================================================
   下層ページ メインビジュアル (Sub Hero)
========================================================= */
.p-sub-hero {
    position: relative;
    width: 100%;
    height: 395px;
    padding-top: 75px;
    background-color: var(--color-main);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
}

.p-sub-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.p-sub-hero__inner {
    position: relative;
    z-index: 2;
    transform: translateY(10px);
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    100% { transform: translateY(0); opacity: 1; }
}

.p-sub-hero__title {
    font-family: var(--font-english);
    font-size: 2.8rem;
    font-weight: normal;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.p-sub-hero__en {
    display: block;
    font-family: var(--font-english);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media screen and (max-width: 768px) {
    .p-sub-hero { height: 280px; padding-top: 60px; }
    .p-sub-hero__title { font-size: 1.8rem; }
    .p-sub-hero__en { font-size: 0.9rem; }
}

/* =========================================================
   よくある質問 ページ固有スタイル
========================================================= */
.p-faq-section {
    padding: 80px 0;
}

.p-faq-intro {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 60px;
    text-align: center;
}

/* 各Q&Aブロック */
.p-faq-item {
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 40px;
}
.p-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 質問 (Q) のスタイル */
.p-faq-q {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-main);
    margin-bottom: 15px;
}
.p-faq-q__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--color-main);
    color: #fff;
    font-family: var(--font-english);
    font-size: 0.9rem;
    border-radius: 4px;
    flex-shrink: 0;
}

/* 回答 (A) のスタイル */
.p-faq-a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
    padding-left: 0;
}
.p-faq-a__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #666;
    color: #fff;
    font-family: var(--font-english);
    font-size: 0.9rem;
    border-radius: 4px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .p-faq-section { padding: 40px 0; }
    .p-faq-intro { text-align: left; margin-bottom: 40px; }
    .p-faq-item { padding-bottom: 30px; margin-bottom: 30px; }
    .p-faq-q { font-size: 1.05rem; }
}