/*
Theme Name: momo-block
Theme URI:
Author: momo
Author URI:
Description:
*/

/**
 * 基本
 */
html {
  scroll-behavior: smooth;
}

@media (min-width: 600px) {
  html {
    scroll-padding-top: 80px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 50px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 4vw;
  }
}

main {
  margin: 0;
}

@media (max-width: 600px) {

  main p,
  main ul,
  main ol {
    font-size: 1.1em;
  }
}

/* リスト */
ul {
  padding-left: 1.8em;
}

ol {
  padding-left: 1.8em;
}

::marker {
  color: #4aaf33;
}

.spacing li {
  margin: 1em 0;
}

/* テーブル */
th {
  white-space: nowrap;
}

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

/**
 * リンク
 */
a img {
  transition: all 0.5s;
}

@media (min-width: 600px) {
  a img:hover {
    opacity: 0.6;
  }
}

/* シャイニー */
.shine a {
  position: relative;
  display: table;
  overflow: hidden;
  width: 100%;
}

.shine a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 80%);
  transition: .5s;
}

.shine a:hover::before {
  top: 0;
  left: 100%;
}

/**
 * 共通デザイン
 */
/* 文字位置 */
@media (max-width: 600px) {
  .sp-center {
    text-align: center !important;
  }
}

/* 影 */
.shadow {
  position: relative;
  box-shadow: 0 0 6px #aaa;
  z-index: 1;
}

.shadow-top {
  box-shadow: 0 -3px 3px #aaaaaa80;
}

.shadow-bottom {
  box-shadow: 0 3px 3px #aaaaaa80;
}

.shadow-inset {
  box-shadow: 0 0 6px #aaa inset;
}

/* 波 */
.wave-green {
  flex-grow: 1;
  height: 14px;
  background-image: url(img/wave-green.png);
  background-repeat: repeat-x;
}

.wave-orange {
  flex-grow: 1;
  height: 14px;
  background-image: url(img/wave-orange.png);
  background-repeat: repeat-x;
}

.wave-yellow {
  flex-grow: 1;
  height: 14px;
  background-image: url(img/wave-yellow.png);
  background-repeat: repeat-x;
}

/* アニメーションコード１ */
.animateBox01 {
  position: relative;
  background-image: -webkit-linear-gradient(to top, #8f94fb, #4e54c8);
  overflow: hidden;
}

.animateList01 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}

.animateList01 li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  animation: animate01 25s linear infinite;
  bottom: -150px;

}

.animateList01 li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}


.animateList01 li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.animateList01 li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.animateList01 li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.animateList01 li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.animateList01 li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.animateList01 li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.animateList01 li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.animateList01 li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.animateList01 li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate01 {

  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }

}

/* アニメーションコード２ */
.animateBox02 {
  position: relative;
  overflow: hidden;
}

.animateItem02 {
  animation: animate02 10s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, rgb(226, 226, 226) 50%, rgb(255, 255, 255) 50%);
  bottom: 0;
  left: -50%;
  opacity: .5;
  position: absolute;
  right: -50%;
  top: 0;
  z-index: -1;
  max-width: none;
  margin: 0;
}

.animateItem02.-type01 {
  animation-direction: alternate-reverse;
  animation-duration: 14s;
}

.animateItem02.-type02 {
  animation-duration: 15s;
}

@keyframes animate02 {
  0% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(25%);
  }
}

/**
 * ブロックデザイン
 */
.wp-block-media-text {
  gap: 1.5em;
}

.wp-block-media-text>.wp-block-media-text__content {
  padding: 0;
}

.wp-block-media-text__content *:first-child {
  margin-top: 0;
}

.wp-block-media-text__content *:last-child {
  margin-bottom: 0;
}

/**
 * ボタン
 */
.btn {
  width: 80%;
}

/* パターン */
.btn.btn01 a {
  padding: 1.6em 1em 0.5em;
}

.btn.btn01 a::after {
  content: "施設見学会のお申し込み";
  position: absolute;
  left: 50%;
  top: 0.8em;
  transform: translate(-50%, 0);
  color: #fff;
  font-size: 70%;
  width: 100%;
}

@media (max-width: 600px) {
  .btn {
    width: 100% !important;
  }
}

/* シャイニー */
.btn a {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.btn a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 80%);
  transition: .5s;
}

.btn a:hover::before {
  top: 0;
  left: 100%;
}

/* ボタン無効化 */
.disable a {
  pointer-events: none;
  background-color: #aaa !important;
  box-shadow: 1px 1px 4px #999 !important;
}

.btn.btn01.disable a::after {
  content: "受け付けは終了しました";
  position: absolute;
  left: 50%;
  top: 0.8em;
  transform: translate(-50%, 0);
  color: #fff;
  font-size: 70%;
  width: 100%;
}

/**
 * ヘッダー
 */
/* header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

@media (max-width: 800px) {
  header.wp-block-template-part>div {
    background-color: #ffffff;
  }
}

@media (min-width: 800px) {
  header.wp-block-template-part>div {
    background-color: #ffffff80;
    backdrop-filter: blur(100px);
  }
} */
.logo {
  margin: 1em auto;
}

.logo img {
  width: 200px;
}

.nav {}


/* ハンバーガーメニュー */
@media (min-width: 800px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none !important;
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: block !important;
    width: 100%;
    position: relative;
    z-index: auto;
    background-color: inherit;
  }
}

@media (min-width: 600px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }

}

.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
  height: 3em;
  width: 3em;
}

@media (max-width: 600px) {

  .wp-block-navigation__responsive-container-close svg,
  .wp-block-navigation__responsive-container-open svg {
    height: 2em;
    width: 2em;
  }
}

/**
 * フッター
 */
footer.wp-block-template-part {
  margin: 0;
}

.footer .wp-block-site-title {
  text-decoration: none;
  font-size: 1em;
}

/* フッター画像 */
.footerImg {
  background-image: url("img/single_eyecatch.jpg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 200px;
  height: 200px;
}

@media (min-width: 600px) {
  .footerImg {
    background-size: auto 200px;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .footerImg {
    background-size: auto 100px;
    height: 100px;
  }
}

/* GoogleMap */
iframe {
  margin: 0;
  vertical-align: bottom;
}

/* ページトップに戻る */
.pagetop {
  position: fixed;
  bottom: 2em;
  right: 2em;
  z-index: 1000;
}

.pagetop a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  border-radius: 50%;
  box-shadow: 0 0 6px #aaa;
  color: #fff;
  font-size: 0.7em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 3em;
  height: 3em;
  padding: 1em;
  transition: all 0.5s;
  opacity: 0;
}

.pagetop.is-active a {
  opacity: 1;
  visibility: visible;
}

.pagetop a:hover {
  background-color: #dace29;
}


/**
 * アイキャッチ
 */
.eyecatch {
  background-color: #ebebeb;
  background-image: url(img/bg08.png);
  background-size: 10px;
}

.eyecatch img {
  width: 100% !important;
  height: auto;
  max-width: 1300px;
  display: block;
  margin: auto;
}

@media (max-width: 600px) {
  .eyecatch {
    font-size: 80%;
  }
}


/**
 * フロントページ
 */
/* タイル一覧 */
.gridList {
  text-align: center;
  letter-spacing: 0.6em;
}

.gridList a {
  display: inline-block;
  margin: 0.6em
}

@media (min-width: 600px) {
  .gridList {
    width: 960px;
    margin: auto;
  }

  .gridList figure {
    display: inline-block;
  }

  .gridList figure img {
    width: auto;
    max-height: 240px;
  }
}

@media (max-width: 600px) {
  .gridList {
    margin: auto 3vw;
  }

  .gridList>a>img {
    width: 40vw;
  }
}



/**
 * 個別ページ
 */


/* コースアイキャッチ */
.courseEyecatch {
  position: relative;
  background-image: url(img/bg03.png);
  padding: 3em 1em;
  background-size: cover;
}

@media (min-width: 600px) {
  .courseEyecatch {
    position: relative;
    background-image: url(img/bg03.png);
    padding: 3em 1em;
    background-size: 100% auto;
  }
}

@media (min-width: 600px) {
  .courseEyecatch .inner {
    max-width: 1100px;
    margin: auto;
  }
}

.courseEyecatch .title {
  margin: 0 0 0.6em;
}

.courseEyecatch .meta {
  display: table-cell;
  background-color: #FF5722;
  border-radius: 100px;
  color: #fff;
  font-size: 0.8em;
  letter-spacing: 0.1em;
  padding: 0.2em 1em;
}

.courseEyecatch .type {
  color: #a04a2f;
  font-size: 0.9em;
  font-weight: 700;
  margin: 0.6em 0;
}



/* おすすめする人 */
.recommend {
  position: relative;
  background-image: url(img/icon04.png);
  background-repeat: no-repeat;
  background-position: bottom 0 right 1em;
  background-color: #FFECB3;
  border-radius: 10px;
  background-size: auto 6em;
  padding: 2em 1.4em;
}

@media (max-width: 600px) {
  .recommend {
    padding: 2em 1.4em 7em;
  }
}

/* .recommend::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  content: "";
  display: block;
  width: 6em;
  height: 6em;
  background-image: url("img/icon06.png");
  background-repeat: no-repeat;
  background-size: 6em auto;
} */

.recommend ul {
  padding: 0;
  list-style: none;
}

.recommend li {
  display: table;
  border-bottom: dashed 2px #fff;
  padding: 0.5em 0em;
}

/* コース内容 */
/* .description {
  background-color: #ffe6f6;
  } */

.description {
  padding: 3em 0;
  overflow: hidden;

  background-color:
    linear-gradient(to bottom, transparent, rgba(#fff, 0.4) 70%);
  animation: bg 30s infinite;
}

@keyframes bg {

  0%,
  100% {
    background-color: #d7e1eb;
  }

  25% {
    background-color: #def0e0;
  }

  50% {
    background-color: #f7f4e2;
  }

  75% {
    background-color: #fae5f0;
  }
}

@media (min-width: 600px) {
  .description {
    background-image: url(img/icon07.png), url(img/bg09.png);
    background-attachment: fixed;
    background-repeat: no-repeat, repeat;
    background-size: auto 8em, auto;
    background-position: bottom 0 left 0.5em, center;
  }
}

@media (max-width: 600px) {
  .description {
    background-image: url(img/bg09.png);
    background-attachment: fixed;
  }
}

.description h3 {
  margin-bottom: 1em;
}

.descriptionItem {
  background-color: #fff;
  box-shadow: 0 0 6px #aaa;
  border-radius: 10px;
  padding: 1em;
}

.descriptionItem h3 {
  border-bottom: dashed 2px #E91E63;
  font-size: 1.6em;
  font-weight: 400;
  letter-spacing: 0.1em;
  padding: 0.2em 0 0.8em;
}

.descriptionItem h4 {
  font-family: "M PLUS 2", sans-serif;
  color: #E91E63;
  font-size: 1.1em;
  border-left: solid 5px;
  padding: 0.1em 0 0.2em 0.6em;
}

.descriptionItem table,
.descriptionItem th,
.descriptionItem td {
  border: solid 1px #ccc !important;
}

/* 進路 */
@media (max-width: 600px) {
  .carrier .wp-block-media-text__media img {
    display: block;
    margin: auto;
    width: 40%;
  }
}

/* その他 */
.other {
  position: relative;
  background-color: #fffbe5;
}

@media (min-width: 600px) {
  .other {
    background-image: url(img/room01.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
  }
}

/**
 * アクセス
 */
.access p {
  text-align: left;
}

.access a {
  color: #333;
  text-decoration: none;
}

/**
 * 表示・非表示
 */
@media (min-width: 600px) {
  .sp {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .pc {
    display: none !important;
  }

  .sp-block {
    display: block !important;
  }
}

.no-max img {
  max-height: none !important;
}
