@charset "UTF-8";

html{
    font-size: 100%;
}
body{
    font-size: 0.875rem;
    color: #000000;
    background-color: #F7F0DF;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
img{
    /*max-width: 100%;*/
    vertical-align: top;
}
li{
    list-style: none;
}
a{
    display: block;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
}
.wrapper{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2%;
}
h1,h2,h3,h4,h5{
    font-weight: 500;
}

/* header全体 */
header{
    position: fixed;
    top: 0;
    z-index: 500;
    width: 100%;
}
.top-flex{
    background-color: white;
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: center;
    box-shadow: 1px 1px 3px gray;
}

/* タイトル */
.title{
    font-family: 'Zen Maru Gothic', serif;
    padding: 0 20px;
    border-left: 2px solid #FF9D00;
    border-right: 2px solid #5EBA4E;
    text-align: center;
}
h1{
    font-size: 1.5rem;
}
.title p{
    font-size: 1.125rem;
}

/* ハンバーガーメニュー */
.hamburger{
    display: none;
}

/* グローバルメニュー */
.menu{
    height: 60px;
    display: flex;
    align-items: flex-end;
    text-align: center;
    padding: 0;
}
.menu li{
    padding: 0 20px;
    border-right: 1px dashed #FF9D00;
}
.menu li:first-child{
    border-left: 1px dashed #FF9D00;
}
.menu a{
    font-weight: 400;
}
.menu li a p{
    padding-top: 5px;
    font-size: 0.75rem;
    font-weight: 400;
}

/* グローバルメニュー ホバー時にアイコンを動かす*/
.menu li a:hover p{
    opacity: 0.5;
}

.menu li a:hover img{
    animation: menuhover 0.3s ease-in-out;
    opacity: 0.5;
}

@keyframes menuhover{
    0%{transform: translateY(0); opacity: 1;}
    60%{transform: translateY(-15px);}
    75%{transform: translateY(0px);}
    95%{transform: translateY(-5px);}
    100%{transform: translateY(0px); opacity: 0.5;}  
}

/* グローバルメニュー レスポンシブ */
.menu-sp{
    display: none;
}



/* フッター */
footer{
    background-color: #5A4A3F;
    padding: 60px 0 ;
    margin-top: 60px;
    color: white;
    text-align: center;
    font-size: 0.875rem;
}
footer a{
    color: white;
}

/* フッター　メニュー */
table{
    text-align: left;
}
table td{
    width: 28%;
    padding-bottom: 20px;
}
table a:hover{
    opacity: 0.5;
}

/* フッター　社名 */
.footer-title{
    font-size: 1.125rem;
    font-family: 'Zen Maru Gothic', serif;
    font-weight: 500;
    margin-bottom: 20px;
    margin-top: 50px;
}
.name{
    font-size: 1.5625rem;
}
.footer-text{
    margin-bottom: 20px;
}

/* コピーライト */
.copy{
    font-size: 0.75rem;
}





@media screen and (max-width: 767px){

    body{
        display: block;
    }
    .top-flex{
        height: 80px;
    }

    /* タイトル */
    h1{
        font-size: 1.25rem;
    }
    .title p{
        font-size: 1rem;
    }
    

    /* ハンバーガーメニュー */
    .hamburger{
        display: block;
        width: 55px;
        height: 55px;
        position: relative;
        background-color: #FF9D00;
        color: white;
    }
    .line1,.line2,.line3{
        position: absolute;
        width: 60%;
        border-top: solid 1px white;
        left: 50%;
        transform: translateX(-50%);
    }
    .line1{
        top: 20%;
        transition: all 0.3s;
    }
    .line2{
        top: 40%;
        transition: all 0.3s;
    }
    .line3{
        top: 60%;
        transition: all 0.3s;
    }
    .hamburger .text{
        position: absolute;
        top: 68%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.625rem;
        white-space: nowrap;
        font-weight: 500;
    }

    /* グローバルメニュー */
    .menu{
        display: none;
    }

    /* グローバルメニュー レスポンシブ */
    .menu-sp{
        background-color: rgba(255, 255, 255, 0.9);
    }
    .menu-sp li{
        padding: 15px 20px;
        border-bottom: dotted 1px #FF9D00;
    }
    .menu-sp li:first-child{
        border-top: solid 2px #FF9D00;
    }
    .menu-sp a{
        display: flex;
        align-items: center;
        font-weight: 500;
    }
    .menu-sp img{
        margin-right: 20px;
    }
    
    /* フッター　メニュー */
    table td{
        width: 100%;
        display: block;
        text-align: center;
    }

    /* フッター　社名 */
    .footer-title{
        font-size: 1rem;
    }
    .name{
        font-size: 1.25rem;
    }

        

}