@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'SawarabiGothic';
    src: url(../font/SawarabiGothic/SawarabiGothic-Regular.ttf);
}

@font-face {
    font-family: 'ZenKakuGothicAntique';
    src: url(../font/ZenKakuGothicAntique/ZenKakuGothicAntique-Regular.ttf);
}

body {
    font-family: 'SawarabiGothic';
    font-size: 2.5vw;
    color: #4c4c4c;
    position: relative;
}

.header-flex {
    display: flex;
}

/*header*/
.header-flex {
    position: relative;
}

header{
    position: absolute;
    width: 100%;
    z-index: 2000;
}

header h1{
    width: 30vw;
    margin: 1% 0 0 1%;
}

header h1 img{
    width: 100%;
}

.hunbarg {
    position: absolute;
    top:0vw;
    right: 1vw;
    width: 8vw;
    height: 8vw;
    z-index: 200;
}

.header-line{
    position: absolute;
    width: 7.5vw;
    height: 6.8vw;
    top: 8vw;
    right: 0;
    border-radius: 50%;
    background: rgb(62,106,156);
    background: linear-gradient(270deg, rgba(62,106,156,1) 0%, rgba(41,76,116,1) 100%);
    padding-top: 0.5vw;
}

.header-line .line {
    display: block;
    width: 4vw;
    height: 0.5vw;
    border-radius: 2vw;
    background-color: white;
    margin: 1vw auto;
}


.hunbarg nav {
    position: absolute;
    top: 16vw;
    right: 0;
    width: 44vw;
    padding: 3% 0;
    
}

.hunbarg:hover nav ul{
    height: 60vw;
    opacity: 1;
}
.hunbarg nav ul {
    height: 0vw;
    background: rgb(62,106,156);
    background: linear-gradient(270deg, rgba(62,106,156,1) 0%, rgba(41,76,116,1) 100%);
    overflow: hidden;
    opacity: 0;
}

.hunbarg nav ul li {
    list-style: none;
    text-align: center;
    line-height: 4;
}

.hunbarg nav ul li a{
    display: block;
    text-decoration: none;
    color: white;
}

/*
header {
    position: absolute;
    width: 100%;
    z-index: 200;
    background-color: #c7c4c0;    
}

header h1 {
    width: 30%;
    margin: 0.5vw;
    position: fixed;
    z-index: 1000;
}

header h1 img {
    width: 100%;
}

header nav {
    position: relative;
    margin-top: 8%;
}

header nav::before {
    position: absolute;
    content: "";
    height: 21vw;
    left: -1vw;
    animation: withAnime 3s infinite;
}

header nav ul {
    display: flex;
}

header nav ul li {
    list-style-type: none;
    line-height: 2.5;
    padding: 0 1vw;
    margin: 0 0.5vw;
}

header nav ul li a {
    display: block;
    color: #8c867b;
    text-decoration: none;
    transition: 0.5s;
    font-size: 2.3vw;
}

header nav ul li a:hover {
    color: #F17633;
}

header nav ul li:nth-child(1),
header nav ul li:nth-child(6){
    display: none;
}
*/
/*お問い合わせbutton*/

.header-flex header + p {
    position: relative;
    position: fixed;
    right: 1.5%;
    font-size: 2.5vw;
    width: 10em;
    height: 7vw;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 2.9;
    background-color: #294C74;
    border-radius: 0 0 1.5vw 1.5vw; 
    z-index: 3000;   
}

.header-flex header + p a {
    display: block;
    color: white;
    text-decoration: none;
}

/*main共通*/

main h2 {
    position: relative;
    color: #4c4c4c;
    font-size: 1.8vw;
    line-height: 2.0;
    font-weight: 100;
    margin-left: 3vw;
}

main h2::before {
    content: "";
    display: block;
    width: 1.5vw;
    height: 2.0vw;
    top: 1.2vw;
    left: -3vw;
    border-top: 0.2vw solid #F17633;
    position: absolute;
}

/*メインビジュアル*/
main {
    position: relative;
}

main div:nth-child(1) {
    width: 100%;
    position: static;
    z-index: -100;
}

main div:nth-child(1) img {
    width: 100%;
}

main div:nth-child(1) + p {
    font-family: 'ZenKakuGothicAntique';
    font-size: 4vw;
    color: #294C74;
    position: absolute;
    top: 15vw;
    right: 8vw;
}

/*メリット*/

.margin-box section:nth-of-type(1) {
    position: relative;

}

.margin-box section:nth-of-type(1)::before{
    content: "";
    background-image: url(../images/icon-traning2.png);
    width: 20vw;
    height: 20vw;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    opacity: 0.8;
    top: -23vw;
    left: 40vw;
    position: absolute;
}

.margin-box section:nth-of-type(1) p:nth-of-type(1){
    display: block;
    width: 80%;
    text-indent: 1em;
    line-height: 2.1;
    letter-spacing: 0.1em;
    margin: 28% auto 10% auto;
}


.margin-box section:nth-child(1) h3 {
    display: block;
    width: 40%;
    font-family: 'ZenKakuGothicAntique';
    letter-spacing: 0.6em;
    color: #294C74;
    text-align: center;
    position: relative;
    margin: 0 auto;
}

.margin-box section:nth-child(1) h3::before{
    content: "";
    width: 3vw;
    height: 4vw;
    transform: rotate(-40deg);
    border-left: 0.25vw solid #294C74;
    bottom: 0.8vw;
    left: -2.5vw;
    position: absolute;
}

.margin-box section:nth-child(1) h3::after{
    content: "";
    width: 3vw;
    height: 4vw;
    transform: rotate(40deg);
    border-right: 0.25vw solid #294C74;
    bottom: 0.8vw;
    position: absolute;

}

.merit-flex {
    width: 80%;
    margin: 3% auto 8% auto;
    border-radius: 2vw;
    background-color: #8d97a1;
}

.merit-flex + p {
    width: 80%;
    line-height: 2.1;
    letter-spacing: 0.1em;    
    text-indent: 1em;
    margin: 0 auto;
}

.merit-flex ul {
    border-radius: 1vw;
    padding: 3% 5% 3% 15%;
}

.merit-flex ul li {
    color: white;
    line-height: 2;
    list-style: none;
    position: relative;
    margin: 6%;
}

.merit-flex ul li::before {
    content: "";
    background-image: url(../images/icon1.png);
    background-size: 100% 100%;
    background-position: center;
    width: 3.5vw;
    height: 7vw;
    bottom: 1.5vw;
    left: -8vw;
    transform: rotate(-15deg);
    position: absolute;
}

/*受講無料案内*/
.merit-box {
    width: 90%;
    margin: 10% auto;
    position: relative;
    z-index: 20;
}

.merit-box::after {
    content: "";
    width: 70vw;
    height: 35vw;
    background-image: url(../images/traning-img2.png);
    background-size: 100% 100%;
    background-position: center;
    bottom: -5.5vw;
    right: 5.7vw;
    position: absolute;
    z-index: -20;
}

.merit-box ul {
    width: 60%;
    margin: 0 27% 0 13%;
}
.merit-box ul li {
    list-style: none;
    line-height: 3.0;
    font-family: 'ZenKakuGothicAntique';
    text-align: center;
    letter-spacing: 0.2em;
    color: #4c4c4c;
}

.merit-box ul li span {
    color: #F17633;
    font-size: 3vw;
    font-weight: bold;
    letter-spacing: 0.3em;
    margin: 0 0.3em;
    border-bottom: 0.3vw solid#F17633;
}

/*開催報告*/

.infor-box {
    margin-top: 8%;
}

.infor-box h2 {
    position: relative;
    color: #4c4c4c;
    font-size: 2vw;
    line-height: 2.0;
    font-weight: 100;
    margin-left: 14%;
}

.infor-box h2::before {
    content: "";
    display: block;
    width: 1.5vw;
    height: 2.0vw;
    top: 1.8vw;
    left: -3vw;
    border-top: 0.2vw solid #F17633;
    position: absolute;
}

.infor-box div {
    margin: 8% 0 10% 0;
}

.infor-box div ul {
    display: flex;
    margin: 0 auto;
    width: 85%;
    border-bottom: 0.05vw solid #8c867b;
}

.infor-box div ul:nth-of-type(1){
    border-top: 0.05vw solid #8c867b;
}

.infor-box div ul li {
    color: #4c4c4c;
    width: 80%;
    line-height: 1.8;
    margin: 2% 0 2% 2%;
    list-style: none;
    font-size: 2.2vw;
}

.infor-box div ul li:nth-of-type(1) {
    display: inline-block;
    width: 20%;
}

/*お問い合わせ下部*/
.form-box {
    background-color: #F17633;
    padding: 8% 0;
}

.form-box div {
    width: 80%;
    margin: 0 auto;
}

.form-box div p:nth-of-type(1){
    white-space: pre-wrap;
    letter-spacing: 0.2em;
    line-height: 2.0;
    color: white;
}

.form-box div p:nth-of-type(2){
    width: 75%;
    color: white;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.1em;
    margin: 5% auto;
    padding: 1% 1% 1% 3%;
    border: 0.1vw solid white;
}

.form-box div + p {
    width: 55%;
    text-align: center;
    letter-spacing: 0.2em;
    line-height: 4;
    margin: 0 auto;
}

.form-box div + p a {
    background-color: white;
    display: block;
    border-radius: 5vw;
    padding-right: 3vw;
    text-decoration: none;
    color:#F17633;
    position: relative;
    transition: 0.5s;
}

.form-box div + p :hover{
    background-color: #294C74;
    color: white;
    transition: 0.5s;
}

.form-box div + p a::after {
    content: "";
    width: 1.8vw;
    height: 1.8vw;
    border-bottom: 0.2vw solid #F17633;
    border-right: 0.2vw solid #F17633;
    transform: rotate(-45deg);
    bottom: 4vw;
    right: 7vw;
    position: absolute;
    
}
/*footer*/
footer {
    background-color: #294C74;
}

.footer-flex {
    display: flex;
    margin: 0 auto;
}

.footer-flex div {
    width: 8%;
    margin-left: 20%;
    margin-top: 3%;
}

.footer-flex div img {
    width: 100%;
}

.footer-flex p {
    color: #F17633;
    font-size: 3vw;
    font-weight: bold;
    margin-left: 2%;
    margin-top: 3%;
}

footer div p span {
    font-size: 1.8vw;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.footer-box div:nth-of-type(2) {
    display: flex;
    width: 80%;
    margin: 0 auto;
}

.footer-box div:nth-of-type(2) ul {
    margin: 3% auto;

}

.footer-box div:nth-of-type(2) ul li {
    list-style: none;
    position: relative;
}
.footer-box div:nth-of-type(2) ul li::before{
    content: "";
    width: 0.8vw;
    height: 0.8vw;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    background-color: #F17633;
    bottom: 0.5vw;
    left: -1.5vw;
    position: absolute;
}

.footer-box div:nth-of-type(2) ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 2vw;
}
.footer-box div:nth-of-type(2) ul li a:hover{
    color: #F17633;
}

/*コピーライト*/
footer div + p {
    color: white;
    text-align: center;
    line-height: 1.8;
    padding: 2% 0;
}




