@charset "utf-8";
/* CSS Document */

@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

:root{
	--main-color: #86b81b;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    zoom: 1;
}
html{
    font-size: 62.5%;
        background: var(--main-color);
}
body{
    color: #121212;
    font-family: 'Noto Sans Japanese', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    background: #ffffff;
}
.inner {
    padding-left: 20px;
    padding-right: 20px;
}
input[type="submit"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
li {
    list-style-type: none;
    zoom: normal;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
    border-style: none;
}
.youtube{
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
.youtube iframe{
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}
.spNone{
    display: none !important;
}

/* img */
figure.object-fit {
        position: relative;
        overflow: hidden;
}
figure.object-fit>img {
        object-fit: cover;
        min-width: 100%;
        min-height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
}

/* btns */
.btns{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.btns a{
        min-width: 280px;
        font-size: clamp(1.1rem, 1.3vw, 1.3rem);
        color: #ffffff;
        font-size: 108%;
        font-weight: 500;
        letter-spacing: 0.03em;
        text-align: center;
        text-decoration: none;
        padding: 16px 28px;
        background: var(--main-color);
        border-radius: calc(1px / 0);
        box-shadow: 0 3px 0 #197f2d;
}

/* post-edit-link */
.post-edit{
        position: fixed;
        bottom: 12px;
        left: 12px;
        z-index: 500;
        padding: 0.3em 0.8em;
        background: rgba(255, 255, 255, 0.6);
}
.post-edit-link{
	display: inline;
        font-size: 85%;
        text-decoration: underline;
}


/* ----- header ----- */

#header{
        width: 100%;
        padding-top: 16px;
        padding-bottom: 16px;
}
#header .inner{
}
#header *.sitelogo,
#js-menu *.sitelogo{
        width: 240px;
        margin-right: auto;
}

/* ----- main navi ----- */

.menu {
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        align-items: start;
        width: 100%;
        height: 100%;
        background: rgba(51, 51, 51, 0.85);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: all 0.3s ease;
        transition-property: opacity, pointer-events, visibility;
        z-index: 500;
}
.menu.is-show {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.menu__content {
        width: 100%;
        padding-top: 40px;
}
#main_nav{
        display: flex;
        flex-wrap: wrap;
        gap: 1.5em 20px;
        margin: 28px auto;
}
#main_nav>ul{
        display: grid;
        width: 100%;
        border-top: solid 1px #ffffff;
}
#main_nav>ul>li{
	font-size: 95%;
        line-height: 1.6;
        font-weight: 400;
        border-bottom: solid 1px #ffffff;
}
#main_nav>ul>li>a{
        display: block;
        color: #ffffff;
        padding: 0.8em 0;
        text-decoration: none;
}
.header__menu {
        position: fixed;
        top: 28px;
        right: 20px;
        cursor: pointer;
        height: 24px;
        font-size: 85%;
        line-height: 24px;
        padding-left: 32px;
        background: url(../images/common/menu_bk.png) no-repeat center left;
        background-size: 20px auto;
        z-index: 100;
}
#header.is-show .header__menu{
        opacity: 0;
}
.sns-link{
        display: flex;
        flex-wrap: wrap;
        gap: 0.3em 1.5em;
}
.sns-link a{
        color: #ffffff;
}
.sns-link a i{
    margin-right: 0.6em;
}
.button-close {
        cursor: pointer;
        position: absolute;
        top: 28px;
        right: 20px;
        color: #ffffff;
        font-size: 85%;
        line-height: 24px;
        padding-left: 32px;
        background: url(../images/common/close_wh.png) no-repeat center left;
        background-size: 18px auto;
        z-index: 501;
}
/* ----- footer ----- */

#footer{
	padding-top: 40px;
        background: #ffffff;
        box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.06);
}
#foot-address{
}
#foot-address .inner{
        display: flex;
        flex-wrap: wrap;
        gap: 12px 20px;
        justify-content: center;
        align-items: center;
}
#foot-address figure.logo{
        width: fit-content;
        max-width: 50%;
        min-width: 280px;
        margin: 0 auto;
}
#foot-address address{
        width: fit-content;
        font-size: 95%;
        font-style: normal;
        line-height: 1.6;
        margin: 0 auto;
}
#foot-address address a{
        color: inherit;
}
#foot-address address a i{
    margin-right: 0.6em;
}
#copyright{
        color: #ffffff;
        font-size: 75%;
        font-weight: 200;
        letter-spacing: 0.05em;
        text-align: center;
        margin-top: 40px;
        padding-top: 28px;
        padding-bottom: 28px;
        background: var(--main-color);
}


/* ----- pagetop ----- */

#pagetop{
        position: fixed;
        right: 8px;
        bottom: 16px;
        z-index: 100;
}
#pagetop a{
        display: grid;
        align-items: center;
        width: 72px;
        height: 40px;
        color: #ffffff;
        font-size: 12px;
        text-align: center;
        text-decoration: none;
        background: var(--main-color);
        background-size: contain;
        border-radius: 3px;
        border: solid 1px #ffffff;
}

/* ----- commons ----- */

#breadcrumb{
        padding: 12px 0;
        margin-bottom: 48px;
        background: #f2f2f2;
        border-top: solid 1px #e5e5e5;
        border-bottom: solid 1px #e5e5e5;
}
#breadcrumb .aioseo-breadcrumbs{
        display: flex;
        flex-wrap: wrap;
        gap: 0.15em 8px;
}
#breadcrumb .aioseo-breadcrumbs>*{
        font-size: 80%;
        line-height: 1.6;
}
#breadcrumb .aioseo-breadcrumb-separator{
    color: #666666;
}
#breadcrumb a{
        display: inline;
        text-decoration: underline;
}
#contents{
    padding-bottom: 80px;
}


/* Default style for WP-PageNavi plugin */

.wp-pagenavi {
    margin: 40px 0 0;
    text-align: center;
    clear: both;
}
.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-block;
    text-decoration: none;
    padding: 3px 5px;
    margin: 2px;
    border: 1px solid #BFBFBF;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #000;
}
.wp-pagenavi span.current {
    font-weight: bold;
}

/* ----- 404 ----- */

#page404{
    text-align: center;
    padding-top: 48px;
    padding-bottom: 80px;
}
#page404 .text_404{
    color: #cccccc;
    font-size: 120px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
#page404 .text_notfount_en{
    color: #cccccc;
    font-size: 24px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 0 24px;
}
#page404 .text_notfount_ja{
    color: #999999;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 0 40px;
}
#page404 .text_notfount_ja+p,
#page404 .renewal{
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 2.5em;
}
#page404 p.ask{
    font-size: 1.5rem;
    font-weight: 500;
    text-align: left;
    margin-bottom: 0.75em;
}
#page404 p.ask+p{
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 2.5em;
}


/* ----- ブログカード設定 ----- */
.post-card{
        margin-top: 2em;
        margin-bottom: 2em;
        position: relative;
}
.post-card .card-link {
        display: flex !important;
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
        border-radius: 5px;
        color: inherit;
        text-decoration: none !important;
        position: relative;
}
.post-card .longcard-img{
        order: 2;
        width: calc(40% - 12px);
        height: fit-content;
        position: relative;
        aspect-ratio: 1 / 1;
        border-radius: 3px;
        overflow: hidden;
}
.post-card .longcard-img>img{
        object-fit: cover;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
}
.post-card .card-link .blogcard-text {
        order: 1;
        width: 60%;
        display: grid;
        align-items: center;
        align-content: center;
        flex-direction: column;
        gap: 1em;
}
.post-card .blogcard-title {
        color: #121212;
        font-size: 105% !important;
        font-weight: 600;
        line-height: 1.6 !important;
}
.post-card .blog-card-excerpt-long {
        color: #999999;
        font-size: 75% !important;
        font-weight: 600;
        line-height: 1.6 !important;
        text-align: justify;
}
@media (max-width: 480px){
	.post-card .blog-card-excerpt-long {
	        display: none;
	}
}
.post-card .blog-card-label{
        width: fit-content;
        color: #ffffff;
        font-size: 80% !important;
        font-weight: 600;
        line-height: 1 !important;
        padding: 0.5em 1.3em;
        margin-bottom: -0.7em;
        border-radius: calc(1px / 0);
        background: #000000;
}

/* ----- home -----*/

#mv {
    overflow-x: hidden;
}
#mv .carousel-swiper {
    width: 100%;
    overflow: hidden;
}
#mv .swiper {
  overflow: visible; /* チラ見せ必須 */
}
#mv .swiper-slide {
  transition: transform .3s;
}
#mv .swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.9);
  opacity: 0.6;
}
#mv .swiper-pagination {
  bottom: 24px;
}
#mv .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  opacity: 1;
}
#mv .swiper-pagination-bullet-active {
        background: var(--main-color);
}

.header-section{
}
#home-info{
        padding-top: 48px;
        padding-bottom: 48px;
}
#home-info h3{
        line-height: 1.45;
}

#feature{
}
#feature .feature-list{
        display: flex;
        flex-wrap: wrap;
        gap: 1px;
        margin-left: auto;
        margin-right: auto;
}
#feature .feature-list>a{
        width: calc((100% - 2px) / 3);
        color: #ffffff;
        text-decoration: none;
        background: #cccccc;
        position: relative;
        overflow: hidden
}
#feature .feature-list>a .textWrap{
        height: 100%;
        aspect-ratio: 1 / 1;
        display: grid;
        align-items: end;
        align-content: end;
        text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
        padding: 16px;
        position: relative;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10;
}
#feature .feature-list>a .bg-image{
        object-fit: cover;
        opacity: 0.6;
        min-width: 100%;
        min-height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 0;
        transform: translate(-50%, -50%);
}
#feature .feature-list>a i{
	font-size: 210%;
        font-weight: 600;
        font-style: normal;
}
#feature .feature-list>a p.title-text{
            font-size: clamp(2.1rem, 1.8vw, 1.8rem);
        line-height: 1.35;
            font-weight: 800;
            margin-bottom: 0.25em;
}
#feature .feature-list>a p:not([class]){
        font-size: clamp(1.2rem, 1.2vw, 1.2rem);
        font-weight: 500;
        line-height: 1.4;
        word-break: keep-all;
}
@media (max-width: 679px){
	#feature .feature-list>a{
        width: calc((100% - 1px) / 2);
	}
}
#feature .feature-list>a.gakusai-tankyu{
        background: #ff6152;
}
#feature .feature-list>a.science-mathematics{
        background: #00beff;
}
#feature .feature-list>a.revolution{
        background: #ff7c84;
}
#feature .feature-list>a.achievement{
	background: #3f547c;
}
#feature .feature-list>a.club{
        background: #f56d00;
}
#feature .feature-list>a.ssh{
        background: #86b81b;
}

/* ----- post ----- */

p.date{
	color: #666666;
        line-height: 1.6 !important;
}
.info-list{
        border-top: solid 1px #cccccc;
}
.info-list>a{
        display: flex;
        flex-wrap: wrap;
        gap: 0.3em 8px;
        color: inherit;
        text-decoration: none;
        padding: 1em 0;
        border-bottom: solid 1px #cccccc;
}
.info-list>a p.date{
        font-size: 85% !important;
        margin-bottom: 0 !important;
}
.info-list>a p.title-text{
        width: 100%;
        line-height: 1.6 !important;
        margin-bottom: 0 !important;
}
.info-list>a .category{
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        align-items: center;
}
.info-list>a .category>span{
        color: #ffffff;
        min-width: 64px;
        height: fit-content;
        font-size: 85% !important;
        line-height: 1;
        text-align: center;
        padding: 0.3em 0.8em;
        background: #666666;
        border-radius: 1px;
}

.info-list_thumb{
	display: grid !important;
        gap: 20px !important;
        margin-bottom: 28px;
}
.info-list_thumb>a{
        color: inherit;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        empty-cells: inherit;
        text-decoration: none;
}
.info-list_thumb>a figure.thumbnail{
        width: 35%;
        max-width: 320px;
        aspect-ratio: 4 / 3;
        margin-bottom: 0;
        border: solid 1px #cccccc;
        border-radius: 8px;
}
.info-list_thumb>a .textWrap{
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        gap: 0.3em 1em;
        align-items: center;
        align-content: center;
}
.info-list_thumb>a .textWrap p.date{
        font-size: 85%;
        margin-bottom: 0 !important;
}
.info-list_thumb>a .textWrap p.title-text{
        width: 100%;
        font-size: 95%;
        line-height: 1.6 !important;
}
.info-list_thumb>a .category{
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
}
.info-list_thumb>a .category>span{
        color: #ffffff;
        min-width: 56px;
        height: fit-content;
        font-size: 75%;
        line-height: 1;
        text-align: center;
        padding: 0.3em 0.6em;
        background: #666666;
        border-radius: 1px;
}

.category span.club{
        background: #f56d00 !important;
}
.category span.exams{
        background: #3f547c !important;
}
.category span.ssh{
        background: #86b81b !important;
}
.category span.alumni-association{
        background: #00beff !important;
}
.category span.for-guardian{
        background: #0090ab !important;
}
.category span.full-time{
        background: #ff6152 !important;
}
.category span.evening-program{
        background: #9999cc !important;
}
.category span.event{
        background: #ff7c84 !important;
}
.category span.others{
}

.category-select{
        display: flex;
        flex-wrap: wrap;
        gap: 12px 28px;
        align-items: center;
        margin-top: 40px;
        margin-bottom: 20px;
}
.category-select>div.taxonomy{
        display: flex;
        gap: 8px;
        align-items: center;
}
.category-select p{
        word-break: keep-all;
        margin-bottom: 0 !important;
}
.category-select form{
    flex: 1;
}
.category-select select{
        padding: 4px 0.3em;
	background: #f2f2f2;
        border: solid 1px #cccccc;
}
.year-links{
        display: flex;
        flex-wrap: wrap;
        gap: 0.6em 0;
        margin-top: 24px;
        margin-bottom: 24px;
}
.year-links>a{
        font-size: 85%;
        padding-right: 0.6em;
        margin-right: 0.6em;
        border-right: solid 1px #cccccc;
}
.year-links>a:last-child{
        border-right: none;
}
