/*
Theme Name: Baw Academy
*/


/* ------------------------------
default
------------------------------ */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	border-style: initial;
	-webkit-text-size-adjust: 100%;
}

html,body {
	height: 100%;
	width: 100%;
}
body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.7;
	letter-spacing: 1px;
}

a {
	color: #6f6f6f;
	text-decoration: none;
	-webkit-transition: all linear 0.2s;
	transition: all linear 0.2s;
}
a:hover{
	opacity: 0.65;
}
img {
	height: auto;
	max-width: 100%;
}
input, button, select, textarea {
	-webkit-appearance: none;
}
h2, ul, li{
	list-style: none;
	margin: 0;
	padding: 0;
}


/* --------------------------------
font
---------------------------------*/
.fontxxl{
	font-size: 25px;
}
.fontxl {
	font-size: 21px;
}
.fontll{
	font-size: 19px;
}
.fontl {
	font-size: 16px;
}
.fontm {
	font-size: 14px;
}
.fonts {
	font-size: 13px;
}
.fontss {
	font-size: 10px;
}

/* --------------------------------
共通
---------------------------------*/
.container{
	min-width: 1000px;
}
.area {
	margin: 0 auto;
	max-width: 900px;
	position: relative;
	width: 100%;
	padding: 0 10px;
}
.clear {
	clear: both;
}
.sp{
	display: none;
}

/*-------------------------------
top
------------------------------ */
.logo{
	width: 250px;
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 99;
}
.text_shadow{
	width: 100%;
	height: 70px;
	background-color: rgba(0,0,0,0.2);
	position: absolute;
	top: 0;
	z-index: 99;
}
.slide{
	width: 100%;
	padding-top: 55%;
	position: relative;
	z-index: -1;
}
.swiper-container{
	width: 100%;
	height: 100%;
	position: absolute;
	top:0;
	left: 0;
}
.swiper-slide img{
	/*position: relative;*/
	max-height: auto;
	max-width: 100%;
	margin: 0 auto;
	display: block;
}
.slide_tate{
	display: none!important;
}
.slide_text{
	position: absolute;
	right: 15px;
	top: 10px;
	color: #f8f8f8;
	text-align: right;
	vertical-align: top;
	z-index: 100;
	line-height: 1.4
}

/* ------------------------------
header
------------------------------ */
header{
	position: absolute;
	z-index: 9999;
	width: 100%;
	margin-top: calc(-10vw);
	background-color: #fff;
	min-width: 1000px;
}
header.fixed{
	position: fixed;
	top:0;
	width: 100%;
	margin-top: 0;
}
header .burgermenu,
header .burgermenu span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}
header .burgermenu {
	position: fixed;
	right: 15px;
	top: 15px;
	width: 30px;
	height: 30px;
	display: none;
	z-index: 99;
}
header .menu-trigger{
	width: 100%;
	height: 100%;
	display: block;
	background-color: #fff;
}
header .menu-trigger.active{
	background-color: transparent;
}
header .burgermenu span {
	position: absolute;
	left: 4px;
	width: 22px;
	height: 1px;
	background-color: #000;
}
header .burgermenu span:nth-of-type(1) {
	top: 6px;
}
header .burgermenu span:nth-of-type(2) {
	top: 14px;
}
header .burgermenu span:nth-of-type(3) {
	bottom: 6px;
}
header .menu-trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(8.5px) rotate(-45deg);
	transform: translateY(8.5px) rotate(-45deg);
	background-color: #000;
}
header .menu-trigger.active span:nth-of-type(2) {
	opacity: 0;
}
header .menu-trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-8.5px) rotate(45deg);
	transform: translateY(-8.5px) rotate(45deg);
	background-color: #000;
}
/* ------------------------------
menu
------------------------------ */
.menu ul{
	display: flex;
	width: 100%;
	text-align:center; 
	border-bottom: 1px solid #c9caca;
	padding-top: 3px;
}
.menu ul li{
	flex-grow: 1;
}
.menu ul li a{
	line-height: 60px;
	display: inline-block;
	width: 100%;
	opacity: 1;
}
.menu ul li a::after{
	content: '';
	display: block;
	width: 0;
	margin: 0 auto;
	border-bottom: 3px solid #00C9B6;
	transition: width 0.3s ease-in-out;
	transform: translateY(3px);
}
.menu ul li a:hover::after{
	width: 100%;
}
.menu ul li a.active{
	border-bottom: 2px solid #00C9B6;
}

/* ------------------------------
main
------------------------------ */
main{
	margin-top: calc(-10vw);
	margin-bottom: 2em;
	background-color: #fff;
	padding-top: 60px;
	position: relative;
	z-index: 999;
}
section{
	padding: 5em 0;
}
main h1{
	text-align: center;
	font-weight: bold;
	padding: 0 0 3em;
}
main section ul{
	width: 100%;
	display: table;
	text-align: center;
	padding: 3em 0;
}
main section ul li{
	display: table-cell;
}

/* ------------------------------
page
------------------------------ */
.page header,
.page main{
	margin-top: 0;
}
.page section:first-child{
	padding-top: 5em;
}
.page section{
	padding: 3em 0;
}
.page blockquote{
	margin: 3em 0;
	padding: 1em;
	background-color: #f4f4f4;
	text-align: center;
	font-style: italic;
}
.page blockquote::before{
	content: "\f10d";
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: bold;
}
.page blockquote::after{
	content: "\f10e";
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: bold;
}
.page section ul{
	padding: 3em 0 0;
	display: block;
	text-align: left;
}
.page section ul li{
	display: block;
	position: relative;
	padding-left: 1.5em;
}
.page .basic section ul li::before{
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: bold;
	position: absolute;
	left: 0;
}
.page h2{
	padding: 0 0 0 .5em;
	margin-bottom: 1em;
	border-left: 2px solid #00C9B6;
}
.page .keyword{
	border: 1px solid #f4f4f4;
	padding: .3em;
	margin: 0 .3em .3em 0;
	display: inline-block;
}
.page .basic ol{
	counter-reset:number; /*数字をリセット*/
	list-style-type: none!important; /*数字を一旦消す*/
	padding:1em 0;
}
.page .basic ol li{
	display: list-item;
	position: relative;
	line-height: 1.5em;
	padding: 0.5em 0.5em 0.5em 30px;
}
.page .basic ol li::before{
	/* 以下数字をつける */
	position: absolute;
	counter-increment: number;
	content: counter(number);
	/*数字のデザイン変える*/
	display:inline-block;
	background: #00C9B6;
	color: white;
	font-family: 'Avenir','Arial Black','Arial',sans-serif;
	font-weight:bold;
	font-size: 15px;
 	left: 0;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	/*以下上下中央寄せのため*/
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.page .basic section ul.shikaku{
	padding: 0;
}
.page .basic section ul.shikaku li::before{
	content: "\f0a4";
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: bold;
	position: absolute;
	left: 0;
}
.page_body{
	padding: 15em;
	text-align: center;
}
.page .advance ol{
	padding: 2em 0 0;
}
.page .advance ul{
	padding: 0;
	margin-bottom: 3em;
}
.page .advance section ul li::before{
	content: "-";
	font-weight: bold;
	position: absolute;
	left: 5px;
}
.page .advance h3{
	margin-bottom: 1em;
}
.page .advance .lab{
	background-color: #00C9B6;
	padding: 5px 10px;
	margin-right: .5em;
	color: #fff;
}
.bawpic{
	display: inline-flex;
}
.bawpic img{
	flex-direction: row;
	padding: 5px;
}


/* ------------------------------
footer
------------------------------ */
.footer{
	background-color: #00C9B6;
}
.footer .area{
	padding: 3em 0 2em;

}
.footer_link{
	float: left;
}
.footer_logo{
	width: 300px;
	float: right;
}
.copyright{
	text-align: center;
	padding-bottom: 1em;
}

/* ------------------------------
for smartphone
------------------------------ */
@media screen and (max-width: 980px) {
	/* --------------------------------
	共通
	---------------------------------*/
	.container{
		min-width: 100%;
	}
	/* --------------------------------
	font
	---------------------------------*/

	.fontll{
		font-size: 16px;
	}
	.fontl {
		font-size: 14px;
	}
	.fontm {
		font-size: 13px;
	}
	
}

@media screen and (max-aspect-ratio: 1/1) {
	/*-------------------------------
	top
	------------------------------ */
	.logo{
		width: 150px;
	}
	.slide_yoko{
		display: none!important;
	}
	.slide_tate{
		display: block!important;
		padding-top: 133%;
	}
	.text_shadow{
		position: absolute;
		top: auto;
		bottom: 40px;
	}
	
	/* ------------------------------
	header
	------------------------------ */
	header .burgermenu {
		display: block;
	}

	/* ------------------------------
	menu
	------------------------------ */
	.globalnav{
		width: 100%;
		position: fixed;
		transform: translateX(100%);
		transition: all 0.3s ease-in-out;
		top: 0;
	}
	.globalnav.active{
		transform: translateX(0);		
	}
	.menu ul{
		display: block;
		background-color: rgba(255,255,255,0.9);
	}
	.menu ul.active{
		display: block;
	}
	/* ------------------------------
	main
	------------------------------ */
	main{
		padding-top: 0;
	}
}




	