/* ===============================================
アコーディオン全体 (.mokutekiSection)
=============================================== */
.mokutekiSection {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* ===============================================
見出しエリア (h2)
=============================================== */

/* h2: 通常の状態 */
.mokutekiSection h2 {
    margin: 0;
    padding: 12px 15px;
    background-color: #f7f7f7;
    /* border-bottom: 1px solid #ddd; */
    position: relative;
    transition: background-color 0.2s ease-in-out;
    font-size: 2rem;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
}

.mokutekiSection h2.midoriLine {
    background-color: #99E1C4;
}

.mokutekiSection h2.akaLine {
    background-color: #FF9A9A;
}

.mokutekiSection h2.daidaiLine {
    background-color: #FFD39A;
}

/* h2: 開いている状態 (.active) */
.mokutekiSection h2.active {
    /* background-color: #f0f0f0; */
}

/* h2: フォーカスされた状態 (:focus) ★ */
.mokutekiSection h2:focus {
    /* outline: 2px solid #0056b3; */
    outline-offset: 2px;
    /* background-color: #e6f0ff; */
    font-weight: bold;
}

/* h2: 開閉アイコン (疑似要素) */
.mokutekiSection h2::after {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFF;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    content: '';
    background-image:
        linear-gradient(#555, #555),
        linear-gradient(#555, #555);
    background-size: 12px 2px, 2px 12px;
    background-repeat: no-repeat;
    background-position: center center;
}

/* h2: 開いている状態の開閉アイコン */
.mokutekiSection h2.active::after {
    background-image: linear-gradient(#555, #555);
    background-size: 12px 2px;
}

/* ===============================================
リストエリア (ul > li > a)
=============================================== */

/* ul: リスト全体 (初期状態は非表示) */
.mokutekiSection ul {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
}

/* li > a: リスト内のリンク */
.mokutekiSection li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    border-top: 1px solid #eee;
}

/* li > a: ホバーされた状態 */
.mokutekiSection.oyakuSection li a:hover {
    background-color: #e6f4eb;
}

.mokutekiSection.lifeSection li a:hover {
    background-color: #fcede9;
}

.mokutekiSection.kurashiSection li a:hover {
    background-color: #fcf1e2;
}

/* li: 最初の要素のリンクのみ罫線を消す */
.mokutekiSection li:first-child a {
    border-top: none;
}


/* アイコン */
.mokutekiSection.lifeSection ul li a,
.mokutekiSection.kurashiSection ul li a {
    background-repeat: no-repeat;
    background-position: left 14px center;
    background-size: 38px;
    padding-left: 67px;
}

.mokutekiSection ul li.ninshin a {
    background-image: url('/img/top/mi-ninshin.png');
}

.mokutekiSection ul li.kosodate a {
    background-image: url('/img/top/mi-kosodate.png');
}

.mokutekiSection ul li.nyugaku a {
    background-image: url('/img/top/mi-nyugaku.png');
}

.mokutekiSection ul li.shushoku a {
    background-image: url('/img/top/mi-shushoku.png');
}

.mokutekiSection ul li.kekkon a {
    background-image: url('/img/top/mi-kekkon.png');
}

.mokutekiSection ul li.rikon a {
    background-image: url('/img/top/mi-rikon.png');
}

.mokutekiSection ul li.korei a {
    background-image: url('/img/top/mi-korei.png');
}

.mokutekiSection ul li.okuyami a {
    background-image: url('/img/top/mi-okuyami.png');
}

.mokutekiSection ul li.hikkoshi a {
    background-image: url('/img/top/mi-hikkoshi.png');
}

.mokutekiSection ul li.gomi a {
    background-image: url('/img/top/mi-gomi.png');
}

.mokutekiSection ul li.kenko a {
    background-image: url('/img/top/mi-kenko.png');
}

.mokutekiSection ul li.hoken a {
    background-image: url('/img/top/mi-hoken.png');
}

.mokutekiSection ul li.shomei a {
    background-image: url('/img/top/mi-shomei.png');
}


/* お役立ちサイト */
.siteSection {
    background-color: #FFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px 20px 10px;
    overflow: hidden;
}

.siteSection h2 {
    font-size: 2rem;
    border-bottom: dashed 2px #707070;
    margin-top: 0px;
    padding-bottom: 13px;
    display: flex;
    align-items: center;
    column-gap: 13px;
    justify-content: center;
}

.siteSection h2::before {
    content: "";
    display: block;
    width: 26px;
    height: 26px;
    background-image: url("/img/common/icon-site.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.siteSection ul {
    list-style: none;
    padding-left: 20px;
}

.siteSection ul li {
    margin-bottom: 1.2rem;
}

.siteSection ul li:last-child {
    margin-bottom: 0px;
}

.siteSection ul li::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8.7px;
    border-color: transparent transparent transparent #333;
    margin-right: 10px;
    vertical-align: middle;
}