/*
Theme Name: Reference Facility
Description: 貸会議室サイト共通の表示テーマです。拠点固有値はMUプラグインから取得します。
Version: 0.8.1
Requires PHP: 7.4
Text Domain: reference-facility
*/

:root {
    --reference-facility-primary: #163248;
}

/* ===== BEGIN Vendor font definitions (remote font binaries retained) ===== */
/* Source: https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/roboto/v51/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWub2bWmT.ttf) format('truetype');
}

/* Source: https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v56/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFBEi75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v56/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFJEj75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v56/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFE8j75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v56/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFBEj75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v56/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFCMj75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v56/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFM8k75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v56/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFPYk75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v56/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFJEk75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v56/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFLgk75s.ttf) format('truetype');
}

/* Source: https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@40,100,0,200 */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v374/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1i-q_4MrImHCIJIZrDCvHeem.ttf) format('truetype');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
}
/* ===== END Vendor font definitions (remote font binaries retained) ===== */


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

:where(.reference-view-access) .c-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

:where(.reference-view-access) .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;
}

:where(.reference-view-access) .c-section-lead {
    font-size: 15px;
    margin-bottom: 20px;
}

:where(.reference-view-access) .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);
}

:where(.reference-view-access) .p-access-intro {
    margin: 0 0 30px;
    padding: 22px 26px;
    border-left: 5px solid #2CA5AC;
    background: #fff;
    text-align: left;
    line-height: 1.9;
}

:where(.reference-view-access) .p-access-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px dashed #cbd5d7;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fafb, #eef3f4);
    color: #7b898c;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
}

:where(.reference-view-access) .p-access-placeholder--video {
    min-height: 530px;
    box-shadow: none;
}

:where(.reference-view-access) .p-access-placeholder--step {
    min-height: 230px;
}

:where(.reference-view-access) .p-access-placeholder--wide {
    width: 100%;
    min-height: 360px;
    margin-bottom: 20px;
}

:where(.reference-view-access) .p-access-floor-image {
    width: 100%;
    margin: 0 0 20px;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #dfe6e7;
    border-radius: 8px;
    background: #fff;
}

:where(.reference-view-access) .p-access-floor-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

:where(.reference-view-access) .p-access-placeholder--panorama {
    min-height: 480px;
}

:where(.reference-view-access) .p-access-placeholder--feature {
    min-height: 360px;
    margin-bottom: 24px;
}

:where(.reference-view-access) .p-access-actions--spaced {
    margin-bottom: 28px;
}

:where(.reference-view-access) .p-access-parking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

:where(.reference-view-access) .p-access-info-frame {
    min-height: 180px;
    padding: 24px;
    border: 1px solid #dfe6e7;
    border-radius: 8px;
    background: #fafcfc;
    text-align: left;
}

:where(.reference-view-access) .p-access-info-frame h3 {
    margin: 0 0 12px;
    color: #2CA5AC;
    font-size: 18px;
}

:where(.reference-view-access) .p-access-info-frame span {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    background: #e7eff0;
    color: #66777a;
    font-size: 12px;
    font-weight: 700;
}

:where(.reference-view-access) .access-page a:not(.c-btn) {
    color: #238f96;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    :where(.reference-view-access) .p-access-floor-image {
        padding: 4px;
    }

    :where(.reference-view-access) .p-access-placeholder--video,
:where(.reference-view-access) .p-access-placeholder--wide,
:where(.reference-view-access) .p-access-placeholder--panorama,
:where(.reference-view-access) .p-access-placeholder--feature {
        min-height: 280px;
    }

    :where(.reference-view-access) .p-access-placeholder--step {
        min-height: 190px;
    }

    :where(.reference-view-access) .p-access-parking-grid {
        grid-template-columns: 1fr;
    }
}

/* ボタン共通 */
:where(.reference-view-access) .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;
}

:where(.reference-view-access) .c-btn:hover {
    opacity: 0.8;
}

:where(.reference-view-access) .c-btn--primary {
    background-color: #2CA5AC;
    color: #fff;
    width: 100%;
    margin-bottom: 10px;
}

:where(.reference-view-access) .c-btn--secondary {
    background-color: #fff;
    color: #2CA5AC;
    border: 1px solid #2CA5AC;
    width: 100%;
}

:where(.reference-view-access) .c-btn--copy {
    background-color: #e0e0e0;
    color: #333;
    padding: 6px 12px;
    font-size: 12px;
    margin-left: 10px;
}

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

:where(.reference-view-access) .p-access-nav__name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

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

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

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

:where(.reference-view-access) .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;
}

:where(.reference-view-access) .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;
}

:where(.reference-view-access) .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;
}

:where(.reference-view-access) .p-access-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

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

:where(.reference-view-access) .p-access-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

:where(.reference-view-access) .p-access-step__img {
    width: 40%;
    flex-shrink: 0;
}

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

:where(.reference-view-access) .p-access-step__txt {
    width: 60%;
}

:where(.reference-view-access) .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. 室内確認用
================================================== */
:where(.reference-view-access) .p-access-building__3d,
:where(.reference-view-access) .p-access-indoor {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

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


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

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

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

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

:where(.reference-view-access) .p-access-features__img_left {
    width: 49%;
    flex-shrink: 0;
}

:where(.reference-view-access) .p-access-features__img_right {
    width: 49%;
    flex-shrink: 0;
}

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

    :where(.reference-view-access) .c-btn--primary,
:where(.reference-view-access) .c-btn--secondary {
        width: auto;
        margin-bottom: 0;
    }
}

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

    :where(.reference-view-access) .p-access-step {
        flex-direction: column;
        gap: 15px;
    }

    :where(.reference-view-access) .p-access-step__img,
:where(.reference-view-access) .p-access-step__txt {
        width: 100%;
    }

    :where(.reference-view-access) .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;
    }

    :where(.reference-view-access) .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;
    }

    :where(.reference-view-access) .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;
    }

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

    :where(.reference-view-access) .c-btn--copy {
        margin-left: 0;
    }

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

    :where(.reference-view-access) .p-access-nav__address-box_left p {
        font-size: .9em;
    }

    :where(.reference-view-access) .p-access-nav__address-box_right {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    :where(.reference-view-access) .p-access-nav__actions {
        max-width: 83%
    }

    :where(.reference-view-access) .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;
    }

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

    :where(.reference-view-access) .p-access-features__img_left {
        width: 100%;
        flex-shrink: 0;
    }

    :where(.reference-view-access) .p-access-features__img_right {
        width: 100%;
        flex-shrink: 0;
    }


}

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

:where(.reference-view-access) section.p-access-section {
    text-align: left;
}

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

:where(.reference-view-access) #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;
}

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

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

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

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

:where(.reference-view-access) #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;
}

:where(.reference-view-access) #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;
}

:where(.reference-view-access) #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秒 */
}

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

:where(.reference-view-access) #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;
}

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

:where(.reference-view-access) #page_title .room_menu {
    position: absolute;
    right: 0;
}

:where(.reference-view-access) #page_title.fixed .room_menu {
    right: 2em;
    top: 1em;
}

:where(.reference-view-access) #page_title .room_menu ul {
    display: flex;
    justify-content: flex-end;
}

:where(.reference-view-access) .room_menu li {
    margin-left: 0em;
}

:where(.reference-view-access) #page_title .room_menu li a {
    padding-left: 1.5em;
    color: #000;
    font-weight: 500;
    font-size: .9em;
}

:where(.reference-view-access) #page_title.fixed .room_menu li a {
    color: #333;
}

:where(.reference-view-access) #page_title .room_menu li a:hover {
    color: #2ca5ac;
}

:where(.reference-view-access) #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;
}

:where(.reference-view-access) #page_title.fixed .room_menu li a:before {
    color: #2ca5ac;
}

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

:where(.reference-view-access) .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;
}

:where(.reference-view-access) .p-access-tabs__btn:hover {
    background-color: #e0f5f6;
    color: #2CA5AC;
}

:where(.reference-view-access) .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;
}

/* タブパネル */
:where(.reference-view-access) .p-access-tab-panel {
    display: none;
}

:where(.reference-view-access) .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) {
    :where(.reference-view-access) .p-access-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        border-bottom: 2px solid #2CA5AC;
    }

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

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

/* 動画エリア（左側） */
:where(.reference-view-access) .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);
}

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

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

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

:where(.reference-view-access) .p-access-shorts-info dl {
    margin: 0;
}

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

:where(.reference-view-access) .p-access-shorts-info dd {
    margin: 0 0 20px 0;
    line-height: 1.6;
}

:where(.reference-view-access) .p-access-shorts-info dd:last-child {
    margin-bottom: 0;
}

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

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

    :where(.reference-view-access) .p-access-shorts-info {
        padding: 15px;
    }
}

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

:where(.reference-view-access) .p-access-shorts-route-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

:where(.reference-view-access) .p-access-shorts-route-list li:last-child {
    margin-bottom: 0;
}

:where(.reference-view-access) .p-access-shorts-route-list strong {
    color: #111;
    font-weight: bold;
}
:where(.reference-view-access) .p-access-floor-image {
    width: 100%;
    margin: 24px 0;
    text-align: center;
}

:where(.reference-view-access) .p-access-floor-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* ===== END Access page — formerly access.css ===== */


/* ===== BEGIN Availability app — reservation CSS in original order ===== */
/* ===== BEGIN reservation/style.css ===== */
.reservation-app{--ink:#17342d;--green:#176b58;--mint:#daf0e8;--cream:#f5f1e8;--coral:#ef765f;--line:#d9e2de;--muted:#687873;background:#fafbf9;color:var(--ink);font-family:"Yu Gothic",Meiryo,sans-serif}
@scope (#reservationApp){*{box-sizing:border-box}:scope{margin:0;background:#fafbf9;color:var(--ink);font-family:"Yu Gothic",Meiryo,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand>i{display:grid;place-items:center;width:38px;height:38px;border:2px solid var(--green);color:var(--green);font:800 23px Georgia;border-radius:50%}.brand b{font:800 112px Arial;letter-spacing:.16em}.brand small{display:block;color:var(--muted);font-size:12px;letter-spacing:.11em}.tel{font-size:12px;color:var(--muted)}.tel b{margin-left:10px;color:var(--green);font-size:17px}.hero{padding:52px 7vw 0;background:linear-gradient(116deg,#eff7f3 0 60%,#e1eee8 60%)}.hero>small,.heading small{color:var(--coral);font:bold 12px Arial;letter-spacing:.18em}.hero h1{font-size:clamp(38px,5vw,62px);line-height:1.17;margin:12px 0}.hero h1 em{font-style:normal;color:var(--green)}.hero>p{color:var(--muted);font-size:14px;line-height:1.8}.hero nav{display:flex;max-width:820px;margin-top:38px}.hero nav button{flex:1;border:0;border-bottom:3px solid transparent;background:#ffffff88;padding:17px;text-align:left;color:#81908b;font-weight:bold}.hero nav button i{display:block;font-style:normal;font:700 12px Arial}.hero nav button.on{background:#fff;color:var(--green);border-color:var(--coral)}main{max-width:1500px;margin:auto;padding:55px 5vw 90px}.heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px}.heading h2{font-size:clamp(25px,3vw,36px);margin:6px 0 0}.heading p{color:var(--muted);font-size:12px}.dateNav{display:grid;grid-template-columns:repeat(3,auto) minmax(220px,1fr) repeat(3,auto);gap:8px;background:#fff;padding:9px;border:1px solid var(--line);border-radius:14px}.dateNav button{border:0;background:#f4f7f5;color:var(--green);padding:10px;border-radius:8px}.dateNav label{text-align:center;position:relative}.dateNav label small{display:block;color:var(--muted)}.dateNav input{position:absolute;inset:0;opacity:0}.dateNav strong{font-size:18px}.legend{display:flex;gap:24px;align-items:center;padding:17px 4px;font-size:12px;color:var(--muted)}.legend i{font-style:normal;background:#eee;padding:5px 8px;border-radius:5px}.legend .ok{background:var(--mint);color:var(--green)}.legend>b{margin-left:auto;background:#fff0e8;color:#9b4c32;padding:8px 12px;border-radius:20px}.tableWrap{position:relative;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 15px 50px #17342d16}table{border-collapse:separate;border-spacing:0;min-width:1250px;width:100%;font-size:12px}th,td{border-right:1px solid #edf0ee;border-bottom:1px solid #edf0ee;padding:0;text-align:center}thead th{height:45px;background:#f4f7f5;color:var(--muted);font-weight:normal}thead th:first-child,tbody th{position:sticky;left:0;z-index:3;width:154px;min-width:154px}thead th:first-child{background:var(--ink);color:#fff;z-index:4}tbody th{background:#fff;text-align:left;padding:11px 15px}tbody th b{font-size:14px}tbody th small{display:block;color:var(--muted)}td button{border:0;width:100%;height:48px;background:transparent;color:var(--green)}td button.busy,td button.hold{background:#f5f6f5;color:#97a39f}td button.selected{background:var(--green);color:#fff}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#ffffffcc;color:var(--green);font-weight:bold}#selection{position:sticky;bottom:15px;max-width:720px;margin:24px auto 0;background:var(--ink);color:#fff;border-radius:14px;padding:17px 20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 14px 40px #0d2c2350}#selection div{display:flex;gap:15px;align-items:baseline}#selection small{color:#aac0ba}#selection strong{font-size:19px}#selection button,.action button,.submit{border:0;background:var(--coral);color:#fff;padding:15px 20px;border-radius:8px;font-weight:bold}.equipmentLayout{display:grid;grid-template-columns:240px 1fr;gap:24px}#bookingTabs{display:flex;flex-direction:column;gap:9px}#bookingTabs button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:15px;text-align:left}#bookingTabs button.on{background:var(--mint);border-color:var(--green)}#bookingTabs b,#bookingTabs span,#bookingTabs small{display:block}#bookingTabs span,#bookingTabs small{color:var(--muted);font-size:12px}#bookingTabs .add{text-align:center;color:var(--green);border-style:dashed}.equipmentPanel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}#categories{display:flex;overflow:auto;border-bottom:1px solid var(--line)}#categories button{white-space:nowrap;border:0;border-bottom:3px solid transparent;background:#fff;padding:18px 15px;color:var(--muted)}#categories button.on{color:var(--green);border-color:var(--coral);font-weight:bold}#equipmentGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:22px}#equipmentGrid article{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:15px}#equipmentGrid article>i{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#eef7f3;color:var(--green)}#equipmentGrid small{display:block;color:var(--muted)}.counter{display:flex;border:1px solid var(--line);border-radius:7px;overflow:hidden}.counter button{border:0;background:#f4f7f5;width:30px;height:30px;color:var(--green)}.counter strong{width:30px;text-align:center;padding-top:6px}.action{margin-top:28px;background:var(--ink);color:#fff;border-radius:14px;padding:20px;display:flex;justify-content:flex-end;align-items:center;gap:35px}.action small{display:block;color:#aac0ba}.action strong{font-size:27px}.confirm{display:grid;grid-template-columns:1.2fr .8fr;gap:28px}.summary{position:relative;display:grid;grid-template-columns:42px 1fr auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 40px 19px 18px;margin-bottom:10px}.summary>i{font:700 25px Georgia;color:#b8c6c1}.summary h3{margin:4px 0}.summary h3 em{font-style:normal;color:var(--muted);font-size:12px}.summary>strong{text-align:right}.summary>strong small{display:block;color:var(--muted)}.summary>button{position:absolute;right:8px;top:8px;border:0;background:none}.total{background:var(--ink);color:#fff;border-radius:12px;padding:22px;display:flex;justify-content:space-between}.total span small{display:block;color:#aac0ba}.total strong{font-size:28px}.confirm ul{color:var(--muted);font-size:12px;line-height:1.9}.confirm form{background:#fff;border:1px solid var(--line);border-radius:14px;padding:27px;box-shadow:0 18px 60px #17342d18}.confirm form h3{margin-top:0}.confirm label{display:block;font-size:12px;font-weight:bold;margin-bottom:15px}.confirm label em{color:var(--coral);font-style:normal}.confirm input,.confirm select,.confirm textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--line);border-radius:7px;padding:12px;background:#fbfcfb}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.confirm .agree{display:flex;gap:8px;align-items:center}.confirm .agree input{width:auto;margin:0}.submit{width:100%}#formMessage{text-align:center;color:var(--green)}footer{display:flex;align-items:center;gap:50px;padding:35px 5vw;background:#e8f1ed;color:var(--muted);font-size:12px}footer>a{margin-left:auto;color:var(--green);font-size:20px;font-weight:bold}#toast{position:fixed;top:90px;left:50%;transform:translateX(-50%);z-index:10;background:var(--ink);color:#fff;border-radius:30px;padding:13px 22px;box-shadow:0 10px 30px #0003}
@media(max-width:850px){.dateNav{grid-template-columns:repeat(3,1fr)}.dateNav label{grid-column:1/-1;grid-row:1}.equipmentLayout,.confirm{grid-template-columns:1fr}#bookingTabs{flex-direction:row;overflow:auto}#bookingTabs button{min-width:180px}#equipmentGrid{grid-template-columns:1fr}.heading{display:block}.two{grid-template-columns:1fr}}@media(max-width:560px){header{height:64px}.tel{font-size:0}.tel b{font-size:12px}.hero{padding:35px 20px 0}.hero h1{font-size:36px}.hero nav button{padding:12px 7px;font-size:12px}main{padding:40px 14px 65px}.legend{gap:8px;flex-wrap:wrap}.legend>b{margin-left:0}#selection{bottom:7px;z-index:8;align-items:stretch;flex-direction:column;gap:12px}#selection div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;column-gap:10px;row-gap:3px}#selection div small{grid-column:1/-1}#selection strong{min-width:0;overflow-wrap:anywhere}#selection button{width:100%;font-size:12px}.action{justify-content:space-between;gap:8px}.summary{grid-template-columns:32px 1fr}.summary>strong{grid-column:2;text-align:left}footer{flex-wrap:wrap;gap:18px}footer>a{margin-left:0}}

}
/* ===== END reservation/style.css ===== */


/* ===== BEGIN reservation/enhancements.css ===== */
@scope (#reservationApp){
#loading[hidden], [hidden] { display: none !important; }
.dateArea { position: relative; }
.dateCurrent { text-align:center; min-width:220px; padding:5px 12px; }
.dateCurrent small { display:block; color:var(--muted); font-size:12px; }
.dateCurrent strong { font-size:18px; }
.calendarButton { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; margin-top:9px; padding:13px; border:1px solid var(--green); border-radius:10px; background:#fff; color:var(--green); font-weight:bold; }
.calendarButton span { font-size:20px; }
.calendarPopover { position:absolute; z-index:10000; left:50%; bottom:55px; transform:translateX(-50%); width:min(390px,calc(100vw - 32px)); padding:18px; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 24px 70px #17342d33; }
.calendarPopover:after { content:""; position:absolute; left:50%; bottom:-9px; width:16px; height:16px; transform:translateX(-50%) rotate(45deg); background:#fff; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.calendarHead { display:flex; align-items:center; justify-content:space-between; margin-bottom:13px; }
.calendarHead button { width:34px; height:34px; border:0; border-radius:50%; background:#f1f7f4; color:var(--green); }
.calendarWeek,.calendarGrid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; text-align:center; }
.calendarWeek { color:var(--muted); font-size:12px; margin-bottom:5px; }
.calendarWeek span:first-child { color:#cf4e43; }.calendarWeek span:last-child { color:#3978b7; }
.calendarGrid button,.calendarGrid i { display:grid; place-items:center; aspect-ratio:1; border:0; border-radius:50%; background:transparent; font-style:normal; }
.calendarGrid button:hover { background:var(--mint); }.calendarGrid button.sun,.calendarGrid button.holidayDay { color:#cf4e43; }.calendarGrid button.sat { color:#3978b7; }
.calendarGrid button.selectedDay { background:var(--green); color:#fff; font-weight:bold; }.calendarGrid button.today { box-shadow:inset 0 0 0 1px var(--coral); }
.calendarGrid button:disabled { color:#c7cecb; }.calendarLegend { margin-top:12px; text-align:right; color:var(--muted); font-size:12px; }.calendarLegend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin:0 4px 0 10px}.calendarLegend .sun{background:#cf4e43}.calendarLegend .sat{background:#3978b7}
#schedule thead th.hourHead { background:#eef4f1; color:var(--ink); font-size:12px; font-weight:bold; border-right:1px solid #cbd8d3; }
#schedule .openingBlocked { display:grid; place-items:center; width:100%; height:48px; background:#f5f6f5; color:#97a39f; font-weight:bold; user-select:none; }
.equipmentLayout { gap:22px; align-items:start; }
#bookingTabs { position:relative; z-index:2; }
#bookingTabs .bookingTab { overflow:hidden; border:1px solid var(--line); border-radius:12px; margin:0; background:#fff; }
#bookingTabs .bookingTab.on { position:relative; border-color:var(--green); background:#fff; box-shadow:0 8px 24px #17342d16; }
#bookingTabs .bookingTab.on:before { content:""; position:absolute; z-index:2; left:0; top:12px; bottom:12px; width:4px; border-radius:4px; background:var(--coral); }
#bookingTabs .bookingTabMain { display:block; width:100%; margin:0!important; padding:15px!important; border:0!important; border-radius:0!important; background:#fff!important; color:var(--ink); text-align:left; box-shadow:none!important; }
#bookingTabs .bookingDelete { width:100%; margin:0!important; padding:9px 12px!important; border:0!important; border-top:1px solid var(--line)!important; border-radius:0!important; background:#fff6f1!important; color:#9b4c32; font-size:12px; font-weight:bold; text-align:center; }
#bookingTabs .bookingDelete:hover { background:#ffe9df!important; }
#bookingTabs>.add { border-radius:12px; margin:0; }
.rateBreakdown { display:grid!important; grid-template-columns:1fr; gap:3px; margin-top:7px; color:var(--muted); font-size:12px; font-weight:normal; line-height:1.35; }
.rateBreakdown>span { display:block; }
.rateBreakdown small { display:inline!important; margin-left:5px; color:#8a9893; font-size:12px; }
.equipmentRateTotal { min-width:190px; text-align:right; }
.equipmentRateTotal>strong { display:block; color:var(--green); font-size:23px; }
.equipmentRateTotal>strong small { display:block; }
.equipmentRateTotal .rateBreakdown { justify-items:end; }
.equipmentPanel { border-radius:14px; min-height:420px; box-shadow:0 12px 35px #17342d0c; }
#equipmentRoomSummary { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:20px 24px; background:#f1f8f5; border-bottom:1px solid var(--line); }
#equipmentRoomSummary div small,#equipmentRoomSummary strong small { display:block; color:var(--muted); font-size:12px; }
#equipmentRoomSummary h3 { margin:3px 0 0; font-size:22px; }
#equipmentRoomSummary .editingBadge { display:inline-block; padding:4px 9px; border-radius:20px; background:var(--green); color:#fff; font-size:12px; font-weight:bold; }
.roomBreakdown { display:flex; gap:14px; margin-top:5px; color:var(--muted); font-size:12px; }
.quoteButton { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; margin-top:10px; padding:15px; border:1px solid var(--green); border-radius:8px; background:#fff; color:var(--green); font-weight:bold; }
.quoteButton:hover { background:#edf8f3; }.quoteButton:disabled { opacity:.55; }
.headingActions { display:flex; align-items:center; gap:16px; }
.headingActions p { margin:0; color:var(--muted); font-size:12px; }
.headingQuoteButton { display:flex; align-items:center; gap:7px; padding:11px 15px; border:1px solid var(--green); border-radius:8px; background:#fff; color:var(--green); font-size:12px; font-weight:bold; white-space:nowrap; }
.headingQuoteButton:hover { background:#edf8f3; }
.quoteDialog { width:min(520px,calc(100vw - 28px)); padding:0; border:0; border-radius:16px; color:var(--ink); box-shadow:0 30px 90px #102b2455; }
.quoteDialog::backdrop { background:#102b2477; backdrop-filter:blur(3px); }
.quoteDialog form { position:relative; padding:28px; }
.quoteDialog form>small { color:var(--coral); font:700 12px Arial; letter-spacing:.16em; }
.quoteDialog h3 { margin:5px 0 8px; font-size:23px; }
.quoteDialog form>p { margin:0 0 20px; color:var(--muted); font-size:12px; line-height:1.7; }
.quoteDialog label { display:block; margin-top:14px; font-size:12px; font-weight:bold; }
.quoteDialog label em { color:var(--muted); font-size:12px; font-style:normal; }
.quoteDialog input { display:block; width:100%; margin-top:7px; padding:12px; border:1px solid var(--line); border-radius:8px; }
.dialogClose { position:absolute; top:14px; right:14px; width:34px; height:34px; border:0; border-radius:50%; background:#f2f5f3; color:var(--muted); font-size:18px; }
.dialogActions { display:flex; justify-content:flex-end; gap:9px; margin-top:22px; }
.dialogActions button { padding:12px 16px; border-radius:8px; font-weight:bold; }
.dialogCancel { border:1px solid var(--line); background:#fff; color:var(--muted); }
.dialogDownload { border:0; background:var(--coral); color:#fff; }
.dialogDownload:disabled { opacity:.55; }
.quoteDialog .dialogMessage { margin:10px 0 0; color:#9b4c32; text-align:right; }
@media(max-width:850px){.dateCurrent{grid-column:1/-1;grid-row:1}.headingActions{align-items:flex-start;flex-direction:column;gap:9px;margin-top:12px}.equipmentLayout{gap:16px}#bookingTabs .bookingTab{min-width:210px;border-radius:10px;margin-right:0}#bookingTabs>.add{border-radius:10px;margin-right:0}.equipmentPanel{border-radius:14px}#equipmentRoomSummary{padding:16px}#equipmentRoomSummary h3{font-size:18px}}

/* 空室時間の開始点と終了候補を見分けやすくする */
#schedule td button { transition:background-color .16s ease,color .16s ease,box-shadow .16s ease; }
#schedule td button.free:hover { background:#edf8f3; }
#schedule td button.rangePreview { background:var(--mint); color:var(--green); font-weight:bold; }
#schedule td button.selectedStart { background:#fff6f1; color:var(--green); font-weight:bold; box-shadow:inset 0 0 0 3px var(--coral); }
#schedule td button.rangeHover { box-shadow:inset 0 0 0 2px var(--green); }
#schedule td button.inCart { background:#fff0e8; color:#9b4c32; font-size:12px; font-weight:bold; line-height:1.1; }
.legend i.cart { min-width:43px; background:#fff0e8; color:#9b4c32; font-size:12px; font-weight:bold; }

/* 設定ファイルで差し替え可能な会議室・備品サムネイル */
#schedule thead th:first-child,#schedule tbody th { width:218px; min-width:218px; }
.roomIdentity { display:flex; align-items:center; gap:10px; }
.roomIdentity>img { width:58px; height:40px; flex:none; border-radius:7px; object-fit:cover; background:#edf3f0; }
.roomIdentity>span { min-width:0; }
.roomIdentity b,.roomIdentity small { display:block; }
.tabRoom { display:flex!important; align-items:center; gap:9px; margin-bottom:7px; }
.tabRoom>img { width:50px; height:36px; flex:none; border-radius:7px; object-fit:cover; background:#edf3f0; }
.tabRoom>span { min-width:0; }
.equipmentRoom { display:flex; align-items:center; gap:13px; }
.equipmentRoom>img { width:82px; height:56px; flex:none; border-radius:9px; object-fit:cover; background:#e4efea; }
.equipmentRoom small { display:block; color:var(--muted); font-size:12px; }
#equipmentGrid article { grid-template-columns:82px 1fr auto; }
#equipmentGrid .equipmentThumb { width:82px; height:58px; border-radius:9px; object-fit:cover; background:#edf3f0; }
#equipmentGrid .roomOnly { display:inline-block; margin:4px 0 2px; padding:2px 6px; border-radius:10px; background:#fff0e8; color:#9b4c32; font-size:12px; font-weight:bold; }
.equipmentCheck { display:flex; align-items:center; justify-content:center; gap:8px; min-width:112px; padding:11px 13px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font-size:12px; font-weight:bold; cursor:pointer; }
.equipmentCheck:has(input:checked) { border-color:var(--green); background:#edf8f3; color:var(--green); }
.equipmentCheck input { width:17px; height:17px; accent-color:var(--green); }
.equipmentSelect { width:160px; max-width:100%; padding:11px 30px 11px 11px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font-size:12px; }
.equipmentSelectWrap { width:min(100%,360px); }
.equipmentSelectWrap .equipmentSelect { width:100%; }
.equipmentSelectWrap p { margin:7px 0 0; padding:8px 10px; border-radius:6px; background:#f1f7f4; color:#52615b; font-size:12px; line-height:1.55; }
#equipmentGrid article.wideEquipment { grid-column:1/-1; grid-template-columns:82px minmax(180px,.7fr) minmax(420px,1.3fr); align-items:start; }
#equipmentGrid article.wideEquipment>div:nth-child(2) { min-width:0; padding-top:7px; }
#equipmentGrid article.wideEquipment .equipmentSelectWrap { width:100%; }
#equipmentGrid article.wideEquipment .equipmentSelect { font-size:13px; }
.singleCheckGroup { display:grid; grid-template-columns:1fr 1fr; gap:9px; width:100%; }
.singleCheckOption { display:grid; grid-template-columns:20px 1fr; gap:8px; min-width:0; padding:11px 12px; border:1px solid var(--line); border-radius:9px; background:#fff; cursor:pointer; }
.singleCheckOption:has(input:checked) { border-color:var(--green); background:#edf8f3; box-shadow:inset 3px 0 0 var(--green); }
.singleCheckOption input { width:17px; height:17px; margin-top:2px; accent-color:var(--green); }
.singleCheckOption span,.singleCheckOption b,.singleCheckOption small { display:block; min-width:0; }
.singleCheckOption b { font-size:12px; line-height:1.5; }
#equipmentGrid .singleCheckOption small { margin-top:4px; color:#60716a; font-size:12px; line-height:1.5; }
#equipmentGrid .counter button:disabled { opacity:.35; cursor:not-allowed; }
@media(max-width:1050px){#equipmentGrid article.wideEquipment{grid-template-columns:82px 1fr}#equipmentGrid article.wideEquipment .equipmentSelectWrap,#equipmentGrid article.wideEquipment .singleCheckGroup{grid-column:2}}
@media(max-width:560px){#schedule thead th:first-child,#schedule tbody th{width:118px;min-width:118px}#schedule tbody th{padding:9px 8px}.roomIdentity{gap:0}.roomIdentity>img{display:none}.roomIdentity b{font-size:12px}.roomIdentity small{font-size:12px}#equipmentGrid article{grid-template-columns:64px 1fr auto;padding:11px;gap:9px}#equipmentGrid .equipmentThumb{width:64px;height:48px}.equipmentRoom>img{width:64px;height:48px}}
@media(max-width:560px){#equipmentGrid article.wideEquipment{grid-template-columns:64px minmax(0,1fr)}#equipmentGrid article.wideEquipment .equipmentSelectWrap{grid-column:1/-1}.equipmentSelectWrap p{font-size:12px}}
@media(max-width:700px){#equipmentGrid article.wideEquipment .singleCheckGroup{grid-column:1/-1;grid-template-columns:1fr}}

/* 仮予約済み入力 */
.provisionalEntry { margin-top:28px; }
.provisionalToggle { display:flex; align-items:center; justify-content:space-between; width:100%; padding:17px 20px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); text-align:left; box-shadow:0 10px 32px #17342d0d; }
.provisionalToggle>span { display:grid; grid-template-columns:34px auto; align-items:center; column-gap:11px; }
.provisionalToggle i { grid-row:1/3; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#edf7f3; color:var(--green); font-style:normal; font-weight:bold; }
.provisionalToggle b,.provisionalToggle small { display:block; }
.provisionalToggle small { margin-top:2px; color:var(--muted); font-size:12px; font-weight:normal; }
.provisionalToggle em { color:var(--green); font-size:24px; font-style:normal; transition:transform .2s ease; }
.provisionalToggle[aria-expanded="true"] { border-color:var(--green); border-radius:12px 12px 0 0; }
.provisionalToggle[aria-expanded="true"] em { transform:rotate(45deg); }
.provisionalPanel { padding:24px; border:1px solid var(--green); border-top:0; border-radius:0 0 14px 14px; background:#f7fbf9; }
.provisionalHead { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:20px; }
.provisionalHead small { color:var(--coral); font:700 12px Arial; letter-spacing:.14em; }
.provisionalHead h3 { margin:4px 0 0; font-size:20px; }
.provisionalHead p { margin:0; color:var(--muted); font-size:12px; }
.provisionalFields { display:grid; grid-template-columns:1.2fr 1.3fr 1fr 1fr; gap:12px; }
.provisionalFields label { color:var(--muted); font-size:12px; font-weight:bold; }
.provisionalFields input,.provisionalFields select { display:block; width:100%; margin-top:7px; padding:12px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); }
.provisionalAction { display:flex; align-items:center; justify-content:flex-end; gap:28px; margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.provisionalAction>div { min-width:230px; text-align:right; }
.provisionalAction small,.provisionalAction span { display:block; color:var(--muted); font-size:12px; }
.provisionalAction strong { display:block; color:var(--green); font-size:24px; }
.provisionalAction strong .rateBreakdown { margin-top:5px; font-size:12px; }
.provisionalAction span { min-height:14px; color:#9b4c32; }
.provisionalAction button { border:0; border-radius:8px; background:var(--coral); color:#fff; padding:14px 22px; font-weight:bold; }
.provisionalAction button:disabled { opacity:.45; }
@media(max-width:850px){.provisionalFields{grid-template-columns:1fr 1fr}.provisionalHead{display:block}.provisionalHead p{margin-top:6px}}
@media(max-width:560px){.provisionalPanel{padding:17px}.provisionalFields{grid-template-columns:1fr}.provisionalAction{align-items:stretch;flex-direction:column;gap:12px}.provisionalAction>div{text-align:left}.provisionalAction button{width:100%}}

/* 会議室ごとの利用情報 */
.roomDetailsLayout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:22px; align-items:start; }
#detailBookingTabs { position:relative; z-index:2; display:flex; flex-direction:column; }
#detailBookingTabs .detailBookingTab { overflow:hidden; border:1px solid var(--line); border-radius:12px; margin:0 0 10px; background:#f7faf9; }
#detailBookingTabs .detailBookingTab.on { position:relative; border-color:var(--green); background:#fff; box-shadow:0 8px 24px #17342d16; }
#detailBookingTabs .detailBookingTab.on:before { content:""; position:absolute; z-index:2; left:0; top:12px; bottom:12px; width:4px; border-radius:4px; background:var(--coral); }
#detailBookingTabs .detailBookingTabMain { display:block; width:100%; padding:16px; border:0; background:transparent; color:var(--ink); text-align:left; }
#detailBookingTabs .detailBookingTabMain>span,#detailBookingTabs .detailBookingTabMain>strong { display:block; }
#detailBookingTabs .detailBookingTabMain>span:not(.tabRoom) { color:var(--muted); font-size:12px; }
#detailBookingTabs .detailBookingTabMain>strong { margin-top:7px; color:#a45a40; font-size:12px; }
#detailBookingTabs .detailBookingTab.complete .detailBookingTabMain>strong { color:var(--green); }
#detailBookingTabs .detailBookingDelete { width:100%; padding:9px 12px; border:0; border-top:1px solid var(--line); background:#fff6f1; color:#9b4c32; font-size:12px; font-weight:bold; text-align:center; }
#detailBookingTabs .detailBookingDelete:hover { background:#ffe9df; }
.detailAddRoom { width:100%; padding:14px; border:1px dashed var(--green); border-radius:10px; background:#fff; color:var(--green); font-size:12px; font-weight:bold; }
.detailAddRoom:hover { background:#edf8f3; }
.roomDetailsPanel { overflow:hidden; min-height:560px; border:1px solid var(--green); border-radius:14px; background:#fff; box-shadow:0 12px 35px #17342d0c; }
.detailHeader { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; border-bottom:1px solid var(--line); background:#f1f8f5; }
.detailHeader h3 { margin:3px 0 0; font-size:22px; }
.detailHeader>strong { color:var(--green); font-size:23px; text-align:right; }
.detailHeader>strong small { display:block; color:var(--muted); font-size:12px; }
.detailSection { padding:24px; border-bottom:1px solid var(--line); }
.detailSection h4 { margin:0 0 16px; font-size:18px; }
.detailSection h4 em,.detailField em { display:inline-block; margin-left:6px; padding:2px 6px; border-radius:4px; background:#fff0e8; color:#a04b31; font-size:12px; font-style:normal; vertical-align:middle; }
.detailField { display:block; color:var(--muted); font-size:12px; font-weight:bold; }
.detailField input,.detailField select,.detailField textarea { display:block; width:100%; margin-top:7px; padding:13px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font:inherit; font-size:14px; font-weight:normal; }
.purposeOther { margin-top:13px; }
.peopleRange { display:flex; align-items:center; gap:12px; }
.peopleRange label { display:flex; align-items:center; gap:7px; font-weight:bold; }
.peopleRange input { width:120px; padding:13px; border:1px solid var(--line); border-radius:8px; font-size:16px; }
.detailHint,.detailNotice { margin:9px 0 0; color:var(--muted); font-size:12px; line-height:1.8; }
.foodGroups { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.foodGroups fieldset { min-width:0; margin:0; padding:15px; border:1px solid var(--line); border-radius:10px; }
.foodGroups legend { padding:0 5px; color:var(--green); font-size:12px; font-weight:bold; }
.foodGroups label { display:grid; grid-template-columns:20px 1fr; margin:7px 0 12px; font-size:12px; font-weight:bold; line-height:1.45; }
.foodGroups label input { margin-top:3px; }
.foodGroups label small { grid-column:2; color:var(--muted); font-size:12px; font-weight:normal; }
.choiceGrid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.choiceCard { display:flex; align-items:center; gap:10px; padding:13px 14px; border:1px solid var(--line); border-radius:8px; font-size:12px; font-weight:bold; }
.choiceCard:has(input:checked) { border-color:var(--green); background:#edf8f3; color:var(--green); }
.paymentDate { max-width:360px; margin-top:18px; }
.weekdayOnlyNote { display:block; margin-top:7px; color:#9b4c32; font-size:12px; font-weight:normal; }
.baggageSection>p { font-size:12px; }
.baggageCheck { display:flex; align-items:center; gap:10px; margin:14px 0; padding:14px; border:1px solid #efc6b4; border-radius:9px; background:#fff6f1; color:#8d432b; font-size:13px; font-weight:bold; }
.baggageNotice { margin-bottom:18px; padding:16px; border-radius:9px; background:#f7f8f7; color:#55605c; font-size:12px; line-height:1.75; }
.baggageNotice p { margin:8px 0 0; }
.detailAlert { margin:0; padding:14px 24px; background:#fff6f1; color:#9b4c32; font-size:12px; font-weight:bold; }
.detailAlert.ok { background:#edf8f3; color:var(--green); }
.summaryDetail { display:block; margin-top:7px; color:var(--muted); font-size:12px; line-height:1.55; }
.summary .rateBreakdown { grid-template-columns:auto auto; gap:4px 12px; margin-top:8px; }
.summaryEquipment { margin-top:13px; padding:12px; border-radius:9px; background:#f5f8f6; }
.summaryEquipment>b { display:block; margin-bottom:7px; color:var(--green); font-size:12px; }
.summaryEquipment ul { margin:0; padding:0; list-style:none; }
.summaryEquipment li { display:flex; justify-content:space-between; gap:14px; padding:5px 0; border-bottom:1px solid #e1e8e4; color:var(--muted); font-size:12px; }
.summaryEquipment li strong { flex:none; color:var(--ink); }
.summaryEquipment li strong small { margin-left:3px; color:var(--muted); font-size:12px; }
.summaryEquipment dl { margin:9px 0 0; }
.summaryEquipment dl>div { display:flex; justify-content:space-between; gap:14px; padding:3px 0; font-size:12px; }
.summaryEquipment dt,.summaryEquipment dd { margin:0; }
.summaryEquipment dd { font-weight:bold; }
.summaryEquipment .summaryEquipmentTotal { margin-top:5px; padding-top:8px; border-top:1px solid var(--line); color:var(--green); font-size:12px; font-weight:bold; }
.confirm,.confirm > div,.confirm form,#summary,.summary,.summary > div,.summaryDetail,.summaryEquipment,.summaryEquipment li,.summaryEquipment dl,.confirm form h3,.confirm form label,.confirm form input,.confirm form select,.confirm form textarea { text-align:left !important; }
.confirm form em.optional { color:var(--muted); }
.reservationComplete { max-width:900px; margin:0 auto; padding:80px 5vw 110px; text-align:center; }
.reservationCompleteCard { padding:52px 44px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 18px 55px #17342d14; text-align:center; }
.reservationCompleteCard>small { color:var(--coral); font:700 12px Arial,sans-serif; letter-spacing:.18em; }
.reservationCompleteCard h2 { margin:10px 0 14px; color:var(--ink); font-size:30px; }
.reservationCompleteCard>p { margin:0 auto; max-width:620px; color:var(--muted); line-height:1.8; }
.reservationReceipt { max-width:520px; margin:30px auto 12px; padding:20px; border-radius:12px; background:#edf8f3; color:var(--green); }
.reservationReceipt small,.reservationReceipt strong { display:block; }
.reservationReceipt small { margin-bottom:6px; font-size:12px; font-weight:bold; }
.reservationReceipt strong { font-size:28px; letter-spacing:.06em; }
.reservationCompleteCard .reservationCompleteNote { font-size:12px; }
#restartReservation { margin-top:30px; padding:14px 22px; border:0; border-radius:8px; background:var(--green); color:#fff; font-weight:bold; }
@media(max-width:560px){.reservationComplete{padding:45px 18px 70px}.reservationCompleteCard{padding:35px 20px}.reservationCompleteCard h2{font-size:24px}.reservationReceipt strong{font-size:20px;letter-spacing:.02em}}
.confirm form .inputHelp { display:block; margin-top:6px; color:var(--muted); font-size:12px; font-weight:normal; }
.confirm form .inputHelp.ok { color:var(--green); }
.confirm form .inputHelp.error { color:#9b4c32; }
.customerSurvey { margin:4px 0 18px; padding:16px; border:1px solid var(--line); border-radius:10px; }
.customerSurvey legend { padding:0 6px; color:var(--ink); font-size:12px; font-weight:bold; }
.customerSurvey legend em { color:var(--coral); font-style:normal; }
.surveyChoices { display:grid; gap:8px; }
.confirm form .surveyChoices label { display:flex; align-items:flex-start; gap:8px; margin:0; padding:10px 12px; border:1px solid var(--line); border-radius:8px; background:#fbfcfb; font-weight:normal; }
.confirm form .surveyChoices input { flex:0 0 auto; width:auto; margin:2px 0 0; }
.firstUseDetails { margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
.noticeAgree { align-items:flex-start!important; margin-top:-4px; padding:11px; border-radius:8px; background:#f5f8f6; }
.noticeAgree a { color:var(--green); font-weight:bold; text-decoration:underline; }
.noticeAgree small { display:block; margin-top:4px; color:var(--muted); font-size:12px; font-weight:normal; line-height:1.6; }
.summary { grid-template-columns:42px minmax(0,1fr); padding:19px 18px 0; overflow:hidden; }
.summary .summaryDelete { position:static; grid-column:1/-1; justify-self:stretch; width:calc(100% + 36px); margin:10px -18px 0; padding:9px 12px; border:0; border-top:1px solid var(--line); background:#fff6f1; color:#9b4c32; font-size:12px; font-weight:bold; text-align:center !important; text-decoration:none; }
@media(max-width:850px){.roomDetailsLayout{grid-template-columns:1fr;gap:16px}#detailBookingTabs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}#detailBookingTabs .detailBookingTab,#detailBookingTabs .detailBookingTab.on{margin:0;border-radius:10px}.roomDetailsPanel{border-radius:14px}.foodGroups{grid-template-columns:1fr}.detailHeader{padding:16px}}
@media(max-width:560px){#detailBookingTabs{grid-template-columns:1fr}.detailSection{padding:18px}.detailHeader{align-items:flex-start;flex-direction:column}.choiceGrid{grid-template-columns:1fr}.peopleRange{gap:7px}.peopleRange input{width:90px}.detailHeader>strong{text-align:left}.equipmentRateTotal{text-align:left}.equipmentRateTotal .rateBreakdown{justify-items:start}.summary .rateBreakdown{grid-template-columns:1fr}}

/* WordPressテーマ側の中央寄せを予約フォーム内で打ち消す */
.heading,
.heading>div,
.heading small,
.heading h2,
.heading p,
#equipmentGrid article,
#equipmentGrid article>div,
#equipmentGrid article b,
#equipmentGrid article small,
#equipmentGrid .singleCheckOption span,
.roomDetailsPanel,
.detailHeader,
.detailSection,
.detailField,
.detailNotice,
.foodGroups fieldset,
.foodGroups legend,
.choiceGrid,
.baggageSection {
  text-align:left !important;
}

.roomDetailLink { display:inline-block; color:var(--green); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.roomDetailLink:hover { color:var(--coral); }
#schedule thead th { position:sticky; top:0; z-index:5; }
#schedule thead th:first-child { z-index:7; }
@media(max-width:700px){
  .tableWrap { max-height:68svh; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
  #schedule thead th { top:0; box-shadow:0 1px 0 #cbd8d3; }
  #schedule tbody th { z-index:4; }
  #schedule thead th:first-child { z-index:8; }
}

}
/* ===== END reservation/enhancements.css ===== */


/* ===== BEGIN reservation/check.css ===== */
@scope (#reservationApp) {
  :scope.availability-check-app { text-align: left; }
  .availabilityHero { padding-bottom: 44px; }
  .availabilityHero h1,
  .availabilityHero p,
  .checkMain,
  .checkMain .heading,
  .checkMain .heading h2,
  .checkMain .heading p { text-align: left !important; }
  .checkMain { padding-top: 48px; }
  .availabilityLegend { justify-content: flex-start; }
  .availabilityLegend > span { display:inline-flex; align-items:center; gap:3px; white-space:nowrap; }
  .availabilityMark {
    display: grid;
    place-items: center;
    width: 100%;
    height: 48px;
    color: var(--green);
    font-weight: bold;
    user-select: none;
  }
  .availabilityMark.busy,
  .availabilityMark.hold { background: #f5f6f5; color: #97a39f; }
  .availabilityMark.inquiry {
    border: 0;
    background: #fff5ef;
    color: #b65d3e;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
  }
  .availabilityMark.inquiry img { width: 16px; height: 16px; opacity: .72; }
  .availabilityMark.inquiry:hover,
  .availabilityMark.inquiry:focus-visible { background: #ffe7da; color: #8f3f28; }
  .availabilityMark.inquiry:hover img,
  .availabilityMark.inquiry:focus-visible img { opacity: 1; }
  .availabilityLegend i.inquiry { display:grid; place-items:center; background: #fff5ef; color: #b65d3e; }
  .availabilityLegend i.inquiry img { width: 16px; height: 16px; opacity: .72;  margin: 4px 0;}
  .dateNav button:disabled,
  .calendarHead button:disabled { opacity: .35; cursor: not-allowed; }
  .availabilityInquiryDialog { width:min(680px,calc(100% - 28px)); max-width:none; padding:0; border:0; border-radius:18px; background:transparent; color:var(--ink); box-shadow:0 24px 80px #102d2655; }
  .availabilityInquiryDialog::backdrop { background:#102d267a; backdrop-filter:blur(3px); }
  .availabilityInquiryPanel { position:relative; padding:36px; border-radius:18px; background:#fff; text-align:center; }
  .availabilityInquiryClose { position:absolute; top:13px; right:13px; display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid var(--line); border-radius:50%; background:#fff; color:var(--muted); font-size:23px; line-height:1; cursor:pointer; }
  .availabilityInquiryIcon { width:42px; height:42px; margin-bottom:10px; opacity:.78; }
  .availabilityInquiryPanel h2 { margin:0; font-size:24px; line-height:1.55; text-align:center!important; }
  .availabilityInquiryChoices { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:26px; }
  .availabilityInquiryChoices section { min-width:0; padding:23px 20px; border:1px solid var(--line); border-radius:13px; background:#fafcfb; text-align:left; }
  .availabilityInquiryChoices small { display:block; margin-bottom:10px; color:var(--muted); font-size:12px; font-weight:bold; }
  .availabilityInquiryPhone { display:block; color:var(--green); font-size:25px; font-weight:bold; letter-spacing:.02em; text-decoration:none; }
  .availabilityInquiryMail { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:45px; padding:12px 15px; border-radius:8px; background:var(--coral); color:#fff; font-size:15px; font-weight:bold; text-decoration:none; }
  .availabilityInquiryChoices p { margin:14px 0 0; color:var(--muted); font-size:12px; line-height:1.65; }
  .availabilityInquiryChoices p strong,
  .availabilityInquiryChoices p span { display:block; }
  .csvUpdatedAt { margin: 6px 4px 0; color: #99a5a1; font-size: 10px; line-height: 1.4; text-align: right; }
  .availabilityNote { margin: 14px 3px 0; color: var(--muted); font-size: 11px; text-align: left; }
  #loading { min-height: 150px; }

  @media (max-width: 850px) {
    .availabilityHero { padding-bottom: 34px; }
    .checkMain { padding-top: 38px; }
  }

  @media (max-width: 560px) {
    .availabilityHero { padding-bottom: 30px; }
    .availabilityHero h1 { font-size: 34px; }
    .checkMain { padding-top: 32px; }
    .availabilityMark { height: 46px; }
    .availabilityInquiryPanel { padding:32px 18px 20px; }
    .availabilityInquiryPanel h2 { padding:0 20px; font-size:20px; }
    .availabilityInquiryChoices { grid-template-columns:1fr; gap:10px; margin-top:20px; }
    .availabilityInquiryChoices section { padding:18px; }
    .availabilityInquiryPhone { font-size:23px; }
  }
}
/* ===== END reservation/check.css ===== */
/* ===== END Availability app — reservation CSS in original order ===== */
