/* アクティビティご利用ガイドページ用スタイル */

/* ========================================
   サブビジュアルセクション
======================================== */
.sub-visual {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../../activity/images/svimg.jpg);
    background-size: cover;
    background-position: center bottom;
}

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

body .lead-section .container {
    background-image: none;
    padding-top: 80px;
}

.lead-header {
    width: 100%;
}

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

.overview-content h2 {
    font-size: 1.2em;
    color: #474747;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #a3a3a3;
    padding-bottom: 0.5em;
}

.overview-content h2:first-child {
    margin-top: 0px;
}



.overview-content h4 {
    font-size: 1em;
    font-weight: 400;
    margin: 0 0 1em 0;
    color: #2c3e50;
    border-bottom: 1px solid #a3a3a3;
    padding-bottom: 0.6em;
    
}

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

.guide-subheading {
    font-size: 1em;
    font-weight: 400;
    margin: 2em 0 1em 0;
    border-bottom: 1px solid #8b4513;
    padding-bottom: 0.6em;
    color: #8b4513;
}

.overview-content .guide-subheading {
    color: #8b4513;
    border-bottom-color: #8b4513;
}

.guide-section-heading {
    text-align: center;
    margin-bottom: 30px;
    display: block;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.2;
}

.guide-section-heading .english-text {
    font-size: 2.8125em;
    display: block;
    margin-bottom: 0;
    font-family: 'Quattrocento', serif;
    line-height: 1;
}

.guide-section-heading.heading-white {
    color: #ffffff;
}

.guide-section-heading.heading-white .english-text {
    color: #ffffff;
}

.overview-content h4:not(:first-child) {
    margin-top: 2.5em;
}

.overview-section {
    margin-bottom: 40px;
}

.overview-section p {
    text-align: left;
    margin-bottom: 15px;
}

.overview-section ul {
    margin-left: 1em;
}

/* テーブルスタイル（activity_facility.cssからコピー） */
.overview-section .overview-information,
.lead-header .overview-information {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: transparent;
    margin-bottom: 1em;
}

.overview-section .overview-information thead,
.lead-header .overview-information thead {
    background-color: transparent;
}

.overview-section .overview-information th,
.lead-header .overview-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;
}

.overview-section .overview-information td,
.lead-header .overview-information td {
    padding: .5em 1em;
    text-align: left;
    
    color: #474747;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 0.8em;
}

.overview-section .overview-information tbody tr,
.lead-header .overview-information tbody tr {
    background-color: #ffffff;
}

.overview-section .overview-information tbody tr:first-child td,
.lead-header .overview-information tbody tr:first-child td {
    border-top: 1px solid #f0f0f0;
}

.overview-section .overview-information tbody tr:last-child td,
.lead-header .overview-information tbody tr:last-child td {
    border-bottom: 1px solid #f0f0f0;
}

.overview-section .overview-information td.table-label,
.overview-section .overview-information th.table-label,
.lead-header .overview-information td.table-label,
.lead-header .overview-information th.table-label {
    padding: 0.8em 1.5em;
    width: 180px;
    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;
}

.overview-content {
    max-width: 900px;
    margin-bottom: 60px;
}

.guide-bubble {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1em;
    margin: 0 auto 1.5em;
    padding: 0.75em 1em;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0.75em;
    max-width: 840px;
}

.guide-bubble dt {
    margin: 0;
    padding: 0.5em 1em;
    background-color: #8b4513;
    color: #ffffff;
    border-radius: 0.5em;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.guide-bubble dd {
    margin: 0;
    font-size: 0.875em;
    
}

.overview-content p {
    margin-bottom: 15px;
}

.overview-content ul {
    margin-left: 2em;
    margin-bottom: 2em;
}

.overview-content li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.overview-section hr {
    margin: 2em 0;
    border: none;
    border-top: 1px solid #f0f0f0;
}

.overview-content .guide-notice {
    text-align: left;
}

.guide-notice-box {
    background-color: transparent;
    border: 1px solid #8b4513;
    padding: 1.5em;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 0.875em;
}

p.guide-notice-box {
    color: #8b4513;
}

.guide-notice-box h3,
.guide-notice-box h4 {
    margin-top: 0;
}

.guide-notice-box ul {
    margin-bottom: 0;
}

.guide-notice-list {
    color: #8b4513;
}

.guide-notice-box li {
    margin-bottom: 0;
}

/* ========================================
   フロアマップセクション
======================================== */
.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;
    
}

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

.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;
}

.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;
}

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

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

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

.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;
}

.activity-card .btn-more:hover {
    background: #162d55;
}

.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;
}

@media (max-width: 1024px) {
    .activity-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .floormap-section {
        padding: 40px 0;
        background-position: center;
        background-size: cover;
    }

    .activity-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .activity-card {
        max-width: none;
    }
}

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

@media (max-width: 768px) {
    body .lead-section .container {
        padding-top: 40px;
    }

    .lead-header p {
        text-align: left;
    }


    .overview-content h2 {
        font-size: 1.2em;
    }


    .overview-content h4 {
        font-size: 0.875em;
    }

    .guide-heading {
        font-size: 1.2em;
    }

    .guide-subheading {
        font-size: 0.875em;
    }

    .guide-section-heading {
        font-size: 1em;
        line-height: 1.2;
    }

    .guide-section-heading .english-text {
        font-size: 2em;
        margin-bottom: 0;
        line-height: 1;
    }

    .overview-content ul {
        margin-left: 15px;
    }

    .guide-bubble {
        flex-direction: column;
        align-items: flex-start;
    }

    .overview-content .guide-bubble::after {
        left: 1.5em;
    }

    .guide-bubble dt {
        width: 100%;
        text-align: left;
    }

    .policy-lead-text {
        text-align: left;
    }

    .policy-lead-text br {
        display: none;
    }

    /* テーブルのレスポンシブ対応 */
    .overview-section .overview-information td.table-label,
    .overview-section .overview-information th.table-label,
    .lead-header .overview-information td.table-label,
    .lead-header .overview-information th.table-label {
        width: 120px;
    }

    .note-container {
        flex-direction: column;
        gap: 1.5em;
        width: 100%;
    }

    .faq-info-section .container {
        padding-left: 1em;
        padding-right: 1em;
    }
}

/* ========================================
   FAQコンテンツセクション（faq-info-section）
======================================== */
.faq-info-section {
    padding: 60px 0 10px;
    background-image: url('../../activity/images/facility/activity-facility-pa.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.faq-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 1) 30%);
    z-index: 1;
}

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

/* guide page alias */
.guide-info-section {
    padding: 60px 0 10px;
    background-image: url('../../activity/images/facility/activity-facility-pa.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.guide-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 1) 30%);
    z-index: 1;
}

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

/* ========================================
   注意事項・案内事項セクション（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;
}

/* ========================================
   由来セクション（overview-origin-section）
======================================== */
.overview-origin-section {
    padding: 80px 0;
    background: #fbf7f4 url('../../images/rizzan_origin_bg.jpg') no-repeat top center;
    background-size: cover;
    background-attachment: scroll;
}

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

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

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

.overview-origin-section .english-text {
    display: block;
}

.overview-origin-section h3 {
    margin: 1em 0;
}

/* フロアマップセクション内のoverview-section */
.overview-origin-section .overview-section {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 12px;
    padding: 1.5em;
    margin-bottom: 2em;
    box-sizing: border-box;
}

.overview-origin-section .overview-section:last-child {
    margin-bottom: 0;
}

.overview-content .photo-gallery li {
    margin-bottom: 0px;
    list-style-type: none;
}

/* タブレット時 */
@media (min-width: 769px) and (max-width: 1024px) {
    .overview-origin-section {
        background-position: top center;
        background-size: contain;
    }
}

@media (max-width: 768px) {
    .overview-origin-section {
        padding: 40px 0;
        background-position: right -200px top -80px;
        background-size: auto 70%;
    }

    .overview-origin-section .container {
        padding-left: 1em;
        padding-right: 1em;
    }

    .overview-origin-section .overview-section {
        padding: 1em;
    }
}

/* ========================================
   FAQスタイルのナビゲーションボタン
======================================== */
.guide-button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.guide-button-container .faq-nav-item {
    flex: 0 0 200px;
}

.guide-pdf-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.guide-pdf-link {
    display: block;
    padding: 12px 8px 2em 8px;
    text-align: center;
    flex: 0 0 280px;
}

.guide-pdf-link i:not(.faq-arrow) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;
    background-color: #1e3c72;
    color: #ffffff;
    font-size: 1.3em;
    margin: 0 auto 4px auto;
    border-radius: 50%;
}

.guide-pdf-link .faq-arrow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -1em);
    font-size: 0.7em;
    opacity: 0.8;
    color: #1e3c72;
}

.guide-pdf-link span {
    display: block;
}

.guide-nav-item {
    display: block;
    padding: 12px 8px 2em 8px;
    background-color: #ffffff;
    border: 1px solid #1e3c72;
    color: #1e3c72;
    text-decoration: none;
    font-size: 0.875em;
    transition: all 0.3s ease;
    border-radius: 6px;
    text-align: center;
    line-height: 1.4;
    position: relative;
}

.guide-nav-item i:not(.faq-arrow) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;
    background-color: #1e3c72;
    color: #ffffff;
    font-size: 1.3em;
    margin: 0 auto 4px auto;
    border-radius: 50%;
}

.guide-nav-item .faq-arrow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -1em);
    font-size: 0.7em;
    opacity: 0.8;
    color: #1e3c72;
}

.guide-nav-item span {
    display: block;
}

.guide-nav-item:hover {
    background-color: #1e3c72;
    color: #ffffff;
    border: 1px solid #1e3c72;
}

.guide-nav-item:hover i:not(.faq-arrow) {
    background-color: #ffffff;
    color: #1e3c72;
}

.guide-nav-item:hover .faq-arrow {
    opacity: 1;
    color: #ffffff;
}

.marine-nav .guide-nav-item {
    min-width: 180px;
}

@media (max-width: 768px) {
    .marine-nav .guide-nav-item {
        min-width: 0;
    }
}

/* スマホ時のFAQナビゲーションボタン */
@media (max-width: 768px) {
    .overview-content div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .guide-button-container {
        flex-direction: column;
        gap: 10px;
    }

    .guide-pdf-container {
        flex-direction: column;
        gap: 10px;
    }

    .guide-pdf-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 1em;
        font-size: 0.9em;
        text-align: left;
        flex: 1 1 auto;
    }

    .guide-pdf-link i:not(.faq-arrow) {
        margin: 0;
        flex-shrink: 0;
        width: 2.5em;
        height: 2.5em;
    }

    .guide-pdf-link .faq-arrow {
        position: absolute;
        right: 1em;
        top: 50%;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
    }

    .guide-pdf-link span {
        display: inline-block;
    }

    .guide-nav-item {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 1em;
        font-size: 0.9em;
        text-align: left;
        flex: 1 1 auto;
    }

    .guide-nav-item i:not(.faq-arrow) {
        margin: 0;
        flex-shrink: 0;
    }

    .guide-nav-item .faq-arrow {
        position: absolute;
        right: 1em;
        top: 50%;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
    }

    .guide-nav-item span {
        display: inline-block;
    }

    .guide-nav-item span br {
        display: none;
    }

    .activity-card .btn-more {
        width: 50%;
    }
}
.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;
}
.policy-note {
    background: #f8f9fa;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.policy-signature {
    text-align: right;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}
.policy-signature p {
    margin-bottom: 10px;
    color: #474747;
}
