/* 全体関連 */

html{
    font-size: 62.5%;
}

.kosugi-maru-regular {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1{
    position: relative;
}

h1 img{
    width: 200px;
    height: auto;
    position: fixed;
    z-index: 3;
    top: 20px;
    left: 20px;
}

h2{
    margin: 80px auto 15px;
    font-family: "Kosugi Maru", sans-serif;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    color: #5dff34;
    font-size: 2.5rem;
}

p, li, a, dt, dd{
    font-family: "Kosugi Maru", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 3rem;
}

li{
    list-style-type: none;
}

a{
    text-decoration: none;
    font-size: 2rem;
}

@media screen and (min-width:420px){
    h2{
        margin: 100px auto 20px;
        font-size: 4rem;
    } 
}
@media screen and (min-width:960px){
    h2{
        margin: 120px auto 20px;
        font-size: 4.5rem;
    } 
}

/* header関連 */

.drawer-nav{
    width: 100vw;
    height: 110vh;
    padding: 80px 5% 50px;
    background-color: #ffdbab;
    position: fixed;
    z-index: -1;
    opacity: 0;
    transition: 1s;
    text-align: center;
}

.drawer-nav .link a{
    display: block;
    line-height: 6rem;
}

.drawer-nav p{
    margin: 40px auto 10px;
}

.drawer-nav .sns{
    display: flex;
    justify-content: space-between;
}

.drawer-nav .sns img:nth-child(2){
    width: 20px;
    height: auto;
    margin: 20px auto 20px;
}

.drawer-nav .sns img:nth-child(3){
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.drawer-nav .sns li{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.hmb{
    width: 50px;
    height: 50px;
    position: fixed;
    z-index: 3;
    top: 15px;
    left: calc(100% - 65px);
    cursor: pointer;
}

.hmb span{
    width: 30px;
    height: 2px;
    background-color: #333;
    position: absolute;
    left: 10px;
    transition: .5s;
}

.hmb span:nth-child(1){
    top: 14px;
}

.hmb span:nth-child(2){
    top: 25px;
}

.hmb span:nth-child(3){
    top: 36px;
}

.drawer-nav.open{
    opacity: 1;
    z-index: 2;
    transform: translateY(0);
}

.hmb.active span:nth-child(1){
    transform: rotate(45deg) translate(8px, 7.5px);
}

.hmb.active span:nth-child(2){
    display: none;
    opacity: 0;
}

.hmb.active span:nth-child(3){
    transform: rotate(-45deg) translate(8px, -7.5px);
}

.header-elem{
    width: 100%;
    height: 80px;
    display: none;
}

@media screen and (min-width:420px){
    .drawer-nav{
        padding: 80px 12% 50px;
    }    
}
@media screen and (min-width:960px){
    .drawer-nav{
        padding: 80px 25% 50px;
    }    
}

/* footer関連 */

footer{
    padding: 30px 30px 10px;
    background-color: #21a500;
}

.to-top{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #21a500;
    position: fixed;
    z-index: 1.5;
    bottom: 30px;
    right: 30px;
    text-align: center;
    display: none;
    transition: .5s;
}

.to-top.in-footer{
    background-color: #fff;
}

.to-top a{
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 2px;
    line-height: 5rem;
    transition: .5s;
}

.to-top a.in-footer{
    font-weight: 900;
    color: #21a500;
}

footer .link{
    text-align: center;
}

footer .link li{
    height: 100px;
}

footer a{
    font-size: 1.8rem;
    color: #fff;
}

footer .sns{
    display: flex;
    justify-content: space-between;
}

footer .sns img:nth-child(2){
    width: 40px;
    height: auto;
    margin: 20px auto 20px;
}

footer .sns img:nth-child(3){
    width: 80px;
    height: 80px;
    object-fit: cover;
}

footer .sns li{
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

footer small{
    display: block;
    margin-top: 50px;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
}

@media screen and (min-width:420px){
    footer .link{
        display: flex;
        justify-content: space-between;
    }
}
@media screen and (min-width:960px){
    footer{
        padding: 80px 80px 30px;
    }
    footer a{
        font-size: 2.5rem;
    }
}