@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@400;500;600;700&display=swap');

/* Reset */
html{font-size: 62.5%; -webkit-font-feature-settings: 'palt' 1; font-feature-settings: 'palt' 1;}
body{letter-spacing: 0.05em; word-spacing: 0; font-family: 'Noto Sans JP', sans-serif;
-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -moz-text-size-adjust: 100%;}

@media print {
    body{color-adjust: exact; -webkit-print-color-adjust: exact; print-color-adjust: exact;}
}

*{margin: 0; padding: 0; box-sizing: border-box; border: 0;}
h1, h2, h3, h4, h5, h6{font-size: 100%; font-weight: bold;}
ol, ul{list-style: none;}
table{border-collapse: collapse; border-spacing: 0;}
a{color: inherit; text-decoration: none;}
img{vertical-align: bottom; max-width: 100%; height: auto;}

input, 
textarea,
select,
option,
optgroup,
button{-webkit-appearance: none; border-radius: 0;}

.container{margin: 0 auto; max-width: 1200px; width: calc(100% - 50px);}

.font-optima{ font-family: "optima", sans-serif; font-weight: normal; display: inline-block;}
.font-optima .decrease{ font-size: 0.7em;}

.btn__more {  display: block; margin: 0 auto; border: 1px solid #424242; position: relative; transition: 0.2s linear; margin-top: 70px; width: 226px; height: 54px; margin: 35px 0px 0px;}
.btn__more::after { content: ""; position: absolute; display: inline-block; width: 0;height: 0; border-top: 8px solid transparent; border-left: 14px solid #000000; border-bottom: 8px solid transparent; bottom: 7px; right: 7px;}
.btn__more span { font-size: 1.6rem; line-height: 1; }
.btn__more span:not(.font-optima){position: absolute; top: 8px; left: 10px; }
.btn__more:hover{ background: #000000; color: #ffffff;}
.btn__more:hover::after{ border-left-color: #ffffff;}
@media (max-width: 768px){
    .btn__more { width: 170px; height: 40px; margin: 25px 0 0 0;}
    .btn__more span { font-size: 1.3rem; left: 5px;}
    .btn__more::after { border-top: 6px solid transparent; border-left: 10px solid #000000; border-bottom: 6px solid transparent;}
}

@font-face {
    font-family: optima;
    src: url('../fonts/optima.otf') format("opentype");
    src: url('../fonts/optima.woff') format('woff');
    src: url('../fonts/optima.ttf') format('truetype');
}

@media (min-width: 769px){
	body{font-size: 1.6rem; line-height: 2;}
    a[href^="tel:"]{pointer-events: none;}
    .only-sp{display: none !important;}
}

@media (max-width: 768px){
	body{font-size: 1.4rem; line-height: 1.7;}
    .only-pc{display: none !important;}
}

/* Header */
header h1{
    width: 16.66%;
}
header h1 a{
    display: flex;
    align-items: center;
}
header h1 a img{
    transition: 0.2s linear;
}
header.header-scroll h1 a img{
    width: 90%;
}
.header-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px 0 23px;
    background: rgba( 255, 255, 255, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: 0.2s linear;
    z-index: 1040;
}
.header-wrap.header-scroll{
    background: #ffffff;
    transition: 0.2s linear;
}

.menu-wrap{
    /* width: 58.855%; */
}
.menu-inner{
    display: flex;
    align-items: center;
    position: relative;
}
.menu-item{
    font-size: 1.4rem;
    margin-right: min(1.5vw, 21px);
    padding: 25px 0;
}
.menu-item:last-of-type{
    margin-right: 0;
}
.menu-item a:hover{
    opacity: 0.7;
}
.menu-child{
    padding-right: 10px;
}
.menu-child.menu-item > p{
    display: flex;
    align-items: center;
}
.menu-child.menu-item > p::after{
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #000000;
    margin-left: 3px;
    transition: 0.2s ease-in-out;
    cursor: pointer;
}

.menu-child__head{
    width: 290px;
}
.menu-child__title{    
    font-size: 3rem;
    font-weight: bold;
}
.btn__base{
    display: block;
    font-size: 1.6rem;
    width: 100%;
    position: relative;
    margin-top: 10px;
}
.btn__base i{
    content: "";
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-left: 8px solid #000000;
    border-bottom: 5px solid transparent;
}
.btn__base::after, 
.btn__base::before{
    background: #000000;
    content: "";
    height: 2px;
    width: 100%;
    bottom: -10px;
    left: 0;
    pointer-events: none;
    position: absolute;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.47,.16,.24,1);
}
.btn__base::before{
    transform: scaleX(1);
    transform-origin: left top;
    transition-duration: .65s;
}
.btn__base::after{
    transform: scaleX(0);
    transform-origin: right top;
    transition-duration: .35s;
}
.btn__base:hover::before{
    transform: scaleX(0);
    transform-origin: right top;
    transition-duration: .35s;
}

.btn__base:hover::after{
    transform: scaleX(1);
    transform-origin: left top;
    transition-duration: .65s;
}
.btn__base--wh::after, .btn__base--wh::before{
    background: #ffffff;
    height: 1px;
}
.btn__base--wh i{
    border-left: 8px solid #ffffff;
}

.menu-child__link{
    /* width: 240px; */
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.menu-child__link li{
    margin-bottom: 0;
}
.menu-child__link a{
    font-size: 1.3rem;
}
.menu-child__link a::before{
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-left: 11px solid #000000;
    border-bottom: 6px solid transparent;
    margin-right: 5px;
}
.menu-child__img{
    width: 120px;
}   

.btn-menu{
    position: fixed; 
    top: 10px; 
    right: 25px; 
    width: 45px; 
    height: 50px;  
    z-index: 110; 
    cursor: pointer;
}
.btn-menu span{
    width: 45px; 
    height: 2px; 
    position: absolute; 
    left: 0; 
    display: block; 
    background: #231815; 
    transition: .3s;
}
.btn-menu span:nth-of-type(1){top: 17px;}
.btn-menu span:nth-of-type(2){top: 25px;}
.btn-menu span:nth-of-type(3){top: 33px;}

.is-show .btn-menu span:nth-of-type(1){top: 25px; transform: rotate(45deg);}
.is-show .btn-menu span:nth-of-type(2){width: 0;}
.is-show .btn-menu span:nth-of-type(3){top: 25px; transform: rotate(-45deg);}

.btn-menu{display: none;}
.disable{
    opacity: .3;
    pointer-events: none;
}
@media (min-width: 1281px){
    .menu-child__wrap{
        position: absolute;
        width: 100%;
        min-height: 140px;
        opacity: 0;
        visibility: hidden;
        /* background: rgba( 0, 0, 0, 0.1); */
        background: rgba( 255, 255, 255, 0.7);
        top: 100%;
        left: 0;
        padding: 0 38px 10px 38px;
        display: flex;
        justify-content: space-between;
        transition: all 0.2s ease-in-out;
    }
    .menu-child-scroll.menu-child__wrap{
        /* background: #e5e5e5; */
        background: rgba( 255, 255, 255, 0.9);
    }
    .menu-child:hover .menu-child__wrap{
        opacity: 1;
        visibility: visible;
    }
    .menu-child__head,
    .menu-child__link,
    .menu-child__img{
        position: relative;
        transform: translateY(-10px);
        transition: 0.3s ease-in-out;
    }
    .menu-child:hover .menu-child__head,
    .menu-child:hover .menu-child__link,
    .menu-child:hover .menu-child__img{
        transform: translateY(0);
    }
    .only-menu-sp{
        display: none;
    }
}

@media screen and  (max-width: 1380px) and (min-width: 1280px) {
    .menu-child { font-size: 1.3rem; padding-right: 0;}
	.menu-item:nth-child(9) > a .txt-wavy2 { width: auto;}
}
@media (max-width: 1280px){
    .only-menu-sp{
        display: block;
    }
    .only-menu-pc{
        display: none !important;
    }
    .btn-menu{
        display: block;
    }
    .menu-wrap{
        overflow: auto;
        height: 100vh;
        position: fixed;
        transform: translateX(100%);
        padding: 2% 8%;
        top: 76px;
        right: 0;
        background: #ffffff;
        width: 82.93%;
        z-index: 10;
        opacity: 0;
        visibility: hidden;
        transition-duration: .75s;
        transition-timing-function: cubic-bezier(.47,.16,.24,1);
    }
    .menu::after{
        display: inline-block;
        position: fixed;
        content: "";
        top: 76px;
        left: 0;
        height: 100vh;
        width: 100%;
        background: rgba( 0, 0, 0, 0.8);
        z-index: 0;
        opacity: 0;
        visibility: hidden;
        transition: 0.2s ease-in-out;
        transition-duration: 1s;

    }
    .is-show .menu-wrap{
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    .is-show .menu::after{
        opacity: 1;
        visibility: visible;
    }
    .menu-inner{
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 100px;
    }
    .menu-item{
        margin: 15px 0;
        padding: 0;
        font-size: 1.6rem;
    }
    .menu-child__link a{
        font-size: 1.4rem;
    }
    header h1{
        width: fit-content;
    }
    .header-wrap{
        padding: 0 25px;
        height: 76px;
    }

    .menu-child__head,
    .menu-child__img{
        display: none;
    }
    .menu-child__wrap{
        padding: 10px 0 0 25px;
    }
    .js-menu-hide{
        display: none;
    }
    .js-menu-show.is-open::after{
        transform: rotate(60deg);
    }
    .menu-child.menu-item > p::after {
        margin-top: 2px;
    }
}
@media (max-width: 768px){
    header h1{
        width: 54.6875%;
        min-width: 200px;
    }
    .menu-child__link {
        display: block;
        margin-bottom: 3px;
    }
}
.img-hover img{
    transition: 0.2s linear;
}
.img-hover{
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
}
.img-hover:hover img{
    transform: scale(1.02);
}
.main-title{
    font-size: 3rem;
    font-weight: bold;
}
.ex-link:hover{
    text-decoration: underline;
}
@media (max-width: 768px){
    .main-title{
        font-size: 2.2rem;
    }
}


/* Footer */
.footer-wrap{
    background: #333333;
    color: #ffffff;
    padding: 100px 0;
    border-bottom: 1px solid #ffffff;
}

.footer__inner{
    position: relative;
    gap: 30px;
    margin-bottom: clamp(65px, 10vw, 100px);
}
.footer__contact{
    font-size: 1.2rem;
}
.footer__logo{
    margin-bottom: 25px;
}
.footer__tel{
 margin-left: 1.6%;
}
.footer__contact ul li{
    margin-bottom: 30px;
    font-size: 1.2rem;
}
.footer__contact ul li.flex{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.footer__contact ul li.flex div:first-child{ 
    width: 48%;
}
.footer__contact .kensetsu p{  
    text-indent: -7.5rem; 
    padding-left: 7.5rem;
}
.footer__service{
    font-size: 1.3rem;
}
.copyright{
    font-size: 1.2rem;
    margin-left: 50%;
}

@media (max-width: 1400px){
    .footer__contact ul li.flex div:first-child{ 
        width: 100%;
    }
    .footer__tel{
        margin-top: 1rem;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px){
    .footer-wrap{
        padding: 60px 0 50px;
    }
    .footer__contact { 
        width: 100%;
        border-bottom: 1px solid #fff;
    }
    .footer__contact ul li{
        margin-top: 50px;
    }
    .footer__contact ul li.flex{
        flex-wrap: wrap;
    }
    .footer__contact ul li.flex div:first-child{ 
        width: 100%;
    }
    .footer__contact .kensetsu p{  
        text-indent: 0; 
        padding-left: 0;
        margin-bottom: 1rem;
    }
    .footer__service{
        padding-top: 20px;
    }
    .copyright{
        font-size: 0.9rem;
        margin-left: 0;
        text-align: right;
    }
}

/* Animate */
.inView{}
.fade-in{opacity: 0; transition: opacity 1.2s;}
.fade-in.is-view{opacity: 1;}

.fade-up{opacity: 0; transform: translateY(60px); transition: opacity 1.2s, transform 1.2s;}
.fade-up.is-view{opacity: 1; transform: translateY(0);}

.fade-right{opacity: 0; transform: translateX(-60px); transition: opacity 1.2s, transform 1.2s;}
.fade-right.is-view{opacity: 1; transform: translateX(0);}

.fade-left{opacity: 0; transform: translateX(60px); transition: opacity 1.2s, transform 1.2s;}
.fade-left.is-view{opacity: 1; transform: translateX(0);}

@media (min-width: 768px){
	.delay03{transition-delay: .3s;}
	.delay06{transition-delay: .6s;}
}


/* ---------------------------------- */
.menu-item:nth-child(1) > a .txt-wavy2{
    width: 38px;
}
.menu-item:nth-child(2) > a .txt-wavy2{
    width: 60px;
}
.menu-item:nth-child(3) > a .txt-wavy2{
    width: 60px;
}
.menu-item:nth-child(4) > a .txt-wavy2{
    width: 135px;
}
.menu-item:nth-child(5) > a .txt-wavy2{
    width: 60px;
}
.menu-item:nth-child(6) > a .txt-wavy2{
    width: 89px;
}
.menu-item:nth-child(7) > a .txt-wavy2{
    width: 116px;
}
.menu-item:nth-child(8) > a .txt-wavy2{
    width: 60px;
}
.menu-item:nth-child(9) > a .txt-wavy2{
    width: 88px;
}
.txt-wavy2{
    overflow: hidden;
    display: block;
}
.span-txt{
    position: relative;
    display: block;
    transition: transform 500ms ease;
}
.span-txt2{
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease; 
}
.txt-wavy2:hover .span-txt{
    transform: translateY(-100%);
}
.txt-wavy2:hover .span-txt2{
    opacity: 1;
}

/* 下層ページbranch */

.branch{ font-size: 1.8rem; margin-bottom: 30px;}
.branch a:hover{ text-decoration: underline;}
.branch span{ display: inline-block; padding: 0 15px;}
.branch span.font-optima{ padding: 0;}

@media (max-width: 768px){
.branch{ margin-bottom: 30px; font-size: 1.2rem;}
.branch span{ padding: 5px;}
}

/* 下層ページ下部ボタン */
.btm_btn_Box{ margin: 140px auto 130px;}
.btm_btn_Box ul{ align-items:stretch }
.btm_btn_Box ul::after { content: ""; display: block; flex-basis: 28.58%; font-weight: bold;}
.btm_btn_Box ul li { flex-basis: 28.58%; font-weight: bold;}
.btm_btn_Box ul li a{ position: relative; width: 100%;  line-height: 1.5; padding: 1em 1em 1em 0; border:solid #000 ; border-width: 1px 0 1px 0; transition: .2s cubic-bezier(0.45, 0, 0.55, 1); align-items: center; flex-wrap: wrap;}
.btm_btn_Box ul li:nth-of-type(n + 4) a{ border-top: none;}
.btm_btn_Box ul li a::after{ content: ""; position: absolute; background-color: #000; width: 13px; height: 15px; clip-path: polygon(0 0, 0% 100%, 100% 50%); top: 50%; transform: translate(-50%,-50%); right: 0; }
.btm_btn_Box ul li span:first-of-type{ font-size: 21px; }
.btm_btn_Box ul li span:nth-of-type(2){ display: block; font-size: 14px;}
.btm_btn_Box ul li a:hover{ background: #000000; color: #ffffff;}
.btm_btn_Box ul li a:hover::after{ background: #fff;}

@media (max-width: 1400px){
    .btm_btn_Box ul li span:first-of-type{ font-size: clamp(1.6rem,2vw,2.1rem); }
    }

@media (max-width: 768px){
    .btm_btn_Box{ margin: 50px auto 68px;}
    .btm_btn_Box ul li { flex-basis: 46%;}
    .btm_btn_Box ul li:nth-of-type(n+3) a{ border-top: none;}
    .btm_btn_Box ul li span:first-of-type{ font-size: clamp(1.4rem,2.6vw,2rem); padding-right: 1.2em;}
    .btm_btn_Box ul li span:nth-of-type(2){     font-size: clamp(11px , 1.5vw, 12px);}
}

/* 下層ページMV */
.mv img{ width: 100%;}