/* ========================================================================== 
   アクセスページ専用スタイル (main-content-access.css)
   ※ルート図の詳細は access-route.css に集約
   ========================================================================== */

/* --- 1. ページヒーローエリア --- */
.page-hero {
    width: 100%;
    min-height: 200px;
    height: 12.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 140px; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.page-hero .hero-content {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.page-hero .section-title {
    color: #fff;
    font-size: 36px;
    margin: 0;
    line-height: 1.2;
}

.page-hero .section-title span {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-top: 5px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .page-hero { height: 200px; min-height: auto; margin-top: 60px; }
    .page-hero .section-title { font-size: 28px; }
}

/* --- 2. イントロダクション (H2見出しエリア) --- */
.section-padding-concept { 
    margin-top: 60px;
    margin-bottom: 40px;
    padding: 0 20px; 
}

.section-title-area {
    text-align: center;
}

/* 施設メインタイトル (HTMLではH2を想定) */
.main-facility-title {
    font-size: 32px;
    color: #0a6a80;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.main-facility-title span {
    display: block;
    font-size: 16px;
    color: #30c2c2;
    margin-top: 8px;
    text-transform: uppercase;
}

/* --- 2.5 イントロダクション (コンセプトボックス) --- */
.room-concept-box.facility-concept-box {
    background: linear-gradient(135deg, #0a6a80 0%, #064e5e 100%);
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 30px 0 10px; 
    margin-top: 40px;
    margin-bottom: 50px; 
    text-align: center;
}

.room-concept-box.facility-concept-box .section-title-area {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.room-concept-box.facility-concept-box .section-title-area::before {
    content: "QUALITY";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 160px;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

/* コンセプトボックス内の見出し (HTMLではH3) */
.room-concept-box.facility-concept-box .section-title {
    color: #ffffff !important;
    position: relative;
    z-index: 2;
    font-size: 40px;
    font-weight: bold;
    margin: 20px 0 0;
    display: inline-block;
}

.room-concept-box.facility-concept-box .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ec971f;
    margin: 10px auto 0;
}

.room-concept-box.facility-concept-box .concept-lead {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.7 !important; 
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
    font-size: 19px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .room-concept-box.facility-concept-box .section-title-area::before { font-size: 80px; }
    .room-concept-box.facility-concept-box .section-title { font-size: 28px; }
    .room-concept-box.facility-concept-box .concept-lead { font-size: 16px; margin-bottom: 15px; }
}

/* --- 3. Google Map セクション --- */
.map-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.google-map-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.google-map-wrapper iframe { display: block; }

.map-btn-area { text-align: center; margin-top: 20px; }

.btn-gmap {
    display: inline-block;
    background-color: #0a6a80;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-gmap:hover { background-color: #30c2c2; }


/* --- 画像マップエリアの装飾 (ボケ防止・完全版) --- */
.visual-map-area {
    margin-top: 60px;
    text-align: center;
}

.visual-map-header {
    margin-bottom: 25px;
}

.visual-map-header .sub-title {
    display: block;
    font-size: 12px;
    color: #30c2c2;
    letter-spacing: 0.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.visual-map-title {
    font-size: 24px;
    color: #0a6a80;
    font-weight: bold;
}

.visual-map-container {
    max-width: 900px;
    margin: 0 auto;
    background: #f8fcfc; 
    border: 1px solid #e0eeee;
    border-radius: 12px;
    padding: 60px 20px;  
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
    position: relative;
}

.visual-map-container a {
    display: inline-block;
    text-decoration: none;
    cursor: zoom-in;
}

.map-image {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border: 6px solid #fff;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual-map-container a:hover .map-image {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.map-zoom-label {
    display: inline-block;
    margin-top: 25px;
    background: #0a6a80;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 30px;
    transition: background 0.3s;
    box-shadow: 0 4px 10px rgba(10, 106, 128, 0.2);
}

.visual-map-container a:hover .map-zoom-label {
    background: #30c2c2;
}

@media (max-width: 768px) {
    .visual-map-area { margin-top: 40px; }
    .visual-map-container { padding: 40px 15px; }
    .visual-map-title { font-size: 20px; }
}


/* --- 4. 交通ルート詳細コンテナ --- */
.access-route-container {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
    clear: both;
}

.route-block {
    margin-top: 60px;
    margin-bottom: 80px;
    border-top: 2px solid #30c2c2;
    padding-top: 40px;
}

/* HTML側でH2に変更された場合でも対応 */
.route-header h2,
.route-header h3 {
    justify-content: center;
    font-size: 24px;
    color: #0a6a80;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.route-image { flex: 1; }
.route-image img { width: 100%; height: auto; border-radius: 4px; }
.route-details { flex: 1; }

.route-details dl dt {
    font-weight: bold;
    color: #0a6a80;
    font-size: 18px;
    margin-top: 15px;
}

.route-details dl dd {
    margin-left: 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}


/* ==========================================
   サービスセクション全体 (送迎・片送り)
   ========================================== */

.access-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    position: relative;
    background: #fff;
    padding: 45px 30px 30px;
    border-radius: 12px;
    border: 1px solid #e0eeee;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-tag {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 11px;
    font-weight: bold;
    color: #30c2c2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* 見出し (HTML側でH3/H4に変更された場合に対応) */
.service-item h3,
.service-item h4 {
    color: #0a6a80;
    font-size: 22px;
    margin: 0 0 18px 0;
    font-weight: bold;
    line-height: 1.4;
    border-bottom: 2px solid #f0fafa;
    padding-bottom: 15px;
    text-align: left;
}

.service-item h3 span,
.service-item h4 span {
    font-size: 15px;
    color: #d43f3a;
    font-weight: bold;
    display: inline-block;
    margin-left: 5px;
}

.service-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* --- 時刻表エリア --- */
.timetable-container {
    background: #fdfaf0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #faedc5;
}

.timetable-label {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #8a6d00;
    margin-bottom: 12px;
    text-align: center;
}

.time-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.time-chips span {
    background: #fff;
    color: #0a6a80;
    border: 1.5px solid #0a6a80;
    padding: 6px 14px;
    border-radius: 6px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: bold;
    font-size: 17px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.timetable-note {
    font-size: 16px;
    color: #8a6d00;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    line-height: 1.4;
}

/* --- 注意書きエリア --- */
.service-notes {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

.note {
    font-size: 16px !important;
    color: #555 !important;
    margin-bottom: 8px !important;
    position: relative;
    padding-left: 1.4em;
    text-align: left !important;
    line-height: 1.6;
}

.note::before {
    content: "※";
    position: absolute;
    left: 0;
    color: #d43f3a;
}

.service-img {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #eee;
}

.service-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.service-item.highlight {
    background: #fffefe;
    border: 2px solid #faedc5;
}

/* ==========================================
   レスポンシブ調整 (SP表示の識字・重なり対策)
   ========================================== */

@media (max-width: 900px) {
    .access-services {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-item {
        padding: 25px 20px 25px;
    }

    .service-tag {
        position: static; 
        margin-bottom: 12px;
        font-size: 12px;
        color: #30c2c2;
    }

    .service-item h3,
    .service-item h4 {
        font-size: 20px;
        margin-bottom: 15px;
        border-bottom-width: 1px;
    }

    .service-item h3 span,
    .service-item h4 span {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        font-size: 14px;
    }

    .service-desc {
        font-size: 15px;
        line-height: 1.7;
    }

    .time-chips span {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .note {
        font-size: 14px !important;
    }
    .timetable-note {
        font-size: 11px;
        margin-top: 12px;
    }
}

/* --- 5. アニメーション --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- 6. SP基本対応 --- */
@media (max-width: 768px) {
    .section-padding-concept { margin-top: 30px; }
    .main-facility-title { font-size: 26px; }
    .route-header h2,
    .route-header h3 { font-size: 20px; }
}


/* --- レイアウト：PC（横並び） --- */
.route-body-car {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}

/* --- 住所ボックス：デザイン強化版 --- */
.car-address-box {
    background: #ffffff;
    border-left: 5px solid #0a6a80; 
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    max-width: 450px;
    flex: 1;
    min-width: 320px;
    position: relative;
    overflow: hidden;
}

.car-address-box::after {
    content: "ACCESS";
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 60px;
    font-weight: bold;
    color: rgba(10, 106, 128, 0.03);
    z-index: 0;
}

.address-inner {
    position: relative;
    z-index: 1;
}

.hotel-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #30c2c2;
    margin-bottom: 5px;
    font-weight: bold;
    display: block;
}

/* 住所ボックス内見出し (H3/H4対応) */
.car-address-box h3,
.car-address-box h4 {
    color: #0a6a80;
    font-size: 22px;
    margin: 0 0 25px 0;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
}

.address-row {
    margin-bottom: 20px;
    font-style: normal;
    color: #444;
    line-height: 1.6;
}

.contact-group {
    background: #f9fdfd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-row:last-child { margin-bottom: 0; }

.contact-row .label {
    background: #0a6a80;
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 15px;
    width: 35px;
    text-align: center;
    font-weight: bold;
}

.contact-row strong a {
    color: #0a6a80;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    font-family: inherit;
}

.contact-row span {
    font-size: 16px;
    color: #555;
}

.car-address-box .note {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-address-box .note::before,
.car-address-box .note::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
    margin: 0 15px;
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
    .car-address-box {
        padding: 30px 20px;
        margin: 0 auto;
        max-width: 100%;
    }
    .contact-row strong a {
        font-size: 18px;
    }
    .route-body-car {
        flex-direction: column;
        gap: 30px;
    }
    .car-address-box {
        width: 100%;
        max-width: 340px;
        padding: 20px;
        margin: 0 auto;
    }
}