/*
Theme Name: afloat_evrnt
Author: cachiport
Version: 1.0
Description:afloat_event theme
*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');
/* ===================================================================
// 基本スタイル
// ===================================================================*/

html {
  font-size: 62.5%;
  font-family: ' Noto Sans JP', sans-serif;
  -webkit-font-feature-settings: "pkna" 1;
          font-feature-settings: "pkna" 1;
  height: 100%;
}


body {
	/*テーマカラー*/
	--thema-color:#E3838E ;/*メインカラー*/ 
	--thema-color2: #C24E75;/*サブカラー*/
	/*フォントカラー*/
	--font-color:#333333;
	/*ボタン*/
	--btn1font-color:#683671;/*通常時文字色＆ホバー時背景色*/
	--btn1back-color:#fff;/*ホバー文字色&通常時背景色*/
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--themafont-color);
  font-weight: 400;
  overflow-x: hidden;
  height: 100%;
  max-width: 100%;
}
.wrapper{
	padding: 0 14.3vw;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 1.2rem;
  }
.wrapper{
	padding: 0 2.7rem;
}
}


/* ボックスサイズ */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/* 行間 */
p{
  line-height: 1.8;
		font-size: 1.6rem ;
		margin: 1rem 0;
		font-family: "Noto Sans JP", sans-serif;
		font-weight: 500;
		font-style: normal;
		color: var(--font-color);
		line-height: normal;
		letter-spacing: 1.6px;

}
div, h1, h2, h3, h4, h5, li {
  line-height: 1.2;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: var(--font-color);
}
/* リンク */
a {
  text-decoration: none;
  -webkit-transition: .3s;
  transition: .3s;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #070707;
}


  a:hover {
    opacity: .7;
  }

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

.object_fit_img {
  -o-object-fit: cover;
     object-fit: cover;
 font-family: 'Noto Sans JP', sans-serif;
}
/* flex */
.flex_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
	justify-content: space-between;
}

@media screen and (max-width: 1020px) {
  .flex_wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

/* pc & sp */
.pc {
  display: inline-block;
}

.sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: inline-block;
  }
}
/*諸々*/
.en_bold{
	font-family: Vollkorn;
	font-style: normal;
	font-weight: 700;
}
.pink{
	color: var(--thema-color2);
  }
.block_top, .block_bottom{
	width: 90rem;
}
.block_bottom{
	margin-left: auto;
    display: block;
}
@media screen and (max-width: 767px) {
	.block_top, .block_bottom{
		width: 100%;
	}
}
  /*fadein*/
  
  .fadein {
	opacity: 0;
	transition-duration: 1000ms;
	transition-property: opacity, transform;
	transform: translate(0, 3rem);
  }
  
  .scroll-in {
	opacity: 1;
	transform: translate(0, 0);
  }
/* ===================================================================
// ヘッダー
// ===================================================================*/


/*ナビゲーション*/

#header {
	width: 100%;
	justify-content: space-between;
	  position: fixed;
	  z-index: 99;
	  background-color:rgb(252, 252, 252,0%);
  }
#header .logo{
	margin-left: 2.9rem;
	margin-top: 1.5rem;
	height: 100%;
	z-index: 1000;
}
#header .logo img{
	width: 6.2rem;
}
.header_ul a{
	padding: 0.5rem 0;
	display: block;
	width: 100%;
	min-width: 9.5vw;
	height: 100%;
}
.header_ul a:hover{
	background-color: #000000;
	opacity: 1;
}
.header_ul p{
	margin:  0;
	padding: 0.5rem 0;
	position: relative;
	text-align: center;
	font-size: 1vw;
	line-height: 1.5;
	letter-spacing: 1.68px;
}
.header_ul .nav_li{
	width: 12.7vw;
}

@media screen and (max-width: 767px) {
	.header_ul{
		display:  none;
	}
	  }
@media screen and (min-width: 767px) {
	#header .logo{
		width: 8.2rem;
	}
	  }
/* 
ハンバーガーメニュー　
*/
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	opacity: 0;
	visibility: hidden;
	width: 100%;
    height: 100vh;/*ナビの高さ*/
	background-color: var(--thema-color2);
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    height: 100%;
	opacity: 0.9;
	visibility: visible;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
	position: relative;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: auto;
	-webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
	position: absolute;
    z-index: 999;
    top: 10rem;
    font-size: 2rem;
    line-height: 1.7;
    width: 100%;
}

/*リストのレイアウト設定*/
#g-nav .g-nav_ul{
	padding: 0;
}
#g-nav li{
	list-style: none;
	width: 100%;
    display: grid;
	position: relative;
	transition: .3s;
}
#g-nav li a{
	margin: 0;
}
#g-nav li a{
	text-decoration: none;
    padding: 1.5rem 8.1rem;
    color: #fff;
	cursor: pointer;
	transition: .3s;
	line-height: 1.2;
	font-family: Vollkorn;
	font-size: 2.4rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 1.2px;
  }


  #g-nav li a span{
	font-size: 1.5rem;
	font-style: normal;
	font-weight: 500;
	letter-spacing: 1.5px;
	font-family: Noto Sans JP;
  }

  @media screen and (min-width: 767px) {
	#g-nav li a{
		text-align: center;
		padding: 2rem 8.1rem;
		font-size: 2.6rem;
	}
	#g-nav li a span{
		font-size: 1.6rem;
	}
	  }

/*========= ボタンのためのCSS ===============*/
.openbtn{
	display: block;
    position: fixed;
    z-index: 9999;
    top: 1.9rem;
    right: 2.6rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 30px;
	background-color: var(--thema-color2);
}
  .openbtn span{
	display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 12.5px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 49%;
}

.openbtn span:nth-of-type(1) {
    top: 14px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 32px;
}
@media screen and (min-width: 767px) {
	.openbtn{
		width: 70px;
		height: 70px;
		border-radius: 50px;
	}
	.openbtn span{
		left: 17.5px;
	}
	.openbtn span:nth-of-type(1) {
		top: 22px;
	}
	
	.openbtn span:nth-of-type(2) {
		top: 33px;
	}
	
	.openbtn span:nth-of-type(3) {
		top: 44px;
	}
}
/*×に変化*/	

.openbtn.active{
	background-color: #fff;
}
.openbtn.active span{
	background-color: var(--thema-color2);
}
.openbtn.active span:nth-of-type(1) {
	top: 17px;
    left: 12.5px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
	top: 29px;
    left: 12px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}
@media screen and (min-width: 767px) {
	.openbtn.active span:nth-of-type(1) {
		top: 27px;
		left: 17.5px;
	}
	.openbtn.active span:nth-of-type(3){
		top: 39px;
		left: 17.5px;
	}
}
/*画面固定ボタン*/
.fixed_btn{
	position: fixed;
	right: 2%;
	z-index: 98;
	bottom: 4%;
	transition: .3s;
}
.fixed_btn img{
	width: 23.4vw;
}
.test_header .fixed_btn{
	visibility: hidden;
	opacity: 0;
}
@media screen and (max-width: 767px) {
.fixed_btn.is-hidden{
	visibility: hidden;
	opacity: 0;
}
.fixed_btn img{
	width: 18.5rem;
}
}

/* ===================================================================
// TOPページ
// ===================================================================*/
/*FV*/
.fv{
	position: relative;
}
.fv .mainimg img{
	width: 100%;
}
.fv .fv_txt{
	height: 8rem;
	background-color: var(--thema-color2);
}
.fv .fv_txt img{
	margin: auto;
    display: block;
	padding-top: 1.3rem;
	width: 33.5rem;
}

@media screen and (max-width: 767px) {
	.fv_box{
		width: 20.5vw;
	}
	.fv .mainimg .object_fit_img{
		width: 100%;
		object-position: 7%;
	}
  }
  @media screen and (min-width: 767px) {
	.sp_br{
		display: none;
	}
	.fv .fv_txt img{
		padding-top: 0rem;
		width: 46rem;
	}
	
  }

  /*top*/
  .event_top{
	padding-top: 3.7rem;
	padding-bottom: 2.4rem;
  }
  .event_top p{
	margin-bottom: 3.4rem;
  }
  .event_top .flex_wrap{
	justify-content: center;
	gap: 1.1rem;
	align-items: center;
  }
  .event_top .flex_wrap .en_bold{
	font-size: 1.6rem;
  }
  .event_top .flex_wrap img{
	height: 5rem;
  }
  @media screen and (min-width: 767px) {
	.event_top{
		padding-top: 5rem;
		padding-bottom: 8rem;
	  }
	.event_top p{
		text-align: center;
	}
  }
  /*point*/
  .sub_ttl{
	text-align: center;
  }
  .sub_ttl h2{
	color: var(--thema-color2);
	font-size: 2.4rem;
	letter-spacing: 1.2px;
  }
  .sub_ttl p{
	color: var(--thema-color2);
	font-size: 1.6rem;
	letter-spacing: 1.6px;
  }
  .event_point .sub_ttl{
	margin-bottom: 8.4rem;
  }
  .event_point{
	background: #FAEAEC;
  }

  .event_point .wrapper{
	padding-top: 3.7rem;
	padding-bottom: 6.7rem;
  }
  .event_point ul{
	display: flex;
	flex-direction: column;
	gap: 6.4rem;
  }
  .event_point ul li{
	width: 100%;
	border-radius: 10px;
	border: 2px solid var(--thema-color2);
	background: #FFF;
	box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.20);
	display: flex;
	flex-direction: column;
	padding: 6.6rem 2.5rem 5rem;
	position: relative;
  } 
   .event_point ul li .num{
	font-size: 2.9rem;
	letter-spacing: 2.9px;
	color: #fff;
	background-color: var(--thema-color2);
	width: 7rem;
	height: 7rem;
	border-radius: 50px;
	position: absolute;
	margin: auto;
	top: -10%;
	left: 0;
	right: 0;
  }
  .event_point ul li .num span{
    display: block;
    margin-top: 1.7rem;
	margin-left: 0.35rem;
	font-weight: 700;
  }
  .event_point ul li img{
	margin: 0 auto 2.5rem;
	height: 6rem;
  }
  .event_point ul li div{
	text-align: center;
  }
  .event_point ul li h3{
	text-align: center;
    border-bottom: solid 2px var(--thema-color2);
    display: inline;
    font-size: 1.8rem;
    letter-spacing: 1.8px;
    line-height: 2.5;
    padding: 0 0rem 1.3rem;
	font-weight: 700;
  }
  .event_point ul li p{
	margin: 2rem 0 0;
  }
  @media screen and (min-width: 1020px) {
	.event_point ul{
		display: flex;
		flex-direction: initial;
		gap: 3.6rem;
	  }
  }
  @media screen and (min-width: 767px) {
	.sub_ttl{
		text-align: center;
	  }
	  .sub_ttl h2{
		font-size: 3rem;
		letter-spacing: 1.5px;
	  }
	  .sub_ttl p{
		font-size: 1.8rem;
		letter-spacing: 1.8px;
	  }
	  .event_point .sub_ttl{
		margin-bottom: 10.4rem;
	  }
	  .event_point .wrapper {
		padding-top: 0rem;
		padding-bottom: 3.3rem;
		margin-top: -7rem;
	}
  }

  /*teacher*/
  .event_teacher .wrapper{
	padding-top: 0rem;
	padding-bottom: 2rem;
  }
  .event_teacher .sub_ttl{
	margin-bottom: 5rem;
  }
  .event_teacher .flex_wrap{
	flex-direction: column;
  }
  .event_teacher .flex_wrap img{
	object-fit: cover;
	width: 100%;
height: 33rem;
  }
  .event_teacher .flex_wrap h3{
	font-size: 2.4rem;
	letter-spacing: 1.2px;
	background-color: var(--thema-color2);
	color: #fff;
	display: inline-block;
	margin-top: 3.1rem;
	margin-bottom: 0.8rem;
	line-height: normal;
	padding: 0 1.5rem;
  }
  .event_teacher .flex_wrap span{
	font-size: 1.8rem;
	letter-spacing: 1.6px;
	color: var(--thema-color2);
	font-weight: 700;
  }
  .event_teacher .flex_wrap p{
	font-size: 1.5rem;
	letter-spacing: 1.5px;
  }
  .teacher_border{
	display: block;
	height: 2px;
	width: 100%;
	background-color: var(--thema-color2);
	margin: 7rem 0 6rem;
  }

  @media screen and (min-width: 1020px) {
	.event_teacher .wrapper{
		margin-top: -7rem;
		padding-bottom: 0;
	}
	.event_teacher .flex_wrap{
		flex-direction: initial;
		justify-content: center;
	  }
	  .event_teacher .teacher2{
		flex-direction: column;
		justify-content: flex-start;
	  }
	  .teacher_border{
		display: block;
		height: auto;
		width: 2px;
		background-color: var(--thema-color2);
		margin: 0rem 13% 0rem;
	  }
	  .event_teacher .flex_wrap img{
		object-fit: cover;
		margin-right: 3%;
		width: 288px;
		height: 278px;
	  }
	  .teacher_box{
		display: flex;
		flex-direction: column;
		width: 288px;
	  }
  }
/*flow*/
.event_flow{
	background-color: #FAEAEC;
	padding-top: 8rem;
	padding-bottom: 8rem;
}
.event_flow .sub_ttl{
	margin-bottom: 5rem;
}
.event_flow ul.flex_wrap{
	width: 100%;
	gap: 1.5rem;
	flex-direction: column;
}
.event_flow li.flex_wrap{
	width: 100%;
	height: 6.8rem;
}
.event_flow li.flex_wrap .flow_list_l{
	background-color: var(--thema-color2);
	width: 17.5%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}
.event_flow li.flex_wrap .flow_list_l span{
	font-size: 1.4rem;
}
.event_flow li.flex_wrap .flow_list_l img{
	width: 2rem;
	margin: 0 auto;
}
.event_flow li.flex_wrap .flow_list_l span{
	color: #fff;
	margin-bottom: 6px;
}
.event_flow li.flex_wrap .flow_list_r{
	background-color: #fff;
	width: 82.5%;
	display: flex;
    align-items: center;
}

.event_flow li.flex_wrap .flow_list_r p{
	font-size: 1.6rem;
	padding: 0 0 0 1.3rem;
}
.event_flow .arrow_down{
	width: 2rem;
	height: 2rem;
	margin-left: 6%;
}
.event_flow  li.flow3{
	height: 12rem;
}
@media screen and (min-width: 767px) {
	.event_flow{
		padding-top: 10rem;
		padding-bottom: 10rem;
	}
	.event_flow ul.flex_wrap {
		width: 60.4rem;
		gap: 1.5rem;
		flex-direction: column;
		margin: 0 auto;
	}
	.event_flow li.flex_wrap .flow_list_r p{
		font-size: 1.8rem;
		padding: 0 0 0 3.2rem;
	}
	.event_flow .arrow_down{
		margin-left: 7%;
	}
}
/*application*/
.event_apply .wrapper{
    margin-top: -5rem;
    padding-bottom: 3rem;
}
.event_apply .sub_ttl{
	margin-bottom: 4.2rem;
}

.btn_area {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: flex-start;
	padding: 0;
	position: relative;
  }
  
  .btn_txt{
	  font-weight: 700;
	  font-style: normal;
	  position: relative;
	  padding: 0;
	  letter-spacing: 2px;
  }
  
  
  .btn {
	  color: var(--thema-color2);
	  background-color: #fff;
	  border-radius: 55px;
	  border: 3px solid var(--thema-color2);
	  font-size: 2rem;
	  line-height: 3.45;
	  display: inline-block;
	  position: relative;
	  min-width: 180px;
	  vertical-align: middle;
	  display: flex;
	  justify-content: center;
	  letter-spacing: 0em;
	  margin: 1rem auto 0;
	  padding: 0.5rem 7rem;
	  position: relative;
	  height: 7.7rem;
  }
	.btn .btn_txt::before{
	  content: 'レッスンスケジュールを確認！';
	  background-color: var(--thema-color2);
	  color: #fff;
	  border-radius: 55px;
	  border: 3px solid var(--thema-color2);
	  font-size: 1.5rem;
	  padding: 0 1rem;
	  position: absolute;
	  top: -34%;
	  left: 50%;
	  transform: translateX(-50%);
	  -webkit-transform: translateX(-50%);
	  -ms-transform: translateX(-50%);
	  letter-spacing: 0.3px;
	  width: 25.5rem;
	  line-height: normal;
	  text-align: center;
  }
  @media screen and (max-width: 1020px) {
	  .btn{
		  padding: 0.5rem 5rem;
	  }
  }
  /*Q&A*/
  .event_question{
	background-color: #FAEAEC;
	padding-top: 8rem;
	padding-bottom: 10rem;
  }
  .event_question .sub_ttl{
	margin-bottom: 6rem;
  }
  .event_question .flex_wrap{
	flex-direction: column;
	gap: 2rem;
  }
  .event_question li{
	border-radius: 5px;
	border: 2px solid var(--thema-color2);
	background: #fff;
	box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.20);
	padding: 2.6rem 2.2rem 1.9rem;
  }
  .event_question li h3{
	font-size: 1.5rem;
	letter-spacing: 0.75px;
	font-weight: 700;
  }
  .event_question li h3 .en_bold{
	font-size: 1.8rem;
	letter-spacing: 0.9px;
	margin-right: 1rem;
  }
  .event_question li p{
    background-color: rgba(227, 131, 142, 0.3);
	padding: 1.4rem 1.7rem 1.9rem 1.7rem;
	margin-top: 2rem;
	border-radius: 5px;
  }
  @media screen and (min-width: 767px) {
	.event_question .flex_wrap {
		gap: 3rem;
	}
	.event_question .sub_ttl{
		margin-bottom: 4.4rem;
	  }
	  .event_question{
		padding-top: 10rem;
		padding-bottom: 10rem;
	  }
	  .event_question li h3{
		font-size: 1.6rem;
		letter-spacing: 0.8px;
	  }
	  .event_question li h3 .en_bold{
		font-size: 2rem;
		letter-spacing: 1px;
		margin-right: 1.5rem;
	  }
  }
/* ===================================================================
// フッター
// ===================================================================*/
#footer{
	padding: 8rem 6rem 2rem;
	background-color: #F0F0F0;
}
#footer .footer_menu{
	margin-bottom: 7rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#footer .footer_menu div{
	width: 40%;
}
#footer .footer_menu li{
	margin-bottom: 1rem;
	font-size: 2rem;
	font-weight: 700;
	color: var(--thema-color2);
}
#footer .footer_menu li a{
	color: var(--thema-color2);
	font-family: Vollkorn;
font-style: normal;
font-weight: 700;
line-height: normal;
letter-spacing: 1px;
}
#footer .footer_menu li span{
	margin-bottom: 2rem;
	font-size: 1.4rem;
	font-family: Noto Sans JP;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: 1.4px;
}
#footer .footer_center{
	text-align: center;
}
#footer .footer_bottom{
	position: relative;
	text-align: center;
	margin-bottom: 3rem;
}
#footer .footer_bottom small{
	font-size: 1.4rem;
	color: var(--thema-color2);
	display: flex;
    justify-content: center;
    align-items: center;
}
#footer .footer_bottom small span{
	font-size: 2rem;
}
#footer .footer_center img{
	width: 12.4rem;
	margin-bottom: 5.3rem;
}
@media screen and (min-width: 767px) {
	#footer .footer_menu div{
		width: 100%;
		display: flex;
		justify-content: center;
		margin-bottom: 5rem;
	}
	#footer .footer_menu li{
		width: 15%;
		margin-left: 7rem;
	}
	#footer .footer_menu {
		flex-direction: column;
		margin-bottom: 10rem;
	}
	#footer .footer_bottom {
		margin-bottom: 4rem;
	}
}

/*==================================================
スタート時は要素自体を透過0にするためのopacity:0;を指定する
===================================*/

.box{
	opacity: 0;
}

/*==================================================
動かしたい動き（今回は” ふわっ” を採用）
===================================*/

.fadeUp {
	animation-name:fadeUpAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	opacity: 0;
	}
	
	@keyframes fadeUpAnime{
	  from {
		opacity: 0;
		transform: translateY(100px);
	  }
	
	  to {
		opacity: 1;
		transform: translateY(0);
	  }
	}


