@charset "utf-8";

/*----------* common *----------*/

html {
  width: 100%;
  height: 100vh;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter-Regular", Helvetica, sans-serif;
  font-style: normal;
  font-weight: 300;
  color: #48381a;
  overflow: scroll;
  display: grid; /* Gridコンテナにする */
  place-items: center;
  /* padding-inline: 8px; */
  grid-template-columns: minmax(auto, [content-max-width]);

  position: relative;
}

nav,
ul,
li,
a {
  position: relative;
  z-index: 10;
}

/* 右サイド */
.right {
  right: 0;

  width: 10%;
  height: 100%;

  background-color: #fffaf0;
  z-index: 0;
  position: relative;
}

.side-right-momibird {
  width: 60%;
  opacity: 0.2;
  position: absolute;
  bottom: 16px;
  left: 240px;
}

@media (max-width: 768px) {
  .side-right-momibird {
    display: none;
  }
}

/* 各項目の右アイコン */
.side-right-icon {
  position: fixed;
  width: 160px;
  right: 8%;
  bottom: 5%;
  opacity: 0.2;
}

/* 中央 */

.main {
  width: 390px;
  height: 100%;
  position: relative;
  z-index: 8;
  top: 0;
  background-color: #fff;
  box-shadow: 0px 0px 8px #48381a;
}

@media (max-width: 389px) {
  .main {
    width: 375px;
    box-shadow: none;
    margin: 0 auto;
    overflow: clip;
  }
}

/*header */

#topbar_flex {
  width: 390px;
  height: 96px;
  background-color:rgba(254, 242, 237, 0.8) ;
  border-bottom: 0.5px solid #facbb6;
  margin: 0 auto;
  position: fixed;
  top: 0;
  z-index: 9999;
}



#topbar_flex .catchtext {
  width: 224px;
  height: 40px;
  margin-top: 40px;
  margin-left: 38px;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24.2px;
  float: left;
}

/*body header */
.each-item {
  width: 390px;
  height: 1882px;
}



.each-pc {
  width: 100%;
  margin-top: 96px;
  object-fit: cover;
}

/*room,lesson,moneyのヘッダーとメイン */

.arrow {
  width: 390px;
  height: 194px;
  background-color: #fef2ed;
  clip-path: polygon(50% 100%, 100% 71%, 100% 0, 0 0, 0 70%);
  position: relative;
  display: flex;

}


.chara-logo {
  width: 240px;
  position: absolute;
  top: -144px;
  left: 80px;
}
@media (max-width: 768px) {
.chara-logo  {

  left: 34px;
}
}



.item-pc img {
  width: 292.95px;
  height: auto;
  margin: 48px 48px;
}

.main-rlm {
  width: 390px;
  height: 100%;
  position: relative;
  z-index: 1;
  top: 0;
  background-color: #fff;
}

.rlm-menu {
  position: absolute;
  left: 260px;
}

.catchtext {
  width: 344px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.checkbox-icon {
  width: 60px;
margin-bottom: 20px;
  margin-left: -24px;
}

.catchtext span {
  font-size: 24px;
  margin-bottom: 20px;
}

.each-item .text-wrapper {
  margin-top: 56px;
}

.table-info {
  width: 337.97px;
  height: 1014.54px;
  margin: 50px 0 0 24px;
}


.footmark {
  float: right;
  margin-top: 48px;
  margin-right: 24px;
}

.markflex {
  display: inline-block;
}

.bodymark {
  margin-top: 48px;
  margin-left: 30px;
}

.facemark {
  margin-left: 188px;
}

.mainbird-totop {
  margin-left: 32px;
  margin-top: 48px;
  transform: scale(1.2, 1.2);
}
.mainbird-totop2 {
  transform: scale(1.2, 1.2);
  margin-left: 180px;
}


/*ハンバーガーメニューのナビ */
.h-menu {
  box-sizing: border-box;
  position: fixed;
  position: absolute;
  top: 96px;
  height: 584px;
  left: 0;
  width: 100%;

  background: #fffaf0;
  transition: height 0.4s ease;
  z-index: 40;
  padding: 30px;
  display: none;
  animation: fall-down 1s ease-out forwards; /* アニメーション適用 */
}

@keyframes fall-down {
  0% {
    transform: translateY(-50px); /* 上から開始 */
    opacity: 0; /* 最初は見えない状態 */
  }

  100% {
    transform: translateY(0); /* 元の位置に戻る */
    opacity: 1; /* 完全に表示 */
  }
}

.h-menu.is-active {
  display: flex;
  opacity: 1;
}

.h-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.h-menu ul li a {
  display: block;
  text-decoration: none;
  padding: 10px;
}

.h-titles {
  margin-bottom: 8px;
  margin-top: -32px;
  margin-left: 16px;
}
.h-titles p {
  font-size: 14px;
}


/*ハンバーガーメニュー */
@media (max-width: 768px) {
  .menu-icon {
    width: 80px;
    height: 80px;
    top: 10px;
    left: 280px;
    cursor: pointer;
    z-index: 10;
    position: relative;
  }

  .menu-icon_b {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 20px;
    left: 280px;
    cursor: pointer;
    z-index: 10;
  }

  .menu-icon span {
    display: block;
    width: 60%;
    height: 3px;
    background-color: #f17034;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    margin-top: 36px;
    margin-left: 16px;
  }

 

  /* クリック時のアニメーション（通常用）*/
  .menu-icon span:first-child {
    position: absolute;
    top: 3px;
    left: 8px;
  }
  .menu-icon span:last-child {
    position: absolute;
    top: 18px;
    left: 8px;
  }

  /* クリック時のアニメーション（案内用）*/
  .menu-icon2 span:first-child {
    position: absolute;
    top: 3px;
    left: 8px;
  }
  .menu-icon2 span:last-child {
    position: absolute;
    top: 18px;
    left: 8px;
  }

  /* クリック時のアニメーション（2本線がXに変化） */
  .menu-icon.open span:first-child {
    transform: rotate(45deg) translateY(10px);
  }
  .menu-icon.open span:last-child {
    transform: rotate(-45deg) translateY(-10px);
  }

  /* クリック時のアニメーション（案内用） */
  .menu-icon2.open span:first-child {
    transform: rotate(45deg) translateY(10px);
  }
  .menu-icon2.open span:last-child {
    transform: rotate(-45deg) translateY(-10px);
  }
}

/*エッグアイコン*/
.egg-icon {
  width: 200px;
  position: fixed;
  bottom: 31%;
  left: 60%;
  z-index: 30;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
/* 表示されるとき */
.egg-icon.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.egg-icon a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

@media (max-width: 768px) {
  .egg-icon {
    width: 24%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .egg-icon {
display: none;

  }
}


/* 左右サイド */
.side {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
}
@media (max-width: 768px) {
  .side {
    display: block;
    color: transparent;
  }
  .side-right-icon {
    display: none;
  }
}

@media (max-width: 480px) {
  .side {
    display: none;
  }
}

/* 左サイド */
.left {
  left: 0;
  position: fixed;
  width: 50%;
  height: 100%;
  background-color: #fffaf0;
}

.left-title {
  width: 200px;
  margin: 32px 20px;
  opacity: 0.2;
}
/* ブレイクポイント */
@media (max-width: 768px) {
  .left-title {
    display: none;
  }
}

/* 左サイドのメニュー項目 */
.hover-text {
  color: #48381a;
  transition: color 0.3s ease;
}

.hover-text:hover {
  color: #facbb6;
}

.hover-title {
  color: #48381a;
  transition: color 0.3s ease;
}

.hover-title:hover {
  color: #facbb6;
}

/*左サイドのメニュー項目調整 */
.wrapper {
  position: relative;
}

.wrappers {
  margin: 30px 40px;
}

.wrapper-nav li {
  margin-top: 32px;
}

.wrapper-nav2 {
  height: 220px;
}

.titles {
  margin: 16pt 0 8pt 4pt;
}

.titles p {
  font-size: small;
  margin: 16pt 0;
}

/* ブレイクポイント */
@media (max-width: 768px) {
  .wrapper {
    display: none;
  }
}

/*mainスタート */

#top img {
  width: 425px;
  height: 462px;
  overflow: scroll;
  margin-left: -68px;
  margin-top: 120px;
  z-index: 999;
}


h1 {
  width: 224px;
  height: 28px;
  font-size: 32px;
  font-weight: 500;
  font-family: "Inter-Medium", Helvetica;
  margin-bottom: 32px;
  margin: 0 auto 32px;
  text-align: center;
}

/*プロフィール */
#profile {
  width: 390px;
  height: 1968px;
  background-image: url(../images/backA.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  position: relative;

}

.text-wrapper {
  width: 318px;
  font-family: "Rera-2", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 28px;
  margin: 0 auto;
}
.text-wrapper1 {
  width: 318px;
  font-family: "Rera-2", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 32px;
  margin: 0 auto;
  padding-top: 32px;
}

.text-wrapper2 {
  width: 318px;
  font-family: "Rera-2", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 32px;
  margin: 0 auto;
  padding-top: 32px;
}
.section-title-p {
  width: 96px;
  height: 19px;
  position: absolute;
  top: 43%;
  left: 225%;
}


.chatch-box {
  position: relative;
  width: 110px;
  height: 489px;
  margin-bottom: 200px;
  display: block;
}



.chatch-group {
  position: absolute;
  top: 130px;
  left: 20px;
}
.rectangle {
  left: 63px;
  height: 489px;
  position: absolute;
  top: 0;
  width: 47px;
  background-color: #f17034;
  
}

.rectangle-2 {
  left: 2px;
  height: 267px;
  position: absolute;
  top: 0;
  width: 47px;
  background-color: #f17034;
}

/*からだにもこころにも */
.charch-textwrapper {
  left: 70px;
  width: 32px;
  position: absolute;
  top: 12px;
  font-weight: 400;
  font-size: 36px;
  color: #fff;
  letter-spacing: 0;
  line-height: 46px;
}

/*やさしさを */
.charch-textwrapper-2 {
  position: absolute;
  left: 6px;
  width: 31px;
  top: 12px;
  font-weight: 400;
  font-size: 36px;
  color: #fff;
  letter-spacing: 0;
  line-height: 46px;
}

.profile-picture {
  width: 352px;
  height: 461px;
  border-radius: 10% 0 0 10%;
  margin-top: 30%;
  margin-left: 5%;
  object-fit: cover;
}



/*教室の様子animation */

.slide-container {
  width: 100%;
  display: flex;
  margin: 24px auto;

  overflow: hidden;
}

@keyframes slide-flow {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.slide-wrapper {
  display: flex;
  animation: slide-flow 24s linear infinite;
  white-space: nowrap;
}

.slide-wrapper img {
  width: 390px;
  height: 247px;
  object-fit: cover;
  border: 4px solid #facbb6;
  border-radius: 8%;
}

/*カーソルで止める動き */
.slide-paused:hover .slide-wrapper {
  animation-play-state: paused;
}
.slide-paused:hover .slide-wrapper img:hover {
  opacity: 0.8;
  cursor: grabbing;
}

.section-title {
  width: 96px;
  height: 19px;
  margin-bottom: 24px;
  margin-left: 70%;
}

.name {
  margin-top: 24px;
}

/*講座メニュー */
#class-menu {
  height: 816px;
  position: relative;
  top: -200px;
}

#class-menu h2 {
  font-size: 32px;
  float: right;
  margin: 40px 30px 72px 0;
}

.menu-item {
  margin: 76px auto;
  width: 312px;
  height: 392px;
}

.menu-item ul {
  width: 312px;
  height: 392px;
}

.menu-item li {
  display: flex;
  width: 312px;
  height: 86px;
  flex-direction: column;
  margin-top: 24px;
}

#class-menu a:hover {
  opacity: 0.6;
}

.lessons {
  display: flex;
  margin: 200px 10px 20px 16px;

  text-align: center;
  font-size: 16px;
}

.lessons a {
  display: block;
  width: 60px;
}



.lesson {
  display: block;
  background-color: #fef2ed;
  padding: 3em 3em;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: -1px;
  line-height: 24px;
  box-shadow: 3px 3px 0px rgba(61, 32, 1, 0.3);
  margin-left: 16px;
}



.button {
  display: inline-block;
  background-color: #f17034;
  position: absolute;
  bottom: -50px;
  padding: 0.8em 0.8em;
  border-radius: 50px;
  font-size: 32px;
  color: #fff;
  margin-left: 72px;
  box-shadow: 3px 3px 0px rgba(61, 32, 1, 0.3);
}



/*みなさまの声*/
#voice {
  margin-top: 52pt;
  height: 1024px;
  background-image: url(../images/backD.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
}

#voice h2 {
  font-size: 32px;
  float: right;
  position: relative;
  top: -80px;
  right: 100px;
}



/*強調*/
.deco-inline {
  width: 114.13px;
  height: auto;
  vertical-align: middle;
  margin-left: 60%;
  margin-top: -80%;
}



.carousel {
  position: relative;
  width: 390px;
  overflow: hidden;
  margin: 0 auto;

}

.voice-wrappers {
  display: flex;
  list-style: none;
  transition: transform 0.8s ease;

}

.voice-wrapper {
  flex: 1;
  min-width: 341px;
  min-height: 642px;
  border: #48381a solid;
  border-radius: 50px;
  margin: 32px 24px;

  box-sizing: border-box;
  background-color: transparent;

  
}



.voice-title {
  font-size: 24px;
  margin: 32px 0 40px 32px;
}
.voice-text {
  width: 273px;
  height: 448px;
  line-height: 32px;
  margin: 0 auto;
}

.voice-age {
  margin-left: 32px;
}

.voice-age2 {
  margin-left: 32px;
  margin-top: -30px;
}


/* インジケーターバー */
.dots-wrap {
    display: flex;
    justify-content: center;
}

.dots-wrap li {
    width: 10px;
    height: 10px;
    margin: 0 8px;
    background:  rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
}

.dots-wrap li:hover,
.dots-wrap li.slick-active {
    background: #f17034;
}
.dots-wrap li button {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}




/*お問い合わせ */

.inquiy-wrapper {
  margin-top: -48px;
  margin-bottom: 60px;
  margin-left: -75px;
}



.inquiy-icon-wrapper a :hover {
  opacity: 0.5;
}

.inquiy-wrapper p {
  margin-left: 80px;
}

.inquiy-teltext {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #f17034;
  margin: 0 auto 30px 0;
  line-height: 40px;
}
.inquiy-tel {
  font-size: 40px;
  margin-top: 18px;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #f17034;
  letter-spacing: 0.1rem;
}

.inquiy-icon-wrapper {
  width: 390px;
  height: 130px;
  display: flex;
  text-align: center;
  margin-top: 8px;
}
@media (max-width: 389px) {
  .inquiy-icon-wrapper {
    width: 375px;
  }
}



.inquiy-icon-wrapper li {
  /* min-width: 130px; */
  width: 100%;
  margin-top: 8px;
  border: #f17034 olid;
  background-color: #f17034;
  margin: 0 auto;
  align-items: center;
}


.inquiy-icon-wrapper p {
  font-size: 16px;
  color: #fff;
  margin-top: 8px;
}
.tel-icon {
  width: 83px;
  width: 68px;
  margin-top: 16px;
}

.line-icon {
  width: 50pt;
  height: 50px;
  margin-top: 16px;
}
.inquiy-icon-wrapper .line-wrapper {
  background-color: #06c755;
}

.instagram-icon {
  width: 50px;
  height: 50px;
  margin-top: 16px;
}


/*footer*/
footer {
  width: 390px;
  height: 648px;
}


.footer-p {
  width: 390px;
  height: 554px;
  right: 2px;
  object-fit: cover;
  object-position: right 16%;
}



.footer-logo {
  width: 327px;
  height: 51px;
  margin: 18px 32px;
}


