@charset "UTF-8";

/* ========================================
   ABC Dental Reservation Page CSS
   Theme: Luxury, Trust, Calm (Imperial Hotel / Ukai-tei Style)
   ======================================== */

.abc-reservation {
    /* Variables */
    --abc-color-primary: #005bac;
    --abc-color-primary-dark: #004182;
    --abc-color-navy: #002b55;
    --abc-color-gold: #c5a059;
    --abc-color-gold-light: #e6dcc5;
    --abc-color-beige: #f9f8f4;
    --abc-color-text: #333333;
    --abc-color-text-light: #666666;
    --abc-color-white: #ffffff;
    --abc-color-black-btn: #333333;
    /* For requested black outline buttons */

    --abc-font-sans: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;

    /* Base Styles */
    font-family: var(--abc-font-primary);
    font-weight: 300;
    color: var(--abc-color-text);
    line-height: 1.8;
    background-color: var(--abc-color-white);
    padding: 60px 24px 100px;
    max-width: 800px;
    margin: 0 auto;
}

.abc-reservation * {
    box-sizing: border-box;
}

/* Link Decoration Override */
.abc-reservation a {
    text-decoration: none !important;
}

/* ========================================
   Header
   ======================================== */
.abc-reservation__header {
    text-align: center;
    margin-bottom: 60px;
}

.abc-reservation__title {
    font-family: var(--abc-font-primary) !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    color: var(--abc-color-navy) !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 16px !important;
    position: relative;
    display: inline-block;
}

.abc-reservation__title::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: var(--abc-color-gold);
    margin: 16px auto 0;
}

.abc-reservation__subtitle {
    font-size: 13px;
    color: var(--abc-color-gold);
    letter-spacing: 0.1em;
    font-family: var(--abc-font-sans);
    text-transform: uppercase;
}

/* ========================================
   Common Section Styles
   ======================================== */
.abc-reservation__sec {
    margin-bottom: 50px;
}

.abc-reservation__sec-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--abc-color-text);
    margin-bottom: 24px;
    border-left: 4px solid var(--abc-color-gold);
    padding-left: 16px;
    line-height: 1.2;
}

/* ========================================
   Buttons (Requested Black Outline)
   ======================================== */
.abc-reservation .abc-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: var(--abc-font-primary);
    letter-spacing: 0.05em;
    border-radius: 4px;
    /* Slightly rounded as per common outline style */
    text-align: center;
    cursor: pointer;
}

.abc-reservation .abc-btn--block {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
}

.abc-reservation .abc-btn--outline {
    background: transparent;
    color: var(--abc-color-black-btn);
    padding: 16px 24px;
    border: 1px solid var(--abc-color-black-btn);
    /* Black border as requested */
    font-weight: 500;
    font-size: 15px;
}

.abc-reservation .abc-btn--outline:hover {
    background: var(--abc-color-black-btn);
    color: #ffffff;
    opacity: 0.8;
}

.abc-reservation__btn-wrap {
    text-align: center;
}

.abc-reservation__btn-wrap + .abc-reservation__btn-wrap {
    margin-top: 16px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .abc-reservation {
        padding: 40px 20px 80px;
    }

    .abc-reservation__title {
        font-size: 24px !important;
    }
}

/* =============================================
   見出し改行制御
============================================= */

/* セクション見出し共通 */
.abc-reservation h2 {
    font-size: clamp(18px, 4vw, 26px);
    line-height: 1.5;
}

/* 意味単位を保護（途中改行を防止） */
.abc-reservation .abc-heading-unit {
    display: inline-block;
    white-space: nowrap;
}

/* 小スマホ（400px以下）: 強制的に整った複数行へ */
@media (max-width: 400px) {
    .abc-reservation h2 {
        font-size: 18px;
    }

    .abc-reservation .abc-heading-unit {
        display: block;
        white-space: normal;
    }
}