/* 全体のフォントサイズ底上げ */
body {
    font-size: 18px; /* 基本サイズを大きく */
}

/* セクション設定 */
.access-section {
    padding: 30px 15px;
    max-width: 1100px;
    margin: 0 auto;
}

/* H1の見出しデザイン（smallを活用） */
.access-section h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    color: #4B0082; /* 濃い紫 */
    margin-bottom: 5px;
}

.access-section h1 small {
    font-size: 1.1rem;
    color: #6a0dad; /* 明るい紫 */
    font-weight: normal;
    display: block;
    margin-bottom: 5px;
}

/* サブコピー */
.access-section h4 {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* タブボタンの設定（押しやすく） */
.tab-label {
    display: inline-block;
    padding: 15px 25px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    margin: 2px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

input[name="tab-item"]:checked + .tab-label {
    background: #6a0dad;
    color: #fff;
    border-color: #6a0dad;
}

/* 詳細ボックス */
.info-box {
    background: #fff;
    border: 3px solid #6a0dad;
    padding: 25px;
    margin-top: 20px;
    border-radius: 10px;
}

.info-box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-left: 8px solid #6a0dad;
    padding-left: 15px;
}

/* 地図画像のレスポンシブ対応 */
.map-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* 住所 */
.address {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 15px 0;
}

/* 電話ボタン（スマホで見やすい） */
.tel-link {
    display: block;
    max-width: 400px;
    background: #28a745; /* 電話は緑色の方が直感的 */
    color: #fff !important;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 50px;
    margin: 20px 0;
    box-shadow: 0 4px 0 #1e7e34;
}

.tel-link:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1e7e34;
}

/* リンクボタン */
.web-link {
    display: inline-block;
    color: #6a0dad;
    font-size: 1.1rem;
    text-decoration: underline;
}

/* タブの切り替え制御（基本は非表示） */
input[name="tab-item"] {
    display: none;
}

.tab-content {
    display: none;
}

.footer {
    background-color: #4b0082;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
    width: 100%;
}
.facebook-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 8px 20px;
    border-radius: 25px;
    margin-top: 15px;
}
.facebook-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* チェックが入ったIDに対応するコンテンツを表示 */
#tab1:checked ~ .tab-contents #content1,
#tab2:checked ~ .tab-contents #content2,
#tab3:checked ~ .tab-contents #content3,
#tab4:checked ~ .tab-contents #content4,
#tab5:checked ~ .tab-contents #content5,
#tab6:checked ~ .tab-contents #content6,
#tab7:checked ~ .tab-contents #content7,
#tab8:checked ~ .tab-contents #content8,
#tab9:checked ~ .tab-contents #content9,
#tab10:checked ~ .tab-contents #content10,
#tab11:checked ~ .tab-contents #content11,
#tab12:checked ~ .tab-contents #content12,
#tab13:checked ~ .tab-contents #content13,
#tab14:checked ~ .tab-contents #content14,
#tab15:checked ~ .tab-contents #content15,
#tab16:checked ~ .tab-contents #content16,
#tab17:checked ~ .tab-contents #content17,
#tab18:checked ~ .tab-contents #content18 {
    display: block;
}
