@charset "utf-8";
html {
	scroll-behavior: smooth;
}
@media screen and (min-width: 800px) {
html {
    scroll-padding-top: 70px;
}
}
ul{
    padding: 0;
}
body{
    background-color: #f9f3ef;
    font-family: "Noto Sans JP", "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    color: #000;
    font-size: 16px;
    line-height: 2;
}
@media screen and (max-width: 799px) {
    body{
        padding-bottom: 50px;
    }
}
a{
    text-decoration: none;
    color: #000;
}
.bold{
    font-weight: bold;
}
hr{
    width: 98%;
    max-width: 1890px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid rgb(217,210,206);
}
main{
    a{
        transition: .2s;
        display: inline-block;
        &:hover{
            opacity: .8;
        }
    }
}
header{
    ul{
        list-style: none;
        padding: 0;
    }
    .header-01{
        display: flex;
        align-items: center;
        .header-text{
            font-size: 11px;
            margin-left: 2em;
        }
    }
    .header-nav{
        font-size: 15px;
    }
}
/*800未満*/
@media screen and (max-width: 799px) {
    header{
        height: 70px;
        position: sticky;
        top: 0;
        background-color: #fff;
        z-index: 9999;
    }
    .header-01{
        padding: 10px ;
        .header-text{
            display: none;
        }
    }
    .header-nav{
        li{
            font-size: 16px;
            text-align: center;
            padding:0 1em;
            a{
                display: block;
                border-bottom: 1px solid #fff;
                padding: 1em;
                color: #fff;
            }
            &.yoyaku{
                margin-top: 1em;
                a{
                    border: 1px solid #fff;
                }
            }
        }
    }
    #g-nav{
        position:fixed;
        z-index: 9999;
        /*ナビのスタート位置と形状*/
        right:-120%; 
        top: 70px;
        width:100%;
        height: calc(100vh - 70px);/*ナビの高さ*/
        background:rgb(123,108,57);
        transition: all 0.6s;
    }
    #g-nav.panelactive{
        right: 0;
    }
    #g-nav.panelactive #g-nav-list{
        position: fixed;
        z-index: 999; 
        width: 100%;
        height: calc(100vh - 70px);/*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 30px;
    }
    /*ハンバーガー*/
    .openbtn{
        position:fixed;
        z-index: 9999;/*ボタンを最前面に*/
        top:10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height:50px;
    }
    /*×に変化*/	
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }
    .openbtn span:nth-of-type(1) {
        top:15px;	
    }
    .openbtn span:nth-of-type(2) {
        top:23px;
    }
    .openbtn span:nth-of-type(3) {
        top:31px;
    }
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .openbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
}
/*800以上*/
@media screen and (min-width: 800px) {
    header{
        padding: 40px 15px 20px;
        position: relative;
    }
    .header-nav-wrap{
        display: flex;
        flex-wrap: nowrap;
    }
    .header-nav ul{
        display: flex;
        align-items: center;
        li{
            padding: 0 1em;
        }
        li:not(.yoyaku),
        li.active{
            a{
                height: 3em;
                display: flex;
                justify-content: center;
                align-items: center;
                position: relative;
                &::after{
                    content: "";
                    width: 0;
                    height: 1px;
                    background-color: #000;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    margin: auto;
                    transition: .2s;
                }
                &:hover{
                    &::after{
                        width: 2em;
                    }
                }
            }
        }
        li.active{
            a::after{
                        width: 2em;
                    }
        }
    }
    .header-03{
        li{
            font-size: 14px;
        }
        li:first-child{
            position: relative;
            &::after{
                content: "";
                width: 1px;
                height: 1em;
                background-color: #ccc;
                position: absolute;
                top: 0;
                bottom: 0;
                right: 0;
                margin: auto;
            }
        }
        .yoyaku{
            a{
                font-size: 13px;
                background-color: #fff;
                border: 1px solid #000;
                width: 160px;
                height: 44px;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 22px;
                transition: .2s;
                &:hover{
                    opacity: .8;
                }
            }
        }
    }
    .openbtn{
        display: none;
    }
}
/*800以上1600未満*/
@media (min-width: 800px) and (max-width: 1599px) {
    .header-02{
        margin-top: 20px;
    }
    .header-03{
        position: absolute;
        right: 15px;
        top: 40px;
    }
}
/*1600以上*/
@media screen and (min-width: 1600px) {
    header{
        max-width: 1820px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        padding: 40px 15px;
    }
    .header-nav{
        width: calc(100% - 380px);
    }
    .header-nav-wrap{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
}

/*スクロールトップ*/
.pagetop{
    position: fixed;
    bottom: 30px;
    right: 30px;
    color: rgb(204, 204, 204);
    background: #000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 120;
    a {
        width: 40px;
        height: 80px;
        display: block;
        font-size: 10px;
        color: rgb(51, 51, 51);
        padding-top: 50px;
        text-align: center;
        text-decoration: none;
        &::before,
        &::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            width: 2px;
            height: 10px;
            margin: auto;
            background: #ccc;
            transition: all .5s ease;
            transform-origin: top center;
        }
        &::before {
            transform: rotate(45deg);
        }
        &::after {
            transform: rotate(-45deg);
        }
    }
}
@media screen and (max-width: 799px) {
.pagetop{
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
}
}

.tyuusyaku{
    max-width: 1890px;
    padding: 20px 15px;
    margin: 0 auto;
    p{
        font-size: 12px;
    }
}



/***************
footer
*/
/*footer ブロック一つ目*/
.footer-01{
    background-color: #faf7f5;
    a{
        transition: .2s;
        img{
            display: inline;
        }
        &:hover{
            opacity: .8;
        }
    }
    .footer-01-01,
    .footer-01-02,
    .footer-01-03{
        margin-bottom: 20px;
    }
    .footer-01-03-text01{
        font-size: 12px;
    }
    .footer-01-03-text02{
        font-size: 14px;
    }
    .footer-01-nav-01{
        margin-bottom: 10px;
    }
    .footer-01-nav-02{
        display: flex;
        li{
            font-size: 14px;
            margin:0 1em;
            &::before{
                content: "・";
            }
        }
    }
}
.footer-01-inner{
    max-width: 1420px;
    margin: 0 auto;
    padding: 90px 10px 70px;
}
@media screen and (max-width: 799px) {
    .footer-01{
        .footer-01-03-tel.pc{
            display: none;
        }
        .footer-01-03-tel.sp{
            font-size: 30px;
            a{
                text-decoration: underline;
            }
        }
        .footer-01-nav-02{
            justify-content: center;
        }
    }
    .footer-01-inner{
        text-align: center;
    }
}
@media screen and (min-width: 800px) {
    .footer-01{
        .footer-01-03-tel.sp{
            display: none;
        }
    }
    .footer-01-inner{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-01-01{
        max-width: 550px;
    }
    .footer-01-02{
        margin: 0 50px;
    }
}
/*フッター02*/
.footer-02{
    background-color: #fff;
    .inner{
        max-width: 1050px;
        padding: 40px 10px;
        font-size: 13px;
        line-height: 1.5;
        margin: 0 auto;
        em{
            font-style: normal;
            font-weight: bold;
        }
        .lastChild{
            margin-top: 1em;
        }
    }
}
/*フッター03
旧引き継ぎ
*/
.footer-03{
    .cvBlock{
        width: 100%;
        padding:56px 0;
        background-image: url(bg_cv.jpg);
        background-position: center center;
        background-size: cover;
    }
    .cvBlock .inner{
        width: 100%;
        max-width:1120px;
        padding: 0 10px;
        margin:0 auto;
        
    }
    .cvBlock div.btn01,
    .cvBlock div.btn02{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .cvBlock div.btn01 a,
    .cvBlock div.btn02 a{
        min-height:105px;
        padding:5px 0 0;
        border:1px solid #fff;
        font-size:28px;
        line-height:1.4;
        font-family : 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,Georgia,メイリオ,Meiryo,serif;
        color:#fff;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
        
    }
    .cvBlock div.btn01 a:hover, .cvBlock div.btn02 a:hover{
        background-color:#978a5b;
    }
    .cvBlock div a span{ 
        font-size:57%; display:block;
    }
}
@media screen and (max-width: 799px) {
    .footer-03{
        .cvBlock .inner{
            display: block;
        }
        .cvBlock div.btn01{
            margin-bottom: 20px;
        }
        .cvBlock div.btn01 a,
        .cvBlock div.btn02 a{
            min-height: 82px;
            font-size: 18px;
        }
    }
}
@media screen and (min-width: 800px) {
    .footer-03{
        .cvBlock{ 
            min-width:100%;
        }
        .cvBlock .inner{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
        }
    }
}


/*pc用ダミーフッター*/
.footer-04{
    img{
        display: inline;
        -ms-interpolation-mode: bicubic;
vertical-align: bottom;
max-width: 100%;
height: auto;
width: auto;
    }
}

/*sp footer　固定　引き継ぎ*/
@media screen and (max-width: 799px) {
.spfix{
	width:100%;
	background:#dfdfdf;
	z-index:100;
	display:block;
	clear: both;
    position: fixed;
	bottom: 0;
}
.spfix ul{
	padding: 0;
    margin: 0;
}
.spfix ul li{
	width:20%;
	float:left;
	box-sizing:border-box;
	border-right:1px solid #fff;
	padding:5px 10px;
	text-align:center;
}
.spfix ul li:nth-child(4){
	border-right:0;
	background:#191b42;}
.spfix ul li:last-child{
	border-right:0;
	background:#aa9a68;}

.spfix ul li img{
	width:58.5px;
    -ms-interpolation-mode: bicubic;
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
    display: inline;
}
}
@media screen and (min-width: 800px) {
    .spfix{
        display: none;
    }
}
