/* =============================================
   Variables
   ============================================= */
:root {
  --green: #4CAF50;
  --green-dark: #2e9450;
  --orange: #FF5722;
  --orange-dark: #d45415;
  --yellow: #FFC107;
  --teal: #1565C0;
  --light-green-bg: #F1F8E9;
  --warm-bg: #EFF6FF;
  --dark: #263238;
  --text: #263238;
  --text-light: #6C777D;
  --border: #fff;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-maru: "Zen Maru Gothic", sans-serif;
  --font: var(--font-maru);
}

/* =============================================
   Base
   ============================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  font-size: clamp(0.875rem, calc(0.698rem + 0.472vw), 1rem);
  /* min: 14px, max: 16px */
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

/* =============================================
   Utilities
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.5;
  border-radius: 100vw;
  border: none;
  cursor: pointer;
  transition: transform 0.1s;
  text-align: center;
}

.btn:hover {
  transform: translateX(4px);
}

.btn::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url('../image/btn_arrow.svg') no-repeat center;
  background-size: contain;
}

.btn--orange {
  background-color: var(--orange);
  color: #fff;
}

.btn--outline {
  border: 3px solid var(--border);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 14px;
}

.btn--lg {
  padding: 18px 48px;
  font-size: clamp(1.125rem, calc(0.594rem + 1.415vw), 1.5rem);

  /* min: 18px, max: 24px */
  @media (max-width: 600px) {
    padding: 16px 40px;
    font-size: 20px;
  }
}

.btn__note {
  font-size: 0.75em;
  font-weight: 400;
}

/* CTAボタンNEW */
.tours__more__container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.tours__more {
  text-align: center;

  @media (max-width: 600px) {
    width: 100%;
  }
}

.tours__more--west .btn {
  background-color: #FF8B07;
  color: #fff;
}


.tours__btn {
  background-color: var(--green);
  color: #fff;
  min-width: 298px;
  /* width: 100%; */
  padding: 16px 40px;
  gap: 1em;
  font-size: 1em;
  line-height: 1.5;

  &::after {
    background-image: url(../image/tour_search.svg);
    width: 1em;
    vertical-align: middle;
    margin-top: 2px;
  }

  @media (max-width: 600px) {
    width: 100%;
    padding: 12px 24px;

  }
}


.display-contents {
  display: contents;
}

/* =============================================
   Section共通
   ============================================= */
.section {
  --section-padding: clamp(4rem, calc(1.17rem + 7.547vw), 6rem);
  /* min: 64px, max: 96px */
  ;
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.section__inner {
  --inner-padding: 24px;
  --max-width: calc(1024px + var(--inner-padding) * 2);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--inner-padding);

  @media (max-width: 600px) {
    --inner-padding: 16px;

  }
}

.section__title {
  --section-title-margin: clamp(2rem, calc(-0.83rem + 7.547vw), 4rem);
  /* min: 32px, max: 64px */
  ;
  font-size: clamp(1.5rem, calc(0.439rem + 2.83vw), 2.25rem);
  /* min: 24px, max: 36px */
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  margin-bottom: var(--section-title-margin);

  @media (min-width: 601px) {
    .br-sp {
      display: none;
    }
  }
}

.section__title em {
  display: inline-block;
  margin-left: 0.25em;
  margin-right: 0.25em;
  color: var(--green);
  font-weight: 700;
  border-bottom: var(--yellow) 4px solid;
}

.section__title strong {
  color: var(--text);
}

.section__title--underline strong {
  position: relative;
  display: inline-block;
}

.section__title--underline strong::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--orange);
  border-radius: 2px;
}

.btn-text--sp {
  display: none;
}

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

  .btn-text--sp {
    display: inline;
  }
}

/* =============================================
   Header
   ============================================= */

.header {
  position: fixed;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  top: 0;
  /* height: 80px; */
  padding: 16px 40px;

  @media (max-width: 600px) {
    padding: 12px;
    align-items: center;
  }
}

.header__logo {
  background-color: #fff;
  width: 293px;
  height: 160px;
  /* padding: 16px 40px; */
  display: grid;
  place-items: center;
  border-radius: 0 0 40px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: height 0.3s ease;

  @media (max-width: 600px) {
    width: calc(136 / 400 * 100vw);
    max-width: 160px;
    height: 80px;
    border-radius: 0 0 20px 0;
  }
}

.header__logo--scrolled {
  height: clamp(4.5rem, calc(2.554rem + 5.189vw), 5.875rem);
  /* min: 72px, max: 94px */
  background-color: transparent;
}

.header__logo img {
  display: block;
  aspect-ratio: 195 / 46;
  width: auto;
  max-height: 46px;

  @media (max-width: 600px) {
    height: calc(25 / 400 * 100vw);
  }
}

.header .tours__more__container {
  flex-wrap: nowrap;

  .tours__btn {
    min-width: auto;
  }

  @media (max-width: 600px) {
    flex-wrap: nowrap;
    gap: 4px;

    .tours__btn {
      padding: 0;
      width: calc(122 / 400 * 100vw);
      min-width: 120px;
      height: 48px;
      gap: 4px;
      font-size: 13px;
    }
  }
}

/* .hero__btn__container {
  position: fixed;
  bottom: 0;
  margin-top: 24px;
  width: 100%;
  position: relative;


  @media (max-width: 600px) {
    margin-top: 96px;
    order: 4;
    padding: 16px;
    padding-left: 70px;
  }
} */

/* 下部固定ボタン */

.bottom__btn__fixed {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  bottom: 24px;
  z-index: 999;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;


  .note {
    text-align: center;
    margin-top: 16px;
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, calc(0.573rem + 0.472vw), 0.875rem);
    /* min: 12px, max: 14px */

    color: #FFFFFF;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.95));
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.95);
    z-index: 4;

    @media (max-width: 600px) {
      margin-top: 8px;
    }
  }

  @media (max-width: 600px) {
    padding: 0 16px;

    .tours__more__container {
      flex-wrap: nowrap;
      gap: 4px;
    }

    .tours__btn {
      min-width: auto;
      font-size: 13px;
    }
  }
}

.bottom__btn__fixed--scrolled {
  opacity: 1;
  transform: translateY(0);
}



/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  background-color: #67AEFF;
  color: #fff;
  padding: 96px 40px 96px;
  overflow: hidden;

  &::before {
    content: "";
    background-color: #3694FF;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1440 / 215;
    z-index: 0;
  }

  &::after {
    content: "";
    display: block;
    background-image: url(../image/hero_bg_circle.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    bottom: 0;
    left: -10%;
    width: calc(808 / 1440 * 100vw);
    aspect-ratio: 808 / 598;
    z-index: 0;
  }

  @media (max-width: 600px) {
    width: 100%;
    padding: 88px 16px calc(128 / 400 * 100vw);
    min-height: auto;

    &::before {
      aspect-ratio: 400 / 380;
    }

    &::after {
      background-image: url(../image/hero_cloud_sp.svg);
      background-size: contain;
      background-position: center top;
      width: calc(446 / 400 * 100vw);
      height: calc(155 / 400 * 100vw);
      left: calc(-6 / 400 * 100vw);
      top: calc(126 / 400 * 100vw);
      bottom: auto;
      aspect-ratio: auto;
      z-index: 3;
    }
  }
}

.hero__more__container {
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(120 / 1440 * 100vw);
  z-index: 999;

  .tours__btn {
    padding: 0;
  }

  .tours__btn:nth-of-type(1) {
    width: calc(300 / 1440 * 100vw);
    aspect-ratio: 300 / 56;
    font-size: calc(16 / 1440 * 100vw);
    min-width: auto;
  }

  .tours__btn:nth-of-type(2) {
    width: calc(316 / 1440 * 100vw);
    aspect-ratio: 316 / 56;
    font-size: calc(16 / 1440 * 100vw);
    min-width: auto;
  }

  .note {
    text-align: center;
    margin-top: 16px;
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, calc(0.573rem + 0.472vw), 0.875rem);
    /* min: 12px, max: 14px */

    color: #FFFFFF;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.95));
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.95);
    z-index: 4;
  }

  @media (max-width: 600px) {
    bottom: calc(140 / 400 * 100vw);
    padding: 0 28px;

    .tours__more__container {
      flex-wrap: nowrap;
      justify-content: center;
      gap: 4px;
    }

    .tours__btn:nth-of-type(1),
    .tours__btn:nth-of-type(2) {
      padding: 12px 0;
      font-size: 13px;
      width: 100%;
      aspect-ratio: auto;
    }

    .note {
      margin-top: 4px;
    }
  }
}


.hero__cta {
  position: absolute;
  bottom: calc(24 / 1440 * 100vw);
  right: calc(-104 / 1440 * 100vw);
  z-index: 2;
  width: calc(718 / 1440 * 100vw);
  aspect-ratio: 718 / 297;
  background-color: rgb(54 148 255 / 0.7);
  mask-image: url(../image/hero_cta_mask.png);
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  backdrop-filter: blur(30px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 40px;

  p {
    width: calc(321 / 1440 * 100vw);
    aspect-ratio: 321 / 122;
    position: absolute;
    right: calc(144 / 1440 * 100vw);
    bottom: calc(80 / 1440 * 100vw);
  }

  @media (max-width: 600px) {
    right: calc(-24 / 400 * 100vw);
    bottom: 3px;
    width: calc(384 / 400 * 100vw);
    aspect-ratio: 384 / 159;
    mask-image: url(../image/hero_cta_mask_sp.png);
    backdrop-filter: blur(20px);

    p {
      width: calc(161 / 400 * 100vw);
      right: calc(42 / 400 * 100vw);
      bottom: auto;
      top: calc(38 / 400 * 100vw);
    }
  }
}


.hero__soramame {
  content: "";
  display: block;
  position: absolute;
  bottom: calc(48 / 1440 * 100vw);
  left: calc(85 / 1440 * 100vw);
  width: calc(278 / 1440 * 100vw);
  aspect-ratio: 278 / 224;
  z-index: 3;

  @media (max-width: 600px) {
    left: calc(124 / 400 * 100vw);
    bottom: calc(64 / 400 * 100vw);
    width: calc(86 / 400 * 100vw);
    z-index: 4;
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1920px;
  width: 100%;
  aspect-ratio: 1358 / 780;
  margin: 0 auto;
  /* padding: 144px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center; */
  /* background-color: #67AEFF; */
  border-radius: 60px;
  align-self: stretch;

  &::before {
    content: "";
    display: block;
    position: absolute;
    top: calc(116 / 1440 * 100vw);
    left: calc(-32 / 1440 * 100vw);
    background-image: url(../image/hero_cloud.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
    width: calc(127 / 1440 * 100vw);
    height: calc(51 / 1440 * 100vw);
  }

  &::after {
    content: "";
    display: block;
    position: absolute;
    top: calc(32 / 1440 * 100vw);
    right: calc(-61 / 1440 * 100vw);
    background-image: url(../image/hero_area.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
    width: calc(575 / 1440 * 100vw);
    height: calc(178 / 1440 * 100vw);
  }


  @media (max-width: 600px) {
    /* padding: 96px 8px 28px; */
    background-size: contain;
    background-position: center bottom;
    border-radius: 20px;
    aspect-ratio: 368 / 570;
    max-width: 480px;

    &::before {
      display: none;
    }

    &::after {
      display: none;
    }
  }
}

/* .hero__badge {
  @media (max-width: 600px) {
    order: 2;
    width: calc(214 / 400 * 100vw);
    margin-top: 16px;
  }
}

.hero__title {
  margin: 44px 0 20px;

  img {
    width: calc(742 / 1440 * 100vw);
  }

  @media (max-width: 600px) {
    margin: 0 0 10px;
    order: 0;

    img {
      width: calc(268 / 400 * 100vw);
    }
  }
}

.hero__sub {
  img {
    width: calc(568 / 1440 * 100vw);
  }

  @media (max-width: 600px) {
    order: 1;

    img {
      width: calc(278 / 400 * 100vw);
      aspect-ratio: 278 / 63;
    }
  }
} */

.hero__scroll {
  position: absolute;
  right: calc(44 / 1440 * 100vw);
  bottom: calc(280 / 1440 * 100vw);
  z-index: 3;
  width: calc(116 / 1440 * 100vw);
  height: calc(116 / 1440 * 100vw);
  display: grid;
  place-items: center;

  a,
  img {
    display: block;
    width: 100%;
  }

  &::before {
    content: "";
    position: absolute;
    display: grid;
    place-items: center;
    width: calc(148 / 1440 * 100vw);
    height: calc(148 / 1440 * 100vw);
    background-image: url(../image/hero_scroll_text.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
    animation: rotate 60s linear infinite;
  }

  @media (max-width: 600px) {
    right: auto;
    left: calc(28 / 400 * 100vw);
    bottom: calc(50 / 400 * 100vw);
    width: calc(64 / 400 * 100vw);
    height: calc(64 / 400 * 100vw);

    &::before {
      width: calc(84 / 400 * 100vw);
      height: calc(84 / 400 * 100vw);
      margin-top: 2px;
    }
  }
}

/* ヒーロー背景クロスフェード */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: inherit;
  opacity: 0;
  animation: hero-crossfade 15s infinite;

  @media (max-width: 600px) {
    background-size: contain;
    background-position: center top;
  }
}

.hero-bg--1 {
  background-image: url(../image/fv/fv1_pc.jpg);
  animation-delay: -1s;

  @media (max-width: 600px) {
    background-image: url(../image/fv/fv1_sp.png);
  }
}

.hero-bg--2 {
  background-image: url(../image/fv/fv2_pc.jpg);
  animation-delay: 4s;

  @media (max-width: 600px) {
    background-image: url(../image/fv/fv2_sp.png);
  }
}

.hero-bg--3 {
  background-image: url(../image/fv/fv3_pc.jpg);
  animation-delay: 9s;

  @media (max-width: 600px) {
    background-image: url(../image/fv/fv3_sp.png);
  }
}

@keyframes hero-crossfade {
  0% {
    opacity: 0;
  }

  6.67% {
    opacity: 1;
  }

  /* 1s でフェードイン完了 */
  33.33% {
    opacity: 1;
  }

  /* 5s まで表示 */
  40% {
    opacity: 0;
  }

  /* 6s でフェードアウト完了 */
  100% {
    opacity: 0;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =============================================
   Problems
   ============================================= */

.problems {
  background-color: #1472DD;
  position: relative;
  padding-top: calc(120 / 1440 * 100vw);
  padding-bottom: 180px;

  &::after {
    content: "";
    display: block;
    background-image: url(../image/problems_bottom.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: calc(302 / 1440 * 100vw);
    aspect-ratio: 1;
    position: absolute;
    bottom: 0;
    right: calc(37 / 1440 * 100vw);
  }

  @media (max-width: 600px) {
    padding-top: calc(72 / 400 * 100vw);
    padding-bottom: 110px;

    &::after {
      width: calc(135 / 400 * 100vw);
      right: calc(8 / 400 * 100vw);
    }
  }
}

.problems__wave {
  display: block;
  width: calc(1440 / 1440 * 100vw);
  aspect-ratio: 1440 / 104;
  position: absolute;
  left: 0;
  right: 0;
  top: -50px;
  z-index: 10;

  img {
    display: block;
    width: 100%;
  }

  @media (max-width: 1000px) {
    top: calc(-20 / 400 * 100vw);
    left: -20px;
    width: calc(400 / 400 * 100vw);
  }

  @media (max-width: 600px) {
    top: calc(-20 / 400 * 100vw);
    width: calc(700 / 400 * 100vw);
  }
}

.problems .section__inner {
  max-width: 1280px;
}

.problems .section__title {
  color: #fff;

  em {
    color: inherit;
  }
}


.problems__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr));
  gap: 24px;
  margin-bottom: 32px;

  @media (max-width: 600px) {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 4px;
  }
}

.problem-card {
  background: var(--light-green-bg);
  border: 1px solid #DBEAFE;
  border-radius: 12px;
  padding: clamp(1.5rem, calc(0.792rem + 1.887vw), 2rem);
  /* min: 24px, max: 32px */
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
}

.problem-card__icon {
  width: 36px;
  margin-top: 8px;
  grid-area: 1 / 1 / 3 / 2;
}

.problem-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.problem-card__text {
  font-family: var(--font-sans);
  line-height: 1.7;
}

.problems__resolve {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;

  img {
    display: inline-block;
    width: 196px;
    margin-right: 0.5em;
  }

  span {
    flex-shrink: 0;
  }

  &::before {
    content: "";
    display: inline-block;
    width: calc(139 / 1440 * 100vw);
    aspect-ratio: 139 / 116;
    background-image: url(../image/problems_resolve_before.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

  &::after {
    content: "";
    display: inline-block;
    width: calc(150 / 1440 * 100vw);
    aspect-ratio: 115 / 113;
    background-image: url(../image/problems_resolve_after.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-top: -12px;
    margin-left: -24px;
  }

  @media (max-width: 600px) {
    font-size: 20px;
    gap: 0;

    img {
      width: 150px;
    }

    &::before {
      width: calc(100 / 400 * 100vw);
      background-image: url(../image/problems_resolve_before_sp.png);
    }

    &::after {
      width: calc(110 / 400 * 100vw);
      background-image: url(../image/problems_resolve_after_sp.png);
      margin-top: -12px;
      margin-left: -16px;
    }
  }

  @media (min-width: 601px) {
    br {
      display: none;
    }
  }
}

.problem-card:nth-child(1) .problem-card__title {
  color: var(--green-dark);
}

.problem-card:nth-child(2) .problem-card__title {
  color: #CA8A04;
}

.problem-card:nth-child(3) .problem-card__title {
  color: var(--teal);
}

.problem-card:nth-child(4) {
  background-color: #FFF7ED;

  .problem-card__title {
    color: #4B5563;
  }
}

.separator__problems {
  overflow: hidden;
  width: 100%;
  margin-top: calc(-160 / 1440 * 100vw);
  position: relative;
  z-index: 100;

  img {
    display: block;
    width: 100%;
    max-width: none;
    flex-shrink: 0;
  }
}

/* =============================================
   Reasons
   ============================================= */
.reasons {
  background-color: var(--warm-bg);
  padding-top: 56px;
  padding-bottom: 180px;
  position: relative;
  margin-top: -5px;

  &::after {
    content: "";
    display: block;
    background-image: url(../image/reasons_bottom_illust.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 133px;
    aspect-ratio: 133 / 180;
    position: absolute;
    bottom: 40px;
    right: 60px;
  }

  @media (max-width: 600px) {
    padding-top: 24px;
    padding-bottom: 108px;

    &::after {
      width: 60px;
      bottom: 62px;
      right: 30px;
    }
  }
}

.reasons .reasons__left {
  position: absolute;
  left: calc(-13 / 1440 * 100vw);
  top: 395px;
  width: calc(206 / 1440 * 100vw);
  aspect-ratio: 206 / 1016;

  @media (max-width: 1024px) {
    display: none;
  }
}

.reasons .reasons__right {
  position: absolute;
  right: calc(80 / 1440 * 100vw);
  top: 610px;
  width: calc(100 / 1440 * 100vw);
  aspect-ratio: 100 / 461;

  @media (max-width: 1024px) {
    display: none;
  }
}

.reasons .section__title {
  position: relative;
  max-width: 900px;
  margin-inline: auto;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    width: calc(106 / 1440 * 100vw);
    max-width: 106px;
    min-width: 60px;
    aspect-ratio: 106 / 159;
    background-image: url(../image/reasons_title_left.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    top: 50%;
    transform: translateY(-50%);
  }

  &::after {
    content: "";
    position: absolute;
    right: 0;
    width: calc(106 / 1440 * 100vw);
    max-width: 106px;
    min-width: 60px;
    aspect-ratio: 106 / 159;
    background-image: url(../image/reasons_title_right.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    top: calc(50% + 15px);
    transform: translateY(-50%);
  }

  @media (max-width: 600px) {
    line-height: 1.8;

    &::before,
    &::after {
      width: 46px;
      min-width: auto;
      max-width: auto;
    }

    &::before {
      left: 10px;
    }

    &::after {
      right: 10px;
      top: 50%;
    }
  }
}

.reasons .section__title .num {
  display: inline-block;
  font-size: 2em;
  font-weight: 500;
  margin-top: -1em;
  margin-bottom: -1em;
}

.reasons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: clamp(2.5rem, calc(-1.038rem + 9.434vw), 5rem);
  /* min: 40px, max: 80px */
  max-width: 900px;
  margin-inline: auto;

  @media (max-width: 720px) {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 12px;
  }
}

.reason-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  &:nth-child(2n) {
    margin-top: 32px;
  }

  @media (max-width: 720px) {
    &:nth-child(2n) {
      margin-top: 0;
    }
  }
}

/* 
.reason-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reason-card__badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  color: #fff;
} */

.reason-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 24px;
}

.reason-card__text {
  max-width: 400px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  text-align: left;
  margin-top: 16px;
}

.separator__reasons {
  overflow: hidden;
  width: 100%;
  margin-top: 64px;
}

.separator__reasons .separator__track {
  display: flex;
  gap: 8px;
  animation: separator-marquee 60s linear infinite;

  @media (max-width: 600px) {
    animation-duration: 20s;
  }
}

.separator__reasons .separator__track img {
  display: block;
  width: 100vw;
  max-width: none;
  flex-shrink: 0;
  height: auto;

  @media (max-width: 600px) {
    width: 200vw;
  }
}

@keyframes separator-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =============================================
   Tours
   ============================================= */

.tours {
  background-color: var(--warm-bg);
  padding: 0 56px;
  padding-bottom: 0;

  @media (max-width: 600px) {
    padding: 0;
  }
}

.tours__wrapper {
  padding-top: clamp(3rem, calc(0.17rem + 7.547vw), 5rem);
  /* min: 48px, max: 80px */
  ;
  border-radius: 40px;
  background-color: #3694FF;
}

.tours__inner {
  color: #fff;
  padding-bottom: 56px;
  width: 100%;
}

.tours .section__title em {
  color: #fff;
}

.tours__categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 16px;
  margin-bottom: 64px;

  @media (max-width: 600px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border: 2px solid currentColor;
  border-radius: 16px;
  background: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.15s, background-color 0.15s, color 0.15s, border-color 0.15s;

  @media (max-width: 600px) {
    padding: 16px 4px;
  }
}

/* 大自然・キャンプ */
.category-btn[data-cat="nature"] {
  color: var(--green);
  border-color: #4CAF50;
}

/* 職業体験・自由研究 */
.category-btn[data-cat="work"] {
  color: #FFA20E;
  border-color: #FFA20E;
}

/* 海・川遊び */
.category-btn[data-cat="water"] {
  color: #3B82F6;
  border-color: #3B82F6;
}

/* レジャー・テーマパーク */
.category-btn[data-cat="leisure"] {
  color: #A34EF9;
  border-color: #A34EF9;
}

.category-btn:hover {
  transform: scale(1.05);
}

.category-btn.category-btn--active {
  /* color: #fff; */

  &[data-cat="nature"] {
    background-color: #F1F8E9;
  }

  &[data-cat="work"] {
    background-color: #FFEAAB;
  }

  &[data-cat="water"] {
    background-color: #E4F0FF;
  }

  &[data-cat="leisure"] {
    background-color: #EDDBFF;
  }

  .category-btn__icon {
    img {
      /* filter: brightness(0) invert(1); */
    }
  }
}

.category-btn__icon {
  aspect-ratio: 1;
  height: clamp(2rem, calc(1.646rem + 0.943vw), 2.25rem);
  /* min: 32px, max: 36px */

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}


.tours__pickup-title {
  font-size: clamp(1.25rem, calc(0.896rem + 0.943vw), 1.5rem);
  /* min: 20px, max: 24px */
  font-weight: 700;
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 2px solid #E5E7EB;
  margin-bottom: 32px;
}

.tours__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.tour-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #3D3D3D;
  position: relative;

  &::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 16px 0 0 0;
  }

  &:has(.tour-card__area[data-area="kanto"])::before {
    content: "関東";
    color: #1565C0;
    background-color: #D2E7FF;
  }

  &:has(.tour-card__area[data-area="kansai"])::before {
    content: "関西";
    color: #4CAF50;
    background-color: #F1F8E9;
  }

  &:has(.tour-card__area[data-area="tokai"])::before {
    content: "東海";
    color: #FF5722;
    background-color: #FFEBD7;
  }
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tour-card a {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.tour-card__img {
  width: 100%;
  background-color: var(--light-green-bg);

  img {
    width: 100%;
    /* height: 100%; */
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
  }
}

.tour-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
  height: 100%;
}

.tour-card__header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}

.tour-card__area {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 0.5em;
  background-color: var(--light-green-bg);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;

  &[data-area="kanto"] {
    color: #1565C0;
    background-color: #D2E7FF;

    &::before {
      background-color: #1565C0;
    }
  }

  &[data-area="kansai"] {
    color: #4CAF50;
    background-color: #F1F8E9;

    &::before {
      background-color: #4CAF50;
    }
  }

  &[data-area="tokai"] {
    color: #FF5722;
    background-color: #FFEBD7;

    &::before {
      background-color: #FF5722;
    }
  }

  &::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 12px;
    background-color: #fff;
    mask-image: url(../image/tours_area_icon_mask.png);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
  }

}

.tour-card__category {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: fit-content;
  background-color: var(--light-green-bg);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;

  /* 大自然・キャンプ */
  &[data-cat="nature"] {
    color: var(--green);
    background-color: #F1F8E9;

    &::before {
      background-image: url(../image/tours1.svg);
    }
  }

  /* 職業体験・自由研究 */
  &[data-cat="work"] {
    color: #FFA20E;
    background-color: #FFEAAB;

    &::before {
      background-image: url(../image/tours2.svg);
    }
  }

  /* 海・川遊び */
  &[data-cat="water"] {
    color: #3B82F6;
    background-color: #E4F0FF;

    &::before {
      background-image: url(../image/tours3.svg);
    }
  }

  /* レジャー・テーマパーク */
  &[data-cat="leisure"] {
    color: #A855F7;
    background-color: #EDDBFF;

    &::before {
      background-image: url(../image/tours4.svg);
    }
  }

  &::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }
}



.tour-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 4px;
  color: var(--text);
}

.tour-card__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 4px;
  row-gap: 2px;
  font-family: var(--font-sans);
  font-size: 14px;

  color: var(--text-light);
}

.tour-card__meta dt {
  font-weight: 500;
  text-align: right;

  &::after {
    content: "：";
  }
}

.tour-card__meta .notice {
  color: var(--orange);
}

/* 残席数による色分け */

.tour-card__status {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-top: 8px;
  color: var(--text);
}

.tour-card__status--alert {
  color: var(--orange);
}

.tour-card__status--open {}

.tours__panel {
  display: none;
}

.tours__panel--active {
  display: block;
}

/* =============================================
   Safety
   ============================================= */
.separator__safety {
  margin-top: -2px;

  img {
    display: block;
    width: 100%;
    margin: 0 auto;

    @media (max-width: 600px) {
      margin-bottom: -4px;
    }
  }
}

.safety {
  padding-left: clamp(0rem, calc(-7.075rem + 18.868vw), 5rem);
  /* min: 0px, max: 80px */
  padding-top: 0;
}

.safety__inner {
  background-color: #3694FF;
  /* margin- right: calc(50% - 50vw); */
  width: calc(1367 / 1440 * 100vw);
  margin-left: auto;
  margin-right: 0;
  padding-left: clamp(5rem, calc(-5.613rem + 28.302vw), 12.5rem);
  /* min: 80px, max: 200px */
  padding-right: 80px;
  padding-top: 128px;
  padding-bottom: 144px;
  border-radius: 1000px 0 0 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: -16px;
  align-items: center;
  color: #fff;

  &::after {
    content: "";
    display: block;
    position: absolute;
    left: calc(22 / 1440 * 100vw);
    bottom: calc(-66 / 1440 * 100vw);
    width: 149px;
    aspect-ratio: 149 / 160;
    background-image: url(../image/safety_illust.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 2;
  }

  @media (max-width: 600px) {
    width: 100%;
    margin: 0;
    padding: 56px 0 40px;
    border-radius: 80px 0 0 80px;
    grid-template-columns: 1fr;
    gap: 32px;

    &::after {
      width: 73px;
      left: 28px;
      bottom: -37px;
      ;
    }
  }
}

@media (max-width: 600px) {
  .safety__text {
    padding: 0 20px;
  }
}

.safety__title {
  text-align-last: left;
  margin-bottom: 32px;
}

.safety__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.safety__list li {
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1rem, calc(0.823rem + 0.472vw), 1.125rem);
  /* min: 16px, max: 18px */
  ;
  font-weight: 500;

  @media (min-width: 601px) {
    br {
      display: none;
    }
  }
}

.safety__list li::before {
  content: "";
  display: inline-block;
  width: 24px;
  aspect-ratio: 1;
  background-image: url(../image/check_icon.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.safety__img {
  width: 100%;

  @media (max-width: 600px) {
    padding: 0 4px;
  }
}

/* =============================================
   Voice（保護者の声）
   ============================================= */

.voice {
  padding-top: 32px;
}

.voice__list {
  margin-top: clamp(3.75rem, calc(0.212rem + 9.434vw), 6.25rem);
  /* min: 60px, max: 100px */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 32px;

  @media (max-width: 600px) {
    gap: 48px;
  }
}

.voice__card {
  max-width: 896px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  padding: 48px 16px;

  background: #F8FAFB;
  border-radius: 24px;

  @media (max-width: 600px) {
    padding: 32px 24px;
  }
}

.voice__card::before,
.voice__card::after {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(5.625rem, calc(4.033rem + 4.245vw), 6.75rem);
  /* min: 90px, max: 108px */
  ;
  font-weight: 900;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.25;
  position: absolute;
}

/* 
.voice__card::before {
  content: '“';
  top: 8px;
  left: 20px;
}

.voice__card::after {
  content: '”';
  bottom: -16px;
  right: 20px;
} */

.voice__icon {
  margin-top: -88px;
  width: clamp(5rem, calc(3.231rem + 4.717vw), 6.25rem);
  /* min: 80px, max: 100px */

  @media (max-width: 600px) {
    margin-top: -64px;
  }
}

.voice__stars {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  font-size: 22px;
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.voice__text {
  font-family: var(--font-sans);
  line-height: 1.8;
  font-weight: 700;
  text-align: left;
  color: var(--teal);
  font-style: normal;
  margin-bottom: 20px;
}

.voice__cite {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
}

/* =============================================
   そらまめキッズアドベンチャーとは？（一旦画像で）
   ============================================= */
.about {
  display: grid;
  place-items: center;
  padding: 0 40px 120px;

  @media (max-width: 600px) {
    padding: 0 10px 80px;
  }
}

/* =============================================
   最終CTA
   ============================================= */
.cta-section {
  background-color: #1472DD;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  padding: 80px 0 96px;
  position: relative;

  &::before {
    content: "";
    display: block;
    background-image: url(../image/cta_wave.svg);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: calc(-30 / 1440 * 100vw);
    left: 0;
    width: 100%;
    aspect-ratio: 1440 / 30;
    z-index: 0;
  }

  @media (max-width: 600px) {
    padding: 114px 0 36px;
  }
}

.cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  color: #fff;

  &::before {
    content: "";
    display: block;
    background-image: url(../image/cta_illust01.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: calc(50 / 1440 * 100vw);
    left: 1%;
    width: 154px;
    aspect-ratio: 154 / 130;
    z-index: 3;

    @media (max-width: 600px) {
      width: 102px;
      top: calc(-140 / 400 * 100vw);
      left: 20px;
    }
  }

  &::after {
    content: "";
    display: block;
    background-image: url(../image/cta_illust02.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: calc(-13 / 1440 * 100vw);
    right: 1%;
    width: 190px;
    aspect-ratio: 190 / 194;
    z-index: 3;

    @media (max-width: 600px) {
      width: 108px;
      top: calc(-144 / 400 * 100vw);
      right: 20px;
    }
  }
}

.cta-section__title {
  /* font-family: var(--font-sans); */
  font-size: clamp(1.5rem, calc(0.792rem + 1.887vw), 2rem);
  /* min: 24px, max: 32px */
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;

  @media (min-width: 601px) {
    br {
      display: none;
    }
  }
}

.cta-section__sub {
  font-family: var(--font-sans);

}

/* .cta-section__note {
  font-family: var(--font-sans);
  font-size: 12px;
  margin-top: 24px;
} */

.cta-section .tours__more__container {
  margin-top: clamp(2.5rem, calc(-1.038rem + 9.434vw), 5rem);
  /* min: 40px, max: 80px */
}

/* .cta__btn {
  margin-top: 48px;
  max-width: 500px;
  width: 100%;

  .btn__note {
    font-size: 0.675em;
    font-weight: 400;
    margin-left: 0.5em;
  }

  @media (max-width: 600px) {
    margin-top: 40px;
  }
} */

/* .cta-section__line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
  margin-top: 48px;

  &:hover {
    text-decoration: underline;
  }
}

.cta-section__line-icon {
  font-size: 20px;
} */

/* =============================================
   Footer最下部の飾り（footerの疑似要素で実装）
   ============================================= */

footer {
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  display: block;
  background-image: url(../image/cta_illust03.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  width: calc(313 / 1440 * 100vw);
  max-width: 313px;
  aspect-ratio: 313 / 531;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;

  @media (max-width: 1024px) {
    width: 130px;
    left: clamp(-3rem, calc(-7.245rem + 11.321vw), 0rem);
    /* min: -48px, max: 0px */
    bottom: 20px;
  }
}

footer::after {
  content: "";
  display: block;
  background-image: url(../image/cta_illust04.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
  width: calc(313 / 1440 * 100vw);
  max-width: 313px;
  aspect-ratio: 313 / 531;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;

  @media (max-width: 1024px) {
    width: 130px;
    right: clamp(-3rem, calc(-7.245rem + 11.321vw), 0rem);
    /* min: -48px, max: 0px */
    bottom: 20px;
  }
}

/* =============================================
   Footer　（公式サイトより）
   ============================================= */
section.footer {
  margin-bottom: 60px;
  font-family: var(--font-sans);

}

section.footer img {
  border-radius: unset !important;
}

section.footer .l_box {
  padding-right: 5px;
}

section.footer .r_box {
  padding-left: 5px;
}

ul.ft_two_bnr {
  margin: 5px 0;
}

ul.ft_two_bnr li {
  display: inline-block;
  width: 50%;
  vertical-align: middle;
  padding: 0 3px;
}

.l_box ul.ft_thr_bnr {
  background: none;
}

ul.ft_thr_bnr {
  display: flex;
  background: #f09e01;
  padding: 16px 0 10px 0;
}

ul.ft_thr_bnr li {
  margin: 0 2%;
  vertical-align: middle;
  text-align: center;
}

ul.ft_thr_bnr img {
  width: 100%;
}

.foot_nav01 {
  background-color: #1472DD;
  text-align: center;
}

.foot_nav01 ul {
  width: 81%;
  margin: 0 auto;
  padding: 40px 0;
}

.foot_nav01 ul li {
  display: inline-block;
  padding: 0 8px;
  border-right: 1px solid #cacaca;
  margin-bottom: 8px;
}

.foot_nav01 ul li:nth-child(6) {
  border: none;
}

.foot_nav01 ul li:last-child {
  border: none;
}

.foot_nav01 ul li a {
  font-size: 14px;
  color: #fff;
  font-family: var(--font-sans);
  text-decoration: underline;
}

.foot_nav02 {
  background-color: #1472DD;
  text-align: center;
}

.foot_nav02 ul {
  padding: 40px 0;

  @media (max-width: 600px) {
    max-width: 280px;
    margin: 0 auto;
  }
}

.foot_nav02 ul li {
  display: inline-block;
  padding: 0 8px;
  border-right: 1px solid #cacaca;
}

.foot_nav02 ul li a {
  font-size: 14px;
  color: #fff;
  font-family: var(--font-sans);
  text-decoration: underline;
}

.foot_nav02 ul li:last-child {
  border: none;
}

small {
  font-size: clamp(0.625rem, calc(0.271rem + 0.943vw), 0.875rem);
  /* min: 10px, max: 14px */
  background-color: #263238;
  display: block;
  text-align: center;
  color: #fff;
  padding: 5px 0;
}