

/* =========================================
   First View (Hero Section)
========================================= */
.fv {
  background-image: url(../img/top/fv_bg.webp);
  background-size: cover;
  background-position: center center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 5000 / 3252;

  .fv-item01 {
    width: 59.114%;
    height: auto;
    position: absolute;
    top: 13%;
    aspect-ratio: 4541 / 2420;
  }

  .fv-item01-sp {
    display: none;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    aspect-ratio: 1560 / 1208;
  }

  .fv-images {
    position: absolute;
    top: 60%;
    right: 3.55%;
    display: flex;
    justify-content: space-between;
    width: max(362px, 34.16%);
    gap: 2.44%;

    .fv-item02,
    .fv-item03 {
      width: 100%;
      height: auto;
    }
  }
}


@media (max-width: 768px) {
  .fv {
    background-image: url(../img/top/fv_bg-sp.webp);
    background-size: cover;
    background-position: center center;
    aspect-ratio: 156 / 366;
    margin-top: -70px;
    margin-bottom: -50vw;
    .fv-item01 {
      display: none;
    }
    .fv-images {
      width: 86.666vw;
      top: 60.2%;
      right: 50%;
      transform: translateX(50%);
    }

    .fv-item01-sp {
      display: block;
    }
  }
}

/* =========================================
   What's Section
========================================= */
.whats {
  position: relative;
  width: 100%;
  padding: 8vw 20px;
  background: url('../img/top/whats_bg.webp') center center / cover no-repeat;
  overflow: hidden;
}

.whats__inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  z-index: 2;
}

.whats__title-bg {
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 1;
  margin-bottom: clamp(20px, 3vw, 40px);
}

.whats__title-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.whats__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 40px;
}

.whats__text-area {
  flex: 1;
  max-width: 600px;
}

.whats__heading {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 900;
  color: #111;
  margin-bottom: clamp(20px, 3vw, 40px);
  letter-spacing: 0.05em;
}

.whats__text {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.whats__image-area {
  flex: 1;
  max-width: 500px;
  margin: 0;
}

.whats__image-area img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
  .whats__content {
    flex-direction: column;
    gap: 30px;
  }
  .whats__text-area {
    max-width: 100%;
  }
  .whats__image-area {
    max-width: 100%;
  }
  .whats__title-bg {
    margin-bottom: 0;
  }
}

/* =========================================
   Why Section
========================================= */
.why {
  position: relative;
  width: 100%;
  background: #fff;
  overflow: hidden;
}

.why__inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1500px; /* same as .fv__inner and .whats__inner max */
  margin: 0 auto;
}

.why__image-area {
  width: 40%;
  margin: 0;
}

.why__image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why__text-area {
  width: 60%;
  padding: 8vw 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.why__title-bg {
  width: 100%;
  max-width: 800px;
  margin-bottom: clamp(20px, 3vw, 40px);
  position: relative;
  z-index: 1;
}

.why__title-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.why__heading {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 900;
  color: #111;
  position: relative;
  z-index: 2;
  margin: 0 0 30px 10px; /* offset slightly inwards matching design */
}

.why__text {
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 2.2;
  font-weight: 700;
  color: #333;
  margin: 0;
  position: relative;
  z-index: 2;
}

.why__text .highlight {
  background-color: var(--color-red, #ff4d4d);
  color: #fff;
  padding: 2px 5px;
  border-radius: 2px;
}

/* Responsive adjustment for Why Section */
@media (max-width: 900px) {
  .why__image-area {
    width: 100%;
    order: 2; /* Put image below text or above depending on preference; usually image above is better, so leave or change order */
  }
  .why__text-area {
    width: 100%;
    order: 1; /* Text above image */
    padding: 10vw 5vw;
  }
  .why__title-bg {
    margin: 0 0 -20px 0;
  }
}

/* =========================================
   Curriculum Section
========================================= */
.curriculum {
  width: 100%;
  padding: 8vw 20px;
  background: url('../img/top/curriculum_bg.webp') center center / cover no-repeat;
  text-align: center;
}

.curriculum__inner {
  max-width: 1190px;
  margin: 0 auto;
}

.curriculum__title-area {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.curriculum__title-img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
}

.curriculum__heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 900;
  color: #111;
  letter-spacing: 0.05em;
  margin: 0;
}

.curriculum__subtitle {
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 2;
  font-weight: 700;
  color: #333;
  margin-bottom: 60px;
}

.curriculum__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.curriculum__card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(100, 120, 200, 0.1);
  transition: transform 0.3s ease;
}

.curriculum__card:hover {
  transform: translateY(-5px);
}

.curriculum__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.curriculum__en {
  font-size: 10px;
  font-weight: 900;
  color: #ff4d4d;
  margin: 0 0 5px;
  letter-spacing: 0.1em;
}

.curriculum__ja {
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 900;
  color: #111;
  margin: 0;
  line-height: 1.4;
}

.curriculum__more {
  text-align: center;
  margin-top: 20px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 900;
  color: #333;
  text-decoration: none;
}

.arrow-right {
  display: inline-flex;
  width: 45px;
  height: 22px;
  background: #6D82D6;
  border-radius: 20px;
  margin-left: 10px;
  position: relative;
}

.arrow-right::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 1px;
  background: #fff;
}

.arrow-right::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

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

@media (max-width: 500px) {
  .curriculum__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* =========================================
   Top Creator Section
========================================= */
.top-creator {
  width: 100%;
  padding: 8vw 20px;
  background: #fff;
  text-align: center;
}

.top-creator__inner {
  max-width: 1190px;
  margin: 0 auto;
}

.top-creator__title-area {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.top-creator__title-img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
}

.top-creator__heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  white-space: nowrap;
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 900;
  color: #111;
  letter-spacing: 0.05em;
  margin: 0;
}

.top-creator__subtitle {
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 2;
  font-weight: 700;
  color: #333;
  margin-bottom: 60px;
}

.top-creator__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5vw 3vw;
}

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

.top-creator__img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 100, 100, 0.3);
  margin-bottom: 20px;
  background: #f0f0f0;
}

.top-creator__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-creator__name {
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 900;
  color: #111;
  margin: 0;
}

@media (max-width: 900px) {
  .top-creator__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }
}

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

/* =========================================
   Community Section
========================================= */
.community {
  position: relative;
  width: 100%;
  padding: 8vw 0 0;
  z-index: 1;
}

.community::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5vw; /* 左右をウインドウ枠から少しだけはみ出させる */
  width: calc(100% + 10vw); /* はみ出し分だけ横幅を広げる */
  height: calc(100% - clamp(100px, 12vw, 160px));
  /* 上下の斜めラインを枠の上下ぴったり（いっぱいに表示）にするため、100% 100% で引き伸ばします */
  background: url('../img/top/community_bg.webp') center center / 100% 100% no-repeat;
  z-index: -1;
}

.community__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.community__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 100px;
  color: #fff;
}

.community__title {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.4;
  margin: 0;
  width: 45%;
}

.community__desc {
  width: 50%;
}

.community__desc p {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
  line-height: 2;
  margin: 0;
}

/* Slider CSS */
.community__slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: -60px;
}

.community__slider {
  display: flex;
  width: max-content;
  animation: scrollSlider 40s linear infinite;
}

.community__slide {
  flex-shrink: 0;
  position: relative;
  margin-right: -50px;
}

.community__slide:nth-child(1) { z-index: 2; }
.community__slide:nth-child(2) { z-index: 1; }


.community__slide img {
  width: auto;
  height: auto;
  display: block;
}

@keyframes scrollSlider {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50%)); }
}

@media (max-width: 900px) {
  .community__header {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
  }
  .community__title, .community__desc {
    width: 100%;
  }
  .community__slide {
    margin: 0 10px;
  }
}

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

/* =========================================
   Voice Section
========================================= */
.voice {
  width: 100%;
  padding: 8vw 20px;
  background: url('../img/top/voice_bg.webp') center center / cover no-repeat;
  text-align: center;
}

.voice__inner {
  max-width: 1190px;
  margin: 0 auto;
}

.voice__title-area {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.voice__title-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.voice__heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 900;
  color: #111;
  letter-spacing: 0.05em;
  margin: 0;
}

.voice__subtitle {
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 2;
  font-weight: 700;
  color: #333;
  margin-bottom: 60px;
}

.voice__cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

.voice__card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(100, 120, 200, 0.1);
  text-align: left;
}

.voice__card-img-block {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.voice__card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.voice__card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ff5733; 
  color: #fff;
  padding: 12px 10px;
  text-align: left;
}

.voice__card-role {
  display: block;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}

.voice__card-name {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.voice__card-text-block {
  flex: 1;
}

.voice__card-title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 20px;
  background: linear-gradient(90deg, #6ca5ff 0%, #ff825c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.voice__card-desc {
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 2;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.voice__more {
  text-align: center;
}

@media (max-width: 900px) {
  .voice__card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .voice__card-img-block {
    width: 100%;
  }
}

/* =========================================
   Note Section
========================================= */
.note {
  width: 100%;
  padding: 8vw 20px;
  background-color: #f7f7f7;
}

.note__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1500px;
  margin: 0 auto;
  gap: 60px;
}

.note__left {
  width: 35%;
  position: sticky;
  top: 100px; /* Scroll down sticky behavior */
}

.note__title-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 30px;
}

.note__desc {
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 900;
  line-height: 1.8;
  color: #111;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.note__more {
  margin-top: 20px;
}

.note__right {
  width: 60%;
}

.note__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.note__item {
  border-bottom: 2px solid #bbc4e1; /* Bluish gray separator line */
}

.note__link {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 40px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.note__link:hover {
  opacity: 0.7;
}

.note__thumb {
  width: 40%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background-color: #111;
  flex-shrink: 0;
}

.note__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.note__content {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.note__category {
  background-color: #ff5a36;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 12px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.note__date {
  font-size: 14px;
  font-weight: 900;
  color: #111;
  margin-bottom: 15px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.05em;
}

.note__title {
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 900;
  line-height: 1.7;
  color: #111;
  margin: 0;
}

@media (max-width: 900px) {
  .note__inner {
    flex-direction: column;
    gap: 40px;
  }
  .note__left {
    width: 100%;
    position: static;
  }
  .note__right {
    width: 100%;
  }
  .note__link {
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
  }
  .note__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .note__content {
    width: 100%;
  }
}

