@charset "utf-8";
/* ==========================
  コンセプトセクション有
============================ */
.concept__wrapper {
  margin-top: -88px;
  position: relative;
  border-radius: 40px 40px 0 0;
  width: 100%;
  z-index: 1;
}

.concept__wrapper .page {
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .concept__wrapper .page {
    padding-block: 163px 150px;
  }
}

.concept {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  background: #c3e3ff;
  padding-block: 310px 106px;
  border-radius: 40px;
  z-index: 2;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .concept {
    padding-block: 160px 306px;
  }
}

.concept::before {
  content: "";
  position: absolute;
  border-radius: 40px 40px 0 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(68, 145, 218, 0.3),
    rgba(135, 196, 253)
  );
  z-index: 1;
  pointer-events: none;
}

.concept__bg {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 0;
  aspect-ratio: 1366/462;
  width: 100%;
  height: 50%;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.concept__bg img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.concept__bg::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgba(135, 196, 253),
    rgba(68, 145, 218, 0.3)
  );
}

.concept__inner.l-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media screen and (min-width: 768px) {
  .concept__inner.l-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

.concept__contents {
  color: var(--color-white);
  width: 100%;
}

@media screen and (min-width: 768px) {
  .concept__contents {
    width: 67.3%;
    margin-inline: auto 0;
  }
}

.concept__title {
  padding-inline: 16px;
  font-size: clamp(15px, 1.76vw, 24px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: calc(42 / 24);
  margin-bottom: 28px;
  text-align: left;
  position: relative;
  display: inline-block;
}

.concept__title::before,
.concept__title::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 35px;
  top: 0;
}

.concept__title::before {
  background: url(../images/double-white-left.svg) no-repeat center
    center/contain;
  left: 0;
}

.concept__title::after {
  background: url(../images/double-white-right.svg) no-repeat center
    center/contain;
  right: 0;
}

.concept__text {
  max-width: 759px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.concept__text p {
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 500;
  line-height: calc(33 / 15);
}

.concept__side {
  position: absolute;
  top: 70px;
  left: 20px;
  z-index: 100;
  opacity: 1; /* スマホは常に表示 */
  padding: 20px;
  margin-bottom: 40px;
}

/* PC: スクロール追従 */
@media screen and (min-width: 768px) {
  .concept__side {
    position: absolute; /* 初期状態 */
    top: 621px; /* FV + ヘッダーの高さ */
    left: 40px;
    width: 200px;
    opacity: 0; /* 初期非表示 */
    transition: opacity 0.3s ease;
    pointer-events: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
  }

  /* FV通過後に表示 */
  .concept__side.visible {
    opacity: 1;
    pointer-events: auto;
  }
}

@media screen and (min-width: 1280px) {
  .concept__side {
    left: calc((100vw - 1200px) / 2);
  }
}

/* 初期状態：ヒーローロゴを表示 */
.page__side-image-hero {
  display: block;
}

.page__side-image-other {
  display: none;
}

/* ヒーローセクション後：通常ロゴを表示 */
.concept__side.after-hero .page__side-image-hero {
  display: none;
}

.concept__side.after-hero .page__side-image-other {
  display: block;
}

.concept__side .page__side-title,
.concept__side .page__side-list-item {
  color: var(--color-white);
}

.concept__side.after-hero .page__side-list-item {
  color: #333333; /* .pageセクションでは黒 */
}

.concept__side.after-hero .page__side-title {
  color: var(--color-accent);
}

.concept__side .page__side-list-item:hover,
.concept__side .page__side-list-item.active {
  color: var(--color-accent);
}

.page__side-list-item.active p {
  color: var(--color-accent);
}

.concept__side .page__side-list-item p::before {
  background: url(../images/sidebar-arrow-white.svg) no-repeat center
    center/contain;
}

.concept__side.after-hero .page__side-list-item p::before {
  background: url(../images/sidebar-arrow.svg) no-repeat center center/contain;
}

.concept__side .page__side-head::before {
  background: var(--color-white);
}

.concept__side.after-hero .page__side-head::before {
  background: #d0d0d0;
}

/* =======================
slider
========================= */

.concept__slider-wrap {
  width: 100%;
  margin-inline: auto 0;
}

@media screen and (min-width: 768px) {
  .concept__slider-wrap {
    width: 65.3%;
  }
}

.concept__slider {
  position: relative;
  z-index: 3;
  margin-top: 65px;
}

.concept__swiper-wrapper {
  display: flex; /* 追加 */
  transition-timing-function: linear;
}

.concept__swiper-slide {
  height: clamp(200px, 27.6vw, 377px) !important; /* 高さを指定 */
  width: auto !important;
}

.concept__swiper-image {
  width: auto;
  height: 100%;
  overflow: hidden;
  display: block;
}

.concept__swiper-image img {
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
