@charset "utf-8";

@import url('extra.css');


/*config*/
:root {
    --main-width: 1210px;
    /*メインカラム*/
    --main-color: #796955;
    /*ブラウン*/
    --sub-color: #D57293;

    --color-yel: #fdfd5d;
    --color-gold: #827a46;
}

/* ////////////////////////////////////////////
*                 BASE
* //////////////////////////////////////////// */

/* clearfix
------------------------------------------*/
.clear {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: '';
    display: table;
    clear: both;
}

.slider {
    opacity: 0;
    transition: opacity .3s linear;
}

.slider.slick-initialized {
    opacity: 1;
}

/* base
------------------------------------------*/

html {
    height: 100%;
    font-size: 62.5%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}

@media screen and (max-width:991px) {
    html {
        font-size: 52.5%;
    }
}

@media screen and (max-width:767px) {
    html {
        font-size: 50.5%;
    }
}


body {
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.8;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
    */
    /*font-family: "メイリオ" ,"Meiryo", "Hiragino Sans", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/

    color: #111;
    font-feature-settings: "palt";
    letter-spacing: 0.07em;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    /*Chrome,Safari*/
    -ms-text-size-adjust: 100%;
    /*EgdeMobile*/
    -moz-text-size-adjust: 100%;
    /*firefox*/
    overflow-x: hidden;
}

#wrapper {
    overflow-x: hidden;
}

.font-min {
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}


.bold {
    font-weight: bold;
}

a {
    color: #111;
    text-decoration: none;
}

a:hover {
    opacity: 0.5;
}

/* use hover animation */
a,
a:hover {
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

/* ////////////////////////////////////////////
*                 arrow
* //////////////////////////////////////////// */
.arrow {
    position: relative;
}

.arrow::after {
    content: "";
    position: absolute;
    display: block;
    transition: all .3s;
    width: 8px;
    height: 20px;
    top: 50%;
    right: 40px;
    box-shadow: 1px -1px 0 transparent;
    border-top: solid 1px #111;
    border-right: solid 1px #111;
    transform: translateY(-50%) rotate(45deg) skewX(-45deg);
}

.arrow:hover::after {
    right: 35px;
    height: 25px;
    text-decoration: none !important;
}

@media screen and (max-width:767px) {
    .arrow::after {
        height: 15px;
        right: 30px;
    }

    .arrow:hover::after {
        right: 27px;
        height: 20px;
    }
}

/* ////////////////////////////////////////////
*                 common
* //////////////////////////////////////////// */

.inner {
    max-width: var(--main-width);
    margin: 0 auto;
    padding: 0;
    position: relative;
}


.main-common-tit {
    font-size: 3.4rem;
    letter-spacing: 0.12em;
    margin-bottom: 3vmax;
    position: relative;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    line-height: 1.6;
    color: var(--main-color);
}


.main-common-tit span.en {
    font-size: 1.9rem;
    font-family: 'Crimson Text', serif;
    color: var(--sub-color);
    display: block;
}

@media screen and (max-width:767px) {
    .main-common-tit {
        font-size: 3.2rem;
    }

    .main-common-tit span.en {
        font-size: 3vw;
    }
}

.bloc {
    padding: 4vmax 0;
}

.mb-1em {
    margin-bottom: 1em;
}

.mb-2em {
    margin-bottom: 2em;
}

/* ////////////////////////////////////////////
*                 header
* //////////////////////////////////////////// */
#header {
    padding: 0 20px;
    width: 100%;
    z-index: 9998;
    background: #fff;
}

.header-logo-pc {
    display: block
}

#header-inner {
    max-width: var(--main-width);
    margin: 0 auto;
    height: 115px;
}

#header-logo {
    max-width: 360px;
}

#header-tel {
    font-size: 1.2rem;
    color: var(--main-color);
}

#gnav {
    margin: 0;
    position: relative;
    z-index: 9999;
    background: #fff;
    height: 70px;
}


#gnav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-animation: fixedanime 1s 0s both;
    animation: fixedanime 1s 0s both
}

@keyframes fixedanime {
    0% {
        opacity: (.1);
        transform: translateY(-100px)
    }

    70% {
        opacity: (.1)
    }

    100% {
        opacity: (1);
        transform: translateY(0)
    }
}

#gnav>ul {
    height: 100%;
    max-width: var(--main-width);
    margin: 0 auto;
}

#gnav a:hover {
    text-decoration: none;
    color: var(--main-color);
    opacity: 1;
}

#gnav>ul>li {
    padding: 0 0;
    height: 100%;
    position: relative;
    font-size: 1.8rem;
}

#gnav>ul>li>a {
    padding: 1em;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-weight: 600;
    z-index: 3;
    color: var(--main-color);
}

#gnav>ul>li.current>a,
#gnav>ul>li>a:hover {
    color: var(--sub-color);
}

#gnav>ul>li>a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--sub-color);
    transform: scale(0, 1);
    transform-origin: left;
    transition: 0.4s;
}

#gnav>ul>li.current>a::before,
#gnav>ul>li>a:hover::before {
    transform: scale(1);
    z-index: -1;
}


#gnav li .sub-menu,
#lower-gnav li .sub-menu {
    display: none;
    position: absolute;
    z-index: 999;
    width: 300px;
    top: 70px;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
}

#lower-gnav li .sub-menu {
    top: 70px;
}

.fixed #lower-gnav li .sub-menu {
    top: 100px;
}

#gnav li .sub-menu li a,
#lower-gnav li .sub-menu li a {
    text-align: left;
    padding: 0.4em 1em;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--main-color);
    color: #fff;
    font-size: 1.6rem;
}

#gnav li .sub-menu li a:hover,
#lower-gnav li .sub-menu li a:hover {
    opacity: 0.8;
}

#gnav li .sub-menu li a::before,
#lower-gnav li .sub-menu li a::before {
    content: '\f105';
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    padding-right: 0.5em;
}


/* ////////////////////////////////////////////
*                sphone-nav
* //////////////////////////////////////////// */
@media screen and (max-width:767px) {
    #header {
        padding: 0 10px;
    }
}

.sp-header-ttl {
    width: 100%;
    margin-bottom: 20px;
}

.sp-header-ttl p {
    background: #958878;
    color: #fff;
    width: 48%;
    padding: 0.5em;
    display: inline-block;
    border-radius: 5px;
    font-weight: bold;
    font-size: 2.4rem;
}

@media screen and (max-width:767px) {
    .sp-header-ttl p {
        font-size: 3vw;
    }
}


#snav {
    background: #fff;
    position: relative;
    z-index: 997;
}

#snav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-animation: fixedanime 1s 0s both;
    animation: fixedanime 1s 0s both
}

#snav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

#snav-menu li {
    flex: 1;
    border-right: 1px solid #ccc;
}

#snav-menu li:last-of-type {
    border-right: none;
}

#snav-menu li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--main-color);

}

#snav-menu li a::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background: url("../images/snav-01.webp") no-repeat center center /contain;
}

#snav-menu li:nth-of-type(2) a::before {
    background: url("../images/snav-02.webp") no-repeat center center /contain;
}

#snav-menu li:nth-of-type(3) a::before {
    background: url("../images/snav-03.webp") no-repeat center center /contain;
}

#snav-menu li:nth-of-type(4) a::before {
    background: url("../images/snav-04.webp") no-repeat center center /contain;
}

#snav-menu li:nth-of-type(5) a::before {
    background: url("../images/snav-05.webp") no-repeat center center /contain;
}

#drawer-bg {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    background: #f6f5f6;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch
}

#drawer-menu {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 80px;
    z-index: 101
}


#drawer-menu li {
    display: block;
    padding: 0 1em;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

#drawer-menu li a {
    display: block;
    padding: 0.5em 1em;
    font-size: 2.4rem;
    color: var(--main-color);

}

#drawer-menu li a .areaname {}

#drawer-menu li a::before {
    content: '\f138';
    font-weight: bold;
    font-family: 'Font Awesome 5 Pro';
    padding-right: 0.5em;
    color: var(--main-color);
}

.is-drawer-open #drawer-bg {
    display: block;
    animation-duration: .5s;
    animation-name: fadein
}

.is-drawer-open #drawer-menu {
    display: block;
}

/* has children
------------------------------------------*/
#drawer-menu li.menu-item-has-children a {
    display: inline-block;
    position: relative;
}

#drawer-menu li.menu-item-has-children::after {
    position: absolute;
    right: 2vmax;
    top: 0;
    content: '\f107';
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    padding-right: 0.5em;
    font-size: 4vmax;
}

#drawer-menu li.menu-item-has-children.open::after {
    content: '\f106';
}

#drawer-menu ul.sub-menu {
    display: none;
    margin: 0 1em;
}

#drawer-menu ul.sub-menu li {
    display: block;
    position: relative;
}

#drawer-menu ul.sub-menu li a::before {
    content: '\f105';
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    padding-right: 0.5em;
    color: var(--main-color);
}


#close-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 5px;
    top: 5px;
    color: var(--main-color);
    cursor: pointer;
    padding: 10px;
}

#close-btn .icon {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    /* 枠の調整 */
    /* ボタンの背景色 */
}

#close-btn .icon::before,
#close-btn .icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    /* 棒の幅（太さ） */
    height: 27px;
    /* 棒の高さ */
    background: var(--main-color);
    /* バツ印の色 */
}

#close-btn .icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#close-btn .icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ////////////////////////////////////////////
*                 breadcrumbs
* //////////////////////////////////////////// */
.breadcrumbs {
    padding: 1em;
    text-align: left;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;

}

.breadcrumbs a,
.breadcrumbs a:hover {
    color: var(--main-color);
}

@media screen and (max-width:991px) {
    .breadcrumbs {
        margin-top: 80px;

    }
}

/* ////////////////////////////////////////////
*                 content
* //////////////////////////////////////////// */
.home #content {
    margin-bottom: 0vmax;
}




/* ////////////////////////////////////////////
*                 mainimage
* //////////////////////////////////////////// */
#mainimage {
    position: relative;
    z-index: 1;
    display: block;
}


#mainimage .slick-slide {
    position: relative;
}

#mainimage .slick-dots {
    bottom: 18px;
}

#mainimage .slick-prev,
#mainimage .slick-next {
    background: #f9d4dc;
    border: none;
}

#mainimage .slick-prev:before,
#mainimage .slick-next:before {
    color: #fff;
    font-weight: 700;
}

#mainimage .slick-slide .copyimg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: calc((100vw - 1280px) / 2);
    z-index: 2;
}


#mainimage .slick-slide .bgimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#mainimage .slick-slide:nth-of-type(3) .copyimg {
    left: calc((100vw - 1280px) / 2);
    right: auto;
}

@media screen and (min-width: 767px) and (max-width: 1635px) {
    #mainimage .slick-slide {
        text-align: center;
        height: 550px;
    }

    #mainimage .slick-slide .bgimg img {
        height: 550px;
        margin: auto;
        max-height: 100%;
        max-width: 100%;
        object-fit: cover;
        width: 100%;
    }



}

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

    #mainimage .slick-slide .copyimg {
        right: 70px;
        max-width: 60%;
    }

    #mainimage .slick-slide:nth-of-type(3) .copyimg {
        left: 70px;
    }

    #mainimage .slick-prev {
        left: 3px;
    }

    #mainimage .slick-next {
        right: 3px;
    }
}

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


    #mainimage .slick-slide {
        height: 380px;
    }

    #mainimage .slick-slide .bgimg img {
        height: 380px;
        margin: auto;
        max-height: 100%;
        max-width: 100%;
        object-fit: cover;
        width: 100%;
    }

    #mainimage .slick-prev,
    #mainimage .slick-next {
        width: 30px;
        height: 30px;
    }


    #mainimage .slick-prev:before,
    #mainimage .slick-next:before {
        font-size: 20px;
    }

    #mainimage .slick-slide .copyimg {
        height: 250px;
        right: 50px;
        display: block;
    }

    #mainimage .slick-slide:nth-of-type(3) .copyimg {
        right: 50px;
        left: auto;
    }

    #mainimage .slick-slide .copyimg span {
        height: 250px;
    }

    #mainimage .slick-slide .copyimg img {
        height: 250px;
    }


}

/* ////////////////////////////////////////////
*                 home
* //////////////////////////////////////////// */

/* news
------------------------------------------*/
.main-news {
    position: relative;
    padding: 4vmax 4vmax;
    display: block;
}

.main-news-once {
    width: 47%;
}

@media screen and (max-width:767px) {
    .main-news-once {
        width: 100%;
        margin-bottom: 2vmax;
    }
}

.main-news .ttl {
    font-size: 2.8rem;
    padding: 0.2em 0;
    border-bottom: 1px solid #6d6d6d;
    margin-bottom: 1em;
    color: #8799bf;
}

.main-news .main-news-once:last-of-type .ttl {
    color: #d57293;
}


.main-news-inner {}


.main-news ul {
    margin-bottom: 2vmax;
}

.main-news li {
    padding: 1em 0;
    border-bottom: 1px solid #c0c0c0;
    text-align: left;

}

.main-news li .date {
    margin-right: 1.5em;
    display: inline-block;
    padding: 0 0.5em;

}

.main-news li a {
    display: flex;
    padding-right: 3em;

}

.main-news li a:hover {
    opacity: 1;

}

.main-news .more {
    margin: 1em 0;
    padding: 0.5em 1em;
    width: 230px;
    border-radius: 30px;
    border: 1px solid var(--sub-color);
    display: inline-block;
    color: var(--sub-color);

}

.main-news .more.arrow::after {
    border-top: solid 1px var(--sub-color);
    border-right: solid 1px var(--sub-color);

}

@media screen and (max-width:767px) {
    .main-news .more {
        width: 180px;
        font-size: 1.4rem;

    }

}

/* bnr-note
------------------------------------------*/
.bnr-note a {
    border: 4px solid #d6d6d6;
    display: block;
    color: #d6d6d6;
    padding: 2vmax;
    margin: 4vmax 0 2vmax 0;
    font-size: 3rem;
}

.bnr-note a .img {
    margin-right: 3vmax;
}

@media screen and (max-width:767px) {
    .bnr-note a {
        padding: 2vmax 1vmax;
        font-size: 3.4vw;
        min-height: 70px;
    }

    .bnr-note a .img {
        max-width: 14%;
        margin-right: 10px;
    }
}


/* bnr-covid
------------------------------------------*/
.bnr-covid a {
    border: 4px solid var(--sub-color);
    display: block;
    color: var(--sub-color);
    padding: 2vmax;
    margin: 2vmax 0 2vmax 0;
    font-size: 3rem;
}

.bnr-covid a .img {
    margin-right: 3vmax;
}

@media screen and (max-width:767px) {
    .bnr-covid a {
        padding: 2vmax 1vmax;
        font-size: 3.4vw;
        min-height: 70px;
    }

    .bnr-covid a .img {
        max-width: 14%;
        margin-right: 10px;
    }
}

/* bnr-jobs
------------------------------------------*/
.bnr-jobs a {
    border: 4px solid #f39400;
    display: block;
    color: #f39400;
    padding: 2vmax;
    margin: 0 0 2vmax 0;
    font-size: 3rem;
}

.bnr-jobs a .img {
    margin-right: 3vmax;
}

@media screen and (max-width:767px) {
    .bnr-jobs a {
        padding: 2vmax 1vmax;
        font-size: 3.4vw;
        min-height: 70px;
    }

    .bnr-jobs a .img {
        max-width: 20%;
        margin-right: 10px;
    }
}

/* bnr-customer
------------------------------------------*/
.bnr-customer a {
    border: 4px solid #9e8c6e;
    display: block;
    color: #9e8c6e;
    padding: 2vmax;
    margin: 0 0 4vmax 0;
    font-size: 3rem;
}

.bnr-customer a .img {
    margin-right: 3vmax;
}

@media screen and (max-width:767px) {
    .bnr-customer a {
        padding: 2vmax 1vmax;
        font-size: 3.4vw;
        min-height: 70px;
    }

    .bnr-customer a .img {
        max-width: 20%;
        margin-right: 10px;
    }
}

/* service
------------------------------------------*/

.main-service {
    padding: 4vmax 0;
    position: relative;
    z-index: 2;
    background: #f9f9f9;
}

.main-service-inner {
    padding: 0 2vmax;

}

@media screen and (max-width:767px) {
    .main-service {
        padding: 6vmax 0 0 0;
    }

}

.main-service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3vmax;
    margin-bottom: 3vmax;
}


.main-service-list li {
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 30px;
    position: relative;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.main-service-list li:hover {
    opacity: 0.5;
}



.main-service-list li::before {
    position: absolute;
    right: 10px;
    bottom: 10px;
    content: "";
    display: inline-block;
    border-top: 11px solid transparent;
    border-right: 11px solid var(--sub-color);
    border-bottom: 11px solid var(--sub-color);
    border-left: 11px solid transparent;

}

.main-service-list li .ttl {
    font-size: 2.6rem;
    color: var(--main-color);
}

.main-service-list li img {
    margin: 10px 0;
}

@media screen and (max-width:991px) {
    .main-service-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media screen and (max-width:767px) {
    .main-service-list {
        gap: 10px;
    }

    .main-service-list li {
        padding: 10px;
    }

    .main-service-list li::before {
        right: 5px;
        bottom: 5px;
        border-top: 6px solid transparent;
        border-right: 6px solid var(--sub-color);
        border-bottom: 6px solid var(--sub-color);
        border-left: 6px solid transparent;

    }

    .main-service-list li .ttl {
        font-size: 4.5vw;
    }
}


/* bnr-fee
------------------------------------------*/
.bnr-fee {
    padding: 6vmax 2vmax;
}

.bnr-fee a {
    max-width: 660px;
    display: block;
    padding: 1em;
    margin: 0 auto;
    font-size: 2.7rem;
    background: #ffe1e5;
    color: var(--main-color);
}

/* pickup
------------------------------------------*/
.main-pickup {
    padding: 0 2vmax 6vmax 2vmax;
}

.main-pickup .slick-prev,
.main-pickup .slick-next {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 50px;
    border-radius: 0;
}

.main-pickup .slick-prev {
    left: 0 !important;
}

.main-pickup .slick-next {
    right: 0 !important
}

@media screen and (max-width:767px) {
    .main-pickup {
        padding: 0 0 6vmax 0;
    }

}

/* trouble
------------------------------------------*/

.main-trouble {
    padding: 4vmax 2vmax;
    background: #efefef;
}

.main-trouble-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}


.main-trouble-list li {
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 10px;
    position: relative;
    line-height: 1.4;
}

.main-trouble-list li::before {
    position: absolute;
    right: 10px;
    bottom: 10px;
    content: "";
    display: inline-block;
    border-top: 8px solid transparent;
    border-right: 8px solid var(--sub-color);
    border-bottom: 8px solid var(--sub-color);
    border-left: 8px solid transparent;

}

.main-trouble-list li a {
    display: flex;
    align-items: center;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 2rem;
    color: #4d4d4d;
}

.main-trouble-list li a img {
    margin-right: 1em;
}

@media screen and (max-width:767px) {
    .main-trouble-list {
        width: 800px;
        gap: 3px;
    }

    .main-trouble-list li a img {
        width: 40px;
    }

    .main-trouble-list li a {
        font-size: 14px;
    }

    .main-trouble-list li::before {
        right: 5px;
        bottom: 5px;
        border-top: 4px solid transparent;
        border-right: 4px solid var(--sub-color);
        border-bottom: 4px solid var(--sub-color);
        border-left: 4px solid transparent;

    }

}

/* treatment
------------------------------------------*/

.main-treatment {
    padding: 4vmax 2vmax;
    background: #efefef;
}

.main-treatment-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.main-treatment-list li {
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 10px;
    position: relative;
    min-height: 100px;
    line-height: 1.4;
}

.main-treatment-list li::before {
    position: absolute;
    right: 10px;
    bottom: 10px;
    content: "";
    display: inline-block;
    border-top: 8px solid transparent;
    border-right: 8px solid var(--sub-color);
    border-bottom: 8px solid var(--sub-color);
    border-left: 8px solid transparent;

}

.main-treatment-list li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 2rem;
    color: #4d4d4d;
}


@media screen and (max-width:767px) {
    .main-treatment-list {
        width: 800px;
        gap: 3px;
    }

    .main-treatment-list li {
        min-height: 60px;
    }

    .main-treatment-list li a {
        font-size: 14px;
    }

    .main-treatment-list li::before {
        right: 5px;
        bottom: 5px;
        border-top: 4px solid transparent;
        border-right: 4px solid var(--sub-color);
        border-bottom: 4px solid var(--sub-color);
        border-left: 4px solid transparent;

    }

}


/* x-scrollable
------------------------------------------*/
@media screen and (max-width:767px) {
    .x-scrollable {
        overflow-x: scroll;
        padding-bottom: 2vmax;
    }

    .scroll-btn {
        position: absolute;
        right: 0px;
        top: 10px;
    }

    .scroll-btn span {
        display: inline-block;
        position: relative;
        font-size: 10px;
    }

    .scroll-btn span::before {
        position: absolute;
        bottom: -6px;
        height: 1px;
        width: 100%;
        content: "";
        background: #111;
    }

    .scroll-btn span::after {
        position: absolute;
        bottom: -8px;
        right: 6px;
        height: 6px;
        width: 6px;
        border-radius: 50%;
        content: "";
        background: #111;
    }
}

/* main-menu
------------------------------------------*/

.main-menu {
    padding: 4vmax 2vmax;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    color: #606060;
}

.main-menu .ttl {
    padding: 1em;
    text-align: center;
    background: #f1f1f1;
    border: 1px solid #bdbdbd;
    margin-top: 2vmax;
}

.main-menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    border-left: 1px solid #bdbdbd;
}

.main-menu-list li {
    padding: 1em;
    border-bottom: 1px solid #bdbdbd;
    border-right: 1px solid #bdbdbd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-menu .ttl a,
.main-menu-list li a {
    color: #606060;
    font-size: 2rem;
    display: block;
    line-height: 1.4;
}


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

    .main-menu .ttl a,
    .main-menu-list li a {
        font-size: 14px;
    }

    .main-menu-list li {
        padding: 1em 2px;
    }

    .main-menu-list {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* main-info
------------------------------------------*/

.main-info {
    padding: 4vmax 2vmax;
    background: #f6f5f6;
    font-size: 1.8rem;
}

.main-info-inner .ttl {
    font-size: 2.4rem;
    color: var(--sub-color);

}

.main-info-first {
    padding: 1.5em;
    background: #fff;
    border: 4px solid #e3a1b7;
    color: var(--sub-color);
    margin: 2vmax 0 0 0;
}

.main-info-first .ttl {
    font-size: 3rem;
    margin-bottom: 0.5em;

}

/* media
------------------------------------------*/
.main-media {
    padding: 4vmax 2vmax;
    background: #fff;
}

.main-media-list {
    display: flex;
    justify-content: space-between;
    max-width: 1020px;
    margin: 3vmax auto;

}

@media screen and (max-width:767px) {
    .main-media-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
}

.main-media-list li {
    padding: 0 5px;

}



/* linkage
------------------------------------------*/
.main-linkage {
    padding: 4vmax 2vmax;
    background: #f6f5f6;
}

.main-linkage .ttl {
    font-size: 3.4rem;
    color: #6d6d6d;
    margin-bottom: 1em;
}

.main-linkage-list li {
    list-style-type: disc;
    text-align: left;
    margin-left: 1em;
}

.main-linkage-list li:last-of-type {
    list-style-type: none;
    padding-left: 1em;
}

.col-md-6:nth-of-type(2) .main-linkage-list {
    column-count: 2;
}

@media screen and (max-width:767px) {
    .main-linkage {
        padding: 4vmax 4vmax;
    }

    .main-linkage .ttl {
        font-size: 3.2rem;
    }
}


/* main-bnr
------------------------------------------*/

.main-bnr {
    padding: 4vmax 2vmax;

}

.main-bnr-list {
    max-width: var(--main-width);
    margin: 3vmax auto;
    display: flex;
    gap: 40px;
    justify-content: center;

}

@media screen and (max-width:767px) {
    .main-bnr {
        padding: 4vmax 20px;

    }

    .main-bnr-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;

    }
}

/* ////////////////////////////////////////////
*                 footer
* //////////////////////////////////////////// */
#footer {
    width: 100%;
    padding: 4vmax 3vmax 0 3vmax;
    background: url("/wp-content/themes/komazawahifu/images/footer-bg.webp") no-repeat center center /cover;
    color: #fff;
}



.footer-desc {
    padding: 4vmax 0;
}

.footer-map iframe {
    width: 100%;
    aspect-ratio: 3/2;

}

.footer-add {
    max-width: 500px;
}

.footer-add .icn {
    width: 100px;
    text-align: center;
    border: 1px solid #fff;
    text-align: center;
    margin-right: 1em;
    padding: 0.1em 1em;
    display: inline-block;
}

.footer-time {
    max-width: 660px;
    flex: 1;
}


.footer-time .table-hours .time {
    text-align: center;
}

.footer-tel {
    margin-bottom: 3vmax;
}

.color-sub {
    color: var(--sub-color);
}


.cpr {
    padding: 2vmax 2vmax;
    font-size: 10px;
}

@media screen and (max-width:767px) {
    .footer-time {
        margin-top: 6vmax;
    }

    .footer-desc {
        padding: 4vmax 0;
    }

    .footer-logo img {
        max-width: 70%;
    }

    .footer-add .icn {
        width: 90px;
        padding: 0.1em 0.5em;
    }

    .footer-add .add-text {
        line-height: 1.4;
        flex: 1;
    }

    .footer-tel {
        max-width: 60%;
        margin: 0 auto 3vmax auto;
    }

}


/* table-hours
------------------------------------------*/


.table-hours {
    margin: 0 0 0.8em 0;
    padding: 0;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
}

.table-hours th {
    padding: 1em 0.2em;
    word-break: keep-all;
}

.table-hours td {
    padding: 1em;
    border-top: rgba(255, 255, 255, 0.3) 1px solid;
    color: #fff;
}


.table-hours .time {
    width: 25%;
    text-align: right;
    color: #fff;
    border-right: rgba(255, 255, 255, 0.3) 1px solid;
}

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

    .table-hours th,
    .table-hours td {
        font-size: 2.8vw;
    }

    .table-hours td {
        padding: 0.5em;
    }

    .table-hours .time {
        width: 28%;
    }

}

/* ////////////////////////////////////////////
*                 sp-footer-cta
* //////////////////////////////////////////// */
.sp-footer-cta {
    display: none;
}

@media screen and (max-width:767px) {
    #footer {
        padding-bottom: 50px;
    }

    .sp-footer-cta {
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 99;
        width: 100%;
        height: 50px;
        display: flex;
    }

    .sp-footer-cta a {
        background: #ffe9e9;
        color: var(--main-color);
        font-size: 2rem;
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-right: 1px solid var(--main-color);
        position: relative;
    }

    .sp-footer-cta a::after {
        position: absolute;
        content: "";
        display: inline-block;
        right: 5px;
        bottom: 5px;
        border-top: 4px solid transparent;
        border-right: 4px solid var(--sub-color);
        border-bottom: 4px solid var(--sub-color);
        border-left: 4px solid transparent;

    }

    .sp-footer-cta a:first-of-type::before {
        content: "";
        width: 22px;
        height: 22px;
        background: url("../images/sp-footer-cta-01.webp") no-repeat center center /contain;
        margin-right: 0.5em;
    }


    .sp-footer-cta a:last-of-type {
        border-right: none;
    }
}

/* ////////////////////////////////////////////
*                 pagetop-btn-wrap
* //////////////////////////////////////////// */
.pagetop-btn-wrap {
    display: none;
    position: fixed;
    bottom: 3vmax;
    right: 3vmax;
    z-index: 99;
}

.pagetop-btn {
    position: relative;

}

.pagetop-btn::before {
    content: '\f062';
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    display: block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 70px;
    font-size: 25px;
    color: var(--sub-color);
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.8) 0px 7px 29px 0px;
}

@media screen and (max-width:767px) {
    .pagetop-btn-wrap {
        bottom: 100px;
        right: 15px;
    }

    .pagetop-btn::before {
        width: 40px;
        height: 40px;
        line-height: 40px;
        border-radius: 40px;
        font-size: 15px;
    }
}


/* ////////////////////////////////////////////
*                 lower-entry
* //////////////////////////////////////////// */
#page-header {
    margin: 0;
    padding: 3vmax 0;
    background: #f6f5f6;
}

#page-header h1 {
    max-width: var(--main-width);
    margin: 0 auto;
    text-align: center;
    font-size: 4rem;
    letter-spacing: 0.12em;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    color: var(--main-color);
    line-height: 1.4;
    padding: 0 15px;
}

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

    #page-header {
        height: 120px;
    }

    #page-header h1 {
        font-size: 3rem;
        height: 100%;
        padding-bottom: 1em;
        letter-spacing: 0.05em;
        text-align: center;
        justify-content: center;
        align-items: flex-end;

    }
}

/* ////////////////////////////////////////////
*               sidenav
* //////////////////////////////////////////// */

.side-nav-title {
    background: var(--main-color);
    padding: 0.5em 1em;
    border-radius: 5px;
    color: #fff;
}

.side-nav-list {
    margin: 1em;
}

.side-nav-list li {
    margin: 1em;
}

.side-nav-list li a::before {
    content: '\f105';
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    margin-right: 0.5em;
}

/* ////////////////////////////////////////////
*                 post
* //////////////////////////////////////////// */

.morebtn {
    display: inline-block;
    position: relative;
    padding-right: 60px;
    color: var(--sub-color);
    font-size: 2rem;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}

.morebtn::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    width: 22px;
    height: 22px;
    margin: auto;
    border-radius: 20px;
    background-color: var(--sub-color);
}

.morebtn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 25px;
    width: 0;
    height: 0;
    margin: auto;
    border-top: 6px solid transparent;
    border-right: 0 solid transparent;
    border-left: 9px solid #fff;
    border-bottom: 6px solid transparent;
    box-sizing: border-box;
}


/* ////////////////////////////////////////////
*                entry
* //////////////////////////////////////////// */
.post main {
    margin-bottom: 5vmax;
}

.archive-blog-title {
    font-size: 1.6rem;
    padding: 1.5em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
}

.archive-blog-title .post-date {
    color: var(--main-color);
    margin-right: 2em;
}

.blog-title {
    font-size: 1.8rem;
    margin: 0 0 1.5em 0;
    padding: 2em 0;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
}

.blog-title .ttl::before {
    content: '\f0a9';
    font-weight: bold;
    font-family: 'Font Awesome 5 Pro';
    margin-right: 0.5em;
    color: var(--main-color);
}

.blog-title .post-date {
    font-size: 1.2rem;
    color: var(--main-color);
}

.post .entry-content {
    margin-bottom: 8vmax;
    font-size: 1.8rem;
}

.post .entry-content p {
    margin-bottom: 1em;
}

.post-nav a {
    color: var(--main-color);

}

.entry-content {
    text-align: left;
}

.entry-content a:hover,
.entry-content a:focus {
    color: inherit;
    text-decoration: underline;
}

.entry-content .page-title {
    color: var(--main-color);
    font-size: 3rem;
    margin: 0 0 1.5em 0;
    padding: 1em 0;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/*
.entry-title,
.entry-content h2:not([class]) {
    font-size: 5rem;
    margin: 1.5em 0;
    padding: 1em 0 0.2em 0;
    position: relative;
    text-align: center;
    color: var(--sub-color);
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}

.entry-title::after,
.entry-content h2:not([class])::after {
    position: absolute;
    bottom: -0em;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 30px;
    height: 2px;
    content: "";
    background: var(--sub-color);
}

.entry-content h3:not([class]) {
    font-size: 2.4rem;
    margin: 0 0 1em 0;
    padding: 0.5em 0;
    border-bottom: 1px dotted #ccc;
    position: relative;
    text-align: left;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    font-weight: 900;
}

.entry-content h3:not([class])::before,
.entry-content .title-h3::before {
    content: '\f138';
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    color: var(--main-color);
    margin-right: 0.5em;
}

.entry-content h4:not([class]) {
    color: #715959;
    padding: 0 1em 0.5em 0.2em;
    font-size: 2.4rem;
    margin: 0vmax 0 1em 0;
    position: relative;
}

.entry-content h4:not([class])::after {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: #ccc;
    content: "";
    display: block;
}

.entry-content h4:not([class])::before {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 25%;
    background: -webkit-linear-gradient(25deg, rgba(244, 174, 50, 1) 0%, rgba(253, 62, 99, 1) 100%);
    content: "";
    display: block;
    z-index: 2;
}

.entry-content h5:not([class]) {
    color: #715959;
    font-size: 1.8rem;
    margin: 1vmax 0 0.5em 0;
    position: relative;
}

.entry-content h5:not([class])::before {
    content: '\f138';
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    color: #5f89d2;
    margin-right: 0.5em;
}
.entry-content table {
    margin: 0;
    padding: 0;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
*/

/* ////////////////////////////////////////////
*                contact
* //////////////////////////////////////////// */

.confirm-show {
    display: none;
}

.mw_wp_form_confirm .confirm-show {
    display: block;
}

.table-contact p {
    margin: 0 0 0 0;
}

.table-contact {
    margin: 0 0 0.8em 0;
    padding: 0;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
}

.table-contact th {
    padding: 1em;
    width: 30%;
    background: var(--sub-color);
    border: #ccc 1px solid;
    vertical-align: middle;
}

.table-contact th .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-contact .hissu {
    display: inline-block;
    background: var(--main-color);
    color: #fff;
    font-size: 1.4rem;
    padding: 0.15em 0.5em;
}

.table-contact td {
    padding: 1em;
    border: #ccc 1px solid;
    background: #fff;
    text-align: left;
}

.table-contact td ul li {
    margin: 0 0 0 20px;
    list-style: outside disc;
}

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

    .table-contact th,
    .table-contact td {
        display: block;
        width: 100%;
    }
}

button,
input,
textarea {
    background-color: transparent;
    border-style: none;
    color: inherit;
    font-size: 1.8rem;
}

textarea,
input[type="text"] {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.3em;
    width: 100%;
}

.form-btn {
    text-align: center;
    margin: 4vmax;
}

.form-btn input {
    display: inline-block;
    background: var(--main-color);
    color: #fff;
    padding: 0.3em 2em;
    margin-left: 1em;
    font-size: 2rem;
    border-radius: 5px;
    font-weight: bold;
}

.form-btn input {
    display: inline-block !important;
    padding: 0.5em 2em;
    background: var(--main-color);
    color: #fff;
    border-bottom: 3px solid rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.form-btn input:hover {
    color: #fff;
}

/* ippan trouble
------------------------------------------*/

.ippan-trouble {
    padding: 4vmax 2vmax;
    background: #efefef;
}

.ippan-trouble-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}


.ippan-trouble-list li {
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 10px;
    position: relative;
    line-height: 1.4;
}

.ippan-trouble-list li::before {
    position: absolute;
    right: 10px;
    bottom: 10px;
    content: "";
    display: inline-block;
    border-top: 8px solid transparent;
    border-right: 8px solid var(--sub-color);
    border-bottom: 8px solid var(--sub-color);
    border-left: 8px solid transparent;

}

.ippan-trouble-list li a {
    display: flex;
    align-items: center;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 1.4rem;
    color: #4d4d4d;
}

.ippan-trouble-list li a img {
    margin-right: 1em;
}

@media screen and (max-width:767px) {
    .ippan-trouble-list {
        width: 800px;
        gap: 3px;
    }

    .ippan-trouble-list li a img {
        width: 40px;
    }

    .ippan-trouble-list li a {
        font-size: 14px;
    }

    .ippan-trouble-list li::before {
        right: 5px;
        bottom: 5px;
        border-top: 4px solid transparent;
        border-right: 4px solid var(--sub-color);
        border-bottom: 4px solid var(--sub-color);
        border-left: 4px solid transparent;

    }

}

.doctorsfile-bnr {
  display: flex;
  gap: 10px;        /* 画像間の余白 */
  justify-content: center; /* 任意 */
}

.doctorsfile-bnr img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .doctorsfile-bnr {
    flex-direction: column;
    align-items: center;
  }
}

  .section-title {
    position: relative;
    padding-bottom: 4px;
    margin-bottom: 16px;
    font-size: 1.2em;
  }

  .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #665755; /* 下線の色をここで変更可能 */
  }

.single-post .entry-content b,
.single-post .entry-content strong {
  font-weight: 800;
}

/* geneox flow
------------------------------------------*/
    .step-container {
      display: flex;
      align-items: center;
      background: #fef3f0;
      margin-bottom: 20px;
      padding: 20px;
      border-radius: 4px;
    }
/* 背景色：#edeff5 */
.step-container--blue {
  display: flex;
  align-items: center;
  background: #edeff5;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 4px;
}

/* 背景色：#ecf6f1 */
.step-container--green {
  display: flex;
  align-items: center;
  background: #ecf6f1;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 4px;
}

/* 背景色：#faf6f4 */
.step-container--beige {
  display: flex;
  align-items: center;
  background: #faf6f4;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 4px;
}
    .step-label {
      background: #525252;
      color: #fff;
      font-weight: bold;
      padding: 10px 20px;
      border-radius: 4px;
      flex-shrink: 0;
      margin-right: 20px;
      text-align: center;
    }
    .step-label--brown {
      background: #968589;
      color: #fff;
      font-weight: bold;
      padding: 10px 20px;
      border-radius: 4px;
      flex-shrink: 0;
      margin-right: 20px;
      text-align: center;
    }
    .step-content h3 {
      font-size: 1.1rem;
      font-weight: bold;
      margin: 0 0 8px;
      color: #444;
    }

    .step-content p {
      margin: 0;
      font-size: 1.2rem;
    }

    /* スマホ対応 */
    @media (max-width: 768px) {
      .step-container {
        flex-direction: column;
        align-items: flex-start;
      }

      .step-label {
        margin: 0 0 10px;
      }
    }

.click-here a {
  display: block;
  width: fit-content;
  text-align: center;
  margin: 0 auto;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* ピンク */
.click-here a.pink {
  color: #e27aa8;
  border: 1.5px solid #e27aa8;
}

.click-here a.pink:hover {
  background-color: #e27aa8;
  color: #fff;
}

/* ブラウン */
.click-here a.brown {
  color: #81725f !important;
  border: 1.5px solid #81725f;
}

.click-here a.brown:hover {
  background-color: #81725f;
  color: #fff !important;
}

.click-here a::after {
  content: '→';
  position: absolute;
  right: 15px;
  transition: transform 0.3s;
}

.click-here a:hover::after {
  transform: translateX(5px);
}






/* スマホフッターボタンを2つから4つに変更しテキストから画像に変更 */
@media screen and (max-width: 767px) {
  #footer {
    padding-bottom: 70px;
  }
  .sp-footer-cta {
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
  }
  .sp-footer-cta a {
    width: auto;
    display: block;
    padding: 0;
    background: none;
    border: 0;
  }
  .sp-footer-cta a::before,
  .sp-footer-cta a::after {
    content: none !important;
  }
  .sp-footer-cta img {
    display: block;
    width: 100%;
    height: auto;
  }
}
