/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box
}

* {
    margin: 0
}

html,
body {
    height: 100%
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%
}

input,
button,
textarea,
select {
    font: inherit
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word
}

#root,
#__next {
    isolation: isolate
}

/*  font-family: 'Noto Sans JP', sans-serif;
    font-family: 'Noto Serif JP', serif; */
/* style */

/* base */

a {
    color:#1b736a ;
    text-decoration: none;
    transition: all 0.4s;
}

a:hover {
    color: #5a9e97;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: #3f3f3f;
    font-weight: 300;
}


/* header */

header#top {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    transition: all .5s;
}

header#top .back_hed {
    width: 1150px;
    height: 124px;
    background-color: #fff;
    transition: all 0.5s;
    margin: 34px auto 0;
    border-radius: 6px;
    border: 2px solid #5a9e97;
    display: flex;
    align-items: center;
}

header#top.fixed {
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
    background-color: #fff;
}

header#top .back_hed.fixed {
    margin: 10px auto 0;
    border-radius: 0;
    border: 2px solid #fff;
    height: auto;
    padding-bottom: 15px;
}

header#top .back_hed h1 a {
    width: 129px;
    height: 76px;
    line-height: 1;
    margin-left: 28px;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
}

header#top .back_hed.fixed h1 a {
    width: 120px;
    height: 71px;
    line-height: 1;
    margin-left: 37px;
    background-size: 120px auto;
}

header#top .back_hed ul {
    display: flex;
    list-style: none;
}
header#top.en .back_hed nav {
    /* width:972.3px; */
    position: relative;
}
header#top.en .back_hed ul {
    /*justify-content: flex-end;*/
}

header#top .back_hed ul.gnavi li {
    padding-right: 45px;
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 25px;
}

header#top.en .back_hed ul.gnavi li {
    padding-right: 48px;
    letter-spacing: 0.06em;
    font-weight: normal;
}

header#top .back_hed.fixed ul.gnavi li {
    margin-top: 20px;
}

header#top .back_hed ul.gnavi li a.dn {
    padding: 0 25px 0 0;
    background-image: url(../images/template/icon_arr.png);
    background-repeat: no-repeat;
    background-position: right 6px;
    background-size: 17px 17px;
}

header#top .back_hed ul.gnavi li a.dn:hover {
    border-bottom: 0;
}

header#top .back_hed ul.gnavi li.bar {
    padding: 0 50px 0 0;
    background-image: none;
}

header#top .back_hed ul.gnavi li:last-child {
    padding-right: 0;
}

header#top.en .back_hed ul.gnavi li:last-child {
    padding-right: 13px;
}

.util_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header#top .back_hed ul.util li {
    font-size: 13px;
    padding-right: 27px;
    margin-top: 8px;
}

header#top .back_hed ul li a {
    color: #444;
    transition: all .8s;
    border-bottom: 0 #fff;
}

header#top .back_hed ul li a:hover {
    border-bottom: 1px solid #20B2AA;
}

header#top .back_hed ul li.ext {
    padding-right: 13px;
}

header#top .back_hed ul li.ext a {
    border: 1px solid #999;
    padding: 0 12px 1px;
    font-size: 12px;
    border-radius: 3px;
}

header#top .back_hed ul li.ext a:hover {
    border: 1px solid #999;
    border-radius: 3px;
    background-color: #eee;
}

header#top .back_hed ul li.sns {
    padding-right: 8px;
    line-height: .2;
}

header#top .back_hed ul li.sns a i {
    color: #5a9e97;
    font-size: 20px;
}

header#top .back_hed ul li.sns a:hover {
    border: 0;
    color: #666;
}

.back_hed ul li {
    position: relative;
}

.back_hed ul li .child {
    display: none;
    position: absolute;
    z-index: 10;
    padding: 15px 15px 5px;
    margin-top: 0;
    left: 0;
    min-width: 100%;
    max-width: 600px;
}

.back_hed ul li .child.adm {
    width: 580px;
    left: -190px;
}

.back_hed ul li .child.student {
    width: 580px;
    left: -190px;
}

.back_hed ul li .child.public {
    width: 420px;
    left: -120px;
}

.back_hed ul li .child.faculty {
    width: 310px;
    left: -120px;
}
.back_hed ul li .child.education_en {
    min-width: 790px;
    left: -190px;
}

.back_hed ul li .child .wrap {
    background-color: #fff;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.2));
    border-radius: 5px;
    border: 2px solid #5a9e97;
}

.back_hed ul li .child .wrap .ext,
.back_hed ul li .child .wrap .int {
    padding: 5px 8px;
    display: grid;
    grid-template-columns: 33.3% 33.3% 33.3%;
}

.en .back_hed ul li .child .wrap .ext,
.en .back_hed ul li .child .wrap .int {
    padding: 13px 8px 5px;
    display: grid;
    grid-template-columns: 100%;
}

.back_hed ul li .child.faculty .wrap .int {
    padding: 5px 8px;
    display: grid;
    grid-template-columns: 50% 50%;
}

.back_hed ul li .child .wrap .ext a,
.back_hed ul li .child .wrap .int a {
    padding: 10px .8em;
}

.en .back_hed ul li .child .wrap .ext a,
.en .back_hed ul li .child .wrap .int a {
    padding: 0 .8em 0;
}

.back_hed ul li .child .wrap .int p.note {
    grid-column-start: 1;
    grid-column-end: 4;
    font-size: 13px;
    border-bottom: 1px #80b4ee dotted;
    padding: 5px 0 6px;
    margin: 0 .8em;
    color: #80b4ee;
}

.back_hed ul li .child p {}

.back_hed ul li .child p a:before {
    padding-right: .4em;
    content: '';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da";
}

.back_hed ul li .child .int p a:before {
    color: #80b4ee;
}

.back_hed ul li .child .ext p a:before {
    color: #5a9e97;
}

.back_hed ul li .child p {
    font-size: 14px;
}

.en .back_hed ul li .child p {
    font-size: 13px;
    padding-bottom: .6em;
}

.back_hed ul li .child p a {
    padding: 12px 0;
    display: block;
}

header#top .back_hed ul li .child p a:hover {
    border-bottom: 0;
    color: #1b736a;
}


/* sp header */

#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 30px 0 0;
    line-height: 1;
    z-index: 999;
}

#top-head a,
#top-head {
    color: #fff;
    text-decoration: none;
}

#top-head .inner {
    position: relative;
}

#top-head .logo {
    float: left;
}

#global-nav ul {
    list-style: none;
    right: 0;
    bottom: 0;
    font-size: 14px;
    padding-top: 2em;
}

#global-nav ul li {
    line-height: 2;
    padding: 10px 0;
}

#global-nav ul li a {
    padding: 5px 30px;
}


/* Fixed */

#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 0px;
    height: 38px;
    background: #fff;
    background: rgba(255, 255, 255, .7);
    transition: top 0.65s all;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}


/* Toggle Button */

#nav-toggle {
    display: none;
    position: absolute;
    right: 13px;
    top: 8px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 9px;
}

#nav-toggle span:nth-child(3) {
    top: 18px;
}

#top-head {
    display: none;
}

/* spmenu */

@media (max-width: 1110px) {
    header#top {
        display: none;
    }

    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }

    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
        background-color: #fff;
        display: block;
        box-shadow: 0px 0px 3px 0px #cccccc;
    }

    /* Fixed reset */
    #mobile-head {
        background: #fff;
        width: 100%;
        height: 38px;
        z-index: 999;
        position: relative;
    }

    #top-head.ag .inner #mobile-head {
        border-top: 2px solid #f93;
        height: 36px;
    }

    #top-head h1 {
        position: absolute;
        left: 8px;
        top: 3px;
        color: #333;
        padding: 0;
        font-size: 12px;
    }

    #top-head h1 img {
        width: 145px;
        height: auto;
    }

    #global-nav {
        position: absolute;
        top: calc(-100vh - 40px);
        width: 100%;
        height: 100%;
        height: 100vh;
        overflow-y: scroll;
        text-align: center;
        padding: 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        background-color: #333;
    }

    #global-nav ul {
        list-style: none;
        position: static;
        padding: 1em 0 1em;
        width: 90%;
        margin: 1em auto;
        font-size: 14px;
        margin-top: 40px;
    }

    #global-nav ul li {
        margin: 0 auto;
        padding: 0 0 10px 0;
        width: 100%;
        display: block;
        text-align: left;
    }

    #global-nav ul li::after {
        clear: both;
        content: '';
        display: table;
    }

    #global-nav ul li:last-child {
        padding-bottom: 125px;
    }

    #global-nav ul li p {
        line-height: 1.5;
        display: inline;
        width: calc(50% - 10px);
        font-size: 14px;
        text-align: center;
        float: left;
    }

    #global-nav ul li p.note {
        clear: both;
        width: 100%;
        text-align: center;
        color: #fff;
        font-size: 14px;
        font-family: 'Noto Serif JP', serif;
    }

    #top-head #global-nav ul li p a {
        padding: 7px 0 7px 0;
        display: block;
    }

    #global-nav ul li h4 {
        padding: 25px 10px 10px 10px;
        margin-bottom: .2em;
        line-height: 1.4;
        font-weight: normal;
        text-align: center;
        display: block;
        clear: both;
        font-size: 14px;
        border-bottom: 1px dotted #999;
        font-family: 'Noto Serif JP', serif;
    }

    #global-nav ul li h4.border_none {
        padding-top: 30px;
        border-bottom: 0;
    }

    #global-nav ul li p.wide {
        width:100%;
        display: block;
        clear: both;
    }

    #global-nav ul li .wrap_int {
        background-color: #444;
        border-radius: 5px;
        padding: 13px 0;
        margin-top: 7px;
        float: left;
        width: 100%;
    }

    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        padding: 0;
        color: #fff;
    }

    #nav-toggle {
        display: block;
    }

    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(calc(100vh + 40px));
        -webkit-transform: translateY(calc(100vh + 40px));
        transform: translateY(calc(100vh + 40px));
    }

}

/* top */
#topvi {
    min-height: 700px;
    background-position: center;
    background-size: cover;
}

#topvi .logo_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 285px 0 160px;
}

#topvi .logo_wrap img {
    max-width: 345px;
    height: auto;
    padding: 0 20px;
}

#topvi .notis_wrap {
    max-width: 1150px;
    position: relative;
    margin: 0 auto;
}

#topvi .notis {
    max-width: 650px;
    display: flex;
    justify-self: center;
    align-items: center;
    background-color: #fff;
    border: 2px solid #ba6d6d;
    border-radius: 6px;
    position: relative;
    margin: 0 0 20px auto;
    bottom: 30px;
    padding: 10px 0;
}

#topvi .notis h3 {
    color: #ac3f3f;
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    padding: 0 20px;
}

#topvi .notis .text {
    border-left: 2px solid #ac3f3f;
    padding: 5px 20px;
    line-height: 1.8;
    font-size: 14px;
}

#topvi .notis .text a {
    color: #ac3f3f;
}

section.announcement div {
    max-width: 940px;
    margin: 50px auto;
}

.announcement div dl {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5em;
    line-height: 2;
}

.announcement div dl dt {
    color: #1b736a;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #1b736a;
    border-radius: 6px;
    padding: 3px 0;
    width: 145px;
    text-align: center;
    margin-right: 1.5em;
}

.announcement div dl dd {
    text-align: justify;
}

.announcement div h3 {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 40px;
    margin-top: 30px;
}

.announcement div h3 span {
    padding: 0 10px 13px;
    border-bottom: 3px solid #1b736a;
}

section.announcement div a {
    color: #1b736a;
}

@media (max-width: 980px) {
    #topvi .notis {
        max-width: 650px;
        margin: 0 1.5em 20px;
        bottom: 30px;
        padding: 10px 0;
        flex-direction: column;
    }

    #topvi .notis .text {
        border-top: 1px solid #ac3f3f;
        border-left: 0;
        padding: 10px 10px;
        margin-top: 5px;
    }
}

@media (max-width: 600px) {
    #topvi .logo_wrap img {
        max-width: 75%;
        height: auto;
        padding: 0;
        margin: 0 auto;
    }

    #topvi .logo_wrap {
        padding: 200px 0 130px;
    }
}

/* top event */

section.news {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

section.news div {
    width: 50%;
    background-position: center;
    background-size: cover;
    padding: 35px 35px;
}

section.news div h3 {
    color: #fff;
    font-size: 24px;
    text-align: center;
    padding-bottom: 24px;
    font-family: 'Noto Serif JP', serif;
    font-weight: normal;
}

section.news div h3 span {
    display: block;
    font-size: 13px;
}

section.news .event {
    background-image: url(../images/template/event_bg.jpg);
}

section.news .act {
    background-image: url(../images/template/act_bg.jpg);
}

section.news div.event ul {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0;
}

section.news div.event ul li {
    background-color: #fff;
    width: 48.5%;
    height: auto;
    padding: 15px;
    list-style: 1.7;
    margin-right: 1.5%;
    margin-bottom: 1em;
    list-style: none;
    font-size: 13px;
}

section.news div.event ul li:nth-child(2n) {
    margin-right: 0;
    margin-left: 1.5%;
}

section.news div.event ul li .thum {
    background-image: url(../images/template/event_thum.png);
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

section.news div.event ul li .thum img {
    max-height: 220px;
}

section.news div.event ul li .date {
    background-color: #5a9e97;
    color: #fff;
    font-size: 12.5px;
    border-radius: 3px;
    display: inline-block;
    width: auto;
    height: auto;
    padding: 3px 8px;
    margin: 15px 0 8px;
}

section.news div ul li h4 {
    line-height: 1.5;
    color: #1b736a;
    font-weight: 500;
}

section.news div ul li .dl {
    font-size: 12.5px;
    padding: 10px 0 0;
    color: #666;
}

section.news .btn {
    width: 100%;
    padding: 0;
}

section.news .act ul {
    flex-direction: column;
    padding: 0 0 10px 0;
}

section.news .act ul li {
    width: 100%;
    background-color: #fff;
    border-left: 3px solid #a35526;
    margin-bottom: 20px;
    padding: 15px 20px 18px 15px;
    list-style: none;
    font-size: 15px;
}

section.news .act ul li .date {
    width: auto;
    padding: 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    padding: 0 0 5px 0;
}

section.news .act ul li a {
    color: #a35526;
}

section.news .act a {
    background-color: #a35526;
}

.btn a {
    display: flex;
    justify-content: center;
    align-items: baseline;
    background-color: #5a9e97;
    color: #fff;
    font-size: 15px;
    padding: 5px 20px 7px;
    transition: all .4s;
    margin: 20px 0 20px auto;
    border-radius: 5px;
    line-height: 2;
}

section .act .btn a.act_btn {
    background-color: #a35526;
}

.btn a i {
    padding-top: 3px;
    padding-left: 7px;
    color: #fff;
    font-size: 95%;
}

.btn a:hover {
    background-color: #5a9e97;
}

.btn a.evt,
.btn a.act_btn {
    width: 255px;
}

@media (max-width: 980px) {
    section.news {
        flex-direction: column;
        margin: 0 auto;
    }

    section.news div {
        width: 100%;
        padding: 35px 35px;
    }

    .announcement div dl {
        flex-direction: column;
        margin-bottom: 1.5em;
        padding: 0 1.5em;
    }
}

@media (max-width: 600px) {
    section.news div.event ul {
        flex-direction: column;
    }

    section.news div.event ul li {
        background-color: #fff;
        width: 100%;
        height: auto;
        margin: 0 auto;
        margin-bottom: 1em;
    }

    section.news div.event ul li:nth-child(2n) {
        margin-right: 0;
        margin-left: 0;
    }
}


/* top exam */

section.exam {
    max-width: 1200px;
    margin: 80px auto;
}

section.exam .wrap {
    background-image: url(../images/template/adm_bg.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    position: relative;
    padding-top: 85px;
}

section.exam .wrap .text {
    margin: 0 0 0 auto;
    line-height: 1.8;
    max-width: 800px;
    background-color: #fff;
    text-align: justify;
    font-size: 15px;
    padding: 20px 0 20px 30px;
}

section.exam .wrap .text h3 {
    color: #1b736a;
    font-size: 30px;
    padding-top: 5px;
    font-family: 'Noto Serif JP', serif;
    font-weight: normal;
}

section.exam .wrap .text .date {
    color: #666;
    font-size: 13px;
    padding-top: 40px;
}

section.exam .wrap .text h4 {
    font-size: 20px;
    font-family: 'Noto Serif JP', serif;
    font-weight: normal;
    padding-bottom: 15px;
}

.btn a.adm {
    width: 320px;
    margin: 40px 0 20px auto;
}

@media (max-width: 980px) {
    section.exam .wrap {
        background-image: none;
        padding-top: 45px;
    }

    section.exam .wrap .text {
        margin: 0 auto;
        padding: 0 1.5em;
    }

    .btn a,
    .btn a.adm {
        max-width: 100%;
        margin: 40px auto 20px auto;
    }
}

/* event single page */

.back_img_title {
    padding-top: 0;
    display: block;
    max-width: 960px;
    min-height: 300px;
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    background-color: rgba(0, 0, 0, 0.2);
    background-blend-mode: overlay;
    margin: 190px auto 1em;
    border-radius: 3px;
}

.back_img_title h2 {
    position: absolute;
    top: 15%;
    left: 0;
    min-width: 250px;
    text-align: right;
    font-size: 36px;
    font-weight: normal;
    background-image: linear-gradient(270deg, transparent 0, rgba(255, 255, 255, .15) 20%, rgba(255, 255, 255, .25) 45%);
    padding: 10px 1em 10px 1em;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 0 3px #000);
}

.back_img_title h2 span {
    display: block;
    font-size: 26px;
    font-family: 'Noto Sans JP', sans-serif;
}

.back_img_title.type2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.back_img_title.type2 h2 {
    position: relative;
    top: auto;
    left: auto;
    min-width: 250px;
    padding: 20px 1em 20px 1em;
    text-align: center;
    font-size: 36px;
    font-weight: normal;
    background-image: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 0 3px #000);
}

h2.single {
    padding-top: 230px;
    font-size: 30px;
    text-align: center;
    font-weight: normal;
    font-family: 'Noto Serif JP', serif;
}

h2.single span {
    display: block;
    width: 70px;
    border-top: 5px solid #bbb;
    margin: 20px auto 50px;
}

main#single {
    width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    line-height: 1.9;
    padding: 0 0 30px;
}

main#single section {
    width: 76%;
    margin-right: 4%;
}

main#single aside {
    width: 20%;
    margin-top: 15px;
}

main#single aside h4 {
    background-color: #eee;
    color: #1b736a;
    text-align: center;
    padding: 7px;
    margin-bottom: 1em;
    font-family: 'Noto Serif JP', serif;
    width: 100%;
}

main#single aside ul {
    padding: 0;
    margin: 0;
}

main#single aside ul li {
    list-style: none;
    padding-left: 1em;
}

main#single aside ul li:before {
    font-family: "Font Awesome 6 Free";
    content: '\f0da';
    font-weight: 900;
    color: #5a9e97;
    margin-right: .5em;
}

@media (max-width: 1110px) {
    h2.single {
        padding-top: 80px;
        font-size: 24px;
        padding-left: 1em;
        padding-right: 1em;
    }

    main#single {
        width: 90%;
        margin: 0 auto;
        flex-direction: column;
    }

    main#single section {
        width: 100%;
    }

    main#single aside {
        width: 100%;
    }

    .back_img_title {
        margin: 40px auto 1em;
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .back_img_title h2 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        min-width: 250px;
        text-align: center;
        font-size: 24px;
        font-weight: normal;
        background-image: none;
        line-height: 1.5;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        border-top: 1px solid rgba(255, 255, 255, 0.4);
        filter: drop-shadow(0 0 3px #000);
    }

    .back_img_title h2 span {
        font-size: 19px;
    }
}

/* page content */

main#single section .content {
    margin: 1.5em auto;
}

main#single section .content p {
    padding-bottom: 1em;
}

main#single section .content .img {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

main#single section .content .img p {
    font-size: 11.5px;
    text-align: center;
    padding: .2em 0 0;
}

main#single section .content .img p.notis {
    /* color: #ac3f3f; */
}

main#single section .content .img.right {
    float: right;
    padding: 0 0 .5em 1.5em;
}

main#single section .content .img a {
    /* color: #ac3f3f; */
}

/* component */

main#single h2 {
    border-bottom: 2px solid #5a9e97;
    font-size: 20px;
    line-height: 1.5;
    font-family: 'Noto Serif JP', serif;
    padding: .4em 0;
    margin-bottom: .4em;
    font-weight: normal;
}
/*
main#single h3 {
    font-size: 22px;
    line-height: 1.5;
    font-family: 'Noto Serif JP', serif;
    padding: 1.2em 0 .8em;
    font-weight: normal;
}
*/
main .op_date {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: .3em 0;
    line-height: 1.6;
}

main .op_date dt {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .8em;
    color: #fff;
    background-color: #5a9e97;
    border-radius: 5px;
    margin-right: .8em;
    font-size: 13px;
}

main .spec dl {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1.7em;
}

main .spec dl dt {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    margin-right: 1.5em;
    border: 1px solid #999;
    border-radius: 5px;
    padding: 0 1em;
    font-size: 14px;
}

main .spec dl dd {
    text-align: justify;
}

main .spec dl a {
    /* color: #ac3f3f; */
}

main .note {
    text-align: center;
    padding: 3em 0;
}

main .note a {
    color: #ac3f3f;
}

main .note h5 {
    font-size: 18px;
    font-weight: normal;
    padding-bottom: .8em;
}

main .contact {
    background-color: #f7f7f7;
    padding: 24px 30px 20px;
    margin: 2em auto;
    color: #666;
}

main .contact h4,
main#page .contact h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    padding: 0 0 .8em 0;
    margin: 0;
    font-weight: normal;
    border: 0;
    line-height: 1.6;
}

.page_navi {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.page_navi a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5a9e97;
    color: #fff;
    font-size: 17px;
    text-align: center;
    width: 31%;
    height: 70px;
    border-radius: 5px;
    margin: 25px 10px 40px;
    transition: all .4s;
    font-family: 'Noto Serif JP', serif;
}

.page_navi a.outreach {
    background-color: #fff;
    border:2px solid #5a9e97;
    color: #1b736a;
}

.page_navi a:hover {
    background-color: #1b736a;
}
.page_navi a.outreach:hover {
    background-color: #eee;
}

.multi_column {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.multi_column > * {
    margin-right: 1em;
}

small {
    font-size: 80%;
}

.anker {
    padding-top: 120px;
    margin-top: -120px;
}

@media (max-width: 980px) {
    main .spec dl {
        flex-direction: column;
    }
}

@media (max-width: 800px) {
    .page_navi {
        flex-direction: column;
    }

    .page_navi a {
        width: 90%;
        min-height: 70px;
        margin: 10px 10px 5px;
    }

    main .contact {
        background-color: #f7f7f7;
        padding: 20px 1.5em 15px;
        text-align: left;
    }
}




/* Archive */

main#single section .archive ul {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0;
}

main#single section .archive ul li {
    background-color: #fff;
    width: 32%;
    height: auto;
    padding: 15px;
    list-style: 1.7;
    margin-right: 1%;
    margin-bottom: 1em;
    list-style: none;
    font-size: 13px;
}

main#single section .archive ul li:nth-child(3n) {
    margin-right: 0;
}

main#single section .archive ul li .thum {
    background-image: url(../images/template/event_thum.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

main#single section .archive ul li .thum img {
    max-height: 220px;
}

main#single section .archive ul li .date {
    background-color: #5a9e97;
    color: #fff;
    font-size: 12.5px;
    border-radius: 3px;
    display: inline-block;
    width: auto;
    height: auto;
    padding: 3px 8px;
    margin: 15px 0 8px;
}

main#single section ul li h4 {
    line-height: 1.5;
    color: #1b736a;
    font-weight: 500;
}

main#single section ul li .dl {
    font-size: 12.5px;
    padding: 10px 0 0;
    color: #666;
}

@media (max-width:860px) {
    main#single section .archive ul {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding: 0;
    }

    main#single section .archive ul li {
        background-color: #fff;
        width: 50%;
        height: auto;
        padding: 15px;
        list-style: 1.7;
        margin-right: 0;
        margin-bottom: 1em;
        list-style: none;
        font-size: 13px;
    }

    main#single section .archive ul li:nth-child(3n) {
        margin-right: 0;
    }

    main#single section .archive ul li:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width:480px) {
    main#single section .archive ul li {
        width: 100%;
    }
}


/* Activity */

article.act {
    text-align: justify;
    background-image: url(../images/template/line.png);
    background-repeat: no-repeat;
    background-size: 124px auto;
    background-position: center top;
    padding-top: 3.5em;
    padding-bottom: 2.5em;
}

section article.act:first-child {
    background-image: none;
    padding-top: 0;
}

article.act h3 {
    font-family: 'Noto Serif JP', serif;
    border-left: 6px solid #5a9e97;
    padding-left: 10px;
    margin-bottom: 1em;
    font-size: 22px;
    font-weight: normal;
}

article.act h3 span {
    display: block;
    font-size: 13px;
}

article.act .text {
    text-align: justify;
    padding: 0 0 1.5em 0;
}

article.act .text::after {
    clear: both;
    content: '';
    display: table;
}

article.act .text img {
    border: 1px solid #999;
}

.photo1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    float: right;
    color: #666;
    text-align: center;
}

.photo1:after {
    content: '';
    display: table;
    clear: both;
}

main#page .photo1 p {
    text-align: center;
    padding: 5px 0;
}

.photo1.right {
    padding: 0 0 .8em 2em;
}

.photo1.left {
    padding: 0 2em .8em 0;
    float: left;
}

.photo_multi {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 0 0 .8em 0;
}

.photo_multi .img {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    color: #666;
    text-align: center;
    font-size: 12px;
    padding: 1px;
    margin-right: 10px;
}
.photo_multi .img:last-child {
    margin-right: 0;
}

.photo_multi .img p {
    padding: .3em 0;
}

/* page */

main#page {
    margin: 0 auto;
    max-width: 860px;
    line-height: 1.8;
}

main table {
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-spacing: 0;
    font-size: 15px;
}

main table th {
    background-color: #5a9e97;
    color: #fff;
    border-right: 1px solid #aaa;
    padding: 5px 1em;
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-weight: normal;
}

main table td {
    border-bottom: 1px solid #aaa;
    border-right: 1px solid #aaa;
    padding: 5px 1em;
}

main table.teacher-table {
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 980px) {
    main#page {
        width: 90%;
    }
}

@media screen and (max-width: 860px) {
    .scroll {
        overflow-x: auto;
    }

    main table {
        min-width: 640px;
        margin: 0 10px 50px;
    }
}

@media screen and (max-width: 700px) {
    .photo1 {
        float: none;
        padding: 0;
        display: table;
    }

    .photo1.right {
        padding: 0 0 .5em;
    }

    main#single section .content .img.right {
        padding: 0 0 .5em;
    }
    .photo_multi .img {
        margin-right: auto;
    }
    .photo_multi .img:last-child {
        margin-right: auto;
    }

}



main#page h2 {
    font-family: 'Noto Serif JP', serif;
    margin: 1em 0 1em;
    font-weight: normal;
    font-size: 26px;
    line-height: 1.4;
}

main#page h3,
main#single h3 {
    font-family: 'Noto Serif JP', serif;
    padding-left: 10px;
    margin: 1.8em 0 .8em;
    border-left: 5px solid #5a9e97;
    font-weight: normal;
    font-size: 26px;
    line-height: 1.4;
}

main#page h4,
main#single h4 {
    font-family: 'Noto Serif JP', serif;
    font-weight: normal;
    font-size: 22px;
    display: table;
    border-bottom: 2px solid #5a9e97;
    padding: 1em 2px .2em 0;
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.4;
}

main#page h5,
main#single h5 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 18px;
    padding: 1em 0 .5em;
    line-height: 1.4;
}

main#page p {
    text-align: justify;
    padding-bottom: 1em;
}

main#page .line {
    height: 160px;
    background-image: url(/images/template/line2.png);
    background-size: 102px auto;
    background-position: center center;
    background-repeat: no-repeat;
}

.about_list {
    font-size: 18px;
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 1.5em;
    margin-top: 1em;
}

.about_list li {
    border-bottom: 1px solid #1b736a;
    padding: 2px 1em 0 5px;
    margin-bottom: .5em;
    list-style: none;
    display: table;
}

main#page ol,
main#page ul {
    margin: 0 0 1.5em;
    padding: .2em 1em;
}

/* banner */
.bn {
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.bn img {
    max-height: 70px;
    margin: 10px;
    padding: 30px 0;
    box-sizing: content-box;
}

@media (max-width: 1110px) {
    .bn {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .bn img {
        max-height: 70px;
        margin: 0;
        padding: 10px;
        box-sizing: content-box;
    }

    main#page ol,
    main#page ul {
        padding: 0;
    }
}

/* footer */
footer {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    padding: 10px 0 5px;
}

footer .logo {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

footer .logo img {
    max-height: 100px;
    padding: .5em;
}

footer h3 {
    font-size: 19px;
    font-weight: normal;
    padding: 25px 0 5px;
    color: #1b736a;
}

footer p.info {
    font-size: 14px;
    line-height: 1.8;
    color: #777;
}

#copy {
    font-size: 12px;
    line-height: 1.8;
    color: #1b736a;
    padding-top: 25px;
}

/* accordion */
.accordion {
    margin: 1em auto;
    width: 100%;
}

.accordion .toggle {
    display: none;
}

.accordion .option {
    position: relative;
    margin-bottom: 1.5em;
}

.accordion .title,
.accordion .content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all .3s;
}

.accordion .title {
    padding: 1em 1.5em;
    display: block;
    background-color: #5a9e97;
    color: #fff;
    cursor: pointer;
    transition: all .4s;
}

.accordion .title:hover {
    background-color: #ccc;
    color: #333;
}

.accordion .title::after,
.accordion .title::before {
    content: "";
    position: absolute;
    right: 1.5em;
    top: 1.5em;
    width: 2px;
    height: 0.75em;
    background-color: #fff;
    transition: all .4s;
}

.accordion .title::after {
    transform: rotate(90deg);
}

.accordion .content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1em;
}


.accordion .toggle:checked+.title+.content {
    max-height: 1500px;
    transition: all 1.5s;
}

.accordion .toggle:checked+.title::before {
    transform: rotate(45deg) !important;
}

.accordion .toggle:checked+.title::after {
    transform: rotate(135deg) !important;
}

/* option */
.column_LR {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
}

.column_LR div {
    width: 50%;
    flex-shrink: 0;
}

.column_LR div {
    padding-right: .5em;
}

.column_LR div:nth-child(2n) {
    padding-right: 0;
    padding-left: .5em;
}

main#page ol li,
main#page ul li {
    padding-bottom: .5em;
    margin-left: 2em;
}

i {
    padding-left: .2em;
    padding-right: .2em;
}

a i {
    color: #1b736a
}

b,
strong {
    font-weight: bold;
}

.red {
    color: #ac3f3f;
}

.green {
    color: #1b736a;
}

.blue {
    color: #096195;
}

.white {
    color:#fff;
}

.small {
    font-size: 85%;
}

.red_txbox {
    background-color: #ac3f3f;
    color: #fff;
    display: inline-block;
    text-align: center;
    width: 1.5em;
    font-size: 85%;
    line-height: 1;
    padding: .25em 0;
    border-radius: 3px;
    margin: 0 .2em;
}

.red_border {
    border: 1px solid #ac3f3f;
    border-radius: 2px;
    padding: .7em 1.2em .1em;
    font-size: 90%;
    text-align: justify;
    margin: 1em auto;
}

.flex_basic {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.flex_between {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.flex_basic p.pd_left,
.flex_between p.pd_left {
    padding-left: 1.5em;
}

.flex_basic p.pd_right,
.flex_between p.pd_right {
    padding-right: 1.5em;
}

.flex_between img,
.flex_basic img {
    display: inline-block;
    flex-shrink: 0;
}

.font-small {
    font-size: 87%;
}

@media (max-width: 960px) {
    .flex_basic {
        flex-wrap: wrap;
    }

    .flex_between {
        flex-wrap: wrap;
    }

    .column_LR {
        flex-direction: column;
    }

    .column_LR div {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 600px) {

    .flex_basic p.pd_left,
    .flex_between p.pd_left {
        padding-left: 0;
    }

    .flex_basic p.pd_right,
    .flex_between p.pd_right {
        padding-right: 0;
    }
}

/* old_style */
.column-half {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100% !important;
}

.column-half p,
.column-half img {
    flex-shrink: 0;
}

.column-half a img {
    padding-bottom: 8.5px;
}

@media (max-width: 800px) {

    .column-half p,
    .column-half img {
        flex-shrink: 1;
    }
}


/* margin */
.mt10 {
    margin-top: 20px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mt30 {
    margin-top: 30px !important;
}

.mt40 {
    margin-top: 40px !important;
}

.mt50 {
    margin-top: 50px !important;
}

.mt60 {
    margin-top: 60px !important;
}

.mt70 {
    margin-top: 70px !important;
}

.mt80 {
    margin-top: 80px !important;
}

.mt90 {
    margin-top: 90px !important;
}

.mt100 {
    margin-top: 100px !important;
}

.mt125 {
    margin-top: 125px !important;
}

.mt150 {
    margin-top: 150px !important;
}

.pt1 {
    padding-top: 1em !important;
    display: inline-block;
}

.pb1 {
    padding-bottom: 1em !important;
    display: inline-block;
}

.clear::after {
    content: '';
    clear: both;
    display: block;
}

.clear::before {
    content: '';
    clear: both;
    display: block;
}