.area-wrapper {
    border: 2px solid #ddd; /* 全体を囲う枠線 */
    padding: 20px;
    border-radius: 10px; /* 角丸にする */
}

.area-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px; /* アイテム間のギャップを追加 */
}

.area-item {
    background-color: #ffffff;
    border: 1px solid #ddd; /* 各エリアアイテムの枠線を保持 */
    border-radius: 5px;
    padding: 10px 20px; /* パディングを増やす */
    margin: 10px;
    flex: 1 0 30%; /* アイテムの幅を設定し、均等に配置 */
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* パディングとボーダーを含めた幅の計算 */
    min-width: 120px; /* 最小幅を設定 */
    max-width: 200px; /* 最大幅を設定 */
}

.area-item:hover {
    background-color: #f9f9f9;
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.area-navigation {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}

#back-to-prefecture {
    font-size: 20px; /* 文字サイズを大きく設定 */
    font-weight: bold; /* 初期状態で太字に設定 */
    color: #000000; /* 黒色に設定 */
    margin: 10px 0; /* 上下のマージンを追加 */
    text-decoration: none;
    display: inline-block;
}

#back-to-prefecture.with-arrow::before {
    content: '◀︎';
    padding-right: 5px;
    color: #0073aa;
}

#back-to-prefecture.with-arrow:hover {
    color: #005177;
}

/* スマホ表示の調整 */
@media (max-width: 600px) {
    .area-item {
        width: calc(50% - 20px);
    }
}

/* アコーディオンのデザイン */
.custom-accordion {
    border: 1px solid #5BC8AC;
    border-radius: 5px;
    margin-bottom: 10px;
}

.custom-accordion-header {
    background-color: #FFFFFF;
    color: #5BC8AC;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #5BC8AC;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-accordion-content {
    display: none;
    padding: 15px;
    border-top: 1px solid #5BC8AC;
}

.custom-accordion-header:after {
    content: '\f067'; /* FontAwesomeのプラスアイコン */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: #FFFFFF;
    background: #5BC8AC; /* 色を濃くする */
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-accordion-header.active:after {
    content: '\f068'; /* FontAwesomeのマイナスアイコン */
    color: #FFFFFF;
    background: #5BC8AC; /* 色を濃くする */
}

.custom-accordion-header.active {
    border-bottom: none;
}

.custom-accordion-content.active {
    display: block;
}
