@charset "UTF-8";

html,body{
    font-size: 62.5%;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    font-style: normal;
}

.c-sp{
    display: none;
}

/* fadeUp */
.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:0.8s;
    animation-fill-mode:forwards;
    opacity:0;
}

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

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

.fadeUpTrigger{
    opacity: 0;
}

header{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

header h1{
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    gap: 0 15px;
    padding: 15px 0 15px 30px;
    min-width: 261px;
}

header h1 span{
    font-size: 4rem;
    font-family: bodoni-egyptian-pro, serif;
    font-weight: 500;
    font-style: normal;
    padding: 0 0 .5rem;
    display: block;
    line-height: 1;
}

nav{
    display: flex;
    align-items: center;
}

.head-nav-menu{
    display: flex;
    font-size: 1.8rem;
    height: 100%;
    min-height: 100px;
}

.head-nav-menu li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.head-nav-menu li a{
    position: relative;
    padding: 10px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max(7vw,80px);
}

.head-nav-menu li a::before{
    position: absolute;
    content: "";
    width: 25px;
    height: 3px;
    background-color: #2670b9;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: .3s;
}

.head-nav-menu li a:hover::before{
    opacity: 1;
}

.head-nav-menu li:nth-of-type(5){
    padding: 0 4vw;
}

.head-nav-menu li:nth-of-type(5) span{
    font-size: 2.4rem;
    position: relative;
}

.head-nav-menu li:nth-of-type(5) span::after{
    position: absolute;
    content: "";
    background: url(../images/icon-tel.png) no-repeat;
    width: 20px;
    height: 20px;
    left: -30px;
    top: 7px;
}

.head-nav-menu li:nth-of-type(6){
    width: 140px;
    background-color:#000;
    color: #fff;
}

.head-nav-menu li:nth-of-type(6) a{
    height: 100%;
    padding: 2vw 0 0;
    transition:.5s;
    width: 100%;
}

.head-nav-menu li:nth-of-type(6) a:hover{
    background:rgb(0 145 188 / 50%)
}

.head-nav-menu li:nth-of-type(6) a::before{
    display: none;
}

.head-nav-menu li:nth-of-type(6) a span{
    position: relative;
}

.head-nav-menu li:nth-of-type(6) a span::after{
    position: absolute;
    content: "";
    background: url(../images/icon_mail.png) no-repeat;
    width: 33px;
    height: 26px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.nav-toggle{
    display: none;
}

.sub-nav{
    display: none;
}

.sp-on{
    height: 100%;
    overflow: hidden;
}

/* フローティングナビ */
.fix-nav{
    position:fixed;
    right: 5rem;
    bottom: 5rem;
    z-index: 1000;
    opacity: 0;
    transition: .5s;
}

.active{
    opacity: 1;
}

/* footer */
footer iframe{
    width: 100%;
    min-width:initial;
    height: 420px;
    aspect-ratio: 16/9;
    margin: 0 0 130px;
}

footer h2{
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    gap: 0 15px;
    justify-content: center;
    margin: 0 0 30px;
}

footer h2 span{
    font-size: 4rem;
    font-family: bodoni-egyptian-pro, serif;
    font-weight: 500;
    font-style: normal;
    padding: 0 0 .5rem;
    display: block;
    line-height: 1;
}

footer > p{
    font-size:1.8rem;
    text-align: center;
    margin: 0 0 20px;
}

.copy{
    font-size: 1.8rem;
    margin: 18rem 0 0;
    background-color: #000;
    color: #fff;
    padding: 20px;
}

@media screen and (max-width:968px) {
    html,body{
        font-size: 62.5%;
        font-family: "Noto Serif JP", serif;
        font-weight: 400;
        font-style: normal;
    }
    
    .c-sp{
        display: none;
    }
    
    /* fadeUp */
    .fadeUp{
        animation-name:fadeUpAnime;
        animation-duration:0.8s;
        animation-fill-mode:forwards;
        opacity:0;
    }
    
    @keyframes fadeUpAnime{
        from {
            opacity: 0;
            transform: translateY(100px);
        }
    
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .fadeUpTrigger{
        opacity: 0;
    }
    
    header{
        display: flex;
        width: 100%;
        justify-content: space-between;
        height: max(8vw,70px);
    }
    
    header h1{
        font-size: max(2rem,20px);
        font-weight: 600;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        align-items: center;
        gap: 5px 15px;
        padding: 10px 0 8px 10px;
        min-width: initial;
    }
    
    header h1 span{
        font-size: max(3rem,30px);
        font-family: bodoni-egyptian-pro, serif;
        font-weight: 500;
        font-style: normal;
        padding: 0;
        display: block;
        line-height: 1;
        margin: 0;
    }
    
    .head-nav-menu{
        display:none;
    }

    .nav-toggle{
        width: max(8vw,70px);
        height: max(8vw,70px);
        position: absolute;
        top: 0;
        right: 0;
        z-index: 9999;
        display: block;
        background-color: #000;
    }

    .nav-toggle span{
        position: absolute;
        font-size: .9em;
        color: #fff;
        bottom: 5px;
        left: 13px;
    }

    .nav-toggle ul{
        display: flex;
    }

    .nav-toggle ul li {
        position:relative;
        width: 100%;
    }

    .nav-toggle ul li span {
        display: inline-block;
        position: absolute;
        height: 2px;
        background: #fff;
        width: 50%;
        left: max(2vw,18px);
        transition: all 0.4s;
    }
    .nav-toggle ul li span:nth-child(1) {
        top: max(2vw,20px);
    }
    .nav-toggle ul li span:nth-child(2) {
        top: max(3.5vw,32px);
    }
    .nav-toggle ul li span:nth-child(3) {
        top: max(5vw,44px);
    }

    .sp-active span:nth-child(1) {
        transform: translateY(max(1.5vw,13px)) rotate(-45deg);
    }
    .sp-active span:nth-child(2) {
        opacity: 0;
    }
    .sp-active span:nth-child(3) {
        transform: translateY(min(-1.5vw,-10px)) rotate(45deg);
    }

    .head-l-sp {
        width: 50px;
        height: max(8vw,70px);
    }

    .sub-nav{
        background: rgba(0,0,0,.8);
        width: 100vw;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 998;
        opacity: 0;
        transition: all 0.4s;
        display: flex;
        align-items: center;
        visibility: hidden;
    }

    .sub-disp{
        opacity: 1;
        visibility: visible;
    }

    .sp-menu{
        width: 80%;
        margin: auto;
        font-size: max(2vw,2rem);
        font-weight: 500;
        font-style: normal;
        color: #fff;
    }

    .sp-menu a{
        padding: 1.5rem 0;
        display: block;
    }

    .sp-menu li{
        width: 100%;
        text-align: center;
    }

    .sp-menu li span{
        display: block;
        margin-bottom: 5px;
    }

    .sp-menu li:not(:nth-of-type(6)){
        background-color: #2781a1;
        margin: 0 0 15px;
    }

    .sp-menu li:not(:nth-of-type(6)) span{
        font-size: 2.4rem;
        position: relative;
    }
    
    .sp-menu li:not(:nth-of-type(6)) span::after{
        position: absolute;
        content: "";
        background: url(../images/icon-tel-sp.png) no-repeat;
        width: 20px;
        height: 20px;
        left: 50px;
        top: 7px;
    }

    .sp-menu li:nth-of-type(6){
        padding:2rem;
        line-height: 1.5;
    }

    .sp-menu li:nth-of-type(6) span{
        width: 200px;
        position:relative;
        margin: auto;
    }

    .sp-menu li:nth-of-type(6) span::after{
        position:absolute;
        content:"";
        background:url(../images/icon-tel-sp.png) no-repeat;
        width: 20px;
        height: 20px;
        top: 7px;
        left: 10px;
    }

    /* ::-webkit-full-page-media, :future, :root .sp-menu li:nth-of-type(6) span:after{
        top:20px;
    } */

    .sp-on{
        height: 100%;
        overflow: hidden;
    }
    
    /* フローティングナビ */
    .fix-nav{
        position:fixed;
        right: 2rem;
        bottom: 2rem;
        z-index: 1000;
        opacity: 0;
        transition: .5s;
        width: 60px;
    }

    .fix-nav img{
        width:100%;
    }
    
    .active{
        opacity: 1;
    }
    
    /* footer */
    footer iframe{
        width: 100%;
        min-width:initial;
        height: 420px;
        aspect-ratio: 16/9;
        margin: 0 0 130px;
    }
    
    footer h2{
        font-size: 2rem;
        font-weight: 600;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        align-items: center;
        gap: 0 15px;
        justify-content: center;
        margin: 0 0 30px;
        line-height: 2;
    }
    
    footer h2 span{
        font-size: 3rem;
        font-family: bodoni-egyptian-pro, serif;
        font-weight: 500;
        font-style: normal;
        padding: 0;
        display: block;
        line-height: 1;
        text-align: center;
        margin: 0;
    }
    
    footer > p{
        font-size:1.8rem;
        text-align: center;
        margin: 0 0 20px;
    }
    
    .copy{
        font-size: 1.8rem;
        margin: 18rem 0 0;
        background-color: #000;
        color: #fff;
        padding: 20px;
    }
}

@media screen and (max-width:520px) {
    header h1{
        font-size: 18px;
        font-weight: 600;
        display: flex;
        flex-wrap: nowrap;
        align-content: center;
        align-items: flex-start;
        gap: 5px 15px;
        padding: 10px 0 8px 10px;
        min-width: initial;
        flex-direction: column;
    }
    
    header h1 span{
        font-size: 25px;
        font-family: bodoni-egyptian-pro, serif;
        font-weight: 500;
        font-style: normal;
        padding: 0;
        display: block;
        line-height: 1;
        margin: 0;
    }
}