/* タブメニューのデザイン */
.tab-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.tab-menu li {
    padding: 12px 25px;
    background: #f0f4f8;
    color: var(--primary-navy);
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.tab-menu li.active {
    background: var(--primary-navy);
    color: #fff;
}

/* コンテンツ表示切り替え */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* アコーディオン（事故・苦情など） */
.acc-item {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.acc-title {
    background: #fff;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-title:hover { background: #f8faff; }

.acc-body {
    padding: 20px;
    background: #fdfdfe;
    border-top: 1px solid #e0e6ed;
    display: none; /* JSで制御 */
}

/* 料金表のレスポンシブ対応 */
.scroll-table {
    width: 100%;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th, .price-table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: left;
}

.price-table thead { background: var(--primary-navy); color: #fff; }

/* アコーディオンのアイコンアニメーション */
.acc-title i {
    transition: transform 0.3s;
}
.acc-title.active i {
    transform: rotate(180deg);
}

/* 料金表の補足テキスト */
.small-text {
    font-size: 0.85rem;
    color: #777;
}

.mt-30 { margin-top: 30px; }
.mt-20 { margin-top: 20px; }

/* リスト形式の整形 */
.memo-box ul {
    padding-left: 20px;
    margin: 10px 0;
}
.memo-box li {
    margin-bottom: 5px;
    list-style-type: disc;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- 文書用ボックスの基本設計 --- */
.document-box {
    background-color: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.03);
}

/* ボックス内の見出し */
.document-box h4 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.document-box h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 1.3rem;
    background-color: var(--sub-blue);
    margin-right: 12px;
    border-radius: 3px;
}

/* ボックス内のサブ見出し */
.document-box h5 {
    color: #333;
    font-size: 1.1rem;
    margin: 35px 0 15px;
    font-weight: 700;
}

/* テキストのスタイル */
.document-box p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

/* 注意事項用のメモボックス */
.memo-box {
    background-color: #f8faff; /* 非常に薄い青 */
    border-left: 4px solid var(--primary-navy);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.memo-box h5 {
    margin-top: 0;
    color: var(--primary-navy);
    font-size: 1rem;
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .document-box {
        padding: 25px 20px;
        border-radius: 8px;
    }
    
    .document-box h4 {
        font-size: 1.15rem;
    }
    .tab-menu { flex-wrap: wrap; }
    .tab-menu li { width: calc(50% - 10px); text-align: center; font-size:13px; }
	.price-table th, .price-table td {
    padding: 5px 2px;font-size:12px;text-align:center;
}
}
