/* ==================================== */
/* pages.css: 各ページ固有のスタイル */
/* ==================================== */

/* --- 1. TOP Page (index.html) --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    z-index: -1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-light);
}

/* --- 2. FAQ Page (faq.html) --- */
.faq-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.jump-chip {
    padding: 10px 14px;
    border: 1px solid rgba(29, 76, 107, 0.25);
    background: var(--bg-f8);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-family: var(--font-heading);
}

.faq-item {
    background: var(--bg-f8);
    border: 1px solid var(--glass-border);
    margin: 12px 0;
}

.faq-item summary {
    padding: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

.faq-item[open] .icon {
    transform: rotate(180deg);
}

.faq-item .a {
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--glass-border);
}

/* --- 3. Reservation Page (reservation.html) --- */
.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field input, 
.form-field select, 
.form-field textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--glass-border);
    background: var(--bg-f8);
}

.is-invalid {
    border-color: #c80000 !important;
    box-shadow: 0 0 0 3px rgba(200, 0, 0, 0.1);
}

/* --- 4. Policy Pages (privacy.html / terms.html) --- */
.policy-section {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
}

.policy-list {
    padding-left: 20px;
    margin: 15px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
}
/* --- FAQ Footer CTA (pages.cssに追加) --- */
.faq-footer-cta {
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 60px;
}

.faq-footer-cta p {
    margin-bottom: 30px;
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

/* ボタンエリアのレイアウト固定 */
.faq-footer-cta .cta-actions {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center; /* 垂直方向の中央揃え */
}

@media (max-width: 768px) {
    .faq-footer-cta .cta-actions {
        flex-direction: column;
        gap: 20px;
    }
}
