@charset "utf-8";

/* pattern common
================================================== */
/* title */
.sec_title,
.sec_subtitle{
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}
.sec_title{
    margin-bottom: 33px;
    font-size: 255.56%;
    font-size: 177.78%;
}
.sec_subtitle{
    margin-bottom: 25px;
    font-size: 166.67%;
    font-size: 122.23%;
}

/* link */
.link_simple{
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
}
.link_simple a{
    position: relative;
    display: inline-block;
    padding: 3px 32px 3px 0;
    background: transparent url(/shared/site_moridai/images/icon/link_icon18.png) no-repeat right 7px;
    font-weight: bold;
    color: inherit;
    text-decoration: underline;
}
.link_simple a:after{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    bottom: -6px;
    height: 2px;
    border-bottom: 2px solid #f39938;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* btn */
.btn_simple a{
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 14px 10px 12px;
    background-color: #666666;
    width: 100%;
    max-width: 440px;
    border-radius: 9px;
    font-weight: bold;
    line-height: 1.6;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}
.btn_simple a > span{
    display: inline-block;
    padding: 3px 34px 3px 0;
    background: transparent url(/shared/site_moridai/images/icon/gmap_link_icon.png) no-repeat right center;
    color: inherit;
}

/* news list */
.news_links .news_item{
    display: flex;
    list-style: none;
    line-height: 1.8;
}
.news_links .news_date{
    flex-shrink: 0;
    padding-left: 2px;
    padding-right: 10px;
    width: 195px;
    letter-spacing: 0.12em;
}
.news_links .news_link{
    flex: 1 auto;
    width: 100%;
}
.news_links .news_item:not(:last-of-type){
    margin-bottom: 7px;
}

/* thumnail */
li.thumbnail_item{
    list-style: none;
}
.thumbnail_item a{
    display: flex;
    flex-direction: column;
    background-color: transparent;
    color: inherit;
    text-decoration: none;
}
.thumbnail_item a:focus-visible{
    outline-offset: -1px;
}
.thumbnail_item .thumbnail_img{
    margin-bottom: 19px;
    overflow: hidden;
}
.thumbnail_item .thumbnail_img img{
    width: 100%;
    height: auto;
    vertical-align: top;
}
.thumbnail_item .thumbnail_title{
    margin-bottom: 18px;
    font-size: 111.11%;
    font-weight: bold;
    line-height: 1.5;
    text-decoration: underline;
}

/* mainvisual
================================================== */
.sec_mainvisual img{
    vertical-align: top;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* information
================================================== */
.sec_information{
    position: relative;
    padding-top: 91px;
    z-index: 1;
    min-height: 607px;
}
.sec_information:before,
.sec_information:after{
    position: absolute;
    background-color: transparent;
    background-repeat: no-repeat;
    color: inherit;
    pointer-events: none;
    z-index: -1;
}
.sec_information:before{
    content: '';
    top: 85px;
    right: 50%;
    margin-right: 584px;
    background-image: url(/shared/templates/moridai_top/images/icon/info_pattern_lft.png);
    background-size: 100% auto;
    width: 116px;
    height: 522px;
}
.sec_information .container{
    max-width: 865px;
}
.sec_information > .container:last-child {
    padding-bottom: 90px;
}

/* news */
.wrap_news .news_title{
    margin-bottom: 27px;
    font-size: 133.33%;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
}
.wrap_news .link_simple a{
    padding-right: 35px;
    letter-spacing: 0.02em;
}

/* college */
.wrap_college {
    padding-top: 79px;
}
.wrap_college .college_main:before,
.wrap_college .collage_video:before {
    content: '';
    position: absolute;
    pointer-events: none;
    color: inherit;
    background-color: transparent;
    background-repeat: no-repeat;
}
.wrap_college .college_main{
    position: relative;
}
.wrap_college .college_main:before{
    left: 0;
    top: -188px;
    width: 100%;
    height: 511px;
    background-image: url(/shared/templates/moridai_top/images/icon/college_pattern_top.png);
    background-position: center top;
    background-size: auto 100%;
}
.wrap_college .college_main:last-child {
    padding-bottom: 200px;
}
.wrap_college .sec_title{
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    max-width: 865px;
}
.wrap_college .collage_text{
    line-height: 1.7;
    letter-spacing: -0.01em;
}
.wrap_college .link_simple{
    margin-top: 33px;
}
.wrap_college .collage_video{
    margin-top: 163px;
    position: relative;
    padding-bottom: 280px;
    background: url(/shared/templates/moridai_top/images/icon/college_pattern_btm.png) no-repeat center bottom;
}
.wrap_college .collage_video:before{
    left: 50%;
    bottom: 477px;
    margin-left: 450px;
    background-image: url(/shared/templates/moridai_top/images/icon/info_pattern_rgt.png);
    background-size: auto 626px;
    width: 274px;
    height: 626px;
    max-width: calc(50% - 450px);
}
.wrap_college .video_iframe{
    margin-bottom: 19px;
}
.wrap_college .iframe_inner {
	position: relative;
	display: block;
	padding-top: 56.24%;
	width: 100%;
	z-index: 2;
}
.wrap_college .iframe_inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.wrap_college .video_cap{
    padding-left: 3px;
    font-size: 111.11%;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

/* curriculum & lifestyle
================================================== */
/* common */
.simple_blog{
    position: relative;
    background-color: #dddcce;
    color: #000000;
    padding: 80px 0 82px;
}
.simple_blog .sec_title{
    margin-bottom: 34px;
}
.simple_blog .sec_subtitle{
    margin-bottom: 33px;
}
.simple_blog .no-splide .splide__list{
    flex-flow: row wrap;
    gap: 48px;
}
.simple_blog .no-splide .splide__slide{
    width: calc((100% - 96px) / 3);
}
.sec_information + .simple_blog {
    margin-top: -109px;
    padding-top: 162px;
}

/* instagram
================================================== */
.sec_instagram{
    position: relative;
    padding: 259px 0 133px;
    background-color: #a0c7e5;
    color: #000000;
}
.sec_instagram:before,
.sec_instagram:after {
    content: '';
    position: absolute;
    pointer-events: none;
}
.sec_instagram:before{
    right: 50%;
    top: -122px;
    margin-right: 226px;
    background: transparent url(/shared/templates/moridai_top/images/icon/inst_pattern_btm.png) no-repeat;
    background-size: 100% auto;
    width: 440px;
    height: 272px;
    color: inherit;
}
.simple_blog + .sec_instagram {
    margin-top: 62px;
    z-index: 1;
}
.sec_instagram:after {
    color: #000000;
    top: -122px;
    height: 224px;
    left: 0;
    right: 0;
}
.sec_information + .sec_instagram:before {
    z-index: 1;
}
.sec_information + .sec_instagram:after {
    background-color: #8ab78f;
}
.simple_blog + .sec_instagram:after {
    background-color: #dddcce;
    z-index: -1;
}
.sec_instagram .inst_wrapper{
    padding-top: 0;
    margin: 0 auto;
    max-width: 1051px;
    color: inherit;
}
.sec_instagram .inst_wrapper h2{
	text-align: center;
	margin-bottom: 71px;
}
.sec_instagram .inst_links{
    display: flex;
    flex-flow: row wrap;
    gap: 28px 30px;
}
.sec_instagram .inst_links .item{
    list-style: none;
    width: calc((100% - 90px) / 4);
}
.sec_instagram .inst_links a{
    display: flex;
    flex-direction: column;
    background-color: transparent;
    color: inherit;
}
.sec_instagram .inst_links img{
    vertical-align: top;
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
}
.sec_instagram .link_simple{
    margin-top: 55px;
    padding-right: 7px;
}
.sec_instagram .link_simple a{
    padding-right: 25px;
    letter-spacing: 0;
}

/* access
================================================== */
.sec_access{
    position: relative;
}
.sec_access:before,
.sec_access:after{
    content: '';
    position: absolute;
    background-color: transparent;
    background-repeat: no-repeat;
    color: inherit;
    pointer-events: none;
}
.sec_access:before{
    top: 32px;
    right: 50%;
    margin-right: 152px;
    background-image: url(/shared/templates/moridai_top/images/icon/access_pattern_top.png);
    background-size: 100% auto;
    width: 550px;
    height: 274px;
}
.sec_access:after{
    bottom: 44px;
    left: 50%;
    margin-left: 421px;
    background-image: url(/shared/templates/moridai_top/images/icon/access_pattern_btm_rgt.png);
    background-size: auto 522px;
    max-width: calc(50% - 421px);
    width: 312px;
    height: 522px;
}
.sec_access .access_wrapper{
    position: relative;
    padding: 188px 0 157px;
    padding: 238px 0 157px;
    z-index: 1;
}
.sec_access .access_wrapper:after{
    content: '';
    position: absolute;
    right: 50%;
    bottom: 154px;
    margin-right: 364px;
    background: transparent url(/shared/templates/moridai_top/images/icon/access_pattern_btm_lft.png) no-repeat;
    background-size: 100% auto;
    width: 238px;
    height: 150px;
    color: inherit;
    z-index: -1;
}
.sec_access .access_wrapper .sec_title,
.sec_access .access_wrapper .sec_subtitle{
    margin-left: auto;
    margin-right: auto;
}
.sec_access .sec_title{
    margin-bottom: 31px;
    /* margin-bottom: 81px; */
    max-width: 40%;
}
.sec_access .sec_subtitle{
    margin-bottom: 32px;
    max-width: 60%;
}
.sec_access .access_img{
    margin-bottom: 32px;
}
.sec_access .access_text + .access_img{
    margin-top: 74px;
}
.sec_access .sec_title + .access_text {
    padding-top: 30px;
}
.sec_access .access_text{
    line-height: 1.7;
}
.sec_access .access_img img{
    max-width: 100%;
    height: auto;
    vertical-align: top;
}
.sec_access .access_text + .access_summary{
    margin-top: 74px;
}
.sec_access .access_summary{
    text-align: center;
    line-height: 1.7;
}
.sec_access .btn_simple{
    margin-top: 62px;
}

/* setting hover
================================================== */
.btn_simple a:hover{
    background-color: #000000;
}
.link_simple a:hover:after{
    opacity: 1;
}
.sec_instagram .inst_links a:hover img{
    opacity: 0.7;
}
.thumbnail_item a:hover .thumbnail_title{
    text-decoration: none;
}

/* accessibility style
================================================== */
/* color */
.color_black #tmp_wrapper .sec_information:before,
.color_black #tmp_wrapper .sec_information:after,
.color_black #tmp_wrapper .wrap_college:before,
.color_black #tmp_wrapper .wrap_college .college_main:before,
.color_black #tmp_wrapper .wrap_college .collage_video:before,
.color_black #tmp_wrapper .sec_instagram:before,
.color_black #tmp_wrapper .sec_instagram:after,
.color_black #tmp_wrapper .sec_access:before,
.color_black #tmp_wrapper .sec_access:after,
.color_black #tmp_wrapper .sec_access .access_wrapper:after,
.color_blue #tmp_wrapper .sec_information:before,
.color_blue #tmp_wrapper .sec_information:after,
.color_blue #tmp_wrapper .wrap_college:before,
.color_blue #tmp_wrapper .wrap_college .college_main:before,
.color_blue #tmp_wrapper .wrap_college .collage_video:before,
.color_blue #tmp_wrapper .sec_instagram:before,
.color_blue #tmp_wrapper .sec_instagram:after,
.color_blue #tmp_wrapper .sec_access:before,
.color_blue #tmp_wrapper .sec_access:after,
.color_blue #tmp_wrapper .sec_access .access_wrapper:after,
.color_yellow #tmp_wrapper .sec_information:before,
.color_yellow #tmp_wrapper .sec_information:after,
.color_yellow #tmp_wrapper .wrap_college:before,
.color_yellow #tmp_wrapper .wrap_college .college_main:before,
.color_yellow #tmp_wrapper .wrap_college .collage_video:before,
.color_yellow #tmp_wrapper .sec_instagram:before,
.color_yellow #tmp_wrapper .sec_instagram:after,
.color_yellow #tmp_wrapper .sec_access:before,
.color_yellow #tmp_wrapper .sec_access:after,
.color_yellow #tmp_wrapper .sec_access .access_wrapper:after,
.color_black #tmp_wrapper .link_simple a:after,
.color_blue #tmp_wrapper .link_simple a:after,
.color_yellow #tmp_wrapper .link_simple a:after{
    content: none;
}
.color_black #tmp_wrapper .btn_simple a,
.color_blue #tmp_wrapper .btn_simple a,
.color_yellow #tmp_wrapper .btn_simple a{
    border: 1px solid;
}
.color_black #tmp_wrapper .sec_information,
.color_blue #tmp_wrapper .sec_information,
.color_yellow #tmp_wrapper .sec_information,
.color_black #tmp_wrapper .simple_blog,
.color_blue #tmp_wrapper .simple_blog,
.color_yellow #tmp_wrapper .simple_blog,
.color_black #tmp_wrapper .sec_instagram,
.color_blue #tmp_wrapper .sec_instagram,
.color_yellow #tmp_wrapper .sec_instagram{
    border-bottom: 1px solid;
}
.color_black #tmp_wrapper .sec_instagram,
.color_blue #tmp_wrapper .sec_instagram,
.color_yellow #tmp_wrapper .sec_instagram{
    padding-top: 0;
}
.color_black #tmp_wrapper .link_simple a:hover,
.color_blue #tmp_wrapper .link_simple a:hover,
.color_yellow #tmp_wrapper .link_simple a:hover{
    text-decoration: none;
}
.color_black #tmp_wrapper .sec_information,
.color_blue #tmp_wrapper .sec_information,
.color_yellow #tmp_wrapper .sec_information {
    min-height: unset;
}
.color_black #tmp_wrapper .sec_information + .simple_blog,
.color_blue #tmp_wrapper .sec_information + .simple_blog,
.color_yellow #tmp_wrapper .sec_information + .simple_blog{
    margin-top: 0;
}
/* fsize */
.fsize_small #tmp_wrapper .link_simple a{
    background-position: right 3px;
}
.fsize_big #tmp_wrapper .news_links .news_date,
.fsize_big2 #tmp_wrapper .news_links .news_date{
    min-width: calc(15ch + 10px);
}
.fsize_big2 #tmp_wrapper .news_links .news_date{
    width: 270px;
}
/* no-js */
.no_javascript #tmp_wrapper .simple_blog .splide_common{
    visibility: visible;
}
.no_javascript #tmp_wrapper .simple_blog .splide_common .splide__list{
    flex-flow: row wrap;
    gap: 48px;
}
.no_javascript #tmp_wrapper .simple_blog .splide_common .splide__slide{
    width: calc((100% - 96px) / 3);
}
/* ==================================================
print
================================================== */
@media print {
	#tmp_moridai_follow {
		display: none;
	}
}
