/* ----------------------------------------
    共通クラス
---------------------------------------- */
@media (min-width: 769px) {
    .is-sp {
        display: none;
    }
}

@media (max-width: 768px) {
    .is-pc {
        display: none;
    }
}

.pattern__cont__text p:not(:last-child) {
    margin-bottom: 1.5em;
}

.p-text--sub {
    font-size: 0.9em;
}

.p-indent1 {
    display     : inline-block;
    padding-left: 1em;
    text-indent : -1em;
}

.mb_0 {
    margin-bottom: 0 !important;
}

.mb_10 {
    margin-bottom: 10px !important;
}

.mb_20 {
    margin-bottom: 20px !important;
}

.mb_30 {
    margin-bottom: 30px !important;
}

.mb_40 {
    margin-bottom: 40px !important;
}

.mb_50 {
    margin-bottom: 50px !important;

    @media screen and (max-width: 768px) {
        margin-bottom: 25px !important;
    }
}

.mb_60 {
    margin-bottom: 60px !important;

    @media screen and (max-width: 768px) {
        margin-bottom: 30px !important;
    }
}

.mb_80 {
    margin-bottom: 80px !important;

    @media screen and (max-width: 768px) {
        margin-bottom: 40px !important;
    }
}

.mb_90 {
    margin-bottom: 90px !important;

    @media screen and (max-width: 768px) {
        margin-bottom: 45px !important;
    }
}

.mt_0 {
    margin-top: 0 !important;
}

.mt_10 {
    margin-top: 10px !important;
}

.mt_20 {
    margin-top: 20px !important;
}

.mt_30 {
    margin-top: 30px !important;
}

.mt_40 {
    margin-top: 40px !important;
}

.mt_50 {
    margin-top: 50px !important;

    @media screen and (max-width: 768px) {
        margin-top: 25px !important;
    }
}

.mt_60 {
    margin-top: 60px !important;

    @media screen and (max-width: 768px) {
        margin-top: 30px !important;
    }
}

.mt_80 {
    margin-top: 80px !important;

    @media screen and (max-width: 768px) {
        margin-top: 40px !important;
    }
}

.mt_90 {
    margin-top: 90px !important;

    @media screen and (max-width: 768px) {
        margin-top: 45px !important;
    }
}

/* ----------------------------------------
    ナビ（診療ページ共通）
---------------------------------------- */
:root {
    --nav-count: 4;
    --nav-gap  : 8px;
}

.service__block {
    padding-block: 6rem;

    @media (max-width: 767px) {
        padding-block: 3rem;
    }
}

.service__nav ul {
    display        : flex;
    flex-wrap      : wrap;
    align-items    : stretch;
    justify-content: center;
    gap            : var(--nav-gap);

    @media (max-width: 767px) {
        flex-direction: column;
        gap           : 12px;
    }
}

.service__nav ul li {
    flex-basis : calc(100% / var(--nav-count) - var(--nav-gap));
    padding    : 10px;
    display    : flex;
    flex-wrap  : wrap;
    align-items: stretch;
}

.service__nav ul li .btn-readmore {
    min-width      : 0;
    transition     : all 0.3s;
    display        : inline-flex;
    align-items    : center;
    justify-content: center;
}

.service__nav ul li .btn-readmore:hover {
    opacity: 0.7;
}

.service__nav ul li .btn-readmore:hover::before,
.service__nav ul li .btn-readmore:hover::after {
    transform: translate(0, 0);
}

.service__nav ul li .btn-readmore:hover::before {
    top : 0;
    left: 0;
}

.service__nav ul li .btn-readmore:hover::after {
    right : 0;
    bottom: 0;
}

@media (max-width: 1199px) {
    .service__nav ul li {
        flex-basis: 33%;
    }
}

@media (max-width: 767px) {
    .service__nav ul li {
        flex-basis: 50%;
        padding   : 5px;
    }
}

/* ----------------------------------------
    フル幅画像
---------------------------------------- */
.p-pic__full {
    display: block;
    width  : 100%;
    filter : drop-shadow(6px 6px 0px rgba(191, 175, 155, 0.3));
}

/* ----------------------------------------
    カラーボックス
---------------------------------------- */
.p-box,
.p-box,
.p-box {
    padding: 2rem;

    @media (max-width: 767px) {
        padding: 1.4rem 1.2rem;
    }
}

.p-box--beige {
    background-color: #FFF8F2;
}

.p-box--blue {
    background-color: #0093AD;
    color           : #FFF;
}

.p-box--white {
    background-color: #FFF;
}

.p-box .p-box__line {
    display       : block;
    font-weight   : 600;
    border-bottom : 1px dashed;
    padding-bottom: 0.4em;
    margin-bottom : 0.4em;
}

/* ----------------------------------------
    CTAボックス
---------------------------------------- */
.p-cta__box {
    display       : flex;
    flex-direction: column;
    align-items   : flex-end;
    gap           : 1.4rem;
    margin-top    : 2rem;

    @media (max-width: 767px) {
        align-items: center;
    }
}

.p-cta__box .pattern__btn {
    margin-top: 0;
}

/* ----------------------------------------
    電話番号
---------------------------------------- */
.p-phone {
    display       : block;
    padding-top   : 3px;
    font-size     : 32px;
    line-height   : normal;
    color         : var(--font-body-color);
    letter-spacing: 0.07em;
    white-space   : nowrap;
}

.p-phone span {
    font-size: 20px;
}

/* ----------------------------------------
    料金表
---------------------------------------- */

.p-table__price {
    width: 100%;

    @media (max-width: 767px) {
        min-width: auto !important;
    }
}

.p-table__price tr:first-child td {
    border-top: 1px dotted #958f68;
}

.p-table__price--center {
    text-align: center;
}

/* ----------------------------------------
    【調整】パターン：リスト
---------------------------------------- */
.pattern__list__check li:first-child,
.pattern__list__dotted li:first-child {
    margin-top: 0;
}

/* ----------------------------------------
    【調整】パターン：表組み
---------------------------------------- */
.pattern__table table tbody th {
    width: 14%;
}

.pattern__table table td {
    width: 22%;
}

/* ----------------------------------------
    【調整】パターン：ブロック5（ステップ）
---------------------------------------- */
@media (max-width: 767px) {
    .pattern__block__5 .pattern__cont {
        margin-top: 0px;
    }

    .pattern__block__5 .pattern__cont__title {
        margin-top: 0px;
    }
}