/* ==============================
   Medi-UP メンテナンスページ
   Brand: #0093BF
   ============================== */

:root {
    --brand: #0093BF;
    --brand-dark: #00789C;
    --brand-ink: #007F9C;
    --text: #333333;
    --text-sub: #666666;
    --line: #e0eff4;
    --bg: #f1f7fa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Helvetica Neue",
        "Yu Gothic",
        "YuGothic",
        "Hiragino Kaku Gothic ProN",
        Meiryo,
        sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
}

/* ==============================
   全体レイアウト
   ============================== */

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

/* ==============================
   カード
   ============================== */

.card {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border-radius: 14px;
    padding: 56px 48px 48px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 40, 80, 0.09);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--brand);
}

.logo {
    margin-bottom: 34px;
}

.logo img {
    width: 215px;
    max-width: 80%;
    height: auto;
}

/* ステータスアイコン */

.status-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #e0eff4;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon svg {
    width: 40px;
    height: 40px;
}

/* ==============================
   テキスト
   ============================== */

.title {
    margin: 0 0 22px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--text);
}

.lead {
    margin: 0 0 16px;
    font-size: 16px;
}

.description {
    margin: 0 0 34px;
    color: var(--text-sub);
    font-size: 15px;
}

/* ==============================
   ボタン
   ============================== */

.link-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.button {
    display: block;
    width: 100%;
    padding: 17px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: opacity .2s ease, background-color .2s ease;
}

.button:hover {
    opacity: .85;
}

.button-primary {
    background: var(--brand);
    color: #ffffff;
    border: 2px solid var(--brand);
}

.button-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.button-secondary {
    background: #ffffff;
    color: var(--brand-ink);
    border: 2px solid var(--brand);
}

/* ==============================
   電話番号
   ============================== */

.contact {
    margin-top: 34px;
    padding: 22px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7fcfd;
}

.contact-primary {
    margin-top: 0;
    margin-bottom: 30px;
    padding: 24px 20px;
    border: 2px solid var(--brand);
}

.contact-label {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: var(--text-sub);
    letter-spacing: .04em;
}

.contact-tel {
    margin: 4px 0 2px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--brand-ink);
    letter-spacing: .02em;
}

/* 校舎が複数ある場合 */

.contact-list {
    margin: 10px 0 6px;
    display: inline-block;
    text-align: left;
}

.contact-branch {
    margin: 0;
    line-height: 1.5;
}

.contact-branch + .contact-branch {
    margin-top: 4px;
}

.contact-branch__name {
    display: inline-block;
    min-width: 6em;
    font-size: 12px;
    font-weight: bold;
    color: var(--text-sub);
    vertical-align: middle;
}

.contact-branch__num {
    font-size: 23px;
    font-weight: 700;
    color: var(--brand-ink);
    letter-spacing: .01em;
    vertical-align: middle;
}

.contact-hours {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-sub);
}

/* PCでは電話番号をリンクとして機能させない */

a[href^="tel:"] {
    pointer-events: none;
    color: inherit;
    text-decoration: none;
}

/* ==============================
   補足
   ============================== */

.notice {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.notice-title {
    margin: 0 0 6px;
    font-weight: bold;
    color: var(--text);
}

.notice-body {
    margin: 0;
    color: var(--text-sub);
    line-height: 1.9;
}

/* ==============================
   フッター
   ============================== */

footer {
    padding: 22px 20px 30px;
    text-align: center;
    color: #8a8f96;
    font-size: 12px;
    line-height: 2.2;
}

footer img {
    width: 120px;
    height: auto;
    opacity: .6;
}

/* ==============================
   スマートフォン対応
   ============================== */

@media screen and (max-width: 600px) {

    .container {
        padding: 24px 15px;
    }

    .card {
        padding: 40px 22px 34px;
        border-radius: 10px;
    }

    .logo {
        margin-bottom: 26px;
    }

    .logo img {
        width: 190px;
    }

    .status-icon {
        width: 64px;
        height: 64px;
    }

    .status-icon svg {
        width: 34px;
        height: 34px;
    }

    .title {
        font-size: 21px;
    }

    .lead {
        font-size: 15px;
    }

    .description {
        font-size: 14px;
    }

    .button {
        padding: 15px;
        font-size: 15px;
    }

    .contact-tel {
        font-size: 26px;
    }

    .contact-branch__name {
        min-width: 5.2em;
    }

    .contact-branch__num {
        font-size: 21px;
    }

    .pc-only {
        display: none;
    }

    /* スマートフォンでは電話番号をタップ発信できるようにする */
    a[href^="tel:"] {
        pointer-events: auto;
        cursor: pointer;
        color: var(--brand-ink);
        text-decoration: underline;
    }
}
