@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{
    margin: 0 auto 20px;
    text-align: center;
	width:100%;
}

h2 img{
 	width:100%;
	height :auto;
}

.tx_btn{
    width: 70%;
    height: 80px;
    margin: 0 auto;
    color: #fff;
    font-size: 24px;
    border-radius: 40px;
    position: relative;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#007491+1,004da0+50,007491+100 */
background: #007491; /* Old browsers */
background: -moz-linear-gradient(left, #004da0 1%, #007491 50%, #004da0 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #004da0 1%,#007491 50%,#004da0 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #004da0 1%,#007491 50%,#004da0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007491', endColorstr='#004da0',GradientType=1 ); /* IE6-9 */
    transition-duration: 0.3s;
    background-size: 200%;
    background-position:100% 0;
}

.tx_btn:hover{
    background-position:0 0;
    cursor: pointer;
}

.tx_btn p{
    width:80%;
    display: inline-block;
    line-height: 20px;
    text-align: center;
    background: url(../images/ic_btn.png) no-repeat 0 49%;
    background-size: 17px auto;
    padding-left: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    box-sizing: border-box;
    transition-duration: 0.3s;
}

.tx_btn:hover p{
    background-position:5px 49%;
}

.tx_btn a{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.tx_btn a:link, .tx_btn a:visited, .tx_btn a:hover, .tx_btn a:active { color: #fff; }


/* ---------------------------------------------------------
■ mvエリア
--------------------------------------------------------- */
#mv_area{
	width: 100%;
	margin: 0 auto;
	height: 100%;
	position: relative;
	background: url(../images/mv_bg.webp) no-repeat;
	background-size: 100% auto;
    overflow: hidden;
}

#mv_area .mv_contents{
	width: 100%;
    max-width: 1100px;
	min-height: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#mv_area .mv_tit img{
    width: 64%;
    max-width: 640px;
	height: auto;
    margin: 6% 2% 6% 0;
    float: right;
}  
#mv_area .bnr_online {
	margin: 30px 0 0;
	padding: 0 10px;
}
/* ---------------------------------------------------------
■ 公開説明会
--------------------------------------------------------- */
#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; */
}

#open img {
	max-width: 100%;
	height: auto;
}

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

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

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

#open .left{
    width: 49.9%;
    margin-left: 1%
}

#open .right{
    width: 45.8%;
    margin-right: 1%;
    text-align: center;
}

/* ---------------------------------------------------------
■ 学力向上へのこだわり
--------------------------------------------------------- */
/*共通*/
#ability {
    padding-top: 20px;
}

#ability .base{
    width: 98%;
    max-width: 1100px;
    margin: 0 auto;
}

.ability_base {
    width: 100%;
    max-width: 1010px;
    margin: 0 auto;
    padding: 20px 40px 30px;
    background: rgba(242,158,169,0.25);
    text-align: left;
    border-radius: 15px;
}

.ability_contents {
    width: 100%;
    position: relative;
}

#ability .box_wrap{
    width: 90%;
    margin: 30px auto;
    overflow: hidden;
}

#ability .box_wrap .box{
    width: 33.33%;
    float: left;
    border-right: 5px solid transparent;
    box-sizing: border-box;
}

#ability .box_wrap .box figure{
    float: left;
}

#ability .box_wrap .box img{
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

#ability .box_wrap .box .box_tx{
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

#ability .box_wrap .box .box_tx p{
    font-size: 13px;
    line-height: 16px;
}

#ability .box_wrap .box .box_tx:after{
    content: "";
    width: 100%;
    height: 300px;
    background: rgba(255,255,255,0.7);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

#ability .point{
    color: #3b67b1;
    font-weight: bold;
    padding-top: 5px;
}

/*seebe*/
#seebe{
    width: 100%;
    padding: 0 0 30px;
}

.seebe_contents{
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

#seebe .left{width: 64%;}
#seebe .left p{margin-top: 5px;}
#seebe .right{width: 34%;}
#seebe .right img{width: 100%; height: auto;}


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

#lead h3 {
	text-align: center;
}

#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;
}

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

#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 a {
	/*pointer-events: none;*/
}
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;
}

/* ---------------------------------------------------------
■ 学年
--------------------------------------------------------- */
.contents{
    width: 95%;
	max-width:960px;
	margin:0 auto;

}

#s2,#s3,#s4,#s5 {
    padding: 10px 0;
}

#s2,#s4 {
	background: #c5ebff;
    position: relative;
}

#s2:before,#s4:before {
    content: "";
	background:url(../images/bg_line_blue.png) repeat-x #fff;
	background-size: 20px 10px;
	width:100%;
	height:10px;
    position: absolute;
    top: 0;
    left: 0;
}

#s2:after,#s4:after {
    content: "";
	background:url(../images/bg_line_blue.png) repeat-x #fff;
	background-size: 20px 10px;
    transform: scale(1,-1);
	width:100%;
	height:10px;
    position: absolute;
    bottom: -10px;
    left: 0;
}

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

.s_lead .left {
	width: 65%;
}

.s_lead .left .tx{
    margin: 10px 0 0;
}

.s_lead .right{
    width: 31.25%;
    margin-top: 20px
}

.s_lead .right img{
    width: 100%;
    height: auto;
    max-width: 460px;
}

.s_lead .course{
	width:75.4%;
	margin: 30px 0 0 0;
	padding-left:20px;
	text-align:left;
	display:inline-block;
	float:left;
}

.s_lead .course img{
	width:100%;
    height: auto;
    max-width: 448px;
}

h2.tit {
    margin: 0;
	width:24.6%;
    max-width: 155px;
    height: 0;
    padding-top: 27%;
	background:url(../images/bg_ribbon.png) no-repeat;
    background-size: 100% auto;
	font-family: 'Kosugi Maru', sans-serif;
	color:#fff;
	position: relative;
	float:left;
    box-sizing: border-box;
    transform: translateY(-10px);
}

h2.tit p{
    width: 100%;
    font-size: 48px;
    line-height: 48px;
    text-align: center;
	position:  absolute;
	top: 26%;
	left: 50%;
    transform: translateX(-50%);
}

h3{
	font-family: 'Kosugi Maru', sans-serif;
	font-size: 30px;
	color:#ea5404;
	text-align:left;
}

h4{
	font-family: 'Kosugi Maru', sans-serif;
	font-size: 22px;
	color:#820701;
	text-align:left;
}
/* ---------------------------------------------------------
■ 学年の詳細
--------------------------------------------------------- */
.about {
	margin-bottom: 30px;
}

.about .left{
	width: 49%;
}

.about .right{
	width: 49%;
}

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

.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;
    border-radius: 5px;
}

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

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

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

.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{
	display: inline-block;
	background: linear-gradient(transparent 50%, yellow 50%);
	background-blend-mode: multiply;
}

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

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

/*金額*/
.hougan table.price{
    table-layout: auto;
}

.hougan table.price span.price{
    font-size: 130%;
    font-weight: bold;
}
.hougan table.price span.price.red {
	color: #D90000;
    font-size: 160%;
}
.hougan table.price tr th{
	width: 80px;
	white-space: nowrap;
}

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

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

.hougan .bnr{
    text-align: center;
    padding: 5px;
}

.hougan .bnr img{
    max-width: 425px;
}

.hougan .bnr a:hover img{
    opacity: 0.8;
}

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

#s2 .about_tx,
#s3 .about_tx{
	width: 70%;
}
/* 教室紹介 */
#map p {
	text-align: center;
	margin-bottom: 50px;
}
#map h2 {
	font-family:"Sawarabi Mincho";
	-ms-font-feature-settings: "normal";
    font-size: 30px;
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}

#map_canvas {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	height: 500px;
}

#map_canvas p {
	text-align: center!important;
}

@media screen and (max-width:767px){
	#map_canvas {
		height: 300px;
	}
}
/* ---------------------------------------------------------
■ ボタン
--------------------------------------------------------- */
.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: 94%;
	text-align: center;
	margin: 0 auto 50px;
}

.btn_area .left{
	width: 49%;
}

.btn_area .right{
	width: 49%;
}

.btn a{
	color: #fff;
	font-size: 16px;
	padding: 10px;
	-webkit-border-radius: 45px;
	-moz-border-radius: 45px;
	border-radius: 45px;
	width: auto;
	text-align: center;
	display: block;
    transition-duration: 0.3s;
	background: linear-gradient(to right, #c01e1e 0%, #E24B4B 50%, #c01e1e 100%);
    background-size: 200%;
    background-position:100% 0;
}

.btn.btnTel a {
	background-image: linear-gradient(to right, #31B7FF 0%,#82D3FF 50%,#31B7FF 100%); 
}

.btn a:hover{ 
    background-position:0 0;
}

.btn {
    position: relative;
}

.btn:after {
    content: "";
    width: 13.6px;
    height: 18.4px;
    background: url(../images/ic_btn.png);
    background-size: 100% auto;
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    transition-duration: 0.3s;
}

.btn:hover:after {
    left: 7%;
}

