.faq-section{
    /* padding-top: 60px; */
    padding-bottom: 120px;
    max-width: 960px;
    margin: auto;
}

/* セクション見出し */
.faq-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin-bottom: 40px;
    position: relative;
    font-family: "Roboto", sans-serif;
    letter-spacing: 0.07em;
}
.faq-title span{
    display: block;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: #9DD2F5;
}

/* 見出しの下線デザイン */
.faq-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    /* background-color: #f2b700; */
    margin: 15px auto 0;
    border-radius: 2px;
}

/* FAQリストのコンテナ */
.faq-list {
    border-top: 1px solid #e0e0e0;
}

/* アコーディオンアイテム（詳細タグ） */
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* デフォルトの三角アイコンを消す */
}

/* 質問部分（サマリータグ） */
.faq-question {
    display: flex; /* Flexboxに変更して中心揃えを確実にする */
    align-items: center; /* 垂直方向の中央揃え */
    position: relative;
    padding: 25px 60px 25px 20px; /* アイコンはFlex配置にするため左パディングを調整 */
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #333;
    transition: background-color 0.3s ease;
    list-style: none; /* デフォルトの三角アイコンを消す */
}

/* Safariなどのデフォルトアイコンを消すハック */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background-color: #f9fcff;
}

.faq-question::before {
    content: "Q.";
    font-size: 20px;
    font-weight: bold;
    color: #0063A3;
    font-family: sans-serif;
    margin-right: 20px; /* テキストとの間隔 */
    margin-bottom: 5px;
    flex-shrink: 0; /* アイコンが潰れないように固定 */
    line-height: 1; /* アイコン自体の高さを最小限に */
}

/* 開閉インジケーター（＋/－） */
.faq-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: #0063A3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 100%;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(270deg);
    /* opacity: 0; プラスをマイナスにする */
}

.faq-answer {
    font-size: 16px;
    color: #333;
    background-color: #fff;
    line-height: 1.8;
}

.faq-content {
    display: flex; /* Aアイコンとテキストを並べる */
    align-items: flex-start;
    padding: 10px 40px 30px 20px; /* 左パディングをQと同じ20pxに合わせる */
}

.faq-content::before {
    content: "A.";
    font-size: 20px;
    font-weight: bold;
    color: #f2b700; /* Qと同じ青色 */
    font-family: sans-serif;
    margin-right: 20px; /* テキストとの間隔 */
    flex-shrink: 0;
    line-height: 25px; /* 本文の行高に合わせて位置調整 */
}

.faq-content p {
    margin: 0;
    position: relative;
    width: 100%; /* 幅を確保 */
}

.faq-answer a {
    color: #0063A3;
    text-decoration: underline;
    font-weight: bold;
}

.faq-answer a:hover {
    text-decoration: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .faq-section{
        padding: 0 0 60px;
    }
    .faq-title{
        font-size: 28px;
        margin-bottom: 15px;
    }
    .faq-question {
        font-size: 16px;
        padding: 20px 50px 20px 15px;
    }
    .faq-question::before {
        margin-right: 15px;
        font-size: 18px;
    }
    .faq-content {
        padding: 10px 20px 25px 15px;
        font-size: 15px;
        align-items: center;
    }
    .faq-content::before {
        margin-right: 15px;
        font-size: 18px;
    }
}

/* --- もっと見るボタンのスタイル --- */
.faq-more-container {
    text-align: center;
    margin-top: 40px;
}

.faq-more-btn {
    display: none;
    padding: 15px 60px;
    background-color: #0063A3;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    display: inline-block;
}

.faq-more-btn:hover {
    background-color: #086685;
    transform: translateY(2px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}