@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda&display=swap");

/*  ----------------------------------------------------------

index

----------------------------------------------------------  */
#main {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 72rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-catch {
    color: #fff;
    font-size: 3.2rem;
    line-height: 1.6;
    padding-top: 12rem;
}

.top-concept {
    background: url(../img/top-texture1.jpg) no-repeat center;
    background-size: cover;
}

.top-concept h3 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: normal;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.top-concept p {
    width: 60%;
    margin: 0 auto 4rem auto;
}

.top-menu {
    background: url(../img/top-texture1.jpg) no-repeat center;
    background-size: cover;
}

.top-menu-wrap {
    display: flex;
    justify-content: space-between;
}

.top-menu-wrap>* {
    width: 46%;
}

.top-menu-img {
    position: relative;
}

.top-menu-img img {
    width: 100%;
    height: auto;
    display: block;
}

.top-menu-img::after {
    content: "";
    width: 100%;
    height: 67%;
    border: solid 1px #cbc2b7;
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    z-index: 0;
}

.top-menu h3 {
    font-size: 2.4rem;
    font-weight: normal;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.top-menu p {
    margin-bottom: 4rem;
}

.top-staff {
    padding-top: 10rem;
    background: #fffaf5;
}

.top-staff-wrap {
    padding-bottom: 10rem;
    position: relative;
}



.top-staff-content {
    background: #fffaf5;
    padding: 4rem 4rem 2rem 4rem;
    position: relative;
    z-index: 1;
    width: 80%;
    margin: 0 auto 6rem auto;
    display: flex;
    flex-wrap: wrap;
}

.top-staff-content>* {
    width: 23%;
    margin-right: calc(8% / 3);
    margin-bottom: 2rem;
}

.top-staff-content>*:nth-of-type(4n) {
    margin-right: 0;
}

.top-staff-content dl dd {
    text-align: center;
    margin-top: 0.5rem;
}

.treatment-detail {
    font-size: 1.1rem;
    text-align: left !important;
    letter-spacing: 0.01em;
}

.treatment-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 3rem;
    padding: 1.4rem 3.2rem;

    border-radius: 999px;
    background: #c9843a;
    color: #fff;
    text-decoration: none;

    font-size: 1.5rem;
    font-weight: bold;

    transition: .3s;
}

.treatment-link-btn:hover {
    background: #b5722f;
    transform: translateY(-3px);
}

.treatment-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 3rem;

    padding: 1.4rem 3.2rem;

    border-radius: 999px;
    background: #c9843a;
    color: #fff !important;

    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;

    transition: .3s;

    width: fit-content;
}

.vaccine-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vaccine-text p {
    width: 100%;
    max-width: 100%;
    writing-mode: horizontal-tb;
}

.treatment-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 5rem auto 0;
    padding: 1.6rem 4rem;

    border-radius: 999px;
    background: #c9843a;
    color: #fff !important;

    text-decoration: none;
    font-size: 1.6rem;
    font-weight: bold;

    min-width: 42rem;
    transition: .3s;
}

.treatment-link-btn:hover {
    background: #b5722f;
    transform: translateY(-3px);

}

.treatment-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 5rem auto 0;

    padding: 1.6rem 4rem;

    border-radius: 999px;
    background: #c9843a;
    color: #fff !important;

    text-decoration: none;
    font-size: 1.6rem;
    font-weight: bold;

    transition: .3s;

    min-width: 42rem;
}

.treatment-link-btn:hover {
    background: #b5722f;
    transform: translateY(-3px);
}

.top-style ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.top-style ul li {
    width: 23%;
    margin-bottom: 2%;
}

.top-access {
    background: url(../img/top-texture2.jpg) no-repeat center;
    background-size: cover;
    color: #fff;
}

.top-access h2 {
    color: #fff;
}

.top-access h2::after {
    background: #fff;
}

.top-access-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-access-wrap>* {
    width: 48%;
}

@media screen and (min-width: 768px) {
    .top-access a {
        color: #fff;
    }
}

@media screen and (max-width: 767px) {
    .top-access a {
        color: #fff;
        text-decoration: underline;
    }

    .top-menu-img::after {
        content: "";
        width: 100%;
        height: 100%;
        border: solid 1px #cbc2b7;
        position: absolute;
        left: 0.5rem;
        top: 0.5rem;
        z-index: 0;
    }
}

/* --------------------
問診票ページ 上部
-------------------- */

.questionnaire-top {
    background: #fffaf5;
    border: 1px solid #f1dcc3;
    border-radius: 24px;
    padding: 45px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.questionnaire-top-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ffe8c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    flex-shrink: 0;
}

.questionnaire-top .mini {
    color: #d99038;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.questionnaire-top h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.questionnaire-top .txt {
    line-height: 2;
}

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

    .top-catch {
        font-size: 3.2rem;
        padding: 0 2rem 0 2rem;
    }

    .top-concept h3 {
        text-align: left;
    }

    .top-concept p {
        width: 100%;
    }

    .top-menu-wrap {
        display: block;
    }

    .top-menu-wrap>* {
        width: 100%;
    }

    .top-map iframe {
        height: 280px;
    }

    dl.shop-info dt,
    dl.shop-info dd {
        padding: 10px 0;
        line-height: 1.6;
    }

    .top-menu-wrap>*:first-of-type {
        margin-bottom: 4rem;
    }

    .top-staff {
        padding-top: 8rem;
    }

    .top-staff-wrap {
        padding-bottom: 8rem;
    }

    .top-staff-wrap::before {
        height: 40rem;
    }

    .top-staff-content {
        justify-content: space-between;
        width: 90%;
        margin: -10rem auto 4rem auto;
    }

    .top-staff-content>* {
        width: 95%;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .treatment-detail {
        font-size: 1.3rem;
        text-align: left !important;
        letter-spacing: 0.01em;
    }

    .top-staff-content>*:nth-of-type(4n) {
        margin-right: 0;
    }

    .top-staff-content dl dd {
        text-align: center;
        margin-top: 0.5rem;
    }

    .top-staff .more {
        margin: 0 5%;
    }

    .top-style ul li {
        width: 48%;
        margin-bottom: 4%;
    }

    .top-access-wrap {
        display: block;
    }

    .top-access-wrap>* {
        width: 100%;
    }

    .top-access-wrap>*:first-of-type {
        margin-bottom: 2rem;
    }

    .top-map {
        padding-bottom: 8rem;
    }

    .top-map .more {
        margin: 0 2rem;
    }

    dl.shop-info dt {
        padding: 10px 1rem 2px;
        clear: both;
        float: none;
        width: 100%;
        font-weight: 700;
        white-space: normal;
        text-align: center;
        box-sizing: border-box;
    }

    dl.shop-info dd:last-child {
        border-bottom: none !important;
    }

    dl.shop-info a {
        text-decoration: underline;
        font-weight: 700;
    }

    dl.shop-info dd {
        padding: 10px 1rem 12px;
        float: none;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        line-height: 1.6;
        text-align: center;
        box-sizing: border-box;
    }

    dl.shop-info dd:last-child {
        border-bottom: none;
    }

}

← これを追加

/*  ----------------------------------------------------------

news

----------------------------------------------------------  */
.CMS-NEWS-TITLE {
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    font-size: 2.4rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    padding: 1rem 0 1.5rem 0;
    position: relative;
    font-weight: bold;
}

.CMS-NEWS-TITLE:after {
    border-bottom: solid 3px #333;
    bottom: -3px;
    content: " ";
    display: block;
    position: absolute;
    width: 25%;
}

.CMS-NEWS-CONTENT img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
}

.CMS-NEWS-INDEX {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.CMS-NEWS-INDEX>* {
    width: 31%;
    margin-right: 3.5%;
    margin-bottom: 3.5%;
}

.CMS-NEWS-INDEX>*:nth-of-type(3n) {
    margin-right: 0 !important;
}

.CMS-NEWS-ITEM a {
    transition: all 0.3s;
    display: block;
    text-decoration: none !important;
}

.CMS-NEWS-ITEM a:hover {
    opacity: 0.6;
}

.CMS-NEWS-TIME {
    margin-top: 1.5rem;
}

.CMS-NEWS-LINK {
    display: block;
    line-height: 1.6;
}

.CMS-NEWS-MORE-READ {
    background: #6c5a47;
    border: none;
    border-radius: 0.2rem;
    text-align: center;
    padding: 2rem 0;
    font-size: 1.4rem;
    color: #fff;
    text-align: center;
    margin: 4rem auto 0 auto;
    width: 24rem;
    display: block;
    transition: all 0.3s;
    display: none;
}

.CMS-NEWS-MORE-READ:hover {
    cursor: pointer;
    opacity: 0.6;
}

.top-news .CMS-NEWS-MORE-READ {
    display: none;
}

@media screen and (max-width: 767px) {
    .CMS-NEWS-CONTENT img {
        width: 100%;
    }

    .CMS-NEWS-INDEX {
        display: block;
    }

    .CMS-NEWS-INDEX>* {
        width: 100%;
        margin-right: 0;
        margin-bottom: 6rem;
    }

    .CMS-NEWS-INDEX>*:last-of-type {
        margin-bottom: 0;
    }
}

/*コンセプトページ*/

.concept .inner {
    display: flex;
}

.concept .inner p {
    margin-left: 4rem;
}

@media screen and (max-width: 767px) {
    .concept .inner {
        display: block;
    }

    /* SP: .inner > div/p の max-width:50% を打ち消し、テンプレ206 CONCEPT 風に中央配置 */
    .concept .inner>div,
    .concept .inner>p {
        flex: none;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .concept .inner>div img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        height: auto;
    }

    .concept .ttl {
        text-align: center;
    }

    .concept .ttl:after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .concept .inner p {
        margin-left: 0;
        margin-top: 4rem;
        text-align: center;
    }

    .concept .inner>p:first-child {
        margin-top: 0;
    }
}

/*メニューページ*/
.table_wrap {
    margin-bottom: 100px;
}

.table_wrap ul {
    list-style: none;
}

.label_wrap {
    display: -ms-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
}

.table_row_inner,
.table_row_inner_dining {
    display: -ms-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px 10px;
    border-bottom: solid 1px #dcdcdc;
}

.table_row_inner_salon {
    display: -ms-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    padding: 20px 10px;
    border-bottom: solid 1px #dcdcdc;
}

.heading1 {
    color: #fff;
    font-size: 3.6rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.8rem;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.heading3 {
    color: #1b1b1b;
    font-size: 1.8rem;
    text-align: left;
    letter-spacing: 0.1rem;
    margin: 80px 0 30px;
    font-weight: 600;
    width: 100%;
    padding: 15px 0 15px 15px;
    background: #f1efe9;
    border-radius: 4px;
    position: relative;
}

.heading3::before {
    content: "";
    display: block;
    width: 4px;
    height: 14px;
    background: #1b1b1b;
    position: absolute;
    left: 0px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.heading2 {
    color: #1b1b1b;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.8rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.heading2::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #1b1b1b;
    margin: 0 auto;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
}

.list_h {
    color: #535353;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 65%;
    flex: 0 0 65%;
}

.list_d {
    color: #535353;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    text-align: right;
}

.list_h_salon {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    font-size: 1.4rem;
    line-height: 2rem;
    color: #959595;
    font-weight: 600;
}

.list_d_salon {
    color: #535353;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2rem;
}

.list_h_dining {
    color: #535353;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    font-size: 1.4rem;
    font-weight: 600;
}

.list_d_dining {
    color: #535353;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: right;
}

.label_item {
    font-size: 1.2rem;
    color: #fff;
    padding: 5px 10px;
    background: #e0bcc0;
    border-radius: 2px;
    margin-right: 5px;
}

.list_name {
    color: #535353;
    font-size: 1.8rem;
    font-weight: 600;
}

.list_name_small {
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: #626262;
    font-weight: 400;
}

.list_price {
    font-size: 1.8rem;
    color: #535353;
    font-weight: 600;
}

.note_p {
    font-size: 1.2rem;
    color: #626262;
    font-weight: 400;
    text-align: right;
    margin-top: 10px;
}

@media screen and (max-width: 767px) {
    .table_wrap ul {
        list-style: none;
    }

    .label_wrap {
        display: -ms-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-bottom: 10px;
    }

    .table_row_inner,
    .table_row_inner_dining {
        display: -ms-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 20px 10px;
        border-bottom: solid 1px #dcdcdc;
    }

    .table_row_inner_salon {
        display: -ms-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-line-pack: start;
        align-content: flex-start;
        padding: 20px 10px;
        border-bottom: solid 1px #dcdcdc;
    }

    .list_h {
        color: #535353;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 65%;
        flex: 0 0 65%;
    }

    .list_d {
        color: #535353;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        text-align: right;
    }

    .list_h_salon {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        font-size: 1.4rem;
        line-height: 2rem;
        color: #959595;
        font-weight: 600;
    }

    .list_d_salon {
        color: #535353;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 2rem;
    }

    .list_h_dining {
        color: #535353;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        font-size: 1.4rem;
        font-weight: 600;
    }

    .list_d_dining {
        color: #535353;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        font-size: 1.8rem;
        font-weight: 600;
        text-align: right;
    }

    .label_item {
        font-size: 1.2rem;
        color: #fff;
        padding: 5px 10px;
        background: #e0bcc0;
        border-radius: 2px;
        margin-right: 5px;
    }

    .list_name {
        color: #535353;
        font-size: 1.8rem;
        font-weight: 600;
    }

    .list_name_small {
        font-size: 1.2rem;
        line-height: 1.8rem;
        color: #626262;
        font-weight: 400;
    }

    .list_price {
        font-size: 1.8rem;
        color: #535353;
        font-weight: 600;
    }

    .heading2 {
        color: #1b1b1b;
        font-size: 2.4rem;
        font-weight: 700;
        letter-spacing: 0.4rem;
        text-align: center;
        margin-bottom: 60px;
        position: relative;
    }

    .heading3 {
        color: #1b1b1b;
        font-size: 1.8rem;
        text-align: left;
        letter-spacing: 0.1rem;
        margin: 80px 0 30px;
        font-weight: 600;
        width: 100%;
        padding: 15px 0 15px 15px;
        background: #f1efe9;
        border-radius: 4px;
        position: relative;
    }

    .heading3::before {
        content: "";
        display: block;
        width: 4px;
        height: 14px;
        background: #1b1b1b;
        position: absolute;
        left: 0px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .note_p {
        font-size: 1.2rem;
        color: #626262;
        font-weight: 400;
        text-align: right;
        margin-top: 10px;
    }
}

/*スタイルページ*/

.style_sec01_content {
    width: 100%;
    display: -ms-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.style_sec01_content_item {
    width: 25%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 100%;
    padding: 10px;
}

.style_sec01_content_item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .style_sec01_content_item {
        width: 50%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 100%;
        padding: 10px;
    }
}

/*スタッフページ*/

.staff_wrap {
    width: 100%;
    display: -ms-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.staff_item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3%;
    flex: 0 0 33.3%;
    width: 100%;
    margin-bottom: 30px;
}

.staff_item img {
    width: 100%;
    height: auto;
    padding: 10px;
}

.staff_title,
.staff_profile {
    margin-top: 10px;
    color: #626262;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
    padding: 10px;
}

.staff_name {
    color: #535353;
    margin-top: 10px;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
}

.menu_heading1_wrap,
.style_heading1_wrap,
.staff_heading1_wrap,
.salon_heading1_wrap,
.dining_heading1_wrap {
    height: 200px;
}

.sns {
    display: flex;
    justify-content: center;
}

.sns li {
    width: 4rem;
}

footer .sns li:not(:last-child) {
    margin-right: 1.5rem;
}

@media screen and (max-width: 767px) {
    .staff_item {
        -webkit-box-flex: 0;
        -ms-flex: 50% 0;
        flex: 50% 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .staff_item img {
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .staff_title {
        margin-top: 10px;
        color: #626262;
        font-size: 1.2rem;
        text-align: center;
        font-weight: 400;
    }

    .staff_name {
        color: #535353;
        margin-top: 10px;
        font-size: 1.8rem;
        text-align: center;
        font-weight: 600;
    }

    .sns li {
        width: 4.7rem;
    }

    footer .sns li:not(:last-child) {
        margin-right: 1.5rem;
    }
}

/* ------------------------------
news
------------------------------ */

.second_news {
    max-width: 980px;
    margin: 0 auto;
    padding: 30px 0 20px 0;
    display: flex;
}

.second_news2 .CMS-NEWS-INDEX {
    margin-bottom: 3px;
}

.second_news2 .CMS-NEWS-ITEM {
    padding-bottom: 10px;
    padding-top: 10px;
    float: left;
    margin: 15px;
}

.second_news2 .CMS-NEWS-THUMBNAIL {
    width: 170px;
    height: auto;
    object-fit: cover;
    transition: 0.5s all;
}

.second_news2 .CMS-NEWS-TIME {
    white-space: nowrap;
    font-size: 1.2em;
}

.second_news2 .CMS-NEWS-LINK {
    font-size: 1.2em;
    max-width: 170px;
}

.second_news2 .CMS-NEWS-TITLE {
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 20px;
}

.second_news2 .CMS-NEWS-CONTENT {
    text-align: center;
    margin: 0 auto;
}

.second_news2 .image .img {
    width: 100%;
    text-align: center;
}

.second_news2 .CMS-NEWS-MORE-READ {
    display: none;
}

.CMS-NEWS-MORE-READ {
    display: none;
}

/* ------------------------------
news
------------------------------ */
/*
.CMS-NEWS-INDEX {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
  margin-top: 40px;
}

.CMS-NEWS-ITEM {
  padding-bottom: 10px;
  padding-top: 10px;
  margin: 30px;
}

.CMS-NEWS-THUMBNAIL {
  width: 260px;
  height: 200px;
  object-fit: cover;
  transition: 0.5s all;
}

.CMS-NEWS-TIME {
  white-space: nowrap;
  font-size: 1.1em;
}

.CMS-NEWS-LINK {
  max-width: 260px;
  font-size: 1.2em;
}

.CMS-NEWS-TITLE {
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 20px;
}

.CMS-NEWS-CONTENT {
  text-align: center;
  margin: 0 auto;
}
*/

.image .img {
    width: 100%;
    text-align: center;
}

/*article調整-----------------------*/

.CMS-ARTICLE-INDEX {
    max-width: 600px;
    margin: auto;
}

#article_archive .title_ar {
    text-align: center;
    margin-top: 1.5em !important;
    color: #8a8a8a !important;
}

#article_archive .CMS-ARTICLE-INDEX {
    display: flex;
    flex-wrap: wrap;
}

#article_archive .CMS-ARTICLE-INDEX .CMS-ARTICLE-ITEM {
    width: calc(33.333% - 20px);
    border: solid 1px #dbe8e3;
    padding: 0;
    margin: 10px 10px;
    transition: 0.3s all;
}

#article_archive .CMS-ARTICLE-INDEX .CMS-ARTICLE-THUMBNAIL {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.CMS-ARTICLE-ITEM {
    margin-top: 100px;
}

#article_archive .CMS-ARTICLE-INDEX .CMS-ARTICLE-TIME {
    padding: 10px 10px 0;
}

#article_archive .CMS-ARTICLE-INDEX .CMS-ARTICLE-LINK {
    padding: 0 10px 10px;
}

@media screen and (max-width: 780px) {
    #article_archive .CMS-ARTICLE-INDEX {
        flex-direction: column;
    }

    #article_archive .CMS-ARTICLE-INDEX .CMS-ARTICLE-ITEM {
        width: 100%;
        margin: 10px 0;
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .second_news {
        width: 100%;
        display: flex;
    }

    .second_news2 {
        width: 100%;
        display: flex;
        text-align: center;
    }

    .second_news2 .CMS-NEWS-LINK {
        font-size: 1.2em;
        max-width: 100%;
    }

    .CMS-NEWS-THUMBNAIL {
        width: 100%;
        object-fit: cover;
        transition: 0.5s all;
    }

    .CMS-NEWS-INDEX {
        width: 100%;
    }

    .CMS-NEWS-ITEM {
        width: 33%;
        box-sizing: border-box;
        margin: 0;
        padding: 20px;
    }

    .CMS-NEWS-LINK {
        max-width: 100%;
        font-size: 1.2em;
    }
}

@media screen and (max-width: 600px) {
    .CMS-NEWS-ITEM {
        width: 100%;
        margin: 0 auto;
    }
}

@media screen and (min-width: 600px) {
    .newstop {
        margin-left: 160px;
        margin-bottom: 100px;
        margin-right: 160px;
    }
}

form input[type="submit"] {
    transition: all 0.3s;
}

form input[type="submit"]:hover {
    opacity: 0.4;
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    form {
        padding: 70px 0 0 0;
        max-width: 1000px;
        margin: 0 auto;
    }

    form div {
        margin-bottom: 50px;
    }

    form div label {
        display: block;
        font-weight: bold;
        margin-bottom: 10px;
        font-size: 18px;
    }

    form select {
        padding: 20px;
        background: #fff;
        border: #bbb solid 1px;
        border-radius: 3px;
    }

    form input,
    form textarea {
        width: calc(100% - 40px);
        padding: 10px 20px;
        background: #fff;
        border: #bbbbbb solid 1px;
        border-radius: 4px;
        font-size: 1.5em;
    }

    form input[type="submit"] {
        border: 0px;
        width: 50%;
        background: #6c5a47;
        border: 2px solid #444;
        color: #fff;
        font-size: 26px;
        font-weight: 600;
        padding: 20px 0;
        margin: 0 25%;
    }
}

@media screen and (max-width: 767px) {
    form {
        padding: 30px 20px 0 20px;
    }

    form div {
        margin-bottom: 50px;
    }

    form div label {
        display: block;
        font-weight: bold;
        margin-bottom: 10px;
        font-size: 14px;
    }

    form select {
        padding: 20px;
        background: #fff;
        border: #bbb solid 1px;
        border-radius: 3px;
    }

    form input,
    form textarea {
        max-width: 1000px;
        width: calc(100% - 20px);
        padding: 10px 10px;
        background: #fff;
        border: #bbbbbb solid 1px;
        border-radius: 4px;
        font-size: 1.4em;
    }

    form input[type="submit"] {
        border: 0px;
        width: 90%;
        background: #800000;
        border: 2px solid #333;
        color: #fff;
        font-size: 22px;
        font-weight: 600;
        padding: 16px 0;
        margin: 0 5%;
    }
}

.CMS-FORM-RADIO-LABEL {
    font-weight: 600;
}

.CMS-FORM-RADIO {
    display: flex;
    margin-top: 30px;
}

.CMS-FORM-RADIO input {
    width: 12%;
    margin-bottom: 5px;
    font-size: 14px;
}

.CMS-FORM-RADIO label {
    width: 100%;
    font-size: 14px;
    margin-bottom: 0px;
}

@media screen and (max-width: 767px) {
    .CMS-FORM-RADIO {
        display: flex;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .CMS-FORM-RADIO input {
        width: 10%;
        margin-bottom: 5px;
    }

    .CMS-FORM-RADIO label {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* 予約 */

.contact-tel {
    background: url(../img/top-texture1.jpg) no-repeat center;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.contact-tel::before {
    content: "";
    width: 4rem;
    height: 4rem;
    display: block;
    border-top: 1px solid #6c5a47;
    border-left: 1px solid #6c5a47;
    position: absolute;
    left: 0;
    top: 0;
}

.contact-tel::after {
    content: "";
    width: 4rem;
    height: 4rem;
    display: block;
    border-bottom: 1px solid #6c5a47;
    border-right: 1px solid #6c5a47;
    position: absolute;
    right: 0;
    bottom: 0;
}

.contact-tel p:first-of-type {
    margin-bottom: 1.5rem;
}

.contact-tel-num {
    font-family: "Oswald", sans-serif;
    font-size: 3.8rem;
    line-height: 1;
}

.contact-tel-num i {
    font-size: 3.6rem;
    vertical-align: 0.1rem;
    margin-right: 0.5rem;
}

.contact-tel-num span {
    font-size: 1.4rem;
    display: block;
    margin-top: 1.2rem;
}

.contact-tel a {
    color: #6c5a47;
}

.CMS-NEWS-INDEX a {
    text-decoration: underline;
}

.thanx p {
    margin-bottom: 3rem;
}

.privacy {
    width: auto;
    margin: 0 auto 5rem;
    border: 2px solid #000000;
    padding: 20px;
    font-size: 1.2rem;
    height: 500px;
    overflow: auto;
}

.privacy span {
    font-weight: bold;
}

p.privacy_notes {
    padding: 30px 0 0;
    font-size: 1.2rem;
}

@media screen and (max-width: 767px) {
    .privacy {
        width: 90%;
        font-size: 1.5rem;
    }

    .guide {
        width: 95%;
        margin: auto;
    }
}

/*  ----------------------------------------------------------

point

----------------------------------------------------------  */
.about-guide {
    margin-bottom: 3rem;
}

.about-guide-inner div {
    padding-bottom: 2rem;
}

.guide h4 {
    background: #f49e30;
    color: #fff;
    line-height: 1.6;
    padding: 0rem 1.7rem 0.6rem 1.7rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.guide h4 span {
    font-size: 2.4rem;
    font-weight: 800;
    padding-right: 2rem;
}


.item-question {
    position: relative;
    line-height: 1.8;
    padding-right: 1rem;
    border-bottom: solid 2px #e6ecf6;
    color: var(--main-color);
    font-weight: bold;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.item-question span {
    display: block;
    width: calc(100% - 11.4rem);
    margin-bottom: 3rem;
}

.item-question:hover {
    cursor: pointer;
    opacity: 0.4;
}

.item-question::before {
    content: 'Q';
    font-family: 'Roboto', sans-serif;
    font-size: 3.6rem;
    line-height: 6rem;
    text-align: center;
    display: block;
    width: 6rem;
    height: 6rem;
    color: #fff;
    background: #f49e30;
    margin-right: 2.5rem;
    margin-bottom: 3rem;
}

.item-question::after {
    content: '';
    background: url(../img/arrow3.png);
    background-size: 2.4rem;
    width: 2.4rem;
    height: 2.4rem;
    transition: all 0.3s;
    margin-bottom: 3rem;
}

.item-question.open::after {
    transform: rotate(180deg);
}

.item-content {
    padding-left: 8.5rem;
    position: relative;
    margin-bottom: 6rem;
}

.item-content::before {
    content: 'A';
    font-family: 'Roboto', sans-serif;
    font-size: 3.6rem;
    line-height: 6rem;
    text-align: center;
    display: inline-block;
    width: 6rem;
    height: 6rem;
    color: var(--main-color);
    background: #fff2af;
    position: absolute;
    left: 0;
    top: 0;
}

dl.faq dd:last-of-type {
    margin-bottom: 0;
}

.ready {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    padding: 50px 0;
}

.bold {
    font-weight: bold;
}

/* インスタ連携用CSS */

.top_insta {
    padding: 6rem 10% 8rem;
}

.top_insta h2 {
    text-align: center;
}

.insta_wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

.CMS-INSTAGRAM-LIST {
    display: flex;
    flex-wrap: wrap;
}

.CMS-INSTAGRAM-LIST a {
    display: inline-block;

    /* calc(100/横に並べたい枚数% - 左右の余白　*　余白の数) */

    /* ↓2枚並び */
    /* width: calc(50% - 10px * 1/2); */

    /* ↓3枚並び */
    width: calc(33.33333333333% - 10px * 2/3);

    /* ↓4枚並び */
    /* width: calc(25% - 10px * 3/4); */

    margin-right: 10px;
    margin-top: 10px;
}

/* nth-child(横並びの枚数) */

/* ↓2枚並びの時 */
/* .CMS-INSTAGRAM-LIST a:nth-child(2n) {
    margin-right: 0;
  }
  .CMS-INSTAGRAM-LIST a:nth-child(-n+2) {
    margin-right: 0;
  } */

/* ↓3枚並び */
.CMS-INSTAGRAM-LIST a:nth-child(3n) {
    margin-right: 0;
}

.CMS-INSTAGRAM-LIST a:nth-child(-n+3) {
    margin-top: 0;
}

/* ↓4枚並びの時 */
/* .CMS-INSTAGRAM-LIST a:nth-child(4n) {
    margin-right: 0;
  }
  .CMS-INSTAGRAM-LIST a:nth-child(-n+4) {
    margin-right: 0;
  } */

.CMS-INSTAGRAM-LIST a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.CMS-INSTAGRAM-LIST a:nth-of-type(7),
.CMS-INSTAGRAM-LIST a:nth-of-type(8),
.CMS-INSTAGRAM-LIST a:nth-of-type(9) {
    display: none;
}

/* インスタ連携用CSS */
.access-txt {
    font-size: 1.1rem;
}

.inner>div,
.inner>p {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
}

.faq-wrap {
    margin-top: 80px;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.question,
.answer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.q,
.a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.q {
    background: #f39c34;
}

.a {
    background: #8b7665;
}

.question p,
.answer p {
    margin: 0;
    line-height: 2;
}

.question p {
    font-weight: 600;
}

.faq-wrap {
    margin-top: 80px;
}

.faq-item {
    padding: 40px 0;
    border-bottom: 1px solid #e5e5e5;
}

.question,
.answer {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.question {
    margin-bottom: 25px;
}

/* 外国語問診票バナー */
.questionnaire-banner {
    margin: 70px 0;
    padding: 40px 45px;
    background: #fffaf3;
    border: 1px solid #f3d8b8;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    position: relative;
}

.questionnaire-banner::before {
    content: "";
    width: 70px;
    height: 70px;
    background: #ffe8c7;
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: 25px;
    z-index: -1;
}

.questionnaire-banner-text .sub {
    color: #d98a2b;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.questionnaire-banner-text h3 {
    font-size: 1.7rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333;
}

.questionnaire-banner-text p {
    line-height: 2;
    margin: 0;
    color: #555;
}

.questionnaire-banner-btn {
    display: inline-block;
    background: #f39c34;
    color: #fff;
    padding: 16px 28px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
    box-shadow: 0 5px 12px rgba(243, 156, 52, 0.25);
}

.questionnaire-banner-btn:hover {
    opacity: 0.85;
}

@media screen and (max-width:768px) {
    .questionnaire-banner {
        display: block;
        padding: 32px 24px;
    }

    .questionnaire-banner-btn {
        margin-top: 24px;
        display: block;
        text-align: center;
    }

    .questionnaire-banner-text h3 {
        font-size: 1.45rem;
    }
}

/* --------------------
問診票ダウンロードページ
-------------------- */

.questionnaire-card {
    background: #fffaf5;
    border: 1px solid #f1dcc3;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.questionnaire-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.questionnaire-head .icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #ffe7c6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.questionnaire-head .mini {
    color: #d99038;
    font-size: 0.82rem;
    margin-bottom: 5px;
    letter-spacing: 0.08em;
}

.questionnaire-head h3 {
    margin: 0;
    font-size: 2rem;
}

.questionnaire-download-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.questionnaire-download-list a {
    background: #fff;
    border: 1px solid #ead6bf;
    border-radius: 999px;
    padding: 16px 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.05rem;
    transition: 0.3s;
}

.questionnaire-download-list a:hover {
    background: #f39c34;
    color: #fff;
    transform: translateY(-2px);
}

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

    .questionnaire-card {
        padding: 24px 20px;
    }

    .questionnaire-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .questionnaire-download-list {
        grid-template-columns: 1fr;
    }

}

/* Googleマップ調整 */
.top-map iframe {
    width: 100%;
    height: 450px;
    display: block;
}

@media screen and (max-width:767px) {
    .top-map iframe {
        height: 320px;
    }
}

/* 医院情報テーブル調整 */
dl.shop-info,
dl.detail {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

dl.shop-info dt,
dl.detail dt {
    width: 25%;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    box-sizing: border-box;
}

dl.shop-info dd,
dl.detail dd {
    width: 75%;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
}

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

    dl.shop-info,
    dl.detail {
        display: block;
    }

    dl.shop-info dt,
    dl.shop-info dd,
    dl.detail dt,
    dl.detail dd {
        width: 100%;
    }

    dl.shop-info dt,
    dl.detail dt {
        border-bottom: none;
        padding-bottom: 5px;
    }

    dl.shop-info dd,
    dl.detail dd {
        padding-top: 5px;
    }
}

/* TOP Googleマップ調整 */
.top-map {
    margin: 0 auto 8rem;
}

.top-map iframe {
    width: 100%;
    height: 420px;
    display: block;
}

@media screen and (max-width:767px) {
    .top-map {
        margin: 0 auto 6rem;
        padding: 0 2rem;
        box-sizing: border-box;
    }

    .top-map iframe {
        height: 320px;
    }
}


/*  ----------------------------------------------------------

service

----------------------------------------------------------  */
.top-service {
    padding: 10rem 12rem;
    background: #fffaf5;
    position: relative;
}


.top-service ul li {
    display: flex;
    position: relative;
}

.top-service ul li:nth-child(even) {
    flex-direction: row-reverse;
}

.top-service ul li:nth-child(odd)::before,
.top-service ul li:nth-child(even)::before {
    content: "";
    width: 70%;
    height: 90%;
    background: #fff7f2;
    position: absolute;
    bottom: 0;
}

.top-service ul li:nth-child(odd)::before {
    right: 0;
}

.top-service ul li:nth-child(even)::before {
    left: 0;
}

.top-service ul li:not(:last-child) {
    margin-bottom: 6rem;
}

.top-service ul li figure {
    width: 50%;
}

.top-service ul li>div {
    width: 50%;
    padding: 8rem 5rem 4rem 5rem;
}

.top-service ul li figure img {
    height: 34rem;
    object-fit: cover;
}

.top-service p {
    margin-bottom: 3rem;
}

.top-service .more {
    margin: 0;
}

@media screen and (max-width: 768px) {
    .top-service {
        padding: 10rem 3rem;
    }

    .top-service ul li {
        display: block;
    }

    .top-service ul li:nth-child(odd)::before,
    .top-service ul li:nth-child(even)::before {
        display: none;
    }

    .top-service ul li:not(:last-child) {
        margin-bottom: 6rem;
    }

    .top-service ul li figure {
        width: 100%;
    }

    .top-service ul li>div {
        width: 100%;
        background: #fff;
        padding: 3rem;
    }

    .top-service ul li figure img {
        height: 24rem;
        object-fit: cover;
    }

    .top-service p {
        margin-bottom: 3rem;
    }
}


/* -------------------------------------------

timetable

------------------------------------------- */
.time-wrap {
    width: 100%;
}

.time {
    width: 100%;
    border-collapse: collapse;
    border: solid 0.15rem #f0832b;
}

.time th,
.time td {
    padding: 0.6rem 0.5rem;
}

.time th {
    background: #f0832b;
    color: #fff;
    border-left: solid 0.15rem #fff;
    border-bottom: solid 0.15rem #f0832b;
}

.time th:first-of-type {
    border-left: none;
}

.time td {
    background: #fff;
    color: #606060;
    text-align: center;
    border: solid 0.15rem #606060;
}

.time caption {
    caption-side: top;
    text-align: left;
    margin-bottom: 0.6rem;
}

.time+span {
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.teikei-wrap {
    width: 80%;
    margin: 0 auto;
}

.top-icon {
    width: 90%;
    margin: 0 auto;
}

.top-icon ul {
    display: flex;
    flex-wrap: wrap;
    row-gap: 2rem;
}

.top-icon ul li {
    width: 20%;
}

@media screen and (max-width: 768px) {
    .time {
        font-size: 1.3rem;
    }

}

/* 症状アイコン */

.symptom-section {
    background: #fffaf4;
    padding: 8rem 10%;
}

.symptom-section .symptom-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.symptom-section .symptom-grid li {
    list-style: none;
}

.symptom-section .symptom-grid a {
    display: block;
    background: #fff;
    border-radius: 2rem;
    padding: 2rem;
    height: 100%;
    text-decoration: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.symptom-section .symptom-grid img {
    width: 100%;
    max-width: 14rem;
    display: block;
    margin: 0 auto 1.5rem;
}

.symptom-section .symptom-grid h3 {
    font-size: 1.8rem;
    color: #7a4a25;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.symptom-section .symptom-grid p {
    display: block;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

@media screen and (max-width:767px) {
    .symptom-section {
        padding: 6rem 2rem;
    }

    .symptom-section .symptom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* 感染症対策 タブ切り替え */

.top-staff .top-staff-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0;
    background: none;
    display: block;
}

.infection-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 0 5rem;
    flex-wrap: wrap;
}

.infection-tab {
    border: none;
    background: #fff;
    border-radius: 999px;
    padding: 1.4rem 2.8rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: #7a4a25;
    cursor: pointer;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.06);
}

.infection-tab.active {
    background: #c9843a;
    color: #fff;
}

.infection-card {
    display: none;
    grid-template-columns: 42% 1fr;
    gap: 5rem;
    align-items: center;
    background: #fff;
    border-radius: 3rem;
    padding: 5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.06);
    animation: infectionFade 0.5s ease;
}

.infection-card.active {
    display: grid;
}

.infection-img img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-radius: 2rem;
    display: block;
}

.infection-text h3 {
    font-size: 3rem;
    line-height: 1.45;
    color: #7a4a25;
    margin-bottom: 2rem;
    font-weight: bold;
}

.infection-text p {
    font-size: 1.5rem;
    line-height: 2;
    color: #555;
}

@keyframes infectionFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width:767px) {
    .infection-tabs {
        margin-bottom: 3rem;
    }

    .infection-tab {
        padding: 1rem 1.8rem;
        font-size: 1.4rem;
    }

    .infection-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        border-radius: 2rem;
        gap: 2rem;
    }

    .infection-img img {
        height: 22rem;
    }

    .infection-text h3 {
        font-size: 2.2rem;
    }

    .infection-text p {
        font-size: 1.4rem;
    }
}



/* スマホ */

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

    .infection-card {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem !important;
    }

    .infection-text h3 {
        font-size: 2.2rem !important;
    }

    .infection-img img {
        height: 22rem !important;
    }
}

/* 感染症対策 */

.infection-section {
    padding: 10rem 0;
    background: #f8f7f5;
}

.infection-wrap {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.infection-section .heading {
    text-align: center;
    margin-bottom: 5rem;
}

.infection-content {
    width: 100%;
}

.infection-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.infection-tab {
    border: none;
    background: #fff;
    border-radius: 999px;
    padding: 1.4rem 2.8rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: #7a4a25;
    cursor: pointer;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.06);
}

.infection-tab.active {
    background: #c9843a;
    color: #fff;
}

.infection-card {
    display: none;
    grid-template-columns: 45% 1fr;
    gap: 5rem;
    align-items: center;
    background: #fff;
    border-radius: 3rem;
    padding: 5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.06);
}

.infection-card.active {
    display: grid;
}

.infection-img img {
    width: 100%;
    height: 32rem;
    object-fit: cover;
    border-radius: 2rem;
    display: block;
}

.infection-text h3 {
    font-size: 3rem;
    line-height: 1.5;
    color: #7a4a25;
    margin-bottom: 2rem;
    font-weight: bold;
}

.infection-text p {
    font-size: 1.5rem;
    line-height: 2;
    color: #555;
}

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

    .infection-section {
        padding: 7rem 0;
    }

    .infection-tabs {
        flex-wrap: wrap;
        margin-bottom: 3rem;
    }

    .infection-tab {
        padding: 1rem 1.8rem;
        font-size: 1.4rem;
    }

    .infection-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        border-radius: 2rem;
        gap: 2rem;
    }

    .infection-img img {
        height: 22rem;
    }

    .infection-text h3 {
        font-size: 2.2rem;
    }

    .infection-text p {
        font-size: 1.4rem;
    }
}

/* =========================
感染症対策 強制上書き
========================= */

.infection-section .infection-tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    margin-bottom: 5rem !important;
    flex-wrap: wrap !important;
}

.infection-section .infection-tab {
    border: none !important;
    background: #fff !important;
    border-radius: 999px !important;
    padding: 1.4rem 3rem !important;
    font-size: 1.6rem !important;
    font-weight: bold !important;
    color: #7a4a25 !important;
    cursor: pointer !important;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.08) !important;
}

.infection-section .infection-tab.active {
    background: #c9843a !important;
    color: #fff !important;
}

.infection-section .infection-card {
    display: none !important;
    grid-template-columns: 42% 1fr !important;
    align-items: center !important;
    gap: 5rem !important;

    background: #fff !important;
    border-radius: 3rem !important;
    padding: 5rem !important;

    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.06) !important;
}

.infection-section .infection-card.active {
    display: grid !important;
}

.infection-section .infection-img img {
    width: 100% !important;
    height: 32rem !important;
    object-fit: cover !important;
    border-radius: 2rem !important;
    display: block !important;
}

.infection-section .infection-text h3 {
    font-size: 3rem !important;
    line-height: 1.5 !important;
    color: #7a4a25 !important;
    margin-bottom: 2rem !important;
    font-weight: bold !important;

    writing-mode: horizontal-tb !important;
}

.infection-section .infection-text p {
    font-size: 1.5rem !important;
    line-height: 2 !important;
    color: #555 !important;

    writing-mode: horizontal-tb !important;
}

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

    .infection-section .infection-card {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem !important;
    }

    .infection-section .infection-img img {
        height: 22rem !important;
    }

    .infection-section .infection-text h3 {
        font-size: 2.2rem !important;
    }

    .infection-section .infection-text p {
        font-size: 1.4rem !important;
    }
}

/* 感染症対策 あたたかみ調整 */

.infection-section {
    background: #fff7ed !important;
}

.infection-section .infection-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff8ef 100%) !important;
    border: 1px solid #f3d8b8 !important;
}

.infection-section .infection-tab {
    background: #fffaf3 !important;
    border: 1px solid #e8b272 !important;
}

.infection-section .infection-tab.active {
    background: #e8a15b !important;
    color: #fff !important;
}

.infection-section .infection-text h3 {
    color: #7a4a25 !important;
}

.infection-section .infection-text p {
    color: #5b5148 !important;
}

/* 診療内容 スクロールアニメーション */

.top-service ul li {
    overflow: hidden;
}

.top-service ul li figure,
.top-service ul li>div {
    opacity: 0;
    transition: 0.8s ease;
}

.top-service ul li:nth-child(odd) figure {
    transform: translateX(-60px);
}

.top-service ul li:nth-child(odd)>div {
    transform: translateX(60px);
}

.top-service ul li:nth-child(even) figure {
    transform: translateX(60px);
}

.top-service ul li:nth-child(even)>div {
    transform: translateX(-60px);
}

.top-service ul li.active figure,
.top-service ul li.active>div {
    opacity: 1;
    transform: translateX(0);
}

/* 診療内容 背景色 強制上書き */

.top-service {
    background: #fffaf5 !important;
    background-image: none !important;
}

.top-service ul li:nth-child(odd)::before,
.top-service ul li:nth-child(even)::before {
    background: #fff7f2 !important;
}

/* VIEW MORE 周辺背景 */
.top-news,
.news,
.blog {
    background: #fffaf5 !important;
}

/* 診療内容 区切りを見やすくする */

.top-service ul li {
    background: #fffaf5 !important;
    border: 1px solid #f1dcc6 !important;
    border-radius: 2rem !important;
    overflow: hidden !important;
    box-shadow: 0 0.8rem 2rem rgba(120, 80, 40, 0.06) !important;
}

.top-service ul li:not(:last-child) {
    margin-bottom: 8rem !important;
}

.top-service ul li:nth-child(odd)::before,
.top-service ul li:nth-child(even)::before {
    background: #fffaf5 !important;
}

/* セクション間のグレー消す */
body {
    background: #fffaf5 !important;
}

main {
    background: #fffaf5 !important;
}

section {
    background-color: transparent !important;
}

/* 感染症対策 画像調整 */

.infection-img img {
    height: 34rem !important;
    object-fit: cover;
    border-radius: 2rem;
}

/* 診療時間テーブル オレンジ化 */

.time-table th {
    background: #b87433 !important;
    color: #fff !important;
}

/* 診療時間テーブル 上段オレンジ */

.time-table tr:first-child td,
.time-table tr:first-child th {
    background: #b87433 !important;
    color: #fff !important;
}

.visit-link {
    text-align: center;
}

.visit-link img {
    transition: all .3s ease;
}

.visit-link:hover img {
    opacity: .85;
    transform: scale(1.02);
}

.visit-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #f0832b;
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: .3s;
}

.visit-btn:hover {
    background: #e06f15;
}

/* 小児科診療 症状別リンク */

.pediatrics-link-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 4rem;
}

.pediatrics-link-box a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5.6rem;
    padding: 1.4rem 1.8rem;
    background: #fffaf7;
    border: 1px solid #efc8bb;
    color: #6b4b2a;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1.5;
    transition: 0.3s;
}

.pediatrics-link-box a::after {
    content: "›";
    color: #e49a7a;
    font-size: 2rem;
    margin-left: 1rem;
}

.pediatrics-link-box a:hover {
    background: #fff1ea;
    transform: translateY(-3px);
    box-shadow: 0 0.6rem 1.6rem rgba(120, 80, 40, 0.08);
}

@media screen and (max-width:767px) {
    .pediatrics-link-box {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pediatrics-link-box a {
        font-size: 1.4rem;
    }
}

/* =========================
予防接種 セクション
========================= */

#sec4 .inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6rem;
}

#sec4 .inner>div:first-child {
    width: 50%;
}

#sec4 .vaccine-text {
    width: 46%;
    display: flex;
    flex-direction: column;
}

#sec4 .treatment-link-btn {
    margin: 4rem auto 0;
}