@charset "utf-8";


html{
	scroll-padding-top: 8em;
}

/* FOUT (Flash Of Unstyled Text)対策*/
/*html {
    visibility: hidden;
}


html.wf-active,
html.loading-delay {
    visibility: visible;
}*/

body{
    background: #e8e8e8; /* 背景色を設定 */
    background-image: url(../img/common/bkg.jpg);
	font-family: 'Noto Serif JP', serif;
    letter-spacing:0.1em;
	color: var(--base-color-black);
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
	/*基本配色*/
	--base-color-white:#e8e8e8;
	--base-color-black:#3d3d3d;
	--theme-color-pale:#c0d8cc;
	--theme-color-middle:#7e9c7c;
	--theme-color-dark:#546953;
	--accent-color-yellow:#d5a153;
	--accent-color-red:rgb(213,105,83);
	/*色が共通のパーツ*/
	--header-background:var(--base-color-white);
	--main-background:var(--base-color-white);
	--footer-background:var(--base-color-white);
	--link-button:var(--base-color-black);
	--link-button-hover:var(--accent-color-yellow);
	--container-header:var(--theme-color-dark);
}

/*========= 画面遷移のためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	background:#333;
	text-align:center;
	color:var(--base-color-white);
}

/* Loadingバー中央配置　*/
#splash_text {
	position: absolute;
	top: 50%;
	left: 50%;
    z-index: 999;
	width: 100%;
	transform: translate(-50%, -50%);
	color: var(--base-color-white);
}

/*IE11対策用バーの線の高さ※対応しなければ削除してください*/
#splash_text svg{
    height: 2px;
}

/*header設定*/
#header{
    position: fixed;/*h1の中央寄せ配置の起点とするためのrelative*/
    width: 100%;
    height: 148px;/*高さを全画面にあわせる*/
    z-index: 3;
} 

h1{
	font-family: 'Noto Serif JP', serif;
	font-weight: 900;
	font-style: normal;
}

h2.inline-flex-surround{
	width: calc(50% - 20px);
	display: inline-flex;
	border: #3d3d3d 1px solid;
	width: fit-content;
	margin: 10px;
}

.nav-container{
	width: 100%;
	background-color: #e8e8e8;
	opacity: 0.8;
}

.header-wrapper{
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.container-single{
	width: 100%;
	text-align: center;
}

.container-single >h1{
    text-align: left;
}

/*JSを使いfixedクラスが付与された際の設定*/
#header.fixed{
	position: fixed;/*fixedを設定して固定*/
    z-index: 998;/*最前面へ*/
    top:0;/*位置指定*/
    left:0;/*位置指定*/
	width: 100%;
	max-width: 100%;
	height: 148px;
	opacity: 1;
}

#header.fixed >.nav-container{
	opacity: 1.0;
}

.header-container{
    width: 100%;
    background-color: #e8e8e8;
}

.img-container >h1{
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-style: normal;
	/*font-size: 2vw;*/
}

.img-container >h1>span{
	font-size: 1vw;
}

.img-container{
	display: flex;
}

.right-nav{
    width: 30%;
    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.right-nav>ul{
    list-style: none;
    font-size: 16px;
    display: flex;
    padding: 20px;
    font-weight: bold;
    justify-content: space-between;
}

.right-nav li {
    margin: auto;
}

.right-nav ul li a{
    text-decoration: none;
    color:#404040;
}

.right-nav ul >img {
    object-fit: contain;
}


/*サブナビゲーション設定*/
.sub-nav-container{
    background: #c0d8cc; /* 背景色を設定 */
    background-image: url(../img/common/bkg_green.jpg);
    width: 100%; /* 幅を画面いっぱいに広げる */
    height: 6vh;
    padding: 0.5em 1em;
    text-align: left;
    display: flex;
    justify-content: center; /* 要素を中央寄せ */
}

.sub-nav-container-body{
    width: 100%;
    text-align: center;
}

/*========= サブメニュー用CSS ================*/
nav.sub-nav ul{
    display: flex;
    justify-content: space-between;
}

nav.sub-nav ul li{
    border-bottom: 1px solid var(--base-color-black);
    /* padding: 0.5em; */
}

nav.sub-nav ul li a{
    text-decoration: none;
    color: var(--base-color-black);
}

@media screen and (max-width: 767px){ 

    .sub-nav-container{
        height: 50vh;
    }

    nav.sub-nav ul{
        display: flex;
        flex-wrap: wrap;
        white-space: nowrap;
    }

    nav.sub-nav ul{
        border-top: 1px solid var(--base-color-black);
    }

    nav.sub-nav ul li{
        width: 50%;
        border-left: 1px solid var(--base-color-black);
    }

    nav.sub-nav ul li:nth-of-type(2n){
        width: 50%;
        border-right: 1px solid var(--base-color-black);
    }

    nav.sub-nav ul li:last-child{
        border-right: 1px solid var(--base-color-black);
    }

    nav.sub-nav ul li a{
        border-bottom: solid 1px var(--base-color-black);
    }
}

/*アイキャッチ設定*/
.img-area{
    position: relative;
    background: #3d3d3d;
    height: 94vh;
    z-index: 1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
    background-image: url(../img/common/eye-back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.img-area>h1{
	/*要素の配置*/
    position:absolute;
    /*要素を天地中央寄せ*/
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    /*見た目の調整*/
    color:#fff;
    text-shadow: 0 0 15px #666;
    z-index: 2;
    font-size: calc(12px + 1em); /* 画面幅に応じてフォントサイズを変化させる */
    white-space: nowrap; /* テキストを折り返さず1行に収める */
    overflow: hidden; /* テキストがはみ出た場合に隠す */
    text-overflow: ellipsis; /* テキストがはみ出した場合に省略記号（...）で表示 */
    padding: 0 10% 0 10%;
}

#img{
	position: absolute;
    z-index: 1;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 133.33333334vh; /* 4:3 の幅→4 ÷ 3＝ 133.33% */
    /*height: 75vw;*/ /* 4:3の幅 → 3 ÷ 4 = 75% */
    min-height: 100%;
    /*min-width: 100%;*/ /* 画像が4:3の為、コメントアウト*/
}

@media screen and (max-width:767px) {
    .img-area{
        height: 50vh;
        background-image: url(../img/common/eye-back_sp.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }

    #img{
        object-fit: contain;
        overflow: hidden;
        max-width: 100%;
        height: 75vh;
        min-height: auto;
    }
}

.container{
    background: #c0d8cc; /* 背景色を設定 */
    background-image: url(../img/common/bkg_green.jpg);
    width: 100%; /* 幅を画面いっぱいに広げる */
    padding: 3em 0;
    text-align: left;
    display: flex;
    justify-content: center; /* 要素を中央寄せ */
}

.container-white {
    background: #e8e8e8; /* 背景色を設定 */
    background-image: url(../img/common/bkg.jpg);
    width: 100%; /* 幅を画面いっぱいに広げる */
    padding: 3em 0;
    text-align: left;
    display: flex;
    justify-content: center; /* 要素を中央寄せ */
}

.container-child-wrapper {
    max-width: 1200px; /* 最大幅を設定 */
    width: 100%; /* 幅を100%に設定 */
    display: flex;
    justify-content: space-between;
}

.container-child {
    width: calc(50% - 20px); /* 要素間の余白を考慮して幅を半分に調整 */
    padding: 10px; /* 内側の余白を追加 */ 
    box-sizing: border-box; /* 要素の幅に内側の余白やボーダーも含める */
}

.container-child h1{
    padding: 5%;
    padding-left: 0;
}

.container-child p{
    padding: 10px 0 10px 0;
}

.container-child img {
    max-width: 100%; /* 画像の最大幅を親要素に合わせる */
    height: auto; /* アスペクト比を保持したまま高さを自動調整 */
    object-fit: contain; /* 画像を縦横比を保持したまま収める */
}

.boder-radius-white{
    border-radius: 10px;
    background: var(--base-color-white);
    padding: 2em;
}

.boder-radius-white>label{
    font-weight: bold;
}

label{
    text-align: left !important;
}

.sp{
	display: none;
}

.sp-menu{
    display: none;
}

.pc{
	display: block;
}

.ipad{
    display: none;
}

.pd-1em{
    padding: 1em;
}

.align-left{
    text-align: left;
}

.display-block{
    display: block;
}
.flex-to-block{
    display: flex;
}

a{
    color: var(--base-color-black);
}



@media screen and (max-width:1280px){
	
	.img-container >h1{
		font-size: 3vw;
	}

	.img-container >h1>span{
		font-size: 1vw;
	}

	.container-single{
		padding: 3%;
        padding: 0;
	}
}

@media screen and (max-width:1199px){

	.sp {
		display: none;
	}

    .ipad{
        display: none;
    }

	.pc {
		display: block;
	}
    
	.img-container >h1{
		font-size: 4vw;
	}

	.img-container >h1>span{
		font-size: 3vw;
	}

	.container-single{
		padding: 3%;
	}
}

@media screen and (max-width:1024px) {
    .pc{
        display: none;
    }

    .ipad{
        display: block;
    }

    .sp{
        display: block;
    }

    .sp-menu{
        display: none;
    }

    .right-nav{
        width: 30%;
    }
}

@media screen and (max-width:768px) {
    
    .pc{
        display: none;
    }

    .ipad{
        display: none;
    }

    .sp-menu{
        display: block;
    }
}

@media screen and (max-width:540px){
    .ipad{
        display: none;
    }
}

@media screen and (max-width:480px){
	.sp {
			display: block;
	}

	.pc {
			display: none;
	}

    .sp-menu{
        display: block;
    }

    .ipad{
            display: none;
    }

	.img-container >h1{
		font-size: 5vw;
		/*margin-top: 1em;*/
	}

	.img-container >h1>span{
		font-size: 3vw;
	}

	.container-single{
		padding: 3%;
	}
}

/*=========極小スマートフォン用 レイアウトのためのCSS ===============*/

@media screen and (max-width: 280px) {

    .min-sp{
        display: none;
    }

    .boder-radius{
        padding: 1em;
    }
}

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*==ナビゲーション全体の設定*/
nav#g-navi{
	/*background:#e8e8e8;*/
	color:#404040;
	text-align: center;
    /*opacity: 0.8;*/
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	font-weight: bold;
}

/*ナビゲーションを横並びに*/
nav#g-navi ul{
	list-style: none;
	display: flex;
	/*justify-content: center;*/
	justify-content: space-between;
}

/*2階層目以降は横並びにしない*/
nav#g-navi ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav#g-navi ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav#g-navi ul li a{
	display: block;
	text-decoration: none;
	font-size: 12px;
	color: #404040;
	/*padding:20px 35px;*/
	padding: 20px;
	transition:all .3s;
}

nav#g-navi ul li li a{
	padding:10px 35px;
}

nav#g-navi ul li a:hover{
	color:#C45911;	
}

.hidden{
	overflow: hidden;
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav#g-navi ul li.has-child::before{
	content:'';
	position: absolute;
	left:5px;
	top:28px;
	width:6px;
	height:6px;
	border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
}

/*3階層目を持つliの矢印の設定*/
nav#g-navi ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:6px;
	top:17px;
	width:6px;
	height:6px;
    border-top: 2px solid #fff;
    border-right:2px solid #fff;
    transform: rotate(45deg);
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav#g-navi li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:62px;
	z-index: 4;
    /*形状を指定*/
	background:#e8e8e8;
	width:300px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
}

/*hoverしたら表示*/
nav#g-navi li.has-child:hover > ul,
nav#g-navi li.has-child ul li:hover > ul,
nav#g-navi li.has-child:active > ul,
nav#g-navi li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav#g-navi li.has-child ul li a{
	color: #404040;
	border-bottom:solid 1px rgba(255,255,255,0.6);
}

nav#g-navi li.has-child ul li:last-child a{
	border-bottom:none;
}

nav#g-navi li.has-child ul li a:hover,
nav#g-navi li.has-child ul li a:active{
	background:#e8e8e8;
    color: #C45911;
}


/*==3階層目*/

/*3階層目の位置*/
nav li.has-child ul ul{
	top:0;
	left:182px;
	background:#66ADF5;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
	background:#448ED3;
}

/*========= レイアウトのためのCSS ===============*/


/*申込方法紹介コンテナCSS*/
.container-apply-wrapper {
    display: flex;
    flex-direction: row; /* 要素を横並びにする */
    align-items: flex-start; /* 上端に揃える */
    justify-content: space-between; /* 要素を均等に配置 */
    flex-wrap: wrap; /* 要素が行をまたぐ場合に折り返す */
    margin-top: 1em;
}

.apply-container{
    background-color: #e8e8e8;
    border-radius: 10px;
    width: calc(33.33% - 20px);
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: center;
    white-space: nowrap;
}

.apply-container img{
    object-fit: contain;
    width: 100%;
    height: 150px;
}

.apply-container>a :hover{
    opacity: 0.5;
}

.apply-container-header{
    background-color: var(--container-header);;
    font-weight: bold;
    color: #e8e8e8;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
    padding: 1em;
    white-space: nowrap;
    overflow: hidden;
}

/*受講料等金額紹介*/

.container-price-wrapper {
    display: flex;
    flex-direction: row; /* 要素を横並びにする */
    align-items: flex-start; /* 上端に揃える */
    justify-content: space-between; /* 要素を均等に配置 */
    flex-wrap: wrap; /* 要素が行をまたぐ場合に折り返す */
    margin: 1em 0 1em 0;
}

.price-container{
    background-color: #e8e8e8;
    border-radius: 10px;
    width: calc(33.33% - 20px);
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: center;
}

.price-container img{
    object-fit: contain;
    width: 100%;
    height: 150px;
}

.price-container>a :hover{
    opacity: 0.5;
}

.price-container-header{
    background-color: var(--container-header);
    font-weight: bold;
    color: #e8e8e8;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
    padding: 1em;
    white-space: nowrap;
    overflow: hidden;
}

.price{
    font-weight: bold;
    font-size: xx-large;
    padding: 0.25em;
}

.few-price{
    font-weight: bold;
    font-size: x-large;
    color: red;
}

/*講師紹介コンテナ*/

.container-teacher-wrapper{
	width: 100%;
    display: flex;
    flex-direction: row; /* 要素を横並びにする */
    align-items: flex-start; /* 上端に揃える */
    justify-content: space-between; /* 要素を均等に配置 */
    flex-wrap: wrap; /* 要素が行をまたぐ場合に折り返す */
  }

.teacher-container{
    background-color: #e8e8e8;
    border-radius: 10px;
    /* width: calc(33.33% - 20px); */
    width: calc(50% - 30px);
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: center;
}

.teacher-container-header{
    text-align: center;
}

.teacher-container-header img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    object-position: 0 10%;
    width: 100%;
    height: 350px;
}

.info-container{
    padding: 3em;
    padding-bottom: 0;
}

.info-container-header{
    background-color: var(--container-header);
    font-weight: bold;
    color: #e8e8e8;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
    padding: 1em;
}

.info-container-body{
    background-color: #e8e8e8;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: center;
    padding: 1.5em;
}

.info-container-body>div>ul>li>label::after{
    content: "：";
}

/*=========タブレット用 レイアウトのためのCSS ===============*/
@media screen and (max-width: 1199px){

    .container-cource-header-container{
        display: flex;
        align-items: center;
    }

    .container-cource-header>h1{
        margin-top: 0;
    }
    .container-cource-header-last>h1{
        margin-top: 0;
    }

    .container-cource-header::after{
        content: "";
        position: absolute; /* 絶対位置指定 */
        top: 50%; /* 上下中央に配置 */
        right: -20px; /* 右側に配置 */
        left: 105%;
        border: solid transparent;
        border-width: 20px;
        border-left-color:#e8e8e8;
        transform: translateY(-50%); /* 上下中央に配置 */
    }

    .container-teacher-wrapper{
        padding: 3%;
    }

    .teacher-container{
        background-color: #e8e8e8;
        border-radius: 10px;
        width: calc(50% - 8px);
        border: 1px solid #ccc;
        box-sizing: border-box;
        margin-bottom: 20px;
        text-align: center;
    }

    .apply-container{
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    .price-container{
        width: calc(50% - 20px);
    }
}

/*=========タブレット用 レイアウトのためのCSS ===============*/
@media screen and (max-width: 1199px){

    .container-teacher-wrapper{
        padding: 3%;
    }

    .teacher-container{
        background-color: #e8e8e8;
        border-radius: 10px;
        width: calc(50% - 8px);
        border: 1px solid #ccc;
        box-sizing: border-box;
        margin-bottom: 20px;
        text-align: center;
    }

    .apply-container{
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    .price-container{
        width: calc(50% - 20px);
    }
}

/*=========スマートフォン用 レイアウトのためのCSS ===============*/

@media screen and (max-width: 767px) {
    
    .container-apply-wrapper{
        padding: 3%;
    }

    .apply-container{
        width: 100%;
    }

    .price-container{
        width: 100%;
    }

    .info-container{
        width:100%;
        padding: 0;
        margin-top: 5%;
    }

    .flex-to-block{
        display: block;
    }

    .container-teacher-wrapper{
        display: block;
        padding: 3%;
    }

    .teacher-container{
        width: 100%;
    }

}

/*=========極小スマートフォン用 レイアウトのためのCSS ===============*/

@media screen and (max-width: 280px){

    .apply-container{
        white-space: normal;
    }

    .apply-container-header{
        white-space: normal;
    }

    .price-container-header{
        white-space: normal;
    }

}

@media screen and (max-width:912px){

	.container{
        padding:5% 0 5% 0;
    }

    .container-white{
        padding:5% 0 5% 0;
    }

    .container-child-wrapper{
        display: block;
        margin-top: auto;
        margin-bottom: auto;
    }

    .container-child{
        width: 100%; /* 要素間の余白を考慮して幅を半分に調整 */
        padding: 10px; /* 内側の余白を追加 */ 
        box-sizing: border-box; /* 要素の幅に内側の余白やボーダーも含める */
    }
}

@media screen and (max-width:480px) {

    .container{
        padding:5% 0 5% 0;
    }

    .container-white{
        padding:5% 0 5% 0;
    }

    .container-child-wrapper{
        display: block;
    }

    .container-child{
        width: 100%; /* 要素間の余白を考慮して幅を半分に調整 */
        padding: 10px; /* 内側の余白を追加 */ 
        box-sizing: border-box; /* 要素の幅に内側の余白やボーダーも含める */
    }
}

/*==768px以下の形状*/

@media screen and (max-width:768px){
	/*========= ナビゲーションのためのCSS ===============*/
.nav-container{
    opacity: 1.0;    
}

.img-container img{
	max-width: 220px;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

nav#g-navi{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-120%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#e8e8e8;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
nav#g-navi.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
nav#g-navi.panelactive #g-navi-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/

/*ハンバーガーの時は透過させない*/
nav#g-navi.nav-container{
	opacity: 1;
}

nav#g-navi ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
	width: 80%;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*ナビゲーションを縦並びに*/
nav#g-navi ul{
	display: block;
}
/*リストのレイアウト設定*/

nav#g-navi li{
	list-style: none;
    text-align: center; 
}

nav#g-navi li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ナビゲーション 子要素のCSS ========*/

nav#g-navi{
    padding: 0;
  }
  
nav#g-navi ul{
    display: block;
}

nav#g-navi ul li a{
	padding: 15px;
    font-size: 0.95em;
}

nav#g-navi li.has-child ul li a{
	border-bottom: none;
}
  
nav#g-navi li.has-child ul,
nav#g-navi li.has-child ul ul{
	position: relative;
	width: 95%;
	left: calc(50%);
	top: 75px;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}
  
/*矢印の位置と向き*/

nav#g-navi ul ul li.has-child::before{
    transform: rotate(135deg);
}
    
nav#g-navi ul li.has-child.active::before{
    transform: rotate(-45deg);
}

nav#g-navi ul li.has-child::before{
    left: 25%;
}
/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
	background:#3d3d3d
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #e8e8e8;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:13px;	
}

.openbtn span:nth-of-type(2) {
	top:19px;
}

.openbtn span:nth-of-type(3) {
	top:25px;
}

.openbtn span:nth-of-type(3)::after {
	content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
	position: absolute;
	top:5px;
	left:-3px;
	color: #fff;
	font-size: 0.5rem;
	text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

.openbtn.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(3)::after {
	content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
	top:5px;
	left:6px;
}


}


/*========= footerのためのCSS ===============*/

footer{
	width: 100%;
	background-color: #3d3d3d;
	padding: 20px;
}

footer img{
	background-color: #e8e8e8;
}

footer p{
	color: #e8e8e8;
	text-align: center;
}

footer p.policy{
	text-align: right;
}

footer p.policy>a{
	color: #e8e8e8;
}

.footer-wrapper{
	max-width: 1200px;
	width: 100%; /* 幅を100%に設定 */
    display: flex;
	margin-left: auto;
	margin-right: auto;
}

.footer-container{
	width: 100%; /* 幅を100%に設定 */
}

footer ul{
	list-style: none;
	display: flex;
	/*justify-content: center;*/
	justify-content: space-between;
}

footer ul li a{
	display: block;
	text-decoration: none;
	font-size: 12px;
	color: #e8e8e8;
	padding: 20px 15px 15px 15px;
	transition:all .3s;
}

footer ul li a:hover{
	color:#C45911;
}

/* iPhoneSE・12pro用の改行*/
.se{
    display: none;
}

@media screen and (max-width:400px) {
    /* iPhoneSE・12pro用の改行*/
    .se{
        display: block;
    }
}

/* ボタン共通設定 */
.btn06{
    /*矢印の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
	background:#3d3d3d;
	color:#fff;
    padding: 10px 40px 10px 30px;
	margin: 10px;
	border-radius:25px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/
    transition: ease .2s;
}

.btn06:hover{
	background:#C45911;
}

.btn06-glay{
    /*矢印の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
	background:gray;
	color:#fff;
    padding: 10px 40px 10px 30px;
	margin: 10px;
	border-radius:25px;
    text-align: center;
    outline: none;
    opacity: 0.5;
    /*アニメーションの指定*/
    transition: ease .2s;
}

.btn06:hover{
	background:#C45911;
}

/* 矢印が右に移動 */

.btnarrow1::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
	position: absolute;
    top:42%;
    right: 13px;
    /*矢印の形状*/
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow1:hover::after{
    right: 11px;
}

/*========= スクロールダウンのためのCSS ===============*/


/*=== 矢印が動いてスクロールを促す  ====*/

/*スクロールダウン全体の場所*/
.scrolldown4{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	bottom:1%;
	right:50%;
    /*矢印の動き1秒かけて永遠にループ*/
	animation: arrowmove 1s ease-in-out infinite;
    z-index:2;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }

/*Scrollテキストの描写*/
.scrolldown4 span{
    /*描画位置*/
	position: absolute;
	left:-25px;
	bottom:10px;
    /*テキストの形状*/
	color: #e8e8e8;
	font-size: 1rem;
	letter-spacing: 0.1em;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -6px;
    /*矢印の形状*/
    width: 1px;
    height: 20px;
    background: #e8e8e8;
    transform: skewX(-31deg);
}

.scrolldown4:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:0;
	right:0;
    /*矢印の形状*/
	width:1px;
	height: 50px;
	background:#eee;
}

/****** 要素アニメーション用のCSS *******/
/* 下から */

.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeUpAnime{
      from {
        opacity: 0;
        transform: translateY(100px);
      }
    
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

.fadeUpTrigger{
    opacity: 0;
    }

/* スクロールをしたら出現する要素にはじめに透過0を指定 */

/*==================================================
じわっ
===================================*/

/* ぼかしから出現 */
.blur{
	animation-name:blurAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
    opacity: 0;
	filter: blur(10px);
	transform: scale(1.02);
  }

  to {
    opacity: 1.0;
	filter: blur(0);
	transform: scale(1);
  }
}

.blurTrigger{
    opacity: 0;
}

/*==================================================
スーッ（枠線が伸びて出現）
===================================*/

/*枠線が伸びて出現*/

.lineTrigger{
  position: relative; /* 枠線が書かれる基点*/
  opacity:0;
}

.lineTrigger.lineanime{
  animation-name:lineAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes lineAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*上下線*/
.lineTrigger::before,
.lineTrigger::after{
  position: absolute;
  content:"";
  width:0;
  height:1px;
  background:var(--base-color-black);/* 枠線の色*/
}

/*左右線*/
.line2::before,
.line2::after{
  position: absolute;
  content:"";
  width: 1px;
  height:0;
  background:var(--base-color-black);/* 枠線の色*/
}

/*上線*/
.lineTrigger::before {
  top:0;
  left:0;
}

.lineTrigger.lineanime::before {
  animation: lineAnime .5s linear 0s forwards;/*表示されて0秒後に上線が0.5秒かけて表示*/
}

/*右線*/
.line2::before{ 
  top:0;
  right:0;
}

.lineTrigger.lineanime .line2::before {
  animation: lineAnime2 .5s linear .5s forwards;/*表示されて0.5秒後に右線が0.5秒かけて表示*/
}

/*下線*/
.lineTrigger::after { 
  bottom:0;
  right:0;
}

.lineTrigger.lineanime::after {
  animation: lineAnime .5s linear 1s forwards;/*表示されて1秒後に下線が0.5秒かけて表示*/
}

/*左線*/
.line2::after{ 
  bottom:0;
  left:0;
}

.lineTrigger.lineanime .line2::after {
  animation: lineAnime2 .5s linear 1.5s forwards;/*表示されて1.5秒後に左線が0.5秒かけて表示*/
}

@keyframes lineAnime {
  0% {width:0%;}
    100%{width:100%;}  
}

@keyframes lineAnime2 {
  0% {height:0%;}
    100%{height:100%;}
}

/*枠線内側の要素*/

.lineTrigger.lineanime .lineinappear{
  animation: lineInnerAnime .5s linear 1.5s forwards;/*1.5秒後に中央のエリアが0.5秒かけて表示*/
  opacity: 0;/*初期値を透過0にする*/ 
}

@keyframes lineInnerAnime{
  0% {opacity:0;}
    100% {opacity:1;}
}

/*========= スクロールトップのためのCSS =========*/

/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom:30px;
    z-index: 2;
      /*はじめは非表示*/
    opacity: 0;
    transform: translateY(150px);
  }
  
  /*　上に上がる動き　*/
  #page-top.UpMove{
    animation: UpAnime 0.5s forwards;
  }
  
  @keyframes UpAnime{
    from {
      opacity: 0;
    transform: translateY(150px);
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  
  /*　下に下がる動き　*/
  #page-top.DownMove{
    animation: DownAnime 0.5s forwards;
  }
  
  @keyframes DownAnime{
    from {
      opacity: 1;
    transform: translateY(0);
    }
    to {
      opacity: 1;
    transform: translateY(150px);
    }
  }
  
  /*画像の切り替えと動き*/
  #page-top a {
      /*aタグの形状*/
    display: block;
    width: 100px;
    height: 100px;
    color: var(--base-color-black);
    text-align: center;
    text-transform: uppercase; 
    text-decoration: none;
    font-size:0.6rem;
      /*背景画像の指定*/
    background: url("../img/common/tyasen.png") no-repeat center;
    background-size: contain;
  }
  
  #page-top.floatAnime a{
    width: 100px;
    height: 130px;
      /*背景画像の指定*/
    background: url("../img/common/balloon_ec.png") no-repeat center;
    background-size: contain;
      /*アニメーションの指定*/
    animation: floatAnime 2s linear infinite;
    opacity: 0;
  }
  
  @keyframes floatAnime {
    0% { transform: translateX(0); opacity: 0; }
    25% { transform: translateX(-6px);opacity: 1; }
    50% { transform: translateX(0) }
    100% { transform: translateX(6px);opacity: 1; }
  }
  
  /*Page Topと書かれたテキストの位置*/
  #page-top span{
      position: absolute;
      bottom: -20px;
      right: 20px;
      color: #666;
      font-size: small;
  }


/*ページトップ(スマホ用)*/
/*========= ページトップのためのCSS ===============*/
/*スクロールリンクの形状*/
@media screen and (max-width:1180px){
   /*リンクの形状*/
#page-top_sp a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:var(--theme-color-dark);
	border-radius: 5px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top_sp a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top_sp {
	position: fixed;
	right: 10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top_sp.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top_sp.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}
}

/* プリントレイアウト用のCSS */

/* PC用 */
@media print{
    header#header{
        position: absolute;
    }

    #header.fixed{
        position: absolute;
    }
    
    .fadeUp,.blur{
        opacity: 1.0;
    }

    .fadeUpTrigger,.blurTrigger{
        opacity: 1.0;
    }

    #page-top {
        display: none;
        position: fixed;
        right: 10px;
        bottom:30px;
        z-index: 2;
          /*はじめは非表示*/
        opacity: 0;
        transform: translateY(150px);
      }

     /*画像の切り替えと動き*/
    #page-top a {
        /*aタグの形状*/
        display: block;
        width: 100px;
        height: 100px;
        color: var(--base-color-black);
        text-align: center;
        text-transform: uppercase; 
        text-decoration: none;
        font-size:0.6rem;
            /*背景画像の指定*/
        background: url("../img/common/tyasen.png") no-repeat center;
        background-size: contain;
    }  

    .se{
        display: none;
    }
}

/* スマホ用 */
@media print and (max-width: 767px) {

    .sp {
		display: block;
	}

	.pc {
			display: none;
	}

    header#header{
        position: absolute;
    }

    #header.fixed{
        position: absolute;
    }

    .fadeUp,.blur{
        opacity: 1.0;
    }

    .fadeUpTrigger,.blurTrigger{
        opacity: 1.0;
    }

    .img-container img{
        max-width: 220px;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .sub-nav-container{
        height: 25vh;
    }

    .img-area{
        height: 50vh;
    }

    #img{
        object-fit: contain;
        overflow: hidden;
        max-width: 100%;
        height: 75vh;
        min-height: auto;
    }

    .container-apply-wrapper{
        padding: 3%;
    }

    .apply-container{
        width: 100%;
    }

    .price-container{
        width: 100%;
    }

    .info-container{
        width:100%;
        padding: 0;
        margin-top: 5%;
    }

    .flex-to-block{
        display: block;

    }

    .container{
        padding:5% 0 5% 0;
    }

    .container-white{
        padding:5% 0 5% 0;
    }

    .container-child-wrapper{
        display: block;
        margin-top: auto;
        margin-bottom: auto;
    }

    .container-child{
        width: 100%; /* 要素間の余白を考慮して幅を半分に調整 */
        padding: 10px; /* 内側の余白を追加 */ 
        box-sizing: border-box; /* 要素の幅に内側の余白やボーダーも含める */
    }

    .container-single{
		padding: 3%;
	}
    
    .container-teacher-wrapper{
        display: block;
        padding: 3%;
    }

    .teacher-container{
        width: 100%;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    .img-container img{
        max-width: 220px;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }
    
    nav#g-navi{
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position:fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top:-120%;
        left:0;
        width:100%;
        height: 100vh;/*ナビの高さ*/
        background:#e8e8e8;
        /*動き*/
        transition: all 0.6s;
    }
    
    /*アクティブクラスがついたら位置を0に*/
    nav#g-navi.panelactive{
        top: 0;
        display: none;
    }
    
    /*ナビゲーションの縦スクロール*/
    nav#g-navi.panelactive #g-navi-list{
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999; 
        width: 100%;
        height: 100vh;/*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /*ナビゲーション*/
    
    /*ハンバーガーの時は透過させない*/
    nav#g-navi.nav-container{
        opacity: 1;
    }
    
    nav#g-navi ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        width: 80%;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
    }
    
    /*ナビゲーションを縦並びに*/
    nav#g-navi ul{
        display: block;
    }
    /*リストのレイアウト設定*/
    
    nav#g-navi li{
        list-style: none;
        text-align: center; 
    }
    
    nav#g-navi li a{
        color: #333;
        text-decoration: none;
        padding:10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }
    
    /*========= ナビゲーション 子要素のCSS ========*/
    
    nav#g-navi{
        padding: 0;
      }
      
    nav#g-navi ul{
        display: block;
    }
    
    nav#g-navi ul li a{
        padding: 15px;
        font-size: 0.95em;
    }
    
    nav#g-navi li.has-child ul li a{
        border-bottom: none;
    }
      
    nav#g-navi li.has-child ul,
    nav#g-navi li.has-child ul ul{
        position: relative;
        width: 95%;
        left: calc(50%);
        top: 75px;
        visibility:visible;/*JSで制御するため一旦表示*/
        opacity:1;/*JSで制御するため一旦表示*/
        display: none;/*JSのslidetoggleで表示させるため非表示に*/
        transition:none;/*JSで制御するためCSSのアニメーションを切る*/
    }
      
    /*矢印の位置と向き*/
    
    nav#g-navi ul ul li.has-child::before{
        transform: rotate(135deg);
    }
        
    nav#g-navi ul li.has-child.active::before{
        transform: rotate(-45deg);
    }
    
    nav#g-navi ul li.has-child::before{
        left: 25%;
    }
    /*========= ボタンのためのCSS ===============*/
    .openbtn{
        position:absolute;
        z-index: 9999;/*ボタンを最前面に*/
        top:10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height:50px;
        background:#3d3d3d
    }
        
    /*×に変化*/	
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #e8e8e8;
          width: 45%;
      }
    
    .openbtn span:nth-of-type(1) {
        top:13px;	
    }
    
    .openbtn span:nth-of-type(2) {
        top:19px;
    }
    
    .openbtn span:nth-of-type(3) {
        top:25px;
    }
    
    .openbtn span:nth-of-type(3)::after {
        content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
        position: absolute;
        top:5px;
        left:-3px;
        color: #fff;
        font-size: 0.5rem;
        text-transform: uppercase;
    }
    
    /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
    
    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .openbtn.active span:nth-of-type(3){
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    
    .openbtn.active span:nth-of-type(3)::after {
        content:"Close";/*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top:5px;
        left:6px;
    }

    #page-top_sp{
        display: none;
    }

    iframe{
        position: absolute;
    }
  }
  
@media print and (max-width:400px){
    
    /* iPhoneSE・12pro用の改行*/
     .se{
        display: block;
    }

}