/**
 * アクセスページ用スタイル
 * 本サイト（ic-clinic.com/access/）のデザインを踏襲
 */

/* パンくずリスト */
.l-access-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    font-size: 13px;
}

.l-access-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.l-access-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.l-access-breadcrumb__link {
    color: #4a90d9;
    text-decoration: none;
}

.l-access-breadcrumb__link:hover {
    text-decoration: underline;
}

.l-access-breadcrumb__separator {
    color: #999;
}

.l-access-breadcrumb__current {
    color: #666;
}

/* ページタイトル */
.l-access-header {
    background: #eff5fd;
    padding: 40px 20px;
    text-align: center;
}

.l-access-header__title {
    font-size: 28px;
    font-weight: bold;
    color: #1d4e90;
    margin: 0;
}

/* メインコンテナ */
.l-access {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
}

/* 院選択ボタン - 本サイト風グラデーション */
.l-access__select {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
}

.l-access__select-btn {
    padding: 14px 28px;
    border: none;
    background: linear-gradient(to top, #797979, #cfcfcf);
    box-shadow: 0 5px #585858;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.15s ease;
    position: relative;
    top: 0;
}

.l-access__select-btn:hover {
    background: linear-gradient(to top, #6a6a6a, #b8b8b8);
}

.l-access__select-btn:active,
.l-access__select-btn.is-active {
    background: linear-gradient(to top, #1d4e90, #3a7bc8);
    box-shadow: 0 2px #0f2a4d;
    top: 3px;
}

/* 各院コンテンツ */
.l-access__content {
    display: none;
}

.l-access__content.is-active {
    display: block;
}

/* 院タイトル */
.l-access__title {
    font-size: 26px;
    margin-bottom: 30px;
    text-align: center;
    color: #1d4e90;
    border-bottom: 3px solid #1d4e90;
    padding-bottom: 15px;
}

/* 情報テーブル */
.l-access__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.l-access__table th,
.l-access__table td {
    padding: 18px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.l-access__table th {
    width: 120px;
    background: #eff5fd;
    font-weight: bold;
    color: #1d4e90;
}

.l-access__table td a {
    color: #1d4e90;
    text-decoration: none;
    font-weight: bold;
}

.l-access__table td a:hover {
    text-decoration: underline;
}

.l-access__note {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 5px;
}

/* アクセス方法 */
.l-access__directions {
    background: #eff5fd;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 4px solid #1d4e90;
}

.l-access__directions h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1d4e90;
}

.l-access__directions p {
    line-height: 1.8;
    color: #333;
}

/* Googleマップ埋め込み */
.l-access__map {
    margin-bottom: 30px;
}

.l-access__map iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.l-access__map-link-wrap {
    text-align: center;
    margin-top: 15px;
}

.l-access__map-link {
    display: inline-block;
    padding: 10px 20px;
    background: #4285f4;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.l-access__map-link:hover {
    background: #3367d6;
}

/* 院サイトリンク */
.l-access__links {
    text-align: center;
    margin-top: 30px;
}

.l-access__clinic-link {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(to top, #1d4e90, #3a7bc8);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px #0f2a4d;
    transition: all 0.15s ease;
    position: relative;
    top: 0;
}

.l-access__clinic-link:hover {
    background: linear-gradient(to top, #163a6b, #2d63a3);
}

.l-access__clinic-link:active {
    box-shadow: 0 2px #0f2a4d;
    top: 2px;
}

/* 院内写真ギャラリー（スライダー） */
.l-access__gallery {
    margin: 50px 0;
}

.l-access__gallery-title {
    font-size: 24px;
    font-weight: bold;
    color: #1d4e90;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #eff5fd;
    border-left: 5px solid #1d4e90;
    border-radius: 0 8px 8px 0;
}

/* Swiperスライダー */
.l-access__gallery-slider {
    position: relative;
    padding-bottom: 40px;
}

.l-access__gallery-slide {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.l-access__gallery-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.l-access__gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(29, 78, 144, 0.9);
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* Swiper ナビゲーション */
.l-access__gallery-slider .swiper-button-prev,
.l-access__gallery-slider .swiper-button-next {
    color: #1d4e90;
    background: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.l-access__gallery-slider .swiper-button-prev::after,
.l-access__gallery-slider .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

.l-access__gallery-slider .swiper-pagination-bullet {
    background: #1d4e90;
    opacity: 0.3;
}

.l-access__gallery-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* 道順ガイド */
.l-access__guide {
    margin: 50px 0;
    background: #f9fbfd;
    padding: 35px;
    border-radius: 12px;
}

.l-access__guide-title {
    font-size: 24px;
    font-weight: bold;
    color: #1d4e90;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #eff5fd;
    border-left: 5px solid #1d4e90;
    border-radius: 0 8px 8px 0;
}

.l-access__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.l-access__guide-step {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.l-access__guide-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1d4e90, #3a7bc8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.l-access__guide-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.l-access__guide-step-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.l-access__guide-step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.l-access__guide-step-text {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .l-access-header__title {
        font-size: 22px;
    }

    .l-access__select {
        gap: 8px;
    }

    .l-access__select-btn {
        padding: 12px 18px;
        font-size: 13px;
        box-shadow: 0 3px #585858;
    }

    .l-access__select-btn:active,
    .l-access__select-btn.is-active {
        box-shadow: 0 1px #0f2a4d;
        top: 2px;
    }

    .l-access__table th {
        width: 90px;
        font-size: 13px;
        padding: 12px 10px;
    }

    .l-access__table td {
        font-size: 14px;
        padding: 12px 10px;
    }

    .l-access__title {
        font-size: 20px;
    }

    .l-access__map iframe {
        height: 250px;
    }

    .l-access__clinic-link {
        padding: 14px 30px;
        font-size: 14px;
    }

    /* ギャラリー モバイル */
    .l-access__gallery {
        margin: 35px 0;
    }

    .l-access__gallery-title {
        font-size: 18px;
        padding: 12px 15px;
        margin-bottom: 20px;
    }

    .l-access__gallery-slide img {
        height: 200px;
    }

    .l-access__gallery-caption {
        font-size: 12px;
        padding: 10px 12px;
    }

    .l-access__gallery-slider .swiper-button-prev,
    .l-access__gallery-slider .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .l-access__gallery-slider .swiper-button-prev::after,
    .l-access__gallery-slider .swiper-button-next::after {
        font-size: 14px;
    }

    /* 道順ガイド モバイル */
    .l-access__guide {
        margin: 35px 0;
        padding: 20px 15px;
    }

    .l-access__guide-title {
        font-size: 18px;
        padding: 12px 15px;
        margin-bottom: 20px;
    }

    .l-access__guide-step {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
    }

    .l-access__guide-step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .l-access__guide-step-image {
        max-width: 100%;
    }

    .l-access__guide-step-text {
        font-size: 14px;
    }
}
