@charset "UTF-8";

/* reset */
* {
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

:focus {
    outline: 0;
}

html,
body {
    width: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

input,
textarea {
    margin: 0;
    padding: 0;
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

a img {
    border: 0;
}

a:focus,
a:active,
a:hover {
    outline: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

svg {
    width: 100%;
    height: 100%;
}

body {
    /*スマホで勝手に文字が大きくなる対策*/
    -webkit-text-size-adjust: none;
    /* footerをbottomに固定する処理 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}

/* //footerをbottomに固定する処理 */
/* //reset */

/* font定義 */
body,
input,
label,
select,
textarea {
    font-family: 'Sawarabi Gothic', sans-serif;
    font-style: normal;
}

/* //font定義 */


/* animation */
.animationBlock {
    opacity: 0;
    transition: 2s;
    visibility: visible !important;
    position: relative;
}

.animationBlock.action {
    opacity: 1;
}

/* 実質 animationBlock だけのときとやること同じなので定義は書かない */
.animationBlock.fadeIn {}

.animationBlock.fadeIn.action {}

.animationBlock.fadeInUp {
    top: 40px;
}

.animationBlock.fadeInUp.action {
    top: 0;
}

.animationBlock.fadeInRight {
    left: -180px;
}

.animationBlock.fadeInRight.action {
    left: 0;
}

/* 画像とか入ってると変になるかも */
.animationBlock.fadeInLeft {
    right: -180px;
    width: calc(100% - 180px);
    overflow: hidden;
}

.animationBlock.fadeInLeft.action {
    right: 0;
    width: 100%;
}

/* //animation */

body {
    font-weight: 400;
    font-size: 16px;
    color: #2b2b2b;
    line-height: 1.6;
}

/* header */
header {
    box-shadow: 0px 0 4px 4px rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    z-index: 20;
}

header .inner {
    flex-direction: row;
    background-color: rgba(255, 255, 255, .85);
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 8px;
    transition: .3s;
    padding-right: 32px;
}

header h1 img {
    width: 256px;
    transition: .3s;
}

header.scrolled h1 img {
    width: 160px;
}

.navToggle {
    display: none;
    color: #2b2b2b;
    cursor: pointer;
    z-index: 9999;
    font-size: 28px;
    line-height: 1;
}

.navToggle::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0c9";
    font-weight: bold;
    text-align: right;
    width: 100%;
    display: block;
    transition: .3s;
}

.navToggle.open::before {
    content: "\f00d";
}

nav {
    width: 524px;
}

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

nav .gnav li a {
    display: block;
    border-bottom: 2px solid rgba(43, 43, 43, 0);
}

nav .gnav li a:hover {
    border-bottom: 2px solid rgba(43, 43, 43, 1);
}

/* //header */

header,
main,
section,
footer,
.inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    color: #2b2b2b;
    text-decoration: none;
    transition: .3s;
}

.tdu {
    text-decoration: underline !important;
}

/* mainArea */

/* main */
main {
    margin: 80px 0 80px;
}

section {
    margin-bottom: 64px;
}

.sectionTitle {
    font-size: 32px;
    font-weight: bold;
    color: #0B6F9F;
    margin-bottom: 32px;
}

.sectionTitle::before,
.sectionTitle::after {
    content: "-";
    margin: 0 8px;
}

.inner {
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 0;
    padding: 0 16px;
}

main .inner {
    max-width: 1440px;
}

.inner.center {
    align-items: center;
}

p {
    margin-bottom: 16px;
}

table {
    border: 1px solid #bbb;
    width: 100%;
    margin-bottom: 32px;
}

th {
    border: 1px solid #bbb;
    background-color: #eee;
}

td {
    border: 1px solid #bbb;
}

.inner dl {
    width: 100%;
}

/* ボタン系。submitもこっちにとりあえず入れとく。 */
.buttonStyle,
input[type="submit"] {
    background: #1375ba;
    color: #fff;
    font-size: 24px;
    width: 300px;
    display: block;
    margin: 0 auto 24px;
    border: none;
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

input[type="submit"] {
    padding: 16px;
    margin-top: 32px;
}

.buttonStyle a {
    padding: 16px;
    color: #FFF;
    display: block;
}

.buttonStyle:hover,
input[type="submit"]:hover {
    background: #42a5eb;
}

.buttonStyle a:hover {
    text-decoration: none;
}

.buttonStyle.disabled_btn,
.buttonStyle.disabled_btn:hover {
    background: #555;
    color: #999999;
    cursor: not-allowed;
    padding: 16px;
    line-height: 1;
}

/* ｢戻る｣とか｢パスワードを忘れたとき｣とかそんなやつ */
.navLinkText {
    width: 100%;
    text-align: center;
}

.navLinkText a {
    text-decoration: underline;
}

/* //ボタン系。submitもこっちにとりあえず入れとく。 */

/* postList */
.postList li {
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #A09E9E;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.postList li .postedDate {
    width: 200px;
    font-size: 14px;
    color: #A09E9E;
    text-align: center;
}

.postList li .postTitle {
    width: calc(100% - 200px);
    font-size: 20px;
}

.postList .toList {
    padding-right: 16px;
    text-align: right;
}

.postList li .postTitle:hover,
.postList .toList a:hover {
    text-decoration: underline;
}

.postList .event_finished {
    display: block;
    width: fit-content;
    background-color: yellow;
    padding: 0px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

/* //postList */

.youtubeWrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.youtubeWrap iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}


/* apply_buttons */
.apply_buttons {
    width: 600px;
    display: flex;
    justify-content: space-around;
}
.apply_title {
    display: block;
    font-size: 14px;
}
.training_term {
    display: block;
    font-size: 16px;
}
.apply_button a {
    display: block;
    margin-bottom: 32px;
    width: 284px;
    text-align: center;
    padding: 8px 16px;
    border-radius: 16px;
    color: #fff !important;
    font-size: 20px;
    transition: all 0.3s;
    text-decoration: none !important;
}

.apply_button.red a {
    background-color: red;
}
.apply_button.red a:hover {
    background-color: #ff5c5c;
}

.apply_button.blue a {
    background-color: #4472c4;
}
.apply_button.blue a:hover {
    background-color: #83a2d8;
}
/* //apply_buttons */

/* //main */

.fixed_insta_button {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 999;
    width: 82px;
}
.pagetop {
    display: none;
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    font-size: 32px;
    line-height: 1;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    margin: 0;
    cursor: pointer;
    color: #2b2b2b;
}

.pagetop::before {
    content: "\f139";
}

footer {
    background-color: #FDF9E9;
    padding: 32px;
}

footer .copy {
    width: 100%;
    text-align: center;
    font-size: 14px;
    margin-bottom: 0;
}

@media only screen and (max-width: 1000px) {
    header h1 img {
        width: 160px;
        padding: 1px 0;
    }

    nav {
        width: 460px;
    }

    main {
        margin: 48px 0 80px;
    }

    /* postList */
    .postList li .postedDate {
        width: 120px;
    }

    .postList li .postTitle {
        width: calc(100% - 120px);
    }

    /* //postList */

    .fixed_insta_button {
        top: 10vh;
        width: 7vw;
    }
}

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

    /* ipadを切ったら */
    .animationBlock {
        opacity: 1;
    }

    header .inner {
        flex-direction: row;
        align-items: center;
    }

    nav {
        margin: 0;
        position: absolute;
        top: 46px;
        right: 0;
        width: 100%;
    }

    .navToggle {
        display: block;
    }

    nav .gnav {
        display: none;
        width: 100%;
    }

    nav .gnav li {
        border-bottom: 1px solid #eee;
        display: flex;
    }

    nav .gnav li a {
        display: block;
        width: 100%;
        padding: 8px 32px;
        background-color: #FFF;
    }

    .pageTitle {
        justify-content: center;
        align-items: flex-end;
        margin-bottom: 80px;
    }

    .pageTitle span {
        margin-bottom: -56px;
        width: 100% !important;
    }

    /* postList */
    .postList li {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px
    }

    .postList li .postTitle {
        width: 100%;
    }

    .postList li .postedDate {
        text-align: left;
    }

    /* //postList */

    footer .inner {
        flex-direction: column;
    }

    .fixed_insta_button {
        width: 8vw;
    }
}
/* このとじカッコは消さないこと */


@media only screen and (max-width: 660px) {
    /* apply_buttons */
    .apply_buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    /* //apply_buttons */

    .fixed_insta_button {
        width: 9vw;
    }
}
/* このとじカッコは消さないこと */
