/* ============================================================
   1. 全体設定
   ============================================================ */
.clinic-intro-wrapper {
    font-family: "Yu Mincho", "MS Mincho", serif;
    color: #333; 
    letter-spacing: 0.02em;
	padding-bottom: 30px;
	margin-bottom: 50px;
}

/* 理事長挨拶セクション全体を line-height 1.6 に設定 */
.clinic-intro-section {
    line-height: 1.6;
}

/* ============================================================
   2. 理事長挨拶セクション（上部）
   ============================================================ */
.clinic-intro {
    padding: 80px 20px;
    background-color: #fff;
}

.clinic-intro-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.clinic-intro-section {
    margin-bottom: 60px;
}

.clinic-intro-heading {
    font-size: 22px;
    color: #a68b5a;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #eee;
    padding-bottom: 7px;
}

.clinic-intro-copy-main {
    font-size: 20px;
    color: #a68b5a;
    margin-bottom: 5px;
}

.clinic-intro-copy-sub {
    font-size: 18px;
    margin-bottom: 20px;
}

.clinic-intro-text p {
    margin-bottom: 16px;
    font-size: 15px;
}

.clinic-intro-flex {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.clinic-intro-image {
    flex: 0 0 40%;
}

.clinic-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.clinic-intro-content {
    flex: 1;
}

/* ============================================================
   3. 医師紹介セクション（下部）
   ============================================================ */
.doctor-headerWrap{
    max-width: 1000px;margin: 0 auto;
    text-align: center;
    padding: 10px 20px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.doctor-header-title{
    font-size: 24px;
    padding: 10px 0;
}
.doctor-header-text{
margin: 10px 20px;
line-height: 1.6;
font-size: 16px;
}
.doctor-card {
    background: #f4f1ea;
    padding: 60px 0;
    font-family: "Yu Mincho", serif;
    font-size: 16px;
}

.doctor-card-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.doctor-role {
    position: relative;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 20px;
    color: #8a7358;
    font-size: 17px;
    letter-spacing: 1px;
}

.doctor-role::before {
    content: "";
    position: absolute;
    left: 0;
    top: 40%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #b9a889;
}

.doctor-name {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
}

.doctor-name {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.doctor-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #b9a889;
}

.doctor-name-en {
    font-size: 14px;
    color: #b9a889;
    font-family: serif;
}

/* フリガナ */
ruby rt {
    font-size: 12px;
    color: #8a7358;
}

.doctor-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.doctor-image img {
    width: 260px;
    border-radius: 10px;
}

.doctor-info {
    flex: 1;
}

/* バッジ */
.doctor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 25px;
}

.doctor-badges li {
    background: #b9a889;
    color: #fff;
    white-space: nowrap;
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 18px;
}
/* 診療日 */
.doctor-shift{
    margin-bottom: 10px;
    font-size: 15px;
}
/* 経歴 */
.doctor-career h3 {
    text-align: left;
    font-weight: normal;
    color: #8a7358;
    margin-bottom: 16px;
    font-size: 16px;
}

.doctor-career li {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.doctor-career ul {
    margin-bottom: 25px;

}

/* 資格 */
.doctor-specialist h3 {
    text-align: left;
    font-weight: normal;
    color: #8a7358;
    margin-bottom: 15px;
    font-size: 16px;
}

.doctor-specialist li {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.doctor-specialist ul {
    padding-left: 1.2em;
}
/* ============================================================
   4. レスポンシブ（スマホ）
   ============================================================ */
@media (max-width: 768px) {
    /* 1. 全体の左右に20pxの余白を確保 */
    .clinic-intro,
    .doctor-card {
        padding: 40px 20px !important;
    }

    /* 2. 理事長挨拶：画像を縦並びに変更 */
    .clinic-intro-flex {
        flex-direction: column !important; /* 横並びから縦並びに */
        gap: 30px;
    }

    /* 3. 画像を左右余白20pxの内側で横幅いっぱいに */
    .clinic-intro-image,
    .doctor-image {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .clinic-intro-image img,
    .doctor-image img {
        width: 100% !important; /* 画像を画面幅に合わせる */
        max-width: 100% !important;
        height: auto !important;
    }

    /* 4. 医師紹介側の既存スマホデザインを維持 */
    .doctor-headerWrap {
        padding: 10px 0;
    }
    
    .doctor-header-title {
        font-size: 24px;
    }

    .doctor-header-text {
        margin: 10px 0;
    }

    .doctor-content {
        flex-direction: column !important;
        gap: 30px;
    }

    .doctor-name {
        gap: 5px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .doctor-role {
        margin-bottom: 5px;
        padding-left: 10px;
    }

    ruby {
        line-height: 1.2;
    }
    
    .doctor-shift {
        margin-bottom: 15px;
    }
.clinic-intro-wrapper {
    padding: 30px 20px;
}
}
/* セクション設定 */
.dr-menu-section {
    padding: 80px 0 !important;
    background-color: #fdfcf9 !important; 
}

.dr-menu-container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.dr-menu-title {
    text-align: center !important;
    font-family: "Yu Mincho", serif !important;
    font-size: 24px !important;
    color: #a68b5a !important;
    margin-bottom: 40px !important;
    letter-spacing: 0.1em !important;
}
.clinic-link-box {
            text-align: center;
            margin-top: 40px;
        }

        .clinic-btn {
			font-size: 18px;
            display: inline-block;
            padding: 15px 20px;
			margin: 0;
            background-color: #a68b5a;
            /* 理事長挨拶の見出し色と統一 */
            color: #fff !important;
            text-decoration: none;
            border-radius: 5px;
            transition: opacity 0.3s;
            font-family: "Yu Mincho", serif;
        }
.clinic-btn-group {
    display: flex;
    gap: 15px;              /* ボタン間の余白 */
    justify-content: center; /* 中央寄せ */
    flex-wrap: wrap;         /* 小さい画面で折り返し */
}

/* 親要素で中央寄せ */
.clinic-btn-group {
    display: flex;
    gap: 15px;               /* ボタン間の余白 */
    justify-content: center;  /* 中央寄せ */
    flex-wrap: wrap;          /* 小さい画面で折り返し */
}

        .clinic-btn:hover {
            opacity: 0.8;
        }
/* =========================
   診療メニューセクション
   ========================= */
.dr-menu-section {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 80px 20px;
    box-sizing: border-box;
    background-color: #fdfcf9;
}

.dr-menu-container,
.clinic-menu-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
}

.menu-item {
	color: #444;
    width: 48% !important;      /* 常に2列 */
    min-width: 200px !important;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f1ea;
    text-decoration: none;
    border: 1px solid #b9a889;
    font-weight: 600;
    transition: all 0.3s;
    box-sizing: border-box !important;
}

.menu-item:hover {
    background: #b9a889;
    color: #fff;
}
.clinic-footer-links {
    padding: 60px 20px;
    background-color: #fff;
    box-sizing: border-box;
}
/* 行をFlexにして中央寄せ */
.menu-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px; /* 行間の余白 */
}
/* アイテム幅を2列用に固定 */
.menu-row .menu-item {
    width: 200px;            /* 固定幅でもOK */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f1ea;
    color: #333;
    text-decoration: none;
    border: 1px solid #b9a889;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.menu-row .menu-item:hover {
    background: #b9a889;
    color: #fff;
}
/* 超小画面は少し縮めて2列維持 */
@media (max-width: 400px) {
    .menu-row .menu-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 100px;
    }
	.menu-item {
    width: 30% !important;
    min-width: 150px !important;
    
}
}
@media (min-width: 768px) {
  .linkbox-wrap{
    display: flex;
    justify-content: center;
    gap: 30px;
  }
}