﻿@charset "UTF-8";

/* ==================================================
   ベース・共通パーツ
================================================== */
.access-page {
    color: #333;
    line-height: 1.6;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #f5f5f5;
    padding: 0px 0 80px;
}

.c-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.c-page-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #2CA5AC;
    /* デモサイトのブランドカラー想定 */
}

.c-section-title {
    font-size: 22px;
    font-weight: bold;
    border-left: 5px solid #2CA5AC;
    padding-left: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

.c-section-lead {
    font-size: 15px;
    margin-bottom: 20px;
}

.p-access-section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ボタン共通 */
.c-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s;
    border: none;
    font-size: 14px;
}

.c-btn:hover {
    opacity: 0.8;
}

.c-btn--primary {
    background-color: #2CA5AC;
    color: #fff;
    width: 100%;
    margin-bottom: 10px;
}

.c-btn--secondary {
    background-color: #fff;
    color: #2CA5AC;
    border: 1px solid #2CA5AC;
    width: 100%;
}

.c-btn--copy {
    background-color: #e0e0e0;
    color: #333;
    padding: 6px 12px;
    font-size: 12px;
    margin-left: 10px;
}

/* ==================================================
   1. ナビセット用（マップ・住所）
================================================== */

.p-access-nav__name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.p-access-nav__address-box {
    display: flex;
    max-width: 1200px;
    box-sizing: border-box;
    padding: 0;
    margin: auto 0 2em 0;
}

.p-access-nav__address-box_left {
    width: 50%;
    text-align: left;
    padding-right: 1.5em;
    box-sizing: border-box;
}

.p-access-nav__address-box_right {
    width: 50%;
    box-sizing: border-box;
    padding: 10px 20px;
}

.p-access-nav__address-box dl {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    border-top: 1px solid #ccc;
    border-bottom: none;
    font-size: .9em;
}

.p-access-nav__address-box dl dt {
    background: #f5f5f5;
    padding: 1em;
    width: 150px;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    font-weight: 600;
}

.p-access-nav__address-box dl dd {
    background: #fff;
    padding: 1em;
    width: calc(100% - 150px);
    border-bottom: 1px solid #ccc;
    margin: 0;
    box-sizing: border-box;
}

.p-access-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==================================================
   2. ルート予習用（動画）
================================================== */
.p-access-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.p-access-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* ==================================================
   3. 歩行確認用（ステップ画像）
================================================== */
.p-access-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.p-access-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.p-access-step__img {
    width: 40%;
    flex-shrink: 0;
}

.p-access-step__img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
}

.p-access-step__txt {
    width: 60%;
}

.p-access-step__num {
    display: inline-block;
    background-color: #2CA5AC;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* ==================================================
   4. 入館・構造把握用 & 5. 室内確認用
================================================== */
.p-access-building__3d,
.p-access-indoor {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

/* ==================================================
   6. 特定条件用（駐車場等）
================================================== */


/* ==================================================
   7. ビル（周辺）の特徴
================================================== */
.p-access-features__list {
    list-style: none;
    padding: 0;
}

.p-access-features__list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
}

.p-access-features__list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: #2CA5AC;
}

.p-access-features__img {
    display: flex;
    gap: 1em;
    padding: 20px 0;
    text-align: left;
    justify-content: space-between;
}

.p-access-features__img_left {
    width: 49%;
    flex-shrink: 0;
}

.p-access-features__img_right {
    width: 49%;
    flex-shrink: 0;
}

/* ==================================================
   レスポンシブ (スマホ向け調整)
================================================== */
@media screen and (min-width: 768px) {
    .p-access-nav__actions {
        flex-direction: row;
    }

    .c-btn--primary,
    .c-btn--secondary {
        width: auto;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .p-access-section {
        padding: 20px;
    }

    .p-access-step {
        flex-direction: column;
        gap: 15px;
    }

    .p-access-step__img,
    .p-access-step__txt {
        width: 100%;
    }

    .p-access-nav__address-box {
        display: flex;
        width: 100%;
        background-color: #fff;
        border-radius: 10px;
        box-sizing: border-box;
        padding: 0;
        flex-direction: column-reverse;
    }

    .p-access-nav__address-box dl {
        display: flex;
        align-items: stretch;
        width: 100%;
        border-top: 1px solid #ccc;
        border-bottom: none;
        font-size: .9em;
        flex-direction: column;
    }

    .p-access-nav__address-box dl dt {
        background: #f5f5f5;
        padding: 1em;
        width: 100%;
        border-bottom: 1px solid #ccc;
        box-sizing: border-box;
        font-weight: 600;
    }

    .p-access-nav__address-box dl dd {
        background: #fff;
        padding: 1em;
        width: 100%;
        border-bottom: 1px solid #ccc;
        margin: 0;
        box-sizing: border-box;
    }

    .c-btn--copy {
        margin-left: 0;
    }

    .p-access-nav__address-box_left {
        width: 100%;
        text-align: left;
        padding-right: 0em;
        box-sizing: border-box;
    }

    .p-access-nav__address-box_left p {
        font-size: .9em;
    }

    .p-access-nav__address-box_right {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .p-access-nav__actions {
        max-width: 83%
    }

    .c-section-title {
        font-size: 1.1em;
        font-weight: bold;
        border-left: 5px solid #2CA5AC;
        padding-left: 15px;
        margin-bottom: 20px;
        background-color: #fff;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .p-access-features__img {
        display: flex;
        gap: 1em;
        padding: 20px 0;
        text-align: left;
        justify-content: space-between;
        flex-direction: column;
    }

    .p-access-features__img_left {
        width: 100%;
        flex-shrink: 0;
    }

    .p-access-features__img_right {
        width: 100%;
        flex-shrink: 0;
    }


}

/* ==================================================
   アクセステキスト左寄せ
================================================== */
section.p-access-section h2 {
    text-align: left;
}

section.p-access-section {
    text-align: left;
}

/* ==================================================
   アクセス基本(元ソース参照分※後で消す)
================================================== */
#page_title {
    position: relative;
    z-index: 1000;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 0.5s;
    /* 秒数 = 1.0秒 */
}

#page_title.fixed {
    position: fixed;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 0.5s;
    /* 秒数 = 1.0秒 */
    background-color: #f5f5f5;
    width: 100%;
    border-bottom: 1px solid #ccc;
    border-top: 5px solid #2CA5AC;
}

#page_title p {
    display: block;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 1.0s;
    /* 秒数 = 1.0秒 */
}

#page_title.fixed p {
    display: none;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 1.0s;
    /* 秒数 = 1.0秒 */
}

#page_title .layout {
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
    position: relative;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 1.0s;
    /* 秒数 = 1.0秒 */
}

#page_title.fixed .layout {
    margin: 0 auto;
    padding: 0 2em;
    max-width: 100%;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 1.0s;
    /* 秒数 = 1.0秒 */
}

#page_title h2 {
    font-weight: normal;
    font-size: 2em;
    line-height: normal;
    font-weight: 600;
    text-align: left;
    display: inline-block;
    margin-right: 1em;
    margin-bottom: .5em;
    padding-bottom: 0;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 1.0s;
    /* 秒数 = 1.0秒 */
    color: #000;
}

#page_title.fixed h2 {
    font-weight: normal;
    font-size: 1.5em;
    line-height: normal;
    font-weight: 600;
    text-align: left;
    display: inline-block;
    margin-right: 1em;
    margin-bottom: .5em;
    padding-bottom: 0;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 1.0s;
    /* 秒数 = 1.0秒 */
    margin-top: 0;
    color: #333;
}

#page_title h2 span {
    font-family: 'Roboto', sans-serif;
    display: block;
    font-size: .6em;
    letter-spacing: .2em;
    color: #2CA5AC;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 0.2s;
    /* 秒数 = 1.0秒 */
}

#page_title.fixed h2 span {
    font-size: .5em;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 0.2s;
    /* 秒数 = 1.0秒 */
}

#page_title .h2_sub {
    display: inline-block;
    border-radius: 1em;
    border: 1px solid #aaa;
    padding: .3em 1.2em;
    font-size: 1em;
    margin: 0 .5em 0 0;
    background: #fff;
}

#page_title.fixed .h2_sub {
    display: none;
    transition-property: all;
    /* 適用対象 = なんでも */
    transition-duration: 1.0s;
    /* 秒数 = 1.0秒 */
}

#page_title .room_menu {
    position: absolute;
    right: 0;
}

#page_title.fixed .room_menu {
    right: 2em;
    top: 1em;
}

#page_title .room_menu ul {
    display: flex;
    justify-content: flex-end;
}

.room_menu li {
    margin-left: 0em;
}

#page_title .room_menu li a {
    padding-left: 1.5em;
    color: #000;
    font-weight: 500;
    font-size: .9em;
}

#page_title.fixed .room_menu li a {
    color: #333;
}

#page_title .room_menu li a:hover {
    color: #2ca5ac;
}

#page_title .room_menu li a:before {
    margin: 0 5px 0 0;
    position: relative;
    display: inline-block;
    font-size: 25px;
    transition: 0.3s;
    font-family: 'Material Symbols Outlined';
    content: '\e313';
    vertical-align: middle;
    color: #2ca5ac;
    font-weight: 800;
}

#page_title.fixed .room_menu li a:before {
    color: #2ca5ac;
}

/* ==================================================
   タブUI (.p-access-tabs)
================================================== */
.p-access-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid #2CA5AC;
}

.p-access-tabs__btn {
    flex: 1 1 auto;
    padding: 12px 20px;
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    border-bottom: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background-color 0.2s, color 0.2s;
    border-radius: 6px 6px 0 0;
    text-align: center;
    white-space: nowrap;
}

.p-access-tabs__btn:hover {
    background-color: #e0f5f6;
    color: #2CA5AC;
}

.p-access-tabs__btn.is-active {
    background-color: #fff;
    color: #2CA5AC;
    border-color: #2CA5AC;
    border-bottom: 2px solid #fff;
    margin-bottom: -2px;
    position: relative;
    z-index: 1;
}

/* タブパネル */
.p-access-tab-panel {
    display: none;
}

.p-access-tab-panel.is-active {
    display: block;
    animation: tabFadeIn 0.3s ease;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スマートフォン対応 (max-width: 767px) */
@media screen and (max-width: 767px) {
    .p-access-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        border-bottom: 2px solid #2CA5AC;
    }

    .p-access-tabs__btn {
        flex: 0 0 auto;
        min-width: 120px;
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* ==================================================
   ショート動画（縦長）用レイアウト
================================================== */
.p-access-shorts-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 動画エリア（左側） */
.p-access-shorts-layout__video {
    width: 300px;
    /* PC閲覧時の動画の最大幅 */
    max-width: 100%;
    flex-shrink: 0;
    aspect-ratio: 9 / 16;
    /* 縦長（ショート動画）の比率 */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.p-access-shorts-layout__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* テキストエリア（右側） */
.p-access-shorts-layout__text {
    flex-grow: 1;
}

.p-access-shorts-info {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 20px;
}

.p-access-shorts-info dl {
    margin: 0;
}

.p-access-shorts-info dt {
    font-weight: bold;
    color: #2CA5AC;
    margin-bottom: 5px;
    font-size: 1.05em;
}

.p-access-shorts-info dd {
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.p-access-shorts-info dd:last-child {
    margin-bottom: 0;
}

/* レスポンシブ (スマホ向け調整) */
@media screen and (max-width: 767px) {
    .p-access-shorts-layout {
        flex-direction: column;
        /* スマホ時は縦並び（動画→テキスト） */
        gap: 25px;
    }

    .p-access-shorts-layout__video {
        width: 100%;
        max-width: 320px;
        /* スマホ画面で大きくなりすぎないように制限 */
        margin: 0 auto;
        /* 中央寄せ */
    }

    .p-access-shorts-info {
        padding: 15px;
    }
}

/* 詳細ルートのリスト装飾（SEO・MEO対策用構造化） */
.p-access-shorts-route-list {
    margin: 0;
    padding-left: 20px;
}

.p-access-shorts-route-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.p-access-shorts-route-list li:last-child {
    margin-bottom: 0;
}

.p-access-shorts-route-list strong {
    color: #111;
    font-weight: bold;
}