body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
}

h1 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin: 0px 0px 8px 0px;
}

.lead {
    width: 325px;
    margin: 0 auto;
}

h2 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 8px auto;
}

.introduction span {
    display: block;
    border-bottom: solid 2px #1158AB;
    width: 277px;
    margin: 0 auto;
}

h3 {
    font-size: 14px;
    font-weight: bold;
    color: #494F55;
    padding: 0;
    margin: -6px 0px;
}

h4 {
    font-size: 16px;
    font-weight: bold;
    color: #020303;
    padding: 0;
    margin: 6px 0px;
}

.introduction p {
    font-size: 12px;
    font-weight: 400;
    color: #494F55;
    margin: 8px auto;
}

.chapter-text p {
    font-size: 12px;
    font-weight: 400;
    color: #494F55;
    padding: 0;
    margin: 4px 0px;
    line-height: 160%;
    height: 60px;
}

header {
    background-color: #1158AB;
    height: 40px;
    line-height: 44px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}

.logo {
    /*vertical-align: middle;*/
    margin-left: 10px;
    margin-top: 5px;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.search {
    width: 312px;
    height: 40px;
    border:1px solid #969CA1;
}
.submit {
    height: 40px;
    padding: 0px 10px;
}

.introduction {
    text-align: center;
    width: 100%;
    margin: 0px;
    padding: 40px 0px;
    /*display: flex;*/
    /*justify-content: center;*/
    align-items: center;
    position: relative;
}

.introduction .kaisetsu {
    /*position: absolute;*/
    /*right: 200px;*/
}

.container {
    /* display: flex; */
    /* flex-flow: wrap;
    justify-content: center; */
    margin: -24px 16px;
}

.wrapper {
    margin: 10px 16px;
}

/* 検索フォーム */
.form {
    width: 896px;
    margin: 24px auto;
}

/*tabの形状*/
.tab {
    display: flex;
    padding: 0;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 896px;
}

.tab li {
    width: 107px;
}

.tab li a {
    display: block;
    text-align: center;
    padding: 0px 20px 14px;
    border-bottom: 1px solid #CCCED1;
    color: #31353A;
}

/*liにactiveクラスがついた時の形状*/
.tab li.active a {
    padding-bottom: 13px;
    border-bottom: 2px solid #005fcc;
    color: #005FCC;
}

.tab-contents {
    width: 896px;
    margin: 0 auto;
}

.tab-content {
    width: 288px;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.08);
    border-radius: 0px 0px 16px 16px;
}

/*エリアの表示非表示と形状*/
.area {
    display: none;
    /*はじめは非表示*/
    opacity: 0;
    /*透過0*/
    background: #fff;
    padding: 0px;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: flex;
    /*表示*/
    flex-wrap: wrap;
    justify-content: space-around;
    animation-name: displayAnime;
    /*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

/* 特別演習の動画エリア */

.movie h4 {
    margin-bottom: 16px;
}

.movie iframe {
    display: block;
    margin: 0 auto 32px;
    border: 1px solid #CCCED1;
    border-radius: 6px;
}

@keyframes displayAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.thumb {
    width: 288px;
}

.article {
    margin: 16px;
    flex-wrap: wrap;
    align-items: stretch;
    height: 112px;
}

.btn {
    font-size: 14px;
    font-weight: bold;
    color: #0058BD;
    line-height: 160%;
    height: 38px;
    border: solid;
    border-width: 1px;
    border-radius: 54px;
    border-color: #0058BD;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0px;
    transition: background-color 0.5s;
}

.btn::after {
    content: url("../img/arrow.svg");
    padding: 4px;
    width: 12px;
    height: 12px;
    line-height: 12px;
}

.btn:hover {
    background-color: #E8F3FF;
}

footer {
    font-family: "Hiragino Sans";
    font-size: 12px;
    font-weight: 300;
    color: #494F55;
    /*height: 140px;*/
    text-align: center;
    line-height: 20px;
    margin-top: 40px;
    background-color: #f2f2f3;
    padding: 20px;
}

footer a {
    color: #0070F0;
    text-decoration: underline;
}


@media screen and (min-width: 481px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 20px;
    }

    .introduction {
        width: 100%;
        overflow: wrap;
    }

    .introduction p {
        font-size: 14px;
        margin: 8px auto;
    }

    .container {
        margin: 0px 0px;
    }

    h3 {
        margin: 6px 0px;
    }

    .wrapper {
        margin: 16px;
    }

    .chapter-text p {
        font-size: 14px;
        margin: 8px 0px;
        height: 66px;
    }

    .footer-sp {
        display: none;
    }

    .footer-pc {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-pc-text {
        position: relative;
        display: inline-block;
        margin: 1.5em 30px 1.5em 30px;
        padding: 16px 30px;
        min-width: 120px;
        max-width: 100%;
        background: #FFF;
        border: solid 3px #ccced1;
        box-sizing: border-box;
        border-radius: 15px;
    }

    .footer-pc-text:before {
        content: "";
        position: absolute;
        top: 50%;
        right: -24px;
        margin-top: -12px;
        border: 12px solid transparent;
        border-left: 12px solid #FFF;
        z-index: 2;
    }

    .footer-pc-text:after {
        content: "";
        position: absolute;
        top: 50%;
        right: -30px;
        margin-top: -14px;
        border: 14px solid transparent;
        border-left: 14px solid #ccced1;
        z-index: 1;
    }
}


@media screen and (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 16px;
    }

    p {
        font-size: 12px;
    }

    .tab li {
        width: 72px;
    }

    .tab li a {
        font-size: 14px;
        padding: 14px 0px;
    }
    .tab{
        width: 504px;
    }
    .scroll_nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .introduction {
        width: 100%;
        overflow: wrap;
        height: auto;
    }

    .container {
        overflow: hidden;
        margin: 0;
    }

    .tab {
        overflow: hidden;
    }

    .search {
        width: 288px;
        height: auto;
        padding: 10px 0px;
    }

    .tab-contents {
        width: 288px;
    }

    .form {
        width: 288px;
    }

    .footer-pc {
        display: none;
    }

    .footer-sp-text {
        position: relative;
        display: inline-block;
        margin: 1.5em 0;
        padding: 16px 30px;
        min-width: 120px;
        max-width: 100%;
        background: #FFF;
        border: solid 3px #ccced1;
        box-sizing: border-box;
        border-radius: 15px;
    }

    .footer-sp-text:before {
        content: "";
        position: absolute;
        bottom: -24px;
        left: 50%;
        margin-left: -15px;
        border: 12px solid transparent;
        border-top: 12px solid #FFF;
        z-index: 2;
    }

    .footer-sp-text:after {
        content: "";
        position: absolute;
        bottom: -30px;
        left: 50%;
        margin-left: -17px;
        border: 14px solid transparent;
        border-top: 14px solid #ccced1;
        z-index: 1;
    }

}