/*
 Theme Name:   MGK
 Theme URI:    https://www.understrap.com
 Description:  UnderStrap Child Theme
 Author:       Holger Koenemann
 Author URI:   http://www.holgerkoenemann.de
 Template:     understrap
 Version:      0.5.5
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: holger1411/understrap-child
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700&family=Noto+Serif+JP:wght@700&display=swap');


/* base */
*:focus {outline:none !important;}
body{font-family: 'Noto Sans JP', sans-serif;font-weight:400;font-size:15px;line-height:1.7;color:#000;}
body * {box-sizing : border-box;}
.cf:after {content: "";display: block;visibility: hidden;height: 0;clear: both;}
p{font-size:15px;line-height:1.6;margin-bottom:20px;}
a{color:#00008b;text-decoration:none;}
a:hover{color:#001C63;}
.entry-content a{text-decoration:underline;}
a.non-decoration, .non-decoration a{text-decoration:none;}
#page-wrapper, #full-width-page-wrapper, #single-wrapper, #archive-wrapper, #search-wrapper, #error-404-wrapper{margin-top:-24px;overflow:hidden;}
#index-wrapper{overflow:hidden;}
body.page .site-main{height:auto;min-height:500px;}
@media screen and (max-width: 1200px) {
	.container{max-width:1200px !important;width:94% !important;margin:0 auto !important;}
}
@media screen and (max-width: 991px) {
	body{font-size:14px;}
    p{font-size:14px;margin-bottom:16px;}
	#single-wrapper{margin-top:24px;}
	#index-wrapper{margin-top:48px;}
	#page-wrapper, #full-width-page-wrapper, #archive-wrapper, #search-wrapper, #error-404-wrapper{margin-top:24px;}
}
@media (max-width: 380px){
    .container{width:98% !important;}
}

/* header */
#wrapper-navbar .bg-primary{background-color:#f7f7f7 !important;width:100vw !important;margin:0 calc(50% - 50vw) !important;}
#wrapper-navbar{position:relative;width:100%;height:auto;}
#wrapper-navbar ul#menu-header-top{position:absolute;top:3px;right:64px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content: flex-end;padding:0;margin:0;list-style:none}
#wrapper-navbar ul#menu-header-top li{display:block;padding:0 1em 0 0.3em !important;line-height:1.2;}
#wrapper-navbar ul#menu-header-top li a{color:#000;text-align:center;text-decoration:none;font-size:13px;}
span.mega-indicator:after{color:#a38a77 !important;font-size:18px !important;}
ul.mega-sub-menu li ul.mega-sub-menu li a{padding-left:20px !important;background:url("/wp-content/themes/mgk/images/arrow.png") no-repeat center left !important;background-size: 10px 10px !important;}
.navbar-brand img{height:54px !important;width:auto !important;}
@media (min-width: 992px){
	.navbar{padding-bottom:0 !important;}
	.navbar > .container-fluid{display:block !important;}
	.mega-menu-wrap{width:100vw !important;margin:0 calc(50% - 50vw) !important;padding-right:0 !important;padding-left:0 !important;}
	ul.mega-sub-menu{padding:0.5% 2% 1.5% !important;box-shadow:5px 3px 3px rgba(0, 0, 0, .2) !important;}
	ul.mega-sub-menu li ul.mega-sub-menu, ul.mega-sub-menu li ul.mega-sub-menu li ul.mega-sub-menu{width:100% !important;margin-left:0 !important;padding:0 !important;box-shadow:none !important;}
}
@media (min-width: 1600px){
	ul.mega-sub-menu{width:66% !important;margin-left:17% !important;}
}
@media (min-width: 1700px){
	ul.mega-sub-menu{width:60% !important;margin-left:20% !important;}
}
@media (max-width: 1599px){
	ul.mega-sub-menu{width:72% !important;margin-left:14% !important;}
}
@media (max-width: 1300px){
	ul.mega-sub-menu{width:84% !important;margin-left:8% !important;}
}
@media (max-width: 1100px){
	ul.mega-sub-menu{width:100% !important;margin-left:0 !important;}
}
@media (max-width: 991px){	
	.mega-menu-wrap{position:fixed !important;top:6px !important;right:10px !important;z-index:9998 !important;}
	#wrapper-navbar .bg-primary{height:50px !important;position:fixed !important;top:0 !important;left:0 !important;z-index:9997 !important;}
	#wrapper-navbar ul#menu-header-top{display:none !important;}
    .mega-toggle-animated-inner, .mega-toggle-animated-inner::before, .mega-toggle-animated-inner::after {background-color: #888 !important;}
	.mega-menu-item-type-widget.widget_media_image{display:none !important;}	
    .navbar-brand img{height:45px !important;}
	ul.mega-menu li{border-bottom:1px solid rgba(255,255,255,0.4) !important;}
	ul.mega-sub-menu li ul.mega-sub-menu/* li.column1*/{margin-top:-6px !important;}
}
@media (max-width: 768px){
	.navbar-brand{margin-top:-8px;}
}
@media (max-width: 430px){
	.navbar-brand img{height:36px !important;}
}


/* search-popup */
#wrapper-navbar .open-btn{position: absolute;top:5px;right:10px;background:url("/wp-content/themes/mgk/images/icon_search.png") no-repeat top right;background-size: 28px 28px;width:62px;height:50px;cursor: pointer;text-align:center;}
#wrapper-navbar .open-btn:after{content: "SEARCH";color:#333;font-size:11px;position:absolute;top:7px;right:18px;text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,-1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF,  0-1px 0 #FFF,-1px 0 0 #FFF, 1px 0 0 #FFF;}
#search-wrap{position:fixed;top: 0;left: 0;z-index: -1;opacity: 0;transition: all 0.4s;width:100%;height: 100vh;}
#search-wrap.panelactive{opacity: 1; z-index: 9999; background:rgba(148,148,148,0.95);display: flex;justify-content: center;height:300px;}
#search-wrap .search-area{display: none;}
#search-wrap.panelactive .search-area{display: block;width:100%;position: relative;margin-top:60px;}
#search-wrap form.wp-block-search input{height: 55px;}
#search-wrap form.wp-block-search button{width:55px;}
.close-btn{position: absolute;top:10px;right:10px;z-index: 2;cursor: pointer; width: 60px; height:60px;}
.close-btn span{display: inline-block;position: absolute;left: 14px;height: 3px;border-radius: 2px;background-color: #fff;}
.close-btn span:nth-of-type(1) {top: 20px;left: 15px;transform: translateY(6px) rotate(-135deg);width: 50%;}
.close-btn span:nth-of-type(2){top: 32px;transform: translateY(-6px) rotate(135deg);width: 50%;}
@media screen and (max-width:991px){
	#wrapper-navbar .open-btn{position:fixed;top:13px;right:65px;z-index:9998 !important;}
	#wrapper-navbar .open-btn:after{font-size:0;}
}
/* search */
.search-results .hentry h2.entry-title{border-bottom:1px solid #ddd;padding:15px 0 !important;}
.search-results .hentry h2.entry-title a{font-size:16px;}
.search-results .hentry h2.entry-title a:before {content: "\f249";font-family: "Font Awesome 6 Free";font-weight: 900;font-size:16px !important;padding-right:10px;}
.search-results .hentry .entry-summary p:after{content: "…";}
form.wp-block-search{width:90%;max-width:700px;margin:0 auto;border-bottom-left-radius:none !important;}
form.wp-block-search button{margin-left:-5px !important;border-bottom-right-radius:4px !important;border-top-right-radius:4px !important;}
form.wp-block-search input{border-bottom-left-radius:4px !important;border-top-left-radius:4px !important;}
.wp-block-search__input{border-top-left-radius:6px !important;border-bottom-left-radius:6px !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;border:1px solid #888 !important;}
.wp-block-search__button{margin-left:0 !important;border-left:none !important;border-color:#888;border-top-right-radius:6px !important;border-bottom-right-radius:6px !important;background-color:#e7f2f8;}
.error-404 form.search-form, .search-no-results form.search-form{width:100%;max-width:700px;margin:-1em 0 2em;}
.error-404 form.search-form .search-submit, .search-no-results form.search-form .search-submit{background-color:#888;border-color:#888;}
.error-404 select#archives-dropdown--1{width:100%;max-width:700px;}
@media screen and (max-width:991px){
	form.wp-block-search input{-webkit-appearance: none; border-radius: 0;}
}

/* pc-menu-none */
@media screen and (min-width:992px){
	.mega-menu-item-8974, .mega-menu-item-8975{display:none !important;}
}

/* breadcrumbs */
.breadcrumbs{font-size:12px;margin:10px 0 25px;}
body.home .breadcrumbs{display:none;}
@media screen and (max-width:991px) {
	.widget_block .breadcrumbs{display:none;}
}

/* slick-mv */
ul.slide-mv{list-style:none;margin:0 auto;padding:0;width: 100vw;margin:0 calc(50% - 50vw);overflow: hidden;}
ul.slide-mv li.mvslide img{object-fit:cover;width:100%;height:480px;}
.slide-mv{ opacity: 0 !important;transition: opacity .3s linear !important;}
.slide-mv.slick-initialized{opacity: 1 !important;}
@media screen and (max-width: 600px){
	ul.slide-mv li.mvslide img{height:85vw;}
}

/* top-mv */
.mv{width:100vw;margin:0 calc(50% - 50vw);position: relative;}
.mv ul{margin:0;padding:0;display: flex;}
.mv ul li{list-style:none;width:50%;height:480px;position: relative;}
.mv ul li:first-child{background: url("/wp-content/themes/mgk/images/bg-red.jpg") no-repeat;background-position:center center;}
.mv ul li:last-child{background: url("/wp-content/themes/mgk/images/bg-blue.jpg") no-repeat;background-position:center center;}
.mv ul li h2{position: absolute;width:350px;top: 50%;left: 50%;transform: translate(-50%, -50%);-webkit-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);padding:20px 20px 25px;}
.mv ul li a{position: absolute;width: 100%;height: 100%;top: 0;left: 0;}
.mv .emblem{position: absolute;width:143px;height:auto;top: 50%;left: 50%;transform: translate(-50%, -50%);-webkit-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);}
.mv .drawing{position: absolute;width:280px;height:auto;bottom:30px;left:0;}
.draw-border{position: relative;width:100%;}
.draw-border:before{content: '';position: absolute;left:280px;bottom:34px;border-bottom: solid 1px #ccc;animation: border_anim 3s linear forwards;}
@keyframes border_anim {
	0%{width: 0%;}
	100%{width: 100%;}
}
@media screen and (min-width: 992px){
.mv ul li h2{position: relative;margin:0 10px;}
.mv ul li h2::before, .mv ul li h2::after{content:"";position: absolute;background:#fff;width: 0;height:1px;transition: all 0.2s linear;}
.mv ul li h2::before{right: 0;bottom: 0;}
.mv ul li h2::after{left: 0;top: 0;}
.mv ul li h2 span{display: block;}
.mv ul li h2 span::before,.mv ul li h2 span::after{content:""; position: absolute;background: #fff;width:1px;height:0; transition: all 0.1s linear;}
.mv ul li h2 span::before{left: 0; bottom: 0;}
.mv ul li h2 span::after{right: 0;top: 0;}
.mv ul li h2.current::before, .mv ul li h2.current::after, .mv ul li h2:hover::before, .mv ul li h2:hover::after{width: 100%;}
.mv ul li h2:hover::after{transition-delay: 0s;}
.mv ul li h2:hover::before{transition-delay: 0.3s;}
.mv ul li h2.current span::before, .mv ul li h2.current span::after, .mv ul li h2:hover span::before, .mv ul li h2:hover span::after{height: 100%;}
.mv ul li h2:hover span::before{ transition-delay: 0.5s;}
.mv ul li h2i:hover span::after{transition-delay: 0.2s;}
}
@media screen and (max-width: 991px){
	.mv ul li h2{width:320px;}
}
@media screen and (max-width: 827px){
	.mv ul li h2{width:290px;}
}
@media screen and (max-width: 768px){
	.mv ul li h2{width:42vw;}
	.mv ul li:first-child h2{padding:20px 30px 25px 10px;}
	.mv ul li:last-child h2{padding:20px 10px 25px 30px;}
	.mv .emblem{width:19vw;}
	.mv .drawing{bottom:10px;width:230px;}
	.draw-border:before{bottom:14px;left:230px;}
}
@media screen and (max-width: 600px){
	.mv ul li{height:85vw;}
	.mv ul li h2{width:46vw;}
}
@media screen and (max-width: 500px){
	.mv ul li h2{width:51vw;}
}
@media screen and (max-width: 430px){
	.mv ul li h2{width:53vw}
	.mv .drawing{width:180px;}
    .draw-border:before{left:180px;}
}


/* top-bnr-slide */
ul.top-bnr-slide{margin:0 auto;padding:0;}
.top-bnr-slide .slick-arrow {z-index:20;cursor:pointer;}
.top-bnr-slide .slide-arrow{position: absolute;top:38%;}
.top-bnr-slide .prev-arrow{left:-60px;width:54px;}
.top-bnr-slide .next-arrow{right:-60px;width:54px;}
.top-bnr-slide .slick-slide{margin:0 15px;}
@media screen and (max-width: 1320px){
	ul.top-bnr-slide{width:94%;max-width:1080px;}
}
@media screen and (max-width: 1200px){
	.top-bnr-slide .slick-slide{margin:0 10px;}
	.top-bnr-slide .prev-arrow{left:-50px;width:40px;}
    .top-bnr-slide .next-arrow{right:-50px;width:40px;}
}
@media screen and (max-width: 991px){
	ul.top-bnr-slide{width:100vw;margin:0 calc(50% - 50vw);}
	.top-bnr-slide .slick-arrow{display:none !important;}
}

/* top-other */
.section1{width:100vw;margin:0 calc(50% - 50vw);background: linear-gradient(-45deg, #e0ebf1, #53718c);}
.section2{width:100vw;margin:0 calc(50% - 50vw);background:#ddecf0 url("/wp-content/themes/mgk/images/bg.png");}
.inner{width:94%;max-width:1200px;margin:0 auto;padding:60px 0;}
.scripture{width:94%;max-width:630px;margin:60px auto 4em;padding:0 0 0.5em 0;border-bottom:2px solid #000;}
.scripture h3{font-size:17px;padding-left:0 !important;border-left:none !important;}
.scripture p{font-size:26px;margin:0.4em 0.6em 5px;margin-bottom:0;padding-left:1em;text-indent:-1em;}
.scripture p span{display:block;font-size:14px;text-align:right;}
.top-info-box{width:100%;max-width:1200px;margin:0 auto 55px;background-color:#fff;padding:2.5em;display:flex;flex-wrap: wrap;}
.top-info-box .left-item{width:240px;text-align:center;padding-right:25px;}
.top-info-box .left-item h4 span{display:block;font-size:16px;font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;padding-top:15px;}
.top-info-box ul.list-cate{width:calc(100% - 240px);}
.top-info-box .more-link-line{margin-top:-2.5em;}
ul.top-bnrs{margin:0 -10px;padding:0;display:flex;flex-wrap: wrap;}
ul.top-bnrs li{list-style:none;width:25%;padding:10px;margin:0;}
ul.top-bnrs li a{display:block;width:100%;height:134px;background-color:#fff;border-top:7px solid #293656;color:#564744;text-align:center;font-size:18px;padding:20px;line-height:1.3;text-decoration:none;}
ul.top-bnrs li a:hover{background-color:#42657e;transition:0.8s;color:#fff;}
ul.top-bnrs li a img{width:40px;display:block;margin:0 auto 10px;}
@media screen and (max-width: 1200px){
	.inner{padding:55px 0;}
	.scripture p{font-size:24px;}
}
@media screen and (max-width: 991px){
	.inner{padding:45px 2%;}
	.scripture h3{font-size:16px;}
    .scripture p{font-size:22px;}
	.top-info-box{display:block;}
	.top-info-box .left-item, .top-info-box ul.list-cate{width:100%;}
	.top-info-box .more-link-line{margin-top:1em;}	
	.top-info-box .left-item h4{font-size:18px !important;padding-bottom:10px;}
    .top-info-box .left-item h4 span{display:inline-block;padding:0 0 0 1em;font-size:14px;}
	ul.top-bnrs li{list-style:none;width:33.3%;}
	ul.top-bnrs li:nth-child(7){margin-left:17%;}
	ul.top-bnrs li a{font-size:16px;}
}
@media screen and (max-width: 600px){
	.inner{padding:30px 2%;}
	.scripture h3{font-size:15px;}
    .scripture p{font-size:21px;}
	ul.top-bnrs li{list-style:none;width:50%;}
	ul.top-bnrs li:nth-child(7){margin-left:0;}
	.top-info-box{margin:10px auto 35px;padding:1.5em;}
}
@media screen and (max-width: 430px){
	.top-info-box{padding:1.5em 1em;}
	.top-info-box .left-item h4{font-size:16px !important;}
    .top-info-box .left-item h4 span{font-size:13px;}
    .scripture p{font-size:20px;}
	.scripture p span{font-size:13px;}
	ul.top-bnrs li a{height:110px;font-size:15px;border-top:4px solid #293656;padding:8px;}
}
@media screen and (max-width: 380px){
	.scripture p{font-size:19px;}
}

/* for-shortcode */
ul.list-cate{margin:0;padding:0;}
ul.list-cate li{display:flex;flex-wrap:wrap;margin:0 0 7px 0;padding:6px 0 13px 0;border-bottom:1px dotted #888;}
ul.list-cate li span{display:inline-block;margin: 0 8px 0 0;padding:0;text-align: center !important;font-size: 12px;width:90px;color:#fff;}
ul.list-cate li span.path{background: #6a3906;}
ul.list-cate li span.club{background: #006934;}
ul.list-cate li span.info{background: #02002a;}
ul.list-cate li span.exam{background: #5fa7ff;}
ul.list-cate li span.pta{background:#D2473A;}
ul.list-cate li span.event{background:#006A93;}
ul.list-cate li span.student-council{background:#998675;}
ul.list-cate li span.sgh{background:#00a1bf;}
ul.list-cate li span.interchange{background:#f28e15;}
ul.list-cate li span.high-school{background:#11376b;}
ul.list-cate li span.junior-h-school{background:#a30000;}
ul.list-cate li span.ymd{width:auto;text-align:left !important;font-size: 15px !important;color:#000;}
ul.list-cate li .term-date{width:195px;} 
ul.list-cate li .title{width:calc(100% - 195px);font-size:16px;}
ul.list-cate li .title a{color:#000;text-decoration:none !important;}
ul.list-cate li .title a:hover{text-decoration:underline;}
@media screen and (max-width:991px) {
	ul.list-cate li:first-child{padding:13px 0;border-top:1px dotted #888;}
	ul.list-cate li .title{font-size:15px;}
	ul.list-cate li span{margin: 0 5px 0 0;}
	ul.list-cate li span.ymd{font-size:14px !important;} 
	ul.list-cate li .term-date{font-size:13px !important;} 
}
@media screen and (max-width:768px) {
	ul.list-cate li .title{width:calc(100% - 100px);}
	ul.list-cate li .term-date{width:100px;} 
}
@media screen and (max-width:430px) {  
  ul.list-cate li span{font-size: 12px;}
  ul.list-cate li span.ymd{font-size:13px !important;} 
  ul.list-cate li .title{font-size:14px;}
}


/* top-effect-bnr*/
ul.effect-bnr{display:flex;flex-wrap: wrap;justify-content: space-between;width:100%;max-width:1200px;margin:2% auto 5em !important;padding:0;}
ul.effect-bnr li{list-style:none;width:31%;height:250px;position: relative;}
ul.effect-bnr li h4{position: absolute;color: white;top:48%;right:30px;font-size:20px;z-index:3;}
ul.effect-bnr li.imgWrap {overflow: hidden;display:block;}
ul.effect-bnr li.imgWrap a .imgEff{display:block;list-style:none;position: relative;width: 100%;height:250px;transition-duration: 0.8s;color:#fff;background-color:rgba(2, 0, 42, 1);}
ul.effect-bnr li.imgWrap a .imgEff img{object-fit: cover;width: 100%;height:250px;opacity: 0.2;}
ul.effect-bnr li.imgWrap a:hover .imgEff img{transform: scale(1.05);transition: all 1s;opacity: 0.5;}
ul.effect-bnr li.imgWrap a:before .imgEff{content: "";position: absolute;width: 100%;height: 250px;background-color:rgba(2, 0, 42, 0.85); }
ul.effect-bnr li.imgWrap a:hover:before .imgEff{opacity:1;transition-duration: 1s;}
ul.effect-bnr li.imgWrap:last-child{position: relative;width:100%;margin-top:2.8em;background-color:rgba(2, 0, 42, 0.85);height:350px;}
ul.effect-bnr li.imgWrap:last-child a .imgEff{width:60%;height:350px;}
ul.effect-bnr li.imgWrap:last-child a .imgEff img{object-fit: cover;width: 100%;height:350px;opacity: 1;}
ul.effect-bnr li.imgWrap:last-child a:hover .imgEff img{transform: scale(1);transition: all 1s;opacity: 0.7;}
ul.effect-bnr li.imgWrap a:after, ul.effect-bnr li:last-child a:after{content: url(/wp-content/themes/mgk/images/top-arrow.jpg);display: inline-block;transform: scale(0.5);position: absolute;bottom:-25px;right:-20px;z-index:100;}
@media(max-width:991px){
	ul.effect-bnr li, ul.effect-bnr li.imgWrap a .imgEff,ul.effect-bnr li.imgWrap:last-child,ul.effect-bnr li.imgWrap:last-child a .imgEff, ul.effect-bnr li.imgWrap:last-child a .imgEff img{height:200px}
	ul.effect-bnr li.imgWrap a .imgEff img{height:200px;}
	ul.effect-bnr li h4{font-size:18px;}
}
@media(max-width:768px){
	ul.effect-bnr{margin:2% auto 2.5em !important;}
	ul.effect-bnr li{width:48% !important;}
	ul.effect-bnr li:nth-child(3),ul.effect-bnr li.imgWrap:last-child{margin-top:20px;}
	ul.effect-bnr li, ul.effect-bnr li.imgWrap a .imgEff,ul.effect-bnr li.imgWrap:last-child,ul.effect-bnr li.imgWrap:last-child a .imgEff, ul.effect-bnr li.imgWrap:last-child a .imgEff img{height:auto;}
	ul.effect-bnr li.imgWrap a .imgEff img{width:100%;height:auto;}
	ul.effect-bnr li.imgWrap:last-child a .imgEff{width:100%;}
	ul.effect-bnr li.imgWrap:last-child a .imgEff img {object-fit:cover;opacity: 0.2;}
	ul.effect-bnr li h4{font-size:17px;}
}
@media(max-width:430px){
	ul.effect-bnr li h4{font-size:16px;top:40%;}
}


/* fade-simple */
.fade1{animation-name: fadein;animation-duration: 2s;}
.fade2{animation-name: fadein2;animation-duration: 5s;}
.fade3{animation-name: fadein3;animation-duration: 6s;}
@keyframes fadein{
    from{
    opacity: 0;
    }
    to{
    opacity: 1;
    }
}
@keyframes fadein2{
    from{
    opacity: 0;
    }
    to{
    opacity: 1;
    }
}
@keyframes fadein3{
    from{
    opacity: 0;
    }
    to{
    opacity: 1;
    }
}
.scale{display:inline-block;}
.scale:hover {transform: scale(0.95);transition : 1s;}


/* side-widget */
#left-sidebar{padding-right:45px;}
#left-sidebar h3.wp-block-heading{border-bottom:1px solid #ccc;font-size:15px !important;font-weight:bold;padding-bottom:6px;margin:20px 0 10px 0 !important;border-left:none !important;padding-left:0 !important;}
ul.wp-block-categories-list{margin:0;padding:0;}
ul.wp-block-categories-list li{list-style:none;}
@media screen and (max-width:1200px) {
	#left-sidebar{padding-right:30px;}
}
@media screen and (max-width:991px) {
	#left-sidebar{padding-right:10px;}
	#single-wrapper #left-sidebar, .page #left-sidebar{display:none;}
}
@media screen and (max-width:768px) {
    .archive #left-sidebar{display:none;}
}

/* side   news-archives(group-name) */
.wp-block-archives__label{font-weight:bold;}
.wp-block-archives__label:before{content: "ニュース";}
select:focus{border-color: #ccc !important;box-shadow:none !important;outline:none !important;}
select:-moz-focusring {text-shadow:none !important;}
@media screen and (max-width:991px) {
	.news-archives{width:100vw !important;margin:0 calc(50% - 50vw) 1em !important;background-color:#f3f3f3;padding:1.5em 2em 0.2em;}
	.wp-block-archives-dropdown{display:flex !important;}
	.wp-block-archives__label{white-space:nowrap; margin-right:1em;}
	ul.wp-block-categories-list{display:flex !important;flex-wrap:wrap;margin-bottom:1.5em !important;}
	ul.wp-block-categories-list li{padding-right:1em;font-size:14px;}
	select{font-size:14px !important;}
}

/* side   pagelist + pta-blog side */
.widget_block .alert-warning{display:none !important;}
h4.vk_ancestorPageList_title, #left-sidebar h4{font-size:15px !important;border-top:5px solid #1A183E;border-bottom:1px solid #ccc;padding:18px 8px !important;}
.vk_ancestorPageList ul, .archive.post-type-archive-pta_blog ul.wp-block-page-list, .single.single-pta_blog ul.wp-block-page-list{margin:-8px 0 3em 0;padding:0;}
.vk_ancestorPageList ul li, .archive.post-type-archive-pta_blog ul.wp-block-page-list li, .single.single-pta_blog ul.wp-block-page-list li{list-style:none;border-bottom:1px solid #ccc;position: relative;}
.vk_ancestorPageList ul li a, .archive.post-type-archive-pta_blog ul.wp-block-page-list li a, .single.single-pta_blog ul.wp-block-page-list li a{padding:0.9em 0.5em;display:block;margin-bottom:0;color:#000;line-height:1.3;}
.vk_ancestorPageList ul li:last-child a, .archive.post-type-archive-pta_blog ul.wp-block-page-list li:last-child a, .single.single-pta_blog ul.wp-block-page-list li:last-child a{border-bottom:none}
.vk_ancestorPageList ul li a:hover, .archive.post-type-archive-pta_blog ul.wp-block-page-list li a:hover, .single.single-pta_blog ul.wp-block-page-list li a:hover{text-decoration:none;background-color:#f7f7f7;}
.vk_ancestorPageList ul li.current_page_item a{background-color:#f7f7f7 !important;}
.vk_ancestorPageList ul.children{margin:-8px 0 0 0;}
.archive.post-type-archive-pta_blog ul.wp-block-page-list li ul, .single.single-pta_blog ul.wp-block-page-list li ul{display:none;}
.vk_ancestorPageList ul.children li{list-style:none;border-bottom:none;}
.vk_ancestorPageList ul.children li a{padding:0.5em 0.5em 0.5em 2em;display:block;margin-bottom:0;color:#000;font-size:14px;line-height:1.3;}
.vk_ancestorPageList ul.children li:last-child a{padding:0.5em 0.5em 1em 2em;}
.vk_ancestorPageList ul.children li a:before {content: "\f105";font-family: "Font Awesome 5 Free";font-weight: 900;font-size:10px;padding-right:0.8em;}
.vk_ancestorPageList ul.children li ul.children a{padding:0.5em 0.5em 0.5em 3.2em;}
.vk_ancestorPageList ul.children li ul.children li ul.children{padding-top:0.2em;}
.vk_ancestorPageList ul.children li ul.children li ul.children a{padding:0.5em 0.5em 0.5em 4.2em;}
#archive-wrapper .vk_ancestorPageList, #archive-wrapper .vk_ancestorPageList_list, #index-wrapper .vk_ancestorPageList, #index-wrapper .vk_ancestorPageList_list{display:none;}
@media screen and (max-width:991px) {
	h4.vk_ancestorPageList_title, .vk_ancestorPageList{display:none;}
}


/* archive */
body.archive h1.page-title{font-size:0;}
body.archive h1.page-title span{font-size:20px;}
body.blog .site-main, body.archive .site-main{margin-top:1em;}
.entry-header-archive h2.entry-title{font-size:1.5em;}
body.archive .hentry, body.blog .hentry{padding:0 0 1.5em 0;margin:0 0 1.5em 0;border-bottom:1px dotted #888;}
body.archive .hentry .entry-content p:after, body.blog .hentry .entry-content p:after{content: "…";}
body.archive .hentry .entry-content a, body.blog .hentry .entry-content a{text-decoration:none !important;color:#000 !important;}
body.archive .hentry img, body.blog .hentry img{display:none !important;}
body.archive .hentry .entry-footer, body.blog .hentry .entry-footer{font-size:12px;margin-top:-15px;color:#888;}
body.archive .hentry .entry-footer a, body.blog .hentry .entry-footer a{color:#888;}
.page-link {color:#555 !important;}
.page-link.active, .active > .page-link{background-color:#555 !important;border-color:#555 !important;color:#fff !important;}
.page-link:focus{box-shadow:none !important;}
@media screen and (max-width:991px) {
	.entry-header-archive h2.entry-title{font-size:1.35em;}
}
@media screen and (max-width:768px) {
	body.archive .site-main{margin-top:0;}
}
@media screen and (max-width:430px) {
	.entry-header-archive h2.entry-title{font-size:1.2em;}
}

/* single */
.single-post h1.entry-title, .single-news h1.entry-title, .single-pta_blog h1.entry-title{font-size:1.5em;padding-bottom:15px;border-bottom:1px solid #888;margin-bottom:25px;}
.single-post .entry-meta, .single-news .entry-meta, .single-pta_blog .entry-meta{font-size:12px;padding-bottom:15px;border-bottom:1px solid #ccc;margin-bottom:30px;}
.posted-on,.byline{font-size:0;}
.posted-on a{color:#555 !important;font-size:12px !important;}
.posted-on a time.published:before {content: "\f017";font-family: "Font Awesome 6 Free";font-weight: 400;font-size:14px !important;padding-right:2px;}
.single-post figure figcaption, .single-news figure figcaption, .single-pta_blog figure figcaption{margin-bottom:8px !important;}
.single-post .wp-block-image, .single-pta_blog .wp-block-image{margin-bottom:1.3em;}
.updated, .byline .author{display:none;}
.wp-block-gallery.is-layout-flex{display:flex !important;flex-wrap:wrap !important;}
.wp-block-gallery.columns-2 img, .wp-block-gallery.columns-default img{max-height:400px;}
.single-post .entry-footer, .single-pta_blog .entry-footer{margin-top:4em !important;}
.entry-footer .cat-links{font-size:13px;}
.youtube {position: relative;width: 100%;padding-top: 56.25%;}
.youtube iframe {position: absolute;top: 0;right: 0;width: 100%;height: 100%;}
.single-post .entry-content{padding-bottom:4em;}
.single-post .entry-content a{text-decoration:underline;}
.single-post .hentry .attachment-large, .single-pta_blog .hentry .attachment-large{display:none !important;}
@media screen and (max-width:430px) {
	.single-post .entry-content, .single-pta_blog .entry-content{padding-bottom:0;}
	.wp-element-caption{font-size:12px !important;}
}
.prev-next-link{width:100%;max-width:1100px;margin:0 0 80px 0 !important;display:flex;flex-wrap: wrap;}
.prev-next-link .prev-link,.prev-next-link .next-link{margin:0;padding:5px;width:50%;display:flex;justify-content: space-between; flex-wrap: wrap;align-items:center;}
.prev-next-link .prev-link{position: relative;padding:0 25px}
.prev-next-link .prev-link::before {content: "";margin: auto;position: absolute;top: 0; bottom: 0;left: 5px;width: 7px;height: 7px;border-top: 1px solid #888; border-right: 1px solid #888;transform: rotate(225deg);}
.prev-next-link .next-link{position: relative;padding:0 25px;}
.prev-next-link .next-link::after {content: "";margin: auto;position: absolute;top: 0; bottom: 0;right: 5px;width: 7px;height: 7px;border-top: 1px solid #888; border-right: 1px solid #888;transform: rotate(45deg);}
.prev-next-link .title{font-weight:normal;font-size:13px;width:100%;}
.prev-next-link .next-link .title{text-align:right;}
.prev-next-link a{text-decoration:none;color:#888;display:block;}
.prev-next-link .thumb{display:none !important;}
@media screen and (max-width:768px) {
   figure.alignright img, figure.alignleft img{width:260px !important;}
}
@media screen and (max-width:600px) {
   figure.alignright img, figure.alignleft img{width:200px !important;}
}
@media screen and (max-width:430px) {
   figure.alignright img, figure.alignleft img{width:160px !important;}
}



/* h + */
h2.wp-block-heading{font-size:1.4rem;border-bottom:2px solid #6BA1C9;padding-bottom:5px;margin-bottom:1em;line-height:1.5;}
h2.is-style-vk-heading-plain, h2.is-style-vk-heading-both_ends{border-bottom:none !important;}
h2.is-style-vk-heading-plain span{font-size:1.2rem;}
h2.is-style-vk-heading-solid_black, h2.is-style-vk-heading-solid_bottomborder_black{border-bottom:1px solid #555;padding-bottom:10px;}
h2.is-style-vk-heading-double_black, h2.is-style-vk-heading-double_bottomborder_black{border-bottom:3px double #555;padding-bottom:10px;}
h2.is-style-vk-heading-dotted_bottomborder_black{border-bottom:1px dotted #555;padding-bottom:10px;}
h2.with-img {padding:1.4rem 10px 1.4rem 10px;background: url("/wp-content/themes/mgk/images/emblem-1-e1684400081635.png") no-repeat 8% 50% !important;background-size:70px auto !important;}
h2.short-type{width:310px;margin:6% auto 3%;font-size:1.2rem !important;}
h3.wp-block-heading{font-size:1.3rem;border-left:5px solid #6BA1C9;padding-left:8px;margin-bottom:1em;}
h3.is-plain{font-size:1.2rem;padding-top:0.5em;}
h3.is-plain span{font-size:0.9rem;font-weight:normal;}
h3.is-style-vk-heading-plain, h3.is-style-vk-heading-double_black, h3.is-style-vk-heading-double_bottomborder_black, h3.is-style-vk-heading-solid_black, h3.is-style-vk-heading-solid_bottomborder_black, h3.is-style-vk-heading-dotted_bottomborder_black, h3.is-style-vk-heading-both_ends, h3.is-style-vk-heading-brackets_black{border-left:none !important;padding-left:0 !important;line-height:1.5 !important;}
h4.wp-block-heading{font-size:1.2rem;}
h5.wp-block-heading{font-size:1.1rem;}
.both-border {display: flex;align-items: center;letter-spacing: 2px;}
.both-border:before, .both-border:after {content: "";height: 2px;flex-grow: 1;background-color: #000;}
.both-border:before {margin-right: 1.5rem;}
.both-border:after {margin-left: 1.5rem;}
.has-small-font-size{font-size:0.8rem !important;}
.has-medium-font-size{font-size:1rem !important;}
.has-large-font-size{font-size:1.8rem !important;}
.has-x-large-font-size{font-size:2.5rem !important;}
.has-red-color{color:#DC3545;}
.has-cyan-color{color:#17A2B8;}
@media screen and (max-width:1200px) {
	h2.with-img{background-position:3% 50% !important;padding:1.3rem 10px 1.3rem 80px;background-size:60px auto !important;}
	h3.wp-block-heading.has-x-large-font-size{font-size:2.2rem !important;}
}
@media screen and (max-width:991px) {
	h2.short-type{font-size:1.1rem !important;}
	h2.with-img img{width:70px !important;}
	h2.is-style-vk-heading-plain span{font-size:1.1rem;}	
	h2.wp-block-heading.has-large-font-size{font-size:1.7rem !important;}
    h3.wp-block-heading.has-x-large-font-size{font-size:2rem !important;}
}
@media screen and (max-width:827px) {
	h2.wp-block-heading{font-size:1.3rem !important;}
	h2.is-style-vk-heading-plain span{font-size:1rem;}
    h2.short-type{font-size:1rem !important;}
	h2.wp-block-heading.has-large-font-size{font-size:1.6rem !important;}
	h3.wp-block-heading{font-size:1.15rem !important;}
    h3.wp-block-heading.has-x-large-font-size{font-size:1.8rem !important;}
	h3.both-border.seiku{font-size:1rem !important;}
}
@media screen and (max-width:600px) {
	h2.wp-block-heading{font-size:1.2rem !important;}
	h2.short-type{font-size:0.95rem !important;}
	h3.wp-block-heading, h3.is-plain{font-size:1.1rem !important;}
	h2.wp-block-heading.has-large-font-size{font-size:1.5rem !important;}
    h3.wp-block-heading.has-x-large-font-size{font-size:1.6rem !important;}
	h4.wp-block-heading{font-size:1.1rem;}
}
@media screen and (max-width:430px) {
    h2.wp-block-heading.has-large-font-size, h3.wp-block-heading.has-x-large-font-size{font-size:1.4rem !important;}
	h4.wp-block-heading{font-size:1rem;}
}

/* more-link + btn  */
.more-link-line{position: relative;font-size:15px;color:#555;-webkit-appearance: none;display:inline-block;margin-right:10px;border:1px solid #555;padding:0.5em 34px 0.5em 1em;width:auto;min-width:170px;text-align:center !important;text-decoration:none !important;}
.more-link-line::before {content: "";margin: auto;position: absolute;top: 0;bottom: 0;right: 6px;width: 25px; height: 5px;border-bottom: 1px solid #555;border-right: 1px solid #555;transform: skew(45deg);}
.song-btn{position: relative;font-size:15px;color:#555;-webkit-appearance: none;display:inline-block;border:1px solid #555;padding:0.9em 1em 1.1em;width:auto;min-width:170px;text-align:center !important;text-decoration:none !important;}
.song-btn::after {content: "\f028";font-family: "Font Awesome 6 Free";font-weight: 900;font-size:21px !important;color:#ccc;padding-left:10px;}
.more-link-line:hover, .song-btn:hover{background-color:#555;color:#fff;text-decoration:none;transition : 1s;}
.more-link-line:hover::before, .song-btn:hover::before {border-bottom: 1px solid #fff;border-right: 1px solid #fff;}
ul.for-btn{margin:0;padding:0;list-style:none;}
ul.for-btn li{width:100%;max-width:650px;}
ul.for-btn li a{text-decoration:none;margin:0 0 10px 0;padding:12px;color:#00008b;background-color:#eee;display:block;font-size:16px;}
ul.for-btn li a:before{content: "\f1c1";font-family: "Font Awesome 5 Free";font-weight: 400;font-size:21px !important;color:#000;padding:0 10px;}
ul.for-btn.type2 li a:before{content: "\f1c1";font-family: "Font Awesome 5 Free";font-weight: 400;font-size:24px !important;color:#a30000;padding:0 10px;}
ul.for-btn li a:hover{background-color:#f7f7f7;transition : 1s;}
@media screen and (max-width:430px) {
	.wp-block-button__width-50, .wp-block-button__width-75{width:100% !important;}
	.wp-block-button.is-style-outline{outline-style: none !important;}
	.more-link-line{min-width:130px;}
	.song-btn{font-size:14px;}
}

/* font + etc */
.yumin{font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;font-weight:bold;}
.serif{font-family: 'Noto Serif JP', serif; }
.narrow{width:80%;margin:0 auto;}
.narrow2{width:84%;margin:0 auto;}
.narrow3{width:90%;max-width:640px;margin:0 auto;}
.txt-l{font-size:1.45rem !important;}
.txt-ml{font-size:1.05rem !important;}
.txt20{font-size:20px !important;}
.txt19{font-size:19px !important;}
.txt18{font-size:18px !important;}
.txt17{font-size:17px !important;}
.txt16{font-size:16px !important;}
.txt15{font-size:15px;}
.txt14{font-size:14px;}
.txt13{font-size:13px;}
.txt12{font-size:12px;}
.red{color:#dc3545;}
.red2{color:#a30000;}
.navy{color:#11376b;}
.white{color:#fff;}
.gray{color:#aaa;}
.bg-gray{background-color:#f7f7f7 !important;}
.bg-beige{background-color:#efebe2 !important;}
.bg-blue{background-color:#004098 !important;color:#fff !important;}
.bg-sky{background-color:#bae2f8 !important;}
.bg-l-sky{background-color:#eaf5fc !important;}
.mt-lg-50{margin-top:50%;}
.mt-n1 {margin-top: -0.25rem !important;}
.mt-n2 {margin-top: -0.5rem !important;}
.mt-n3 {margin-top: -1rem !important;}
.mt-n4 {margin-top: -1.25rem !important;}
.mb-n1{margin-bottom:-0.25rem !important;}
.mb-n2{margin-bottom:-0.5rem !important;}
.mb-n3{margin-bottom:-15px !important;}
.mb-n5{margin-bottom:-25px !important;}
.ms-n5{margin-left:-25px !important;}
.me-n5{margin-right:-25px !important;}
.wp-block-gallery.gallery-type1 figcaption{background:none !important;color:#000 !important;text-shadow: 1px 1px 0 #fff,-1px 1px 0 #fff,1px -1px 0 #fff,-1px -1px 0 #fff;}
.brsp{display:none;}
.hidden-md, .hidden-sm{display:none;}
.underline{text-decoration: underline;}
ul.smart{list-style: none;}
ul.smart li{text-indent: -1em;padding-left: 0;margin-left:-1em;}
ul.smart li::before{content: '・';padding-right:0.2em;}
.letter-s1{letter-spacing:0.2em;}
a.anchor{display: block;position: relative;top: -20px;visibility: hidden;}
@media screen and (max-width:1200px) {
	.narrow{width:96%;}
	.narrow2{width:98%;}
}
@media screen and (max-width:991px) {
	.narrow-img{text-align:center;}
	.narrow-img img{width:70%;}
	.txt-l{font-size:1.3rem !important;}
	.txt-ml{font-size:1rem !important;}
	.txt20{font-size:19px !important;}
	.txt19{font-size:18px !important;}
	.txt18{font-size:17px !important;}
	.txt17{font-size:16px !important;}
	.txt16{font-size:15px !important;}
	.txt15{font-size:14px;}
	.txt14{font-size:13px;}
	a.anchor{display: block;position: relative;top: -60px;visibility: hidden;}
	.sp-wide{width:100vw;margin:0 calc(50% - 50vw)}
	.wp-block-cover__inner-container{max-width:991px !important;width:94% !important;margin:0 auto;}
}
@media screen and (max-width:827px) {	
	.txt-l{font-size:1.2rem;}
	.txt-ml{font-size:0.95rem;}
}
@media screen and (max-width:768px) {
	.mt-lg-50{margin-top:0;}
	.mt-n1 {margin-top: -0.2rem !important;}
    .mt-n2 {margin-top: -0.4rem !important;}
    .mt-n3 {margin-top: -0.7rem !important;}
	.mt-n4 {margin-top: -1rem !important;}
	.mb-n5{margin-bottom:-20px !important;}
	.ms-n5{margin-left:-10px !important;}
    .me-n5{margin-right:-10px !important;}	
	.brsp, .hidden-md{display:block;}
}
@media screen and (max-width:550px) {
	.hidden-sm{display:block;}
}
@media screen and (max-width:430px) {
	.narrow2{width:100%;}
	.bg-gray{background-color:#f3f3f3 !important;}
	.txt-l{font-size:1.1rem;}
}

/* table */
.wp-block-table thead{border-bottom:2px solid #bbb;}
.wp-block-table th, .wp-block-table td{border:1px solid #bbb !important;}
.wp-block-table.table-tight th, .wp-block-table.table-tight td{padding:0.1em 1em;}
.v-middle{vertical-align:middle !important;}
.table-narrow{width:100%;max-width:760px !important;}
.table-narrow2{width:100%;max-width:500px !important;}
.wp-block-table td.min100{width:auto;min-width:100px;}
.wp-block-table td.min70{width:auto;min-width:70px;}
.br-type-wide, .hidden-type-wide{display:none;}
table.line-type tr{border-top:1px solid #888;}
table.line-type tr:last-child{border-bottom:1px solid #888;}
table.line-type td{padding:5px !important;}
table.line-type td.min80{width:auto;min-width:80px;}
@media screen and (max-width:1400px) {
    .wp-block-table.type-wide {margin: 0 0 1em;overflow-x: auto;white-space: nowrap;width:auto;max-width:950px;}
	.br-type-wide, .hidden-type-wide{display:block;}
}
@media screen and (max-width:1200px) {
	.wp-block-table th, .wp-block-table td{font-size:14px;}
	.wp-block-table.table-tight th, .wp-block-table.table-tight td{padding:0.1em 0.5em;}
}
@media screen and (max-width:768px) {
  .wp-block-table {margin: 0 0 1em;overflow-x: auto;white-space: nowrap;width:auto;max-width:800px;}
}

/* dl */
dl dd{padding-left:2em;}
dl.line-type dt{display: flex;align-items: center;margin:1.3em 0 0.9em;}
dl.line-type dt:after {border-top: 1px solid #555;content: "";flex-grow: 1;margin-left: 1.1rem;}
dl.line-type dd{padding-left:1em;}

/* footer */
#wrapper-footer-full{background-color:#293656;margin-top:150px;color:#fff;}
.custom-footer{display:flex;flex-wrap:wrap;}
.footer-logo{width:250px}
.footer-logo p{font-size:12px;padding:1em 0 0 0.8em;}
.footer-logo img{width:240px;}
.footer-logo a{color:#fff;}
.footer-logo a i{font-size:30px;color:#c4b898;padding:0 0 0 6px;}
ul.menu-column5{width:calc(100% - 250px);list-style:none;display:flex;flex-wrap:wrap;justify-content:space-between;margin:0;padding:0;}
ul.menu-column5 li{padding:0 0 0 20px;}
ul.menu-column5 a{font-size:13px;color:#fff;}
ul.menu-column5 li h4{padding:0 0 5px 0;border-bottom:1px solid #fff;}
#wrapper-footer{background-color:#293656;color:#ccc;}
.site-info{text-align:center;font-size:12px;}
.page_top {position:fixed;bottom:10px;right:10px;display:block;width: 50px;height: 50px;border-radius: 50%;color:#fff;font-size:20px;text-decoration:none;background:rgba(0,0,0,0.5);text-align: center;line-height: 50px;}
.page_top:hover{color:#fff;}
@media(max-width:1150px){
	ul.menu-column5{justify-content:flex-start;}
	ul.menu-column5 li{width:33.3%;}
	ul.menu-column5 li:nth-child(4),ul.menu-column5 li:nth-child(5){margin-top:1em;}
}
@media(max-width:991px){
	#wrapper-footer-full{margin-top:50px;}
}
@media(max-width:768px){
	ul.menu-column5{display:none;}
}
