@charset "UTF-8";
/*
============================================================
啓明舎冬期講習コンテンツ　設定
============================================================
*/

/* ---------------------------------------------------------
■ 共通パーツ
--------------------------------------------------------- */
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.png) no-repeat;
	background-size: 100% auto;
    overflow: hidden;
}

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

#mv_area .mv_tit img{
    width: 49%;
    max-width: 560px;
    margin: 4% 2% 1% 0;
    float: right;
}  

/* ---------------------------------------------------------
■ 公開説明会
--------------------------------------------------------- */
#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: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.5%
}

#open .open_tx .left img:last-child{
    margin-top: 1%;
}

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

#open .open_tx .right img:first-child{
    transform: translateX(-20px);
}

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

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

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

.ability_base {
    width: 100%;
    max-width: 1100px;
    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;}


/* ---------------------------------------------------------
■ 教師へのこだわり
--------------------------------------------------------- */
#teacher {
    width: 98%;
    margin: 0 auto;
    position: relative;
}

#teacher h2{
	width:95%;
	margin-bottom:0;
}

.teacher_contents {
    background: rgba(242,158,169,0.25);
    border-radius: 15px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 50px;
	padding: 30px 0;
}

#teacher ul{
    width: 90%;
    margin: auto;
    margin-top: 30px;
}

#teacher ul li{
    width: 19.6%;
    float: left;
    margin: 0 0.5% 0.5% 0;
    position: relative;
    overflow: hidden;
}

#teacher ul li:nth-child(5n){
	margin-right: 0;
}

#teacher ul li img{
    width: 100%;
    height: auto;
    float: left;
}

#teacher ul li:hover img{
    transform: scale(1.1);
    transition-duration: 0.3s;
    cursor: pointer;
}

#teacher ul li .tx{
    width: 100%;
    height: auto;
    padding: 3px 5px 0;
    background: rgba(0,14,72,0.75);
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    text-align: left;
    pointer-events: none;
}

#teacher ul li .tx .name{
    font-size: 19px;
}

#teacher ul li .tx .more{
    font-size: 16px;
    position: absolute;
    right: 15px;
    bottom: 0;
}

#teacher ul li .tx .more:after{
    content: "more";
    background: url(../images/ic_btn.png) no-repeat right 50%;
    background-size: auto 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

#teacher ul li .tx span{
    width: 45px;
    height: 18px;
    display: inline-block;
    border-radius: 9px;
    color: #000;
    font-size: 13px;
    line-height: 14px;
    position: relative;
    margin-right:2px;
}

#teacher ul li .tx span:after{
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-45%);
}

#teacher ul li .tx span.mth{background: #add1ea;}
#teacher ul li .tx span.mth:after{content: "算数";}

#teacher ul li .tx span.sci{background: #ffea5c;}
#teacher ul li .tx span.sci:after{content: "理科";}

#teacher ul li .tx span.jpn{background: #f9cbb5;}
#teacher ul li .tx span.jpn:after{content: "国語";}

#teacher ul li .tx span.sct{background: #d2f0ae;}
#teacher ul li .tx span.sct:after{content: "社会";}


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

}

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

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

#s2:before,#s4:before {
    content: "";
	background:url(../images/bg_line_ye.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_ye.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;
}

.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{
	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{
}

.hougan table.price span.price{
    font-size: 150%;
    font-weight: bold;
}

.hougan table.price tr th{
	width: 60px;
	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;
}

#s3 .about_tx{
	width: 70%;
}

/* ---------------------------------------------------------
■ ボタン
--------------------------------------------------------- */
.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;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f17852+0,ff906d+50,f17852+100 */
background: rgb(241,120,82); /* Old browsers */
background: -moz-linear-gradient(left, rgba(241,120,82,1) 0%, rgba(255,144,109,1) 50%, rgba(241,120,82,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, rgba(241,120,82,1) 0%,rgba(255,144,109,1) 50%,rgba(241,120,82,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, rgba(241,120,82,1) 0%,rgba(255,144,109,1) 50%,rgba(241,120,82,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f17852', endColorstr='#f17852',GradientType=1 ); /* IE6-9 */
    background-size: 200%;
    background-position:100% 0;
}

.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%;
}


.btn.tel:after{
	content: none;
}
.btn.tel a{
	pointer-events: none;
}
.btn.tel a:hover{
	background-position:100% 0;
}


/* ---------------------------------------------------------
■ Youtube　area
--------------------------------------------------------- */
#nagashima_yt{
	width: 700px;
}

