@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,ol {
	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
}

/*================================================
*  一般・共通設定
================================================*/
body {
	background-color: #fff;
	font-size: 16px;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

* {
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
}

img {
	image-rendering: -webkit-optimize-contrast;
	vertical-align: top;
}

a {
	color: #111;
}

a:link {
	text-decoration: none;
}

a:visited {
	color: inherit;
}


/*-- レイアウト --*/
#wrap {
	width: 100%;
	overflow: hidden;
	margin: 0 auto;
}

.contents {
	width: 1000px;
	margin: 0 auto;
}

@media only screen and (max-width: 999px) {
	.contents {
		width: 100%;
		padding: 0 10px;
	}
}

@media only screen and (max-width: 896px) {
	.contents.no-padding {
		width: 100%;
		padding: 0;
	}
}

/*-- pc sp表示切替 --*/
.pc {
	display: block !important;
}
.sp {
	display: none !important;
}

@media only screen and (max-width: 896px) {
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}
}


/*================================================
 *  ヘッダー
 ================================================*/
/* ロゴ */
header h1 img {
	width: 17%;
	height: auto;
	margin: 0.5rem 0;
}


/*================================================
 *  フッター
 ================================================*/
footer {
	clear: both;
	padding-bottom: 30px;
	margin-top: 80px;
	font-size: 0.9rem;
}

.copyright {
	padding: 10px;
	text-align: center;
}

@media screen and (max-width:750px) {
	footer {
		margin-top: 40px;
		padding-bottom: 0;
	}
	.copyright {
		font-size: 0.7rem;
	}
}


/*================================================
 *  コンテンツエリア
 ================================================*/
 /*-- ページトップへの戻り --*/
#page-top {
	position: fixed;
	bottom: 15px;
	right: 15px;
	z-index: 1;
}

#page-top a {
	display: block;
	text-decoration: none;
}

#page-top img {
	background: #111;
}

#page-top img:hover {
	background: #222;
}


 /*----- キービジュアル -----*/
h2 {
	width: 100%;
	margin: 0 auto 1.5rem;
	text-align: center;
}

@media only screen and (max-width: 490px) {
	h2 img {
		max-width: 100%;
	}
}


 /*----- リード文 -----*/
.lead {
	text-align: center;
	margin-bottom: 1.0rem;
	font-size: 1.1rem;
	letter-spacing: 0.1rem;
}

.lead p:first-of-type {
	display: inline-block;
	position: relative;
	top: 0;
	width: 100%;
	padding: 0.5rem 1.0rem;
	margin-bottom: 1.0rem;
	color: #082c8f;
	font-size: 1.5rem;
	font-weight: bold;
}

.lead p:first-of-type::before, 
.lead p:first-of-type::after {
	display: inline-block;
	position: absolute;
	top: 0;
	content:'';
	width: 10px;
	height: 100%;
}
.lead p:first-of-type::before {
	border-left: 2px solid #082c8f;
	border-top: 2px solid #082c8f;
	border-bottom: 2px solid #082c8f;
	left: 0;
}
.lead p:first-of-type::after {
	content: '';
	border-top: 2px solid #082c8f;
	border-right: 2px solid #082c8f;
	border-bottom: 2px solid #082c8f;
	right: 0;
}

@media only screen and (max-width: 490px) {
	.lead {
		font-size: 1.0rem;
		letter-spacing: 0;
	}
	.lead p:first-of-type {
		font-size: 1.2rem;
	}
}


/*----- 教室一覧_アンカーリンク -----*/
.anchor {
	width: 1000px;
	margin: 0 auto 1.0rem;
}
.anchor ul {
	display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
	width: 100%;
}
.anchor ul li {
	width: 24%;
	margin-bottom: 0.6rem;

	display: flex;
  flex-direction: column;
}
.anchor ul li a {
	flex-grow: 1;
	display: block;
	position: relative;
	background-color: #082c8f;
	border-radius: 10px;
	box-sizing: border-box;
	text-align: center;
	padding: 0.8rem 0.2rem;
	color: #fff;
	font-weight: bold;
}
.anchor ul li.kanto a { background-color: #007ac3; }
.anchor ul li.chubu a { background-color: #dc370b; }
.anchor ul li.kinki a { background-color: #429823; }

.anchor ul li a::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1.0rem;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translateY(-2px) rotate(135deg);
	width: 9px;
	height: 9px;
	margin: auto;
	box-sizing: border-box;
}

/* オンライン講座ボタン */
.anchor ul li:last-of-type a {
	position: relative;
	background-color: #fff;
	color: #082c8f;
}
.anchor ul li:last-of-type a::before {
	content: "";
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	border: 2px solid #082c8f;
	border-radius: 10px;
	pointer-events: none; /* クリック操作の邪魔をしない */
}
.anchor ul li:last-of-type a::after {
	border-color: #082c8f;
}

/* マウスオーバー */
.anchor ul li a:hover {
	background-color: #ff0;
	color: #082c8f;
	transition: 0.4s;
}
.anchor ul li a:hover::after {
	border-color: #082c8f;
	transition: 0.4s;
}

@media only screen and (max-width: 896px) {
	.anchor {
		width: 100%;
		padding: 0 10px;
		margin-bottom: 1.0rem;
	}
	.anchor ul li {
		width: 23%;
	}
}

@media only screen and (max-width: 490px) {
	.anchor ul li {
		width: 32%;
		margin-bottom: 0.5rem;
	}
	.anchor ul li a {
		padding: 0.6rem 0.2rem;
		font-size: 0.8rem;
	}
	.anchor ul li a::after {
		position: static;
		border: 0;
	}
}


/*----- 途中受講_文言 -----*/
.caution {
	text-align: right;
}

@media only screen and (max-width: 490px) {
	.caution {
		text-align: left;
	}
}

/*----- 教室名_見出し -----*/
h3 {
	display: flex;
	align-items: center;
	background-color: #ececec;
	padding: 0.5rem 1.0rem;
	margin: 2.0rem 0 1.0rem;
	color: #082c8f;
	font-size: 1.4rem;
	font-weight: bold;
}

h3::before {
	content: '';
	display: inline-block;
	background-color: #082c8f;
	width: 7px;
	height: 2.0rem;
	margin-right: 0.8rem;
}

h3.kanto { color: #007ac3; }
h3.kanto::before { background-color: #007ac3; }
h3.chubu { color: #dc370b; }
h3.chubu::before { background-color: #dc370b; }
h3.kinki { color: #429823; }
h3.kinki::before { background-color: #429823; }



/*================================================
 *  講座カセット　グリッドレイアウト
 ================================================*/
 .cstContainer {
	display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
	width: 100%;
	margin: 0 auto;
}
.cstContainer::after {
  content:"";
  display: block;
	width: 32%;
}

.cst {
	display: flex;
	border: 1px solid #082c8f;
	border-radius: 5px;
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.2);
	width: 32%;
	height: auto;
	margin-bottom: 2rem;
	overflow: hidden;
}
.cst a,
.cst a:hover {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	width: 100%;
}
.cst a:hover {
	transition: 0.5s;
	background: #ffc;
}
@media only screen and (max-width: 896px) {
	.cst {
		width: 49%;
		margin-bottom: 1rem;
	}
}
@media only screen and (max-width: 490px) {
	.cst {
		width: 100%;
	}
}

.cst .cst_in {
	display: flex;
	width: 100%;
}


/*-- ジャンル --*/
.cst .genre {
	border-bottom: 1px solid #082c8f;
	width: 100%;
	padding: 0.2rem 0.5rem 0.1rem;
	color: #082c8f;
	font-size: 0.85rem;
}

/*-- 画像 --*/
.koza_ph {
	position: relative;
	background-color: #ececec;
	width: 100px;
	height: 135px;
}
.koza_ph img {
	object-fit: cover;
	width: 100px;
	height: 135px;
}
.koza_ph p {
	position: absolute;
	bottom: 0;
	left: 0;
	background:rgba(0,0,0,0.6);
	padding: 0.2rem;
	color: #fff;
	font-size: 0.65rem;
	line-height: 1;
}

/*-- 講座詳細 --*/
.koza_detail {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding-top: 0.5rem;
	font-size: 0.8rem;
	line-height: 1.4;
}

/* 講座名 */
.koza_title {
	padding: 0 0.5rem;
	margin-bottom: 0.3rem;
	font-size: 0.9rem;
	font-weight: bold;
}
@media only screen and (max-width: 896px) {
	.koza_title {
		height: auto;
	}
}

/* 開催日時 */
.koza_date {
	display: flex;
	align-items: stretch;
	border-top: 1px dashed #082c8f;
	padding: 0.5rem 0;
	margin: 0 0.5rem;
	margin-top: auto;
	line-height: 1.6;
}
.koza_date p {
	display: flex;
	align-items: center;
}
.koza_date p:first-of-type {
	background-color: #ffc;
	border: 1px solid #082c8f;
	padding: 0 0.5rem;
	margin-right: 0.5rem;
	color: #082c8f;
	font-weight: bold;
}

.koza_date span.close {
	color: #bbb;
}


/*-- 講師名 --*/
.name {
	background: rgb(55,49,208);
	background: linear-gradient(0deg, rgba(8,44,143,1) 0%, rgba(8,44,143,1) 100%);
	width: 100%;
	padding: 0.2rem 0.5rem;
	margin-top: auto;
	color: #fff;
	font-size: 1.0rem;
	font-weight: bold;
	line-height: 1.3;
}
.name span {
	font-size: 0.8rem;
	font-weight: normal;
}
