@charset "UTF-8";

/* ---------------------------------------- */
/*  全般設定 */
/* ---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #f9f9f9;
    font-size: 100%;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    color: #1e3333;
}

body {
    font-size: .95em;
}

ul {
    list-style: none;
}

img {
    /* imgの下の余白対策 */
    vertical-align: top;
}

a {
    text-decoration: none;
    font-weight: 700;
}

.wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 3%;
    padding-right: 3%;
    text-align: center;
}

.link-btn {
    display: inline-block;
    margin-top: 32px;
    padding: 8px 32px;
    border-bottom: 4px solid #1e3333;
    border-radius: 32px;
    background-color: #2e8b57;
    font-size: 1.3em;
}

a:link.link-btn,
a:visited.link-btn,
a:hover.link-btn,
a:active.link-btn {
    color: #f9f9f9;
}

a:hover.link-btn {
    padding: 10px 32px;
    border-bottom: none;
    background-color: #1e3333;
}

.section-wrapper {
    margin-top: 64px;
    text-align: center;
}

.under {
    background: linear-gradient(transparent 65%, #f0e68c 65%);
}

@media screen and (max-width:750px) {
    .link-btn {
        margin-top: 16px;
        font-size: 100%;
    }

    .section-wrapper {
        margin-top: 32px;
    }
}

/* ---------------------------------------- */
/* ヘッダー_全般 */
/* ---------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #f9f9f9;
    box-shadow: 0px 0px 4px 0px #dcdcdc;
    z-index: 10;
}

#header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sitetitle {
    width: 100px;
}

#header nav ul {
    display: flex;
    align-items: center;
}

#header nav ul li {
    margin-right: 32px;
}

#header nav ul li:nth-last-child(1) {
    margin-right: 0;
}

#header nav ul li a {
    display: flex;
    align-items: center;
}

.icon {
    height: 16px;
    margin-right: 8px;
}

#header nav ul li a:link,
#header nav ul li a:visited,
#header nav ul li a:hover,
#header nav ul li a:active {
    color: #2e8b57;
}

@media screen and (max-width:900px) {
    #header nav ul li a {
        flex-direction: column;
        justify-content: center;
    }

    #header nav ul li a span {
        border-top: 1px solid #dcdcdc;
        padding-top: 4px;
    }

    .icon {
        height: 16px;
        margin-right: 0px;
        margin-bottom: 4px;
    }
}

/* ---------------------------------------- */
/* ヘッダー_SP対応 */
/* ---------------------------------------- */
.openbtn {
    position: relative;
    background-color: #2e8b57;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    cursor: pointer;
    /* 他の要素より手前に表示する */
    z-index: 20;
    /* 画面幅が751px以上の場合、非表示にする */
    display: none;
}

.openbtn .openbtn-area {
    transition: all .4s;
}

.openbtn span {
    /* ボタン内側の線に関する設定 */
    position: absolute;
    left: 14px;
    height: 3px;
    width: 45%;
    border-radius: 2px;
    display: inline-block;
    background-color: #fff;
    transition: all .4s;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 31px;
}

.active .openbtn .openbtn-area {
    transform: rotateY(-360deg);
}

.active .openbtn span {
    background-color: #2e8b57;
}

.active .openbtn span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
}

.active .openbtn span:nth-of-type(2) {
    opacity: 0;
}

.active .openbtn span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
}

@media screen and (max-width:750px) {
    #header nav {
        /* header要素に.activeが追加されていない場合、表示しない */
        display: none;
    }

    #header.active nav {
        /* header要素に.activeが追加された場合、表示する */
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        padding-top: 82px;
        background-color: #2e8b57;
        animation: slidein .4s;
    }

    #header.active nav ul {
        flex-direction: column;
    }

    #header.active nav ul li {
        display: block;
        margin-right: 0px;
        margin-bottom: 32px;
        font-size: 1.3em;
    }

    #header.active nav ul li:nth-last-child(1) {
        margin-bottom: 32px;
    }

    #header nav ul li a {
        flex-direction: row;
        align-items: center;
    }

    #header nav ul li a span {
        border-top: none;
        padding-top: 0px;
        color: #f9f9f9;
    }

    .icon {
        height: 24px;
        margin-right: 16px;
        margin-bottom: 0px;
    }

    .openbtn {
        /* 画面幅が700px以下の場合、ハンバーガーメニューを表示する */
        display: block;
    }

    .active .openbtn {
        background-color: #f9f9f9;
    }
}

@keyframes slidein {
    0% {
        opacity: 0;
        transform: translateY(-64px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------------------------------------- */
/* メインビジュアル */
/* ---------------------------------------- */
.mainvisual {
    position: relative;
    margin-top: 50px;
    width: 100%;
}

.mainvisual-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    margin-left: 3%;
}

.M-text {
    font-size: 4vw;
    font-weight: 700;
}

.L-text {
    font-size: 8vw;
    font-weight: 700;
}

.archive {
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

@media screen and (max-width:750px) {
    .mainvisual {
        margin-top: 65px;
    }

    .archive {
        margin-top: 16px;
    }
}

/* ---------------------------------------- */
/* スクロールダウン */
/* ---------------------------------------- */
.scroll-anime {
    position: relative;
    height: 64px;
}

.scroll-anime::after {
    /* 線に関する設定 */
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 1px;
    height: 100%;
    background-color: #2e8b57;
}

.scroll-anime::before {
    /* アニメーションする円に関する設定 */
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 1em;
    height: 1em;
    /* 三角形の頂点の座標(X Y)を指定*/
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    /* border-radius: 50%; */
    background-color: #2e8b57;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
    animation:
        circle-move 1.3s ease-in-out infinite,
        circle-flashing 1.3s ease-out infinite;
}

.scroll-anime span {
    /* テキストに関する設定 */
    position: absolute;
    top: 50%;
    left: calc(50% + 1.5em);
    transform: translateX(-50%) translateY(-50%);
    color: #2e8b57;
    font-size: 0.8em;
    font-family: 'Archivo Black', sans-serif;
    letter-spacing: -0.05em;
    /*縦書きにする*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

@keyframes circle-move {

    /* 円が上から下に移動するアニメーション */
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

@keyframes circle-flashing {

    /* 円が点滅する */
    0% {
        opacity: 0
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* ---------------------------------------- */
/* コース一覧 */
/* ---------------------------------------- */
.course-title {
    position: relative;
    display: inline-block;
    margin-top: 9vw;
    margin-bottom: 9vw;
    padding: 0 4vw;
    background-color: #f9f9f9;
    border-top: 1px solid #2e8b57;
    border-bottom: 1px solid #2e8b57;
    font-size: 2vw;
    text-align: center;
}

.course-title::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    content: 'COURSE';
    font-size: 20vw;
    font-family: 'Archivo Black', sans-serif;
    letter-spacing: -0.05em;
    text-align: center;
    color: #2e8b57;
    z-index: -1;
}

.course-contents {
    display: flex;
    justify-content: space-between;
}

.course-container {
    width: 48%;
}

.course-eyecatch {
    position: relative;
    width: 100%;
    /* 親要素からはみ出す部分は隠す */
    overflow: hidden;
}

.course-eyecatch img {
    height: auto;
    transition: transform .4s ease;
}

.course-eyecatch img:hover {
    transform: scale(1.1);
}

.course-sub-title {
    position: absolute;
    top: 80%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 8px 0px;
    display: inline-block;
    width: 100%;
    background-color: #1e3333;
    color: #f9f9f9;
    font-size: 1.3em;
}

.course-intro {
    margin-top: 32px;
}

@media screen and (max-width:900px) {
    .course-intro p {
        text-align: left;
    }
}

@media screen and (max-width:750px) {
    .course-title {
        margin-top: 8vw;
        margin-bottom: 8vw;
        font-size: 4vw;
    }

    .course-contents {
        flex-direction: column;
    }

    .course-container {
        width: 100%;
        margin-bottom: 32px;
    }

    .course-container:last-of-type {
        margin-bottom: 0px;
    }

    .course-intro {
        margin-top: 16px;
    }
}

/* ---------------------------------------- */
/* WEBスタディの特長 */
/* ---------------------------------------- */
.about-title {
    position: relative;
    display: inline-block;
    margin-top: 9vw;
    margin-bottom: 9vw;
    padding: 0 4vw;
    background-color: #f9f9f9;
    border-top: 1px solid #2e8b57;
    border-bottom: 1px solid #2e8b57;
    font-size: 2vw;
    text-align: center;
}

.about-title::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    content: 'ABOUT';
    font-size: 20vw;
    font-family: 'Archivo Black', sans-serif;
    letter-spacing: -0.05em;
    text-align: center;
    color: #2e8b57;
    z-index: -1;
}

.about-contents {
    display: grid;
    grid-template-columns: repeat(6, auto);
    grid-template-rows: repeat(2, auto);
    row-gap: 16px;
    column-gap: 32px;
    place-content: center;
    margin-top: 32px;
}

.about-container {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-container img {
    width: 50px;
    margin-right: 1em;
}

.about-container p {
    font-size: 1em;
    font-weight: 700;
    text-align: left;
}

.about-item1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.about-item2 {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.about-item3 {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
}

.about-item4 {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.about-item5 {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

@media screen and (max-width:750px) {
    .about-title {
        margin-top: 8vw;
        margin-bottom: 8vw;
        font-size: 4vw;
    }

    .about-contents {
        margin-top: 16px;
    }

    .about-item1 {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }

    .about-item2 {
        grid-column: 4 / 7;
        grid-row: 1 / 2;
    }

    .about-item3 {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }

    .about-item4 {
        grid-column: 4 / 7;
        grid-row: 2 / 3;
    }

    .about-item5 {
        grid-column: 1 / 4;
        grid-row: 3 / 4;
    }
}

@media screen and (max-width:450px) {
    .about-item1 {
        grid-column: 1 / 7;
        grid-row: 1 / 2;
    }

    .about-item2 {
        grid-column: 1 / 7;
        grid-row: 2 / 3;
    }

    .about-item3 {
        grid-column: 1 / 7;
        grid-row: 3 /4;
    }

    .about-item4 {
        grid-column: 1 / 7;
        grid-row: 4 / 5;
    }

    .about-item5 {
        grid-column: 1 / 7;
        grid-row: 5 / 6;
    }
}

/* ---------------------------------------- */
/* 受講生の声 */
/* ---------------------------------------- */
.review-title {
    position: relative;
    display: inline-block;
    margin-top: 9vw;
    margin-bottom: 9vw;
    padding: 0 4vw;
    background-color: #f9f9f9;
    border-top: 1px solid #2e8b57;
    border-bottom: 1px solid #2e8b57;
    font-size: 2vw;
    text-align: center;
}

.review-title::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    content: 'REVIEW';
    font-size: 20vw;
    font-family: 'Archivo Black', sans-serif;
    letter-spacing: -0.05em;
    text-align: center;
    color: #2e8b57;
    z-index: -1;
}

.review-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-container {
    width: 49%;
}

.review-intro {
    text-align: left;
}

.review-sub-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8px 16px;
    margin-bottom: 16px;
    border: 1px solid #2e8b57;
    text-align: center;
}

.review-sub-title-wrapper::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    border: 8px solid transparent;
    border-top: 8px solid #2e8b57;
}

.review-sub-title-wrapper span {
    display: inline-block;
    padding-left: 16px;
    margin-left: 16px;
    border-left: 1px solid #2e8b57;
    color: #2e8b57;
}

.sample-title {
    margin-top: 8px;
    color: #2e8b57;
    font-size: 0.8em;
}

.sample-title span {
    display: inline-block;
    padding: 0px 8px;
    margin-right: 8px;
    background-color: #2e8b57;
    color: #f9f9f9;
}

/* ----splideのカスタマイズ----<s>---- */
.splide {
    padding-bottom: 32px;
}

.splide__pagination__page {
    background: #1e3333;
}

.splide__pagination__page.is-active {
    background: #2e8b57;
}

.splide__arrow {
    background: #f9f9f9;
}

/* ----splideのカスタマイズ----<e>---- */

@media screen and (max-width:750px) {
    .review-title {
        margin-top: 8vw;
        margin-bottom: 8vw;
        font-size: 4vw;
    }

    .review-contents {
        justify-content: flex-start;
        flex-direction: column;
    }

    .review-container {
        width: 100%;
    }

    .review-sub-title-wrapper {
        margin-top: 8px;
        flex-direction: column;
    }

    .review-sub-title-wrapper span {
        display: inline-block;
        padding-left: 0px;
        margin-left: 0px;
        border-left: none;
        padding-top: 4px;
        border-top: 1px solid #2e8b57;
        margin-top: 4px;
        color: #2e8b57;
        font-size: 0.8em;
    }

    /* splideのカスタマイズ<s> */
    .splide__arrow {
        top: 20%;
    }

    /* splideのカスタマイズ<e> */
}

/* ---------------------------------------- */
/* 受講生の声 */
/* ---------------------------------------- */
.join-wrapper {
    padding-top: 64px;
    padding-bottom: 64px;
    /* 背景をストライプ柄にする */
    background-color: #f0f0f0;
    background-image:
        repeating-linear-gradient(-45deg, #f9f9f9, #f9f9f9 7px, transparent 0, transparent 16px);
}

.join-title {
    position: relative;
    display: inline-block;
    padding: 0 1em;
    background-color: #1e3333;
    color: #f9f9f9;
    font-size: 1.3em;
    text-align: center;
}

.join-intro {
    margin-top: 32px;
}

@media screen and (max-width:750px) {
    .join-intro {
        margin-bottom: 16px;
    }
}

/* ---------------------------------------- */
/* フッター */
/* ---------------------------------------- */
footer {
    padding: 16px 0;
    background-color: #1e3333;
    color: #f9f9f9;
    text-align: center;
}