@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}

/*================================================
*  一般・共通設定
================================================*/
body {
	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%;
	background-color: #f08437;

* {
	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; }

strong {
	font-weight: bold;
}

/*-- レイアウト --*/
#wrap {
	width: 100%;
	margin: 0 auto;
}
.contents {
	width: 1000px;
	margin: 0 auto;
	background-color: #fff;
}

@media only screen and (max-width: 999px) {
	.contents {
		width: 100%;
		padding: 0 10px;
	}
}

/*-- 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; } 
}

.pc480 { display: block !important; }
.sp480 { display: none !important; }
@media only screen and (max-width: 480px) {
	.pc480 { display: none !important; }
	.sp480 { display: block !important; }
}



/*================================================
 *  ヘッダー
 ================================================*/
/* ロゴ */
header h1 {
	margin: 0 auto;
	text-align: center;
}
	
header h1 img {
	width: 17%;
	height: auto;
	margin: 0.5rem auto;
	z-index: 1000;
}

header h2{
	margin: 0 auto;
	text-align: center;
	margin-top:-40px;
	z-index: -1000;
}
@media only screen and (max-width: 896px) {
	header h2 {
		margin: 0 auto 0.5rem;
		min-height: auto;
	}
	header h2 img{
		width: 100%;
	}
}

	
/*================================================
 *  コンテンツ
 ================================================*/

section > p {
	text-align: center;
}

section .cap {
	margin-top: -3.5rem;
}


section .box {
	background-color: #fff;
	border-radius: 10px;
	padding-bottom: 1.0rem;
}


@media only screen and (max-width: 480px) {
    section .cap img{
        width: 100%;
        margin-top: 0;
    }
}


/*----- キャンペーン共通　文字赤 -----*/
.red{
    color: #cF0000;
}

/*----- お友達紹介キャンペーン -----*/
#cp1 {
	margin-top: 3.5rem;
}

#cp1 .box {
	position: relative;
	text-align: center;

}

#cp1 .box .cap {
	position: absolute;
	top: -3.5rem;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
}
#cp1 .cp1date {
    font-size: 1.3rem;
    font-weight: bold;
    margin: -4rem 1rem 1rem;
}


@media only screen and (max-width: 480px) { 
    #cp1 .box .cap {
        width:90%;
        margin: 2rem 0 -2rem;
    }
    #cp1 .cp1date {
        font-size: 0.8rem;
        font-weight: bold;
        margin: -2rem 1rem 1rem;
    }
}

.friend_cp {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 95%;
	margin: 10px auto 20px;
}

.cp_join > p {
	text-align: center;
}

.cp_join ol {
	margin: 0 50px;
}
.cp_join ol li {
	list-style-type: none;
	display: flex;
	align-items: center;
	margin-top: 1.0rem;
	background-color: #6eb92b;
	border-radius: 10px;
	padding: 0 0.5rem;
}
.cp_join ol li:nth-of-type(2) {
	background-color: #e94620;
}
.cp_join ol li:nth-of-type(3) {
	background-color: #f07f34;
}
.cp_join ol li:nth-of-type(4) {
	background-color: #007ac3;
}

.cp_join ol li div:nth-of-type(2) {
	margin: 0 2.0rem;
}

.cp_join ol li dl {
	flex: 1;
	padding: 1.0rem 0;
	color: #fff;
	text-align: left;
}

.cp_join ol li dt {
	font-size: 1.5rem;
	font-weight: bold;
}

.cp_join ol li dt span {
	display: block;
	float: right;
	margin-right: 0.5rem;
}

.cp_join ol li dt span a {
	display: block;
	position: relative;
	background-color: #FFECDC;
	border-radius: 5px;
	padding: 0.2rem 2.0rem 0.2rem 1.0rem;
	color: #105f96;
	font-size: 0.9rem;
	font-weight: bold;
}
.cp_join ol li dt span a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.7rem;
	transform: translateY(-50%);
	clip-path: polygon(0 0, 0 100%, 100% 50%);
	background-color: #105f96;
  width: 10px;
  height: 12px;
}
.cp_join ol li dt span a:hover {
	transition: 0.4s;
	background-color: #105f96;
	color: #fff;
}
.cp_join ol li dt span a:hover::after {
	transition: 0.4s;
	background-color: #fff;
}

.cp_join ol li .last {
	padding-right: 1.0rem;
	margin-left: auto;
}
.cp_join ol li .last.step4 {
	margin-top: auto;
	padding-right: 2.0rem;
}
	
.cp_join ol li .subText {
	font-size: 75.5%;
	vertical-align: bottom;
	position: relative;
	top: -0.1rem;
}
	
	
	
@media only screen and (max-width: 768px) {
    #cp1 .box h3 img{
        padding-top: 0;
        margin-top: -1rem;
        width:80%;
    }
    .friend_cp {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 95%;
        margin: 10px 0 20px 20px;
    }
    .friend_cp img {
        width: 90%;
    }
}
@media only screen and (max-width: 480px) {

    .friend_cp {
        display: flex;
        justify-content: center;
        align-items: center;
		flex-direction:column;
        width: 100%;
        margin: 10px 0;
    }
    .friend_cp img {
        width: 80%;
    }
    .friend_cp_ureshi {
        display: flex;
        justify-content: space-between;
        width: 95%;
        padding: 10px;
    }
    .friend_cp_ureshi p img{
		width:80%;
    }
    .cp_join p img {
        width:80%;
    }
    .cp_join ol {
        margin: 0 20px;
    }
    .cp_join ol li {
        list-style-type: none;
        display: block;
        text-align: center;
    }
    .cp_join ol li img{
        padding-top: 0.5rem;
    }

    .cp_join ol li dl {
        display: block;
        flex: 1;
        padding: 1.0rem 0;
        color: #fff;
    }

    .cp_join ol li dt {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .cp_join ol li dt span {
        display: block;
        float: none;
        margin-right: 0.2rem;
    }

    .cp_join ol li dt span a {
        display: block;
        position: relative;
        background-color: #ffeef7;
        border-radius: 5px;
        padding: 0.3rem 1.2rem 0.2rem 0.3rem;
        color: #105f96;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .cp_join ol li dt span a::after {
        right: 0.5rem;
        width: 10px;
        height: 12px;
    }

    .cp_join ol li dd {
        text-align: left;
        font-size: 1rem;
    }

    .cp_join ol li .last {
        padding-right: 0;
        margin: -3rem auto 0 0;
        text-align: right;
    }
    .cp_join ol li .last.step4 {
        margin-top: -2rem;
		padding-right: 7.0rem;
    }
}

/*----- キャンペーン参加にあたって -----*/
.cp_ex {
	margin: 70px 50px 0;
    text-align: left;
}

.cp_ex > p {
	background-color: #ffd4c7;
	padding: 0.2rem 1.0rem 0.1rem;
	margin-bottom: 0.5rem;
}

.cp_ex ul {
	margin:  0 1.0rem 2.0rem 2.0rem;
}

.cp_ex li {
	margin-bottom: 0.3rem;
	font-size: 0.9rem;
}
.cp_ex li::before {
	content: "〇";
	text-indent: 1.0rem;
	margin-left: -1.0rem;
}

.cp_ex li span {
	color: #ff6633;
}

.cp_ex a {
	color: #ff6633;
}
	
.cp_ex .subText {
	font-size: 75.5%;
	vertical-align: bottom;
	position: relative;
	top: -0.1rem;
	color: #000;
}
.cp_ex .subText02 {
	font-size: 75.5%;
	vertical-align: bottom;
	position: relative;
}
	
.cp_ex .subTextInfo {
	text-align: right;
	background-color: #fff;
	margin: 0;
	font-size: 0.8rem;
	color: #333;
}
	

@media only screen and (max-width: 480px) {
    .cp_ex {
        margin: 50px 20px 0;
    }
    .cp_ex li {
        margin-bottom: 0.3rem;
        font-size: 0.8rem;
    }
}



/*================================================
 *  フッター
 ================================================*/
 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;
}


/*================================================
 *  mapページ
 ================================================*/

/*  ヘッダーセンター　*/
.mapTitle{
    text-align: center;
}
@media only screen and (max-width: 480px) {
    .mapTitle img{
        width:90%;
    }
    }
    
/*  教室リスト　*/
.school-list {
	margin-bottom: 7rem;
}
@media only screen and (max-width: 750px) {
	.school-list {
		margin-bottom: 4rem;
	}
}

/*-- エリア名 --*/
 .school-list h2 {
	display: flex;
	align-items: center;
	margin: 2rem 1rem;
	font-size: 1.7rem;
	font-weight: bold;
}
.school-list h2:before,
.school-list h2:after {
	content: "";
	height: 2px;
	flex-grow: 1;
}
.school-list h2:before {
	margin-right: 1rem;
}
.school-list h2:after {
	margin-left: 1rem;
}
@media only screen and (max-width: 750px) {
	.school-list h2 {
		font-size: 1.4rem;
	}
}

/* 北海道・東北 */
#area1.school-list h2 { color: #70abc4; }
#area1.school-list h2:before,
#area1.school-list h2:after { background-color: #70abc4; }

/* 関東 */
#area2.school-list h2 { color: #5ecc92; }
#area2.school-list h2:before,
#area2.school-list h2:after { background-color: #5ecc92; }

/* 中部・信越 */
#area3.school-list h2 { color: #a8c14c; }
#area3.school-list h2:before,
#area3.school-list h2:after { background-color: #a8c14c; }

/* 近畿 */
#area4.school-list h2 { color: #bc9fdd; }
#area4.school-list h2:before,
#area4.school-list h2:after { background-color: #bc9fdd; }

/* 中国 */
#area5.school-list h2 { color: #e25033; }
#area5.school-list h2:before,
#area5.school-list h2:after { background-color: #e25033; }

/* 四国 */
#area6.school-list h2 { color: #ff9906; }
#area6.school-list h2:before,
#area6.school-list h2:after { background-color: #ff9906; }

/* 九州 */
#area7.school-list h2 { color: #ee807f; }
#area7.school-list h2:before,
#area7.school-list h2:after { background-color: #ee807f; }


/*-- 教室詳細 --*/
.sl-in {
	display: flex;
	width: 95%;
	border-bottom: 1px solid #ccc;
	margin: 3rem auto;
	padding-bottom: 3rem;
}
.sl-in:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}
.sl-in dl {
	width: 65%;
	margin-right: 5%;
}
.sl-in dt {
	margin-bottom: 0.5rem;
}
.sl-in dt a {
	position: relative;
	line-height: 1em;
	padding-left: 1.5em;
	color: #1073b6;
	font-size: 1.3rem;
	font-weight: bold;
	transition: all 0.3s ease 0s;
}
.sl-in dt a:hover {
	background-color: #ff0;
}
.sl-in dt a::before {
	position: absolute;
	left: 0;
	content: "";
	display: inline-block;
	width: 1.3rem;
	height: 1.3rem;
	background: url("../images/arrow2.png") no-repeat center;
	background-size: contain;
}
.sl-in dd p {
	margin-top: 1rem;
}
.sl-in dd p a {
	display: inline-block;
	width: 100%;
	border: 1px solid #1073b6;
	background-color: #1073b6;
	border-radius: 5px;
	padding: 0.3rem 1.5rem;
	text-align: center;
	color: #fff;
	font-size: 1.1rem;
	letter-spacing: 0.1rem;
	font-weight: bold;
	transition: all 0.3s ease 0s;
}
.sl-in dd p a:hover {
	border: 1px solid #1073b6;
	background-color: #fff;
	color: #1073b6;
}
.sl-in .gmap {
	width: 90%;
	height: 0;
	overflow: hidden;
	padding-bottom: 20%;
	position: relative;
}
.sl-in .gmap iframe {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

@media only screen and (max-width: 750px) {
	.sl-in {
		display: block;
		margin-bottom: 2rem;
		padding-bottom: 2rem;
	}
	.sl-in dl {
		width: 100%;
		margin-bottom: 1rem;
	}
	.sl-in dd p a {
		padding: 0.5rem 1.5rem;
		font-size: 1.0rem;
	}
	.sl-in .gmap {
		width: 100%;
		margin: 0 auto;
		padding-bottom: 56.25%;
	}
	.sl-in .gmap img {
		width: 100%;
	}
}







