@charset "utf-8";

@media screen and (max-width : 640px) {
/* pattern common
================================================== */
/* title */
.sec_title{
    margin-bottom: 27px;
    font-size: 181.25%;
    font-size: 137.50%;
}
.sec_subtitle{
    margin-bottom: 17px;
    font-size: 143.75%;
    font-size: 112.50%;
}

/* link */
.link_simple{
	justify-content: center;
	margin-top: 36px;
}
.link_simple a{
	background-image: url(/shared/site_moridai/images/icon/link_icon18_sp.png);
	background-position: right 4px;
	background-size: 16px auto;
	font-size: 87.5%;
}
.link_simple a:after{
    content: none;
}

/* btn */
.btn_simple a{
	padding: 11px 10px 7px;
    border-radius: 7px;
}
.btn_simple a > span{
	padding-right: 26px;
	background-image: url(/shared/site_moridai/images/icon/gmap_link_icon_sp.png);
	background-size: 15px auto;
}

/* news list */
.news_links .news_item{
	flex-direction: column;
}
.news_links .news_date{
	margin-bottom: 1px;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}
.news_links .news_item:nth-child(4),
.news_links .news_item:nth-child(5){
	display: none;
}
.news_links .news_item:not(:last-of-type) {
    margin-bottom: 14px;
}

/* thumbnail */
.thumbnail_item .thumbnail_img{
	margin-bottom: 17px;
}
.thumbnail_item .thumbnail_title{
	margin-bottom: 17px;
    font-size: 112.5%;
	line-height: 1.4;
}

/* mainvisual
================================================== */

/* information
================================================== */
.sec_information{
    padding: 233px 0 90px;
    min-height: unset;
}
.sec_information:before{
    top: -51px;
    right: auto;
    margin-right: 0;
	left: 0;
    background-image: url(/shared/templates/moridai_top/images/icon/info_pattern_lft_sp.png);
    width: 145px;
    height: 230px;
    max-height: 100%;
}
.sec_information:after{
    content: '';
	top: -22px;
	bottom: auto;
	left: auto;
	right: 18px;
	margin-left: 0;
    background-image: url(/shared/templates/moridai_top/images/icon/info_pattern_rgt_sp.png);
    background-size: 100% auto;
    width: 109px;
    height: 250px;
    max-width: 100%;
    max-height: 100%;
}
.sec_information .container{
	padding-left: 15px;
	padding-right: 15px;
}
.sec_information > .container:last-child {
    padding-bottom: 0;
}

/* news */
.wrap_news .news_title{
	margin-bottom: 19px;
	font-size: 150%;
}
.wrap_news .news_links{
	padding-left: 8px;
}
.wrap_news .link_simple a{
	padding-right: 32px;
}

/* college */
.wrap_college {
	position: relative;
    z-index: 1;
    padding-top: 97px;
    background-image: none;
    overflow: visible;
}
.wrap_college:before{
    content: '';
    position: absolute;
    left: 9px;
	top: -23px;
    bottom: auto;
    margin-left: 0;
    background-image: url(/shared/templates/moridai_top/images/icon/info_pattern_middle.png);
	background-size: 100% auto;
    width: 36px;
    height: 160px;
}
.wrap_college .container{
	padding-left: 24px;
	padding-right: 24px;
}
.wrap_college .college_main:last-child {
    padding-bottom: 0;
}
.wrap_college .sec_title{
    padding-left: 40px;
    padding-right: 40px;
    max-width: 100%;
}
.wrap_college .sec_subtitle {
    padding: 0 7px;
}
.wrap_college .link_simple {
    margin-top: 37px;
}
.wrap_college .collage_video{
	margin-top: 81px;
    padding-bottom: 0;
    background-image: none;
}
.wrap_college .college_main:before,
.wrap_college .collage_video:before {
    content: none;
}
.wrap_college .video_iframe{
	margin-bottom: 12px;
}
.wrap_college .video_cap{
	padding-left: 0;
    font-size: 112.5%;
	letter-spacing: 0.1em;
}

/* curriculum & lifestyle
================================================== */
/* common */
.simple_blog {
    padding: 40px 0 42px;
}
.simple_blog .sec_title{
	margin-bottom: 27px;
}
.simple_blog .sec_subtitle {
    margin-bottom: 23px;
}
.simple_blog .no-splide .splide__list{
    flex-direction: column;
    gap: 24px 0;
}
.simple_blog .no-splide .splide__slide{
    width: 100%;
}
.sec_information + .simple_blog {
    margin-top: 0;
    padding-top: 91px;
}

/* instagram
================================================== */
.sec_instagram{
	padding: 156px 0 95px;
}
.simple_blog + .sec_instagram {
    margin-top: 0;
}
.sec_instagram:before{
	left: 0;
	right: 0;
	top: -34px;
	margin-right: 0;
	background-image: url(/shared/templates/moridai_top/images/icon/inst_pattern_btm_sp.png), url(/shared/templates/moridai_top/images/icon/curriculum_pattern_sp.png);
	background-position: left 12px bottom, right 19px top;
	background-size: 65px auto, 122px auto;
	width: auto;
	height: 116px;
}
.sec_instagram:after {
    top: -2px;
    height: 63px;
}
.sec_instagram .inst_wrapper h2 {
	margin-bottom: 49px;
}
.sec_instagram .inst_wrapper h2 img {
	width: 27px;
	height: auto;
}
.sec_instagram .inst_links{
    gap: 20px 18px;
    justify-content: center;
}
.sec_instagram .inst_links .item{
    width: calc(50% - 9px);
    max-width: 241px;
}
.sec_instagram .btn_show_more{
    margin-top: 50px;
    padding: 0 15px;
}
.sec_instagram .btn_show_more a{
    display: block;
    padding: 8px 10px 6px 12px;
    background-color: #ffffff;
    width: 100%;
    border: 1px solid #18541e;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}
.sec_instagram .btn_show_more a > span{
    display: inline-block;
    padding: 4px 0 4px 32px;
    background: transparent url(/shared/templates/moridai_top/images/icon/icon_plus.png) no-repeat 0 7px;
    background-size: 19px auto;
    color: inherit;
}
.sec_instagram .link_simple{
    justify-content: flex-end;
    padding-right: 0;
}

/* access
================================================== */
.sec_access:before{
	top: 14px;
	left: 14px;
    right: auto;
    margin-right: 0;
    background-image: url(/shared/templates/moridai_top/images/icon/access_pattern_top_sp.png);
    width: 230px;
    height: 110px;
}
.sec_access:after{
    bottom: 52px;
	right: 7px;
    left: auto;
    margin-left: 0;
    background-image: url(/shared/templates/moridai_top/images/icon/access_pattern_btm_rgt_sp.png);
	background-size: 100% auto;
    width: 125px;
    height: 210px;
    max-width: 100%;
    max-height: unset;
}
.sec_access .access_wrapper{
	padding: 153px 0 144px;
}
.sec_access .access_wrapper:after{
    right: auto;
    bottom: 55px;
	margin-right: 0;
	left: -5px;
    background-image: url(/shared/templates/moridai_top/images/icon/access_pattern_btm_lft_sp.png);
    width: 95px;
    height: 60px;
}
.sec_access .sec_title {
    margin-bottom: 25px;
    max-width: 100%;
}
.sec_access .sec_subtitle {
    margin-bottom: 24px;
    max-width: 100%;
}
.sec_access .access_img {
    margin-bottom: 24px;
}
.sec_access .access_text + .access_img {
    margin-top: 16px;
}
.sec_access .access_text + .access_summary{
    margin-top: 24px;
}
.sec_access .sec_title + .access_text {
    padding-top: 0;
}
.sec_access .btn_simple {
    margin-top: 41px;
}

/* setting hover
================================================== */
.btn_simple a:hover{
    background-color: #666666;
}
.sec_instagram .inst_links a:hover img{
    opacity: 1;
}
.thumbnail_item a:hover .thumbnail_title,
.news_links .news_link a:hover{
    text-decoration: underline;
}

/* accessibility style
================================================== */
/* color */
.color_black #tmp_wrapper .sec_information,
.color_blue #tmp_wrapper .sec_information,
.color_yellow #tmp_wrapper .sec_information {
    padding-top: 90px;
}
.color_black #tmp_wrapper .sec_instagram .btn_show_more a > span,
.color_blue #tmp_wrapper .sec_instagram .btn_show_more a > span{
    background-image: url(/shared/templates/moridai_top/images/icon/icon_plus_wh.png) !important;
}
.color_yellow #tmp_wrapper .sec_instagram .btn_show_more a > span{
    background-image: url(/shared/templates/moridai_top/images/icon/icon_plus_bl.png) !important;
}
/* fsize */
.fsize_big2 #tmp_wrapper .news_links .news_date{
    width: 100%;
}
/* no-js */
.no_javascript #tmp_wrapper .simple_blog .splide_common .splide__list{
    flex-direction: column;
    gap: 24px 0;
}
.no_javascript #tmp_wrapper .simple_blog .splide_common .splide__slide{
    width: 100%;
}
}