/* ===== 予約フォーム ===== */
#inline-form-wrap {
    display: none;
    margin-top: 24px;
    width: 100%;
    max-width: 600px;
}
.reserve-form {
    background: #fff;
    border: 1px solid #e0d0b8;
    border-radius: 8px;
    padding: 32px 28px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}
.reserve-form .form-group {
    margin-bottom: 20px;
}
.reserve-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}
.reserve-form label .required {
    color: #c0392b;
    margin-left: 4px;
}
.reserve-form input,
.reserve-form select,
.reserve-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.reserve-form input:focus,
.reserve-form select:focus {
    outline: none;
    border-color: #c8a882;
}
.reserve-form select option:disabled {
    color: #bbb;
}
.seat-note {
    font-size: 0.8rem;
    color: #c0392b;
    margin-top: 4px;
    display: none;
}
.seat-note.show {
    display: block;
}
.form-submit-btn {
    width: 100%;
    padding: 14px;
    background: #c8a882;
    color: #111;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: opacity 0.2s;
    margin-top: 8px;
}
.form-submit-btn:hover {
    opacity: 0.85;
}
.form-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.form-open-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 14px;
    background: #c8a882;
    color: #111;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.08em;
    text-align: center;
    transition: opacity 0.2s;
}
.form-open-btn:hover {
    opacity: 0.85;
}
#form-result {
    margin-top: 16px;
    padding: 14px;
    border-radius: 6px;
    text-align: center;
    display: none;
}
#form-result.success {
    background: #f0f9f0;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
#form-result.error {
    background: #fff0f0;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
/* form-containerを縦並びにオーバーライド */
.form-container {
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}
/* 日付入力のはみ出し防止・iOS Safari スタイル正規化 */
.reserve-form input[type="date"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    height: 44px;
    line-height: 44px;
    background-color: #fff;
    color: #333;
}
/* 確認モーダル */
#confirm-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
#confirm-modal.show {
    display: flex;
}
.confirm-modal-inner {
    background: #fff;
    border-radius: 8px;
    padding: 32px 28px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
.confirm-modal-inner h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}
.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.confirm-table th,
.confirm-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0e8d8;
    text-align: left;
}
.confirm-table th {
    width: 40%;
    color: #888;
    font-weight: 600;
}
.confirm-modal-btns {
    display: flex;
    gap: 12px;
}
.confirm-modal-btns button {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}
.confirm-modal-btns button:hover { opacity: 0.85; }
.btn-confirm {
    background: #c8a882;
    color: #111;
}
.btn-back {
    background: #eee;
    color: #333;
}
/* ご案内カードグリッド */
.demae-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 860px;
    margin: 0 auto 24px;
    padding: 0 5%;
}
.demae-info-card {
    background: #fff;
    border: 1px solid #e0d0b8;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
}
.demae-info-icon {
    margin-bottom: 8px;
}
.demae-info-icon img {
    width: 2.8rem;
    height: 2.8rem;
}
.demae-info-label {
    font-size: 0.75rem;
    color: #8b6914;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.demae-info-value {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
}
.demae-info-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
}
.demae-info-grid-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto 24px;
    padding: 0 5%;
}
.demae-info-grid-flex .demae-info-card {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    box-sizing: border-box;
}
/* カレンダー凡例中央揃え */
.calendar-legend-center {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}
/* 電話リンク */
.tel-link {
    color: #8b6914;
    font-weight: 700;
}
@media (max-width: 600px) {
    .demae-info-grid { grid-template-columns: 1fr 1fr; }
    .demae-info-grid-flex .demae-info-card {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    /* フォームのパディングを縮小してTurnstileがはみ出さないようにする */
    .reserve-form {
        padding: 24px 16px;
    }
    /* Turnstileウィジェットの横幅オーバーフロー防止 */
    .cf-turnstile,
    #cf-turnstile {
        overflow: hidden;
        max-width: 100%;
    }
}
