/* アクティビティ施設ページ専用スタイル */

/* ========================================
   サブビジュアルセクション
======================================== */
.sub-visual {
    background: rgba(0, 0, 0, 0.4);
    background-size: cover;
    background-position: center center;
    background-blend-mode: overlay;
}

body.activity-facility .sub-visual {
    background-image: url('../../activity/images/facility/activity-facility-bg.jpg');
}

/* ========================================
   店舗紹介セクション（lead-section）
======================================== */
body.activity-facility .lead-section {
    min-width: auto;
}

body.activity-facility .lead-section .container {
    background-image: none;
    
}

.lead-header {
    width: 100%;
}

.lead-header p {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: block;
}

.lead-header .note {
    font-size: 0.75em;
    
    color: #474747;
    margin: 1em 0 0 0;
    padding: 0;
    text-align: center;
}

.activity-table-heading {
    font-size: 1.2em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #a3a3a3;
    padding-bottom: 0.5em;
    font-weight: 400;
}

.activity-table-heading:first-child {
    margin-top: 0px;
}

.lead-header .activity-table-heading {
    text-align: center;
    font-size: 1.2em;
    font-weight: 400;
    color: #474747;
    margin: 0;
    padding: 0 0 1em 0;
    border-bottom: none;
}

.activity-table-heading .enjoy-ticket {
    display: block;
    margin: 1em auto 0 auto;
    width: fit-content;
    padding: 5px 15px;
    color: #ffffff;
    background-color: #8b4513;
    border-radius: 12px;
    font-size: 0.5em;
}

.activity-table-heading .sub-title {
    font-size: .7em;
    display: block;
}

.activity-info-table-wrapper {
    margin-top: 2em;
}

.activity-info-table-wrapper:first-child {
    margin-top: 0;
}

.activity-info-table {
    width: auto;
    border-collapse: separate;
    border-spacing: 0;
    background-color: transparent;
    margin: 0 auto;
}

.activity-facility .content-box {
    margin: 4em auto;
}

.activity-facility .content-box .photors {
    width: 100%;
    height: auto;
    display: block;
}

.activity-facility .sparklers-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-box table {
    width: 100%;
    margin: 1em auto 0;
}

.activity-info-table th {
    padding: 1em 0;
    text-align: center;
    font-weight: 400;
    color: #474747;
    font-size: 1.4em;
    vertical-align: top;
    box-sizing: border-box;
    line-height: 1.4;
}

.activity-info-table td {
    padding: .5em 1em;
    text-align: left;
    
    color: #474747;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 0.8em;
}

.activity-info-table tbody tr {
    background-color: #ffffff;
}

.activity-info-table tbody tr:first-child td {
    border-top: 1px solid #f0f0f0;
}

.activity-info-table tbody tr:last-child td {
    border-bottom: 1px solid #f0f0f0;
}

body.activity-facility .sauna-image-layout .relaxation-images-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

body.activity-facility .sauna-image-layout .relaxation-image-item {
    display: block;
}

body.activity-facility .sauna-image-layout .relaxation-image-item img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

body.activity-facility .sauna-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #ffffff;
    margin-top: 1em;
    margin-bottom: 1em;
}

body.activity-facility .sauna-info-table th,
body.activity-facility .sauna-info-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9em;
    color: #474747;
    vertical-align: top;
}

body.activity-facility .sauna-info-table th {
    width: 180px;
    text-align: center;
    background-color: #eceae9;
    font-weight: 400;
}

body.activity-facility .sparklers-map-image {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    background-color: transparent;
}

body.activity-facility .sparklers-content-image {
    width: 100%;
    height: auto;
    display: block;
}

body.activity-facility .sauna-menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.activity-facility .sauna-menu-list li {
    margin: 0 0 6px 0;
}

body.activity-facility .sauna-menu-list li.menu-gap {
    margin-top: 12px;
}

@media (max-width: 768px) {
    body.activity-facility .sauna-image-layout .relaxation-images-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.activity-facility .sauna-image-layout .relaxation-image-item img {
        max-height: 220px;
    }

    body.activity-facility .sauna-info-table th {
        width: 120px;
        font-size: 0.8em;
    }

    .activity-facility-info {
        padding: 1em;
    }

    .activity-facility-info .activity-facility-information td.table-label, .activity-facility-info .activity-facility-information th.table-label, .lead-header .activity-facility-information td.table-label, .lead-header .activity-facility-information th.table-label {
        width: 120px;
    }

    .activity-facility-info table {
        margin-bottom: 1em;
    }

    .activity-facility-info .activity-facility-information {
        margin: 0 0 1em 0;
    }

    .activity-facility-info .activity-info-price {
        margin: 0 0 1em 0;
    }

    .activity-facility-info table:last-child {
        margin-bottom: 0;
    }

    .activity-facility-info .activity-facility-information:last-child {
        margin: 0;
    }

    .activity-facility-info .activity-info-price:last-child {
        margin: 0;
    }

    .activity-image .activity-logo-overlay {
        width: 60%;
    }
}

.activity-info-table td.table-label,
.activity-info-table th.table-label {
    padding: 0.8em 1.5em;
    width: auto;
    vertical-align: middle;
    display: table-cell;
    font-weight: bold;
    color: #474747;
    font-size: 0.8em;
    text-align: center;
    white-space: nowrap;
    background-color: #eceae9;
    line-height: 1.2;
    border-radius: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #ffffff;
}

/* タブレット時のlead-header左右余白 */
@media (min-width: 769px) and (max-width: 1024px) {
    .lead-header {
        padding-left: 1em;
        padding-right: 1em;
        box-sizing: border-box;
    }
    .activity-facility-info .activity-facility-information, .lead-header .activity-facility-information {
        margin: 0 0 1em 0;
    }
    .activity-facility-info .activity-facility-information:last-child, .lead-header .activity-facility-information:last-child {
        margin: 0;
    }
    .activity-facility-info .activity-info-price {
        margin: 0 0 1em 0;
    }
    .activity-facility-info .activity-info-price:last-child {
        margin: 0;
    }
}

/* ========================================
   室内外写真紹介セクション（activity-facility-info-section）
======================================== */
.activity-facility-info-section {
    background-image: url('../../activity/images/facility/activity-facility-pa.jpg');
}

.activity-facility-info-section .container {
    position: relative;
    z-index: 2;
}

#activity-facility-heading {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 30px;
    font-weight: 400;
    color: #fff;
}

#activity-facility-heading:not(.english-text) {
    font-size: 1em;
    font-family: 'Noto Sans JP', sans-serif;
}

#activity-facility-heading .english-text {
    font-family: 'Quattrocento', serif;
    font-size: 2.8125em;
    display: block;
}

@media (min-width: 769px) {
    .flooractivities-page .content-box .activity-info-table-wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1em;
        align-items: start;
    }

    .flooractivities-page .content-box .activity-info-table-wrapper h3 {
        grid-column: 1 / -1;
    }

    .flooractivities-page .content-box .activity-info-table {
        width: 100%;
        margin-top: 0;
    }

    .flooractivities-page .content-box .photors {
        width: 100%;
        height: auto;
        display: block;
    }

    .activity-facility-info {
        padding: 1.5em;
    }

    .activity-facility-info .activity-facility-information, .lead-header .activity-facility-information {
        margin: 0 0 1em 0;
    }

    .activity-facility-info .activity-facility-information:last-child, .lead-header .activity-facility-information:last-child {
        margin: 0;
    }

    .activity-facility-info .activity-info-price {
        margin: 0 0 1em 0;
    }

    .activity-facility-info .activity-info-price:last-child {
        margin: 0;
    }
}

.activity-info-price {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: transparent;
}

@media (min-width: 769px) {
    .activity-info-price {
        table-layout: fixed;
    }
}

.activity-info-price td,
.activity-info-price th {
    padding: .5em 1em;
    text-align: center;
    
    color: #474747;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 0.8em;
}

.activity-info-price tbody tr {
    background-color: #ffffff;
}

.activity-info-price tbody tr:first-child td {
    border-top: 1px solid #f0f0f0;
}

.activity-info-price tbody tr:last-child td {
    border-bottom: 1px solid #f0f0f0;
}

.activity-info-price tbody td.table-label,
.activity-info-price tbody th.table-label {
    padding: 0.8em 1.5em;
    vertical-align: middle;
    display: table-cell;
    font-weight: bold;
    color: #474747;
    font-size: 0.8em;
    text-align: left;
    white-space: normal;
    background-color: #eceae9;
    line-height: 1.2;
    border-radius: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #ffffff;
}

@media (min-width: 769px) {
    .activity-info-price tbody tr:first-child th:first-child {
        width: 250px;
    }
    
    .activity-info-price tbody td.table-label,
    .activity-info-price tbody th.table-label {
        width: 250px;
    }
    
    .activity-info-price th:first-child:not(.table-label) {
        width: 250px;
    }
}

/* ========================================
   注意事項・案内事項セクション（note-section）
======================================== */
.note-section {
    padding: 60px 0;
    margin-bottom: 0;
}

.note-container {
    display: flex;
    gap: 2em;
    width: 800px;
    margin: 0 auto;
}

.note-column {
    flex: 1;
}

.note-container .note-column .note-content {
    font-size: 0.8em;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

.note-container .note-column .note-content strong {
    display: block;
    margin-bottom: 0.5em;
}

.note-container .note-column .note-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.note-container .note-column .note-content ul li {
    margin-bottom: 0.5em;
    padding-left: 1.2em;
    position: relative;
}

.note-container .note-column .note-content ul li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* ========================================
   フロアマップセクション（floormap-section）
======================================== */
.floormap-section {
    padding: 80px 0;
    background: #fbf7f4 url('../../room/images/facility_bg.jpg') no-repeat left center;
    background-size: cover;
    background-attachment: scroll;
}

.floormap-section h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 30px;
}

.floormap-section h2:not(.english-text) {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

.floormap-section h2 .english-text {
    font-family: 'Quattrocento', serif;
    font-size: 45px;
    display: block;
}

.floormap-section .english-text {
    display: block;
}

.floormap-description {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 50px;
    font-size: 1em;
    
}

.restaurant-grid,
.activity-grid {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.restaurant-cards,
.activity-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.restaurant-card,
.activity-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1;
    transition: opacity 0.3s ease;
    width: 100%;
    max-width: 280px;
}

.restaurant-card:hover,
.activity-card:hover {
    opacity: 0.8;
}

.restaurant-image,
.activity-image {
    position: relative;
    overflow: hidden;
    flex: 1;
    border-radius: 12px 12px 0 0;
}

.activity-image::before {
    content: none;
}

.restaurant-image img,
.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.restaurant-image .restaurant-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

.restaurant-card h3,
.activity-card h3 {
    padding: 10px 10px 5px;
    font-size: 0.9em;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    font-weight: 400;
    flex-shrink: 0;
}

.floormap-image {
    margin: 40px 0 20px 0;
    text-align: center;
}

.floormap-image img {
    display: block;
    margin: 0 0 20px 0;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.floormap-image img:last-child {
    margin-bottom: 0;
}

/* フロアマップモーダル */
.floormap-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000000E6;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floormap-modal.active {
    display: flex;
    opacity: 1;
}

.floormap-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.floormap-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5em;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 10004;
}

.floormap-close:hover {
    opacity: 0.7;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 768px) {
    .content-box h3,
    .activity-table-heading {
        font-size: 1em;
    }
    
    .lead-header p {
        text-align: left;
    }
    
    .activity-facility-info-section .container {
        padding-left: 1em;
        padding-right: 1em;
    }
    
    .activity-info-price {
        min-width: 300px;
        table-layout: auto;
    }
    
    .activity-info-price tbody tr:first-child th:first-child {
        width: auto;
    }
    
    .activity-info-price tbody td.table-label,
    .activity-info-price tbody th.table-label {
        width: 120px;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        white-space: normal;
    }
    
    .activity-info-price tbody th:first-child:not(.table-label) {
        width: auto;
    }
    
    .note-container {
        flex-direction: column;
        gap: 1.5em;
        width: 100%;
    }
    
    .floormap-section .container {
        padding-left: 1em;
        padding-right: 1em;
    }
    
    .floormap-image img {
        cursor: grab;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    }
    
    .floormap-image img:active {
        cursor: grabbing;
    }
    
    .restaurant-cards,
    .activity-cards {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        gap: 15px;
        padding: 0;
        max-width: 100%;
    }
    
    .restaurant-card,
    .activity-card {
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    }
    
    .restaurant-image,
    .activity-image {
        height: 100%;
    }
    
    .restaurant-image .restaurant-logo-overlay {
        width: 60%;
    }
    
    .restaurant-card h3,
    .activity-card h3 {
        font-size: 0.8em;
        padding: 6px;
    }
    
}
.activity-facility-layout {
    max-width: 1000px;
    margin: 0 auto;
}
.activity-facility-desc {
    width: 100%;
    margin: 0 auto;
}
@media (min-width: 1025px) {
    .activity-facility-desc {
        width: 80%;
        margin: 0 auto;
    }
}
.activity-facility-info {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}
.activity-facility-info h4 {
    font-size: 0.875em;
    font-weight: 400;
    margin: 0 0 1em 0;
    color: #2c3e50;
    border-bottom: 1px solid #a3a3a3;
    padding-bottom: 0.5em;
}
.activity-facility-info h4:not(:first-child) {
    margin-top: 2em;
}
.activity-facility-info .activity-facility-information, .lead-header .activity-facility-information {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: transparent;
}
.activity-facility-info .activity-facility-information thead, .lead-header .activity-facility-information thead {
    background-color: transparent;
}
.activity-facility-info .activity-facility-information th, .lead-header .activity-facility-information th {
    padding: 1em 0;
    text-align: center;
    font-weight: 400;
    color: #474747;
    font-size: 1.4em;
    vertical-align: top;
    box-sizing: border-box;
    line-height: 1.4;
}
.activity-facility-info .activity-facility-information td, .lead-header .activity-facility-information td {
    padding: .5em 1em;
    text-align: left;
    
    color: #474747;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 0.8em;
}
.activity-facility-info .activity-facility-information tbody tr, .lead-header .activity-facility-information tbody tr {
    background-color: #ffffff;
}
.activity-facility-info .activity-facility-information tbody tr:first-child td, .lead-header .activity-facility-information tbody tr:first-child td {
    border-top: 1px solid #f0f0f0;
}
.activity-facility-info .activity-facility-information tbody tr:last-child td, .lead-header .activity-facility-information tbody tr:last-child td {
    border-bottom: 1px solid #f0f0f0;
}
.activity-facility-info .activity-facility-information td.table-label, .activity-facility-info .activity-facility-information th.table-label, .lead-header .activity-facility-information td.table-label, .lead-header .activity-facility-information th.table-label {
    padding: 0.8em 1.5em;
    width: 120px;
    vertical-align: middle;
    display: table-cell;
    font-weight: bold;
    color: #474747;
    font-size: 0.8em;
    text-align: center;
    white-space: nowrap;
    background-color: #eceae9;
    line-height: 1.2;
    border-radius: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #ffffff;
}
.activity-image .activity-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}
