

/*== BASE ==============================================================================================================*/
html {
    margin-top: 0 !important;
    font-family: 'Noto Serif JP', serif;
}

main {
    background-color: #fff;
}

h2 {
    margin: 0;
}

h3 {
    margin: 0;
}

p{
    margin: 0;
}

body {
    background-color: #fff;
    width: 100%;
}



/*== LAYOUT ============================================================================================================*/


.section-container {
    width: 80%;
    /*
    height: 80%;
    */
    margin: 0 auto;
    padding-top: 150px;
}


/*== MODULE ============================================================================================================*/

.section-title {
    font-size: 36px;
    font-weight: 100;
    text-align: center;
    padding: 50px 0;
    color: #e26c63;
}

/*ボタン*/
.btn-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.link-btn {
    background-color: #e26c63;
    color: #fff;
    outline: solid 2px #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    padding: 20px 40px;
    transition: .3s;
}

.link-btn:hover {
    background-color: #fff;
    color: #e26c63;
    outline: solid 2px #e26c63;
    cursor: pointer;
}

.d-flex{
    display: flex;
}

.flex-center{
    justify-content: center;
    align-items: center;
}

figure {
    max-width: 90%;
}

/*== メインビジュアル =====================================================================================================*/
.mainvisual-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-height: 80vh;
    width: 100%;
}

.mainvisual-left {
    width: 50%;
    position: absolute;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 30px;
    padding-left: 20%;
    bottom: 0;
    left: 0;
    background-color: #fff;
    z-index: 100;
    flex-direction: column;
    line-height: 3rem;
}

.mainvisual-right {
    width: 100%;
    /*margin-left: 20%;*/
}

.catch-copy {
    font-size: 36px;
    color: #e26c63;
}

.sub-title {
    font-size: 26px;
}

.sub-title-span {
    font-size: 33px
}

.span-style-gold {
    color: #d0942b;
}

.span-gold-underline {
    position: relative;
    display: inline-block;
}

.span-gold-underline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%; /* 文字の下半分 */
    background-color: #d0942b; /* 背景色 */
    opacity: .3;
    z-index: -1; /* テキストの下に配置 */
}

/*== 背景画像　============================================================================================================*/

.background {
    width: 100%;
}

.carousel {
    width: 100%;
}

.carousel-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*== 　ヘッダー　============================================================================================================*/

.header {
    height: 120px;
    justify-content: space-around;
    background-color: #fff;
    padding: 0 40px 0 40px;
    
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list ul {
    display: flex;
}

.nav-item {
    list-style: none;
    margin-top: 20px;
    margin-left: 20px;
    font-size: 20px;
}

.nav-item a {
    text-decoration: none;
    text-align: center;
    color: #000;
    display: block;
}

.nav-item a:hover {
    cursor: pointer;
    opacity: .3;
    transition: .3s;
}

.link-gold {
    color: #d0942b;
    font-size: 14px;
}


.header-logo{
    height: 100px;
}

/*Contactボタン*/
.contact-btn {
    font-size: 50px;
    position: fixed;
    top: 120px;
    right: 60px;
    z-index: 200;
    cursor: pointer;
    transition: 0.3s;
    color: #fff;
}

.contact-btn.js-black {
    color: #000;
}

/* ハンバーガーメニュー（デフォルト非表示） */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #e26c63;
    transition: all 0.3s;
}

/* スマホ時のスタイル */
@media screen and (max-width: 768px) {
    /* ナビゲーションの非表示 */
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 120px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }

    .nav-list ul {
        flex-direction: column;
        text-align: center;
    }

    .nav-item {
        margin: 10px 0;
    }

    /* ハンバーガーメニューを表示 */
    .hamburger-menu {
        display: flex;
        z-index: 9999;
        margin-top: 25px;
    }

    /* メニュー開閉時 */
    .nav-list.active {
        display: flex;
    }

    /* ハンバーガーアイコンのアニメーション */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .header-logo {
        width: 100px;
        height: auto;
        margin-top: 20px;
    }
}





/*== Caseセクション　=====================================================================================================*/

.case-inner {
    padding: 20px 0;
}

.case-title {
    opacity: 0;
    transition: 0.6s;
    transform: translateX(-30px)
}

.case-list-item {
    opacity: 0;
    transition: 1.6s;
    transform: translateX(-30px)
}

.case-text {
    opacity: 0;
    transition: 1s;
    transform: translateX(-30px)
}
 
/*「当院の施術は」部分*/
.inner-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.case-img {
    width: 50%;
    max-height: 300px;
    object-fit: cover;
    opacity: 0;
    transition: 1.6s;
    transform: translateY(30px)
}

.case-title {
    opacity: 0;
    transform: translateX(-30px);
    transition: 0.6s;
}



/*== プロフィール ==========================================================================================================*/


.profile-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.profile-img {
    width: 30%;
    opacity: 0;
    transition: 0.8s;
    animation-delay: 0.3s;
    transform: translateY(20px)
}

/*プロフィール欄右側*/
.profile-contents {
    width: 60%;
}


.profile-img > img {
    border-radius: 50%;
    width: 100%;
}


.profile-title {
    font-size: 22px;
    opacity: 0;
    transition: 0.3s;
    transform: translateY(20px)
}

.profile-text {
    font-size: 18px;
    line-height: 1.8em;
    opacity: 0;
    transition: 1s;
    transform: translateY(20px);
}


/*== フッター =============================================================================================================*/

.footer {
    width: 100%;
    background-color: #e26c63;
    color: #fff;
    padding: 30px ;
}

.footer-container {
    display: flex;
}

/*左側*/
.address-wrapper {
    width: 50%;
}

.address-wrapper p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-logo {
    width: 200px;
    margin-left: 20px;
}

.address {
    margin-left: 50px;
}

.phone {
    margin-left: 50px;
}

/*sns*/
.sns-wrapper {
    margin-left: 50px;
}

.fa-brands:hover {
    cursor: pointer;
}
.fa-instagram {
    color: rgb(128, 0, 85);
    font-size: 50;
    cursor: pointer;
}

.fa-line {
    color: rgb(2, 173, 2);
    font-size: 50;
    margin-left: 10px;
    cursor: pointer;
}

/*右側*/
.map-wrapper {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map {
    width: 90%;
    margin: auto;
}






/*== トップページ・レスポンシブ =============================================================================*/
@media screen and (max-width:762px){
/*== LAYOUT ===============================*/

.section-container {
    padding-top: 0;
}


/*==  MODULE  ===================================*/
.section-title {
    padding-top: 0;
}


/*== メインビジュアル =======================*/

.mainvisual-container {
    height: 100vh;
}

.mainvisual-left {
    margin-left: 0px;
    width: 70%;
    line-height: 2rem;
    padding: 20px;
}

.catch-copy {
    font-size: 14px;
    color: #e26c63;
}

.span-style-gold {
    font-size: 18px;
}

.sub-title {
    font-size: 16px;
}

.sub-title-span {
    font-size: 20px
}


.span-gold-underline {
    position: relative;
    display: inline-block;
}



    
/*== Aboutセクション ====================*/
    .about-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 80%;
    }

    /*足圧式伸展法の画像とテキストの順を逆転*/
    .wp-container-core-columns-is-layout-2 {
        flex-direction: column-reverse;
    }

    .wp-block-column-is-layout-flow {
        align-items: center;
    }


/*== フッター ====================*/

.footer {
    padding: 20px;
}

.footer-container {
    flex-direction: column;
}
/*左側*/
.address-wrapper {
    width: 90%;
}

/*右側*/
.map-wrapper {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}


.footer-logo {
    width: 200px;
    margin-left: 20px;
}

.address {
    margin-left: 0;
}

.phone {
    margin-left: 0;
}

/*sns*/
.sns-wrapper {
    margin-left: 0;
}


}



/*== 固定ページ共通 =============================================================================*/



/*== page-menu.php ======================*/
.page-contents {
    max-width: 800px; /* 適切な最大幅を設定 */
    margin: 0 auto;
    text-align: left; /* デフォルトの左寄せ */
}

.wp-block-table {
    width: 100%;
}

.page-container {
    margin: 0 auto;
    width: 90%;
    z-index: -2;
}

.page-body {
    background:#fff;
    color: #1d1d1d;
    width: 100%;
}

.wp-block-table {
    width: 500px;
}

@media screen and (max-width:762px){
    .page-contents {
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    #menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-arounds;
    }
    

}

/*== page-about.php ====================*/

.page-about-body {
    background:#fff;
    color: #1d1d1d;
    margin: 0;
    width: 100%;
}

.page-about-contents {
    max-width: 800px;
    margin: 0 auto;
    height: fit-content;
}

.page-about-contents h1 {
    text-align: center;
}

.page-about-contents h2 {
    font-size: 22px;
}



.wp-block-image img{
    object-fit: cover;
    width: 300px;
    height: 300px;
}


.wp-image-36 {
  border-radius: 50%;
}

.page-about-contents p {
  line-height: 1.5rem;
}

.page-about-inner {
    border: solid 1px #000;
    height: 95%;
    width: 95%;
    position: fixed;
    display: flex;
    z-index: 1;
    pointer-events: none; /* この要素とその子要素はポインタイベントを無視する */
}