@charset "UTF-8";
/* ブロックパターンのCSS */

/* --- WordPress標準ブロックの調整 --- */

.wp-block-paragraph {
    margin-bottom: 1em;
}

.wp-singular p {
    margin-bottom: 1em;
    line-height: 1.75;
}

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

    /* SPでは高さを最大30pxに制限 */
    .wp-block-spacer {
        max-height: 30px !important;
    }

    /* ブロック間の基本余白（Gap）もSPでは調整 */
    :where(.wp-block-columns, .wp-block-group) {
        gap: 20px !important;
    }
}

/* --- ボタン・リンクの不整合対策 --- */
/* tag_aヘルパーなどでpタグにボタンクラスが付与された場合の調整 */
p.m-button-arrow,
p.tag_a {
    display: inline-flex !important;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto !important;
    /* 右寄せを強制 */
    margin-right: 0 !important;
    width: auto !important;
    text-decoration: none;
}

/* 
   エディターでリンクを編集して <a> タグのクラスが外れても、
   親の p.m-button-arrow のスタイルを引き継いでボタンに見えるようにします 
*/
p.m-button-arrow a {
    display: inline-flex !important;
    align-items: center;
    gap: 15px;
    /* main.css の .m-button-arrow と同じ値 */
    color: inherit;
    text-decoration: none;
    width: auto;
}

/* エディター内での表示崩れ防止 */
.is-selected.wp-block-paragraph.m-button-arrow {
    display: inline-flex !important;
}

/* --- コンテンツパーツ（ブロックパターン用） --- */
.m-heading-left-line {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--green-color);
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 20px;
    padding-top: 10px;
    position: relative;
}

@media screen and (max-width: 600px) {
    .m-heading-left-line {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
}

.m-heading-left-line::before {
    content: "";
    width: 20px;
    height: 4px;
    flex-shrink: 0;
    background-color: var(--green-color);
    transform: translateY(-7px);
}

@media screen and (max-width: 600px) {
    .m-heading-left-line::before {
        width: 15px;
        height: 3px;
        transform: translateY(-6px);
    }
}

.m-heading-left-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #C6D8B8;
}

/* 根本解決：テーブルの親となる全てのブロック要素に物理的な限界を設定 */
.l-2column__main,
.l-2column__main-inner,
.p-outpatient-subject__section,
.wp-block-group__inner-container,
.is-layout-constrained {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: break-word;
    /* テキストによる突き抜け防止 */
}

/* セクション設定 */
.p-outpatient-subject__section {
    margin-bottom: 80px;
}

@media screen and (max-width: 600px) {
    .p-outpatient-subject__section {
        margin-bottom: 60px;
    }
}

/* 
   テーブルスクロールの決定版 
   figureタグ自体に横幅の限界を固定し、中身だけをスライドさせる
*/
.m-table,
.wp-block-table.m-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    /* 100vwではなく100%に。親のパディング内側に収めるため */
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    /* iOSでの滑らかなスクロール */
    margin: 0 0 1.5em 0 !important;
}

/* テーブル本体の設定 */
.m-table table,
.wp-block-table.m-table table {
    margin: 0 !important;
    padding: 0 !important;
    /* has-fixed-layout(セルの固定幅)がONの場合、このtable-layoutが効く */
}

.wp-block-table thead {
    border-bottom: 1px solid #D9D9D9 !important;
}

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

    .m-table table,
    .wp-block-table.m-table table {
        /* スマホ時にテーブルが潰れないよう、物理的な「中身の幅」を確保 */
        min-width: 600px !important;
        width: 600px !important;
        max-width: none !important;
        /* 100%の制限をここで解除 */
    }
}

/* 「セルの幅を固定」を適用するためのスタイル */
.m-table.has-fixed-layout table,
.m-table table.has-fixed-layout {
    table-layout: fixed;
}

.m-table th,
.m-table td:first-child {
    width: 25%;
    background-color: #E9E9E9;
    padding: 20px;
    font-weight: 500;
    text-align: center;
    border: 1px solid #D9D9D9;
    vertical-align: middle;
}

/* 「セルの幅を固定」がONの時のみ幅を固定する */
.m-table.has-fixed-layout th,
.m-table.has-fixed-layout td:first-child,
.m-table table.has-fixed-layout th,
.m-table table.has-fixed-layout td:first-child {
    width: 50%;
}

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

    .m-table table {
        min-width: 600px;
    }

    .m-table th,
    .m-table td:first-child {
        padding: 15px 10px;
        font-size: 1.4rem;
        width: 40%;
    }

    /* スマホ時も固定がONの時のみ幅を適用 */
    .m-table.has-fixed-layout th,
    .m-table.has-fixed-layout td:first-child,
    .m-table table.has-fixed-layout th,
    .m-table table.has-fixed-layout td:first-child {
        width: 50%;
    }
}

.m-table td {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #D9D9D9;
    vertical-align: middle;
}

.m-table tr td:nth-child(n+2) {
    background-color: #fff;
}

@media screen and (max-width: 600px) {
    .m-table td {
        padding: 15px 10px;
        font-size: 1.4rem;
    }
}

/* .u-table 内の .m-table のスタイルを上書き (theadのth以外) */
.u-table .m-table tbody th,
.u-table .m-table td:first-child {
    background-color: #fff;
    font-weight: normal;
}

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

    .u-table .m-table tbody th,
    .u-table .m-table td:first-child {
        background-color: #fff;
        font-weight: normal;
    }
}

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

    .u-table .m-table tbody th,
    .u-table .m-table td:first-child {
        background-color: #fff;
        font-weight: normal;
    }
}

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

    .u-table .m-table tbody th,
    .u-table .m-table td:first-child {
        background-color: #fff;
        font-weight: normal;
    }
}

/* 診療科目リスト */
.m-subject-list {
    padding-left: 40px;
}

@media screen and (max-width: 600px) {
    .m-subject-list {
        padding-left: 20px;
    }
}

.m-subject-list p {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 5px;
}

@media screen and (max-width: 600px) {
    .m-subject-list p {
        font-size: 1.4rem;
    }
}

/* 2カラムリスト */
.m-list-columns {
    display: flex !important;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
}

.m-list-columns__item {
    width: calc(50% - 20px) !important;
    flex-basis: calc(50% - 20px) !important;
    margin-left: 0 !important;
}

.m-list-columns ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.m-list-columns li {
    position: relative;
    padding-left: 1.2em;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.m-list-columns li::before {
    content: "";
    position: absolute;
    top: 0.8em;
    left: 0;
    width: 0.6em;
    height: 2px;
    background-color: var(--green-color);
}

@media screen and (max-width: 1080px) {
    .m-list-columns {
        gap: 20px;
    }

    .m-list-columns__item {
        width: calc(50% - 10px) !important;
        flex-basis: calc(50% - 10px) !important;
    }
}

@media screen and (max-width: 768px) {
    /* 768pxまでは2カラムを維持 */
}

@media screen and (max-width: 600px) {
    .m-list-columns {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .m-list-columns__item {
        width: 100% !important;
        flex-basis: 100% !important;
    }

    .m-list-columns li {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
}

/* 院長挨拶ブロック */
.m-director-greeting {
    background-color: #ECF7E4;
    padding: 60px 40px;
    border-radius: 8px;
}

@media screen and (max-width: 1080px) {
    .m-director-greeting {
        padding: 60px 40px;
    }
}

@media screen and (max-width: 768px) {
    .m-director-greeting {
        padding: 40px 30px;
    }
}

@media screen and (max-width: 600px) {
    .m-director-greeting {
        padding: 40px 20px;
    }
}

.m-director-greeting__img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
}

.m-director-greeting__img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.m-director-greeting__job {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 10px;
}

@media screen and (max-width: 1080px) {
    .m-director-greeting__job {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .m-director-greeting__job {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 600px) {
    .m-director-greeting__job {
        font-size: 1.4rem;
    }
}

.m-director-greeting__name {
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
}

@media screen and (max-width: 1080px) {
    .m-director-greeting__name {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .m-director-greeting__name {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 600px) {
    .m-director-greeting__name {
        font-size: 2rem;
    }
}

.m-director-greeting__text {
    font-size: 1.6rem;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

@media screen and (max-width: 1080px) {
    .m-director-greeting__text {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .m-director-greeting__text {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 600px) {
    .m-director-greeting__text {
        font-size: 1.4rem;
        line-height: 1.8;
    }
}

/* 見出し（丸アイコン付き）+ テキスト */
.m-heading-circle-icon {
    width: 100%;
}

@media screen and (max-width: 1080px) {
    .m-heading-circle-icon {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .m-heading-circle-icon {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .m-heading-circle-icon {
        width: 100%;
    }
}

.m-heading-circle-icon__title {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--green-color);
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-top: 1.5em;
}

@media screen and (max-width: 1080px) {
    .m-heading-circle-icon__title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .m-heading-circle-icon__title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 600px) {
    .m-heading-circle-icon__title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
}

.m-heading-circle-icon__title::before {
    content: "";
    width: 26px;
    height: 26px;
    border: 7px solid var(--green-color);
    border-radius: 50%;
    flex-shrink: 0;
}

@media screen and (max-width: 1080px) {
    .m-heading-circle-icon__title::before {
        width: 24px;
        height: 24px;
        border-width: 6px;
    }
}

@media screen and (max-width: 768px) {
    .m-heading-circle-icon__title::before {
        width: 22px;
        height: 22px;
        border-width: 5px;
    }
}

@media screen and (max-width: 600px) {
    .m-heading-circle-icon__title::before {
        width: 18px;
        height: 18px;
        border-width: 4px;
    }
}

.m-heading-circle-icon__text {
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 0;
    padding-left: 35px;
}

@media screen and (max-width: 1080px) {
    .m-heading-circle-icon__text {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .m-heading-circle-icon__text {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 600px) {
    .m-heading-circle-icon__text {
        font-size: 1.4rem;
        line-height: 1.7;
        padding-left: 24px;
    }
}

/* シンプルなH3見出し + テキスト */
.m-heading-h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-color);
    margin-bottom: 15px;
    line-height: 1.4;
    margin-top: 1.5em;
}

@media screen and (max-width: 1080px) {
    .m-heading-h3 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .m-heading-h3 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 600px) {
    .m-heading-h3 {
        font-size: 1.6rem;
    }
}

.m-text-default {
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 0;
}

@media screen and (max-width: 1080px) {
    .m-text-default {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .m-text-default {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 600px) {
    .m-text-default {
        font-size: 1.4rem;
        line-height: 1.7;
    }
}

#page-nav-wrap .wp-block-columns.is-not-stacked-on-mobile {
    margin-bottom: 0;
    gap: 10px !important;
    font-size: 13px !important;
    height: auto;
}

@media screen and (max-width: 600px) {
    #page-nav-wrap .wp-block-columns.is-not-stacked-on-mobile .m-btn-anchor {
        font-size: 14px !important;
        height: 80px !important;
    }

}

@media screen and (max-width: 400px) {
    #page-nav-wrap .wp-block-columns.is-not-stacked-on-mobile .m-btn-anchor {
        font-size: 12px !important;
        height: 80px !important;
    }

}

.m-btn-anchor a {
    padding: 0 6px;
}

/* --- リストカードパターン --- */
.m-list-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    margin-top: 1.5em;
}

.m-list-card__header {
    background-color: var(--green-color);
    padding: 20px 40px;
    display: flex;
    align-items: baseline;
    gap: 5px !important;
    color: #fff;
}

.m-list-card__number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0 !important;
}

.m-list-card__title {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    margin-bottom: 0 !important;
}

.m-list-card__content {
    padding: 40px 40px 40px 40px;
}

.m-list-card__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.m-list-card__item {
    position: relative;
    padding-left: 1.5em;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 12px;
}

.m-list-card__item:last-child {
    margin-bottom: 0;
}

.m-list-card__item::before {
    content: "・";
    position: absolute;
    left: 0;
    font-weight: 700;
}

@media screen and (max-width: 1080px) {
    .m-list-card {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .m-list-card {
        width: 100%;
    }

    .m-list-card__header {
        padding: 15px 30px;
    }

    .m-list-card__content {
        padding: 30px 30px 30px 30px;
    }
}

@media screen and (max-width: 600px) {
    .m-list-card {
        width: 100%;
        border-radius: 15px;
    }

    .m-list-card__header {
        padding: 12px 20px;
        gap: 5px;
    }

    .m-list-card__number {
        font-size: 1.6rem;
    }

    .m-list-card__title {
        font-size: 1.6rem;
    }

    .m-list-card__content {
        padding: 20px 20px 20px 20px;
    }

    .m-list-card__item {
        font-size: 1.4rem;
        padding-left: 1.2em;
        margin-bottom: 8px;
    }
}

/* --- 連絡先カードパターン --- */
.m-contact-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--green-color-light);
}

.m-contact-card__head {
    background-color: var(--green-color);
    padding: 15px;
    text-align: center;
}

.m-contact-card__title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.m-contact-card__body {
    display: flex;
    border-bottom: 1px solid var(--green-color-light);
}

@media screen and (max-width: 600px) {
    .m-contact-card__body {
        border-bottom: none;
    }
}

.m-contact-card__col {
    flex: 1;
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid var(--green-color-light);
}

.m-contact-card__col:last-child {
    border-right: none;
}

.m-contact-card__label {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-color);
    margin-bottom: 10px;
    display: block;
}

.m-contact-card__number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--green-color);
    font-family: var(--font-secondary);
    line-height: 1;
}

.m-contact-card__row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 15px;
}

.m-contact-card__row .m-contact-card__label {
    margin-bottom: 0;
}

.m-contact-card__unit {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green-color);
    margin-left: 5px;
}

.m-contact-card__foot {
    background-color: #fff;
    padding: 15px;
    text-align: center;
}

.m-contact-card__time {
    font-size: 1.6rem;
    color: #525252;
}

@media screen and (max-width: 1080px) {
    .m-contact-card__title {
        font-size: 2.2rem;
    }

    .m-contact-card__label {
        font-size: 1.8rem;
    }

    .m-contact-card__number {
        font-size: 3.6rem;
    }

    .m-contact-card__unit {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 768px) {
    .m-contact-card__title {
        font-size: 2rem;
    }

    .m-contact-card__label {
        font-size: 1.6rem;
    }

    .m-contact-card__number {
        font-size: 3.2rem;
    }

    .m-contact-card__unit {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 600px) {
    .m-contact-card__body {
        flex-direction: column;
    }

    .m-contact-card__col {
        border-right: none;
        border-bottom: 1px solid var(--green-color-light);
        padding: 20px;
    }

    .m-contact-card__col:last-child {
        border-bottom: none;
    }

    .m-contact-card__title {
        font-size: 1.8rem;
    }

    .m-contact-card__label {
        font-size: 1.4rem;
    }

    .m-contact-card__number {
        font-size: 2.8rem;
    }

    .m-contact-card__row {
        gap: 10px;
        flex-wrap: wrap;
    }

    .m-contact-card__unit {
        font-size: 1.2rem;
    }

    .m-contact-card__time {
        font-size: 1.4rem;
    }
}

/* --- 医療チーム紹介パターン --- */
.m-medical-team {
    padding: 80px 0;
    position: relative;
    margin-bottom: 40px;
}

@media screen and (max-width: 600px) {
    .m-medical-team {
        margin-bottom: 20px;
    }
}

/* セクション上部の線 */
.m-medical-team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #C6D8B8;
}

@media screen and (max-width: 1080px) {
    .m-medical-team {
        padding: 60px 0;
    }
}

@media screen and (max-width: 768px) {
    .m-medical-team {
        padding: 40px 0;
    }
}

@media screen and (max-width: 600px) {
    .m-medical-team {
        padding: 30px 0;
    }
}

.m-medical-team__layout {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* WordPressのグループブロックのインナーコンテナ対策 */
.m-medical-team__layout>.wp-block-group__inner-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 60px;
}

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

    .m-medical-team__layout,
    .m-medical-team__layout>.wp-block-group__inner-container {
        gap: 40px;
    }
}

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

    .m-medical-team__layout,
    .m-medical-team__layout>.wp-block-group__inner-container {
        flex-direction: column;
        gap: 10px;
    }
}

.m-medical-team__left {
    width: 38%;
    flex-shrink: 0;
}

@media screen and (max-width: 600px) {
    .m-medical-team__left {
        width: 100%;
    }
}

.m-medical-team__left .m-heading-left-line {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 40px;
}

/* 個別の見出しの上部線を消す（セクション全体にあるため） */
.m-medical-team .m-heading-left-line::after {
    display: none;
}

@media screen and (max-width: 600px) {
    .m-medical-team__left .m-heading-left-line {
        margin-bottom: 20px;
    }
}

.m-medical-team__left img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.m-medical-team__content {
    width: 58%;
    flex-grow: 1;
}

@media screen and (max-width: 1080px) {
    .m-medical-team__content {
        width: 55%;
    }
}

@media screen and (max-width: 600px) {
    .m-medical-team__content {
        width: 100%;
        padding-top: 0;
    }
}

.m-medical-team__text p {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 1.5em;
    color: var(--primary-color);
}

.m-medical-team__text p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1080px) {
    .m-medical-team__text p {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .m-medical-team__text p {
        font-size: 1.4rem;
        line-height: 1.8;
    }
}

.m-medical-team__btn-wrap {
    text-align: right;
    margin-top: 40px;
}

/* --- アクセス情報（アクセスページ用） --- */



.p-access-info__layout {
    display: flex;
    gap: 80px;
    margin-bottom: 80px;
    align-items: flex-start;
}

@media screen and (max-width: 1080px) {
    .p-access-info__layout {
        gap: 40px;
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 768px) {
    .p-access-info__layout {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }
}

.p-access-info__content {
    flex: 1;
}

@media screen and (max-width: 768px) {
    .p-access-info__content {
        width: 100%;
    }
}

.p-access-info__header {
    margin-bottom: 60px;
}

@media screen and (max-width: 600px) {
    .p-access-info__header {
        margin-bottom: 40px;
    }
}

.p-access-info__name {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--green-color);
    margin-bottom: 15px;
}

@media screen and (max-width: 600px) {
    .p-access-info__name {
        font-size: 1.8rem;
    }
}

.p-access-info__address {
    font-size: 1.6rem;
    font-weight: 500;
}

@media screen and (max-width: 600px) {
    .p-access-info__address {
        font-size: 1.5rem;
    }
}

.p-access-info__section {
    margin-bottom: 60px;
}

.p-access-info__section:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 600px) {
    .p-access-info__section {
        margin-bottom: 40px;
    }
}

.p-access-info__ttl {
    display: flex;
    align-items: center !important;
    gap: 4px;
    color: var(--green-color);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 25px;
}

@media screen and (max-width: 600px) {
    .p-access-info__ttl {
        font-size: 1.8rem;
        margin-bottom: 15px;
        gap: 8px !important;
    }
}

.p-access-info__icon {
    width: 20px;
    height: auto;
    line-height: 1 !important;
}

.p-access-info__icon.tel {
    width: 17px;
}


@media screen and (max-width: 600px) {
    .p-access-info__icon {
        width: 18px;
    }

    .p-access-info__icon.tel {
        width: 16px;
    }
}


.p-access-info__list {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
    list-style: none;
    padding: 0;
}

@media screen and (max-width: 600px) {
    .p-access-info__list {
        font-size: 1.5rem;
    }
}

.p-access-info__tel {
    font-size: 1.8rem;
    font-weight: 500;
}

@media screen and (max-width: 600px) {
    .p-access-info__tel {
        font-size: 1.6rem;
    }
}

.p-access-info__map {
    width: 50%;
    aspect-ratio: 6 / 4.5;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .p-access-info__map {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

.p-access-info__map iframe {
    width: 100%;
    height: 100%;
}

.p-access-info__images {
    display: flex;
    gap: 30px;
}

@media screen and (max-width: 600px) {
    .p-access-info__images {
        flex-direction: column;
        gap: 20px;
    }
}

.p-access-info__image {
    width: 50%;
    aspect-ratio: 5 / 3.2;
    border-radius: 10px;
    overflow: hidden;
}

@media screen and (max-width: 600px) {
    .p-access-info__image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

.p-access-info__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 医師紹介プロフィール */
.m-doctor-profile {
    background-color: #ECF7E4;
    padding: 50px 40px;
    border-radius: 30px;
    box-sizing: border-box;
}

.m-doctor-profile p {
    margin-bottom: .25em !important;
}

@media screen and (max-width: 1080px) {
    .m-doctor-profile {
        padding: 40px 20px;
    }
}

@media screen and (max-width: 768px) {
    .m-doctor-profile {
        padding: 40px 10px;
    }
}

@media screen and (max-width: 600px) {
    .m-doctor-profile {
        padding: 30px 0px;
    }
}

.m-doctor-profile__inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

@media screen and (max-width: 1080px) {
    .m-doctor-profile__inner {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .m-doctor-profile__inner {
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .m-doctor-profile__inner {
        flex-direction: column;
        gap: 20px;
    }
}

.m-doctor-profile__img {
    flex: 0 0 350px;
}

@media screen and (max-width: 1080px) {
    .m-doctor-profile__img {
        flex: 0 0 300px;
    }
}

@media screen and (max-width: 768px) {
    .m-doctor-profile__img {
        flex: 0 0 280px;
    }
}

@media screen and (max-width: 600px) {
    .m-doctor-profile__img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }
}

.m-doctor-profile__img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    object-fit: cover;
}

.m-doctor-profile__content {
    flex: 1;
}

.m-doctor-profile__header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 15px !important;
    margin-bottom: 25px;
}

/* 内部にコンテナが生成される場合も考慮 */
.m-doctor-profile__header,
.m-doctor-profile__header>.wp-block-group__inner-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 15px !important;
}

.m-doctor-profile__header>*,
.m-doctor-profile__header>.wp-block-group__inner-container>* {
    margin: 0 !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

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

    .m-doctor-profile__header,
    .m-doctor-profile__header>.wp-block-group__inner-container {
        gap: 10px !important;
        margin-bottom: 20px;
    }
}

.m-doctor-profile__title {
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    margin: 0 !important;
    width: auto !important;
}

@media screen and (max-width: 600px) {
    .m-doctor-profile__title {
        font-size: 1.4rem;
    }
}

.m-doctor-profile__name {
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    margin: 0 !important;
    width: auto !important;
}

@media screen and (max-width: 600px) {
    .m-doctor-profile__name {
        font-size: 1.8rem;
    }
}

.m-doctor-profile__item {
    margin-bottom: 20px;
}

.m-doctor-profile__item:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 600px) {
    .m-doctor-profile__item {
        margin-bottom: 15px;
    }
}

.m-doctor-profile__label {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
    line-height: 1.4;
}

@media screen and (max-width: 600px) {
    .m-doctor-profile__label {
        font-size: 1.6rem;
        margin-bottom: 2px;
    }
}

.m-doctor-profile__text {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #333;
}

@media screen and (max-width: 600px) {
    .m-doctor-profile__text {
        font-size: 1.4rem;
    }
}

/*--------------------------------------------------------------
# 外来 - 医師紹介ページ個別スタイル
--------------------------------------------------------------*/
.p-doctors-introduction .m-doctor-profile,
.page-outpatient-doctors .m-doctor-profile,
.page-outpatient-subject .m-doctor-profile,
.page-about-greeting .m-doctor-profile {
    padding: 30px;
    border-radius: 20px;
}

.p-doctors-introduction .m-doctor-profile__inner,
.page-outpatient-doctors .m-doctor-profile__inner,
.page-outpatient-subject .m-doctor-profile__inner,
.page-about-greeting .m-doctor-profile__inner {
    gap: 40px;
}

.p-doctors-introduction .m-doctor-profile__img,
.page-outpatient-doctors .m-doctor-profile__img,
.page-outpatient-subject .m-doctor-profile__img,
.page-about-greeting .m-doctor-profile__img {
    flex: 0 0 200px !important;
}

.p-doctors-introduction .m-doctor-profile__img img,
.page-outpatient-doctors .m-doctor-profile__img img,
.page-outpatient-subject .m-doctor-profile__img img,
.page-about-greeting .m-doctor-profile__img img {
    aspect-ratio: auto !important;
    border-radius: 10px;
}

.p-doctors-introduction .m-doctor-profile__header,
.page-outpatient-doctors .m-doctor-profile__header,
.page-outpatient-subject .m-doctor-profile__header,
.page-about-greeting .m-doctor-profile__header {
    margin-bottom: 15px;
}

.p-doctors-introduction .m-doctor-profile__name,
.page-outpatient-doctors .m-doctor-profile__name,
.page-outpatient-subject .m-doctor-profile__name,
.page-about-greeting .m-doctor-profile__name {
    font-size: 1.8rem;
}

.p-doctors-introduction .m-doctor-profile__item,
.page-outpatient-doctors .m-doctor-profile__item,
.page-outpatient-subject .m-doctor-profile__item,
.page-about-greeting .m-doctor-profile__item {
    margin-bottom: 12px;
}

.p-doctors-introduction .m-doctor-profile__label,
.page-outpatient-doctors .m-doctor-profile__label,
.page-outpatient-subject .m-doctor-profile__label,
.page-about-greeting .m-doctor-profile__label {
    font-size: 1.4rem;
    margin-bottom: 0;
}

.p-doctors-introduction .m-doctor-profile__text,
.page-outpatient-doctors .m-doctor-profile__text,
.page-outpatient-subject .m-doctor-profile__text,
.page-about-greeting .m-doctor-profile__text {
    font-size: 1.5rem;
}

@media screen and (max-width: 1080px) {
    .p-doctors-introduction .m-doctor-profile__img,
    .page-outpatient-doctors .m-doctor-profile__img,
    .page-outpatient-subject .m-doctor-profile__img,
    .page-about-greeting .m-doctor-profile__img {
        flex: 0 0 180px !important;
    }
}

@media screen and (max-width: 768px) {
    .p-doctors-introduction .m-doctor-profile__inner,
    .page-outpatient-doctors .m-doctor-profile__inner,
    .page-outpatient-subject .m-doctor-profile__inner,
    .page-about-greeting .m-doctor-profile__inner {
        gap: 25px;
    }
    .p-doctors-introduction .m-doctor-profile__img,
    .page-outpatient-doctors .m-doctor-profile__img,
    .page-outpatient-subject .m-doctor-profile__img,
    .page-about-greeting .m-doctor-profile__img {
        flex: 0 0 160px !important;
    }
}

@media screen and (max-width: 600px) {
    .p-doctors-introduction .m-doctor-profile,
    .page-outpatient-doctors .m-doctor-profile,
    .page-outpatient-subject .m-doctor-profile,
    .page-about-greeting .m-doctor-profile {
        padding: 20px;
    }
    .p-doctors-introduction .m-doctor-profile__inner,
    .page-outpatient-doctors .m-doctor-profile__inner,
    .page-outpatient-subject .m-doctor-profile__inner,
    .page-about-greeting .m-doctor-profile__inner {
        flex-direction: column; /* スマホでは縦並びに */
        align-items: center;    /* 中央寄せ */
        gap: 20px;
    }
    .p-doctors-introduction .m-doctor-profile__img,
    .page-outpatient-doctors .m-doctor-profile__img,
    .page-outpatient-subject .m-doctor-profile__img,
    .page-about-greeting .m-doctor-profile__img {
        flex: 0 0 auto !important;
        width: 50% !important; /* 幅を50%に */
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .p-doctors-introduction .m-doctor-profile__content,
    .page-outpatient-doctors .m-doctor-profile__content,
    .page-outpatient-subject .m-doctor-profile__content,
    .page-about-greeting .m-doctor-profile__content {
        width: 100%;
    }
    .p-doctors-introduction .m-doctor-profile__header,
    .page-outpatient-doctors .m-doctor-profile__header,
    .page-outpatient-subject .m-doctor-profile__header,
    .page-about-greeting .m-doctor-profile__header {
        justify-content: center !important;
        margin-bottom: 15px;
    }
    .p-doctors-introduction .m-doctor-profile__title,
    .page-outpatient-doctors .m-doctor-profile__title,
    .page-outpatient-subject .m-doctor-profile__title,
    .page-about-greeting .m-doctor-profile__title {
        font-size: 1.2rem;
    }
    .p-doctors-introduction .m-doctor-profile__name,
    .page-outpatient-doctors .m-doctor-profile__name,
    .page-outpatient-subject .m-doctor-profile__name,
    .page-about-greeting .m-doctor-profile__name {
        font-size: 1.6rem;
    }
    .p-doctors-introduction .m-doctor-profile__label,
    .page-outpatient-doctors .m-doctor-profile__label,
    .page-outpatient-subject .m-doctor-profile__label,
    .page-about-greeting .m-doctor-profile__label {
        font-size: 1.2rem;
    }
    .p-doctors-introduction .m-doctor-profile__text,
    .page-outpatient-doctors .m-doctor-profile__text,
    .page-outpatient-subject .m-doctor-profile__text,
    .page-about-greeting .m-doctor-profile__text {
        font-size: 1.3rem;
    }
}
