@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: 1.2vw;
    color: #4c4c4c;
}

.header-flex {
    position: relative;
    display: flex;
}

/*header*/
header {
    position: absolute;
    position: fixed;
    width: 20%;
    z-index: 10;
}

header h1 {
    width: 100%;
    margin: 15% auto 0 3%;
}

header h1 img {
    width: 100%;
}

header nav {
    position: relative;
    margin-top: 40%;
    margin-left: 10%;
    margin-bottom: 10%;
}

header nav::before {
    position: absolute;
    content: "";
    border-right: 0.4vw solid #F17633;
    height: 21vw;
    left: -1vw;
    animation: withAnime 3s infinite;
}

@keyframes withAnime {
    0% {height: 0%;
    }
    100% {
        height: 100%;
    }
}

header nav ul li {
    list-style-type: none;
    line-height: 3.5;
}

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

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

/*パンくず*/
header nav ul li:nth-child(3) {
    background-color: #8c857a2d;
}

/*お問い合わせボタン*/
header + p{
    position: absolute;
    position: fixed;
    right: 1.5%;
    font-size: 1.5vw;
    width: 10em;
    height: 5vw;
    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 + p a {
    display: block;
    color: white;
    text-decoration: none;
}

/*main共通*/

main h2 {
    position: relative;
    color: #4c4c4c;
    font-size: 1.3vw;
    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 {
    margin-left: 20%;
}

.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: 13vw;
    height: 13vw;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    opacity: 0.8;
    top: -16vw;
    left: 32vw;
    position: absolute;
}

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


.margin-box section:nth-child(1) h3 {
    font-family: 'ZenKakuGothicAntique';
    font-size: 1.5vw;
    letter-spacing: 0.6em;
    color: #294C74;
    text-align: center;
    position: relative;
}

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

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

}

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

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

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

}

.merit-flex ul li {
    color: white;
    line-height: 4;
    list-style: none;
    position: relative;
}

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

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

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

.merit-box ul {
    width: 50%;
    margin: 0 auto;
}
.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: 1.8vw;
    font-weight: bold;
    letter-spacing: 0.3em;
    margin: 0 0.3em;
    border-bottom: 0.3vw solid#F17633;
}

/*開催報告*/

.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;
    line-height: 1.8;
    letter-spacing: 0.1em;
    margin: 2% ;
    list-style: none;
}

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

.infor-box div ul li:nth-of-type(2) {
    width: 85%;
    font-size: 1.1vw;
}

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

.form-box div {
    width: 66%;
    margin: 0 auto 5% 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: 50%;
    color: white;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.1em;
    margin: 8% auto 0 auto;
    padding: 1% 1% 1% 3%;
    border: 0.1vw solid white;
}

.form-box div + p {
    width: 33%;
    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: 3vw;
    padding-right: 2vw;
    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: 1vw;
    height: 1vw;
    border-bottom: 0.2vw solid #F17633;
    border-right: 0.2vw solid #F17633;
    transform: rotate(-45deg);
    bottom: 1.8vw;
    right: 3vw;
    position: absolute;
}

/*footer*/
footer {
    background-color: #294C74;
}

.footer-flex {
    display: flex;
    width: 80%;
    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: 2.0vw;
    font-weight: bold;
    margin-left: 2%;
    margin-top: 3%;
}

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

.footer-box div:nth-of-type(2) {
    display: flex;
    width: 60%;
    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: 1vw;
    height: 1vw;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    background-color: #F17633;
    bottom: 0.5vw;
    left: -2vw;
    position: absolute;
}

.footer-box div:nth-of-type(2) ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.1vw;
}
.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;
}




