@charset "UTF-8";

/* ================================
   上段：3カラム（35%）
================================ */

.row {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}

.col-left,
.col-center,
.col-right {
    width: 35%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 上段中央カラムだけ中央揃え */
.col-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ================================
   下段：3カラム（完全分離）
================================ */

.col-left-bottom,
.col-center-bottom,
.col-right-bottom {
    width: 35%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* ================================
   上段
================================ */

.top-row {
    margin-top: 40px;
    margin-bottom: 15px;
}

.logo-img {
    width: 320px;
    height: auto;
    margin-bottom: 5px;
}

h3 {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 2px 0;
    white-space: nowrap;
    line-height: 1.2;
}

h1 {
    font-size: 32px;
    font-weight: bold;
    margin: 2px 0;
    white-space: nowrap;
}

h2 {
    font-size: 32px;
    margin: 5px 0;
    white-space: nowrap;
}

.col-center h1 {
    margin-bottom: 0px;
}

.col-center h2 {
    margin-top: 6px;
}

.time-title {
    margin-top: 12px;
    font-size: 17px;
}

h4 {
    font-size: 15px;
    font-weight: bold;
    margin: 8px 0 4px 0;
    white-space: nowrap;
}

h5 {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 2px 0;
    white-space: nowrap;
    color: red;
}

/* ================================
   下段：2カラム（eventページ）
================================ */

.about-row {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}

.about-left {
    flex: 0 0 70%;
    box-sizing: border-box;
    padding-right: 20px;
    text-align: left;
}

.col-right-bottom {
    flex: 0 0 35%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* ================================
   見出し・本文
================================ */

.about-left h3:not(.tel) {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.page-title,
.about-subtitle {
    font-size: inherit;
}

.page-title {
    margin-bottom: 20px;
    padding-bottom: 6px;
}

.about-subtitle {
    margin-top: 20px;
    margin-bottom: 10px;
}

.about-left p {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 10px;
}

.about-left a {
    color: #0066cc;
    text-decoration: underline;
}

.about-left a:hover {
    color: #004c99;
}

/* ================================
   背景色ハイライト
================================ */

.highlight-bg {
    background-color: #f7e9c0;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 3px;
}

/* ================================
   下段右カラム：6つのメニューボタン
================================ */
.side-menu-btn {
    display: flex;
    align-items: center;
    width: 250px;
    height: 60px;
    margin: 3px 0;
    background-color: #e0a020;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s ease;
}

.col-right-bottom .side-menu-btn:first-child {
    margin-top: 0;
}

.menu-icon {
    width: 60px;
    height: 60px;
    background-color: #c4881a;
    padding: 10px;
    box-sizing: border-box;
}

.side-menu-btn span {
    flex: 1;
    height: 60px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.side-menu-btn:hover {
    filter: brightness(1.1);
}

/* 下段右カラムのアンダーバーをボタンと同じ幅に */
.col-right-bottom .info-line {
    width: 250px;
    margin: 12px 0;
}

/* ================================
   江東区ドクターズ（PC用）
================================ */
.doctor-banner-link {
    display: block;
    width: 250px;
    margin: 5px auto 5px 0; /* PCは左寄せ */
}

.doctor-banner-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ================================
   イベント写真（PC用）
================================ */
.event-photo {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin-bottom: 20px;
}


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

.site-footer {
    width: 100%;
    background-color: #ffffff;
    padding: 20px 0;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #913c00;
    color: #fff;
    padding: 20px 0;
    border-radius: 4px;
}

.footer-links {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    padding-right: 14px;
}

.footer-links a::after {
    content: "｜";
    position: absolute;
    right: -6px;
    top: 0;
    color: #fff;
}

.footer-links a:last-child::after {
    content: "";
}

.footer-copy {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 8px;
    text-align: center;
}

/* ================================
   スマホ対応
================================ */

@media (max-width: 1000px) {

    .row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .col-left,
    .col-center,
    .col-right {
        width: 100%;
    }

    .logo-img {
        width: 95%;
    }

    .about-row {
        flex-direction: column;
        max-width: 95%;
        gap: 10px;
    }

    /* 親を flex → block に戻す（中央寄せの必須条件） */
    .about-left,
    .col-right-bottom {
        flex: 0 0 100%;
        padding-right: 0;
        width: 100%;
        box-sizing: border-box;
        display: block !important;
    }

    /* doctor-banner を中央に見せるための親側の指定 */
    .col-right-bottom {
        text-align: center !important;
    }

    .about-left p {
        font-size: 14px;
        line-height: 1.8;
    }

    .side-menu-btn {
        display: none;
    }

    .col-right-bottom .info-line {
        width: 95% !important;
        margin: 20px auto !important;
    }

    /* doctor-banner を確実に中央寄せ */
    .doctor-banner-link {
        width: 250px !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 10px !important;
        margin-bottom: 20px !important;
        float: none !important;
        position: static !important;
    }

    .doctor-banner-img {
        width: 100% !important;
    }

    .event-photo {
        width: 100% !important;
        height: auto !important;
        display: block;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .footer-links {
        gap: 4px 8px;
    }

    .footer-links a {
        font-size: 12px;
        padding-right: 10px;
    }

    .footer-copy {
        font-size: 11px;
    }
}