@charset "utf-8";

/*
============================================================
啓明舎夏期講習コンテンツ　設定
============================================================
*/

/* ---------------------------------------------------------
■ 動く背景
--------------------------------------------------------- */
.bg_pattern{
	background: url(../images/bg_pattern_wh.png) no-repeat;
	background-size:  auto 100%;
	width: 230px;
	height: 285px;
	animation: pattern 4s linear infinite;
	display: inline-block;
	position: absolute;
	z-index: 1;
	right: 5%;
	top: 5%;
}

.bg_pattern img{
	position: absolute;
	left: 0;
	top: 80px;
	animation: pattern 4s linear infinite;
}

@keyframes pattern {
  0% { transform: translateY(0) }
  50% { transform: translateY(-10px) }
  100% { transform: translateY(0) }
}


/* ---------------------------------------------------------
■ 見出し
--------------------------------------------------------- */
h2.tit {
	width: 100%;
	height: 85px;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}

/* ---------------------------------------------------------
■ ライトボックス
--------------------------------------------------------- */

.lightbox { 
	display: none;
	margin: 0 auto;
	max-width: 700px;
	overflow: auto;
	padding: 20px;
	text-align: center;
}

/*スクロールバーの横幅指定*/
div::-webkit-scrollbar {
    width: 10px;
}
/*スクロールバーの背景色・角丸指定*/
div::-webkit-scrollbar-track {
	background: #4f9aff;
}
/*スクロールバーの色・角丸指定*/
div::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background:#8cbdff;
}

.youtube,.frame_box{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

iframe.frame{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube img{
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.youtube:before {
	position: absolute;
	content: "";
	background: rgba(0, 0, 0, 0.6);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	transition: all 0.3s;
}
.youtube:hover:before {
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
	transition: all 0.3s;
}

.youtube:after {
	position: absolute;
	content: "▶ Play";
	color: #fff;
	text-align: center;
	font-size: 160%;
	font-weight: bold;
	top: 50%;
	left: 50%;
    transform: translate(-50%,-50%);
	z-index: 11;
}

/* ---------------------------------------------------------
■ お問い合わせ
--------------------------------------------------------- */
	.sp_apply{
		display: none;
	}

/* ---------------------------------------------------------
■ トップボタンエリア
--------------------------------------------------------- */

.top_btn_area{
	width: 100%;
	margin: auto;
	padding:40px 0;
}

.top_btn_area.blue{
	background-color: #e6edff;
	margin-bottom: 55px;
	padding:50px 0;
}

.top_btn_wrap{
	max-width: 1120px;
	padding:0 20px;
	margin: auto;
}

.top_btn_wrap a{
	position: relative;
	display: inline-block;
	width:100%;
	background-color:#3152a3;
	color:#333;
	font-size: 20px;
	letter-spacing: -0.02em;
	padding:5px 0;
	border-radius: 10px;
	transition: .1s;
}
.top_btn_wrap a::after{
	content: "";
	position: absolute;
	top:43%;
	transform: translateY(-43%) rotate(45deg);
	right:15px;
	width:10px;
	height:10px;
	border-right:2px solid #333;
	border-bottom:2px solid #333;
}

.top_btn_wrap.apply a{
	width:60%;
	margin: 5px auto ;
	font-size: 25px;
	padding:8px 0;
	color:#fff;
	font-weight: 600;
	letter-spacing: 0;
	background-color:#21ade5;
	border: solid 2px #21ade5;
}

.top_btn_wrap.apply a::after{
	top:50%;
	transform: translateY(-50%) rotate(-45deg);
	border-right:2px solid #fff;
	border-bottom:2px solid #fff;
}

.top_btn_wrap.fst{
	margin-bottom: 20px;
}

.top_btn_wrap.fst a{
	width: calc((96% - 12px) / 3);
	margin:5px 1%;
	padding: 16px 0 14px;
	background-color:#fff;
	border: #fff solid 2px;
	filter: drop-shadow(2px 2px 5px rgba(0,0,0,.2));
}
.top_btn_wrap.scd .tit{
	font-size: 28px;
  color: #002B69;
  text-align: center;
  font-weight: 600;
}
.top_btn_wrap.scd a{
	width: calc((92% - 20px) / 5);
	border: 2px solid rgba(255, 238, 0,1);
	margin:5px 1%;
	background-color:rgba(255, 238, 0,1);
}

.top_btn_wrap a.start{
	margin-left: 0;
}
.top_btn_wrap a.last{
	margin-right: 0;
}

@media screen and (min-width:521px) {

	.top_btn_wrap.fst a:hover,
	.top_btn_wrap.scd a:hover{
		background-color:rgba(255,255,255,0);
		filter: drop-shadow(2px 2px 5px rgba(0,0,0,0));
		color:#333;
		transition: .1s;
	}
	.top_btn_wrap.apply a:hover{
		color:#21ade5;
		background-color:rgba(255,255,255,0);
	}
	.top_btn_wrap.fst a:hover,
	.top_btn_wrap.scd a:hover{
		border: 2px solid #333;
	}
	
	.top_btn_wrap.fst a:hover::after,
	.top_btn_wrap.scd a:hover::after{
		border-right:2px solid #333;
		border-bottom:2px solid #333;
	}
	.top_btn_wrap.apply a:hover::after{
		border-right:2px solid #21ade5;
		border-bottom:2px solid #21ade5;
	}
}


/* ---------------------------------------------------------
■ 公開説明会
--------------------------------------------------------- */
#mv_area .mv_contents{
	width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

#logo.textlogo{
	padding:50px 0 0;
	box-sizing: border-box;
}
#logo.textlogo img{
	float:none;
	width:90%;
}

.onlineclass a{
 display: block;
 width: 100%;
 max-width: 900px;
 margin: auto;
}
.onlineclass a:hover{
  display: block;
}
.onlineclass a:active{
  display: block;
}

#open {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 5%;
    background: #fff;
    border: 1px solid #fff;
    box-sizing: border-box;
    position: relative;
    padding: 2.4% 0 0; 
    overflow: hidden;
}

#open:before {
    content: "";
    width: 100%;
    height: 12%;
    background: url(../images/bg_blue.png);
    position: absolute;
    top: 0;
    left: 0;
}

#open:after {
    content: "";
    width: 100%;
    height: 5%;
    background: url(../images/bg_blue.png);
    position: absolute;
    left: 0;
    bottom: -5%;
}

#open .layout_box{
    position: relative;
    z-index: 1;
}

#open .left{
    width: 49.0%;
    margin-left: 1.5%;
    float: left;
}

#open .open_tx .left img{
    margin-top: 1%;
    width: 100%;
}

#open .right{
    width: 45.4%;
    margin-right: 1.5%;
    text-align: center;
    float: right;
}

/*#open .open_tx .right img:first-child{
    transform: translateX(-20px);
}*/
#open .open_tx .right img {
    margin: 4% auto 0;
    width: 100%;
    float: left;
}

/*#open .open_tx .right img:last-child{
    margin: 4% auto 0;
    width: 505px;
    float: left;
}*/

.note{
  max-width: 820px;
  margin: auto;
  font-size: 135%;
}
.note span{
  font-weight: 600;
  color:#FF0004;
}


/* ---------------------------------------------------------
■ 上部バナーエリア
--------------------------------------------------------- */

.banner_area-top{
	margin: 25px auto 15px;
	width: 90%;
	max-width: 900px;
}
.banner_area-top img{
	width:100%;
	height:auto;
}

/* ---------------------------------------------------------
■ リード
--------------------------------------------------------- */
#lead {
	width: 100%;
	background: url(../images/bg_wave_down.png) repeat-x #aaceff top;
	position: relative;
}

#lead .bg_pattern{
	left: 5%;
	top: 5%;
}

#lead .bg_pattern_btm{
	left: inherit;
	top: inherit;
	right: 5%;
	bottom: 0;
}

#lead .tx{
	width: 1000px;
	margin: 0 auto;
	padding: 20px 0;
	position: relative;
	z-index: 3;
}

#lead .tx .left{
	width: 730px;
	float: left;
}

#lead .tx .right{
	width: 230px;
	float: right;
	padding: 50px 0 0;
}


/* ---------------------------------------------------------
■ リード(2025追加分)
--------------------------------------------------------- */
.lead_banner_area img{width:100%;transition:.2s;}
.lead_banner_area a{}
.lead_banner_area{
	margin:0 auto;
	padding:40px 0 0;
	max-width:1000px;
	position:relative;
	display:flex;
	flex-wrap: wrap;
	z-index:5;
}
.lead_banner-oricon{
	padding:20px;
	margin-bottom:25px;
}
.lead_banner-ambassador{
	margin: auto;
	width:80%;
	padding-left:13%;
	padding-right:20px;
}


/* ---------------------------------------------------------
■ 教師紹介
--------------------------------------------------------- */

#teacher_area{
	width:1000px;
	overflow:hidden;
	max-width:100%;
	margin:0 auto 50px;
	position: relative;
	z-index: 2;
}

.topcs{
	padding:0 2% 2%;
	margin: 0 auto;
	overflow:hidden;
	text-align:center;
	position: relative;
	z-index: 2;
}

#teacher_area h2{
	margin: 0 auto;
}

ul.teacher-slider{
	clear:both;
}
ul.teacher-slider li{
	float:left;
	margin:0 0 3px;
	width: 20%;
}

ul.teacher-slider li img{
	width: 100%;
	height: auto;
}

ul.teacher-slider li a:hover img{
	-webkit-transform: rotate(-2deg);
	-moz-transform: rotate(-2deg);
	-ms-transform: rotate(-2deg);
	-o-transform: rotate(-2deg);
	transform: rotate(-2deg);
	opacity: 1;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	overflow:hidden;
	cursor: pointer;
}

/* ---------------------------------------------------------
■ 夏期講習タイトル
--------------------------------------------------------- */
.summer {
	width: 100%;
	background: url(../images/bg_wave_up.png) repeat-x top;
	margin: -13px auto 0;
	position: relative;
	z-index: 100;
	text-align:center;
}

.summer .contents{
	width: 1000px;
	margin: 0 auto;
}

.summer ul li{
	float:left;
}

.summer ul li a:hover img{
	opacity: 1;
}


/* ---------------------------------------------------------
■ 学年
--------------------------------------------------------- */
#s2 {
	position: relative;
	padding:40px 0 0;
}

#s2 h2.tit {
	background: url(../images/s2_tit.png) no-repeat center 0;
}

#s2 .bg_pattern{
	background: url(../images/bg_pattern_bl.png) no-repeat;
	left: 5%;
	top: 5%;
}

#s3 {
	background: #d1f3e6 url(../images/bg_wave_down.png) repeat-x top;
	position: relative;
	margin: 30px auto 0;
	padding: 50px 0;
}

#s3 h2.tit {
	background: url(../images/s3_tit.png) no-repeat center 0;
}

#s4 {
	background:url(../images/bg_wave_up.png) repeat-x top;
	position: relative;
	margin: -13px auto 0;
	padding: 50px 0 30px;
}

#s4 h2.tit {
	background: url(../images/s4_tit.png) no-repeat center 0;
}

#s4 .bg_pattern{
	background: url(../images/bg_pattern_bl.png) no-repeat;
	left: 5%;
	top: 5%;
}

#s5 {
	background: #edf8b0 url(../images/bg_wave_down.png) repeat-x top;
	position: relative;
	margin: 0 auto;
	padding: 50px 0;
}

#s5 h2.tit {
	background: url(../images/s5_tit.png) no-repeat center 0;
}

#s6 {
	background: url(../images/bg_wave_up.png) repeat-x top;
	position: relative;
	margin: -13px auto 0;
	padding: 50px 0;
}

#s6 h2.tit {
	background: url(../images/s6_tit.png) no-repeat center 0;
}

#s6 .bg_pattern{
	background: url(../images/bg_pattern_bl.png) no-repeat;
	left: 5%;
	top: 5%;
}

/* ---------------------------------------------------------
■ 学年のリード
--------------------------------------------------------- */
.s_lead {
	margin: 30px 0;
}

.s_lead .left {
	width: 540px;
	float: left;
	margin: 10px 0 0 0;
	position: relative;
}

.s_lead .left .teacher{
	width: 90px;
	height: 100%;
	background:url(../images/bg_com.png) no-repeat right 10%;
	float: left;
	position: absolute;
	top: 0;
	left: 0;
}

.s_lead .left .teacher img{
	position: absolute;
	left: 0;
	bottom: 0;
}

.s_lead .left .tx{
	width: 450px;
	float: right;
}

.s_lead .left .tx p{
	padding: 0 20px;
}

.s_lead .right {
	width: 360px;
	float: right;
	height: auto;
}

/* ---------------------------------------------------------
■ 学年の詳細
--------------------------------------------------------- */
.about {
	margin-bottom: 30px;
}

.about .left{
	width: 440px;
	float: left;
}

.about .right{
	width: 440px;
	float: right;
}

.about table{
	width: 100%;
	border-collapse: separate;
	border-spacing: 4px;
}

.about table tr td{
	background-color: #f0f8ff;
	padding: 10px;
	text-align: left;
	vertical-align: top;
}

.about table thead tr th{
	background-color: #001f6b;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	padding: 10px;
	color: #fff;
}

.about table tr th{
	white-space: nowrap;
	background-color: #cddbfd;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
}

.hougan{
	background: url(../images/bg_hougan.jpg);
	border: 4px solid #fff;
	box-sizing: border-box;
}

.hougan table{
	width: 100%;
	border-collapse: separate;
	border-spacing: 4px;
	box-sizing: border-box;
}

.hougan table tr th{
	background: none;
	color: #333;
	padding: 5px;
	text-align: left;
	font-weight: bold;
	font-size: 18px;
	box-sizing: border-box;
}

.hougan table tr th.th_kamoku{
	background: #d8edeb;
	font-size: 14px;
	color: #000;
	text-align: center;
	padding: 3px;
}

.hougan table tr th span{
	background: linear-gradient(transparent 50%, yellow 50%);
	background-blend-mode: multiply;
}

.hougan table tr td{
	background: #fff;
	padding: 5px;
	vertical-align: top;
	font-size: 12px;
	box-sizing: border-box;
}

.hougan table tr td ul li{
	background: url(../images/bg_list.png) no-repeat 0 2px;
	padding-left: 14px;
}

.hougan table tr td.bnr{
	width: 50%;
}

.hougan table tr td.bnr p{
	text-align: right;
}

/*金額*/
.hougan table.price{
}

.hougan table.price tr th{
	width: 60px;
	white-space: nowrap;
}

.hougan table.price tr td{
	background: none;
	vertical-align: middle;
	font-size: 14px;
}

#s4 .hougan table.price tr td,#s5 .hougan table.price tr td,#s6 .hougan table.price tr td{
    white-space: nowrap;
}

.hougan table.price tr td.souki{
	width: 100%;
}

.about_tx {
	width: 100%;
	margin: 0 auto 30px;
}

#s3 .about_tx,#s6 .about_tx{
	width: 80%;
}

/*KMビジョン*/
.btn_km{
	width: 100%;
    margin: 10px 0 5px;
}

.btn_km img{
	width: 95%;
    height: auto;
    max-width: 600px;
}

/* ---------------------------------------------------------
■ ボタン
--------------------------------------------------------- */
.btn_area a:link { color: #fff; text-decoration: none; }
.btn_area a:visited { color: #fff; text-decoration: none; }
.btn_area a:hover   { color: #fff; text-decoration: none;}
.btn_area a:active  { color: #fff; text-decoration: none; }

.btn_area {
	width: 900px;
	text-align: center;
}

.btn_area .left{
	width: 440px;
	float: left;
}

.btn_area .right{
	width: 440px;
	float: right;
}

.btn a{
	color: #fff;
	font-size: 16px;
	padding: 10px;
	-webkit-border-radius: 45px;
	-moz-border-radius: 45px;
	border-radius: 45px;
	background: #fbb03b;
	width: auto;
	text-align: center;
	display: block;
}

.btn a:hover{ 
	-webkit-transform: translate(0,1px);
	-moz-transform: translate(0,1px);
	-ms-transform: translate(0,1px);
	-o-transform: translate(0,1px);
	transform: translate(0,1px);
	background: #ff9b00;
}

