/*
Theme Name: my-theme-child
Version: 1.0
Template: my-theme
*/
header.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 77px;
    z-index: 1000;
    background-color: rgba(255,255,255, 1);
}
.header-inner {
    width: 100%;
    height: 77px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
h1.header-logo {
    margin: 0;
}
h1.header-logo a img {
    max-width: 265px;
}
@media screen and (max-width:520px) {
    .header-inner {
        height: 60px;
    }
}
.header-menu ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 30px;
}
.header-menu ul li {
    margin-right: 25px;
}
.header-menu ul li:last-child {
    margin-right: 0;
}
.header-menu ul li a {
    text-decoration: none;
    color: #333333;
    font-size: 12px;
    font-weight: 700;
}
.header-menu ul li a::after {
    content: "";
    display: block;
    width: 0%;
    height: 1px;
    background-color: #B993D6;
}
.header-menu ul li a:hover::after {
    width: 100%;
    transition: all .4s;
}

@media screen and (max-width:1030px){
    .header-menu ul {
        margin-left: 20px;
    }
    .header-menu ul li {
        margin-right: 10px;
    }
    .header-menu ul li a {
        font-size: 14px;
    }
}
@media screen and (max-width:768px) {
    .header-menu,
    .header-menu-2 {
        display: none;
    }
}
.header-menu-2 {
    width: 75%;
}
.header-menu-2 ul {
    display: flex;
    justify-content: right;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-menu-2 ul li {
    display: flex;
    align-items: center;
    margin-left: 40px;
}
.header-menu-2 ul li a {
    text-decoration: none;
    color: #3E3931;
    white-space: nowrap;
    font-weight: 700;
    font-size:14px;
}
.header-menu-2 ul li a i {
    position: relative;
    margin-right: 18px;
}
.header-menu-2 ul li a i:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 40px;
    height: 40px;
    border-radius: 40px;
    z-index: -1;
}
.fa-solid.fa-book-open,
.fa-solid.fa-question,
.fa-regular.fa-envelope {
    color: #333333;
}
@media screen and (max-width:1030px){
    .header-menu-2 ul li {
        margin-left: 20px;
    }
    .header-menu-2 ul li a {
        font-size: 14px;
    }
    .header-menu-2 ul li a i {
        position: relative;
        margin-right: 10px;
    }
    .header-menu-2 ul li a i:after {
        width: 30px;
        height: 30px;
        border-radius: 30px;
    }
}
.header-menu-2 ul li a:hover {
    transform: translateY(-3px);
    transition: .3s;
}
/* humburger */
.humburger {
    /*display: none;*/
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 999;
}
.humburger span {
    position: absolute;
    left: 50%;
    width: 40px;
    height: 1px;
    background-color: #A98561;
}
.humburger span:nth-child(1) {
    top: 12px;
    transform: translateX(-50%);
}
.humburger span:nth-child(2) {
    bottom: 12px;
    transform: translateX(-50%);
}
.humburger.active span:nth-child(1) {
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(315deg);
    transition: .3s ease-out;
}
.humburger.active span:nth-child(2) {
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(-315deg);
    transition: .3s ease-out;
}
@media screen and (max-width:520px) {
    .humburger span {
        width: 40px;
    }
    .humburger span:nth-child(1) {
        top: 15px;
    }
    .humburger span:nth-child(2) {
        bottom: 10px;
    }
}

/* sp-menu */
.sp-header-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 100%;
    display: inline-block;
    width: 100%;
    z-index: 99;
}
.sp-header-menu ul {
    list-style: none;
    margin: 0;
    margin-top: 77px;
    padding: 0 20px;
    text-align: center;
    background-color: #FFFFFF;
}
.sp-header-menu ul li:first-child a:hover,
.sp-header-menu ul li:first-child a:active {
    color: #817d7d;
    width: 100%;
    text-align: left;
}
.sp-header-menu ul li:has(.header-sub-menu-title) {
    padding: 20px;
    display: flex;
    justify-content: space-between;
}
.sp-header-menu>ul>li {
    padding: 20px;
    border-bottom: 1px solid #DED5C8;
    display: flex;
    justify-content: space-between;
}
.sp-header-menu ul li:first-child {
    margin-top: 0;
    border-top: 1px solid #FFFFFF;
}
.sp-header-menu ul li a {
    text-decoration: none;
    color: #3E3931;
}
.sp-header-menu.show {
    left: 0;
    transition: .4s ease-out;
}
@media screen and (max-width: 768px) {
    .sp-header-menu {
        display: block;
    }
    .humburger.active span {
        width: 20px;
    }
    .humburger {
        display: block;
    }
    .sp-header-menu ul {
        margin-top: 77px;
        padding: 0 20px;
    }
}
@media screen and (max-width:520px) {
    .sp-header-menu ul {
        margin-top: 60px;
        padding: 0 20px;
    }
}

/**
 *  サブメニュー開閉ボタン
 */
.header-sub-menu-btn {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 999;
    display: inline-flex;
    align-items: center;
}
.header-sub-menu-btn span {
    position: absolute;
    display: inline-block;
    background-color: #A98561;
    height: 2px;
    left: 0;
    width: 100%;
    transition: 0.3s;
    &:nth-of-type(1) {
        top: 50%;
        transform: rotate(90deg);
    }
    &:nth-of-type(2) {
        top: 50%;
    }
}
.header-sub-menu-btn.show span:nth-child(2){
    display: none;
}
.header-sub-menu-btn.show span{
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #A98561;
    transition: 0.3s;
    &:nth-of-type(1) {
        top: 50%;
        transform: rotate(180deg);
    }
} /* サブメニュー開閉ボタン */

/**
 *  サブメニュー 中身
 */
.header-sub-menu {
    display: block!important;
}
.header-sub-menu>div {
    display: flex;;
}
.header-sub-menu ul {
    display: block;
    justify-content: right;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-sub-menu ul li {
    padding: 0px;
    text-align: left;
}
.header-sub-menu ul li a {
    display: block;
    width: 100%;
    padding: 20px;
}
.header-sub-menu ul li a:hover,
.header-sub-menu ul li a:active {
    color: #817d7d;
}
.header-sub-menu-li {
    padding: 0!important;
}
.header-sub-menu.show .header-sub-menu-li {
    display: block;
}
.header-sub-menu:not(.show) .header-sub-menu-li {
    display: none;
}
.header-sub-menu-title {
    width: 100%;
    text-align: left;
}
.header-sub-menu .minus-mark::before{
    content: '';
    display: inline-block;
    height: 1px;
    width: 20px;
    margin: 0 15px 5px 0;
    position: relative;
    bottom: 40%;
    background-color: #3E3931;
}

.inquiry-start-btn {
    border-radius: 0;
    color: #FFFFFF;
    background: linear-gradient(to right, #A98561, #8B745E);
    padding: 15px 30px;
    margin: 15px;
}
.inquiry-start-btn:hover, .inquiry-start-btn:active {
    background: linear-gradient(to right, #8a6c4f, #74604e);
}
/* サブメニュー */


/**
 *  内科で使用
 *  [ご予約・ご相談]
 */
.reservation-section .container{
    width: 100%;
    max-width: 800px;
}
.reservation-section .item-block{
    background: #F9F9F6;
    padding: 30px 0;
}
.reservation-block p, .tel-block p {
    font-size: 20px;
    color: #A98561;
}
.reservation-section .reserve-btn {
    border: 1px solid #A98561;
    border-radius: 0;
    padding: 10px 15px;
    color: #A98561!important;
    text-decoration: none;
    display: block;
}
.reservation-section .reserve-btn:hover {
    background: linear-gradient(to right, #A98561, #8B745E);
    color: #FFFFFF!important;
}
@media screen and (max-width:767px) {
    .reservation-block::after {
        content: '';
        height: 2px;
        width: 100%;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        bottom: 0;
        background: #DED5C8;
        margin-top: 50px;
        margin-bottom: 30px;
        display: block;
    }
} /* ご予約・ご相談 */


/**
 *  固定追従ヘッダー
 */
.fixed-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fixed-footer .row {
    height: 100%;
}
.fixed-footer .footer-reserve-btn {
    background: linear-gradient(to right, #A98561, #8B745E);
}
.fixed-footer .footer-tel-btn {
    background: linear-gradient(to right, #3F2A05, #261902)
}
.fixed-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #FFFFFF!important;
    padding: 15px;
    text-align: center;
}
.fixed-footer a>* {
    padding: 0 5px;
} /* 固定追従ヘッダー */

/**
*  右サイドバー
*/
.right-saidbar-block {
    position: fixed;
    right: 0;
    bottom: 25%;
    z-index: 200;
}
.right-saidbar-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.right-fixed-reserve-btn {
    background: linear-gradient(to right, #A98561, #8B745E);
}
.right-fixed-tel-btn {
    background: linear-gradient(to right, #3F2A05, #261902)
}
.right-fixed-reserve-btn, .right-fixed-tel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #FFFFFF!important;
    padding: 20px 5px;
    text-align: center;
    font-size: 14px;
    z-index: 150;
}
.right-fixed-reserve-btn > *,
.right-fixed-tel-btn > * {
    padding: 0 2px;
} /* 右サイドバー */