@charset "UTF-8";

/* zen-maru-gothic-regular - japanese */
@font-face {
  font-family: 'Zen Maru Gothic';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/zen-maru-gothic-v19-japanese-regular.woff2') format('woff2');

  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  font-display: swap;

  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
}

/* zen-maru-gothic-500 - japanese */
@font-face {
  font-family: 'Zen Maru Gothic';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/zen-maru-gothic-v19-japanese-500.woff2') format('woff2');

  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  font-display: swap;

  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
}

/* zen-maru-gothic-700 - japanese */
@font-face {
  font-family: 'Zen Maru Gothic';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/zen-maru-gothic-v19-japanese-700.woff2') format('woff2');

  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  font-display: swap;

  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
}

/* ページ全体のスタイル
------------------------------------------ */
html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #9fa0a0;
}

a {
  color: #727171;
  text-decoration: none;
}

img {
  /* 画面幅を変更した際に画像が伸縮する設定 */

  /* 画像の原寸サイズ以上の大きさにはならない */

  /* 原寸サイズ以上で表示したい場合は、width: 100%;にする。画像がぼやけるので注意 */
  max-width: 100%;
  height: auto;
}

li {
  list-style: none;
}

/* トップへ戻るボタン
------------------------------------------ */
.back-to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  display: none;
  width: 100px;
  height: 61px;
  background-image: url("../image/pagetop_icon.png");
  background-size: cover;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .back-to-top {
    width: 150px;
    height: 91.5px;
  }
}

.back-to-top.show {
  display: block;
  opacity: 1;
}

.back-to-top:hover {
  transform: scale(1.1);
}

/* 部品
------------------------------------------ */

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
}

.font-color--blue {
  color: #1585c9;
}

.font-color--pink {
  color: #f3a6a6;
}

.font-color--gray {
  color: #727171;
}

.font-color--yellow {
  color: #fcc800;
}

/* PCで無効 */
.no-pc {
  display: none;
}

/* スマートフォンで有効 */
@media screen and (max-width:768px) {
  .no-pc {
    display: block;
  }
}

@media (max-width: 767px) {
  .no-sp {
    visibility: hidden;
  }
}

/* ページ読み込み直後にフェードイン要素を非表示にする */
.animate__animated {
  opacity: 0;
}

/* ヘッダー
------------------------------------------ */
.header {
  position: fixed;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: calc(70/390*100vw);
  background-color: #fffef3;
}


@media (min-width: 768px) {
  .header {
    height: 120px;
    background-color: #fff;
  }
}

.contents-width {
  max-width: 1366px;
  margin: 0 auto;
}

.header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 calc(16/390*100vw);
}

@media (min-width: 76˝px) {
  .header-container {
    margin: 0 32px;
  }
}

.header__logo-image {
  width: calc(230/390*100vw);
  height: auto;
}

@media (max-width: 767px) {
  .header__nav {
    display: none;
  }
}

.header__hamburger-button {
  position: relative;
  z-index: 4;
  width: calc(50/390*100vw);
  height: calc(44/390*100vw);
  cursor: pointer;
}

.header__hamburger-button span:nth-of-type(1),
.header__hamburger-button span:nth-of-type(2) {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #727171;
  border-radius: 3px;
}

.header__hamburger-button, .header__hamburger-button span {
  box-sizing: border-box;
  display: inline-block;
  transition: all .5s;
}

.header__hamburger-button span:nth-of-type(1) {
  top: calc(5/390*100vw);
}

.header__hamburger-button span:nth-of-type(2) {
  top: calc(20/390*100vw);
}

.header__hamburger-button span:nth-of-type(3) {
  position: absolute;
  bottom: 0;
  font-size: calc(12/390*100vw);
  font-weight: 700;
  color: #727171;
}

#hamburger-button.active span:nth-of-type(1) {
  background-color: #fff;
  transform: translateY(calc(10/390*100vw)) rotate(-30deg);
}

#hamburger-button.active span:nth-of-type(2) {
  background-color: #fff;
  transform: translateY(calc(-5/390*100vw)) rotate(30deg);
}

#hamburger-button.active span:nth-of-type(3) {
  opacity: 0;
}

@media (min-width: 768px) {
  .header__hamburger-button {
    display: none;
  }
}

.header__hamburger-menu {
  position: fixed;
  top: 0;
  left: 100%;
  visibility: hidden;
  width: 65vw;
  height: 100vh;
  opacity: 0;
  transition: all 0.6s;
}

.header__hamburger-menu-list {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: calc(70/390*100vw);
  background-color: #1585c9;
}

.header__hamburger-menu-item {
  width: 80%;
  max-width: 270px;
  height: calc(60/390*100vw);
  max-height: 80px;
  font-size: min(20px, calc(16/390*100vw));
  background-color: #fff;
  border-radius: calc(30/390*100vw);
}

.header__hamburger-menu-item:nth-of-type(1) {
  letter-spacing: -0.1rem;
}

.header__hamburger-menu-item:nth-of-type(2) {
  background-color: #fbdddb;
}

.header__hamburger-menu-item:nth-of-type(3) {
  background-color: #f8e399;
}

.header__hamburger-menu-item:nth-of-type(4) {
  background-color: #e0d8e0;
}

.header__hamburger-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* スライドイン後の位置の指定 */
.header__hamburger-menu-active {
  left: 35%;
  visibility: visible;
  opacity: 1;
}

.header__overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  background: rgb(3 3 3 / 70%);
}

@media (min-width: 768px) {
  .header__logo-image {
    width: clamp(230px, calc(400/1366*100vw), 400px);
  }
}

.header__menu-list {
  display: flex;
  flex-direction: row;
  column-gap: min(calc(36/1366*100vw), 36px);
  align-items: center;
  justify-content: space-between;
  height: 120px;
}

.header__nav-link {
  position: relative;
  font-size: 19px;
  color: #9fa0a0;
}

.header__nav-link:hover {
  font-size: 21px;
  color: #727171;
}

.header__nav-link:hover::after {
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 100%;
  height: 20px;
  content: '';
  background-image: url("../image/header_nav_hover_img.png");
  background-size: contain;
  transform: translate(-50%, 0);
}

.header__menu-item:nth-of-type(1) .header__nav-link {
  letter-spacing: -0.1rem;
}


@media (max-width: 1000px) {
  .header__nav-link {
    font-size: clamp(16px, calc(19/1000*100vw), 19px);
  }

  .header__nav-link:hover {
    font-size: clamp(18px, calc(21/1000*100vw), 21px);
  }
}


/* セクション
------------------------------------------ */


/* トップ
------------------------------------------ */
.top {
  padding-top: calc(70/390*100vw);

  /* ヘッダーぶん余白をとる */
}

@media (min-width: 768px) {
  .top {
    padding-top: 150px;
  }
}

.top__containts-wrapper {
  position: relative;
}

.top__catchphrase,
.top__catchphrase--static {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin: 0 auto;
  font-size: calc(47 / 390 * 100vw);
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: calc(6 / 390 * 100vw);
}

.top__catchphrase {
  animation-duration: 1000ms;
  animation-timing-function: ease-out;
  animation-delay: 2500ms;
  animation-fill-mode: forwards;
}


@media (max-width: 767px) {
  .top__catchphrase {
    width: 85vw;
    transform: translate(-50%, -50%) scale(1);

    /* animation-name: catchphrase-slide-sp; */
  }

  .top__catchphrase--static {
    width: 85vw;
    transform: translate(-68%, -97%) scale(0.5);
  }
}

@media (min-width: 768px) {
  .top__catchphrase {
    top: 50%;
    left: 50%;
    font-size: calc(67 / 1366 * 100vw);
    transform: translate(-50%, -50%);
  }

  .top__catchphrase--static {
    top: 50%;
    left: 21%;
    font-size: calc(47 / 1366 * 100vw);
    transform: translate(-50%, -50%);
  }
}

/* キャッチフレーズを1節ずつフェードインする */
@keyframes sentence-fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.top__sentence {
  opacity: 0;
  animation-name: sentence-fadein;
  animation-duration: 2500ms;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.top__sentence:nth-child(1) {
  animation-delay: 500ms;
}

.top__sentence:nth-child(2) {
  animation-delay: 500ms;
}

.top__sentence:nth-child(3) {
  animation-delay: 1500ms;
}

.top__sentence:nth-child(4) {
  animation-delay: 1500ms;
}



.top__sentence--en {
  margin-top: calc(25 / 390 * 100vw);
  font-size: calc(16 / 390 * 100vw);
  text-indent: calc(5 / 390 * 100vw);
  letter-spacing: calc(1 / 390 * 100vw);
}

@media (min-width: 768px) {
  .top__sentence--en {
    margin-top: calc(25 / 1366 * 100vw);
    font-size: calc(16 / 1366 * 100vw);
    text-indent: calc(5 / 1366 * 100vw);
    letter-spacing: calc(1 / 1366 * 100vw);
  }
}

.top__hero {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .top__hero {
    flex-direction: column;
    height: calc(630 / 390 *100vw);
  }
}

@media (min-width: 768px) {
  .top__hero {
    flex-direction: row;
  }
}

.top__sns {
  position: absolute;
  right: 5%;
  bottom: 8%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top__sns-popup {
  position: relative;
  padding: 0 calc(8/390*100vw);
  font-size: calc(10/390*100vw);
  color: #fff;
}

@media (min-width: 768px) {
  .top__sns-popup {
    padding: 0 calc(20/1366*100vw);
    font-size: calc(24/1366*100vw);
  }
}

.top__sns-popup::before,
.top__sns-popup::after {
  position: absolute;
  top: calc(2/390*100vw);
  width: calc(1.5/390*100vw);
  height: calc(12/390*100vw);
  content: '';
  background-color: #fff;
}

@media (min-width: 768px) {

  .top__sns-popup::before,
  .top__sns-popup::after {
    top: calc(6/1366*100vw);
    width: calc(3/1366*100vw);
    height: calc(26/1366*100vw);
  }
}

.top__sns-popup::before {
  left: 0;
  transform: rotate(-30deg);
}

.top__sns-popup::after {
  right: 0;
  transform: rotate(30deg);
}

.top__sns-link-list {
  display: flex;
  flex-direction: row;
  column-gap: calc(15/390*100vw);
}

@media (min-width: 768px) {
  .top__sns-link-list {
    column-gap: calc(28/1366*100vw);
  }
}

.bi-instagram,
.bi-facebook {
  font-size: calc(20/390*100vw);
  color: #fff
}

@media (min-width: 768px) {

  .bi-instagram,
  .bi-facebook {
    font-size: calc(32/1366*100vw);
  }
}

.bi-instagram:hover,
.bi-facebook:hover {
  opacity: .5;
}


.top__image-container {
  width: 100%;
}

@media (min-width: 768px) {
  .top__image-container {
    width: 60%;
  }

  .top__image {
    overflow: hidden;
    object-fit: cover;
    border-radius: calc(100 / 1366 * 100vw) 0 0 calc(100 / 1366 * 100vw);
  }
}


@media (max-width: 767px) {
  .top__image {
    display: block;
    aspect-ratio: 1 / 0.9;
    object-fit: cover;
    object-position: center center;
  }
}


/* ヒーロー画像のフェードイン */
@keyframes container-fadein {
  100% {
    opacity: 1;
  }
}

.container-fadein-animation {
  opacity: 0;
  transition: opacity 1s ease;

  /*
  animation-name: container-fadein;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-delay: 2.5s;
  animation-fill-mode: forwards;
  */
}

.container-fadein-animation-show {
  opacity: 1;
}

/* キャラクター配置 */
.top__character {
  position: absolute;
  top: 15%;
  right: 17%;
  width: calc(80 / 390 * 100vw);
}

/* SPの時はキャラクターの下に英語のキャッチフレーズを入れる */
.top__sentence--sp {
  position: absolute;
  top: 25%;
  right: 10%;
  font-size: calc(6 / 390 * 100vw);
  letter-spacing: calc(1 / 390 * 100vw);
}

@media (min-width: 768px) {
  .top__character {
    top: 46%;
    left: 24%;
    width: calc(110 / 1366 * 100vw);
  }
}

.top__circle {
  position: absolute;
  top: 3%;
  right: 7%;
  z-index: -1;
  width: calc(55/390*100vw);
  height: calc(55/390*100vw);
  background-color: #f8d085;
  border-radius: 50%;
  opacity: .5;
}


@media (min-width: 768px) {
  .top__circle {
    top: 3%;
    left: 20%;
    width: calc(75 / 1366 * 100vw);
    height: calc(75 / 1366 * 100vw);
  }
}

.top__rectangle {
  position: absolute;
  top: 5%;
  right: 38%;
  z-index: -1;
  width: calc(80 / 390 * 100vw);
  height: calc(40 / 390 * 100vw);
  background-color: #f3a6a6;
  opacity: .5;
  rotate: 20deg;
}

@media (min-width: 768px) {
  .top__rectangle {
    top: 91%;
    left: 7%;
    width: calc(110 / 1366 * 100vw);
    height: calc(55 / 1366 * 100vw);
  }
}

.top__triangle {
  position: absolute;
  top: 30%;
  right: 14%;
  width: calc(50/ 390 * 100vw);
  height: calc(60/ 390 * 100vw);
  background-color: #1585c9;
  opacity: .5;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  rotate: 50deg;
}

@media (min-width: 768px) {
  .top__triangle {
    top: 26%;
    left: 29%;
    width: calc(70 / 1366 * 100vw);
    height: calc(80 / 1366 * 100vw);
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
  }
}

/* お知らせ
------------------------------------------ */
.information {
  margin-top: 100px;
  scroll-margin-top: 120px;
}

.information__title {
  display: flex;
  flex-direction: row;
  column-gap: 20px;
  align-items: flex-end;
  justify-content: center;
  font-size: 1.8rem;
  color: #1585c9;
  text-align: center;
  letter-spacing: 0.2rem;
}

.information__title::before,
.information__title::after {
  width: 30px;
  height: 30px;
  content: '';
  background-size: contain;
}

.information__title::before {
  background-image: url("../image/info_title_left.png");
}

.information__title::after {
  background-image: url("../image/info_title_right.png");
}

.information-wrapper {
  margin-top: 50px;
}

/* 破線 */
.information-wrapper::before,
.information-wrapper::after {
  display: block;
  width: 100%;
  height: 3px;
  content: '';
  background-image: linear-gradient(to right, #1585c9, #1585c9 6px, transparent 6px, transparent 12px);

  /* 背景の開始位置を指定 */
  background-repeat: repeat-x;

  /* グラデーションの幅・高さを指定 */
  background-position: left bottom;

  /* 幅2の線を作る */
  background-size: 12px 3px;

  /* 横向きにのみ繰り返す */
}

.information-wrapper::before {
  margin-bottom: 20px;
}

.information-wrapper::after {
  margin-top: 20px;
}

#swiper2 .swiper-wrapper {
  align-items: stretch;
}

#swiper2 .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  height: auto;
  padding-bottom: 50px;
}

.information__slide {
  box-sizing: border-box;
  height: 100%;
  width: 94%;
  max-width: 750px;
  border: 2px solid #1585c9;
  border-radius: 20px;
}

.information__item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  column-gap: 20px;
  align-items: center;
  margin: 40px 15px;
}

@media (min-width: 768px) {
  .information__item {
    flex-flow: row nowrap;
    column-gap: 40px;
    margin: 40px;
  }
}

.information__image-block {
  display: flex;
}

@media (max-width: 767px) {
  .information__image-block {
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    max-width: 480px;
  }
}


.information__text-block {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  align-items: center;
}

@media (min-width: 768px) {
  .information__text-block {
    row-gap: 20px;
    align-items: flex-start;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .swiper-slide:first-child>.information__slide>.information__item>.information__image-block::before {
    display: block;
    content: '';
    background-image: url("../image/new_icon.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 100px;
    height: 47px;
  }
}

/* PC */
@media (min-width: 768px) {
  .swiper-slide:first-child>.information__slide>.information__item>.information__text-block::before {
    display: block;
    content: '';
    background-image: url("../image/new_icon.png");
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    width: 120px;
    height: 60px;
  }
}

/* ページネーションの余白 */
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 8px 8px;
}

/* ページネーションのサイズと色 */
.swiper-pagination-bullet {
  background-color: #1585c9;
  height: 12px;
  width: 12px;
}

.swiper-pagination {
  bottom: 0px !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #1585c9;
}

@media (max-width: 767px) {

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

.information__heading {
  padding-bottom: 12px;
  font-size: 18px;
}

.information__article {
  padding-bottom: 12px;
  font-size: 16px;
}

.information__date {
  display: block;
  padding-bottom: 12px;
  font-size: 16px;
}

.information__detail {}

.information__link {
  color: #1585c9;
}

.information__link:hover {
  opacity: 0.5;
}

.information__link {
  position: relative;
  display: flex;
  gap: 0 10px;
  align-items: center;
  padding: .3em .3em .3em 1.5em;
}

.information__link::before,
.information__link::after {
  position: absolute;
  content: '';
}

.information__link::before {
  top: 10px;
  left: 0;
  width: 1em;
  height: 1em;
  background-color: #1585c9;
  border-radius: 50%;
}

.information__link::after {
  top: 15.5px;
  left: .54em;
  width: .35em;
  height: .35em;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-75%) rotate(-45deg);
}

/* キッズバッククラブとは
------------------------------------------ */

.about {
  margin: 80px 0;
  scroll-margin-top: 120px;
}

@media screen and (min-width: 768px) {
  .about {
    margin: 160px 16px 80px;
  }
}

.about_container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1366px;
  margin: 0 auto;
  overflow: hidden;
}

.about__title {
  font-size: min(46px, calc(30 / 390 * 100vw));
  color: #1585c9;
  text-align: center;
}

@media screen and (min-width: 768px) and (max-width: 1032px) {
  .about__title {
    font-size: calc(46/1032*100vw);
  }
}

@media screen and (min-width: 1033px) {
  .about__title {
    font-size: 46px;
  }
}

.about__title-rotate-box {
  position: absolute;
  top: calc(70/390*100vw);
  left: -2%;
  height: 100px;
  transform: rotate(-30deg);
}

@media screen and (min-width: 768px) {
  .about__title-rotate-box {
    top: 0;
    left: 18%;
    height: calc(1300/1032 *100vw);
    transform: rotate(-20deg);
  }
}

@media screen and (min-width: 1033px) {
  .about__title-rotate-box {
    top: 0;
    left: 25%;
    height: 1300px;
    transform: rotate(-30deg);
  }
}

.about__description-box {
  position: relative;
  width: 100%;
  margin-top: calc(100/ 390 * 100vw);
  overflow: hidden;
  color: #fff;
}


@media screen and (min-width: 768px) {
  .about__description-box {
    margin-top: 100px;
  }
}

@media screen and (min-width: 1033px) {
  .about__description-box {
    width: calc(1000 / 1366 * 100vw);
    min-width: 900px;
    max-width: 1000px;
    margin-top: 100px;
  }
}

.about__description-box::before {
  position: absolute;
  left: 100%;
  z-index: -1;
  width: 190%;
  max-width: 1200px;
  height: calc(100vw*1.9);
  content: '';
  background-color: #1585c9;
  border-radius: 50%;
  transform: translate(-50%, 0);
}

@media screen and (min-width: 768px) {
  .about__description-box::before {
    position: absolute;
    left: 50%;
    z-index: -1;
    width: 100%;
    height: calc(700 /1032 *100vw);
    content: '';
    background-color: #1585c9;
    border-radius: 50%;
    transform: translate(-50%, 0);
  }
}

@media screen and (min-width: 1033px) {
  .about__description-box::before {
    position: absolute;
    left: 50%;
    z-index: -1;
    width: 100%;
    height: 700px;
    content: '';
    background-color: #1585c9;
    border-radius: 50%;
    transform: translate(-50%, 0);
  }
}

.about__description-text {
  padding: 80px calc(16/390 *100vw) 20px;
  font-size: min(16px, calc(12 / 390 * 100vw));
  line-height: 1.8;
  text-align: right;
}

.about__description-text em {
  font-size: min(20px, calc(16 / 390 * 100vw));
  font-style: normal;
  color: #fcc800;
}

@media screen and (min-width: 768px) and (max-width: 1032px) {
  .about__description-text {
    padding: calc(100 /1032 *100vw) calc(16/1032 *100vw) calc(20/1032 *100vw);
    font-size: calc(20 /1032 *100vw);
    text-align: center;
  }

  .about__description-text em {
    font-size: calc(24 /1032 *100vw);
  }

}

@media screen and (min-width: 1033px) {
  .about__description-text {
    padding: 100px 16px 40px;
    font-size: 20px;
    line-height: 1.8;
    text-align: center;
  }

  .about__description-text em {
    font-size: 24px;
  }

}

/* 活動内容
------------------------------------------ */
.works {
  margin-top: 100px;
  scroll-margin-top: 120px;
}

.works__container {
  overflow: hidden;
}

.slidein {
  transition: 0.8s ease-out;
}

.slide_left {
  transform: translateX(calc(-50vw - 50%));
}

.slide_right {
  transform: translateX(calc(50vw + 50%));
}

.show {
  transform: translateX(0);
}

.works__title {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #1585c9;
  text-align: center;
  letter-spacing: 0.2rem;
}

.works__title::after {
  width: 179.1px;
  height: 40px;
  padding-bottom: 60px;
  content: '';
  background-size: contain;
}

.works__title::after {
  background-image: url("../image/work_title_line.png");
}

.works__list {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  margin: 0 32px;
}

.works__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .works__item {
    flex-direction: row;
    justify-content: space-between;
  }

  .works__item_reverse {
    flex-direction: row-reverse;
  }
}

.works__text {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  width: 100%;
  padding-top: 20px;
}

@media screen and (min-width: 768px) {
  .works__text {
    width: 48%;
    padding-top: 0;
  }
}

.works__activity-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1585c9;
}

.works__activity-discription {
  font-size: 1.1rem;
  font-weight: 400;
}

.works__photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  object-fit: cover;
  border-radius: 40px;
}

@media screen and (min-width: 768px) {
  .works__photo {
    width: 48%;
  }
}


/* お問い合わせ
------------------------------------------ */
.contact {
  margin-top: 100px;
  margin-bottom: 100px;
  scroll-margin-top: 120px;
}

.contact__title {
  padding-bottom: 30px;
  font-size: 1.8rem;
  color: #1585c9;
  text-align: center;
  letter-spacing: 0.2rem;
}

.contact__flexbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__link {
  font-size: clamp(18px, calc(32/390*100vw), 32px);
}

.contact__link:hover {
  opacity: 0.5;
}

/* フッター
------------------------------------------ */

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background-color: #1585c9;
}

.footer__logo {
  width: 250px;
  height: auto;
}


/* single.php用のスタイル
------------------------------------------ */

.news {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 16px;
  row-gap: 36px;
  font-size: clamp(16px, calc(22/390*100vw), 22px);
  max-width: 600px;
}


@media screen and (max-width: 767px) {
  .news__container {
    padding-top: 60px;
  }
}

.news__container img {
  object-fit: contain;
}

.news__event-list {
  display: flex;
  flex-direction: column;
  padding: 20px;
  align-items: center;
  justify-content: center;
  gap: 30px;
}


.news__event-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 100%;
  max-width: 500px;
}

.news__event-contents>h3 {
  text-align: center;
  letter-spacing: 1px;
  padding: 0px 24px 8px;
  font-size: 24px;
  font-weight: 700;
  color: #1585c9;
}

.news__event-contents {
  width: 100%;
  padding: 15px 25px;
  background-color: #fff;
  border: #1585c9 2px solid;
  border-radius: 20px;
}

.news__event-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 15px;
}

.news__event-date {
  font-size: 24px;
  color: #727272;
}

.news__event-open-hour {
  font-size: 20px;
  color: #727272;
}

.news__event-stage-hour {
  font-size: 16px;
  color: #727272;
}

.news__event-contents>hr {
  border-top: 2px dashed #727272;
}

.news__entry-button, .modal__entry-button, .news__waiting-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  font-size: 18px;
  color: #fff;
  background-color: #1585c9;
  border-radius: 24px;
  cursor: pointer;
}

.modal__entry-button, .news__waiting-button {
  background-color: #eb6363;
}

.modal__entry-button {
  margin-top: 30px;
}

.news__entry-button:hover, .modal__entry-button:hover, .news__waiting-button:hover {
  opacity: 0.8;
}

.button-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  content: '';
  border-radius: 50%;
}

.button-icon::after {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  content: '';
  border-top: 2px solid #1585c9;
  border-right: 2px solid #1585c9;
  transform: rotate(45deg);
}

.modal__entry-button>.button-icon::after,
.news__waiting-button>.button-icon::after {
  border-top: 2px solid #eb6363;
  border-right: 2px solid #eb6363;
}

.news__button-icon {
  background-color: #fff;
}

@media screen and (min-width: 768px) {
  .news__event-item {}
}

.news__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 26px;
  font-size: 14px;
  color: #fff;
  background-color: #6bbd7c;
  border-radius: 13px;
}

.news__label--soldout {
  background-color: #dd5941;
}


/*
モーダル
------------ */

/* 開いた状態のダイアログ */
.modal-window[open] {
  opacity: 1;
}

/* 閉じた状態のダイアログ */
.modal-window {
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 600px;
  height: 80%;
  padding: 36px 16px 16px;
  margin: 0;
  background-color: #fff;
  border-radius: 20px;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease-in;
}

/* 開く前の状態  */
@starting-style {
  .modal-window[open] {
    opacity: 0;
  }
}

/* ダイアログがモーダルで最上位に来た場合に :backdrop をトランジションする */
.modal-window::backdrop {
  background-color: rgb(0 0 0 / 70%);
  opacity: 1;
  transition: opacity 0.5s ease-in;
}

.modal-window[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .modal-window[open]::backdrop {
    opacity: 0;
  }
}

#close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
}

#close-btn::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 1px;
  content: '';
  background-color: #000;
  transform: translate(-50%, -50%) rotate(45deg);
}

#close-btn::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 1px;
  content: '';
  background-color: #000;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__title {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #eb6363;
  text-align: center;
}

.modal__info-bg {
  padding-left: 8px;
  margin: 8px 0 0;
  background-color: rgb(247 195 196 / 50%);
}

.modal__info-title {
  font-size: 16px;
  font-weight: 700;
  color: #eb6363;
}

.modal__info-list {
  padding: 10px;
  list-style: none;
}

.modal__info-item {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 400;
  color: #5a5a5a;
}

.modal__info-item::before {
  position: absolute;
  left: 0;
  content: "※";
}

.modal__start-date {
  margin-bottom: 5px;
  font-size: 16px;
  color: #5a5a5a;
  text-align: center;
}

.modal__text {
  font-size: 14px;
  font-weight: 400;
  color: #5a5a5a;
}

.modal__process-list {
  padding: 8px;
}

.modal__process-item {
  padding: 8px 0;
  font-weight: 700;
  color: #5a5a5a;
}

.modal__text--important {
  display: inline;
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(transparent 60%, #fcd68c 60%);
}


/*
固定ページのスタイル
------------ */

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page h1 {
  font-size: clamp(20px, calc(22/390*100vw), 28px);
  padding: 40px 0;
  text-align: center;
}

.page h2 {
  font-size: clamp(16px, calc(22/390*100vw), 20px);
  padding: 20px 0 10px;
  text-align: center;
}

.page h3 {
  font-size: clamp(12px, calc(22/390*100vw), 16px);
  padding: 20px 0 10px;
  text-align: center;
}

.page ul {
  padding-left: 1em;
}

.page li {
  list-style: disc;
}

.page__container {
  max-width: 767px;
  margin: 0 16px;
  font-size: clamp(12px, calc(22/390*100vw), 16px);
}

.page p {
  margin-top: 16px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.page a {
  color: #1585c9;
  text-decoration: underline;
}

.page a:hover {
  opacity: 0.8;
}