@charset "UTF-8";

/* =========================================================
   下層ページ メインビジュアル (Sub Hero)
========================================================= */
.p-sub-hero {
    position: relative;
    width: 100%;
    height: 395px;
    padding-top: 75px;
    background-color: var(--color-main);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
}

.p-sub-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.p-sub-hero__inner {
    position: relative;
    z-index: 2;
    transform: translateY(10px);
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    100% { transform: translateY(0); opacity: 1; }
}

.p-sub-hero__title {
    font-family: var(--font-english);
    font-size: 2.8rem;
    font-weight: normal;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.p-sub-hero__en {
    display: block;
    font-family: var(--font-english);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media screen and (max-width: 768px) {
    .p-sub-hero { height: 280px; padding-top: 60px; }
    .p-sub-hero__title { font-size: 1.8rem; }
    .p-sub-hero__en { font-size: 0.9rem; }
}

/* =========================================================
   アクセス ページ固有スタイル
========================================================= */
.p-access-section {
    padding: 80px 0;
}

.p-access-intro {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 60px;
    text-align: center;
}

/* 各セクションブロック（グレー枠なし、下部区切り線） */
.p-access-block {
    margin-bottom: 60px;
    border: none;
    background-color: transparent;
    padding: 0;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 60px;
}
.p-access-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* タイトルの左側に細く縦に四角い棒をつける装飾 */
.p-access-heading {
    position: relative;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-main);
    padding-left: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-main);
    padding-bottom: 12px;
}
.p-access-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 15px;
    width: 4px;
    background-color: var(--color-main);
    border-radius: 2px;
}

/* Googleマップ埋め込みラッパー */
.p-access-map {
    width: 100%;
    height: 450px;
    margin-bottom: 40px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.p-access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* インフォメーションテーブル（所在地・電話番号など） */
.p-access-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p-access-info__row {
    display: flex;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eaeaea;
}
.p-access-info__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.p-access-info__label {
    position: relative;
    width: 190px;
    flex-shrink: 0;
    font-weight: bold;
    color: var(--color-main);
    padding-left: 28px; /* アイコン表示用の左側余白 */
}

/* 各種アイコンの背景設定 */
.p-access-info__label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.p-access-info__label.is-map::before {
    background-image: url('/demo/sakura/assets/img/common/icon_map.png');
}
.p-access-info__label.is-tel::before {
    background-image: url('/demo/sakura/assets/img/common/icon_tel.png');
}
.p-access-info__label.is-train::before {
    background-image: url('/demo/sakura/assets/img/common/icon_train.png');
}
.p-access-info__label.is-bus::before {
    background-image: url('/demo/sakura/assets/img/common/icon_bus.png');
}
.p-access-info__label.is-car::before {
    background-image: url('/demo/sakura/assets/img/common/icon_car.png');
}

.p-access-info__data {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* 道順案内（2カラムグリッド） */
.p-access-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.p-access-step__item {
    background-color: var(--color-bg);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #eaeaea;
}

.p-access-step__img {
    margin-bottom: 15px;
}
.p-access-step__img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.p-access-step__desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

@media screen and (max-width: 768px) {
    .p-access-section { padding: 40px 0; }
    .p-access-intro { text-align: left; margin-bottom: 40px; }
    .p-access-block { padding-bottom: 40px; margin-bottom: 40px; }
    .p-access-heading { font-size: 1.15rem; }
    .p-access-map { height: 320px; }
    
    .p-access-info__row {
        flex-direction: column;
        gap: 5px;
    }
    .p-access-info__label {
        width: 100%;
    }
    
    .p-access-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}