@charset "UTF-8";

@font-face {
    font-family: "melonano";
    src: url(../font/Melonano_Ver.1.31.ttf) format("truetype");
}

html{
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body{
    background-image: url(../img/white.webp);
}

li{
    list-style: none;
}

a{
    text-decoration: none;
}

a:link{
    color: #1f1f1f;
}

a:visited{
    color: #1f1f1f;
}

.here a:visited{
    color: #31aae2;
}

#header{
    width: 100vw;
    height: 80px;
    background-color: #fff;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    border-bottom: 3px solid black;
}

#header .logo {
    height: 80px;
    margin-left: 30%;
}

#header .logo img{
    width: 200px;
    position: relative;
    top: 20px;
}


#header .navi{
    width: 80%;
    margin-left: 10px;
}
   

#header .navi .menu{
    display: flex;
    align-items: center;
}

#header .navi .menu li{
    color: #1f1f1f;
    padding: 0 20px;
    text-align: center;
}

#header .navi .menu a{
    position: relative;
    display: inline-block;
    transition: .3s;
}

#header .navi .menu a:hover{
    color: #31aae2;
}

#header .navi .menu a::after{
    position: absolute;
    bottom: 0;
    left: 50%;
    content: '';
    width: 0;
    height: 2px;
    background-color: #31aae2;
    transition: .3s;
    transform: translateX(-50%);
}

#header .navi .menu .here a::after{
    width: 100%;
}

#header .navi .menu a:hover::after{
    width: 100%;
}

#footer{
    display: flex;
    color: #fff;
    background-color: #1f1f1f;
    justify-content: space-between;
    padding: 80px 5%;
}

#footer a:link{
    color: #fff;
}

#footer a:visited{
    color: #fff;
}

#footer .info-area{
    text-align: center;
}

#footer .info-area .logo{
    width: 100%;
    max-width: 250px;
}

#footer .info-area .logo img{
    width: 200px;
}

#footer .profile{
    text-align: center;
}

#footer .info-area .profile .profile-img img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: solid 1px #1f1f1f;
}

#footer .info-area .profile p{
    width: 450px;
    margin: 10px auto;
}

#footer .info-area .copyright{
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

#footer .menu-area{
    width: 65%;
    display: flex;
    justify-content: flex-end;
}

#footer .menu-area .menu-col{
    width: 100%;
    max-width: 400px;
}

#footer .menu-area .menu-col .menu-title{
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #fff;
}

#footer .menu-area .menu-col .menu-list li{
    font-size: 18px;
    margin-bottom: 20px;
}

#footer .menu-area .menu-col .menu-list li::before{
    content: "-";
    margin-right: 10px;
}

#page-header{
    margin: 80px 0;
    position: relative;
    top: 0;
    left: 0;
    align-items: center;
    height: 200px;
}

#page-header .page-title-area{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    background-color: rgba(51, 51, 51, 0.9);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    font-family: "melonano", sans-serif;
}

#page-header .page-title-area .page-title{
    display: block;
    font-size: clamp(2em,5vw,46px);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0 auto;
}

.form{
    width: 640px;
    height: 1200px;
    margin: 0 auto 20px;
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------------------------------------*/


@media screen and (max-width: 1076px){
    #header .logo{
        margin: 0 auto;
    }

    #header .hamberger{
        width: 50px;
        height: 50px;
        cursor: pointer;
        position: fixed;
        top: 15px;
        right: 30px;
        z-index: 30;
    }

    #header .hamberger span{
        width: 30px;
        height: 3px;
        background-color: #000;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition: all 0.4s;
    }

    #header .hamberger span:nth-of-type(1){
        top: 16px;
    }

    #header .hamberger span:nth-of-type(2){
        top: 25px;
    }

    #header .hamberger span:nth-of-type(3){
        top: 34px;
    }

    #header .navi{
        width: 80%;
        height: 100vh;
        background-color: #fff;
        position: fixed;
        top: 0;
        right: -80%;
        z-index: 20;
        transition: all 0.6s;
    }

    #header .navi .menu{
        width: 100%;
        height: 100vh;
        flex-direction: column;
        padding: 60px 0;
        overflow: auto;
    }

    #header .navi .menu li{
        padding: 10px 0;
        margin-left: 0;
    }

    #header .navi.active{
        right: 0;
    }

    #header .hamberger.active span:nth-of-type(1){
        top: 24px;
        transform: rotate(-45deg);
    }

    #header .hamberger.active span:nth-of-type(2){
        opacity: 0;
    }

    #header .hamberger.active span:nth-of-type(3){
        top: 24px;
        transform: rotate(45deg);
    }

    #footer{
        display: block;

    }

    #footer .menu-area{
        width: 100%;
        display: block;

    }
    
    #footer .info-area .profile p{
        max-width: 310px;
    }

}