* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* 1rem = (画面幅 / 390)px。480pxで頭打ち → それ以上は固定 */
  font-size: calc(min(100vw, 480px) / 390);
  background: #f0f0f0;
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 16rem;
  color: #343434;
  /* 390rem = min(100vw, 480px)。320〜480pxは画面幅いっぱい、超えたら480pxで中央配置 */
  width: 390rem;
  margin: 0 auto;
  background: #fff;
  overflow-x: hidden;
}

/* ===== スクロールアニメーション ===== */
.reveal {
  opacity: 0;
  transform: translateY(24rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--d1 {
  transition-delay: 0.12s;
}

.reveal--d2 {
  transition-delay: 0.24s;
}

.reveal--d3 {
  transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .hero-divider {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== HEADER ===== */
.header {
  position: relative;
  background: #fff;
  height: 71rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18rem;
  overflow: hidden;
}

.header__logo {
  height: 39rem;
  width: auto;
  position: relative;
  z-index: 2;
}

.header__map {
  position: absolute;
  right: -5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 185rem;
  opacity: 0.18;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #b6e2fe 0%, #7ee0fb 50%, #d9eeee 100%);
  padding-bottom: 0;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__bgmap {
  position: absolute;
  top: 10rem;
  left: -2rem;
  width: 394rem;
  z-index: 0;
  pointer-events: none;
}

.hero__bgtext {
  position: absolute;
  top: 42rem;
  left: 8rem;
  width: 374rem;
  z-index: 3;
  pointer-events: none;
}

.hero__top {
  position: relative;
  z-index: 4;
  padding: 65rem 0 0 25rem;
  margin-bottom: 3rem;
}

.hero__title-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 337rem;
}

.hero__bubble {
  position: absolute;
  top: 0;
  right: 0;
  width: 154rem;
  height: auto;
  z-index: 3;
}

.hero__subtitle-bar {
  position: relative;
  z-index: 4;
  background: #0077b6;
  text-align: center;
  padding: 2rem 5rem;
  margin: 0 26rem;
  font-size: 16rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.hero__main {
  margin-top: -75rem;
}

.hero__photo-wrap {
  position: relative;
  width: 100%;
  height: 240rem;
  margin-top: -4rem;
  top: 40rem;
  z-index: 2;
}

.hero__photo-wrap img {
  width: 390rem;
  max-width: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -60rem;
}

.hero__content {
  position: relative;
  z-index: 3;
  background-image: url(../images/fv-bg.png);
  background-position: center bottom;
  background-size: cover;
  padding: 28rem 18rem 12rem;
}

.hero__camp-banner {
  background: #fff;
  margin: 0 10rem;
  padding: 5rem 6rem;
  border: 1rem solid #a3c74c;
  width: fit-content;
}

.hero__camp-banner span {
  font-size: 16rem;
  font-weight: 700;
  color: #a3c74c;
}

.hero__points-row {
  display: flex;
  align-items: flex-start;
  gap: 10rem;
  position: relative;
}

.hero__points {
  flex: 1;
  font-size: 13rem;
  font-weight: 700;
  color: #343434;
  line-height: 1.69;
  padding: 3rem 10rem;
  border-radius: 2rem;
}

.hero__points li {
  list-style: none;
  text-indent: -1em;
  margin-left: 1em;
}

.hero__musuryo {
  position: absolute;
  right: -10rem;
  top: 92rem;
  width: 120rem;
  flex-shrink: 0;
  object-fit: contain;
}

.hero__hashtags {
  margin: 3rem 15rem 0;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.hero__hashtag {
  display: inline-flex;
  align-items: center;
  background: #a3c74c;
  color: #fff;
  font-size: 15rem;
  font-weight: 700;
  padding: 4rem 12rem;
  border-radius: 2rem;
  width: fit-content;
}

.hero__deadline {
  margin: 14rem 0 0;
}

.hero__deadline-img {
  width: 100%;
}

.hero__line-area {
  position: relative;
  background: linear-gradient(90deg, #eda52c 0%, #fb711b 100%);
  margin: 12rem 38rem 0;
  padding: 14rem 16rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4rem;
  cursor: pointer;
  text-decoration: none;
}

.hero__line-area.contact__btn {
  margin: 12rem 19rem 0;
}

.hero__line-area span {
  font-size: 16rem;
  font-weight: 700;
  color: #fff;
}

.hero__line-arrow {
  position: absolute;
  right: 7rem;
  top: 50%;
  transform: translateY(-50%);
  height: 18rem;
  width: auto;
  display: block;
}

.hero__notice {
  text-align: center;
  font-size: 10rem;
  color: #343434;
  line-height: 1.5;
  margin-top: 3rem;
}

/* ヒーロー下端の下向き三角（aboutへの繋ぎ） */
.hero-divider {
  height: 60rem;
  background: #fefce4;
  /* ヒーローと同色のクリームを下向き三角に切り抜き */
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  /* reveal--d2 と同じ動き・遅延でふわっと表示 */
  opacity: 0;
  transform: translateY(24rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.24s;
}

/* hero__main(.reveal--d2)が表示状態になったら divider も連動して表示 */
.hero:has(.hero__main.is-visible) + .hero-divider {
  opacity: 1;
  transform: none;
}

/* ===== 共通セクション見出し ===== */
.sec-heading {
  position: relative;
  margin-bottom: 25rem;
  text-align: center;
}

.details .sec-heading {
  margin-bottom: 44rem;
}

.sec-heading img {
  max-width: 340rem;
}

.sec-heading__ja {
  font-size: 16rem;
  font-weight: 700;
  color: #343434;
  margin-bottom: 4rem;
}

.sec-heading__en {
  font-size: 48rem;
  font-weight: bold;
  color: #343434;
  line-height: 1;
}

.sec-heading__script {
  position: absolute;
}

.curriculum .sec-heading {
  margin-bottom: 36rem;
}

.faq .sec-heading {
  margin-bottom: 50rem;
}

.curriculum .sec-heading__script {
  right: -11rem;
  top: 35rem;
  width: 117rem;
}

.details .sec-heading__script {
  left: 24rem;
  top: 43rem;
  width: 94rem;
}

.faq .sec-heading__script {
  left: 48%;
  top: 41rem;
  transform: translateX(28rem);
  width: 80rem;
}

.about .sec-heading__script {
  left: 50%;
  top: 38rem;
  transform: translateX(-120rem);
  width: 83rem;
}

/* ===== ABOUT ===== */
.about {
  background: #fff;
  /* 上の三角(60rem)ぶん詰めて、全体の余白は従来どおりに保つ */
  padding: 27rem 18rem 16rem;
}

.about .sec-heading {
  margin-bottom: 46rem;
}

.about__desc {
  font-size: 14rem;
  font-weight: 500;
  color: #343434;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 32rem;
}

.about__desc p:last-child {
  text-align: left;
}

.about-catch-img {
  width: 300rem;
  margin-left: 13rem;
  margin-bottom: 42rem;
}

/* ===== STEPS ===== */
.steps {
  background: #fff;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 17rem;
  background: rgba(221, 239, 176, 0.28);
  border-radius: 4rem;
  padding: 10rem 12rem;
  margin-bottom: 2rem;
}

.step-num {
  width: 46rem;
}

.step-body {
  flex: 1;
  align-self: center;
}

.step-title {
  font-size: 17rem;
  font-weight: 700;
  color: #343434;
  line-height: 1.4;
}

.step-support {
  font-size: 12rem;
  font-weight: 500;
  color: #a3c74c;
  margin-top: 3rem;
}

.step-arrow {
  text-align: center;
}

.step-arrow::after {
  content: '';
  display: inline-block;
  margin: auto;
  border-top: 13rem solid #343434;
  border-left: 9rem solid transparent;
  border-right: 9rem solid transparent;
  text-align: center;
}

.steps__note {
  font-size: 13rem;
  color: #343434;
  line-height: 2;
  margin-top: 12rem;
}

/* ===== 開催日程 ===== */

.schedule-body {
  padding: 3rem 18rem 56rem;
  background: #fff;
}

.schedule-banner {
  background: #9dbf4e;
  padding: 3rem 13rem;
  width: fit-content;
  margin-bottom: 7rem;
}

.schedule-banner__label {
  color: #fff;
  font-size: 20rem;
  font-weight: 700;
}

.schedule-date {
  font-size: 20rem;
  font-weight: 600;
  color: #343434;
  line-height: 1.85;
}

.schedule-date span {
  font-size: 0.8em;
}

/* ===== 3 POINT ===== */
.point-section {
  position: relative;
  background: rgba(217, 197, 163, 0.16);
  padding: 109rem 18rem 60rem;
}

.point-section::before {
  position: absolute;
  top: 15rem;
  right: 26rem;
  content: '';
  background-image: url(../images/icon-cube.svg);
  background-size: cover;
  aspect-ratio: 80 / 81;
  width: 80rem;
}

.point-section__heading {
  margin: 0 auto 44rem;
  width: fit-content;
}

.point-section__main {
  width: 280rem;
}

.point-section__sub {
  font-size: 16rem;
  font-weight: 700;
  color: #343434;
  margin-bottom: 15rem;
  text-align: center;
}

.point-card {
  margin-bottom: 41rem;
}

.point-card:last-child {
  margin-bottom: 0;
}

.point-card__title {
  background: linear-gradient(90deg,
      #C3E473 0%,
      #A3C74C 100%);
  color: #fff;
  font-size: 20rem;
  font-weight: 700;
  padding: 2rem 38rem;
  width: fit-content;
  margin-bottom: 5rem;
}

.point-card__illust {
  width: 100%;
  display: block;
  max-height: 200rem;
  object-fit: cover;
  margin-bottom: 15rem;
}

.point-card__text {
  font-size: 14rem;
  font-weight: 500;
  color: #343434;
  line-height: 1.5;
  padding-left: 6rem;
  padding-right: 21rem;
}

.point-card--2 .point-card__title,
.point-card--3 .point-card__title {
  padding: 1rem 6rem;
}

/* ===== CONTACT ===== */
.contact {
  position: relative;
  background: linear-gradient(90deg,
      #C3E473 0%,
      #A3C74C 100%);
  padding: 116rem 27rem 54rem;
}

.contact::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;

  width: 100%;
  height: 34.5rem;

  background: #E0EFB3;

  clip-path: polygon(0 15%,
      45% 50%,
      0 100%);
}

.contact::after {
  position: absolute;
  z-index: 5;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 34.5rem;
  background: #F8F6F0;

  clip-path: polygon(0 15%,
      45% 50%,
      100% 0,
      0 0);
}

.contact__ja {
  position: relative;
  font-size: 24rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30rem;
  text-align: center;
}

.contact__ja::before {
  content: 'CONTACT';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "LINE Seed JP", sans-serif;
  font-size: 2.67em;
  font-weight: bold;
  opacity: 0.3;
}

.contact__text {
  font-size: 16rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 29rem;
}

.contact__qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 29rem;
}

.contact__qr {
  width: 116rem;
  height: 116rem;
}

.contact__steps {
  display: flex;
  flex-direction: column;
  gap: 12rem;
  margin-bottom: 34rem;
}

.contact__step {
  display: flex;
  align-items: center;
  gap: 16rem;
}

.contact__step-badge {
  position: relative;
  background: #fff;
  color: #000;
  font-size: 15rem;
  font-weight: 700;
  padding: 3rem 20rem;
  border-radius: 2rem;
  min-width: 76rem;
  text-align: center;
  flex-shrink: 0;
}

.contact__step-badge::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6rem solid transparent;
  border-right: 6rem solid transparent;
  border-top: 8rem solid #E1E4E7;
}

.contact__step:last-child .contact__step-badge::after {
  content: none;
}

.contact__step-text {
  font-size: 15rem;
  font-weight: 700;
  color: #fff;
}

.contact__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #eda52c 0%, #fb711b 100%);
  color: #fff;
  font-size: 16rem;
  font-weight: bold;
  padding: 26rem 25rem 26rem 27rem;
  border-radius: 8rem;
  border: 2rem solid #fff;
  box-shadow: 0rem 2rem 5rem 1rem rgba(0, 0, 0, 0.15);
  text-decoration: none;
  margin: 0 6rem 7rem;
  transition: opacity 0.3s ease;
}

/* PC（マウス操作）でホバーした時だけ少し透明にする */
@media (hover: hover) {
  .contact__btn:hover {
    opacity: 0.8;
  }
}

.contact__btn-arrow {
  position: absolute;
  right: 10rem;
  top: 50%;
  transform: translateY(-50%);
  height: 18rem;
  width: auto;
  display: block;
}

.contact__notice {
  font-size: 10rem;
  color: #000;
  white-space: nowrap;
}

/* ===== CURRICULUM ===== */
.curriculum {
  background: #fff;
  padding: 97rem 18rem 80rem 17rem;
}

.curriculum__photo {
  width: 318rem;
  border-radius: 6rem;
  display: block;
  margin-bottom: 20rem;
  margin-left: auto;
  margin-right: 10rem;
}

.curriculum__intro-heading {
  font-size: 20rem;
  font-weight: 400;
  /* h3化に伴うブラウザ既定の太字を打ち消し、元の見た目を維持 */
  color: #fff;
  text-align: center;
  background: linear-gradient(to right, #C3E473 0%, #A3C74C 100%);
  width: fit-content;
  margin: auto;
  padding: 3rem 20rem;
  margin-bottom: 13rem;
}

.curriculum__intro-text {
  font-size: 14rem;
  font-weight: 500;
  color: #343434;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 59rem;
}

.day-card {
  position: relative;
  background: #fff;
  border-right: 6rem solid #a3c74c;
  border-bottom: 6rem solid #a3c74c;
  padding: 7rem 8rem 18rem 8rem;
  margin-bottom: 20rem;
}

.day-card:last-child {
  margin-bottom: 0;
}

.day-card__header {
  display: flex;
  align-items: center;
  gap: 16rem;
  margin-bottom: 27rem;
}

.day-card__icon {
  width: 90rem;
  height: auto;
  flex-shrink: 0;
}

.day-card__meta-wrapper {
  flex: 1;
}

.day-card__meta {
  display: flex;
  align-items: stretch;
  flex: 1;
  height: 30rem;
  margin-bottom: 23rem;
}

.day-card__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #a3c74c;
  color: #fff;
  font-size: 16rem;
  font-weight: 700;
  min-width: 64rem;
  padding: 0 8rem;
}

.day-card__date {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  background: #ddf0b1;
  font-size: 16rem;
  font-weight: 700;
  color: #343434;
}

.day-card__title {
  font-size: 16rem;
  font-weight: 700;
  color: #343434;
}

.day-card__prog-label {
  background: #e8f3f7;
  font-size: 14rem;
  font-weight: 500;
  color: #000;
  text-align: center;
  padding: 4rem 14rem;
  margin: 0 10rem 12rem 16rem;
}

.day-card__prog {
  font-size: 14rem;
  font-weight: 500;
  color: #343434;
  text-align: center;
  line-height: 1.8;
  white-space: pre-line;
  min-height: 75rem;
  align-content: center;
}

/* ===== DETAILS ===== */
.details {
  position: relative;
  background: rgba(217, 197, 163, 0.16);
  padding: 115rem 18rem 76rem;
}

.details::before {
  content: '';
  position: absolute;
  top: -18rem;
  right: 13rem;
  background-image: url(../images/details-cube.svg);
  background-size: cover;
  aspect-ratio: 69 / 92;
  width: 69rem;

}

.details__card {
  background: #fff;
  border-radius: 8rem;
  padding: 38rem 13rem 53rem 18rem;
  box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.06);
}

.details__row {
  margin-bottom: 15rem;
}

.details__row:nth-child(3) {
  margin-bottom: 35rem;
}

.details__row:nth-child(4) {
  margin-bottom: 25rem;
}

.details__row:last-child {
  margin-bottom: 0;
}

.details__label {
  display: flex;
  font-size: 20rem;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
}

.details__label::before {
  content: '';
  display: inline-block;
  width: 11rem;
  height: 11rem;
  background-color: #0077B6;
  margin-right: 15rem;
  margin-top: 12rem;
  flex-shrink: 0;
}

.details__label--column {
  display: flex;
}

.details__label--column span:first-child {
  flex-shrink: 0;
}

.details__label--column span:nth-child(2) {
  margin-left: 7rem;
}

.details__value {
  font-size: 14rem;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
}

.details__row:nth-child(3) .details__value,
.details__row:nth-child(4) .details__value {
  padding-left: 26rem;
  margin-top: 5rem;
  text-indent: -1em;
  margin-left: 1em;
}

.details__row:nth-child(3) .details__value ul,
.details__row:nth-child(4) .details__value ul {
  list-style: none;
}

.details__value ul li span {
  min-width: 110rem;
  display: inline-block;
  padding-left: 16rem;
}

.details__notice {
  font-size: 14rem;
  color: #000;
  margin-top: 9rem;
}

/* ===== FAQ ===== */
.faq {
  background: #fff;
  padding: 100rem 18rem 51rem;
}

.faq-item {
  margin-bottom: 16rem;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-q {
  background: #f0f6e7;
  border-radius: 4rem;
  padding: 14rem 18rem;
  display: flex;
  gap: 14rem;
  margin-bottom: 8rem;
}

.faq-a {
  display: flex;
  gap: 14rem;
  padding: 14rem 18rem;
}

.faq-q-label {
  font-size: 19rem;
  font-weight: 700;
  color: #a3c74c;
  flex-shrink: 0;
  line-height: 1.2;
}

.faq-a-label {
  font-size: 19rem;
  font-weight: 700;
  color: #a3c74c;
  flex-shrink: 0;
  line-height: 1.2;
}

.faq-q-text {
  font-size: 14rem;
  font-weight: 700;
  color: #343434;
  line-height: 1.65;
}

.faq-a-text {
  font-size: 13rem;
  font-weight: 500;
  color: #343434;
  line-height: 1.85;
}

/* ===== FOOTER ===== */
.footer {
  background: #a3c74c;
}

.footer__top-area {
  padding: 24rem 31rem 7rem;
}

.footer__heading {
  font-size: 24rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.footer__text {
  font-size: 14rem;
  color: #fff;
  line-height: 1.8;
}

.footer__text a {
  color: #fff;
}

.footer__bottom-area {
  background-color: #fff;
  padding: 13rem 31rem 15rem;
}

.footer__proj {
  display: block;
  width: 100%;
  max-width: 285rem;
  margin: 0 auto 14rem;
}

.footer__notice {
  display: block;
  font-family: "LINE Seed JP", sans-serif;
  font-size: 10rem;
  line-height: 1.5;
  margin-bottom: 15rem;
}

.footer__techis {
  display: block;
  width: 152rem;
  margin: 0 auto;
}