@charset "UTF-8";
/* CSS Document */

body{
	font-family:"游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
	font-size:20px;
	line-height:200%;
	color:#333;
	margin:0;
	padding:0;
	background-color:#fff;
	font-feature-settings: "halt";
}

a{
	color:#d42556;
}
a:visited{
	color:#E64774;
}
a:hover{
	color:#BD0035;
}

img{
	vertical-align: bottom;
	border:none;
}
table{
	width:100%;
}
table th,
table td{
	padding:6px;
}

form input,
form textarea{
	padding:10px; 
	font-size:1.3em; 
	color:#aaa;
	border:solid 1px #ccc;
	border-radius: 3px;
}
form input[type="radio"]{
	width:20px;
}
form .form-error,
form .form-error p{
	text-align:center;
}
form .form-error ul{
	padding:0;
	color:#f00;
}
form .form-error ul li{
	display:inline;
}
form .form-error ul li:after{
	content:" / ";
}

.imgtxt{
	text-indent:-9999px;
	overflow:hidden;
}
.img-responsive{
	display: block;
    max-width: 100%;
    height: auto;
}
.clear{
	clear:both;
}
.red{
	color:#f00;
}
.white{
	color:#fff;
}
.no-margin{
	margin:0;
}
.center{
	text-align:center;
}
.right{
	text-align:right;
}
.mawarikomi-l{
	float:left;
	margin:0 12px 12px 0;
}
.mawarikomi-r{
	float:right;
	margin:0 0 12px 12px;
}

.pc{
	display:inherit;
}
.smp{
	display:none;
}
.pc-center{/* PC時のみセンタリング */
	text-align:center;
}
.smp-center{
	text-align:left;
}

.flex{
	margin-bottom:2em;
	display:flex;
	flex-wrap:wrap;
}
.flex .col-2,
.flex .col-3,
.flex .col-4,
.flex .col-5,
.flex .col-6,
.flex .col-7,
.flex .col-8,
.flex .col-9,
.flex .col-10{
	box-sizing:border-box;
	padding:0 0.5em; 
}
.flex .col-12{
	box-sizing:border-box;
	padding:0 0.5em; 
	margin-bottom:2em;
}

.flex .col-2{/*5分割*/
	width:16.6%;
}
.flex .col-3{/*4分割*/
	width:25%;
}
.flex .col-4{/*3分割*/
	width:33%;
}
.flex .col-5{
	width:41%;
}
.flex .col-6{/*2分割*/
	width:49.9%;
}
.flex .col-7{
	width:59%;
}
.flex .col-8{
	width:67%;
}
.flex .col-9{
	width:75%;
}
.flex .col-10{
	width:83%;
}
.flex .col-12{
	margin-bottom:0;
	width:100%;
}

/*img*/

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

/* 全体レイアウト */
:root{
	--keycolor:#d42556;
	--gray:#e8e8e8;
	--leftmargin:-2vw;
}
main{
}
.contents{
    max-width: 1400px;
    min-width: 900px;
    margin: 0 auto;
}
.content-full{
	width: 100vw;
	min-width: 1000px;
}
.contents{
    max-width: 1400px;
    min-width: 1000px;
    margin: 0 auto;
}
.contents-narrow{
    max-width: 1000px;
    min-width: 900px;
    margin: 0 auto;
}
h1,h2,h3{
	font-style: italic;
}
strong{
	color: var(--keycolor);
}
header#top{
	
	background-color: var(--gray);
	padding: 2vh 0;
}

header#top nav#global{
	display: flex;
	justify-content: flex-end;
}
header#top nav#global ul{
	display: flex;
	gap:0em;
	padding: 0;
	list-style-type: none;
}

header#top nav#global ul li:after{
	content: "｜";
	color: var(--keycolor);
	margin: 0 1.5em;
}
header#top nav#global ul li a{
	text-decoration: none;
}
#vis{
	overflow: hidden;
	position: relative;
	height: 70vh;
	min-height: 1050px;
}
#vis .fig{
	position: absolute;
	left: 0;
	top:0;
	padding: 5vh;
	width: 50vw;
	height: 600px;
	margin: 50px 0;
	background: url("../img/vis.webp") no-repeat right 0/ cover;
}
#vis .lead{
	width: 60vw;
	box-sizing: border-box;
	padding: 4vh 0 4vh 2vw;
	right: 0;
	top:7vh;
	margin-left: auto;
	position: absolute;
	color: #fff;
	transform: translateX(3vw);
}
#vis .lead .box1{
	transform: skewX(-4deg);
	background-color: var(--keycolor);
	padding: 2vw 4vw 2vw;
}
#vis .lead .box1 h1{
	font-size: 3rem;
	font-weight: bold;
	line-height: 1.5em;
}
#vis .lead .box1 h1 .txt1{
	font-size: 0.8em;
}
#vis .lead .box1 h1 .txt2{
	font-size: 0.6em;
}
#vis .lead .box1 p.powerd{
	text-align: right;
	font-style: italic;
	transform: skewX(4deg);
}
#vis .lead .box1 p.powerd img{
	height: 2em;
}
#vis .lead .box2{
	width: 45vw;
	margin-left: auto;
	margin-right: 4vw;
	color: #333
}
#vis .lead .box2 h2{
	color: var(--keycolor);
	font-size: 2.2rem;
	line-height: 150%;
	font-style: italic;
}

#access{
	padding:2em 0 5em 0;
	text-align: center;
}
#access h2{
	color: var(--keycolor);
}
#access h2.larger{
	font-size: 2.4em;
	position: relative;
	display: inline-block;
	padding: 0 .25em;
	line-height: 4rem;
}
#access h2.larger span{
	position: relative;
	z-index: 3;
}
#access h2.larger::before{
	display: inline;
	content: "";
	height: .35em;
	width: 100%;
	background-color: #FFDD00;
	position: absolute;
	left: 0;
	bottom: -.15em;
	z-index: 1;
}
.categorytitle{
	background-color: var(--keycolor);
	width: 40%;
	transform: skewX(-5deg) translateX(var(--leftmargin));
	padding: .5em 2em;
	text-align: right;
	color: #fff;
	margin-bottom: 4em;
}
#message{
	background: #fff url(../img/bg1.png);
	padding: 6em 0;
	position: relative;
	position: relative;
}
#message .fig{
	z-index: 999;
	position: absolute;
	top:-4em;
	right: 5vw;
	width: 30%;
}
#message .fig img{
	max-width: 100%;
	height: auto;
}
#message .flex{
	display: flex;
	gap:5%;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
}
#message .flex .txt{
	width: 60%;
}
#message .flex .teacher{
	width: 35%;
}
#message .flex .teacher figure{
	transform: translateY(3em);
	text-align: center;
}
#message .flex .teacher .box{
	background-color: #efefef;
	padding: .5em 1em;
	border-radius: 8px;
}
#point{
	margin-bottom: 10em;
}
#point .categorytitle{
	transform: translate(var(--leftmargin),-2em) skewX(-4deg);
}
#point .flex{
	display: flex;
	gap:5%;
	padding:0 5vw;
}
#point .flex .item{
	width: 30%;
	min-width: 300px;
	background-color: #fff;
	box-shadow: .5em .5em 0 0 var(--keycolor);
	box-sizing: border-box;
	padding: 6em 1.5em 1.5em 1.5em;
}

#point .flex .item:nth-child(2){
	transform: translateY(2em);
}
#point .flex .item:nth-child(3){
	transform: translateY(-3em);
}
#point .flex .item h3::before{
	text-align: center;
	width: 100px;
	display: block;
	justify-content: center;
	margin: -8em auto 2em;
}
#point .flex .item:nth-child(1) h3::before{
	content: url("../img/icon1.svg");
}
#point .flex .item:nth-child(2) h3::before{
	content: url("../img/icon2.svg");
}
#point .flex .item:nth-child(3) h3::before{
	content: url("../img/icon3.svg");
}
#point .flex .item p{
	margin: 0;
}
#curricurum{
	padding: 6em 0;
	padding-bottom: 10em;
	background: #fff url(../img/bg1.png);
	position: relative;
}
#curricurum .steps{
	display: flex;
	flex-direction: column;
	gap:2em;
}
#curricurum .steps .step{
	display: flex;
	gap:2em;
	min-height: 300px
}
#curricurum .steps .step::after{
}
#curricurum .steps .step h3{
	color: var(--keycolor);
	font-size: 2em;
	width: 15%;
	position: relative;
	padding: 0 0 0 1em;
}
#curricurum .steps .step h3::before{
	content: "";
	border: 1px solid var(--keycolor);
	width: 10px;
	height: 10px;
	display: block;
	border-radius: 50%;
	position: absolute;
	top:.5em;
	left: 0;
}
#curricurum .steps .step:first-child h3::before,
#curricurum .steps .step:last-child h3::before{
	background-color: var(--keycolor);
}
#curricurum .steps .step h3::after{
	content: "";
	display: block;
	min-height: calc( 300px + .5em + 12px );
	width: 1px;
	background-color: var(--keycolor);
	position: absolute;
	top: calc( .5em + 10px );
	left: 5px;
}
#curricurum .steps .step:last-child h3::after{
	content: none;
}
#curricurum .steps .step h4{
	font-size: 1.4em;
}
#curricurum .steps .step .caption1{
	width: 50%;
}
#curricurum .steps .step ul.caption2{
	box-sizing: border-box;
	padding: 1.5em 1.5em 1.5em 2.5em;
	margin: 0;
	width: 35%;
	border: 1px solid var(--keycolor);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap:.5em;
	justify-content: center;
  position: relative;
	margin-top: 5em;
}
#curricurum .steps .step ul.caption2::before{
  content: "";
  position: absolute;
  top: 30%;
  left: -27px;
  margin-top: -14px;
  border: 14px solid transparent;
  border-right: 14px solid #fff;
  z-index: 2;
}
#curricurum .steps .step ul.caption2::after {
  content: "";
  position: absolute;
  top: 30%;
  left: -28px;
  margin-top: -14px;
  border: 14px solid transparent;
  border-right: 14px solid var(--keycolor);
  z-index: 1;
}
#classroom .categorytitle{
	transform: translate(var(--leftmargin),-2em) skewX(-4deg);
}
#classroom .caption h3{
	margin-top:0;
}

footer{
	background-color:#222;
	color:#fff;
	padding:.75em 0;
}
footer p{
	margin: 0;
	text-align:center;
}
.btn-contact{
	position: fixed;
	bottom: 0;
	right: 0;
	margin: 0;
	z-index: 9999;
}
.btn-contact img{
	vertical-align: bottom;
}
.fadetxt span{
    opacity: 0;
    display: inline-block;
        transform: translateY(2em);
    animation-name: fadeInb2ttxt;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-duration: 500ms;
    animation-direction: normal;
}
.fadetxt span:nth-child(1){
    animation-delay: 50ms;
}
.fadetxt span:nth-child(2){
    animation-delay: 150ms;
}
.fadetxt span:nth-child(3){
    animation-delay: 250ms;
}
.fadetxt span:nth-child(4){
    animation-delay: 350ms;
}
.fadetxt span:nth-child(5){
    animation-delay: 450ms;
}
.fadetxt span:nth-child(6){
    animation-delay: 550ms;
}
.fadetxt span:nth-child(7){
    animation-delay: 650ms;
}
.fadetxt span:nth-child(8){
    animation-delay: 750ms;
}
.fadetxt span:nth-child(9){
    animation-delay: 850ms;
}
.fadetxt span:nth-child(10){
    animation-delay: 950ms;
}
.fadetxt span:nth-child(11){
    animation-delay: 1050ms;
}
.fadetxt span:nth-child(12){
    animation-delay: 1150ms;
}
.fadetxt span:nth-child(13){
    animation-delay: 1250ms;
}
.fadetxt span:nth-child(14){
    animation-delay: 1350ms;
}
.fadetxt span:nth-child(15){
    animation-delay: 1450ms;
}
.fadetxt span:nth-child(16){
    animation-delay: 1550ms;
}


/*  ドロワーメニュー */

.btn {
    background:transparent url(../img/smpbtn.gif) no-repeat 0 0;
	text-indent:-9999px;
    display: block;
    width:35px;
    height: 35px;
    position: absolute;
    top:20px;
    right:20px;
    cursor: pointer;
    z-index: 200;
}
.close {
    background-position: -35px 0;
}
