@charset "utf-8";
@import url("//fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic");
@import url("//fonts.googleapis.com/earlyaccess/notosansjapanese.css");

/*
Theme Name: 8x9
Theme URI:https://8x9.jp/
Description:8x9様ウェブサイト
Author:8x9
Author URI:https://8x9.jp/
Version:2017.01
*/

/* base
-------------------------------- */
html {
	font-size: 62.5%;
}

body{
	font-family: "Open Sans", "Noto Sans Japanese", sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.75;
	color: #666;
}

h1 {
}

h2 {
}

h3 {
}

h4 {
}

h5 {
}

address {
	font-style: normal;
}

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

/* Link
-------------------------------- */

a {
	text-decoration:none;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}

a:hover {
}

a img {
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}

a:hover img {
	opacity:0.6;
	filter:alpha(opacity=60);
	-ms-filter: "alpha( opacity=60 )";
}

/* 外部リンクアイコンを非表示 */
/*a[target=_blank]:after {
	content: " \f08e";
	font-family: FontAwesome;
}

.single-item a[target=_blank]:after {
	content: "";
}

a.noicon[target=_blank]:after {
	content: "";
}
*/
a[href$=".pdf"]:after{
	content: " \f1c1";
	font-family: FontAwesome;
	margin-right: 1em;
	color: red;
}

/* layout
-------------------------------- */
main#main {
	width: 100%;
	margin: auto;
	background:#fff;
}

.wrapper {
	width: 1024px;
	margin: auto;
	overflow: hidden;
	margin-top: 60px;
}

.bold {
	font-weight: bold;
}

.center {
	width: 100%;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

#top {
	padding-top: 170px;
}

#fixedBox {
	width: 100%;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background: #fff;
	-moz-transition: height 0.3s;
	-o-transition: height 0.3s;
	-webkit-transition: height 0.3s;
	transition: height 0.3s;
}

header#header.smaller {
	height: 80px;
	-moz-transition: height 0.3s;
	-o-transition: height 0.3s;
	-webkit-transition: height 0.3s;
	transition: height 0.3s;
}

header#header.smaller h1 {
	margin: 4px 0;
	-moz-transition: height 0.3s;
	-o-transition: height 0.3s;
	-webkit-transition: height 0.3s;
	transition: height 0.3s;
}

header#header.smaller img {
	height: 60%;
	-moz-transition: height 0.3s;
	-o-transition: height 0.3s;
	-webkit-transition: height 0.3s;
	transition: height 0.3s;
}


/* color
-------------------------------- */
.icon_spinner { 
	color:#ffbb00;
	text-shadow:0 1px 0 rgba(255,255,255,1),0 -1px 0 rgba(0,0,0,0.4);
}


/* header
-------------------------------- */
header#header {
	width: 1024px;
	height: 100px;
	margin: 0 auto;
	position: relative;
	background: #fff;
	-moz-transition: height 0.3s;
	-o-transition: height 0.3s;
	-webkit-transition: height 0.3s;
	transition: height 0.3s;
}

header#header h1 {}

header#header ul#header_nav {
	position: absolute;
	list-style: none;
	top: 20px;
	left: 160px;
}

header#header ul#header_nav li {
	display: table-cell;
	padding: 0 24px 0 0;
	line-height: 16px;
	font-size: 14px;
	font-size: 1.4rem;
}

header#header ul#header_nav li a {
	color: #333;
	transition: .3s;
}

header#header ul#header_nav li a:hover {
	color: #2f8fbc;
}

header#header div#header_tel {
	position: absolute;
	top: 0;
	right: 80px;
}

header#header ul#header_social {
	position: absolute;
	list-style: none;
	top: 10px;
	right: 0;
}

header#header ul#header_social li {
	display: table-cell;
	padding: 0 0 0 16px;
}

header#header ul#header_social li.fb_btn a {
	border: 2px solid #27579c;
	background: #27579c;
	color: #fff;
	display: block;
	border-radius: 50%;
	width: 32px;
	text-align: center;
}

header#header ul#header_social li.fb_btn a:hover {
	background: #fff;
	color: #27579c;
}


header#header ul#header_social li.tw_btn a {
	border: 2px solid #2ca7e0;
	background: #2ca7e0;
	color: #fff;
	display: block;
	border-radius: 50%;
	width: 32px;
	text-align: center;
}

header#header ul#header_social li.tw_btn a:hover {
	background: #fff;
	color: #2ca7e0;
}

/* nav */
nav#nav {
	background: #edec72;
	width: 100%;
}

nav#nav ul#global_nav {
	list-style: none;
	width: 1024px;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
}

nav#nav ul#global_nav li {
	float: left;
}

nav#nav ul#global_nav li a {
	color: #fff;
	width: 100%;
	line-height: 1.2;
  	height: 50px;	
	text-align: center;
	display: inline-block;
	-webkit-perspective: 1000px;
	perspective: 1000px;
	-webkit-perspective-origin: 50% 50%;
	perspective-origin: 50% 50%;
/* 	vertical-align: bottom; */
	overflow: hidden;
	position: relative;
	top: 18px;
}
nav#nav ul#global_nav li a span {
	display: inline-block;
	position: relative;
	transition: .4s;
	-webkit-transform-origin: 50% 0%;
	transform-origin: 50% 0%;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

nav#nav ul#global_nav li a span:after {
	display: inline-block;
	position: absolute;
	text-align: center;
	width: 100%;
	left: 0;
	top: 0;
	content: attr(data-text);
	color: #fff;
	-webkit-transform-origin: 50% 0%;
	transform-origin: 50% 0%;
	-webkit-transform: translate3d(0, 105%, 0) rotateX(-90deg);
	transform: translate3d(0, 105%, 0) rotateX(-90deg);
}

nav#nav ul#global_nav li a:hover span {
	-webkit-transform: translate3d(0, 0, -30px) rotateX(90deg);
	transform: translate3d(0, 0, -30px) rotateX(90deg);
}

nav#nav ul#global_nav>li:first-child {
  background: #26b0d1;
  width:156.8px;
}

nav#nav ul#global_nav>li:first-child+li {
  background: #C3A73B;
  width: 240px;
}

nav#nav ul#global_nav>li:first-child+li+li {
  background: #f78c98;
  width: 156.8px;
}

nav#nav ul#global_nav>li:first-child+li+li+li {
  background: #76c694;
  width: 156.8px;
}

nav#nav ul#global_nav>li:first-child+li+li+li+li {
  background: #887EC1;
  width: 156.8px;
}

nav#nav ul#global_nav>li:first-child+li+li+li+li+li {
  background: #FD8B46;
  width: 156.8px;
}
 nav#nav ul#global_nav>li:first-child+li a{
	top: 8px;	
}
nav#nav ul#global_nav li a:hover span.providing {
  position: relative; top: 12px;
}
nav#nav ul#global_nav li a span.providing:after{
  background-color:#C3A73B ;
}

/* side dock
-------------------------------- */
#side-dock {
	display:block;
	list-style:none;
	margin: 0 0 0 0;
	width: 120px;
	position: fixed; 
	bottom: 60px;
	right: 40px; 
	z-index: 99998;
/* 	opacity: 0.8; */
	text-decoration: none;
	overflow: hidden;	
}  

#side-dock li {
	padding: 0 0 20px 0;
	margin: 0 auto;
	text-align: center;
	width: 120px;
}  
  
/*
#side-dock li a img:hover {
	margin: 0 0 0px -80px;
}
*/

#side-dock li#totop a {
	display: block;
	width: 80px;
	line-height: 80px;
	text-align: center;
	border-radius: 50%;
	background: #2f8fbc;
	color: #fff;
	font-size: 32px;
	font-size: 3.2rem;
	margin: 0 auto;
}


/* sidebar
-------------------------------- */
section.sidebar {
	width: 280px;
	float: left;
	margin-left: 24px;
}

section.sidebar form {
	background: #6dba44;
	padding: 10px;
	margin-bottom: 40px;
}

section.sidebar form div {
	width: 250px;
	margin: 0 auto;
}

section.sidebar form.searchform div label.screen-reader-text{
	display: none;
}

section.sidebar form.searchform div input {
	width: 175px;
	height: 36px;
	border-radius: 8px;
	margin-right: 10px;
	border: 1px solid #ddd;
}

section.sidebar form.searchform div input#searchsubmit {
	width: 45px;
	height: 40px;
	color: #666;
	background: #edec72;
	border: 1px solid #ddd;
}

section.sidebar h3 {
	font-size: 16px;
	font-size: 1.6rem;
	background: #50abea;
	color: #fff;
	padding: 8px 20px;
	font-weight: 200;
}

section.sidebar ul {
	list-style: none;
	padding-left: 0;
	line-height: 24px;
}

section.sidebar ul li a {
	text-decoration: underline;
	background: url('images/icon_arrow.png') left no-repeat;
	padding-left:18px;
	color: #50abea;
}

/* footer
-------------------------------- */

footer#footer {
	background: #eee;
	text-align: center;
}

footer#footer div {
	padding: 32px 0 16px;
}

footer#footer p {
	color: #999;
	font-size: 12px;
	font-size: 1.2rem;
	padding: 0 0 1em;
	margin: 0;
}

/* index
-------------------------------- */
main#main section#whats article,
main#main section#news article,
main#main section#price article,
main#main section#instructor article,
main#main section#school article,
main#main section#photo article,
main#main section#faq article {
	clear: both;
	margin: 0 auto ;
	overflow: hidden;
	width: 1024px;
}

main#main section#instructor article {
	height: 450px;
}

/* Whats 8x9 */
section#whats {
	background: url('./images/bg_whats.png') center bottom no-repeat;
	padding: 60px 0 60px;
}

section#whats h2 {
	background: #26b0d1;
	text-align: center;
	width: 100%;
	border-radius: 16px;
	color: #fff;
	font-weight: normal;
	line-height: 1.25;
	padding: 0.5rem 0;
	margin:0 auto 50px;
}

section#whats h2 span {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
}

section#whats div.whats_txt {
/* 	float: left; */
	width: 1024px;
	margin:0 32px 0 0;
}

section#whats div.whats_txt p span {
	font-size: 20px;
	font-size: 2.0rem;
	color: #26b0d1;
	font-weight: bold;
}

section#whats div.whats_txt p span.txt {
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 300;
}


section#whats div.whats_txt p span.small {
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: 300;
}

section#whats div.whats_txt p span.sup {
	font-size: 7px;
	font-size: 0.7rem;
	font-weight: 300;
	position: relative;
	top: -0.6em;
}

section#whats div.whats_pic {
	float: left;
	width: 477px;
}

/* jisseki */
section#jisseki {
	padding: 60px 0 60px;
}

section#jisseki h2 {
	background: #26b0d1;
	text-align: center;
	width: 100%;
	border-radius: 16px;
	color: #fff;
	font-weight: normal;
	line-height: 1.25;
	padding: 0.5rem 0;
	margin:0 auto 50px;
}

section#jisseki h2 span {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
}

section#jisseki div.whats_txt {
/* 	float: left; */
	width: 1024px;
	margin:0 32px 0 0;
}

section#jisseki div.whats_txt p span {
	font-size: 20px;
	font-size: 2.0rem;
	color: #26b0d1;
	font-weight: bold;
}

section#jisseki div.whats_txt p span.txt {
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 300;
}


section#jisseki div.whats_txt p span.small {
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: 300;
}

section#jisseki div.whats_txt p span.sup {
	font-size: 7px;
	font-size: 0.7rem;
	font-weight: 300;
	position: relative;
	top: -0.6em;
}

section#jisseki div.whats_pic {
	float: left;
	width: 477px;
}


/* course */
section#course {
	clear: both;
	margin: 0 auto 60px;
	width: 1024px;
	padding: 60px 0 60px;
}

section#course h2 {
	background: #f78c98;
	text-align: center;
	width: 100%;
	border-radius: 16px;
	color: #fff;
	font-weight: normal;
	line-height: 1.25;
	padding: 0.5rem 0;
	margin:0 auto 50px;
}

section#course h2 span {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
}

section#course h3 {
	width: 100%;
	border-bottom: 2px solid #ddd;
	color: #f78c98;
	text-align: center;
	font-size: 20px;
	font-size: 2.0rem;
	margin: 0 auto 50px;
}

section#course table.course_lesson {
	width: 100%;
	margin: 0 auto 50px;
}

section#course table.course_lesson tr th {
	width: 20%;
	border: 1px solid #ddd;
	background: #fafafa;
	color: #666;
}

section#course table.course_lesson tr th.none {
	border: none;
	background: #fff;
}

section#course table.course_lesson tr th.beginner {
	background: #76c694;
	color: #fff;
}

section#course table.course_lesson tr th.intermediate {
	background: #ffbb00;
	color: #fff;
}

section#course table.course_lesson tr th.elementary {
	background: #26b0d1;
	color: #fff;
}

section#course table.course_lesson tr th.advance {
	background: #f78c98;
	color: #fff;
}

section#course table.course_lesson tr td {
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

section#course ul.course_tab {
	list-style: none;
	padding: 0;
	overflow: hidden;
}

section#course ul.course_tab li {
	float: left;
	width: 164px;
	margin: 0 0 0 51px;
}

section#course ul.course_tab li:first-child {
	margin: 0 0 0 0;
}

section#course div#course_area_02,
section#course div#course_area_03,
section#course div#course_area_04,
section#course div#course_area_05 {
	display: none;
}

section#course div.course_area {
	background: #fafafa;
	border: 1px solid #ddd;
	box-sizing: border-box;
	width: 100%;
	padding: 40px 40px 0;
}

section#course div.course_area h4 {
	color: #fd8b46;
	text-align: center;
	font-size: 24px;
	font-size: 2.4rem;
	padding: 0 1em;
	display: block;
	border-bottom: 1px solid #eee;
	margin-top: 0;
}

section#course div.course_area h5 {
	text-align: center;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 50px;
}

section#course div.course_area .course_detail {
	overflow: hidden;
}

section#course div.course_area .course_detail .pic {
	width: 320px;
	float: left;
}

section#course div.course_area .course_detail dl {
	overflow: hidden;
	border-bottom: 2px dashed #eee;
	padding-bottom: 10px;
	margin-bottom: 10px;
	display: table;
}

section#course div.course_area .course_detail dl dt {
	width: 160px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	height: 100%;
}

section#course div.course_area .course_detail dl dd {
	padding-left: 30px;
	display: table-cell;
	vertical-align: top;
}

section#course div.course_area .course_example {
	overflow: hidden;
	margin: 0 auto 30px;
}

section#course div.course_area .course_example .pic {
	width: 450px;
	float: left;
	margin-right: 62px;
}

section#course div.course_area .course_example dl {
	margin-top: 0;
	width: 430px;
	float: left;
}

section#course div.course_area .course_example dl dt {
	width: 98%;
	line-height: 40px;
	margin-bottom: 1em;
	border-bottom: 1px solid #ddd;
	color: #fd8b46;
	text-align: left;
	font-size: 1.8rem;
	font-size: 18px;
}

section#course div.course_area .course_example dl dd {
	margin: 0 0 2em;
}

section#course div.beginner h5,
section#course div.beginner .course_detail dl dt {
	background: #76c694;
	color: #fff;
}

section#course div.elementary h5,
section#course div.elementary .course_detail dl dt {
	background: #26b0d1;
	color: #fff;
}

section#course div.intermediate h5,
section#course div.intermediate .course_detail dl dt {
	background: #ffbb00;
	color: #fff;
}

section#course div.advance h5,
section#course div.advance .course_detail dl dt {
	background: #f78c98;
	color: #fff;
}

section#course div.special h5,
section#course div.special .course_detail dl dt  {
	background: #887ec1;
	color: #fff;
}



/* news */
section#news {
	clear: both;
	margin: 0 auto 60px;
	padding: 60px 0;
}

section#news h2 {
	background: #ffbb00;
	text-align: center;
	width: 100%;
	border-radius: 16px;
	color: #fff;
	font-weight: normal;
	line-height: 1.25;
	padding: 0.5rem 0;
	margin:0 auto 50px;
}

section#news h2 span {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
}

section#news ul.news_list {
	list-style: none;
	overflow: hidden;
	padding: 0;
	margin: 0 0 50px;
}

section#news ul.news_list li {
	float: left;
	width: 326px;
	margin: 0 0 0 23px;
}

section#news ul.news_list li:first-child {
	margin: 0 0 0 0;
}

section#news ul.news_list li .cat_news_info {
	background: #ffbb00;
	border-radius: 16px;
	color: #fff;
	padding: 2px 16px;
	font-size: 13px;
	font-size: 1.3rem;
	margin-left: 1em;
}

section#news ul.news_list li .cat_event_info {
	background: #f78c98;
	border-radius: 16px;
	color: #fff;
	padding: 2px 16px;
	font-size: 13px;
	font-size: 1.3rem;
	margin-left: 1em;
}

section#news ul.news_list li .cat_schedule_info {
	background: #26b0d1;
	border-radius: 16px;
	color: #fff;
	padding: 2px 16px;
	font-size: 13px;
	font-size: 1.3rem;
	margin-left: 1em;
}

section#news ul.news_list li .cat_blog {
	background: #fd8b46;
	border-radius: 16px;
	color: #fff;
	padding: 2px 16px;
	font-size: 13px;
	font-size: 1.3rem;
	margin-left: 1em;
}

section#news div.news_wrapper {
        text-align: center;
}

section#news div.news_btn {
	display:block;
	clear: both;
	margin: 8px;
}

section#news div.news_btn a {
	display: block;
	width: 320px;
	line-height: 44px;
	text-align: center;
	color: #fff;
	border-radius: 8px;
	margin: 10px auto 0px;
	background: #ffbb00;
	border-bottom: 6px solid #d49b00;
}

section#news div.news_btn a:hover {
	border-bottom: 2px solid #d49b00;
}

/* price */
section#price {
	clear: both;
	margin: 0 auto 60px;
	padding: 60px 0 60px;
}

section#price h2 {
	background: #887ec1;
	text-align: center;
	width: 100%;
	border-radius: 16px;
	color: #fff;
	font-weight: normal;
	line-height: 1.25;
	padding: 0.5rem 0;
	margin:0 auto 50px;
	width: 1024px;
}

section#price h2 span {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
}

section#price div.price_btn a {
	display: block;
	width: 320px;
	line-height: 44px;
	text-align: center;
	color: #fff;
	border-radius: 8px;
	margin: 10px auto 0px;
	background: #2f8fbc;
	border-bottom: 6px solid #1d6e94;
}

section#price div.price_btn a:hover {
	border-bottom: 2px solid #1d6e94;
}

section#price table.price_sheet {
	width: 100%;
	margin: 0 auto 30px;
}

section#price table.price_sheet tr th {
	background: #fafafa;
	border: 1px solid #887ec1;
}

section#price table.price_sheet tr th.left_th {
	background: #887ec1;
	color: #fff;
}

section#price table.price_sheet tr th.none {
	background: none;
	border: none;
}

section#price table.price_sheet tr th.price_th {
	background: #2f8fbc;
	color: #fff;
	border: none;
}

section#price table.price_sheet tr th.price_lang {
	background: #edec72;
	border: none;
}

section#price table.price_sheet tr th.mouth {
	border: 3px solid #887ec1;
}

section#price table.price_sheet tr td {
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

section#price table.price_sheet tr th span {
	color: red;
	font-weight: normal;
}

section#price table.price_payment {
	width: 100%;
	margin: 0 auto 30px;
}

section#price table.price_payment tr th {
	background: #fafafa;
	border: 2px solid #887ec1;
	width: 260px;
}

section#price table.price_payment tr td {
	background: #fafafa;
	border: 1px solid #887ec1;
}

/* instructor */
section#instructor {
	clear: both;
	margin: 0 auto 50px;
}

section#instructor h2 {
	background: #6dba44;
	text-align: center;
	width: 100%;
	border-radius: 16px;
	color: #fff;
	font-weight: normal;
	line-height: 1.25;
	padding: 0.5rem 0;
	margin:0 auto 50px;
	width: 1024px;
}

section#instructor h2 span {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
}


section#instructor div.sp-slides-container {
	height: 450px;
}

section#instructor div.sp-slides {
	list-style: none;
	height: 400px;
}

.sp-slide {
	padding: 30px 20px;
	border: 1px solid #ddd;
	margin: 0 auto 29px;
	background: #fafafa;
	width: 240px;
/* 	overflow: hidden; */
}

section#instructor div.sp-slide div.cont p.button {
	width: 80%;
	line-height: 48px;
	border-radius: 10px;
	margin: 0 auto;
	background: #666;
	text-align: center;
}

section#instructor div.sp-slide div.cont a {
	display: block;
	color: #fff;
}

.modal-content {
    position:fixed;
    display:none;
    z-index:2;
    width:50%;
    margin:0;
    padding:20px 20px;
    border:2px solid #aaa;
    background:#fff;
    height: 280px;
}

.modal-content p.button {
	position: absolute;
	right: -30px;
	top:-65px;
	font-size: 34px;
	background: #333;
	color: #fff;
	border: 2px solid #ddd;
	border-radius: 10px;
	padding: 0 20px;
	z-index: 3;
}

.modal-content p.button a {
	color: #fff;
	text-decoration: none;
}


.modal-content ul {
    margin:0;
    padding:0;
    list-style: none;
}

.modal-content ul li:first-child {
	float: left;
	width: 30%;
	vertical-align: middle;
}

.modal-content ul li:last-child {
	width: 68%;
	float:left;
	margin-left: 30%;
}

.modal-content ul li div.pic {
	margin: 10px auto;
}

.modal-content ul li p {
	margin: 0;
	padding: 0;
}

.modal-overlay {
    z-index:1;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(0,0,0,0.75);
}

.modal-open {
    color:#00f;
    text-decoration:underline;
}

.modal-open:hover {
    cursor:pointer;
    color:#f00;
}

.modal-close {
    color:#00f;
    text-decoration:underline;
}

.modal-close:hover {
    cursor:pointer;
    color:#f00;
}



/*
section#instructor div.sp-slides div.sp-slide:nth-child(3n+1) {
	margin: 0 0 40px 0;
}
*/

section#instructor div.sp-slides div.sp-slide div.pic {
	text-align: center;
	margin: 0 auto;
}

section#instructor div.sp-slides div.sp-slide div.noimg {
	border: 1px solid #ddd;
	margin: 0 auto;
	}

section#instructor div.sp-slides div.sp-slide div.cont {
/*	float: left;*/
/*	width: 668px;*/
}

section#instructor div.sp-slides div.sp-slide p.instructor_name {
	margin-bottom:0.5rem;
	padding-bottom:0.5rem;
	border-bottom: 2px solid #ddd;
	text-align: center;
}

section#instructor div.sp-slides div.sp-slide p.instructor_kana {
	margin-top: 0;
	text-align: center;
}

section#instructor div.sp-slides div.sp-slide p.instructor_text {
	text-align: left;
}

/* school */
section#school {
	clear: both;
	margin: 0 auto 60px;
	padding: 60px 0 60px;
}

section#school h2 {
	background: #76c694;
	text-align: center;
	width: 100%;
	border-radius: 16px;
	color: #fff;
	font-weight: normal;
	line-height: 1.25;
	padding: 0.5rem 0;
	margin:0 auto 50px;
	width: 1024px;
}

section#school h2 span {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
}



section#school ul#school_tab {
	zoom: 1;
	list-style: none;
	margin: 0 auto 32px;
	padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

/*section#school ul#school_tab:after { content:"."; display: block; height:0px; clear:both; line-height:0; visibility:hidden; }*/
section#school ul#school_tab li {
/*float: left;*/
text-align: center;
margin: 0 0 20px 0;
}

section#school ul#school_tab li:first-child {
	background: none;
	margin-left: 0;
}




section#school ul#school_tab li a:hover {
}
section#school ul#school_tab li a span {
	font-size: 13px;
	font-size: 1.3rem;
	color: #ddd;
}
section#school ul#school_tab li.active,
section#school ul#school_tab li.active a,
section#school ul#school_tab li.active a:hover {
	color: #fff;
	background: #76c694;
	border-radius: 8px;
}
section#school ul#school_tab li.active a span {
	color: #fff;
}

section#school #school_detail {
	clear: both;
	overflow: hidden;
	background: #fff;
}

section#school #school_detail div.school_map {
	width: 450px;
	height: 450px;
	margin-right: 20px;
	float: left;
	padding: 20px;
}

section#school #school_detail div.school_info {
	width: 500px;
	float: left;
}

section#school .tabbox {
	display: none;
}

section#school ul#school_tab li a {
box-sizing:border-box;
	position: relative;
	display: inline-block;
	width: 140px;
	padding: 10px 0 24px;
	text-decoration: none;
	color: #666;
	background: #fafafa;
	border: 1px solid #ddd;
	border-radius: 8px;
	z-index: 0;
	line-height: 1;
}

section#school ul#school_tab li a .pic{
width:90%;
margin:0 auto;
}


section#school ul#school_tab li a:before {
	content: "";
	position: absolute;
	bottom: -8px; left: 50%;
	margin-left: -9px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 9px 9px 0 9px;
	border-color: #fafafa transparent transparent transparent;
	z-index: 0;
}

section#school ul#school_tab li a:after {
	content: "";
	position: absolute;
	bottom: -10px; left: 50%;
	margin-left: -10px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 10px 10px 0 10px;
	border-color: #ddd transparent transparent transparent;
	z-index: -1;
}

section#school ul#school_tab li.active a:before {
	content: "";
	position: absolute;
	bottom: -8px; left: 50%;
	margin-left: -9px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 9px 9px 0 9px;
	border-color: #76c694 transparent transparent transparent;
	z-index: 0;
}

section#school ul#school_tab li.active a:after {
	content: "";
	position: absolute;
	bottom: -10px; left: 50%;
	margin-left: -10px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 10px 10px 0 10px;
	border-color: #ddd transparent transparent transparent;
	z-index: -1;
}

section#school .tokuchou {
	color: #19283C;
	position: relative;
	display: inline-block;
	padding: 15px;
	border: 2px solid #76c694;
	border-radius: 8px;
	z-index: 0;
	width: 90%;
}

section#school .tokuchou:after {
	content: "";
	position: absolute;
	top: -12px; left: 50%;
	margin-left: -10px;
	display: block;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 0 10px 10px 10px;
	border-color: transparent transparent #76c694 transparent;
	z-index: -1;
}

section#school #school_detail dl {
	width: 98%;
	float: left;
}

section#school #school_detail dl dt {
	clear: both;
	float: left;
	width: 160px;
	text-align: center;
	border-radius: 16px;
	background: #76c694;
	color: #fff;
	padding: 4px 0;
}

section#school #school_detail dl dd {
	margin: 0 0 16px 180px;
	padding: 4px 0;
}


/* photo */
section#photo {
	clear: both;
	margin: 0 auto 50px;
	padding: 60px 0 0;
	width: 1024px;
}

section#photo h2 {
	background: #5bb4ed;
	text-align: center;
	width: 100%;
	border-radius: 16px;
	color: #fff;
	font-weight: normal;
	line-height: 1.25;
	padding: 0.5rem 0;
	margin:0 auto 50px;
}

section#photo h2 span {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
}

section#photo ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	width: 944px;
	overflow: hidden;
}

section#photo ul li {
	float: left;
	width: 25%;
	height: 236px;
}

/* faq */
section#faq {
	clear: both;
	margin: 0 auto ;
	padding: 60px 0 60px;
}

section#faq h2 {
	background: #fd8b46;
	text-align: center;
	width: 100%;
	border-radius: 16px;
	color: #fff;
	font-weight: normal;
	line-height: 1.25;
	padding: 0.5rem 0;
	margin:0 auto 50px;
	width: 1024px;
}

section#faq h2 span {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
}

section#faq dl {
	width: 100%;
}

section#faq dl dt {
	border: 2px solid #fd8b46;
	background: #fff;
	width: 100%;
	padding: 8px 40px;
	box-sizing: border-box;
	margin: 0 auto 32px;
	cursor:pointer;
	position: relative;
}

section#faq dl dt:after {
	content: " \f078";
	font-family: FontAwesome;
	position: absolute;
	right: 40px;
	top: 16px;
}

section#faq dl dt:hover {
	background: #fd8b46;
	color: #fff;
}

section#faq dl dt.active {
}

section#faq dl dt.active:after {
	content: " \f077";
	font-family: FontAwesome;
	position: absolute;
	right: 40px;
	top: 16px;
}

section#faq dl dt span {
	display: inline-block;
	margin: 0 40px 0 0;
	width: 50px;
	line-height: 50px;
	text-align: center;
	color: #fff;
	border-radius: 50%;
	background: #fd8b46;
}

section#faq dl dt:hover span {
	color: #fd8b46;
	background: #fff;
}

section#faq dl dd {
	margin: 0 0 32px 80px;
	overflow: hidden;
	display: none;
}

section#faq dl dd div {
	display: table-cell;
}

section#faq dl dd span {
	display: inline-block;
	margin: 0 20px 0 0;
	width: 50px;
	line-height: 50px;
	text-align: center;
	color: #fff;
	border-radius: 50%;
	background: #fd8b46;
}

section#faq dl dd p {
	display: table-cell;
	margin: 0;
	vertical-align: top;
}

section#faq div.faq_btn a {
	display: block;
	width: 320px;
	line-height: 44px;
	text-align: center;
	color: #fff;
	border-radius: 8px;
	margin: 10px auto 0px;
	background: #fd8b46;
	border-bottom: 6px solid #b16131;
}

section#faq div.faq_btn a:hover {
	border-bottom: 2px solid #b16131;
}








/* page
-------------------------------- */
div#kv {
	width: 100%;
	background: url('images/page_bg.png') center top no-repeat;
	height: 150px;
	margin: 0 auto;
	text-align: center;
}

div#breadcrumb {
	width: 100%;
	background: #eeeeee;
	line-height: 50px;
}

div.breadcrumbs {
	width: 1024px;
	margin: 0 auto;
	font-size: 16px;
}

div.breadcrumbs a {
	color: #666;
}

section.page {
	width: 720px;
	background: #fafafa;
	float: left;
	margin-bottom: 60px;
}

section.page p img {
	margin: 0 auto;
}

section.page h3 {
	font-size: 30px;
	font-size: 3.0rem;
	color: #ffb105;
	text-align: center;
	border-bottom: 3px solid #ffb105;
	width: 98%;
	margin: 25px auto;
}

/* trial */
section.page div.attention {
	width: 640px;
	padding: 25px;
	border: 1px dashed #f6818d;
	margin: 25px auto;
	background: #fff;
}

section.page div.attention h4 {
	background: #f6818d;
	border:none;
	border-radius: 30px;
	color: #fff;
	text-align: center;
	font-weight: 300;
}

section.page div.attention ol {
	list-style: none;
	padding-left: 0;
	margin: 25px auto;
}

section.page div.attention ol li {
	line-height: 32px;
}

section.page div.attention p {
	font-size: 14px;
	color: #f6818d;
}

section.page form {
	width: 98%;
	margin: 50px auto;
}

section.page form div.form {
	width: 98%;
	margin: 0 auto;
}

section.page form div.form span.required {
	color: #f6818d;
}

section.page form ul {
	list-style: none;
	padding-left: 0;
	overflow: hidden;
	margin-bottom: 0;
}

section.page form div ul li:first-child,
section.page form ul li:first-child {
	float: left;
	width: 30%;
	padding: 20px 0;
}

section.page article#contact form ul li:first-child {
	background: url('images/icon_green.png') left no-repeat;
	padding: 20px 0 20px 20px;

}

section.page form div ul li:last-child {
	float: left;
	width: 68%;
}

section.page form ul li input {
	width: 420px;
	height: 40px;
	margin:10px;
}

section.page form ul li input#month,
section.page form ul li input#days,
section.page form ul li input#school_year {
	width: 178px;
	height: 40px;
	margin: 10px;
}

section.page form ul li span.wpcf7-list-item {
	margin-right: 20px;
}

section.page form ul li span.wpcf7-list-item input {
	width: 18px;
	height: 18px;
	margin-top: 30px;
}

section.page form ul li span.wpcf7-checkbox span.wpcf7-list-item {
	display: block;
	height: 30px;
}

section.page form ul li span.textarea-668 textarea {
	margin-top: 24px;
	margin-left: 10px;
	color: #ddd;
}

section.page form div.button {
	margin: 0 auto;
	width: 370px;
}

section.page form div.button input.wpcf7-submit {
	width: 370px;
	background: #ffb105;
	color: #fff;
	border-radius: 10px;
	height: 60px;
	margin: 20px auto;
	border: none;
	box-shadow: 5px 5px 0px -2px #c88d09;
}

section.page form div.reserve p.aside,
section.page form div.guardian p.aside,
section.page form div.ex p.aside {
	font-size: 14px;
	font-size: 1.4rem;
	color: #f6818d;
	margin-top: 0px;
}

/* company */
section.page article#company ul {
	list-style: none;
	border-bottom: 1px dashed #ddd;
	width: 90%;
	margin: 0 auto;
	overflow: hidden;
}

section.page article#company ul:last-child {
	border-bottom: none;
	margin-bottom: 40px;
}

section.page article#company ul li {
	float: left;
	line-height: 36px;
	padding: 10px 0;
}

section.page article#company ul li:first-child {
	width: 30%;
}

/* archive */
section.archive {
	width: 720px;
	margin: 0 auto;
	float: left;
}

section.archive div.article {
	width: 720px;
	background: #fafafa;
	border-radius: 10px;
	border: 1px solid #ddd;
	margin-bottom : 40px;
}

section.archive div.article div.entry_cont {
	width: 650px;
	margin: 35px auto 20px;
	overflow: hidden;
}

section.archive div.article div.entry_cont div.archive_img {
	width: 220px;
	float: left;
}

section.archive div.article div.entry_cont div.archive_cont {
	width: 410px;
	float: left;
	margin-left: 20px;
}

section.archive div.article div.entry_cont div.archive_cont h2{
	margin: 0 auto 15px;
	color: #26b0d1;
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 30px;
}

section.archive div.article div.entry_cont div.archive_cont h2 a {
	color: #26b0d1;
}

section.archive div.article div.entry_cont div.archive_cont div.date {
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 400;
}

section.archive div.article div.entry_cont div.archive_cont p {
	margin: 0 ;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 24px;
}

section.archive div.article div.aside {
	overflow: hidden;
	width: 650px;
	margin: 0 auto 35px;
}

section.archive div.article div.aside ul {
	float: left;
	width: 30%;
	overflow:hidden;
	list-style: none;
	padding-left: 0;
	margin: 0;
}


section.archive div.article div.aside ul li {
	float: left;
	width: 50%;
}

section.archive div.article div.aside div.button {
	width: 230px;
	float: right;
	text-align: center;
	background: #6dba44;
	height: 40px;
	border-radius: 10px;
	padding: 10px 0 0;
}

section.archive div.article div.aside div.button a {
	color: #fff;
}

/* single-blog */
main#single-blog article {
	width: 718px;
	float: left;
	background: #fafafa;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 60px;
}

main#single-blog article div.single-wrap {
	overflow: hidden;
	margin: 35px 35px 0;
}

main#single-blog article div.single-wrap div.single_img {
	width: 130px;
	float: left;
	margin-right: 20px;
}

main#single-blog article div.single-wrap h3 {
	color: #26b0d1;
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 30px;
	margin-top: 0;
}

main#single-blog article div.single-wrap h3 span {
	font-size: 18px;
	font-size: 1.8rem;
	color: #666;
}

main#single-blog article ul.sns_area {
	width: 180px;
	list-style: none;
	overflow: hidden;
	margin: 0px 35px 0 500px;
	padding: 0;

}

main#single-blog article ul.sns_area li {
	float: left;
	width: 50%;
}

main#single-blog article div.content {
	width: 650px;
	margin: 0 auto;
}

main#single-blog article div#pagenavi {
	width: 650px;
	margin: 0 auto;
	overflow: hidden;
}

main#single-blog article div#pagenavi p {
	float: left;
	width: 50%;
}

main#single-blog article div.app_form {
	width: 650px;
	margin: 35px auto;
}

main#single-blog article div.app_form h3 {
	font-size: 30px;
	font-size: 3.0rem;
	color: #ffb105;
	border-bottom: 3px solid #ffb105;
	text-align: center;
}

main#single-blog article div.app_form ul {
	list-style: none;
	overflow: hidden;
	padding: 0;
	margin: 0 auto;
	width: 98%;
}

main#single-blog article div.app_form ul li {
	float: left;
	width: 30%;
	line-height: 60px;
}

main#single-blog article div.app_form ul li:last-child {
	width: 68%;

}

main#single-blog article div.app_form ul li span.required {
	color: #f6818d;

}

main#single-blog article div.app_form ul li input {
	border-radius: 8px;
	height: 30px;
	border: 1px solid #ddd;
}

main#single-blog article div.app_form div.button {
	width: 650px;
	text-align :center;
}

main#single-blog article div.app_form div.button input.wpcf7-submit{
	width: 350px;
	border-radius: 10px;
	color: #fff;
	background: #ffb105;
	margin: 30px auto;
	height: 40px;
	border: none;
}

@media screen and (max-width: 768px) {

}


@media screen and (max-width: 480px) {
	body {
		-webkit-text-size-adjust: 100%;
	}
}

/* School-Calendar */
table.calendar {
  margin: auto;
  border: 2px solid #feb015;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 6px;
  overflow: hidden;
  background: white;
}
table.calendar thead th,
table.calendar tbody th,
table.calendar tbody td {
  text-align: center;
  border-bottom: 1px solid #feb015;
  padding: 16px;
}
table.calendar thead th {
  background-color: #feb015;
}
table.calendar tbody th {
  background-color: #feb015;
}
table.calendar thead th + th,
table.calendar tbody td {
  border-left: 2px solid #feb015;
}
table.calendar tbody tr:last-child th,
table.calendar tbody tr:last-child td {
  border-bottom: none;
}
