/* ======================================================= */
/* よくあるご質問ページ専用スタイル */
/* ======================================================= */

/* ページタイトルビジュアル */
.page-header-visual {
    text-align: center;
    margin-bottom: 20px;
}
.page-header-visual img {
    max-width: 100%;
    height: auto;
}

/* ページ説明文 */
.page-introduction {
    margin-bottom: 20px;
    font-size: 0.95em;
}
.page-introduction .contact-note {
    font-size: 0.85em;
    color: #696969;
}
.page-introduction .related-links {
    font-size: 0.9em;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.page-introduction .related-links a {
    white-space: nowrap;
}

/* 質問ナビゲーションリスト */
.qa-index-nav {
    margin: 20px 0;
    padding: 10px;
    background-color: #f0fff0; /* 元のサイトの背景色（薄緑）に近づける */
    border: 1px solid #ccff99;
}
.qa-index-nav .qa-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2; /* PCでは2列に分けて表示 */
    column-gap: 20px;
}
.qa-index-nav .qa-list li {
    margin-bottom: 5px;
    break-inside: avoid-column; /* リストアイテムの途中で改行しない */
}
.qa-index-nav .qa-list li a {
    display: block;
    padding: 5px;
    text-decoration: none;
    color: #333;
    background-color: #ccff99; /* 元のサイトの背景色 */
    border-radius: 3px;
    font-size: 0.9em;
    transition: background-color 0.2s;
}
.qa-index-nav .qa-list li a:hover {
    background-color: #bbff77;
}

/* ======================================================= */
/* 回答セクション */
/* ======================================================= */
.qa-answer-section {
    padding-top: 20px;
}
.qa-item {
    margin-bottom: 30px;
    padding-top: 20px; /* アンカーリンクで飛んだ際にヘッダーに隠れないように */
}
.qa-item hr {
    margin: 20px 0;
}

.question {
    font-size: 1.4em;
    color: #333;
    margin: 0 0 10px;
}

.answer {
    padding: 10px 0 0 10px;
    font-size: 0.95em;
}
.answer .answer-title {
    color: red;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 0 10px;
}
.answer p {
    margin-bottom: 10px;
    line-height: 1.6;
}
.answer ol {
    padding-left: 20px;
    margin: 10px 0;
}
.answer ol li {
    margin-bottom: 5px;
}
.answer .highlight-text {
    color: #cc0000;
    font-weight: bold;
}


/* ページ最下部ナビ */
.page-bottom-nav {
    text-align: center;
    margin: 40px 0 20px;
}

/* ======================================================= */
/* スマホ対応 (Max-width: 600px) */
/* ======================================================= */
@media (max-width: 600px) {
    /* 質問ナビゲーションを1列に */
    .qa-index-nav .qa-list {
        column-count: 1;
    }
    .page-introduction .related-links {
        flex-direction: column;
    }
}