@charset "utf-8";
body {
    font-size: 1rem;
    line-height: 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    background: rgb(248, 248, 248);
    color: #333;
}
header {
    width: 100%;
    display: flex;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgb(248, 248, 248);
}
p {
    font-size: 16px;
    line-height: 1.5rem;
}
.keshigomu {
    display: none;
}
.he-1 {
    width: 50px;
}
.he-1 img {
    width: 100%;
    vertical-align: bottom;
}
.he-2 {
    flex: 1;
    margin-left: 10px;
}
.he-2 h2 {
    font-size: 33px;
}
.he-2 h1 {
    font-size: 18px;
    margin-top: 5px;
}
/* ここまでがヘッダー部分 */
article {
    margin-top: 70px;
    padding: 10px 20px;
}
.pkz {
    font-size: 14px;
}
.pkz a {
    text-decoration: none;
}
footer {
    background: #78A0B5;
    text-align: center;
    padding-bottom: 135px;
}
/* 連絡 */
.udf {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background: #FFF;
}
.udf ul {
    display: flex;
}
.udf li {
    flex: 1;
    margin-right: 1%;
    box-sizing: border-box;
}
.udf li:last-child {
   margin-right: 0%;
}
.udf li a{
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    height: 3rem;
    line-height: 3rem;
    color: #FFF;
    background: #333;
}
.udf li:last-child a {
    background: rgb(0, 214, 230);
    line-height: 1.5rem;
    color: #333;
}
/* ここからがメイン */
h3 {
    font-size: 20px;
    line-height: 1.5rem;
    border-left: solid 5px #022858;
    border-bottom: solid 1px rgb(148, 148, 148);
    margin: 10px 0;
    padding: 5px 0 5px 15px;
}
.i-100 {
    width: 100%;
    margin: 10px 0;
}
.i-100 img {
    width: 100%;
    vertical-align: bottom;
}
/* 待遇 */
.taigu {
    width: 100%;
    margin: 10px 0;
}
.box-1 {
    width: 100%;
    display: flex;
}
.box-1-l {
    width: 100px;
    line-height: 2rem;
    padding: 5px;
    border: solid 1px #fff;
    text-align: center;
    background: rgb(151, 151, 151);
    color: rgb(255, 255, 255);
}
.box-1-r {
    flex: 2;
    line-height: 2rem;
    padding: 5px 10px;
    border: solid 1px #fff;
    background: rgb(151, 151, 151);
    color: rgb(255, 255, 255);
}
/* ユーチューブＢＯＸ */
.yu-p {
    font-size: 16px;
    background: rgb(0, 191, 185);
    line-height: 2rem;
    color: #fff;
    padding-left: 10px;
}
.yu-box {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 10px;
}
.yu-box-1 {
    position: relative;
    height: 0;
    padding: 0 0 55%;
    overflow: hidden;
}
.yu-box-1 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* 受験要項 */
.jyuken {
    width: 100%;
    margin: 10px 0;
}
.box-2 {
    width: 100%;
    display: flex;
}
.box-2-l {
    width: 100px;
    line-height: 2rem;
    padding: 5px;
    border: solid 1px rgb(155, 155, 155);
    border-bottom: none;
    text-align: center;
    background: rgb(211, 211, 211);
}
.box-2-r {
    flex: 2;
    line-height: 2rem;
    padding: 5px 10px;
    border-top: solid 1px rgb(155, 155, 155);
    border-right: solid 1px rgb(155, 155, 155);
}
.box-2:last-child .box-2-l, .box-2:last-child .box-2-r {
    border-bottom: solid 1px rgb(155, 155, 155);
}
.yohaku ul li {
    padding-left: 3rem;
    text-indent: -3rem;
}
.yohaku1 ul li {
    padding-left: 1rem;
    text-indent: -1rem;
}
/* 上に戻る */
.page_top {
    position: fixed;
    bottom: 47px;
    right: 10px;
}
/*上に戻る*/
.page_top a img{
    width: 80px;
}
.page_top .a {
    display: block;
}
.page_top .b {
    display: none;
}
.page_top:hover > .a {
    display: none;
}
.page_top:hover > .b {
    display: block;
}
.top-box-2-i {
    width: 100%;
}
.top-box-2-i .top-box-a {
    width: 100%;
    margin: 10px auto;
    position: relative;
    text-align: center;
    line-height: 1.5rem;
    background: #36e5e6;
    font-size: 17px;
    border-radius: 10px;
}
.top-box-2-i .top-box-a a {
    display: block;
    text-decoration: none;
    color: rgb(43, 43, 43);
}
.top-box-2-i .top-box-a:hover, .top-box-2-i .top-box-a a:hover {
    background: rgb(248, 223, 2);
    border-radius: 15px;
    color: #000;
}
/* スマホ小さいサイズ */
@media (max-width : 799px){
    #navbox {
        display: none;
    }
}
/* ここからＰＣサイト */
@media (min-width: 800px) {
    header {
        position: unset;
        width: 95%;
        margin-left: 38px;
    }
    #pcsaito {
        padding: 0 30px;
        display: flex;
    }
    article{
        flex: 1;
        margin: 0 auto;
        margin-right: 20px;
    }
    .top-box-1 {
        width: 100%;
        display: flex;
        align-items: center;
    }
    .top-box-1-i {
        flex: 1;
        margin-right: 20px;
    }
    .top-box-1-p {
        flex: 2;
    }
    .top-box-2 {
        width: 100%;
        display: flex;
    }
    .top-box-2-i {
        flex: 1;
        margin-right: 20px;
    }
    .top-box-2 .top-box-2-i:last-child {
        margin-right: 0;
    }
    .top-box-3 {
        width: 100%;
        display: flex;
    }
    .top-box-3-p {
        flex: 1;
        margin-right: 20px;
    }
    .top-box-3-h {
        flex: 1;
    }
    .taigu {
        margin-top: 0;
    }
    .top-box-4 {
        width: 100%;
        display: flex;
        margin-top: 40px;
    }
    .top-box-4-y {
        flex: 1;
        margin-right: 20px;
    }
    .top-box-4-h {
        flex: 1;
    }
    .top-box-4-h h3, .top-box-4-y h3, .top-box-3-p h3 {
        margin-top: 0;
    }
    #navbox {
        width: 300px;
    }
    #navbox nav ul li {
        width: 100%;
        margin: 10px auto;
        text-align: center;
        height: 3rem;
        line-height: 3rem;
        background: #36e5e6;
        font-size: 22px;
        border-radius: 15px;
    }
    #navbox nav ul li a {
        display: block;
        text-decoration: none;
        color: rgb(43, 43, 43);
    }
    #navbox nav ul li:hover, #navbox nav ul li a:hover {
        background: rgb(248, 223, 2);
        border-radius: 15px;
        color: #000;
    }
    .poji-box {
        position: relative;
    }
    .gai-img {
        position: absolute;
        width: 10%;
        top: -10px;
        right: 24px;
    }
    .gai-img img {
        width: 100%;
        vertical-align: bottom;
    }
    footer {
        padding-bottom: 10px;
    }
    .udf {
		display: none;
    }
    .page_top {
        bottom: 58px;
        right: 110px;
    }
}