@charset "UTF-8";

/* 共通部分 */
html {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #432;
}

/* 背景 */
.back {
  margin: 0;
  height: auto;
  background-image: url(./imags/back_img.jpg);
  background-repeat: repeat;
  background-size: contain;
  background-position: center top;
}
.wrapper {
  margin: 0 10%;
}
/* ラッパーのレスポンシブ */
@media screen and (max-width:767px) {
  .wrapper {
    width: 100%;
    margin: 0 auto;
  }
}

/* ヘッダー */
.header_inner {
  margin: 0 10%;
  height: auto;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.gnav {
  display: flex;
}

.logo {
  width: 80%;
  height: auto;
  min-width: 100px;
  padding-top: 5%;
}

.icon {
  width: 65px;
}

nav li {
  list-style: none;
  padding-left: 30px;
}

/* P1_index------------------------------------------------- */
/* メイン画像 */
.main img {
  width: 100%;
  /* max-width: 1300px; */
  /* width: 100vw; */
  height: auto;
}
.main-MB {
  display: none;
}
/* 下の丸３つ */
.maru3 img {
  width: 100%;
  height: auto;
}
/* P1のレスポンシブ */
/* モバイル */
@media screen and (max-width:767px) {
  .main img {
    display: none;
  }
  .main-MB {
    display: block;
    width: 100%;
    height: auto;
  }
  .main-MB img {
    width: 100%;
    height: auto;
  }
}

/* P2＿教育方針------------------------------------------------- */
h2 {
  font-size: 1rem;
  border-bottom: solid #58c9b9;
  margin-bottom: 20px;
}
.text {
  width: 40%;
  margin: 10%;
  font-size: 0.7rem;
}

.box_1 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.box_2 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.box_3 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.P2-1,
.P2-2,
.P2-2-MB,
.P2-3 {
  width: 70%;
  height: auto;
  align-items: center;
}
.P2-2 {
  margin-left: 20%;
}
.P2-2-MB {
  display: none;
}
/* P2のレスポンシブ ーーーーーーーーーーーーーーーーーー */
/* モバイル */
@media screen and (max-width:767px) { 
  .box_1, .box_2, .box_3{
    display: block;
  }
  .box_1 .text, .box_2 .text, .box_3 .text {
    width: 80%;
    margin: 0 auto;
  } 
  .P2-2 {
    display: none;
  }
  .P2-2-MB {
    display: block;
  }.P2-1, .P2-2-MB, .P2-3 {
    margin: 10%;
  }
}

/* P3＿一日の流れ------------------------------------------------- */
.title {
  width: 30%;
  height: auto;
  background-color: #58c9b9;
  color: #fff;
  border-radius: 10px 10px 0px 0px;
  margin-top: 5%;
  margin-bottom: -0.5%;
  margin-left: 5%;
}
hr {
  width: 90%;
  height: 4px;
  background-color: #58c9b9;
  border: none;
  margin-left: 5%;
}
.nagare-MB {
  display: none;
}

/* 表 */
.nagare-img {
  width: 90%;
  height: auto;
  margin-left: 5%;
}
/* 一日の流れレスポンシブ */
@media screen and (max-width:767px) {
  .nagare-img {
    display: none;
  }
  .nagare-MB {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

/* フォーム-------------------------------------------------------- */
form div {
  margin-bottom: 5%;
}
form {
  margin-top: 5%;
  margin-left: 5%;
}

label {
  font-size: 0.6rem;
  margin-bottom: 10px;
  display: block;
}
input[type="text"],
input[type="email"],
textarea {
  background: rgba(255, 255, 255, .5);
  border: 2px #a0bbb7 solid;
  border-radius: 5px;
  padding: 5%;
  font-size: 1rem;
}
textarea {
  width: 110%;
  height: auto;
}
input[type="submit"] {
  border: none;
  cursor: pointer;
  line-height: 1;
}

.button {
  width: 60%;
  height: 30px;
  margin: 0 auto;
  background-color: #58c9b9;
  color: #fff;
  border-radius: 5px;
}
.p4 {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.p4img img {
  width: 90%;
  height: auto;
  margin-right: 0;
  margin-left: 10%;
}
/* 店舗情報・地図 */
#location {
  padding: 4% 0;
}

#location .wrapper {
  display: flex;
  justify-content: space-between;
}

.location-info {
  width: 30%;
}

.location-info p {
  font-size: 0.6rem;
}

.location-map {
  width: 74%;
  height: auto;
}

iframe {
  width: 100%;
}
.sub-title {
  font-size: 1rem;
}
.p4-text-MB {
  display: none;
}

/* フォームのレスポンシブ */
/* モバイル */
@media screen and (max-width:767px) {
  .location-info p {
    display: none;
  }
  #location .wrapper {
    display: block;
  }
  .p4-text-MB {
    display: block;
    width: 80%;
    font-size: 0.6rem;
  }
  .p4-text-MB, .sub-title {
    margin-left: 5%;
  }
  .location-info {
    width: 100%;
  }
  .location-map {
    width: 80%;
    align-items: center;
    margin-left: 5%;
  }

}


/* フッター */
footer {
  width: 100%;
  background-color: #58c9b9;
  height: 60px;
  padding: 20px 20px 20px 20px;
  margin-top:after 10px;
  color: #fff;
  text-align: center;
}



/* ハンバーガーメニュー */
/*========= ナビゲーションのためのCSS ===============*/
/*アクティブになったエリア*/
#g-nav.panelactive {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fffebc;
  /*丸のスタート位置と形状*/
  transform: scale(0);
  /*scaleをはじめは0に*/
  top: calc(50% - 50px);
  /*50%から円の半径を引いた値*/
  left: calc(50% - 50px);
  /*50%から円の半径を引いた値*/
  transition: all 0.6s;
  /*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
  transform: scale(50);
  /*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
  display: none;
  /*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  /* -webkit-overflow-scrolling: touch; */
}

#g-nav.panelactive #g-nav-list {
  display: block;
  /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
  opacity: 0;
  /*はじめは透過0*/
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
/* #g-nav.panelactive ul li {
  -webkit-animation-name: gnaviAnime;
          animation-name: gnaviAnime;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; */
  /*0.2 秒遅らせて出現*/
  /* -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  opacity: 0;
} */

/* @-webkit-keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
} */
/*リストのレイアウト設定*/
#g-nav li {
  text-align: center;
  list-style: none;
}

#g-nav li a {
  color: #333;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  /*ボタンを最前面に*/
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  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: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/* ハンバーガーメニューのレスポンシブ */
/* モバイル */
@media screen and (max-width:767px) {
  nav {
    display: none;
  }
  .openbtn, .circle-bg, #g-nav {
    display: block;
  }
}
/* タブレットとPC */
@media screen and (min-width:768px) {
  nav {
    display: block;
  }
  .openbtn, .circle-bg,#g-nav {
    display: none;
  }
}
/* ハンバーガーメニュー　end */