@charset "UTF-8";
@property --_w {
  syntax: "<length>";
  inherits: false;
  initial-value: 100vw;
}
@property --_h {
  syntax: "<length>";
  inherits: false;
  initial-value: 100vh;
}
:root {
  --w: tan( atan2(var(--_w), 1px) );
  --h: tan( atan2(var(--_h), 1px) );
}

main {
  background: white;
  padding-top: 3rem;
  padding-bottom: 40px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: white;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.hamburger {
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to bottom, #38A4FF, #73BFFF);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10000;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
  }
}
.companyLogo {
  height: auto;
}

/* 最初の部分 */
.hero-content-wrapper {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.title-message {
  font-weight: bold;
  line-height: 1.2;
  text-align: left;
  width: min(85vw, 300px);
  margin: 0 auto;
  padding-left: 1.5rem;
  color: black;
}

.title-line {
  display: block;
  font-weight: 700;
  font-size: clamp(20px, var(--_w) * 0.08, 30px);
}

.hero-title {
  margin: 0;
  line-height: 1;
}

.hero-title .hero {
  display: block;
  font-weight: bold;
  color: #38A4FF;
  font-size: clamp(40px, var(--_w) * 0.17, 68px);
  letter-spacing: 0.02em;
}

/* 2行目（教員割）：約 4/3 倍で幅合わせ */
.hero-title .hero:last-of-type {
  margin-top: 1rem;
}

.playing-card-image img {
  display: block;
  margin: 2rem 0;
  height: auto;
  width: 100%;
  max-height: 551px;
}

.rate-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--_w) * 0.0076);
  margin: 2rem auto;
  width: 90%;
  max-width: 350px;
}

.rate-image {
  width: 33%;
}

.small-text-container {
  text-align: center;
}

.small-text {
  color: #001133;
  font-size: 1rem;
}

.apply-button-container {
  margin-top: 0.5rem;
  text-align: center;
}

.apply-button-container .apply-button {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  font-weight: 800;
  font-size: clamp(1.2rem, 3.5vw, 1.75rem);
  color: white;
  background: linear-gradient(to bottom, #38A4FF, #73BFFF);
  border-radius: 999px;
  box-sizing: border-box;
  border: white 3px solid;
}

.apply-button-container .apply-button:hover {
  color: #38A4FF;
  background: white;
  border: #38A4FF 3px solid;
}

.apply-button-container .apply-button:active {
  transform: translateY(2px);
  box-shadow: 0 0.15rem 0 var(--brand-blue-dark), 0 0.5rem 0.75rem rgba(43, 127, 224, 0.25);
}

.small-text-link-container {
  margin-top: 3rem;
}

.small-text-link {
  display: block;
  text-align: center;
  font-size: 1rem;
  color: black;
  justify-content: center;
  width: fit-content;
  text-decoration: underline;
  margin: 1rem auto;
}

.local-government-title-container {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: black;
}

.infinite-images-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
}

.local-government-logo-container {
  display: flex;
  gap: 0.5rem;
  animation: infinity-scroll-left 40s linear infinite;
}

.local-government-logo-container img {
  width: 33.3333333333vw;
  object-fit: contain;
  max-width: 140px;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (min-width: 768px) {
  .hero-section {
    grid-template-columns: 350px;
    grid-auto-rows: 6;
    align-items: start;
    gap: 0.5rem;
    padding-inline: 3rem;
    display: grid;
    margin: 0;
    padding: 0;
  }
  .playing-card-image {
    grid-column: 2;
    grid-row: 1/span 6;
    align-self: stretch;
    display: flex;
  }
  .playing-card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left;
    margin: 0;
  }
  .hero-title .hero {
    font-size: clamp(50px, var(--w) * 0.05, 71px);
  }
  /* 左側に並べる要素を1列目に固定（DOM順で縦に積まれる） */
  .title-message,
  .hero-title-container,
  .small-text-container,
  .apply-button-container {
    grid-column: 1;
    margin: 0;
  }
  .rate-image-container {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 309px;
    justify-content: flex-start;
    margin: 0.5rem auto;
  }
  .rate-image-container img {
    width: 100%;
    max-width: 130px;
    text-align: center;
  }
  .apply-button-container .apply-button {
    font-size: 25px;
  }
  .small-text-link-container {
    grid-column: 1;
    margin-top: 0;
  }
  .title-line {
    font-size: 1.5rem;
  }
  /* .local-government-title-container {
    grid-column: 1;
    text-align: center;
  }
  .local-government-logo-container {
    width: 80%;
    max-width: 500px;
  } */
  .local-government-logo-container img {
    max-width: 180px;
    /* width: vw; */
    /* max-width: calc(var(--_w) * 0.2); */
  }
  @keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
}
/* 問題提起 */
.rasing-problem-container {
  background: linear-gradient(to bottom, #38A4FF, #38A4FF 63%, #73BFFF);
  text-align: left;
  margin-top: 4rem;
  padding-bottom: 1rem;
  padding-top: 8rem;
  border-bottom-left-radius: 5%;
  border-bottom-right-radius: 5%;
  position: relative;
}

.rasing-problem-title {
  /* width: 320px; */
  width: min(92vw, 320px);
  /* font-size: 29px; */
  font-size: clamp(20px, var(--_w) * 0.08, 29px);
  margin: 0 auto;
  color: white;
  padding-bottom: 1.2rem;
  line-height: 130%;
}

.raising-problem-text-container {
  /* width: 320px; */
  width: min(92vw, 320px);
  font-size: clamp(12px, var(--_w) * 0.04, 14px);
  margin: 0 auto;
  padding-left: 0.4rem;
  margin-top: 1rem;
}

.raising-problem-text {
  font-weight: normal;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.raising-problem-image-container {
  margin: 2rem 0;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 50%/40%;
  overflow: hidden;
  position: relative;
  /* 画像の周辺をフェードさせて境目を消す（親の青に自然に溶け込ませる）*/
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 72%);
  mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.raising-problem-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(56, 164, 255, 0) 60%, rgb(56, 164, 255) 80%, rgb(56, 164, 255) 100%);
  z-index: 2;
  pointer-events: none;
}

.raising-problem-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scroll-down-container {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  z-index: 2;
  width: 60px;
  height: 60px;
}

.scroll-down {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(to bottom, #99D7F6, #73BFFF 40%, #B9DFFF);
  text-decoration: none;
}

.scroll-down .arrow {
  width: 24px;
  height: 24px;
  border-left: 5px solid white;
  border-bottom: 5px solid white;
  transform: rotate(-45deg) translate(3px, -3px);
}

@media (min-width: 768px) {
  .rasing-problem-title {
    width: fit-content; /* デスクトップでは幅を広げる */
    font-size: 36px; /* タイトルのフォントサイズを変更 */
    padding-bottom: 3rem;
  }
  .raising-problem-text {
    font-size: 24px;
  }
  .raising-problem-text-container {
    width: 600px;
    margin: 0 auto;
    padding-left: 6rem;
  }
}
@media (min-width: 1024px) {
  .rasing-problem-container {
    display: grid;
    grid-template-columns: 47.5%;
    align-items: center;
    padding-bottom: 5rem;
  }
  .rasing-problem-title {
    margin-left: 0;
    padding-left: calc(var(--_w) * 0.07);
    font-size: clamp(25px, var(--_w) * 0.03125, 47.5px); /* 1440pxの時、45pxになるようにした */
    margin-bottom: 0;
  }
  .raising-problem-text-container {
    margin-left: 0;
    padding-left: calc(var(--_w) * 0.07);
  }
  .raising-problem-text {
    font-size: 20px;
  }
  .raising-problem-text-container {
    grid-column: 1;
  }
  .raising-problem-image-container {
    grid-column: 2;
    grid-row: 1/3;
    border-radius: 50%;
  }
}
/* Hi!storyの紹介 */
.introduce-hi-story-title {
  width: min(90vw, 360px);
  font-size: clamp(20px, var(--_w) * 0.08, 32px);
  margin-top: 5rem;
  margin: 5rem auto 0;
  color: #38A4FF;
}

.touzai-image-container {
  width: 100%;
  text-align: center;
}

.touzai-image-container img {
  max-width: 500px;
  width: 100%;
  height: auto;
}

.check-list-container {
  width: min(90vw, 360px);
  margin: 0 auto;
}

:root {
  --box: 9px; /* □のサイズ */
  --thick: 2px; /* 枠とチェックの太さ */
  --blue: #38A4FF; /* 文字色 */
  --red: #FF0000; /* チェック色 */
  --shadow: rgba(0,0,0,.15); /* うっすら影 */
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: var(--blue);
}

.check-list > li {
  font-size: 15px;
  position: relative;
  padding-left: calc(var(--box) + 0.75rem);
}

.check-list > li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0;
  width: var(--box);
  height: var(--box);
  left: 0;
  margin: auto 0;
  background: #fff;
  border: var(--thick) solid #111;
  box-shadow: 0 2px 6px var(--shadow);
}

.check-list > li::after {
  content: "";
  position: absolute;
  left: calc(var(--box) * 0.22);
  top: 30%;
  width: calc(var(--box) * 1.2);
  height: calc(var(--box) * 0.5);
  border-bottom: var(--thick) solid var(--red);
  border-left: var(--thick) solid var(--red);
  transform: translateY(-30%) rotate(-45deg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.introduce-hi-story-text-container {
  color: black;
  margin: 1rem auto 0;
  width: min(90vw, 360px);
}

.introduce-hi-story-text {
  font-weight: lighter;
  font-size: 15px;
}

@media (min-width: 701px) {
  .introduce-hi-story-text {
    font-size: 20px;
    font-weight: lighter;
  }
  .check-list > li {
    font-size: 20px;
  }
  .underline {
    font-size: 20px;
  }
}
.underline {
  background-image: linear-gradient(transparent 58%, #FFF187 0);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.05em;
  font-size: 15px;
}

.game-explanation-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 2rem auto;
  width: min(90vw, 360px);
}

.game-explanation-container img {
  width: 90%;
  max-width: 120px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .introduce-hi-story-container {
    display: grid;
    grid-template-columns: 4fr 3fr; /* 左右2カラム */
    grid-auto-rows: auto;
  }
  .introduce-hi-story-title {
    margin-bottom: 1rem;
  }
  .touzai-image-container {
    grid-column: 1;
    grid-row: 1/5;
    align-content: center;
  }
  .touzai-image-container img {
    max-width: 800px;
    width: 95%;
  }
  .game-explanation-container {
    grid-column: 1;
    grid-row: 5;
    margin: 0 auto;
    width: min(42vw, 380px);
  }
  .introduce-hi-story-title {
    grid-column: 2;
    grid-row: 1/3;
    margin-left: 0;
    padding-left: 0;
    font-size: clamp(32px, var(--_w) * 0.03125, 50px);
  }
  .check-list-container {
    grid-column: 2;
    grid-row: 3;
    margin-left: 0;
    font-size: 20px;
  }
  .introduce-hi-story-text-container {
    grid-column: 2;
    grid-row: 4/6;
    margin-left: 0;
    padding-left: 0;
  }
  .underline {
    font-size: 20px;
  }
}
/* 開発者紹介 */
.developer-introduction-container {
  color: black;
  padding: 3rem 0;
}

.developer-introduction-title {
  font-size: 30px;
  margin: 0 auto;
  color: #38A4FF;
  padding-bottom: 1.2rem;
  line-height: 130%;
  text-align: center;
}

.developer-introduction-image-container {
  margin: 1.5rem auto;
  width: min(92vw, 400px);
  max-width: none;
  padding: 0 1rem;
  text-align: center;
}

.developer-introduction-image-container picture {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: inline-block;
}

.developer-introduction-image-container img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
}

.developer-introduction-text1 {
  text-align: center;
  font-size: 24px;
}

.developer-introduction-text2 {
  text-align: left;
  font-size: clamp(12px, var(--_w) * 0.04, 15px);
  font-weight: lighter;
  width: min(90vw, 320px);
  margin: 1.5rem auto;
}

.developer-underline {
  background-image: linear-gradient(transparent 58%, #FFF187 0);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.05em;
  font-size: clamp(12px, var(--_w) * 0.04, 18px);
}

@media (min-width: 768px) {
  .developer-introduction-image-container img {
    max-width: 500px;
  }
}
@media (min-width: 900px) {
  .developer-introduction-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr; /* 右カラム(画像)をやや広く */
    grid-auto-rows: auto;
    margin: 5rem 2.5rem;
  }
  .developer-introduction-image-container picture,
  .developer-introduction-image-container img {
    width: 100%;
    max-width: none;
    height: auto;
    display: inline-block;
    border-radius: 5%;
  }
  .developer-introduction-title {
    font-size: 45px;
    grid-column: 1;
    margin-left: 0;
    padding-left: 0;
    width: 100%;
  }
  .developer-introduction-image-container {
    grid-column: 2;
    grid-row: 1/3;
    margin-left: 0;
    padding-left: 0;
    width: 100%;
    max-width: none; /* カラム幅いっぱいに */
  }
  .developer-introduction-text1 {
    font-size: 32px;
  }
  .developer-introduction-text2 {
    font-size: 20px;
    width: 500px;
    padding-left: calc(var(--_w) * 0.07);
  }
  .developer-underline {
    font-size: 20px;
  }
}
/* 導入事例 */
.container {
  overflow: hidden;
  border-radius: 0 0 2rem 2rem;
}

.introduce-example-container {
  background: linear-gradient(to bottom, #38A4FF, #38A4FF 63%, #B9DFFF);
  padding-top: 5rem;
  padding-bottom: 3rem;
  border-radius: 50% 50% 0 0;
  margin-left: -500px;
  margin-right: -500px;
  padding-left: 100px;
  padding-right: 100px;
  /* padding-bottom: 200px; */
}

.video-container {
  margin: 1.5rem auto;
  aspect-ratio: 16/9;
  height: auto;
  text-align: center;
  width: 80vw;
}

.video {
  width: 100%;
  height: 100%;
}

.introduce-place-container {
  margin: 1.5rem 1rem;
  padding: 0 1rem;
}

.image-container {
  text-align: center;
  padding: 0 1rem;
  justify-content: center;
}

.introduce-place-img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: inline-block;
}

.introduce-place-img {
  display: block;
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.school-name {
  position: absolute;
  left: 0px;
  bottom: 0px;
  padding: 6px 10px; /* ← このpadding分だけ背景が広がる */
  color: #fff;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
  background: black; /* ← 透明度なしの黒背景 */
}

.introduce-school-title {
  font-size: 24px;
  color: #38A4FF;
  padding: 0 16px 12px;
  text-align: left;
}

.introduce-school-text {
  font-size: 15px;
  font-weight: lighter;
  color: black;
  margin-top: 0.5rem;
  text-align: left;
  line-height: 1.7;
}

.school-container,
.place-container {
  border-radius: 10px;
  background: white;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  width: 80vw;
  margin: 0 auto 1.25rem;
  margin-top: 4rem;
}

.image-container {
  text-align: center;
  padding: 0;
  justify-content: center;
}

.introduce-school-title,
.introduce-school-text {
  padding: 0 16px 12px;
}

.introduce-school-title {
  margin-top: 10px;
}

.hilight {
  background: #38A4FF;
  color: white;
  padding: 0 3px;
}

.line-break {
  display: none;
}

.teacher-name {
  font-size: calc(12px + 0.3vw);
  font-weight: normal;
}

@media (max-width: 400px) {
  .line-break {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 1060px) {
  .line-break {
    display: block;
  }
  .teacher-name {
    font-size: calc(10px + 0.6vw);
  }
}
@media (min-width: 768px) {
  .introduce-example-container {
    /* margin-left: -100px; */
    /* margin-right: -100px; */
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 20%;
    margin: 0 -50%;
    /* padding: 0 40%; */
  }
  .introduce-example-title {
    font-size: 45px;
  }
  .introduce-place-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 0 auto;
    width: 80vw;
    padding: 0;
  }
  .image-container {
    display: flex;
    justify-content: center;
    width: 80vw;
    gap: 1rem;
  }
  .school-container,
  .place-container {
    width: 50%;
    margin: 5rem 0 0 0;
    margin-top: 4rem;
  }
  .introduce-school-title {
    font-size: 32px;
  }
  .introduce-school-text {
    font-size: 20px;
  }
  .hilight {
    font-size: 20px;
  }
}
.introduce-example-title {
  font-size: 30px;
  margin: 0 auto;
  color: white;
  padding-bottom: 1.2rem;
  line-height: 130%;
  text-align: center;
  position: relative;
  z-index: 0;
  overflow: visible;
}

.text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  width: 320px;
  margin: 0 auto;
}

/* 体験者の声 */
.experiencer-container {
  color: black;
  padding: 3rem 0;
}

.experiencer-title {
  margin: 0 auto;
  color: #38A4FF;
  font-size: 30px;
  padding-bottom: 1.2rem;
  text-align: center;
}

/* ===== 共通（色・レイアウトの基本） ===== */
.kids-container,
.parents-container {
  width: min(92vw, 520px);
  margin: 2rem auto 5rem;
}

.kids-wrapper {
  display: grid;
  grid-template-columns: 3fr 1.5fr;
}

.parents-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  align-items: start;
}

/* 見出し（2行想定） */
.kids-title,
.parents-title {
  color: #38A4FF;
  font-weight: bold;
  line-height: 1.35;
  font-size: clamp(18px, 4.8vw, 22px);
  margin: auto 0;
  padding-left: 1rem;
}

.parents-title {
  margin-left: 1rem;
  text-align: right;
  margin-left: 0;
  padding-left: 0;
  padding-right: 1rem;
}

/* 丸画像＋キャプション */
.kids-image-container,
.parents-image-container {
  text-align: center;
}

.kids-image,
.parents-image {
  width: calc(0.235 * var(--_w));
  height: calc(0.235 * var(--_w));
  max-width: 110px;
  max-height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  aspect-ratio: 1/1;
}

.kids-detail,
.parents-detail {
  margin-top: 0.4rem;
  font-size: clamp(8px, 4.8vw, 10px);
  color: #000000;
}

/* 吹き出し共通 */
.kids-text-container p,
.parents-text-container p {
  display: flex;
  position: relative;
  overflow: visible;
  margin: 10px 0;
  padding: 10px 14px;
  border-radius: 10px;
  line-height: 1.65;
  font-size: 15px;
  width: 100%;
  max-width: min(78vw, 360px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.kids-text-container,
.parents-text-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.kids-text-container p {
  background: #B9DFFF;
}

.parents-text-container p {
  background: #E0E0E0;
}

/* kids は右向き（色に合わせる） */
.kids-text-container p::after {
  content: "";
  position: absolute;
  top: 45%;
  right: -20px; /* しっぽを枠外に出す */
  transform: translateY(-70%);
  rotate: -20deg;
  border-style: solid;
  border-width: 12px 0 12px 20px; /* 上 右 下 左 */
  border-color: transparent transparent transparent #B9DFFF;
}

/* parents は左向き */
.parents-text-container p::before {
  content: "";
  position: absolute;
  top: 45%;
  left: -20px;
  rotate: 20deg;
  transform: translateY(-70%);
  border-style: solid;
  border-width: 12px 18px 12px 0;
  border-color: transparent #E0E0E0 transparent transparent;
}

/* ===== モバイル（縦積み） ===== */
.kids-container > .kids-title {
  margin-bottom: 0.75rem;
}

.parents-container > .parents-title {
  margin: 1rem 0 0.75rem;
}

.kids-text-container,
.parents-text-container {
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  [class$=-pc] {
    display: none;
  }
}
/* ===== デスクトップ：2カラムでFigmaレイアウトに寄せる ===== */
@media (min-width: 768px) {
  .experiencer-title {
    font-size: clamp(32px, var(--_w) * 0.031, 45px);
  }
  .kids-container,
  .parents-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-auto-rows: 2;
    column-gap: 24px;
    align-items: start;
    width: min(900px, 85vw);
  }
  .kids-wrapper,
  .parents-wrapper {
    display: none;
  }
  .kids-title-pc,
  .parents-title-pc {
    font-size: clamp(15px, var(--_w) * 0.022, 23px);
    margin-bottom: 1rem;
    color: #38A4FF;
  }
  .kids-title-pc {
    grid-column: 3;
  }
  .parents-title-pc {
    grid-column: 1;
  }
  .kids-image-container-pc {
    grid-column: 3;
    grid-row: 2;
    text-align: center;
  }
  .parents-image-container-pc {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }
  .kids-image-pc,
  .parents-image-pc {
    border-radius: 50%;
    width: calc(0.235 * var(--_w));
    max-width: 150px;
    aspect-ratio: 1/1;
    object-fit: cover;
  }
  .kids-detail-pc,
  .parents-detail-pc {
    font-size: 10px;
  }
  .kids-text-container {
    grid-column: 1/span 2;
    grid-row: 2;
  }
  .parents-text-container {
    grid-column: 2/span 3;
    grid-row: 2;
  }
  /* PCで吹き出しを少し大きく */
  .kids-text-container p,
  .parents-text-container p {
    font-size: 15px;
    padding: 12px 16px;
    max-width: 520px;
  }
}
/* 導入の流れ */
.wrapper {
  overflow: hidden;
}

.introduction-flow-container {
  background: linear-gradient(to bottom, #38A4FF, #38A4FF 63%, #99D7F6);
  padding-top: 5rem;
  padding-bottom: 3rem;
  border-radius: 50% 50% 0 0;
  margin-left: -500px;
  margin-right: -500px;
  /* padding-left: 100px;
  padding-right: 100px; */
}

.introduction-flow-title {
  color: white;
  font-size: 30px;
  text-align: center;
  padding-bottom: 5rem;
  line-height: 130%;
}

/* .introduction-flow-text-container {
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr;
  grid-template-rows: 3fr;
  position: relative;
  gap: 1.5rem;
} */
/* .introduction-flow-image-wrapper {
  margin: 0 auto;
  text-align: center;
  position: relative;         
} */
/* .introduction-flow-image {
  display: block;
  width: 100%;
  max-width: 320px;
} */
/* .introduction-flow-text {
  color: black;
  font-size: 24px;
  background:#B9DFFF;
  text-align: center;
  padding: 1rem 1rem 3rem 1rem;
  border-radius: 0 0 2rem 2rem;
  max-width: 320px; 
} */
/* 
.scroll-down-container-flow {
  position: absolute;           
  left: 50%;
  bottom: -40px;               
  transform: translateX(-50%);
  z-index: 2;
  width: 60px;
  height: 60px;
  pointer-events: auto;         
} */
/* .scroll-down2 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(to bottom, #99D7F6, #73BFFF 40%, #B9DFFF);
  text-decoration: none;
}

.scroll-down2 .arrow2 {
  display: block;
  inline-size: 20px;
  block-size: 20px;
  width: 24px;
  height: 24px;
  border-left: 5px solid white;
  border-bottom: 5px solid white;
  transform: rotate(-45deg) translate(3px, -3px);
} */
.introduction-flow-text-container {
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr;
  grid-template-rows: 3fr;
  position: relative;
  gap: 2.5rem;
  width: min(90vw, 360px);
  margin: 0 auto;
}

.introduction-flow-image-wrapper {
  margin: 0 auto;
  text-align: center;
  position: relative;
  background: white;
  color: black;
  border-radius: 0.5rem;
  width: 100%;
}

.step {
  font-size: clamp(16px, var(--_w) * 0.04, 18px);
  margin: 1rem 0;
  font-weight: bold;
  color: white;
  background: #38A4FF;
  width: clamp(120px, var(--_w) * 0.28, 200px);
  margin-inline: auto;
  justify-content: center;
  border-radius: 10px;
}

.introduction-flow-image {
  width: 30%;
}

.introduction-flow-text {
  font-size: clamp(20px, var(--_w) * 0.021, 24px);
  margin-bottom: 1rem;
}

.scroll-down2 .arrow2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 20px;
  height: 20px;
  border-left: 4px solid white;
  border-bottom: 4px solid white;
  transform: translate(-50%, 100%) rotate(-45deg);
}

.introduction-flow-detail {
  width: min(90vw, 360px);
  font-size: 20px;
  color: white;
  font-weight: bold;
  margin: 0 auto;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.school-utilize {
  width: min(90vw, 360px);
  margin: 0 auto;
}

.school-utilize-image {
  width: 100%;
  border-radius: 20px;
}

.download-button {
  margin: 1.5rem auto;
  width: min(90vw, 360px);
  max-width: 200px;
  text-align: center;
  background: #38A4FF;
  font-size: clamp(16px, var(--_w) * 0.05, 20px);
  color: white;
  border-radius: 999px;
  box-sizing: border-box;
  border: #B9DFFF 3px solid;
  text-align: center;
  padding: 0.9rem 0.5rem;
}

.download-button:hover,
.download-button:hover * {
  filter: saturate(1.05);
  transform: translateY(-1px);
  color: #38A4FF;
  background-color: white;
}

.download-button.classroom-button {
  background: #FFB74D;
  border: #FEB 3px solid;
}

.download-button.classroom-button:hover,
.download-button.classroom-button:hover * {
  color: #FFB74D;
  background-color: white;
}

.introduction-flow-button {
  display: block;
  inline-size: 100%;
}

@media (min-width: 768px) {
  /* .introduction-flow-image-wrapper {
    position: relative;
  } */
  .introduction-flow-title {
    font-size: calc(var(--_w) * 0.035);
  }
  /* .introduction-flow-image {
    max-width: none;
  } 

  .introduction-flow-text-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;            
    gap: 1.5rem; 
    margin: 0 auto;
    width: 90vw;
  }

  .introduction-flow-text {
    font-size: clamp(17px, calc(var(--_w) * 0.021), 40px);
    max-width: none; 
    padding-bottom: 4rem;
    padding: 1rem 0.5rem 4rem 0.5rem;
    /* height: clamp(50px, calc(var(--_w) * 0.01), 150px); */
  /* height: calc(var(--_w) * 0.03);
  } */
  /* .scroll-down-container-flow {
    position: absolute;
    bottom: 50%;
    left: auto;
    right: calc(-30px - 0.75rem);
    transform: translateY(50%);
    width: 60px;
    height: 60px;
    z-index: 3;
    pointer-events: auto;
  } */
  /* .scroll-down2 {
    display: inline flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: linear-gradient(to bottom, #99D7F6, #73BFFF 40%, #B9DFFF);
    text-decoration: none;
  }

  .scroll-down2 .arrow2 {
    display: block;
    width: 24px;
    height: 24px;
    border-left: 5px solid white;
    border-bottom: 5px solid white;
    transform: rotate(-135deg) translate(3px, -3px);
  } */
}
@media (min-width: 900px) {
  .introduction-flow-title {
    padding-bottom: 2rem;
  }
  .introduction-flow-text-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    gap: 1.5rem;
    margin: 3rem auto;
    width: 90vw;
  }
  .arrow2 {
    display: none;
  }
}
/* 注意事項 */
.precautions-container {
  background: #FFF187;
  color: black;
  padding-bottom: 2rem;
}

.buy-title {
  text-align: center;
  /* font-size: 24px; */
  font-size: clamp(16px, var(--_w) * 0.07, 24px);
  padding-top: 2rem;
}

.buy-button-container {
  display: grid;
  justify-content: center;
  justify-items: center;
  margin: 1rem auto;
  width: min(90vw, 360px);
  gap: 0.3rem;
  grid-template-columns: repeat(2, minmax(130px, 220px));
  /* grid-template-columns: repeat(2, minmax(calc(var(--w)/2), 220px)); */
}

.amazon-button {
  inline-size: 100%;
  display: block;
  padding: 1rem 0.5rem;
  /* font-size: 20px; */
  font-size: clamp(16px, var(--_w) * 0.05, 20px);
  color: #fff;
  background: #F1AC3C;
  border-radius: 999px;
  box-sizing: border-box;
  border: white 3px solid;
  text-align: center;
}

.amazon-button:hover {
  filter: saturate(1.05);
  transform: translateY(-1px);
  background: white;
  color: #F1AC3C;
  border: #F1AC3C 3px solid;
}

.amazon-button:active {
  transform: translateY(2px);
  box-shadow: 0 0.15rem 0 var(--brand-blue-dark), 0 0.5rem 0.75rem rgba(43, 127, 224, 0.25);
}

.base-button {
  inline-size: 100%;
  display: block;
  padding: 1rem 0.5rem;
  /* font-size: 20px; */
  font-size: clamp(16px, var(--_w) * 0.05, 20px);
  color: #fff;
  background: #48E5B9;
  border-radius: 999px;
  box-sizing: border-box;
  border: white 3px solid;
  max-width: 230px;
  text-align: center;
}

.base-button:hover {
  filter: saturate(1.05);
  transform: translateY(-1px);
  background: white;
  color: #48E5B9;
  border: #48E5B9 3px solid;
}

.base-button:active {
  transform: translateY(2px);
  box-shadow: 0 0.15rem 0 var(--brand-blue-dark), 0 0.5rem 0.75rem rgba(43, 127, 224, 0.25);
}

@media (min-width: 768px) {
  .precautions-container {
    padding-top: 2rem;
  }
  .precautions-list {
    width: 400px;
    margin: 1rem auto;
  }
  .buy-button-container {
    width: fit-content;
  }
}
/* 導入・イベント相談 */
.consultation-container {
  color: black;
  margin: 3rem 0;
}

.consultation-title {
  text-align: center;
  font-size: 20px;
}

.consultation-text {
  text-align: center;
  font-size: 15px;
  font-weight: normal;
}

.consultation-button {
  display: block;
  margin: 1rem auto;
  padding: 1rem 1rem;
  font-size: 20px;
  color: white;
  background: #38A4FF;
  border-radius: 999px;
  box-sizing: border-box;
  border: #B9DFFF 3px solid;
  text-align: center;
  width: calc(var(--_w) * 0.608);
  max-width: 300px;
  font-weight: normal;
  border: white 3px solid;
}

.consultation-button:hover {
  color: #38A4FF;
  background: white;
  border: #38A4FF 3px solid;
}

@media (min-width: 768px) {
  .consultation-title {
    font-size: 32px;
  }
  .consultation-text {
    font-size: 20px;
  }
  .consultation-button {
    font-size: 24px;
    width: calc(var(--_w) * 0.35);
    max-width: 300px;
  }
}
/* よくある質問 */
.question-container {
  color: black;
  background: #EDF7FF;
  padding: 3rem 0;
}

.question-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 2rem;
}

.question-list {
  display: grid;
  grid-template-rows: 5fr;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

button {
  all: unset;
  display: block;
  cursor: pointer;
}

.question-item {
  border: #B9DFFF 1.5px solid;
  background: #FFFFFF;
  padding: 1rem 1rem 1rem 1rem;
  font-size: 15px;
  font-weight: normal;
  text-align: left;
  width: min(85vw, 360px);
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.question-item:hover {
  border: #38A4FF 1.5px solid;
  background: #d1eaff;
}

.question-item[aria-expanded=true]:hover {
  background: #FFFFFF;
  cursor: default;
}

.question-item-title {
  font-size: 15px;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  font-weight: normal;
}

.question-arrow {
  position: relative;
  inline-size: 18px;
  block-size: 18px;
  flex: 0 0 18px;
  grid-column: 2;
}

.question-arrow::before,
.question-arrow::after {
  content: "";
  position: absolute;
  inset: 30% auto auto 50%;
  inline-size: 12px;
  block-size: 12px;
  transform-origin: center;
  translate: -50% -35%;
  border-bottom: 3px solid #73BFFF;
  border-right: 3px solid #73BFFF;
  border-radius: 2px;
  transition: transform 0.25s ease, border-color 0.2s ease;
}

.question-arrow::after {
  border-right: 0;
  border-left: 3px solid #73BFFF;
  transform: rotate(-45deg);
}

.question-arrow::before {
  transform: rotate(45deg);
}

.question-item.open .question-arrow::before {
  transform: rotate(-45deg);
}

.question-item.open .question-arrow::after {
  transform: rotate(45deg);
}

.question-item:hover .question-arrow::before,
.question-item:hover .question-arrow::after {
  border-color: #38A4FF;
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.question-item.open .answer {
  max-height: 200px;
}

.answer {
  font-size: 15px;
  font-weight: lighter;
  text-align: left;
  margin: 0 auto;
  overflow: hidden;
}

.question-item.open .answer {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .question-item {
    width: calc(var(--_w) * 0.65);
    font-size: 40px;
  }
  .question-arrow {
    inline-size: 24px;
    block-size: 24px;
    flex: 0 0 24px;
  }
}


/*# sourceMappingURL=education.css.map */
