@charset "UTF-8";

/* reset */
*, *::before, *::after {
    box-sizing: border-box;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0
}
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
html:focus-within {
    scroll-behavior: smooth
}
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5
}
a:not([class]) {
    text-decoration-skip-ink: auto
}
img, picture {
    max-width: 100%;
    display: block;
    height: auto;
}
input, button, textarea, select {
    font: inherit
}
@media(prefers-reduced-motion:reduce) {
    html:focus-within {
        scroll-behavior: auto
    }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }
}

/* //reset */

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

footer {
    margin-top: auto;
}
/* //footerをbottomに固定する処理 */

/* font定義 */
body,
input,
label,
select,
textarea {
    font-family: "BIZ UDPGothic", serif;
    font-weight: 400;
    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;
}

header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 0 4px 4px rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    z-index: 20;
    padding: 0 16px;
    p {
        margin: 0;
        a {
            /* img { */
            /* width: 256px; */
            font-size: 24px;
            transition: .3s;
        }
        /*.scrolled & a {
            //  .scrolled & img {
            // width: 160px;
            font-size: 12px;
        }*/
        .menu-icon {
            display: none;
            z-index: 20;
        }
    }

    nav {
        display: flex;
        align-items: center;
        position: relative;
        ul {
            display: flex;
            gap: 16px;
        }
    }
}



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 */
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 {
    margin-top: 80px;
    .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%;
}

.base_width {
    width: 1000px;
}

/* ボタン系。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 {
    li {
        width: 100%;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #A09E9E;
        padding-bottom: 16px;
        margin-bottom: 16px;
        .postedDate {
            width: 200px;
            font-size: 14px;
            color: #A09E9E;
            text-align: center;
        }
        .postTitle {
            width: calc(100% - 200px);
            font-size: 20px;
            &:hover {
                text-decoration: underline;
            }
        }
    }
    .event_finished {
        display: block;
        width: fit-content;
        background-color: yellow;
        padding: 0px 6px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: bold;
    }

}
.toList {
    padding-right: 16px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    a:hover {
        text-decoration: underline;
    }
}

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

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

.fixed_line_button {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 999;
    width: 64px;
    padding: 8px;
    background-color: #00c300;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    transition: .3s;
    z-index: 1;
    &:hover {
        background-color: #00e000;
    }
}
.pagetop .material-symbols-outlined {
    font-size: 64px;
    line-height: 1;
    position: fixed;
    bottom: 96px;
    right: 30px;
    z-index: 999;
    margin: 0;
    cursor: pointer;
    color: #2b2b2b;
    background-color: #e1e1e1;
    border-radius: 50%;
}

footer {
    background-color: #FDF9E9;
    padding: 32px;
    .copy {
        width: 100%;
        text-align: center;
        font-size: 14px;
        margin-bottom: 0;
    }
}


@media only screen and (max-width: 1200px) {
    .base_width {
        width: 100%;
    }
}

@media only screen and (max-width: 1000px) {
    .postList li {
        .postTitle {
            width: calc(100% - 120px);
        }
    }
}

@media only screen and (max-width: 767px) {
    /* ipadを切ったら */
    .animationBlock {
        opacity: 1;
    }

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

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

    .postList {
        li {
            flex-direction: column;
            align-items: flex-start;
            padding: 0 16px;
            .postTitle {
                width: 100%;
            }
            .postedDate {
                text-align: left;
            }
        }
    }

    footer .inner {
        flex-direction: column;
    }

    .fixed_line_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_line_button {
        /* width: 9vw; */
    }
}
/* このとじカッコは消さないこと */

@media only screen and (max-width: 528px) {
    header {
        p {
            display: flex;
            justify-content: space-between;
            width: 100%;
            align-items: center;
            .menu-icon {
                display: block;
            }
        }

        .navUL {
            width: 100%;
            overflow: hidden;
            transition: max-height 0.3s ease-out, top 0.3s ease-out;
            max-height: 0;
            flex-direction: column;
            list-style: none;
            margin: 0;
            top: -80px;
            left: 0;
            background-color: #e1e1e1;
            padding-top: 80px;
            position: fixed;
            &.open {
                top: 0;
                max-height: 500px;
            }
            li {
                padding: 10px;
                text-align: center;
                border-bottom: 1px solid #156082;
                a {
                    color: #156082;
                }
            }
        }
    }
}
/* このとじカッコは消さないこと */
