@charset "utf-8";

.top__fv {
  width: 100%;
  padding-top: 100px;
}

@media screen and (min-width: 1000px) {
  .top__fv {
    padding-top: 131px;
  }
}

.top__fv-inner {
  padding-inline: 20px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media screen and (min-width: 1024px) {
  .top__fv-inner {
    padding-inline: 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

@media screen and (min-width: 500px) {
  .top__fv-heading {
    margin-left: 10.83%;
    flex: 1;
  }
}

.top__fv-heading-text {
  display: inline-block;
  color: var(--color-title);
  font-size: clamp(23px, 3.23vw, 44px);
  font-weight: 700;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(70 / 44);
}

.top__fv-heading-text-wrap {
  margin-left: 7%;
}

@media screen and (min-width: 768px) {
  .top__fv-heading-text-wrap {
    margin-left: 12%;
  }
}

.text__marker {
  background: linear-gradient(transparent 60%, #fee751 60%);
}

@media screen and (min-width: 500px) {
  .top__fv-heading-text:first-child {
    margin-left: -3.83%;
  }
}

.top__fv-text-en {
  margin-right: 2.34%;
  color: var(--color-small-en);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(11px, 1.03vw, 14px);
  letter-spacing: calc(100 / 1000 * 1em);
  line-height: calc(21 / 14);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.top__fv-text-en::before {
  content: "";
  width: clamp(10px, 1.84vw, 25px);
  height: 1px;
  background: var(--color-bar);
  flex-shrink: 0;
}

.top__fv-slider {
  margin-top: clamp(80px, 8.2vw, 112px);
  position: relative;
}
/* ==================
スクロールダウンアイコン
===================== */
.top__scroll-wrapper {
  position: absolute;
  z-index: 3;
  top: -65px;
  right: 4.1vw;
}

@media screen and (min-width: 600px) {
  .top__scroll-wrapper {
    top: -3px;
  }
}

.top__scroll-container {
  position: relative;
  aspect-ratio: 174/174;
  width: clamp(100px, 12.74vw, 174px);
  height: auto;
}

/* 回転する円形テキスト */
.top__scroll-rotating-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/rotating-circle.png) center/contain no-repeat;
  animation: rotate 10s linear infinite;
}

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

/* 固定の中央矢印 */
.top__scroll-fixed-arrow {
  position: absolute;
  aspect-ratio: 27/29;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(17px, 1.98vw, 27px);
  height: auto;
  background: url(../images/fixed-arrow.png) center/contain no-repeat;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% + 8px));
  }
}

.top__fv-swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .top__fv-swiper-slide {
    gap: 33px;
  }
}

.top__fv-bg01 {
  position: absolute;
  top: 21.9%;
  left: 22%;
  aspect-ratio: 225/225;
  width: clamp(100px, 16.48vw, 225px);
  height: auto;
}

.top__fv-bg02 {
  position: absolute;
  bottom: -3px;
  right: 19.2%;
  aspect-ratio: 238/238;
  width: clamp(110px, 17.43vw, 238px);
  height: auto;
}

.top__fv-swiper-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  display: inline-block; /* または block */
}

.top__fv-swiper-image {
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
}

/* 3枚の画像配置 */
.top__fv-swiper-image-wrapper:nth-child(1) {
  width: 37.25vw;
  height: auto;
  aspect-ratio: 386/410;
}

.top__fv-swiper-image-wrapper:nth-child(2) {
  width: 58.73vw;
  height: auto;
  aspect-ratio: 570/510;
  z-index: 2;
}

.top__fv-swiper-image-wrapper:nth-child(3) {
  width: 26.36vw;
  height: auto;
  aspect-ratio: 360/413;
  margin-bottom: clamp(10px, 4.47vw, 61px);
  display: none;
}

.top__fv-swiper-image-wrapper::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 20px;
  box-shadow: inset 0 0px 50px rgba(155, 220, 255, 0.5);
  pointer-events: none;
}

@media screen and (min-width: 600px) {
  .top__fv-swiper-image-wrapper:nth-child(1) {
    width: 28.25vw;
  }

  .top__fv-swiper-image-wrapper:nth-child(2) {
    width: 41.73vw;
  }

  .top__fv-swiper-image-wrapper:nth-child(3) {
    display: block;
  }
}

/* =======================
about
========================= */
.top__about {
  padding-block: clamp(100px, 13.62vw, 186px) clamp(140px, 13.18vw, 180px);
}

.top__about-inner {
  position: relative;
}

.top__about-inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 996/246;
  width: 100%;
  height: auto;
  max-width: 996px;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url(../images/ryo-en.svg) no-repeat center center/contain;
}

.top__about-container {
  max-width: 829px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .top__about-heading {
    margin-left: 42px;
  }
}

.top__about .top__section-heading-ja {
  font-size: clamp(20px, 2.64vw, 36px);
}

.top__about .top__section-heading-en {
  margin-top: 21px;
}

.top__about-text-wrapper {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 429px;
  margin-inline: auto 0;
}

.top__about-text {
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 500;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(36 / 18);
}

.top__about-button {
  margin-top: 46px;
  text-align: right;
}

/* =================
features
=================== */
.top__features {
  position: relative;
  overflow: hidden;
}

.top__features::after {
  content: "";
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108%;
  height: 98%;
  background: url(../images/featuers-bg.png) repeat-y top center;
  background-size: 266% 34%;
}

@media screen and (min-width: 500px) {
  .top__features::after {
    background: url(../images/featuers-bg.png) no-repeat center center / cover;
  }
}

@media screen and (min-width: 800px) {
  .top__features::after {
    background: url(../images/featuers-bg.png) no-repeat center center / contain;
  }
}

@media screen and (min-width: 768px) {
  .top__features-inner.l-inner {
    max-width: calc(1250px + 40px * 2);
  }
}

.top__features-container {
  padding: clamp(80px, 9.52vw, 130px) clamp(30px, 5.5vw, 75px)
    clamp(80px, 8.5vw, 116px);
  border-radius: 40px;
  background: rgba(59, 161, 214, 0.85);
  box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.3);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .top__features-container {
    grid-template-columns: clamp(192px, 19.19vw, 262px) 1fr;
    justify-content: space-between;
    gap: 10px;
  }
}

@media screen and (min-width: 1000px) {
  .top__features-container {
    gap: clamp(40px, 11.57vw, 158px);
  }
}

.top__features-heading .top__section-heading-ja,
.top__features-heading .top__section-heading-en {
  color: var(--color-white);
}

.top__features-heading .top__section-heading-ja br {
  display: none;
}

@media screen and (min-width: 768px) {
  .top__features-heading .top__section-heading-ja br {
    display: block;
  }
}

.top__features-heading .top__section-heading-en::before {
  background: var(--color-white);
}

.top__features-description {
  margin-top: 33px;
}

.top__features-button {
  margin-top: 20px;
  text-align: right;
}

@media screen and (min-width: 768px) {
  .top__features-button {
    margin-top: 58px;
    text-align: left;
  }
}

.top__features-button .button__link p {
  background: var(--color-white);
  color: var(--color-bar);
}

.top__features-button .button__link p::after {
  background: url(../images/button-arrow-blue.svg) no-repeat center
    center/contain;
}

.top__features-boxes {
  margin-top: 22px;
}

.top__features-box {
  padding-block: 40px;
  border-top: 1px solid var(--color-white);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
}

@media screen and (min-width: 500px) {
  .top__features-box {
    grid-template-columns: clamp(150px, 14.65vw, 200px) 1fr;
  }
}

@media screen and (min-width: 1000px) {
  .top__features-box {
    gap: 30px;
  }
}

.top__features-box:last-child {
  border-bottom: 1px solid var(--color-white);
}

.top__features-image {
  aspect-ratio: 200/228;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

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

.top__features-image::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 50px rgba(155, 220, 255, 0.5);
}

.top__features-point {
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 700;
  letter-spacing: calc(50 / 1000 * 1em);
  font-family: var(--font-en);
}

.top__features-box-title {
  margin-top: 14px;
  padding: 10px 11px 7px;
  background: var(--color-white);
  color: var(--color-title);
  font-size: clamp(16px, 1.47vw, 20px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
}

.top__features-box-text {
  margin-top: 26px;
  font-size: clamp(12px, 1.18vw, 16px);
  font-weight: 500;
  line-height: calc(36 / 16);
}

/* ===================
reason
===================== */
.top__reason {
  padding-top: clamp(100px, 10.99vw, 150px);
}

@media screen and (min-width: 768px) {
  .top__reason-inner.l-inner {
    max-width: calc(1100px + 40px * 2);
  }
}

.top__reason-container {
  margin-top: 59px;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(10px, 3.96vw, 54px);
}

@media screen and (min-width: 500px) {
  .top__reason-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 900px) {
  .top__reason-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.top__reason-box {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  margin-bottom: 53px;
}

.top__reason-box-image {
  aspect-ratio: 331/260;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

.top__reason-box-image::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 50px rgba(155, 220, 255, 0.5);
}

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

.top__reason-box-title {
  margin-top: 22px;
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  color: var(--color-subheading);
}

.top__reason-box-text {
  margin-top: 22px;
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 500;
  line-height: calc(30 / 14);
}

/* ===================
project
====================== */
.top__project {
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}

.top__project::after {
  content: "";
  z-index: -1;
  position: absolute;
  top: 55%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 118%;
  height: 88%;
  background: url(../images/project-bg.png) repeat-y top left;
  background-size: 256% 62%;
}

@media screen and (min-width: 500px) {
  .top__project::after {
    background: url(../images/project-bg.png) repeat-y top right;
    background-size: 136% 52%;
  }
}

@media screen and (min-width: 650px) {
  .top__project::after {
    background-size: 131% 50%;
  }
}

@media screen and (min-width: 800px) {
  .top__project::after {
    background: url(../images/project-bg.png) no-repeat center center / contain;
  }
}

@media screen and (min-width: 768px) {
  .top__project-inner.l-inner {
    max-width: calc(1250px + 40px * 2);
  }
}

.top__project-container {
  border-radius: 40px;
  padding: clamp(80px, 10.18vw, 139px) 0 clamp(80px, 7.33vw, 100px)
    clamp(30px, 5.5vw, 75px);
  border-radius: 40px;
  background: rgba(59, 161, 214, 0.85);
  box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.top__project-head {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media screen and (min-width: 768px) {
  .top__project-head {
    flex-direction: row;
    align-items: center;
    gap: clamp(30px, 7.11vw, 97px);
  }
}

.top__project-container .top__section-heading-ja,
.top__project-container .top__section-heading-en {
  color: var(--color-white);
}

.top__project-container .top__section-heading-en::before {
  background: var(--color-white);
}

.top__project-slider {
  margin-top: 86px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .top__project-slider {
    margin-top: 64px;
  }
}

.top__project-swiper-wrapper {
  align-items: stretch;
}

.top__project-swiper-slide {
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(20px, 2.2vw, 30px) clamp(15px, 1.91vw, 26px)
    clamp(40px, 4.62vw, 63px);
  background-color: rgba(124, 208, 252, 0.99);
  backdrop-filter: blur(30px) brightness(1.15);
  -webkit-backdrop-filter: blur(30px) brightness(1.15);
}

.top__project-swiper-image {
  aspect-ratio: 414/237;
  width: 100%;
  height: auto;
  overflow: hidden;
}

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

.top__project-swiper-title {
  margin-top: 19px;
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  color: #0161b7;
}

.top__project-swiper-text {
  margin-top: 22px;
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 500;
  line-height: calc(30 / 14);
  color: #1b2c42;
}

.top__project-swiper-category-wrapper {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px 20px;
  flex-wrap: wrap;
}

.top__project-swiper-category {
  padding: 5px 10px;
  min-width: 89px;
  background: var(--color-white);
  color: #0161b7;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: calc(80 / 1000 * 1em);
  text-align: center;
}

.top__project-swiper-button-wrap {
  position: absolute;
  top: -70px;
  right: clamp(30px, 5.5vw, 75px);
  display: flex;
  align-items: center;
  gap: 17px;
}

@media screen and (min-width: 768px) {
  .top__project-swiper-button-wrap {
    top: -122px;
  }
}

/* 共通のボタンスタイル */
.swiper-button-prev,
.swiper-button-next {
  width: 50px;
  height: 47px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0;

  /* デフォルトの矢印を非表示 */
  &::after {
    display: none;
  }
}

/* 前へボタンの矢印画像 */
.swiper-button-prev {
  left: 0;
  background-image: url(../images/project-arrow-icon-l.svg); /* 左矢印の画像パス */
}

/* 次へボタンの矢印画像 */
.swiper-button-next {
  right: 0;
  background-image: url(../images/project-arrow-icon-r.svg); /* 右矢印の画像パス */
}

/* ホバー時のスタイル */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: scale(1.05);
}

/* アクティブ（押下時）のスタイル */
.swiper-button-prev:active,
.swiper-button-next:active {
  transform: scale(0.95);
}

/* 選択されている時のスタイル（必要に応じて） */
.swiper-button-prev.selected,
.swiper-button-next.selected {
  transform: scale(0.95);
}

/* 無効化されている時のスタイル */
.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.swiper-button-prev.swiper-button-disabled:hover,
.swiper-button-next.swiper-button-disabled:hover {
  transform: none;
}

.top__project-button {
  text-align: center;
  margin-top: 60px;
  padding-right: clamp(30px, 5.5vw, 75px);
}

.top__project-button .button__link p {
  background: var(--color-white);
  color: var(--color-bar);
}

.top__project-button .button__link p::after {
  background: url(../images/button-arrow-blue.svg) no-repeat center
    center/contain;
}

/* ==================
voice
=================== */
.top__voice {
  margin-block: clamp(100px, 14.65vw, 200px) clamp(100px, 10.91vw, 149px);
}

@media screen and (min-width: 768px) {
  .top__voice-inner.l-inner {
    max-width: calc(1100px + 40px * 2);
  }
}

.top__voice-head {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media screen and (min-width: 768px) {
  .top__voice-head {
    flex-direction: row;
    align-items: center;
    gap: clamp(30px, 7.11vw, 97px);
  }
}

.top__voice-container {
  margin-top: 59px;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 54px;
}

@media screen and (min-width: 600px) {
  .top__voice-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 950px) {
  .top__voice-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.top__voice-box {
  padding: 27px 25px 36px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  margin-bottom: clamp(25px, 3.74vw, 51px);
  background: var(--color-white);
  box-shadow: 0 3px 21px #3ba1d7;
  border-radius: 20px;
}

.top__voice-box-title {
  color: var(--color-subheading);
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 19px);
  padding-bottom: 13px;
  border-bottom: 1px solid #015fb7;
}

.top__voice-box-title::before {
  content: "";
  aspect-ratio: 55/55;
  width: clamp(30px, 3.67vw, 55px);
  height: auto;
}

.top__voice-box:nth-child(odd) .top__voice-box-title::before {
  background: url(../images/voice-icon-odd) no-repeat center center/contain;
}

.top__voice-box:nth-child(even) .top__voice-box-title::before {
  background: url(../images/voice-icon-even) no-repeat center center/contain;
}

.top__voice-box-text {
  margin-top: 35px;
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 500;
  line-height: calc(30 / 14);
}
