/* @group ClearFix */
.clearfix:after {
  content:" ";
  display:block;
  clear:both;
}

html {
/* overflow-yプロパティは、ボックスの範囲内に内容が収まらない場合に、はみ出た要素の上下の表示方法を指定する際に使用 */
overflow-y: scroll;
/* iPhone や Android のブラウザーは、縦向き (Portrate mode) と横向き (Landscape mode) の文字サイズを自動調整する機能 */
-webkit-text-size-adjust: 100%;
font-size: 62.5%;
}

body {
  margin: 0 auto;
  font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 1.6rem;
  background-color: #FCF5E5;
  color: #4E4E4E;
  overflow: hidden;
}

h2 {
  font-size: 2.3rem;
  letter-spacing: 0.2rem;
}

h3 {
  font-size: 2.0rem;
  letter-spacing: 0.15rem;
}

/* ヘッダ部ここから */

header {
  margin: 0 auto;
}

.header_contents {
  width: 100%;
  height: 7rem;
  padding: 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header_contents_icons {
  display: flex;
}

.logoImg {
	width: 7rem;
}

.logoImg:hover {
  opacity: 0.6;
}

.icon_Instagram {
  width: 5rem;
  margin-right: 1rem;
}

.icon_Instagram:hover {
  opacity: 0.6;
}

/* SPハンバーガーメニュー ここから */

.burger_border {
	display: block;
	width: 3rem;
	height: 3px;
	background-color: #fff;
	transition: 0.4s;  
}

.burger_border:nth-child(2) {
	margin: 0.8rem 0;
}

.burger_border.open:nth-child(1) {
	transform: translateY(0.17rem) rotate(-45deg);
	
}
.burger_border.open:nth-child(2) {
  display: none;
}
.burger_border.open:nth-child(3) {
	transform: translateY(-0.1rem) rotate(45deg);}

/* PC版ナビメニューここから*/

.menu_PC {
  display: none;
}

/* ヘッダ部ここまで */

.menu_SP {
  display: none;
  background-color: #FCF5E5;
}

.menu_SP ul {
  text-align: center;
}

.menu_SP ul li {
  padding: 1.4rem;
  border-bottom: 3px solid #fff;
}

.menu_SP li a {
  display: block;
  /* padding: 1.3rem 1rem; */
}

/* 共通パーツここから */

.border_main {
  margin: 1.5rem -1.5rem 4rem;
  border-bottom: 3px solid #F8C7C3;
}

.border_sub {
  border-bottom: 2px solid #F8C7C3;
  margin: 1.6rem 0;
}

.bottom_block {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20rem;
}

.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background-color: #D2EBE6;
  border-radius: 50%;
  cursor: pointer;
}

.circle.burger {
  background-color: #F2E6CA;
}

.icon_arrow::before {
  font-family: 'Font Awesome 5 free';
  font-weight: 900;
  font-size: 2.5rem;
  content: '\f062';
  color: #fff;
}

#scroll_btn:hover {
  background-color: #F8C7C3;
}

.br-sp {
  display: inline-block;
}

/*小さめスマホのみ改行「されない」スタイル*/
.br-spMini_01 {
  display: inline-block;
}

/*小さめスマホのみ改行「される」スタイル*/
.br-spMini_02 {
  display: none;
}

/* 共通パーツここまで */

/* メインコンテンツここから */

.main_contents, .prof_contents, .sub_contents {
  padding: 4rem 2.5rem;
}

.top_imges {
  position: relative;
}

.top_pic_PC {
  display: none;
}

.top_pic_SP {
  width: 100vw;
}

.top_image_box_1, .top_image_box_2, .top_image_box_3 {
  display: flex;
  align-items: center;
  height: 4.8rem;
  background-color: rgba(255, 255, 255, 0.9);
}

.top_image_box_1, .top_image_box_2 {
  padding-left: 1.4rem;
}

.top_image_box_1 {
  position: absolute;
  top: 10.8rem;
  width: 26rem;
}

.top_image_box_2 {
  position: absolute;
  top: 17rem;
  width: 34.6rem;
}

.top_image_box_3 {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  width: 34.7rem;
  height: 20.5rem;
  padding: 2.3rem;
  border-radius: 33px;
}

.top_image_box_3 p {
  font-size: 1.5rem;
  line-height: 2.76rem;
}

/* ふわっと左から現れるアニメーション */
.top_image_box_1, .top_image_box_2, .sub_title {
  /* display: block; */
  animation-name:fadeLeftAnime;
  animation-duration:2.5s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeLeftAnime{
    from {
      opacity: 0;
    transform: translateX(-100px);
    }
  
    to {
      opacity: 1;
    transform: translateX(0);
    }
  }

.title_block_top {
  display: flex;
  margin-bottom: 0.5rem;
}

.title_block_top_text {
  color: #908f8f;
}

.title_block_top_text a:hover {
  color: #4E4E4E;
}

.title_block span {
  font-weight: bold;
}

.class_card {
  width: 100%;
  margin-bottom: 5.5rem;
  padding-top: 135%;
  position: relative;
}

.class_card_pic {
  width: 100%;
  height: 50%;
  position: absolute;
  top: 0;
}

.class_card_info {
  width: 100%;
  height: 50%;
  padding: 1.5rem 2.5rem;
  background-color: #fff;
  text-align: center;
  position: absolute;
  top: 50%;
}

.infoblock {
  height: calc(100% - 6.2rem); /* padding分の合計6.2remを引いている */
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1.5rem;
}

.info_text p {
  line-height: 3rem;
  margin-top: -0.75rem; /* ここのフォントサイズ1.6remから-1して割った */
}

.btn_blue {
  background-color: #D2EBE6;
  border-radius:30px;
  box-shadow: 0px 3px 6px lightgrey;
}

.btn_blue:hover{
  box-shadow: none;
  background-color: #c9e6df;
  transform: scale(0.99, 0.99) translateY(2px);
}

.btn_blue.toiawase {
  width: 100%;
  padding: 1.5rem;
  text-align: center;
}

.btn_blue a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 203px;
  height: 47px;
}

.icon_ki::before {
  font-family: 'Font Awesome 5 Brands';
  font-weight: 900;
  font-size: 2.4rem;
  content: '\f18c';
  color: #A6C3AC;
  margin-left: 5px;
}

.icon_window::before {
  font-family: 'Font Awesome 5 free';
  font-weight: 900;
  font-size: 1.3rem;
  content: '\f35d';
  margin: 0 2px 0 3px;
}

.icon_smile::before {
  font-family: 'Font Awesome 5 free';
  font-weight: 400;
  font-size: 1.7rem;
  content: '\f118';
  color: #f7b3ad;
}

.icon_star::before {
  font-family: 'Font Awesome 5 free';
  font-weight: 900;
  font-size: 1.5rem;
  content: '\f005';
  color: #f7b3ad;
  margin-right: 1rem;
}

.prof_contents, .sub_contents{
  background-color: #fff;
}

.prof_picBlock {
  display: flex;
  justify-content: space-around;
}

.prof_pic {
  height: 15.8rem;
}

.prof_textBlock, .sub_greenbox {
  margin-top: 4rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 3px solid #D2EBE6;
  border-radius:30px;
}

.profile_text {
  display: flex;
}

.profile_text p, .profile_text span {
  line-height: 3rem;
}

.profile_text span {
  white-space: nowrap;
  margin-right: 10px;
}

/* メインコンテンツここまで */

.sub_title {
  display: inline-block;
  margin-top: 3.5rem;
  padding: 2.5rem;
  padding-right: 2.8rem;
  background: #fff;
  border-radius: 0 33px 33px 0;
}

.sub_title > h2 {
  font-size: 2.0rem;
}

.sub_title > .border_sub {
  margin: 0.7rem -1rem -0.7rem;
}

.sub_contents {
  margin-top: 3.5rem;
  line-height: 2.76rem;
}

.sub_info {
  text-align: center;
}

.sub_greenbox {
  margin-top: 0;
  margin-bottom: 3.5rem;
}

.sub_blackbox {
  margin-bottom: 3.5rem;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  border: 1px solid #4E4E4E;
  list-style: circle;
}

.greenbox_info_1 > h3 {
  font-size: 1.6rem;
  font-weight: bold;
}

.greenbox_info_2 > h3 {
  font-size: 1.6rem;
}

.greenbox_info_2 {
  margin-top: 0.4rem;
}

.greenbox_info_2 ul {
  width: 50%;
}

.greenbox_info_1 ul, .greenbox_info_2 ul {
  margin-left: 2.8rem;
}

/* カルーセル */

.carousel {
  width: 30rem;
  height: 20rem;
  margin: 0 auto;
  position: relative; /* ←追記 */
  margin-top: 3.5rem;
}

.carousel-area {
  height: 100%;
  display: flex;
  position: absolute; /* ←追記 */  
}

.carousel-list {
  width: 30rem;
  height: 20rem;
  margin-right: 0.1rem;
}

.carousel-img {
  width: 100%;
  height: 100%;
}  

/*********** スライド送りボタン ***********/
/* 共有パーツ */
.arow-wrap {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow-btn {
  width: 3.5rem;
  height: 5.5rem;
  background-color: rgba(210, 235, 230, 0.8);
  transition: .2s;
}

.arrow-btn:hover {
  background-color: #f7b3ad;
}

/* 左 */
.arrow-left {
  position: relative
}
/* ボタン左の中身（三角を擬似要素で表現） */
.arrow-left:before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  border-top: 2.5px solid #fff;
  border-left: 2.5px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%)rotate(-45deg);
}
/* 右 */
.arrow-right {
  position: relative
}
/* ボタン右の中身（三角を擬似要素で表現） */
.arrow-right:before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  border-top: 2.5px solid #fff;
  border-left: 2.5px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-70%, -50%)rotate(135deg);
}

.sub_contents.cake {
  display: none;
  margin-bottom: -8rem;
}

/* フッタ部ここから */

.footer_contents {
  text-align: center;
  padding: 3.5rem;
  background-color: #F2E6CA;
  font-size: 1.4rem;
}

.icon_Instagram.footer {
  margin-right: 0;
}

.footer_midashi {
  position: relative;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: bold;
}

.footer_midashi:before,
.footer_midashi:after {
  position: relative;
  display: inline-block;
  content: "";
  width: 2.5px;
  height: 3rem;
  margin: 0 1rem;
  margin-top: -0.2rem;
  vertical-align: middle;
  background: #fff;
}

.footer_midashi:before {
  transform: rotate(-35deg);
  margin-right: 2rem;
}

.footer_midashi:after {
  transform: rotate(35deg);
  margin-left: 2rem;
}

.footer_text {
  margin: 2rem 0;
  font-size: 1.6rem;
}

/* フッタ部ここまで */

/* 画面サイズがiPhone5以下のとき */
@media screen and (max-width: 350px){

/*小さめスマホのみ改行「されない」スタイル*/
  .br-spMini_01 {
    display: none;
  }

/*小さめスマホのみ改行「される」スタイル*/
  .br-spMini_02 {
    display: inline-block;
  }

  .top_image_box_2 {
    width: 26rem;
    height: 6.5rem;
  }

  .top_image_box_2 p {
    line-height: 2.3rem;
  }

  .top_image_box_3 {
    width: 30rem;
    height: 23rem;
    padding: 1.7rem;
  }

  .top_image_box_3 p {
    line-height: 2.3rem;
  }

  .info_text p {
    line-height: 2.2rem;
  }

  .border_sub {
    margin: 1rem 0;
  }

  .class_card_info {
    /* height: auto; */
    padding: 1.0rem;
  }

  .class_card_info h3 {
    font-size: 1.8rem;
  }
}

/* タブレット以上 */
@media print, screen and (min-width: 768px) {

  .br-sp {
    display: none;
  }

  .top_image_box_1, .top_image_box_2 {
    padding-left: 5rem;
  }

  .top_image_box_1 {
    top: 5rem;
    width: 30rem;
  }
  
  .top_image_box_2 {
    top: 11.5rem;
    width: 39rem;
  }

  .top_image_box_3 {
    left: 0%;
    -webkit-transform: translate(0%);
    transform: translate(0%);
  
    width: 60rem;
    height: 13.5rem;
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
    padding-left: 5rem;
    padding-right: 2rem;
  
    border-radius: 0 33px 33px 0;
  }

  .main_contents {
    padding: 4rem 5rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
  }

  .prof_contents {
    padding: 4rem 5rem;
  }

  .prof_picBlock {
    display: contents;
  }

  .top_pic_SP {
    display: none;
  }
  
  .top_pic_PC {
    display: block;
    width: 100%;
  }  

  .class_card {
    margin: 0;
  }

  .class_blocks {
    display: grid;
    gap: 5.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .prof_bottom {
    display: flex;
    justify-content: space-between;
  }

  .prof_textBlock {
    width: 60%;
    margin-top: 0;
    margin-bottom: 4rem;
    margin-left: 1.5rem;
  }

  .sub_contents {
    padding: 4rem 5rem;
  }

  .sub_title {
    padding: 2.5rem 5rem;
  }

  .sub_greenbox {
    padding: 2.5rem;
  }

  .greenbox_info_2 > h3, .greenbox_info_1 > h3 {
    width: 25%;
  }

  .carousel {
    display: flex;
    justify-content: center;
  }

  .carousel, .carousel-list {
    width: 23rem;
    height: 15.3rem;
  }

  .arow-wrap {
    display: none;
  }

  .footer_contents div {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    font-size: 1.6rem;
  }

  .footer_text {
    margin: 0;
    margin-right: 1rem;
  }
}

/* ノートPC以上 */
@media print, screen and (min-width: 992px) {

  h2 {
    font-size: 2.5rem;
  }

  /* .circle burger */
  .main_contents{
    padding: 4rem 8rem;
  }

  .prof_contents{
    padding: 4rem 8rem;
  }

  .title_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .title_block_top {
    margin-bottom: 0;
  }

  .icon_ki::before {
    font-size: 2.3rem;
    margin-left: 0.6rem;
  }

  .top_image_box_1, .top_image_box_2, .top_image_box_3 {
    background-color: rgba(255, 255, 255, 0.7);
  }

  .top_image_box_1 p, .top_image_box_2 p, .top_image_box_3 p {
    font-size: 2rem;
  }

  .top_image_box_3 p {
    font-size: 1.7rem;
  }

  .top_image_box_1 {
    width: 37rem;
  }
  
  .top_image_box_2 {
    width: 48rem;
  }

  .carousel, .carousel-list {
    width: 30rem;
    height: 20rem;
  }
}

/* デスクトップPC */
@media print, screen and (min-width: 1200px) {
  
  .circle.burger {
    display: none;
  }

  .header_contents {
    height: 8rem;
  }

  .menu_PC {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    letter-spacing: 0.1rem;
  }

  .menu_PC p {
    font-size: 1.4rem;
  }

  .menu_PC ul {
    width: 70%;
    height: 4.7rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #fff;
    border-radius: 30px;
    margin-left: 1rem;
    margin-right: 2rem;
    padding: 0 1rem;
  }

  .menu_PC li a {
    display: block;
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding: 1.3rem 1rem;
  }

  .menu_PC li a::after {
    position: absolute;
    bottom: 4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #F8C7C3;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
  }

  .menu_PC li a:hover::after {
    transform: scale(1, 1);
  }

  .icon_Instagram {
    margin-right: 0;
  }

  .main_contents {
    padding: 4rem 16rem;
  }

  .logoImg {
		width: 8rem;
	}

  .top_image_box_1, .top_image_box_2, .top_image_box_3 {
    padding-left: 16rem;
  }

  .top_image_box_1 {
    top: 10rem;
    width: 48rem;
  }
  
  .top_image_box_2 {
    top: 17rem;
    width: 59rem;
  }

  .top_image_box_3 {
    bottom: 8rem;
  
    width: 73rem;
    height: 15rem;
  }

  .prof_contents {
    padding: 4rem 16rem;
  }

  .prof_pic {
    width: 17%;
    height: 17%;
  }

  .prof_textBlock {
    padding: 2.5rem;
  }

  .sub_contents {
    margin: 3.5rem 16rem 0 16rem;
  }

  .sub_contents.text {
    border-radius: 30px;
  }

  .sub_contents.many {
    display: flex;
    justify-content: space-between;
  }

  .sub_contents.cake {
    display: block;
  }

  .sub_cake{
    display: none;
  }

  .sub_cake_text {
    width: 50%;
  }

  .sub_title {
    padding: 2.5rem 6rem 2.5rem 16rem;
  }

  .sub_greenbox {
    width: 38%;
    margin-bottom: 0;
  }

  .greenbox_info_1 > h3 {
    width: auto;
  }

  .greenbox_info_2 > h3 {
    width: 60%;
  }

  .sub_rightArea {
    min-width: 50%;
  }
}
