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

/* --- WordPress標準ブロックの調整 --- */
.wp-block-spacer {
    /* PC版はインラインスタイルに任せる */
}

@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: 8px !important;
    }
}

.m-head-wrap {

    padding-bottom: 40px;
}

@media screen and (max-width: 1080px) {
    .m-head-wrap {
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .m-head-wrap {
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 600px) {
    .m-head-wrap {
        padding-bottom: 10px;
    }
}

/* 見出し共通 */
.m-heading {
    display: flex;
    align-items: baseline;
    font-weight: 700;
    line-height: 1.4;
    color: #8B4513;
    margin-top: 0;
    margin-bottom: 30px;
}

@media screen and (max-width: 600px) {
    .m-heading {
        margin-bottom: 18px;
    }
}

/* H2：赤の横線 */
.m-heading--lv2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    gap: 15px;
}

@media screen and (max-width: 600px) {
    .m-heading--lv2 {
        gap: 8px;
    }
}

.m-heading--lv2::before {
    content: "";
    display: block;
    width: 20px;
    height: 8px;
    background-color: var(--orange);
    border-radius: 10px;
    flex-shrink: 0;
    transform: translateY(-4px);
}

@media screen and (max-width: 600px) {
    .m-heading--lv2::before {
        width: 16px;
        height: 6px;
        border-radius: 5px;
    }
}

/* H3：オレンジの丸 */
.m-heading--lv3 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    gap: 12px;
}

@media screen and (max-width: 600px) {
    .m-heading--lv3 {

        gap: 6px;
    }
}

.m-head-wrap .m-heading--lv3 {
    margin-top: 0;
}

.m-heading--lv3::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 4px solid var(--orange);
    border-radius: 50%;
    transform: translateY(4px);
    box-sizing: border-box;
    flex-shrink: 0;
}

@media screen and (max-width: 600px) {
    .m-heading--lv3::before {
        width: 16px;
        height: 16px;
        border: 3px solid var(--orange);
        border-radius: 50%;
        box-sizing: border-box;
        transform: translateY(.5px);
    }
}

/* テキスト */
.m-text {
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
}

/* 通常の段落テキスト */
.m-text-p {
    font-size: 1.6rem;
    line-height: 1.75;
    color: var(--primary-color);
    margin-bottom: 1.5em;
}

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

.m-head-wrap .m-text {
    padding-left: 45px;
}

@media screen and (max-width: 768px) {
    .m-head-wrap .m-text {
        padding-left: 36px;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .m-head-wrap .m-heading {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .m-head-wrap .m-heading--lv3 {
        margin-top: 0;
    }

    .m-head-wrap .m-text {
        padding-left: 0;
    }
}


.m-text-p--large {
    font-size: 20px;
    font-weight: 500;
}

@media screen and (max-width: 600px) {
    .m-text-p--large {
        font-size: 18px;
    }
}

/* 境界線（グラデーション） */
.border-line {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #F54747 0%, #FF9354 73%, #FFAB2E 92%, #FFC546 100%);
    border: none;
}

@media screen and (max-width: 600px) {
    .border-line {
        height: 1px;
        /* スマホでは少し細くする場合 */
    }
}

/* block-002: 背景＋セクションブロック */
.m-card-section {
    background-color: #F5EDD9;
    padding: 50px;
    padding-bottom: 40px;
}

@media screen and (max-width: 1080px) {
    .m-card-section {
        padding: 40px;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .m-card-section {
        padding: 30px;
        padding-bottom: 24px;
    }
}

@media screen and (max-width: 600px) {
    .m-card-section {
        padding: 20px;
        padding-bottom: 20px;
    }
}

.m-card-box {
    background-color: var(--white);
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 60px;
}

@media screen and (max-width: 1080px) {
    .m-card-box {
        padding: 40px;
        border-radius: 20px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 768px) {
    .m-card-box {
        padding: 30px;
        border-radius: 20px;
        margin-bottom: 30px;

    }
}

@media screen and (max-width: 600px) {
    .m-card-box {
        padding: 20px 12px;
        border-radius: 20px;
        margin-bottom: 24px;
    }
}

.m-card-box__head {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    background-color: #F9F6ED;
    border: 1px solid #ccc;
    border-radius: 100px;
    color: var(--orange);
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.2;
}

@media screen and (max-width: 768px) {
    .m-card-box__head {
        font-size: 1.8rem;
        padding: 6px 20px;
    }
}

@media screen and (max-width: 480px) {
    .m-card-box__head {
        font-size: 1.6rem;
        padding: 6px 16px;
    }
}

.m-card-box__body {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .m-card-box__body {
        font-size: 1.5rem;
    }
}

.m-card-box__img {
    margin-top: 32px;
}

.m-card-box__img figure {
    margin: 0;
}

.m-card-box__img img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

/* block-003: 医師紹介（2カラム） */
.m-doctor-intro {
    padding: 0px 0;
    padding-top: 0;
}

.m-doctor-intro__grid {
    display: flex;
    gap: 40px;
    align-items: center !important;
}

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

@media screen and (max-width: 768px) {
    .m-doctor-intro__grid {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start !important;
    }
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    width: 100% !important;
}

.m-doctor-intro__img-col {
    flex: 0 0 400px;
}

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

@media screen and (max-width: 768px) {
    .m-doctor-intro__img-col {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

.m-doctor-intro__img img {
    border-radius: 30px;
    width: 100%;
    height: auto;
}

.m-doctor-intro__name {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.m-doctor-intro__name small {
    font-size: 1.6rem;
    font-weight: 500;
}

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

    .m-doctor-intro__name small {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 600px) {
    .m-doctor-intro__name {
        text-align: center;
    }
}

.m-doctor-intro__specialty {
    font-size: 1.7rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .m-doctor-intro__specialty {
        font-size: 1.6rem;
        margin-bottom: 24px;
    }
}

.m-doctor-intro__text {
    font-size: 1.6rem;
    line-height: 2;
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .m-doctor-intro__text {
        font-size: 1.6rem;
        line-height: 1.8;
    }
}

/* block-005: 背景＋見出し＋リスト */
.m-card-box__ttl {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
}

@media screen and (max-width: 1080px) {
    .m-card-box__ttl {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .m-card-box__ttl {
        font-size: 2.0rem;
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 600px) {
    .m-card-box__ttl {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

/* 共通：オレンジ丸リスト */
.m-list-orange {
    list-style: none;
    padding: 0;
    margin: 0;
}

.m-list-orange li {
    position: relative;
    padding-left: 1.5em;
    font-size: 1.7rem;
    line-height: 1.5;
    color: var(--primary-color);
    margin-bottom: 1em;
}

.m-list-orange li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--orange);
    border-radius: 50%;
}

@media screen and (max-width: 768px) {
    .m-list-orange li {
        font-size: 1.6rem;
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 600px) {
    .m-list-orange li {
        font-size: 1.5rem;
    }
}

.m-card-box__list {
    max-width: 640px;
    margin: 0 auto;
}

.m-card-box__list li {
    position: relative;
    padding-left: 1.5em;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--primary-color);
    margin-bottom: 1.2em;
}

.m-card-box__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--orange);
    border-radius: 50%;
}

@media screen and (max-width: 768px) {
    .m-card-box__list li {
        font-size: 1.6rem;
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 600px) {
    .m-card-box__list li {
        font-size: 1.5rem;
    }
}

/* block-006: アコーディオン */
.m-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.m-accordion__item {
    background-color: #F5EDD9;
    border-radius: 5px;
    overflow: hidden;
}

.m-accordion__head {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
    gap: 40px;
    position: relative;
}

@media screen and (max-width: 768px) {
    .m-accordion__head {
        padding: 15px 20px;
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {
    .m-accordion__head {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 15px 20px;
        gap: 0;
    }
}

.m-accordion__date {
    font-size: 1.6rem;
    color: #888;
    font-family: var(--font-secondary);
    flex-shrink: 0;
    transform: translateY(2px);
}

@media screen and (max-width: 600px) {
    .m-accordion__date {
        font-size: 1.4rem;
        margin-right: 15px;
        order: 1;
    }
}

.m-accordion__title {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-color);
}

@media screen and (max-width: 600px) {
    .m-accordion__title {
        width: 100%;
        margin-top: 10px;
        font-size: 1.5rem;
        line-height: 1.4;
        order: 3;
    }
}

.m-accordion__icon {
    margin-left: auto;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

@media screen and (max-width: 600px) {
    .m-accordion__icon {
        position: relative;
        width: 22px;
        height: 22px;
        margin-left: auto;
        /* 右端に寄せる */
        transform: none;
        order: 2;
    }
}

.m-accordion__icon::before,
.m-accordion__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    transition: 0.3s;
}

.m-accordion__icon::before {
    width: 16px;
    height: 2px;
}

@media screen and (max-width: 600px) {
    .m-accordion__icon::before {
        width: 10px;
    }
}

.m-accordion__icon::after {
    width: 2px;
    height: 16px;
}

@media screen and (max-width: 600px) {
    .m-accordion__icon::after {
        height: 10px;
    }
}

.m-accordion__item.is-active .m-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.m-accordion__body {
    display: none;
    /* JSで制御するため初期は非表示 */
    background-color: var(--white);
    overflow: hidden;
}

.m-accordion__body-inner {
    padding: 40px;
}

@media screen and (max-width: 768px) {
    .m-accordion__body-inner {
        padding: 30px 20px;
    }
}

.m-accordion__content-head {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

@media screen and (max-width: 600px) {
    .m-accordion__content-head {
        font-size: 1.6rem;
        gap: 10px;
        margin-bottom: 15px;
    }
}

.m-accordion__content-head::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 4px solid var(--orange);
    border-radius: 50%;
    box-sizing: border-box;
    flex-shrink: 0;
    transform: translateY(2px);
}

@media screen and (max-width: 600px) {
    .m-accordion__content-head::before {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
}

.m-accordion__text {
    font-size: 1.6rem;
    line-height: 2;
    color: var(--primary-color);
    padding-left: 35px;
}

@media screen and (max-width: 768px) {
    .m-accordion__text {
        padding-left: 0;
    }
}

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

/* --------------------------------------------------
   診療時間表
   -------------------------------------------------- */


.p-time-table {
    width: 100%;
}

@media screen and (max-width: 1080px) {
    .p-time-table {
        width: 100%;
    }
}

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

@media screen and (max-width: 600px) {
    .p-time-table {
        width: 100%;
    }
}

.p-time-table__inner {
    width: 100%;
    margin: 0;
}

.p-time-table__inner table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    background-color: var(--white);
}

/* 「セル幅を固定」がON（.has-fixed-layoutがある）の場合はWP標準の挙動に任せる */
.p-time-table__inner table.has-fixed-layout {
    table-layout: fixed;
}

/* 「セル幅を固定」がOFFの場合のみ、デザイン通りの30%を適用する */
.p-time-table__inner table:not(.has-fixed-layout) th {
    width: 30%;
}

/* ヘッダー行 (thead) */
.p-time-table__inner thead {
    border: none;
}

.p-time-table__inner thead th {
    background-color: #F5EDD9;
    border: 1px solid #ccc;
}

/* ボディのヘッダー列 (tbody th) */
.p-time-table__inner tbody th,
.p-time-table__inner tbody td:first-child {
    background-color: #F9F6ED;
    border: 1px solid #ccc;
}

.p-time-table__inner th,
.p-time-table__inner tbody td:first-child {
    padding: 24px;
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    color: var(--primary-color);
}

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

    .p-time-table__inner th,
    .p-time-table__inner tbody td:first-child {
        padding: 20px;
    }
}

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

    .p-time-table__inner th,
    .p-time-table__inner tbody td:first-child {
        padding: 15px;
        font-size: 1.6rem;
    }
}

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

    .p-time-table__inner th,
    .p-time-table__inner tbody td:first-child {
        padding: 12px;
    }
}

.p-time-table__inner td {
    background-color: var(--white);
    padding: 24px;
    border: 1px solid #ccc;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    color: var(--primary-color);
}

@media screen and (max-width: 1080px) {
    .p-time-table__inner td {
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .p-time-table__inner td {
        padding: 15px;
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 600px) {
    .p-time-table__inner td {
        padding: 12px;
    }
}

.p-reception-note {
    margin-top: 15px;
    font-size: 1.4rem;
    color: #666;
}

@media screen and (max-width: 600px) {
    .p-reception-note {
        font-size: 1.3rem;
    }
}

.m-reception-wrap .m-heading--lv2 {
    margin-top: 0;
    margin-bottom: 16px;
}

@media screen and (max-width: 1080px) {
    .m-reception-wrap .m-heading--lv2 {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 768px) {
    .m-reception-wrap .m-heading--lv2 {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 600px) {
    .m-reception-wrap .m-heading--lv2 {
        margin-bottom: 16px;
    }
}

.m-reception-wrap .m-heading--lv3 {
    margin-top: 0;
    color: var(--primary-color);
}

@media screen and (max-width: 1080px) {
    .m-reception-wrap .m-heading--lv3 {
        margin-top: 0;
    }
}

@media screen and (max-width: 768px) {
    .m-reception-wrap .m-heading--lv3 {
        margin-top: 0;
    }
}

@media screen and (max-width: 600px) {
    .m-reception-wrap .m-heading--lv3 {
        margin-top: 0;
    }
}

.p-reception-time {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-left: 32px;
}

@media screen and (max-width: 768px) {
    .p-reception-time {
        font-size: 1.8rem;
        padding-left: 30px;
    }
}

@media screen and (max-width: 600px) {
    .p-reception-time {
        font-size: 1.6rem;
        padding-left: 0;
    }
}

/* block-010: カード（2カラム画像・テキスト） */
.m-card-two-col {
    margin-bottom: 60px;
}

.m-card-two-col__grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

@media screen and (max-width: 1080px) {
    .m-card-two-col__grid {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .m-card-two-col__grid {
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .m-card-two-col__grid {
        flex-direction: column-reverse;
        gap: 20px;
    }
}

.m-card-two-col__text-col {
    flex: 1;
}

.m-card-two-col .m-heading {
    margin-top: 0;
    margin-bottom: 15px;
}

.m-card-two-col__text {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .m-card-two-col__text {
        font-size: 1.5rem;
    }
}

.m-card-two-col__img-col {
    flex: 0 0 45%;
}

@media screen and (max-width: 768px) {
    .m-card-two-col__img-col {
        flex: 0 0 40%;
    }
}

@media screen and (max-width: 600px) {
    .m-card-two-col__img-col {
        flex: 0 0 auto;
        width: 100%;
    }
}

.m-card-two-col__img img {
    width: 100%;
    height: auto;
    border-radius: 0px;
}

/* block-011: カード2（見出し＋2カラム画像・テキスト） */
.m-card-layout-v2 {
    margin-bottom: 80px;
}

.m-card-layout-v2 .m-heading--lv2 {
    margin-top: 0;
    margin-bottom: 40px;
}

.m-card-layout-v2__grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

@media screen and (max-width: 1080px) {
    .m-card-layout-v2__grid {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .m-card-layout-v2__grid {
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .m-card-layout-v2__grid {
        flex-direction: column;
        /* 画像が上 */
        gap: 20px;
    }
}

.m-card-layout-v2__img-col {
    flex: 0 0 45%;
}

@media screen and (max-width: 768px) {
    .m-card-layout-v2__img-col {
        flex: 0 0 40%;
    }
}

@media screen and (max-width: 600px) {
    .m-card-layout-v2__img-col {
        flex: 0 0 auto;
        width: 100%;
    }
}

.m-card-layout-v2__img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.m-card-layout-v2__text-col {
    flex: 1;
}

.m-card-layout-v2__text {
    font-size: 1.8rem;
    line-height: 2;
    color: var(--primary-color);
}

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

/* block-014: カード（リスト・画像・キャプション） */
.m-card-list-img {
    background-color: var(--white);
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 60px;
    border: 1px solid #ccc;
}

@media screen and (max-width: 1080px) {
    .m-card-list-img {
        padding: 40px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 768px) {
    .m-card-list-img {
        padding: 30px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 600px) {
    .m-card-list-img {
        padding: 24px;
        margin-bottom: 24px;
        border-radius: 20px;
    }
}

.m-card-list-img__grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

@media screen and (max-width: 1080px) {
    .m-card-list-img__grid {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .m-card-list-img__grid {
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .m-card-list-img__grid {
        flex-direction: column-reverse;
        gap: 30px;
    }
}

.m-card-list-img__list-col {
    flex: 1;
}

.m-card-list-img__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.m-card-list-img__list li {
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--primary-color);
    margin-bottom: 1.5em;
}

@media screen and (max-width: 1080px) {
    .m-card-list-img__list li {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .m-card-list-img__list li {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .m-card-list-img__list li {
        margin-bottom: 1.2em;
    }
}

.m-card-list-img__list li:last-child {
    margin-bottom: 0;
}

.m-card-list-img__img-col {
    flex: 0 0 50%;
}

@media screen and (max-width: 600px) {
    .m-card-list-img__img-col {
        flex: 0 0 auto;
        width: 100%;
    }
}

.m-card-list-img__img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 20px;
}

@media screen and (max-width: 600px) {
    .m-card-list-img__img img {
        margin-bottom: 15px;
    }
}

.m-card-list-img__caption {
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--primary-color);
    text-align: left;
}

@media screen and (max-width: 768px) {
    .m-card-list-img__caption {
        font-size: 1.5rem;
    }
}

/* block-016: 院長あいさつ */
.m-greeting {
    padding: 40px 0;

}

@media screen and (max-width: 1080px) {
    .m-greeting {
        padding: 30px 0;
    }
}

@media screen and (max-width: 768px) {
    .m-greeting {
        padding: 20px 0;
    }
}

.m-greeting__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}

@media screen and (max-width: 768px) {
    .m-greeting__body {
        margin-top: 40px;
    }
}

.m-greeting__img {
    width: 400px;
    max-width: 100%;
    margin-bottom: 30px;
}

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

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

.m-greeting__position {
    font-size: 1.7rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

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

.m-greeting__name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.1em;
    text-align: center;
}

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

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

/* ========================================
   予約カード
   ======================================== */
.p-reserve-card {
    margin-top: 90px;
    background-color: #F3EDDC;
    padding: 60px 40px;
    border-top: 1px solid;
    border-image: linear-gradient(90deg, #FF665A 0%, #FFBD59 100%) 1;
}

@media screen and (max-width: 1080px) {
    .p-reserve-card {
        padding: 50px 30px;
        margin-top: 70px;
    }
}

@media screen and (max-width: 768px) {
    .p-reserve-card {
        padding: 40px 20px;
        margin-top: 60px;
    }
}

@media screen and (max-width: 600px) {
    .p-reserve-card {
        padding: 30px 15px;
        margin-top: 50px;
    }
}

.p-reserve-card__title {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

@media screen and (max-width: 1080px) {
    .p-reserve-card__title {
        font-size: 2.4rem;
    }
}


@media screen and (max-width: 600px) {
    .p-reserve-card__title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

.p-reserve-card__card {
    background-color: var(--white);
    border-radius: 30px;
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

@media screen and (max-width: 1080px) {
    .p-reserve-card__card {
        padding: 50px;
    }
}

@media screen and (max-width: 768px) {
    .p-reserve-card__card {
        padding: 40px 30px;
        border-radius: 20px;
    }
}

@media screen and (max-width: 600px) {
    .p-reserve-card__card {
        padding: 40px 20px;
        margin-bottom: 30px;
    }
}

.p-reserve-card__schedule {
    margin-bottom: 40px;
}

@media screen and (max-width: 600px) {
    .p-reserve-card__schedule {
        margin-bottom: 30px;
    }
}

.p-reserve-card__schedule-item {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1em;
    line-height: 1.75;
}

@media screen and (max-width: 1080px) {
    .p-reserve-card__schedule-item {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    .p-reserve-card__schedule-item {
        font-size: 1.6rem;
    }
}

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

.p-reserve-card__schedule-item:last-child {
    margin-bottom: 0;
}

.p-reserve-card__description {
    margin-bottom: 40px;
}

@media screen and (max-width: 600px) {
    .p-reserve-card__description {
        margin-bottom: 30px;
    }
}

.p-reserve-card__description-item {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5em;
    line-height: 1.75;
}

@media screen and (max-width: 1080px) {
    .p-reserve-card__description-item {
        font-size: 1.6rem;
    }
}


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

.p-reserve-card__period {
    color: var(--orange);
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
}

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

.p-reserve-card__tel-wrap {
    text-align: center;
}

.p-reserve-card__tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
}

@media screen and (max-width: 600px) {
    .p-reserve-card__tel {
        flex-wrap: wrap;
        gap: 5px;
    }
}

.p-reserve-card__tel-label {
    color: var(--secondary-color);
    font-size: 1.6rem;
}

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

.p-reserve-card__tel-separator {
    color: var(--secondary-color);
    font-size: 2.2rem;
    font-weight: normal;
}

@media screen and (max-width: 600px) {
    .p-reserve-card__tel-separator {
        display: none;
    }
}

.p-reserve-card__tel-number {
    color: var(--orange);
    font-size: 4rem;
    text-decoration: none;
    line-height: 1;
    transform: translateY(-2px);
}

@media screen and (max-width: 1080px) {
    .p-reserve-card__tel-number {
        font-size: 3.6rem;
    }
}

@media screen and (max-width: 768px) {
    .p-reserve-card__tel-number {
        font-size: 3.2rem;
    }
}

@media screen and (max-width: 600px) {
    .p-reserve-card__tel-number {
        font-size: 2.8rem;
        width: 100%;
        text-align: center;
    }
}

.p-reserve-card__tel-note {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: normal;
}

@media screen and (max-width: 600px) {
    .p-reserve-card__tel-note {
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
    }
}

.p-reserve-card__notes {
    max-width: 1000px;
    margin: 0 auto;
}

.p-reserve-card__notes-item {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
}

@media screen and (max-width: 1080px) {
    .p-reserve-card__notes-item {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .p-reserve-card__notes-item {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 600px) {
    .p-reserve-card__notes-item {
        font-size: 1.3rem;
    }
}

/* 2カラム用追加スタイル */
.p-reserve-card__subtitle {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

@media screen and (max-width: 1080px) {
    .p-reserve-card__subtitle {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    .p-reserve-card__subtitle {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 600px) {
    .p-reserve-card__subtitle {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
}

.p-reserve-card__tel-flex {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

@media screen and (max-width: 1080px) {
    .p-reserve-card__tel-flex {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .p-reserve-card__tel-flex {
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .p-reserve-card__tel-flex {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
    }
}

.p-reserve-card__tel-item {
    flex: 0 1 auto;
}

@media screen and (max-width: 600px) {
    .p-reserve-card__tel-item {
        width: 100%;
    }
}

.p-reserve-card__notes-item--center {
    text-align: center;
}

/* block-017: リンクパーツ（ボタン付き） */
.m-link-parts {
    padding: 60px 0;
}

@media screen and (max-width: 1080px) {
    .m-link-parts {
        padding: 40px 0;
    }
}

@media screen and (max-width: 768px) {
    .m-link-parts {
        padding: 30px 0;
    }
}

@media screen and (max-width: 600px) {
    .m-link-parts {
        padding: 20px 0;
    }
}

.m-link-button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media screen and (max-width: 1080px) {
    .m-link-button-wrap {
        margin-top: 30px;
    }
}

@media screen and (max-width: 768px) {
    .m-link-button-wrap {
        margin-top: 24px;
    }
}

@media screen and (max-width: 600px) {
    .m-link-button-wrap {
        margin-top: 20px;
    }
}

/* ボタン本体（aタグ） */
.m-link-button .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 基本は中央寄せ */
    width: 100%;
    max-width: 480px;
    background-color: #F5EDD9;
    border-radius: 10px;
    padding: 15px 30px;
    /* 左右均等にパディング */
    text-decoration: none;
    color: #8B4513;
    font-size: 1.8rem;
    font-weight: 700;
    border: none;
    transition: opacity 0.3s;
    line-height: 1.4;
    gap: 15px;
    /* テキストとアイコンの間隔 */
}

/* テキストを中央に寄せるための調整（アイコンの幅分だけ左に余白） */
.m-link-button .wp-block-button__link::before {
    content: "";
    width: 15px;
    /* アイコンの幅と同じにする */
    display: block;
    flex-shrink: 0;
}

@media screen and (max-width: 1080px) {
    .m-link-button .wp-block-button__link {
        max-width: 440px;
        padding: 12px 25px;
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .m-link-button .wp-block-button__link {
        max-width: 400px;
        padding: 10px 20px;
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 600px) {
    .m-link-button .wp-block-button__link {
        max-width: 100%;
        padding: 10px 15px;
        font-size: 1.4rem;
    }
}

.m-link-button .wp-block-button__link:hover {
    opacity: 0.8;
}

/* アイコン（矢印のみ） */
.m-link-button .wp-block-button__link::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-image: url('../img/icon/link-more.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: auto;
    /* これでアイコンを右端に寄せる */
}



@media screen and (max-width: 600px) {
    .m-link-button .wp-block-button__link::after {
        width: 32px;
        height: 32px;
        right: 20px;
    }
}

/* block-018: ダウンロードセクション */
.m-download-section {
    padding: 80px 0;
}

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

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

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

.m-download-box {
    background-color: var(--white);
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 60px 40px;
}

@media screen and (max-width: 1080px) {
    .m-download-box {
        padding: 40px 30px;
    }
}

@media screen and (max-width: 768px) {
    .m-download-box {
        padding: 30px 20px;
        border-radius: 20px;
    }
}

@media screen and (max-width: 600px) {
    .m-download-box {
        padding: 20px 10px;
    }
}

.m-download-box__title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

@media screen and (max-width: 1080px) {
    .m-download-box__title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 768px) {
    .m-download-box__title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 600px) {
    .m-download-box__title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
}

.m-download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

@media screen and (max-width: 900px) {
    .m-download-buttons {
        gap: 20px;
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    .m-download-buttons {
        align-items: center;
    }
}

.m-link-button--download {
    width: 100%;
    max-width: 440px;
}

@media screen and (max-width: 600px) {
    .m-link-button--download {
        max-width: 100%;
    }
}

.m-link-button--download .wp-block-button__link {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    max-width: 100%;
    min-height: 160px;
    padding: 20px 30px;
    border-radius: 15px;
}

@media screen and (max-width: 1080px) {
    .m-link-button--download .wp-block-button__link {
        min-height: 140px;
        padding: 15px 20px;
    }
}

@media screen and (max-width: 768px) {
    .m-link-button--download .wp-block-button__link {
        min-height: 120px;
        padding: 15px 20px;
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 600px) {
    .m-link-button--download .wp-block-button__link {
        min-height: 100px;
        padding: 10px 15px;
        font-size: 1.6rem;
    }
}

.m-link-button--download .wp-block-button__link::before {
    display: none;
}

.m-link-button--download .wp-block-button__link::after {
    width: 48px;
    height: 48px;
    background-image: url('../img/icon/link-more.webp');
    /* block-017と同じアイコン */
}

@media screen and (max-width: 1080px) {
    .m-link-button--download .wp-block-button__link::after {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 768px) {
    .m-link-button--download .wp-block-button__link::after {
        width: 36px;
        height: 36px;
    }
}

/* block-019: 費用目安カード */
.m-cost-guide-card {
    background-color: #fdfbf7;
    border: 1px solid #d9d9d9;
    border-radius: 24px;
    padding: 50px 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 1080px) {
    .m-cost-guide-card {
        padding: 40px 50px;
    }
}

@media screen and (max-width: 768px) {
    .m-cost-guide-card {
        padding: 30px 40px;
        border-radius: 20px;
    }
}

@media screen and (max-width: 600px) {
    .m-cost-guide-card {
        padding: 25px 20px;
        border-radius: 16px;
    }
}

.m-cost-guide-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

@media screen and (max-width: 600px) {
    .m-cost-guide-card__title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}

.m-cost-guide-card__line.border-line {
    display: block;
    width: 100%;
    height: 1px;
    background: #d9d9d9;
    margin-bottom: 40px;
    border: none;
}

@media screen and (max-width: 600px) {
    .m-cost-guide-card__line.border-line {
        margin-bottom: 30px;
    }
}

.m-cost-guide-card__example {
    font-size: 2.1rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 15px 25px;
}

@media screen and (max-width: 600px) {
    .m-cost-guide-card__example {
        font-size: 1.8rem;
        gap: 10px 15px;
        margin-bottom: 20px;
    }
}

.m-cost-guide-card__example-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2em;
}

.m-cost-guide-card__footnote {
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1.7;
    margin-bottom: 0;
}

@media screen and (max-width: 600px) {
    .m-cost-guide-card__footnote {
        font-size: 1.3rem;
    }
}