/* 利用料金表 */
.notice-list p {
    margin: 10px 0;
    line-height: 1.8;
}

.notice-list strong {
    display: inline-block;
    font-size: 1.00em;
    font-weight: bold;
    margin-bottom: 0;
}

.notice-list p strong {
    line-height: 1.2;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: center;
    vertical-align: middle;
}

.notice-list p span {
    display: inline-block;
    padding-left: 1em;
}





/* 施設紹介の折りたたみ・外 */
.facility-accordion {
    margin: 10px 0 18px;
    margin-left: 20px;
}

/* 折りたたみ全体 */
.facility-accordion details {
    width: 100%;
    max-width: 580px;
    box-sizing: border-box;
    margin: 0 0 8px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
}

/* 施設名 */
.facility-accordion summary {
    position: relative;
    padding: 8px 30px 8px 14px;
    cursor: pointer;
    background-color: #f3f4fc;
    color: #222;
    font-size: 0.95em;
    font-weight: bold;
    text-align: left;
    list-style: none;
    border-left: 4px solid #7dbb3b;
}

/* 標準の三角マークを非表示 */
.facility-accordion summary::-webkit-details-marker {
    display: none;
}

/* 開閉マーク：文字コードによる文字化けを防ぐ */
.facility-accordion summary::after {
    content: "\002B";
    position: absolute;
    right: 12px;
    top: 50%;
    color: #777;
    font-weight: normal;
    transform: translateY(-50%);
}

/* 開いたとき */
.facility-accordion details[open] summary::after {
    content: "\2212";
}

/* マウスを乗せたとき */
.facility-accordion summary:hover {
    background-color: #e9ebf8;
}

/* 説明文 */
.facility-detail {
    padding: 10px 14px;
    line-height: 1.7;
    font-size: 0.95em;
    border-top: 1px solid #d8d8d8;
}

/* スマートフォンでは幅を広げる */
@media screen and (max-width: 600px) {
    .facility-accordion details {
        width: 100%;
    }
}


/* 施設紹介の折りたたみ・内 */
.facility-overview {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* 写真側の幅を制限 */
.facility-photo {
    width: 45%;
    max-width: 350px;
    min-width: 0;
    flex-shrink: 1;
}

.facility-description {
    flex: 1;
    line-height: 1.8;
}

/* スマートフォンでは縦並び */
@media screen and (max-width: 600px) {
    .facility-overview {
        display: block;
    }

    .facility-photo {
        width: 100%;
        margin-bottom: 12px;
    }
}

/* 施設紹介・写真レイアウト */

/* 施設紹介・写真レイアウト */

/* 写真と説明文の横並び */
.facility-overview {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* 写真エリア */
.facility-photo {
    width: 45%;
    max-width: 350px;
    min-width: 0;
    flex-shrink: 1;
}

/* 説明文 */
.facility-description {
    flex: 1;
    min-width: 0;
    line-height: 1.8;
}

/* メイン写真 */
.room-photo-stage {
    width: 100%;
}

.room-main-photo {
    width: 100%;
    height: auto;
    display: block;
}

/* サムネイルと矢印の並び */
.room-thumbnail-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
}

/* 左右の矢印 */
.room-photo-arrow {
    flex: 0 0 28px;
    width: 28px;
    height: 36px;
    padding: 0;

    border: none;
    background: transparent;
    color: #222;

    font-size: 16px;
    cursor: pointer;
}

/* サムネイル一覧 */
.room-thumbnails {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    justify-content: center;
    gap: 6px;
}

/* サムネイル画像 */
.room-thumbnails img {
    width: 62px;
    height: 46px;
    object-fit: cover;

    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

/* 選択中 */
.room-thumbnails img.active {
    opacity: 1;
}

/* マウスを乗せたとき */
.room-thumbnails img:hover {
    opacity: 0.8;
}

/* スマートフォン */
@media screen and (max-width: 600px) {

    .facility-overview {
        display: block;
    }

    .facility-photo {
        width: 100%;
        max-width: none;
        margin-bottom: 12px;
    }

    .facility-description {
        width: 100%;
    }
}


/* 施設紹介内の物品一覧 */
.facility-detail .item-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* 物品一覧の表 */
.facility-detail .item-list table {
    width: 98%;
    max-width: 100%;
    box-sizing: border-box;

    table-layout: fixed;
    border-collapse: collapse;
}

/* 表のセル */
.facility-detail .item-list th,
.facility-detail .item-list td {
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* 施設紹介内の物品表を写真の左端に合わせる */
.facility-detail .item-list {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
}

/* 表を左寄せ */
.facility-detail .item-list table {
    width: 98%;
    margin-left: 0;
    margin-right: auto;
}


/* その他：注意事項 */
.notice-list {
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}


/* 注意事項1件分 */
.notice-list .notice-item {
    margin-bottom: 20px;
}

/* タイトル */
.notice-list .notice-title {
    margin: 0 0 4px !important;
    padding: 0;
    font-weight: bold;
    line-height: 1.3 !important;
    text-align: left;
}

/* 本文 */
.notice-list .notice-body {
    margin: 0 !important;
    padding-left: 1em;
    line-height: 1.5 !important;
    text-align: left;
}


/* 予約について：リンク一覧 */
.manual-links {
    margin: 12px 0 20px;
    padding-left: 2.5em;
    list-style-type: disc;
}

.manual-links li {
    margin: 8px 0;
    line-height: 1.6;
}

/* PDF・EXCEL表記 */
.manual-links .link-date {
    display: inline-block;
    margin-left: 0.8em;
    color: #555;
    font-size: 0.9em;
}

/* 予約について：リンク一覧の外枠 */
.manual-area {
    display: block !important;
    width: 100%;
    margin: 12px 0 20px;
    padding: 0 0 0 2em;
    box-sizing: border-box;
    background: transparent !important;
    clear: both;
}

/* リンク一覧 */
.manual-area ul.manual-links {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 0 0 1.5em !important;

    list-style: disc outside !important;
    background: transparent !important;
    box-sizing: border-box;
}

/* 各リンク */
.manual-area ul.manual-links > li {
    display: list-item !important;
    width: auto !important;
    margin: 8px 0 !important;
    padding: 0 !important;

    list-style: disc outside !important;
    background: transparent !important;
    line-height: 1.6;
    text-align: left !important;
}

/* リンク一覧の次に来る見出し */
.manual-area + h3 {
    display: block;
    clear: both;
    margin-top: 20px;
}

/* 予約リンクを縦並びに固定 */
.manual-area ul.manual-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px;

    margin: 0 !important;
    padding-left: 1.5em !important;
}

/* リンク1件ずつ */
.manual-area ul.manual-links > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    list-style: disc outside !important;
    text-align: left !important;
}

/* PDF・EXCEL表記 */
.manual-area .link-date {
    display: inline-block !important;
    margin-left: 12px !important;
    white-space: nowrap;
}

/* 施設紹介：小見出し */
.facility-subtitle {
    text-align: left !important;
    font-size: 1.05em;
    font-weight: bold;
    margin: 12px 0 8px !important;
    padding: 0 0 5px;
    border-bottom: 2px solid #7dbb3b;
}


/* 予約について：手引き・申込書リンクをコンパクトに整える */
.manual-area {
    margin: 8px 0 18px !important;
    padding: 0 0 0 0.5em !important;
}

/* リンク一覧 */
.manual-area ul.manual-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 4px !important;
    margin: 0 !important;
    padding: 0 0 0 1.2em !important;

    list-style: disc outside !important;
}

/* リンク1件分 */
.manual-area ul.manual-links > li {
    display: list-item !important;
    width: auto !important;
    margin: 0 !important;
    padding: 2px 0 !important;

    line-height: 1.35 !important;
    text-align: left !important;
    list-style: disc outside !important;
}

/* 箇条書きのマーカー */
.manual-area ul.manual-links > li::marker {
    color: #7dbb3b;
    font-size: 0.9em;
}

/* リンク */
.manual-area ul.manual-links > li a {
    line-height: 1.35 !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* PDF・EXCEL・JPEGの種別表示 */
.manual-area .link-date {
    display: inline-block !important;
    margin-left: 10px !important;
    padding: 2px 6px;

    color: #555 !important;
    background: #f0f3e9;
    border-radius: 3px;

    font-size: 0.78em !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    vertical-align: 1px;
}

/* リンクにマウスを乗せたとき */
.manual-area ul.manual-links > li a:hover {
    color: #5f982b;
}

#maincontent > p {
    padding-left: 26px;
    padding-right: 26px;
}
