@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/**********共通スタイル**********/
:root{
    /*テーマカラー*/
    --main-color: #BEB094;
    --sub-color01:#9B814D;
    --sub-color02:#353D4A;
    --bg-color: #E4E4E6;
    --bg-color02:#F9F9FB;
    --text-color:#353D4A;
    --text-color02:#B54D4F;
    --pc-width:1440;
    --sp-width:390;
    --swiper-theme-color:#fff;
    --swiper-navigation-size:24px;
}
/* ==========================================================================
   WordPress ブロックエディタ用カラークラス
   ========================================================================== */

/* 文字色（Text Colors） */
.has-main-color         { color: var(--main-color); }
.has-sub01-color        { color: var(--sub-color01); }
.has-sub02-color        { color: var(--sub-color02); }
.has-bg-color           { color: var(--bg-color); }
.has-text-color         { color: var(--text-color); }

/* 背景色（Background Colors） */
.has-main-background-color      { background-color: var(--main-color); }
.has-sub01-background-color     { background-color: var(--sub-color01); }
.has-sub02-background-color     { background-color: var(--sub-color02); }
.has-bg-background-color        { background-color: var(--bg-color); }
.has-text-background-color      { background-color: var(--text-color); }


body{
    font-family: 'Noto Serif JP', serif;
    background-color: var(--bg-color);
    font-weight: 300;
    letter-spacing: 0px;
    line-height: 1.8em;
    font-size: 16px;
    color: var(--text-color);
}
h1,h2,h3,h4,h5,h6{
    line-height: 1.8em;
}
body:not(.home){
    background:var(--bg-color02);
}
a{
    color: var(--text-color);
    text-decoration: unset;
    position: relative;
    &:hover{
        opacity:0.8;
        &::after{
            animation:left-to-right 0.3s ease;
            width: 100%;
        }
    }
    &::after{
        content:"";
        width: 100%;
        height: 1px;
        background: var(--text-color);
        transition: all .3s ease;
        position: absolute;
        bottom: 0;
        left: 0;
        display: block;
    }
}
p:last-child{
    margin-bottom: 0;
}
ul{
    list-style: none;
    margin: 0;
}
figure{
    margin: 0;
}
img{
    max-width: 100%;
    height: auto;
}
.vertical-text {
  writing-mode: vertical-rl; /* 右から左へ縦書き */
}
@media (min-width: 769px) {
    .only-sp{
        display:none;
    }
}
@media (max-width: 768px) {
    .only-pc{
        display:none;
    }
}
/*ヘッダーのスタイル*/
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 50px 0 10px;
    transition: all 0.3s ease;
    &.is-scrolled{
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding-top: 10px;
        transition: all 0.3s ease;
        & .header-container{
            align-items: center;
        }
    }
    & .header-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap:1em;
    }
    & .logo{
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        line-height: 1.5em;
        padding-left: 10px;
        
        & a::after{
            display: none;
        }
    }
    & .header-nav{
        flex: 1;
        & .gnav{
            & ul{
                display: flex;
                flex-wrap: wrap;
                gap: 5%;
                padding: 0;
                justify-content: flex-end;
                & li{
                    & a{
                        position: relative;
                        padding-bottom: 5px;
                        width: 100%;
                        display: block;
                        &::after{
                            content: "";
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            width: 0%;
                            height: 1px;
                            background-color: var(--text-color);
                            transition: all 0.3s ease;
                        }
                        &:hover{
                            &::after{
                                width: 100%;
                                transition: all 0.3s ease;
                            }
                        }
                    }
                    &.is-current,
                    &.current-menu-item{
                        & a{
                            color:var(--sub-color01);
                            &:after,
                            &:hover:after{
                                width: 100%;
                                background-color:var(--sub-color01);
                            }
                        }
                    }
                }    
            }
        }
        & .btn-gnav{
            display: none;
        }
    }
    & .sp-nav{
        display: none;
    }
    @media (max-width: 768px) {
        &{
            padding-top:calc( 100vw / var(--sp-width) * 20);
        }
        &.is-scrolled{
            padding-top:calc( 100vw / var(--sp-width) * 20);
            padding-bottom: calc( 100vw / var(--sp-width) * 10);
        }
        & .logo{
            font-size: 1.125rem;
        }
        & .header-nav{
            & .gnav{
                display: none;
            }
            & .btn-gnav{
                display: block;
                cursor: pointer;
                border: 1px solid var(--text-color);
                border-radius: 50%;
                width: calc( 100vw / var(--sp-width) * 50);
                height: calc( 100vw / var(--sp-width) * 50);
                background:unset;
                position: fixed;
                top: calc( 100vw / var(--sp-width) * 20);
                right: calc( 100vw / var(--sp-width) * 20);
                z-index: 100;
                & span{
                    position: absolute;
                    width: calc( 100vw / var(--sp-width) * 25);
                    height: calc( 100vw / var(--sp-width) * 2);
                    background-color: var(--text-color);
                    left:calc( 100vw / var(--sp-width) * 12);
                    top:calc( 100vw / var(--sp-width) * 23);
                    transition: all .3s ease;
                }
                & span:first-child{
                    top:calc( 100vw / var(--sp-width) * 15);
                }
                & span:last-child{
                    top:calc( 100vw / var(--sp-width) * 32);
                }
            }
            .menu-open & .btn-gnav{
                & span:first-child{
                    top: calc( 100vw / var(--sp-width) * 18);
                    left: calc( 100vw / var(--sp-width) * 12);
                    transform: translateY(calc( 100vw / var(--sp-width) * 6)) rotate(-45deg);
                }
                & span:nth-child(2){
                    opacity:0;
                }
                & span:last-child{
                    top: calc( 100vw / var(--sp-width) * 30);
                    left: calc( 100vw / var(--sp-width) * 12);
                    transform: translateY(calc( 100vw / var(--sp-width) * -6)) rotate(45deg);
                }
            }

        }
        & .sp-nav{
            transition: all .3s ease;
            transform: translateY(-200%);
            opacity: 0;
            height: 100%;
            width: 100%;
            display:flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position:fixed;
            top: 0;
            left: 0;
            background: url(../images/common/bg-spnav-top.png) top center,url(../images/common/bg-spnav-btm.png) bottom center;
            background-size:contain contain;
            background-repeat: no-repeat no-repeat;
            background-color: var(--bg-color);
            & a::after{
                display: none;
            }
            & .sp-nav-inner{
                display: flex;
                flex-direction: column;
                gap: calc( 100vw / var(--sp-width) * 50);
                min-width: calc( 100vw / var(--sp-width) * 300);
                & .logo{
                    font-size: 1.5rem;
                    padding-left: 0;
                }
                & .sp-nav-gnav{
                    & .sp-nav-gnav-list{
                        padding: 0;
                        font-size: 1.125rem;
                        display: flex;
                        flex-direction: column;
                        gap:calc( 100vw / var(--sp-width) * 35);
                        & li{
                            &.is-current{
                                & a{
                                    color:var(--sub-color01);
                                }

                            }
                        }
                    }
                }
                & .sp-nav-sns{
                    & ul{
                        display: flex;
                        align-items: center;
                        gap:calc( 100vw / var(--sp-width) * 23);
                        font-size: 2.25rem;
                        padding: 0;
                        justify-content: center;
                    }
                }
            }
        }
    }
}
@media (max-width: 768px) {
    & .menu-open{
        overflow: hidden;
        & .sp-nav{
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/*フッターCTA・お知らせ　他のスタイル*/
main,
.block-editor-iframe__body > .block-editor-block-list__layout{
    & .page-content.narrow-width{
        max-width:875px;
    }
    & .footer-cta{
        background:url(../images/common/bg-cta.jpg) no-repeat center center;
        background-size:cover;
        padding:100px 0;
        color:#fff;
        text-align: center;
        & h2{
            font-size:1rem;
            font-weight: bold;
            letter-spacing: 0.2em;
            margin-bottom: 1.8rem;
        }
        & .footer-cta-text{
            font-size: 1.75rem;
            line-height:1.5em;
        }
        & .footer-cta-btns{
            margin-top: 2.1em;
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
            & .footer-cta-btn{
                max-width: 100%;
                & a{
                    border:1px solid #fff;
                    font-size: 2rem;
                    line-height: 1.5em;
                    color: #fff;
                    max-width: 100%;
                    width: 516px;
                    height: 100px;
                    display:flex;
                    align-items: center;
                    justify-content: center;
                    transition: all .3s ease;
                    letter-spacing: 0.1em;
                    &:hover{
                        background: #FFFFFF42;
                        transition: all .3s ease;
                    }

                    &::after{
                        display: none;
                    }
                }
                &.footer-cta-btn-tel{
                    & a{
                        font-size: 2.5rem;
                        span{
                            font-size: 1.5rem;
                            margin-top: 0.5em;
                            margin-right: 10px;
                        }
                    }
                }

            }
        }

        @media (max-width: 768px) {
            &{
                padding:calc(100vw/ var(--sp-width) * 52) 0;
            }
            & .footer-cta-text{
                font-size: min(1.125rem,calc(100vw / var(--sp-width) * 16));
            }
            & .footer-cta-btns{
                & .footer-cta-btn,
                & .footer-cta-btn.footer-cta-btn-tel{
                    width: 100%;
                    & a{
                        font-size: 1.5rem;
                        width: 100%;
                        height: calc( 100vw / var(--sp-width) * 70);
                        max-height:70px;
                        span{
                            font-size: 1rem;
                        }
                    }
                }
            }
        }
    }
    /*お知らせ*/

    & .news-list{
        width: 66%;
        &.archive-list{
            width: 100%;
        }
        & > ul{
            padding: 0;
            & > li{
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap:1em;
                padding: 37px 0;
                border-bottom:1px dotted #D9D9D9;
                &:last-child{
                    border-bottom:unset;
                }
                & a{

                    &::after{
                        display: none;
                    }
                    &:hover::after{
                        display: block;
                    }
                }
                & .news-meta{
                    display:flex;
                    gap:1em;
                    align-items: center;
                    & time{
                        font-weight: bold;
                    }
                    & .news-cat{
                        padding:0;
                        display:flex;
                        gap:0.5em;
                        flex-direction: column;
                        & a{
                            display: block;
                            border:1px solid var(--text-color);
                            padding:0px 10px;
                            min-width:120px;
                            font-size: 0.875rem;
                            text-align: center;
                            &::after{
                                display: none;
                            }
                        }
                    }
                }
            }
        }
    }
    @media (max-width:768px){

        & .news-list{
            width:100%;
            & > ul{
                & > li{
                    align-items: unset;
                }

            }
        }
    }
    /* mw wp form */
    & .mw_wp_form{
        display: flex;
        flex-direction: column;
        align-items: center;
        & form{
            width: 600px;
            max-width: 100%;
            & .error{
                color: var(--text-color02);
            }
        }
        &.mw_wp_form_complete{
            display: block;
        }

    } 
    & .text-required{
        font-size: 0.75rem;
        color:var(--text-color02);
    }
    & label{
        margin-top: 1em;
        width: 100%;
    }
    & input,
    & select,
    & textarea{
        padding: 0.5em;
        border-radius: 10px;
        border-width: 1px;
        max-width: 100%;
        background-color: transparent;
        border:1px solid #606060;
    }
    & textarea{
        width: 100%;
    }
    & input:has( ~ .error),
    & select:has( ~ .error),
    & textarea:has( ~ .error),
    & .mwform-tel-field:has( ~ .error) input,
    & .mwform-checkbox-field:has( ~ .error) input{
        border:1px solid var(--text-color02);
    }

    /* ノイズ背景 */
    & .bg-noise{
        position: relative;
        & > *{
            position: relative;
            z-index: 1;
        }
        &::before{
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.5" numOctaves="3" stitchTiles="stitch" /></filter><rect width="100%" height="100%" filter="url(%23noise)" /></svg>');

            mix-blend-mode: multiply;
            opacity: 0.25; 

            pointer-events: none;
            z-index: 1;
        }
    }
    /* ボタン */
    & .button{
        width: 100%;
        &.button-white{
            & a{
                border-color:#fff;
                color: #fff;
                &::after{
                    background-color: #fff;
                }
            }
        }
    }
    & .button a,
    & .button:has(> input){
        display: inline-block;
        width: 300px;
        max-width:calc(100% - 25px);
        padding:13px 43px;
        text-align: center;
        border: 1px solid var(--text-color);
        position: relative;
        margin-top: 20px;
        &::after{
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            height: 1px;
            width: 50px;
            right: -25px;
            left: unset;
            bottom:unset;
            background-color: var(--text-color);
        }
        &:hover{
            &::after{
                -webkit-animation: scale-up-hor-left 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
                        animation: scale-up-hor-left 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
            }
        }
        @media (max-width: 768px) {
            &{
                width:calc(100% - 25px);
            }
            
        }
    }
    & .button:has(> input){
        margin: 1em auto 0;
        display: block;
        padding: 0;
        & input{
            border: unset;
            background: unset;
            padding:13px 43px;
            border-radius: unset;
            width: 100%;
            color:var(--text-color);
            &[name="submitBack"]{
                background:var(--bg-color);
            }
        }
    }
    & .button02{
        & a{
            position: relative;
            display: inline-block;
            padding-right: 55px;
            &:after{
                content: "";
                display:block;
                position: absolute;
                top:50%;
                right:5px;
                width: 40px;
                height: 40px;
                border: 1px solid #fff;
                border-radius: 50%;
                transform: translateY(-50%);
                background:url(../images/common/icon_arrow.svg) no-repeat center center;
                background-size: 23px 3.5px;
                transition:all 0.3s ease;
                bottom:unset;
                left:unset;
            }
            &:hover::after{
                right: 0px;
                width: 40px;
                animation: unset;
            }
        }
    }

    /*ページネーション*/
    .posts-count{
        text-align: center;
        margin-top: 150px;
    }
    .nav-links{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-top:30px;
        & .page-numbers{
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            letter-spacing: 0;
            line-height: 1em;
            transition: all .3s ease;
            &.current,
            &:not(.prev,.next):hover{
                background-color: var(--main-color);
                color:#fff;
            }
            &::after{
                display: none;
            }
            &.prev,
            &.next{
                width: unset;
                position: relative;
                font-size: 0;
                &::before{
                    font-family: "Font Awesome 5 Free";
                    font-weight: 900;
                    color: var(--main-color);
                    font-size: 31px;
                    transition: all .3s ease;
                }
            }
            &.prev{
                &::before{
                    content:'\f053';
                }
                &:hover::before{
                    transform: translateX(-5px);
                }
            }
            &.next{
                &::before{
                    content:'\f054';
                }
                &:hover::before{
                    transform: translateX(5px);
                }
            }
        }
    }
}
/* フッターのスタイル */
footer{
    background-color: var(--main-color);
    position: relative;
    color:#fff;
    padding:82px 0;
    & a{
        color: #fff;
        &::after{
            display: none;
        }
    }
    &::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.5" numOctaves="3" stitchTiles="stitch" /></filter><rect width="100%" height="100%" filter="url(%23noise)" /></svg>');

        mix-blend-mode: multiply;
        opacity: 0.25; 

        pointer-events: none;
        z-index: 1;
    }
    & .footer-container{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        & .footer-info-name{
            font-size: 1.5rem;
            line-height: 1.5em;
            margin-bottom: 26px;

        }
        & .footer-info-address{
            line-height: 1.5em;
        }
        & .footer-nav{
            width: 66.6%;
            margin-right: 0;
            margin-left: auto;
            margin-top: 1em;
            & .footer-gnav{
                padding:0;
                padding-bottom: 40px;
                margin-bottom: 30px;
                border-bottom: 1px solid #fff;
                & ul{
                    display: flex;
                    flex-wrap: wrap;
                    gap:5%;
                    justify-content: flex-end;
                    padding: 0;
                }
            }
            & .footer-sns{
                display: flex;
                justify-content: flex-end;
                margin-bottom: 30px;
                & ul{
                    padding:0;
                    display: flex;
                    justify-content: flex-end;
                    gap:18px;
                    font-size: 1.5rem;
                }
            }
        }
    }
    & .footer-copyright{
        text-align:right;
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }

    @media (max-width: 768px) {
        &{
            padding:calc(100vw / var(--sp-width) * 33) 0;
        }
        & .footer-container{
            flex-direction: column-reverse;
            & .footer-nav{
                width: 100%;
                & .footer-gnav{
                    & ul{
                        display:flex;
                        flex-wrap: wrap;
                        gap: 5vw;
                        & li{
                            text-align: center;
                            width: calc( (100% - 5vw) / 2 );
                        }
                    }
                }
                & .footer-sns{
                    justify-content: center;
                }
            }
        }
        & .footer-copyright{
            margin-top: calc( 100vw / var(--sp-width) * 39);
        }
    }
}

/**
 * ----------------------------------------
 * animation scale-up-hor-left
 * ----------------------------------------
 */
@-webkit-keyframes scale-up-hor-left {
  0% {
    -webkit-transform: scaleX(0.4);
            transform: scaleX(0.4);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
  100% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
}
/* left to right */
@-webkit-keyframes left-to-right {
    0% {
        width:0;
    }
    100% {
        width: 100%;
    }
}


/* 下から */
.fadeInUpTrigger:not(.wp-block):not(.block-editor-block-list__block) img,
img.fadeInUpTrigger{
	opacity: 0;
}
.fadeUp  img,
img.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:2s;
    animation-fill-mode:forwards;
    opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

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