@charset "utf-8";
/* CSS Document */

/*================================================
*  CSSリセット
================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav.gnav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav.gnav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap');


/*================================================
*  一般・共通設定
================================================*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	overflow-x: hidden;
}

/*-- pc sp表示切替 --*/
.pc { display: block !important; }
.sp { display: none !important; }
@media only screen and (max-width: 599px) {
	.pc { display: none !important; }
	.sp { display: block !important; } 
}


.hero-section {
	background: url("../images/header_bg.png") no-repeat #c6edff center top;
	position: relative;
	padding: 0;
	text-align: center;
	margin: 0 auto;
}


.main-logo {
	width: 300px;
	height: auto;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.subtitle {
	margin-bottom: 20px;
}
.subtitle p{
	margin-top: 0.5rem;
}



/* リード文
--------------------------------------------*/
.description-box {
	background: #ffd44c;
	margin: 0 auto 20px;
	padding: 0 1.0rem;
	max-width: 980px;
	min-height: 120px;
	border-radius: 0;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.description-box:before, .description-box:after {
	position: absolute;
	content: '';
	width: 0px;
	height: 0px;
	z-index: 1;	
}
.description-box:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	border-width: 60px 0px 60px 30px;
	border-color: transparent transparent transparent #c6edff;
	border-style: solid;
}
.description-box:after {
	top: 0;
	right: 0;
	border-width: 60px 30px 60px 0px;
	border-color: transparent #c6edff transparent transparent;
	border-style: solid;
}

.nhk-culture-logo {
	flex-shrink: 0;
	align-items: center;
	min-width: 200px;
	padding: 0 2rem;
}

.description-text {
	line-height: 1.6;
	flex: 1;
	text-align: left;
}

.update-notice {
	text-align: center;
	color: #330099;
	padding: 10px 0;
}

.hero-section-btm {
	background: url("../images/header_bg_btm.png") no-repeat #c6edff center bottom;
	margin: 0 auto;
	min-height: 200px;
}


/*================================================
*  スケジュール
================================================*/
.schedule-section {
	background: #fabe00;
	padding: 0;
	margin: 0 auto;
}

.schedule-container {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto 1fr;
	overflow-x: hidden;
}

.month-sidebar {
	margin-top: 2rem;
	width: 60px;
	flex-shrink: 0;
	position: relative;
}
.month-sidebar.sep {
	margin-top: 110px;
}

.month-label {
	left: 20px;
}

.month-label:before {
	content: '';
	position: absolute;
	top: -30px;
	left: 60px;
	width: 100vw;
	height: 1px;
	background: white;
	z-index: 1;
}

.month-label:after {
	content: '';
	position: absolute;
	top: -30px;
	left: 0;
	width: 100%;
	height: 1px;
	background: white;
	z-index: 1;
}

.schedule-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	flex: 1;
	gap: 0;
}

.region {
	padding: 0 10px 10px;
}

.kanto { background: #e8340c; }
.chubu { background: #007ac3; }
.kansai { background: #6eb92b; }

.region-title {
	margin: 20px 0;
	text-align: center;
}

.region-title img {
	width: 100%;
}


.event {
	background: #fff;
	margin: 10px 0;
	padding: 4px;
	border-radius: 8px;
	display: flex;
	position: relative;
	overflow: hidden;
}

.event-info {
	padding: 0 10px 0 5px;
	width: 70%;
	position: relative;
	z-index: 1;
}

.event-info .day {
	color: #330099;
	font-size: 1.8rem;
	font-weight: 900;
}

.event-info .dayname {
	color: #330099;
	font-size: 0.8rem;
}

.event-name {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 5px 0;
}

.event-katagaki {
	font-size: 0.7rem;
	color: #666;
	margin-bottom: 5px;
}

.event-location {
	color: white;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
	margin: 0;
	width:100%;
}

.event-photo {
	position: relative;
	width: 100px;
	height: 100px;
	border-radius: 4px;
	background: #ddd;
	flex-shrink: 0;
}

.event-photo img {
	width: 100px;
	height: 100px;
	object-fit: cover;
}

/*注釈*/
.event-photo p {
	position: absolute;
	bottom: 0;
	left: 0;
	background:rgba(0,0,0,0.5);
	padding: 0.2rem;
	color: #fff;
	font-size: 0.7rem;
	line-height: 1;
}

@media (max-width: 768px) {
	.hero-section {
		background-size: contain;
		padding: 0;
	}
	.hero-section-btm {
		background-size: contain;
		margin: 0;
		height: auto;
	}

	.main-logo {
		width: 100%;
		height: auto;
		margin: 0 auto;
	}

	.main-logo img {
		width: 60%;
		height: 60%;
	}

	.subtitle {
		width:auto;
		margin-bottom: 20px;
	}
	.subtitle img {
		width: 90%;
	}
	.subtitle p img {
		width: 70%;
	}
	
	.description-box {
		padding: 0.5rem;
		margin: 0.5rem auto;
		display: block;
		max-width: auto;
	}

	.description-text {
		font-size: 0.7rem;
		line-height: 1.6;
		padding: 0.5rem 2rem;
	}

	.description-box:before {
		border-width: 90px 0px 90px 20px;

	}
	.description-box:after {
		border-width: 90px 30px 90px 0px;
	}

	.nhk-culture-logo img {
		max-width: 80px;
	}

	.update-notice {
		padding: 0.8rem 0 1.0rem;
		font-size: 0.8rem;
		margin: 0;
	}

	.schedule-container {
		padding: 0;
		gap: 0;
	}

	.schedule-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.month-label img {
		max-width: 50px;
	}

	.month-sidebar {
		padding: 0.5rem;
		min-height: 50px;
	}

	.month-label:before {
		top: -40px;
	}

	.month-label:after {
		top: -40px;
	}

	.region-title {
		margin: 20px 0;

	}

	.region-title img {
		max-width: 100%;
	}

	.region {
		padding-top: 0.1rem;
	}

	.region-title {
		margin-bottom: 0.8rem;
	}

	.event {
		padding: 0.5rem;
		margin-bottom: 1.0rem;
	}

	.event-info {
		padding: 0 10px 0 0;
	}

	.event-info .day {
		font-size: 1.8rem;
	}

	.event-info .dayname {
		font-size: 0.7rem;
		letter-spacing: 1px;
	}

	.event-name {
		font-size: 1.0rem;
		margin: 0.4rem 0 0.4rem 0;
	}

	.event-katagaki {
		font-size: 0.75rem;
		margin-bottom: 0.5rem;
		line-height: 1.3;
	}

	.event-location {
		padding: 0.3rem 0.6rem;
		font-size: 0.7rem;
		border-radius: 5px;
	}
}

@media (max-width: 650px) {
	.schedule-container {
		width: 100%;
	}
	.schedule-section {
		padding: 0;
	}
	.month-sidebar {
		width: 50px;
		padding-right: 0;
	}
	.month-label:before {
		left: 50px;
	}
	.schedule-grid {
		width: 100%;
		gap: 0;
	}
	.region {
		width: 100%;
	}
	.region-title {
		margin: 0.5rem 0 1.0rem;
	}
	.event {
		display: block;
	}
	.event-name {
		margin: 0.1rem 0 0.2rem;
	}
	.event-info {
		width: 100%;
		padding: 0;
	}
	.event-katagaki {
		display: none;
	}
	.event-location {
		padding: 0.2rem 0.5rem;
		margin-bottom: 0.2rem;
		text-align: center;
	}
	.event-photo {
		width: auto;
		height: auto;
	}
	.event-photo img {
		width: 100%;
		height: 100%;
	}
}

@media (max-width: 480px) {
	.month-label:before {
		top: -30px;
	}
	.month-label:after {
		top: -30px;
	}
}


/*================================================
*  フッター
================================================*/
.copyright {
	text-align: center;
	padding: 20px;
	background: white;
	font-size: 12px;
	color: #666;
}


/*================================================
*  アニメーション用のクラス
================================================*/
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}


/*================================================
*  モーダルウィンドウ
================================================*/
.p-modal--btn {
	cursor: pointer;
}

.p-modal--content {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 1500;
	display: none;
}

.p-modal--close {
	display: inline-block;
	width: 65px;
	height: 65px;
	background-color: #fff;
	color: #000;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
}

.p-modal--close span {
	font-size: 11px;
	letter-spacing: 0.025em;
	display: block;
	transition: all 0.3s ease;
}

.p-modal--close span::before {
	content: "×";
	display: inline-block;
	font-size: 3.0rem;
	line-height: 0.8;
}

.p-modal--close:hover span {
	transform: scale(0.9);
}

.p-modal--contentWrap {
	overflow: auto;
	height: 100vh;
	padding: 8rem 2rem;
}

@media (max-width: 500px) {
	.p-modal--close {
		width: 50px;
		height: 50px;
	}
	.p-modal--close span {
		font-size: 1.0rem;
	}
	.p-modal--close span::before {
		font-size: 2rem;
	}
}


/* モーダル内情報
--------------------------------------------*/
.region .p-modal--inner {
	position: relative;
  background-color: #fff;
	border: 5px solid #e8340c;
  max-width: 400px;
	padding: 0 0 0.5rem;
  margin: auto;
	text-align: center;
}
/* 中部・信越 */
.region.chubu .p-modal--inner {
	border: 5px solid #007ac3 !important;
}
/* 関西 */
.kansai .p-modal--inner {
	border: 5px solid #6eb92b !important;
}

/*-- 画像 --*/
.region .p-modal--inner .modal_ph {
	position: relative;
	background-color: #ececec;
	height: 200px;
}
.region .p-modal--inner .modal_ph img {
	height: 200px;
}
/*注釈*/
.region .p-modal--inner .modal_ph p {
	position: absolute;
	bottom: 0;
	left: 0;
	background:rgba(0,0,0,0.5);
	padding: 0.2rem;
	color: #fff;
	font-size: 0.7rem;
	line-height: 1;
}


/*-- 文字 --*/
.region .p-modal--inner p {
	margin-top: 0.5rem;
}

/*-- 日時 --*/
.region .p-modal--inner .modal_date {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.7);
	text-align: center;
	padding: 0.5rem 0.2rem;
	margin-top: 0;
	font-size: 0.8rem;
}
.region .p-modal--inner .modal_date span {
	display: block;
	margin: 0 0 0.2rem;
	font-size: 1.2rem;
	font-weight: bold;
}
.region .p-modal--inner .modal_date span:last-of-type {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
}


/*-- 講師名 --*/
.region .p-modal--inner .modal_name {
	font-size: 1.3rem;
	font-weight: bold;
}

.region .p-modal--inner .modal_name span {
	margin-left: 0.5rem;
	font-size: 0.9rem;
	font-weight: normal;
}

/*-- 講座名 --*/
.region .p-modal--inner .modal_title {
	background-color: #fabe00;
	padding: 0.5rem 1.0rem;
	font-size: 1.3rem;
	font-weight: bold;
}

/*-- ボタン --*/
.region .p-modal--inner .modal_btn {
	margin: 0.5rem 1.0rem 0;
}

.region .p-modal--inner .modal_btn a {
	display: block;
	position: relative;
	z-index: 100;
	text-align:center;
	background: #e8340c;
	border-radius: 20px;
	padding: 0.5rem 0;
	color: #fff;
	text-decoration: none;
}

.region .p-modal--inner .modal_btn a:before {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 10px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	background: #fff;
}

.region .p-modal--inner .modal_btn a:after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 15px;
	width: 0;
	height: 0;
	margin-top: -5px;
	border: 5px solid transparent;
	border-left: 8px solid #e8340c;
}

.region .p-modal--inner .modal_btn a:hover:after {
	border-left: 5px solid #e8340c;
}

/* 中部・信越 */
.region.chubu .p-modal--inner .modal_btn a {
	background: #007ac3;
}
.region.chubu .p-modal--inner .modal_btn a:after {
	border-left: 8px solid #007ac3;
}
.region.chubu .p-modal--inner .modal_btn a:hover:after {
	border-left: 5px solid #007ac3;
}
/* 関西 */
.region.kansai .p-modal--inner .modal_btn a {
	background: #6eb92b;
}
.region.kansai .p-modal--inner .modal_btn a:after {
	border-left: 8px solid #6eb92b;
}
.region.kansai .p-modal--inner .modal_btn a:hover:after {
	border-left: 5px solid #6eb92b;
}
