@charset "utf-8";

/*==========================================================

	共通

==========================================================*/
html{
	overflow-x: hidden;
}
body {
	color: #333;
	font-family:'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
	font-size: 15px;
	overflow-x: hidden;
	line-height: 1.4;
	-webkit-text-size-adjust: none;
	background: #4CB424 url(../img/common/body_bg.jpg) repeat 50% 0;
}
img{
	width: 100%;
}
#all {
	min-width: 980px;
}
a {
	color: #333333;
	text-decoration: none;
}
a:hover {
	opacity: 0.7;
}
@media screen and (max-width: 900px) {
	#all {
		min-width: 90%;
	}
}
@media screen and (max-width: 767.5px) {
	body {
		font-size: 14px;
		line-height: 1.5;
	}
}
/*======パンくず=======*/

.topicpath {
	display: flex;
	font-size: 12px;
	padding-bottom: 20px;
	margin-top: -20px;
}
.topicpath li{
	padding-right: 15px;
	position: relative;
}
.topicpath li:first-child{
	position: inherit;
}
.topicpath li::after{
	content:""!important;
    width: 5px!important;
    height: 100%!important;
    position: absolute;
    background: url(../img/common/arrow_bk.png)!important;
    background-size: contain!important;
	background-repeat: no-repeat!important;
	left: -10px;
	top: -5px;
	transform: rotate(180deg);
}


/*======タイトル=======*/

.head2_1,.head2_2,.head2_3{
	font-size: 28px;
	color: #C30000;
	font-weight: bold;
	text-align: center;
	width: 100%;
	padding-bottom: .5em;
	position: relative;
}
.emergencyBox .head2_1 {
	margin-bottom: 1em;
}
.head2_1::after{
	position: absolute;
	content: '';
	border-bottom: 1px solid #C30000;
	bottom: 0;
	right: 0;
	width: 100%;
}
.head2_2{
	color: #00479D;
	text-align: left;
	background: #fff;
	padding: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #00479D;
	box-sizing: border-box;
}
.head2_3{
	color: #42B118;
	text-align: left;
	background: #fff;
	padding: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #42B118;
	box-sizing: border-box;
}
.head2_2::after,.head2_3::after{
	border-bottom: none;
}

.head3_1{
	font-size: 17px;
	font-weight: 300;
	padding: 10px 20px; 
	color: #fff;
	background: #00479D;
	margin-bottom: 10px;
}

@media screen and (max-width: 767.5px) {
	.topicpath {
		padding: 10px 20px;
		margin-top: 0;
		/* background: #fff; */
		flex-wrap: wrap;
	}
	.head2_1,.head2_2{
		font-size: 1.5em;
		line-height: 1.2;
	}
	.head2_2{
        padding: 20px;
		padding-bottom: 10px;
    }
	.head3_1{
		font-size: 16px;
	}
}

/*======ボタン=======*/
.btn_1 a {
    border-radius: 5px;
	border:1px solid #00479D;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 200px;
    padding: 10px 25px;
    color: #00479D;
}
.btn_1 a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 40px;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 8px;
  height: 8px;
  border-top: solid 1px currentColor;
  border-right: solid 1px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn_1 a:hover {
  background: #00479D;
  color: #FFF;
  opacity: 1;
}
@media screen and (max-width: 767.5px) {
	.btn_1 a {
		max-width: 190px;
	}
}
/*==========================================================

	ヘッダー

==========================================================*/

.header {
	background: #A0D600!important;
	padding: 20px 0 20px;
}
.header-inner {
	width: 100%;
	max-width: 980px;
	padding: 0 20px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;	
}
.header-sdt{
	width: 150px;
}
.header-logo{
	width: 250px;
	filter: drop-shadow(0 0 3px rgba(0,0,0,.5));
}
.gnav {
	background: #000;
}
.gnav ul {
	margin: 0 auto;
	width: 100%;
	max-width: 980px;
	padding: 0 20px;
	display: flex;
	align-items: flex-end;
}
.gnav ul li {
	flex: 1;
}
.gnav li a.gnav-link {
	position: relative;
	display: block;
	text-align: center;
	font-size: 15px;
	color: #fff;
	padding: 12px 0;
	text-decoration: none;
}
.gnav li a.gnav-link::after{
	position: absolute;
	content: '';
	left: 0;
	top:20%;
	background:#fff;
	width:1px;
	height:55%;
}
.gnav li a.link-shinjin::before{
	position: absolute;
	content: '';
	right: 0;
	top:20%;
	background:#fff;
	width:1px;
	height:60%;
}
.gnav li a.link-top:hover{
	opacity: 1;
	background: #333333;
}
.gnav li a.link-senshuken:hover{
	opacity: 1;
	background: #1C4698;
}
.gnav li a.link-soutai:hover{
	opacity: 1;
	background: #4DA8D2;
}
.gnav li a.link-shinjin:hover{
	opacity: 1;
	background: #ff9900;
}

/* PC表示 */
#gnav-pc {display: block;}
#gnav-sp {display: none;}

@media screen and (min-width: 767.5px) {
	.menu-btn {
		display: none;
	}
}

/* タブレット用調整 */
@media (max-width: 1100px) and (min-width: 768px) {
	.header-sdt {
		width: 120px;
	}
	.header-logo {
		width: 160px;
	}
	.gnav li a.gnav-link {
		font-size: 14px;
	}
}
@media screen and (max-width: 767.5px) {
	.header{
		padding-bottom: 0;
		position: relative;
	}
	.header-logo{
		width: 150px;
	}
	.header-sdt{
		width: 100px;
		margin-top: 20px;
        margin-right: 30px;
	}
	.header-inner{
		padding-bottom: 15px;
	}
	.gnav ul{
		display: block;
		width: 100%;
		padding: 0;
	}
	.gnav ul li{
		width: 100%;
		border-bottom: 1px solid #fff;
	}
	.gnav li a.gnav-link{
		border-right: none;	
		padding: 20px 0;
	}
	.gnav li a.gnav-link:first-child{
		border-left: none;
	}
	.gnav li a.gnav-link::after,.gnav li a.link-shinjin::before{
		width:0;
	}

	.menu-btn {
		background: #A0D600!important;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 24px;
		height: 18px;
		border: none;
		cursor: pointer;
		padding: 0;
		position: absolute;
		right: 10px;
		top: 60px;
		transform: translateY(-50%);
		z-index: 2000;
	}
	.menu-btn span {
		display: block;
		height: 2px;
		width: 24px;
		background: #444;
		border-radius: 2px;
		transition: 0.3s; 
	}
	.menu-btn.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	.menu-btn.active span:nth-child(2) {
		opacity: 0; /* 真ん中を消す */
	}
	.menu-btn.active span:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -6px);
	}
	#gnav-pc { display: none; }
}

/*==========================================================

	フッター

==========================================================*/

#footer {
	margin: 0 auto;
	padding: 50px 0;
	width: 980px;
	letter-spacing: .02em;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	position: relative;
	color: #fff;
}
.footer-sdt{
	width: 160px;
}
.pageTop {
	position: absolute;
	top: -60px;
	right: 100px;
	text-align: right;
}
.pageTop img{
	width: 80px;
	height: 80px;
}

.copyright-en {
	margin: 20px 0 0;
	font-size: 11px;
}

@media screen and (min-width: 767.5px) {
	.copyright-ja {
		font-size: .8em;
	}
	.copyright-en {
		font-size: .8em;
	}
}

@media screen and (max-width: 900px) {
	#footer {
		font-size: 12px;
		margin: 0 auto;
		padding: 50px 20px;
		width: 100%;
		display: block;
	}
	.pageTop {
		top: -60px;
		right: 0;
	}
	.footer-sdt{
		margin: 20px auto 0;
	}
}
@media screen and (max-width: 767.5px) {
	#footer{
		font-size: 10px;
		padding: 50px 20px 30px;
	}
	.footer-sdt{
		width: 150px;
		margin: 20px auto 0;
	}
}


/*==========================================================

	緊急情報ボックス

==========================================================*/

.emergency{
	width: 100%;
}
.emergencyBox{
	padding: 40px;
	background: #fff;
	margin-bottom: 30px ;
}

.emergencyBox p {
	margin-top: 1em;
}




.emergency-movie {
	margin: 30px auto;
	position: relative;
	width: 100%;
	max-width: 580px;
	aspect-ratio: 16 / 9; 
}

.emergency-movie iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.emergency-banner{
	/*margin: 30px 0;*/
	margin-bottom: 30px ;
}

.emergency-banner ul li {
	margin-top: 2em;
}

.emergency-banner ul li:first-child {
	margin-top: 0;
}

@media screen and (max-width: 767.5px) {
	.emergencyBox{
		padding: 20px;
		margin-bottom: 0px ;
	}
	.emergencyBox h3{
		font-size: 24px;
	}
	.emergencyBox h3::after{
		bottom: -10px;
	}
	.emergency-movie{
		margin: 20px auto 10px;
	}
	.emergency-banner{
		margin: 20px auto 30px;
		width: calc(100% - 40px);
	}
	.emergency-banner ul li {
		margin-top: 1em;
	}
}
/*==========================================================

	コンテンツエリア

==========================================================*/

.main {
	background: #EEF6F9;
}
.main-inner{
    background: url(../img/common/main_bg.png) no-repeat bottom center fixed;
	background-size: cover;
}
/* .emergency を含む場合 */
/*
.main-inner:has(.emergency) {
	background-size: contain;
  }
*/
.main-body {
	margin: 0 auto;
	padding-top: 40px;
	width: 980px;
	min-height: 900px;
}

@media screen and (max-width: 900px) {
	.main-inner{
		background: url(../img/common/main_bg.png) no-repeat bottom center fixed;
		background-size: cover;
	}
	/* .emergency を含む場合 */
	/*
	.main-inner:has(.emergency) {
		background-size: contain;
	  }
	*/
	.main-body {
		width: 100%;
        min-height: 200px;
		padding: 40px 20px 0;
    }
}
@media screen and (max-width: 767.5px) {
	.main-body {
		padding: 0;
    }
	.main-inner{
		/*background: #EEF6F9;*/
		background-size: cover;
	}
}


/*==========================================================

	カラム

==========================================================*/

.container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.col-homeLeft {
	width: 65%;
	flex-grow: 1;
}
.col-homeRight {
	width: 32%;
	margin-left: 3%;
	padding-bottom: 100px;
}
.col-left {
	width: 65%;
}

.col-right {
	width: 32%;
}
@media screen and (max-width: 767.5px) {
	  .col-homeLeft {
		  width: 100%;
	  }
	  .col-homeRight {
		  width:100%;
		  max-width: 400px;
		  margin: 0 auto;
		  padding: 0 20px 90px;
		  z-index: 100;
	  }
	  .col-left {
		  width: 100%;
	  }
	  .col-right {
		  width: 100%;
	  }
}
/* スマホサイズでの表示順序変更 */
@media (max-width: 767.5px) {
  .container{
	display: block;
  }
	/* emergencyの有無関係なく常に順序制御を適用 */
	.main-body {
		display: flex;
		flex-direction: column;
	}

	/* パンくずリスト - 最上位に配置 */
	.topicpath {
		order: -6;
	}

	/* emergency - パンくずリストの後に配置 */
	.emergency {
		order: -5; /* ①emergency */
	}

	.container {
		order: 0;
		display: flex;
		flex-direction: column;
	}

	/* サイドバー要素をcontainerから取り出す */
	.col-homeRight {
		display: contents;
	}

	/* container内順序制御 */
	/* トップページ用 */
	.sideBox-broadcast {
		order: -3; /* ②sideBox-broadcast */
	}

	/* 下層ページ用：.sideBoxの順序を個別指定 */
	.col-homeRight .sideBox:nth-child(1) {
		order: -3; /* ②放送・配信日程 */
	}

	.col-homeLeft {
		order: -2; /* ③col-homeLeft */
	}

	.sideBox-article {
		order: -1; /* ④sideBox-article */
	}

	.col-homeRight .sideBox:nth-child(2) {
		order: -1; /* ④新着情報 */
	}

	.sideBnr-area {
		order: 0; /* ⑤sideBnr-area */
	}
}


/*==========================================================

	トップ

==========================================================*/
.whBox{
	padding: 25px;
	margin-bottom: 90px;
	width: 100%;
	background: #fff;
}
#main-video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	margin-bottom: 10px;
}
#main-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.thumb-slider{
    margin-left: -10px;
    white-space: nowrap; /* 追加: 折り返しを防ぐ */
}

.thumb-slider li{
    width: calc((100% - 30px) / 4) ; 
    min-width: 120px; /* 追加: 最小幅を設定 */
    margin-left: 10px;
    cursor: pointer;
    display: inline-block; /* 追加: インライン要素にして確実に横並び */
    vertical-align: top; /* 追加: 上揃え */
}

.thumb-slider li img {
    width: 100%;
    height: auto;
    cursor: pointer;
}
.slick-list {
    overflow: hidden; /* 確実にはみ出しを隠す */
}

.slick-track {
    display: flex !important; /* Flexboxで確実に横並び */
    align-items: stretch;
}

.slick-slide {
    float: none !important; /* Slick標準のfloatを無効化 */
    display: flex !important;
    align-items: stretch;
}
.slick-next:before,.slick-prev:before{
	content:""!important;
    width: 10px!important;
    height: 100%!important;
    position: absolute;
    background: url(../img/common/arrow_bk.png)!important;
    background-size: contain!important;
	background-repeat: no-repeat!important;
	right: -8px;
	top: 0;
}
.slick-next:before{
	transform: rotate(180deg);
	left: 0;
	top: -5px;
}
body .slick-track{
	overflow-x: hidden!important;
	box-sizing:border-box!important;
}
/* PCでウィンドウが狭い場合の追加対応 */
@media screen and (min-width: 767.5px) and (max-width: 1024px) {
    .thumb-slider li {
        min-width: 100px; /* より狭い場合の最小幅 */
    }
}

@media screen and (max-width: 767.5px) {
	.whBox{
		padding:20px;
		margin-bottom: 30px;
	}
	.thumb-slider{
		margin-left: 0;
	}
	.thumb-slider li{
		/* width: 200px!important; */
		margin: 0px 5px;
		display: block;
	}
	
	.slick-next:before,.slick-prev:before{
		display: none;
	}
}
@media screen and (max-width: 480px) {
	.thumb-slider li{
		margin: 0px 5px;
	}
}


.sideBox{
	margin-bottom: 50px;
	background: #fff;
}
.sideBox-ttl{
	font-size: 17px;
	font-weight: 300;
	text-align: center;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content:center;
	background: #42B118;
	padding: 10px; 
	margin: 0 auto;
}
.sideBox-ttl img{
	width: 24px;
	height: 20px;
	margin-right: 10px;
}
.sideBox-Cont .sideBox-item{
	padding: 20px 20px 0;
	letter-spacing: .01em;
}
.sideBox-Cont .sideBox-item a{
	display: block;
}
.whBox .sideBox-Cont .sideBox-item{
	padding: 20px 5px 0;
}
.whBox .sideBox-Cont .sideBox-item:first-child{
	padding-top: 5px;
}
.sideBox-Cont .sideBox-item .date{
	font-size: .9em;
	font-weight: bold;
	margin-bottom: .5em;
}
.sideBox-Cont .sideBox-item .title{
	border-bottom: 1px dashed #888;
	padding-bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.topPage .sideBox-Cont .sideBox-item .title::after {
	text-align: right;
	display: block;
	content: url("../img/common/arrow_yg.svg");
	width: 8px;
	margin-left: 12px;
}
.senshuken .sideBox-Cont .sideBox-item .title::after {
	text-align: right;
	display: block;
	content: url("../img/common/arrow_blue.svg");
	width: 8px;
	margin-left: 12px;
}
.soutai .sideBox-Cont .sideBox-item .title::after {
	text-align: right;
	display: block;
	content: url("../img/common/arrow_skyblue.svg");
	width: 8px;
	margin-left: 12px;
}
.shinjin .sideBox-Cont .sideBox-item .title::after {
	text-align: right;
	display: block;
	content: url("../img/common/arrow_og.svg");
	width: 8px;
	margin-left: 12px;
}
.sideBox .sideBox-link{
	margin: 0 0 0 auto;
	width: 110px;
	padding: 20px;
}
.sideBox .sideBox-link a{
	color:#42B118;
	display: block;
	text-align: right;
	position: relative;
	line-height: 1;
}
.sideBox .sideBox-link a::before{
	position: absolute;
	content: '';
	background: url(../img/common/arrow_yg.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: top;
	width: 12px;
	height: 12px;
	top: 0;
	left: 1em;
}

.sideBnr{
	margin-bottom: 20px;
}


@media screen and (max-width: 767.5px) {
	.sideBox,
	.sideBnr-area{
		width: calc(100% - 40px);
		margin: 30px auto;
	}
	.sideBox-broadcast{
		/* margin-top: 30px; */
	}
	.sideBnr-area{
		margin-bottom: 70px;
	}
	.sideBox-Cont .arrow{
		margin-left: 10px;
		width: 13px;
		height: 13px;
	}

}

@media screen and (max-width: 480px) {
	.sideBox .sideBox-link{
		width: 100px;
	}
	.sideBox-Cont .arrow{
		margin-left: 10px;
		width: 13px;
		height: 13px;
	}

}

/*==========================================================

	新着情報一覧（すべて）

==========================================================*/
.topPage .active,
.topPage .gnav .active,.topPage .sideBox-ttl,
.topPage .head3_1,
.topPage .btn_1 a:hover,
.topPage .page-li:hover,
.topPage .page-active{
	background: #42B118;
}
.topPage .btn_1 a:hover,
.topPage .page-li:hover,
.topPage .page-active{
	color: #fff!important;
}
.topPage .page-li,.topPage .btn_1 a{
	color: #42B118;;
	border:1px solid #42B118;;
}



/*==========================================================

	選手権

==========================================================*/
.senshuken .gnav .active,.senshuken .sideBox-ttl{
	background: #00479D;
}
.senshuken .sideBox .sideBox-link a{
	color: #00479D;
}
.senshuken .sideBox .sideBox-link a::before{
	background-repeat: no-repeat!important;
	background-size: contain!important;
	background: url(../img/common/arrow_blue.svg);
}
.article .whBox{
	padding-bottom: 40px;
}
.pagination ul{
	display: flex;
	justify-content: center;
	align-content: center;
	margin-top: 30px;
}
.page-li{
	color: #00479D;
	background: #fff;
	border:1px solid #00479D;
	font-size: 14px;
	text-align: center;
	line-height: 35px;
	width: 35px;
	height: 35px;
	margin: auto;
	display: block;
	text-decoration: none;
	border-radius: 100px;
	margin-right: 10px;
}
.page-active{
	color: #fff;
	background: #00479D;
}
.page-li:hover{
	color: #fff;
	background: #00479D;
	opacity: 1;
}

.page-li span{
	display: inline-block;
	position: relative;
	width: 9px;
	height: 9px;
}
.page-li span::after{
	content: "";
	position: absolute;
	top: 49%;
	right: 1px;
	font-size: 90%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: right 0.3s;
	width: 9px;
	height: 9px;
	border-top: solid 1px currentColor;
	border-right: solid 1px currentColor;
	transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 767.5px) {
	.page-li{
		font-size: 13px;
		line-height: 32px;
		width: 32px;
		height: 32px;
	}
	.page-li span{
		display: inline-block;
		position: relative;
		width: 10px;
		height: 10px;
	}
	.page-li span::after {
		top: 1px;
		right: -3px;
		width: 10px;
		height: 10px;
		border-top: none;
		border-right: none;
		background: url(../img/common/arrow_yg.svg);
		background-repeat: no-repeat!important;
		background-size: contain!important;
		transform: translateY(0) rotate(0deg);
	}
	.senshuken .page-li span::after {
		top: 1px;
		right: -3px;
		width: 10px;
		height: 10px;
		border-top: none;
		border-right: none;
		background: url(../img/common/arrow_blue.svg);
		background-repeat: no-repeat!important;
		background-size: contain!important;
		transform: translateY(0) rotate(0deg);
	}
}

/*==========================================================

	記事詳細

==========================================================*/
.detail-block{
	margin-top: 30px;
}
.detail-block .detail-date{
	font-size: 14px;
	margin-bottom: 10px;
}
.detail-block .txt{
	line-height: 2;
}
.detail-area{
	border-bottom: 1px dashed #888;
	padding-bottom: 15px;
	padding-left: 5px;
	margin-bottom: 30px;
}
.continue-mark img{
	height: 39px;
	margin: 30px auto;
}
@media screen and (max-width: 767.5px) {
	.detail-block .detail-date{
		font-size: 13px;
	}
	.continue-mark img{
		margin: 20px auto;
	}
}


/*==========================================================

	高校総体

==========================================================*/
.soutai .head2_2,
.soutai .sideBox .sideBox-link a{
	color: #4DA8D2;
}
.soutai .head2_2{
	border-bottom: 1px solid #4DA8D2;
}
.soutai .sideBox .sideBox-link a::before{
	background-repeat: no-repeat!important;
	background-size: contain!important;
	background: url(../img/common/arrow_skyblue.svg);
}

.soutai .active,
.soutai .gnav .active,.soutai .sideBox-ttl,
.soutai .head3_1,
.soutai .btn_1 a:hover,
.soutai .page-li:hover,
.soutai .page-active{
	background: #4DA8D2;
}
.soutai .btn_1 a:hover,
.soutai .page-li:hover,
.soutai .page-active{
	color: #fff!important;
}
.soutai .page-li,.soutai .btn_1 a{
	color: #4DA8D2;;
	border:1px solid #4DA8D2;;
}
@media screen and (max-width: 767.5px) {
	.soutai .page-li span::after{
		background: url(../img/common/arrow_skyblue.svg);
	}
}



/*==========================================================

	新人大会

==========================================================*/
.shinjin .head2_2,
.shinjin .sideBox .sideBox-link a{
	color: #ff9900;
}
.shinjin .head2_2{
	border-bottom: 1px solid #ff9900;
}
.shinjin .sideBox .sideBox-link a::before{
	background-repeat: no-repeat!important;
	background-size: contain!important;
	background: url(../img/common/arrow_og.svg);
}
.shinjin .active,
.shinjin .gnav .active,
.shinjin .sideBox-ttl,
.shinjin .head3_1,
.shinjin .btn_1 a:hover,
.shinjin .page-li:hover,
.shinjin .page-active{
	background: #ff9900;
}
.shinjin .btn_1 a:hover,
.shinjin .page-li:hover,
.shinjin .page-active{
	color: #fff!important;
}
.shinjin .page-li,
.shinjin .btn_1 a{
	color: #ff9900;;
	border:1px solid #ff9900;
}
@media screen and (max-width: 767.5px) {
	.shinjin .page-li span::after{
		background: url(../img/common/arrow_og.svg);
	}
}
