@charset "UTF-8";

/* ==========================================================================
   1. Foundation
   ========================================================================== */
:root {
    /* Colors */
    --color-text-main: #333333;
    --color-text-sub: #888888;
    --color-bg-body: #ffffff;
    --color-primary: #D68C45;
    --color-bg-gray: #f9f9f9;
    
    /* Dimensions (Figmaデザインに基づく正確な寸法) */
    --header-height: 79px; /* 88px → 79px */
    --btn-height-primary: 64px; /* 予約ボタン: 64px */
    --btn-height-secondary: 48px; /* 詳細ボタン: 48px */
    --fab-bottom-spacing: 32px; /* 下からの距離: 32px */
    --section-spacing: 64px; /* セクション間: 64px */
    --container-padding: 24px; /* 画面左右: 24px */
    
    --font-base: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-body);
    padding-top: calc(var(--header-height) + 41px); /* ヘッダー + グローバルナビ */
    padding-bottom: 76px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    display: block;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

/* ==========================================================================
   2. Layout
   ========================================================================== */
/* Intro Screen */
.p-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.p-intro.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.p-intro__image {
    position: absolute;
    top: 0;
    width: 100%;
    object-fit: cover;
}

.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #ffffff;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--container-padding);
    border-bottom: 1px solid #F2F2F2;
}

.l-header.is-hidden {
    display: none !important;
}

.l-container {
    padding: 0 var(--container-padding);
    margin: -25px auto 0;
    max-width: 100%;
    width: 100%;
}

.l-footer {
    background-color: #fff;
    padding: 48px 20px 24px;
    text-align: center;
    font-size: 0.75rem;
    color: #BDBDBD;
    border-top: 1px solid #F2F2F2;
    margin-top: var(--section-spacing);
}

/* Global Navigation */
.l-global-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 41px;
    background-image: url('images/gnavi_base.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #F2F2F2;
    z-index: 999;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.l-global-nav::-webkit-scrollbar {
    display: none;
}

.l-global-nav__list {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    gap: 0;
    min-width: max-content;
}

.l-global-nav__item {
    flex-shrink: 0;
}

.l-global-nav__link {
    display: block;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    border-radius: 100px;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

.l-global-nav__link.is-active::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 26px;
    border: 1px solid #C1C1C1;
    border-radius: 100px;
    pointer-events: none;
}

/* ==========================================================================
   3. Object > Component
   ========================================================================== */
/* Buttons */
.c-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.1s;
    border: none;
}
.c-btn:active {
    transform: scale(0.98);
}

/* Primary Button (予約ボタン) */
.c-btn--primary {
    width: 178px;
    height: 42px;
    background: linear-gradient(90deg, #F6D365 0%, #FDA085 100%);
    color: #333;
    box-shadow: 0px 8px 24px rgba(253, 160, 133, 0.4);
    font-size: 14px;
    font-weight: 500; /* 変更: 700 -> 500 */
}

/* Secondary Button (詳細ボタン) */
.c-btn--secondary {
    height: var(--btn-height-secondary);
    background: linear-gradient(90deg, #E6E9F0 0%, #EEF1F5 100%);
    color: #333;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: inset 0 -2px 5px -2px rgba(0, 0, 0, 0.15);
}
.c-btn--secondary i { 
    margin-right: 8px; 
    color: #828282; 
}

.c-btn--dark {
    height: 56px;
    background-color: #333;
    color: #fff;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
}

/* Section Title */
.c-title {
    margin: 64px 0 24px;
    position: relative;
}
.c-title__wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 2px;
    position: relative;
}
.c-title__wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: #E0E0E0;
    z-index: -1;
}
.c-title__main {
    font-family: 'Numans', var(--font-base);
    font-size: 2rem;
    font-weight: 300;
    color: #878787;
    line-height: 0.5;
    flex: 0 0 auto;
}
.c-title__sub {
    font-family: var(--font-base);
    font-size: 0.75rem;
    color: #BDBDBD;
    font-weight: 400;
    line-height: 1;
    padding-bottom: 2px;
    flex: 0 0 auto;
}

/* Hamburger Icon */
.c-hamburger {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: absolute;
    right: 16px;
    border-radius: 50%;
    background: linear-gradient(90deg, #EEE1E3 0%, #D3DFF2 100%);
}
.c-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    transition: 0.3s ease-in-out;
    border-radius: 1px;
}
.c-hamburger.is-active span:nth-child(1) { 
    transform: translateY(8px) rotate(45deg); 
}
.c-hamburger.is-active span:nth-child(2) { 
    opacity: 0; 
}
.c-hamburger.is-active span:nth-child(3) { 
    transform: translateY(-8px) rotate(-45deg); 
}

/* Tabs (About Page) */
.c-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 11px;
}
.c-tab-item {
    padding: 12px 24px;
    border-radius: 100px;
    background: linear-gradient(90deg, #E6E9F0 0%, #EEF1F5 100%);
    color: #828282;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: inset 0 -2px 5px -2px rgba(0, 0, 0, 0.15);
}
.c-tab-item.is-active {
    background: #4F4F4F;
    color: #fff;
}

/* Accordion (FAQ Page) */
.c-accordion__item { 
    border-bottom: 1px solid #F2F2F2; 
}
.c-accordion__header {
    padding: 24px 0 24px 40px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #333;
    position: relative;
}
.c-accordion__header::before {
    content: '\51';
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: #4F4F4F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.c-accordion__header::after {
    content: '\f061';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #878787;
    transition: 0.3s;
    font-size: 0.875rem;
    margin-left: 16px;
    flex-shrink: 0;
}
.c-accordion__item.is-open .c-accordion__header::after { 
    transform: rotate(90deg); 
}
.c-accordion__body {
    display: none;
    padding-bottom: 24px;
    padding-left: 40px;
    padding-right: 32px;
    font-size: 0.875rem;
    color: #4F4F4F;
    line-height: 1.8;
}
.c-accordion__item.is-open .c-accordion__body { 
    display: block; 
}

/* ==========================================================================
   4. Object > Project
   ========================================================================== */
/* Header Logo */
.p-logo { 
    display: contents;
}
.p-logo__icon {
    position: absolute;
    left: 17px;
    top: 16px;
    width: 50px; 
    height: 50px;
    object-fit: contain;
}
.p-logo svg { 
    width: 40px; 
    height: 40px; 
}
.p-logo__text { 
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1; 
    letter-spacing: 0.065rem;
    color: #333;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.p-logo__sub { 
    font-family: var(--font-base);
    font-size: 13px;
    font-weight: 500;
    display: block; 
    color: #828282;
    margin-top: 4px;
    line-height: 1;
}

/* Nav Overlay */
.p-nav-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background-color: #cccccc;
    background-image: url('images/hamburger_menu_bg.webp');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.p-nav-overlay.is-open { 
    opacity: 1; 
    pointer-events: auto;
    z-index: 1001; 
}

/* ハンバーガーメニュー表示時はヘッダーを非表示 */
/* JavaScriptで制御するため、CSSの:has()は使用しない（ブラウザ互換性のため） */
/*
body:has(.p-nav-overlay.is-open) .l-header {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
*/
.p-nav__list { 
    text-align: center; 
    margin-bottom: 64px; 
}
.p-nav__item { 
    margin-bottom: 24px;
}
.p-nav__link { 
    font-size: 1rem; /* 変更: 1.25rem -> 1rem */
    font-weight: 500; 
    letter-spacing: 0.05em;
    color: #333;
}

/* Top Hero */
.p-hero {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    background: #E0E0E0;
    margin-bottom: 0;
}
.p-hero__slide {
    position: absolute; 
    inset: 0;
    background-size: cover; 
    background-position: center;
    opacity: 0; 
    transition: opacity 1.5s;
}
.p-hero__slide.is-active { 
    opacity: 1; 
}

/* About Page */
.p-about__text { 
    font-size: 0.9375rem; 
    line-height: 2; 
    margin-bottom: 32px; 
    text-align: left;
    color: #333;
    width: 100%;
    max-width: none;
}

.p-about__map-img { 
    width: 100%; 
    display: none; 
}
.p-about__map-img.is-visible { 
    display: block; 
}

.p-about__spec-list { 
    margin-top: 40px; 
}
.p-about__spec-list dt { 
    font-weight: 700; 
    margin-top: 24px; 
    font-size: 0.9375rem;
    color: #333;
}
.p-about__spec-list dd { 
    font-size: 0.875rem; 
    color: #4F4F4F; 
    line-height: 1.8;
    margin-top: 8px;
}

/* Plan Page */
.p-plan-container {
    max-width: 312px;
    margin: 0 auto;
}

.p-plan-card-wrapper {
    margin-bottom: 24px;
}

.p-plan-card {
    border: 1px solid #CBCBCB;
    overflow: hidden;
    background: #fff;
}

.p-plan-card__title {
    height: 40px;
    background: #F4F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #333;
}

.p-plan-card__price {
    height: 44px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.p-plan-card__day {
    font-size: 1rem;
    color: #333;
    font-weight: 400;
}

.p-plan-card__amount {
    font-size: 1.6rem;
    background: linear-gradient(180deg, #D88067 0%, #D4BD76 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1;
}

.p-plan-card__unit {
    font-size: 1rem;
    color: #333;
    font-weight: 400;
}

.p-plan-card__note {
    font-size: 0.75rem;
    color: #828282;
    text-align: center;
    margin-top: 8px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.p-plan-banner {
    width: 312px;
    margin: 40px auto 0;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}
.p-plan-banner--orange {
    background: linear-gradient(90deg, #EF7589 0%, #F6A069 100%);
}
.p-plan-banner--green {
    background: linear-gradient(90deg, #56A7EA 0%, #A8D774 100%);
}

/* FAQ Page */
.p-faq-search {
    position: relative;
    max-width: 300px;
    margin: 0 auto 24px;
}

.p-faq-search input {
    width: 300px;
    height: 44px;
    padding: 12px 24px 12px 48px;
    border-radius: 100px;
    border: 1px solid #E0E0E0; 
    background: #FAFAFA; 
    font-size: 0.875rem;
    outline: none;
}

.p-faq-search input::placeholder {
    color: #BDBDBD;
}

.p-faq-search::before {
    content: '\f002';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #BDBDBD;
    font-size: 0.875rem;
    pointer-events: none;
}

.p-faq-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem; 
    padding: 10px 20px;
    background: linear-gradient(90deg, #E6E9F0 0%, #EEF1F5 100%);
    border-radius: 100px; 
    color: #4F4F4F;
    font-weight: 500;
    width: 100%;
    height: 42px;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 -2px 5px -2px rgba(0, 0, 0, 0.15);
}

.p-faq-tag:visited {
    color: #4F4F4F;
}

.p-faq-tag:active {
    background: linear-gradient(90deg, #E6E9F0 0%, #EEF1F5 100%);
}

.p-faq-tags-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 12px;
    margin-bottom: 32px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* Access Page */
.p-access-block { 
    margin-bottom: 64px; 
}
.p-access-block h3 { 
    text-align: center; 
    font-size: 1.125rem; 
    margin-bottom: 24px; 
    font-weight: 700;
    color: #333;
}

.p-access-list { 
    font-size: 0.875rem; 
    margin-bottom: 24px; 
}
.p-access-list li { 
    margin-bottom: 8px; 
    padding-bottom: 6px;
    color: #333;
}

/* Floating Action Button */
.p-floating-action {
    position: fixed; 
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    z-index: 900;
    background-image: url('images/foot_base.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

/* Top Page Specific Styles */
.p-top-about__content {
    width: 100%;
    margin-bottom: 24px;
}

.p-top-about__content .p-about__text {
    text-align: left;
    margin-bottom: 0;
}

.p-top-about__content-with-map {
    width: 100%;
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.p-top-about__content-with-map .p-about__text {
    text-align: left;
    margin-bottom: 0;
    max-width: 185px;
    flex-shrink: 0;
}

.p-top-about__grid-wrapper {
    position: relative;
    margin: 0 0 48px auto;
    width: 343px;
    height: 229px;
}

.p-top-about__grid {
    display: grid;
    grid-template-columns: 170px 170px;
    grid-template-rows: 113px 113px;
    gap: 3px;
    width: 343px;
    height: 229px;
}

.p-top-about__grid img {
    width: 170px;
    height: 113px;
    object-fit: cover;
}

.p-top-about__btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 170px;
}

.p-top-about__btn-wrapper .c-btn {
    width: 170px;
    height: 42px;
    font-size: 0.875rem;
    padding: 0 16px;
}

/* Floor Map Section */
.p-top-about__map-wrapper {
    position: relative;
    width: 93px;
    flex-shrink: 0;
    margin-right: 25px;
}

.p-top-about__map-wrapper img {
    width: 93px;
    height: 158px;
    object-fit: cover;
    border-radius: 4px;
}

.p-top-about__map-btn-wrapper {
    position: absolute;
    bottom: -54px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 141px;
}

.p-top-about__map-btn-wrapper .c-btn {
    width: 141px;
    height: 42px;
    font-size: 0.875rem;
    padding: 0 12px;
}

/* About Page Gallery */
.p-about__gallery-wrapper {
    position: relative;
    margin: 24px 0 24px;
}

.p-about__gallery { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3px;
}

.p-about__gallery img { 
    width: 100%; 
    aspect-ratio: 1 / 0.75; 
    object-fit: cover; 
}

.p-about__btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 170px;
}

.p-about__btn-wrapper .c-btn {
    width: 170px;
    height: 42px;
    font-size: 0.875rem;
    padding: 0 16px;
}

.p-top-exhibitions__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

/* Exhibition Carousel */
.p-exhibition-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 4px;
}

.p-carousel-wrapper {
    width: 343px;
    height: 229px;
    overflow: hidden;
    margin: 0 auto;
}

.p-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    height: 100%;
}

.p-carousel-track img {
    width: 343px;
    height: 229px;
    flex-shrink: 0;
    object-fit: cover;
}

.p-carousel-btn {
    position: absolute;
    bottom: 8px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    color: #333;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.p-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.p-carousel-btn:active {
    transform: scale(0.95);
}

.p-carousel-btn--prev {
    left: 8px;
}

.p-carousel-btn--next {
    right: 8px;
}

.p-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


/* Page Top Button */
.c-page-top {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 42px;
    height: 42px;
    background: #D4C4A8;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 999;
}

.c-page-top:hover {
    background: #C0B090;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.c-page-top:active {
    transform: translateY(0);
}

/* ==========================================================================
   5. Booking Page Styles
   ========================================================================== */

/* Booking Container */
.l-container--booking {
    padding-top: 32px;
    padding-bottom: 100px; /* プログレスバーの高さ分確保 */
}

/* Booking Header */
.p-booking-header {
    text-align: center;
    margin-bottom: 32px;
}

.p-booking-header__title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.4;
}

.p-booking-header__subtitle {
    font-size: 0.875rem;
    color: #4F4F4F;
    line-height: 1.6;
}

/* Progress Indicator */
.p-booking-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #E0E0E0;
    padding: 12px 16px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.p-booking-progress__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.p-booking-progress__number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #E0E0E0;
    color: #828282;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.p-booking-progress__item.is-active .p-booking-progress__number,
.p-booking-progress__item.is-completed .p-booking-progress__number {
    background: linear-gradient(180deg, #F6D365 0%, #FDA085 100%);
    color: #333;
}

.p-booking-progress__label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #333333;
    white-space: nowrap;
}

.p-booking-progress__line {
    width: 24px;
    height: 2px;
    background-color: #E0E0E0;
    margin: 0 4px;
    margin-bottom: 20px;
}

/* Booking Steps */
.p-booking-step {
    display: none;
}

.p-booking-step.is-active {
    display: block;
}

/* Section Title */
.p-booking-section-title {
    width: 100%;
    max-width: 343px;
    margin: 0 auto 32px;
    padding: 12px 0;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 500;
    color: #333;
    background: linear-gradient(90deg, 
        rgba(255, 242, 235, 1) 0%, 
        rgba(255, 242, 235, 1) 20%, 
        rgba(237, 247, 255, 1) 80%, 
        rgba(237, 247, 255, 1) 100%);
    position: relative;
}

.p-booking-section-title::before,
.p-booking-section-title::after {
    content: '';
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
}

.p-booking-section-title::before {
    left: 0;
}

.p-booking-section-title::after {
    right: 0;
}

/* Form Groups */
.p-booking-form-group {
    margin-bottom: 24px;
}

.p-booking-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.p-booking-required {
    color: #EF7589;
    margin-left: 4px;
}

/* Input Fields */
.p-booking-input,
.p-booking-select,
.p-booking-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #333;
    font-family: var(--font-base);
    background-color: #fff;
    transition: border-color 0.2s;
}

.p-booking-input::placeholder,
.p-booking-textarea::placeholder {
    color: #BDBDBD;
}

.p-booking-input:focus,
.p-booking-select:focus,
.p-booking-textarea:focus {
    outline: none;
    border-color: #FDA085;
}

.p-booking-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Plan Cards */
.p-booking-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.p-booking-plan-card {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #fff;
}

.p-booking-plan-card:hover {
    border-color: #BDBDBD;
}

.p-booking-plan-card.is-selected {
    background: linear-gradient(180deg, #FFF9E6 0%, #FFF9E6 100%);
    border-color: #D4BD76;
}

.p-booking-plan-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.p-booking-plan-card__days {
    font-size: 0.75rem;
    color: #828282;
    margin-bottom: 8px;
}

.p-booking-plan-card__price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #333;
}

/* Date Input */
.p-booking-date-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background-color: #fff;
    transition: border-color 0.2s;
}

.p-booking-date-input:hover {
    border-color: #BDBDBD;
}

.p-booking-date-input i {
    color: #828282;
    font-size: 1.125rem;
}

.p-booking-date-input span {
    flex: 1;
    font-size: 0.9375rem;
    color: #BDBDBD;
}

.p-booking-date-input.has-selection span {
    color: #333333;
}

/* Option Cards */
.p-booking-option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.p-booking-option-card {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    padding: 16px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-booking-option-card:hover {
    border-color: #BDBDBD;
}

.p-booking-option-card.is-selected {
    background: linear-gradient(180deg, #FFF9E6 0%, #FFF9E6 100%);
    border-color: #D4BD76;
}

/* Option Note */
.p-booking-option-note {
    margin-top: 16px;
    padding: 12px 16px;
    background-color: #F9F9F9;
    border-radius: 8px;
    border-left: 3px solid #D4BD76;
}

.p-booking-option-note p {
    font-size: 0.875rem;
    color: #4F4F4F;
    line-height: 1.8;
    margin: 0;
    padding: 4px 0;
}

.p-booking-option-note p:first-child {
    padding-top: 0;
}

.p-booking-option-note p:last-child {
    padding-bottom: 0;
}

/* Navigation Buttons */
.p-booking-nav-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.p-booking-nav-buttons .p-booking-error-message,
.p-booking-nav-buttons .p-booking-message {
    width: 100%;
    max-width: 343px;
    margin-bottom: 4px;
}

.p-booking-nav-buttons__row {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 343px;
}

.p-booking-nav-buttons__row .c-btn--back {
    width: 100px;
    flex-shrink: 0;
}

.p-booking-nav-buttons__row .c-btn--next,
.p-booking-nav-buttons__row .c-btn--submit {
    flex: 1;
}

.c-btn--back {
    width: 140px;
    height: 56px;
    background-color: #F7F7F7;
    color: #333;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
}

.c-btn--next {
    width: 240px;
    height: 56px;
    background: linear-gradient(90deg, #3B82F6 0%, #60A5FA 100%);
    color: #fff;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
}

.c-btn--submit {
    width: 240px;
    height: 56px;
    background: linear-gradient(90deg, #DC2626 0%, #EF4444 100%);
    color: #fff;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
}

/* Confirmation Section */
.p-booking-confirm-intro {
    text-align: center;
    font-size: 0.875rem;
    color: #4F4F4F;
    margin-bottom: 32px;
}

.p-booking-confirm-section {
    margin-bottom: 32px;
}

.p-booking-confirm-item {
    padding: 16px 0;
    border-bottom: 1px solid #F2F2F2;
}

.p-booking-confirm-item:first-child {
    border-top: 1px solid #F2F2F2;
}

.p-booking-confirm-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #828282;
    margin-bottom: 8px;
}

.p-booking-confirm-value {
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.6;
}

/* Calendar Modal */
.p-booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

/* Booking Error Message (near buttons) */
.p-booking-error-message {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    color: #DC2626;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}

/* Booking General Message (success/error for step4) */
.p-booking-message {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}

.p-booking-message.is-success {
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #16A34A;
}

.p-booking-message.is-error {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
}

/* Field Error Message */
.p-booking-field-error {
    display: block;
    font-size: 0.75rem;
    color: #DC2626;
    margin-top: 4px;
    min-height: 18px;
}

/* Input field error state */
.p-booking-input.is-error,
.p-booking-select.is-error {
    border-color: #DC2626;
}

.p-booking-modal.is-open,
.p-booking-modal.is-active {
    display: block;
}

.p-booking-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.p-booking-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 400px;
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Calendar */
.p-booking-calendar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.p-booking-calendar__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

.p-booking-calendar__nav {
    background: none;
    border: none;
    font-size: 0.875rem;
    color: #4F4F4F;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 100px;
    transition: background-color 0.2s;
}

.p-booking-calendar__nav:hover {
    background-color: #F7F7F7;
}

.p-booking-calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    text-align: center;
}

.p-booking-calendar__weekdays > div {
    font-size: 0.875rem;
    font-weight: 500;
    color: #828282;
    padding: 8px 0;
}

.p-booking-calendar__weekdays .is-friday {
    color: #3B82F6;
}

.p-booking-calendar__weekdays .is-saturday {
    color: #3B82F6;
}

.p-booking-calendar__weekdays .is-sunday {
    color: #DC2626;
}

.p-booking-calendar__dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 24px;
}

.p-booking-calendar__date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.p-booking-calendar__date.is-available {
    border-color: #3B82F6;
    color: #333;
}

.p-booking-calendar__date.is-available:hover {
    background-color: #EFF6FF;
}

.p-booking-calendar__date.is-selected {
    background: linear-gradient(180deg, #FFF9E6 0%, #FFF9E6 100%);
    border-color: #D4BD76;
    color: #333;
    font-weight: 700;
}

.p-booking-calendar__date.is-disabled,
.p-booking-calendar__date.is-past {
    color: #E5E7EB;
    cursor: not-allowed;
    background-color: transparent;
}

.p-booking-calendar__legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 0;
    border-top: 1px solid #F2F2F2;
    border-bottom: 1px solid #F2F2F2;
}

.p-booking-calendar__legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.p-booking-calendar__legend-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #E0E0E0;
}

.p-booking-calendar__legend-box.is-available {
    border-color: #3B82F6;
}

.p-booking-calendar__legend-box.is-selected {
    background: linear-gradient(180deg, #FFF9E6 0%, #FFF9E6 100%);
    border-color: #D4BD76;
}

.p-booking-calendar__legend-item span {
    font-size: 0.75rem;
    color: #4F4F4F;
}

.p-booking-calendar__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* =====================================
   予約状況表示用CSS（追加）
   ===================================== */

.p-booking-calendar__date.is-booked {
    background: #ffcccc;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.p-booking-calendar__date.is-blocked {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: line-through;
}

.p-booking-calendar__date.is-past {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   5. Desktop/Tablet Responsive (iPhone Mockup Display)
   ========================================================================== */

/* デスクトップ・タブレット向けのスタイル */
@media screen and (min-width: 768px) {
    /* bodyのベーススタイル調整 */
    body {
        background-color: #eef1f2;
        padding: 0;
        overflow: auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        min-height: 100vh;
        padding-top: 0;
        padding-bottom: 40px;
    }
    
    /* モックアップ用のラッパー（iPhone本体 + iOSヘッダー組み込み済み） - 上端0pxに配置 */
    body::before {
        content: '';
        position: fixed;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 3000px;
        height: 1183px;
        background-image: url('images/pcview_mock.webp');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        pointer-events: none;
        z-index: 10000;
    }
    
    /* すべてのコンテンツをモックアップ内に配置 */
    body > * {
        max-width: 393px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* ヘッダー - iOSヘッダーの下に配置 */
    .l-header {
        position: fixed;
        top: calc(40px + 59px);
        left: 50%;
        transform: translateX(-50%);
        width: 393px;
        max-width: 393px;
        z-index: 9999;
    }
    
    /* グローバルナビ - ヘッダー直下に固定 */
    .l-global-nav {
        position: fixed;
        top: calc(40px + 59px + 79px);
        left: 50%;
        transform: translateX(-50%);
        width: 393px;
        max-width: 393px;
        z-index: 9998;
    }
    
    /* メインコンテンツエリア - スクロール可能 */
    body > main {
        position: fixed;
        top: calc(40px + 59px + 79px + 41px);
        left: 50%;
        transform: translateX(-50%);
        width: 393px;
        max-width: 393px;
        height: 620px;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: #ffffff;
        z-index: 1;
        padding-top: 0;
    }
    
    /* l-containerの調整 */
    .l-container {
        width: 100%;
        max-width: 393px;
        margin: -25px auto 0;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
        padding-top: 0;
        padding-bottom: 70px;
        height: 643px;
    }
    
    /* top-accessセクションの調整（index.html） */
    #top-access {
        padding-bottom: 70px;
    }
    
    /* 各ページの最下部要素にmargin-bottomを設定 */
    /* about.html */
    .p-about__spec-list {
        margin-bottom: 70px;
    }
    
    /* access.html */
    .p-access-block:last-of-type {
        margin-bottom: 70px;
    }
    
    /* exhibitions.html - 最後のdiv内のp要素 */
    main > div:last-of-type p {
        margin-bottom: 22px;
    }
    
    /* plan.html - p-plan-container内の最後のdiv */
    .p-plan-container > div:last-of-type {
        margin-bottom: 70px;
    }
    
    /* faq.html */
    .c-accordion:last-of-type {
        margin-bottom: 70px;
    }
    
    /* PC閲覧時はフッターを非表示 */
    .l-footer {
        display: none;
    }
    
    /* Hero セクション（トップページのみ） */
    .p-hero {
        margin-top: 0;
    }
    
    /* フッター - モックアップスクリーン下部に固定 */
    .l-footer {
        position: fixed;
        top: calc(1104px - 40px - 76px);
        left: 50%;
        transform: translateX(-50%);
        width: 393px;
        max-width: 393px;
        z-index: 9997;
    }
    
    /* フローティングアクションボタン - スクリーン内下部に固定 */
    .p-floating-action {
        position: fixed;
        /* bottom: 0; */
        top: 800px; /* 新モック画像のスクリーン高さ810pxに対応 */
        left: 50%;
        transform: translateX(-50%);
        width: 393px;
        max-width: 393px;
        padding: 0 var(--container-padding);
        z-index: 9996;
    }
    
    /* 予約プログレスバー - スクリーン内下部に固定 */
    .p-booking-progress {
        position: fixed;
        top: 788px;
        left: 50%;
        transform: translateX(-50%);
        width: 393px;
        max-width: 393px;
        bottom: auto;
        z-index: 9995;
    }
    
    /* 予約ナビゲーションボタン - 下部余白調整 */
    .p-booking-nav-buttons {
        margin-bottom: 58px;
    }
    
    /* ナビゲーションオーバーレイ - 右からスライドイン */
    .p-nav-overlay {
        position: fixed;
        /*top: calc(40px + 59px);*/
        left: 100%;
        transform: translateX(0);
        width: 393px;
        max-width: 393px;
        height: calc(1104px - 40px - 59px);
        margin: 0;
        z-index: 10001;
        /*transition: left 0.3s ease-in-out;*/
    }
    
    .p-nav-overlay.is-open {
        left: 50%;
        transform: translateX(-50%);
        opacity: 1;
        pointer-events: auto;
        z-index: 9999;
    }
    
    /* スクロールバーのスタイリング */
    body > main::-webkit-scrollbar {
        width: 8px;
    }
    
    body > main::-webkit-scrollbar-track {
        background: #f9f9f9;
    }
    
    body > main::-webkit-scrollbar-thumb {
        background: #c0c0c0;
        border-radius: 4px;
    }
    
    body > main::-webkit-scrollbar-thumb:hover {
        background: #a0a0a0;
    }
    
    /* モーダル系の調整（予約フォームなど） */
    .p-booking-modal {
        position: fixed !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 393px !important;
        height: calc(1104px - 40px - 59px) !important;
        margin: 0 !important;
    }
    
    /* PC閲覧時はis-openでもleftとtransformを維持 */
    .p-booking-modal.is-open,
    .p-booking-modal.is-active {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .p-booking-modal__content {
        max-width: 360px;
    }
    
    /* book.htmlのl-container--booking */
    .l-container--booking {
        height: 709px;
        top: calc(40px + 59px + 79px + 41px - 17px);
    }
    
    /* p-booking-header */
    .p-booking-header {
        margin-top: 20px;
    }
    
    /* c-tab-item */
    .c-tab-item {
        border-radius: 40px;
        font-size: 0.8rem;
    }
    
    /* ページトップに戻るボタン - スクリーン内右下に固定 */
    .c-page-top {
        position: fixed;
        bottom: auto;
        top: 760px; /* ボタンサイズ変更に伴う位置調整 */
        right: auto;
        left: 50%;
        margin-left: calc(393px / 2 - 48px);
        width: 36px; /* PC閲覧時のサイズ */
        height: 36px; /* PC閲覧時のサイズ */
        font-size: 1rem; /* アイコンサイズも調整 */
        display: block !important; /* PC閲覧時は常に表示（インラインスタイルを上書き） */
    }
    
    /* c-btn--primary */
    .c-btn--primary {
        margin-top: 5px;
    }
    
    /* Intro Screen - PC閲覧時はモックスクリーン内に配置 */
    .p-intro {
        position: fixed;
        top: calc(40px + 59px); /* ヘッダーと同じ位置 */
        left: 50%;
        transform: translateX(-50%);
        width: 393px;
        max-width: 393px;
        height: 810px; /* スクリーン高さと同じ */
        z-index: 9999; /* モック枠(10000)より下、他の要素より上 */
        overflow: hidden; /* はみ出しを防ぐ */
        border-radius: 0; /* モックのスクリーン角に合わせる */
    }
    
    .p-intro__image {
        border-radius: 0; /* 画像の角丸をリセット */
    }
}

/* ブラウザ高さ725px以下の場合、すべて80%に縮小 */
@media screen and (min-width: 768px) and (max-height: 900px) {
    body::before,
    .l-header,
    .l-global-nav,
    body > main,
    .l-footer,
    .p-floating-action,
    .p-nav-overlay,
    .p-booking-modal,
    .p-intro,
    #mockup-clock {
        transform: translateX(-50%) scale(0.8);
        transform-origin: top center;
    }
    
    .p-nav-overlay {
        transform: translateX(0) scale(0.8);
    }
    
    .p-nav-overlay.is-open {
        transform: translateX(-50%) scale(0.8);
    }
    
    /* p-booking-modal.is-open/is-activeも80%縮小 */
    .p-booking-modal.is-open,
    .p-booking-modal.is-active {
        transform: translateX(-50%) scale(0.8) !important;
    }
    
    /* 時計の80%表示時の位置調整（クラス併用版） */
    #mockup-clock.mockup-clock--compact {
        top: 35px !important;
        padding-left: 60px !important;
    }
    
    /* 時計の80%表示時の位置調整（強制版 - クラス不要） */
    #mockup-clock {
        top: 35px !important;
        padding-left: 60px !important;
    }

    .l-header {
        top: calc((40px + 59px)*0.8);
    }

    .l-global-nav {
        top: calc((40px + 59px + 79px)*0.8);
    }
    
    body > main {
        top: calc((40px + 59px + 79px + 41px)*0.8);
    }

    .p-floating-action {
        top: calc(800px * 0.8); /* 新モック画像対応 */
    }
    
    /* 予約プログレスバー（80%縮小時） */
    .p-booking-progress {
        top: 617px;
    }
    
    /* 予約ナビゲーションボタン（80%縮小時） */
    .p-booking-nav-buttons {
        margin-bottom: 58px;
    }
    
    /* book.htmlのl-container--booking（80%縮小時） */
    .l-container--booking {
        top: calc((40px + 59px + 79px + 41px - 17px)*0.8);
    }
    
    /* ページトップに戻るボタン（80%縮小時） */
    .c-page-top {
        top: calc(760px * 0.8); /* = 608px */
        margin-left: calc((393px / 2 - 48px) * 0.8); /* = 110.8px */
        width: calc(36px * 0.8); /* = 28.8px */
        height: calc(36px * 0.8); /* = 28.8px */
        font-size: calc(1rem * 0.8); /* アイコンサイズも80%に */
    }
}

/* ==========================================================================
   6. Contact Form Styles
   ========================================================================== */
.p-contact-form {
    max-width: 100%;
    margin: 0 auto;
}

.p-contact-form__group {
    margin-bottom: 24px;
}

.p-contact-form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.p-contact-form__required {
    display: inline-block;
    background: #D68C45;
    color: #fff;
    font-size: 0.625rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 700;
}

.p-contact-form__input,
.p-contact-form__textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: var(--font-base);
    color: #333;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.p-contact-form__input::placeholder,
.p-contact-form__textarea::placeholder {
    color: #BDBDBD;
}

.p-contact-form__input:focus,
.p-contact-form__textarea:focus {
    outline: none;
    border-color: #D68C45;
}

.p-contact-form__input.error {
    border-color: #E53935;
}

.p-contact-form__error {
    display: block;
    font-size: 0.75rem;
    color: #E53935;
    margin-top: 4px;
    min-height: 18px;
}

.p-contact-form__textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.6;
}