@charset "utf-8";
/* ----------------
fv
----------------- */
.top__fv {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.top-fv__bg-image {
  pointer-events: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: clamp(
    645px,
    calc(645px + (2392 - 645) * ((100vw - 375px) / (1366 - 375))),
    2392px
  );
  aspect-ratio: 2392/248;
}

.top-fv__bg-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 2392/248;
  object-fit: contain;
}

@media screen and (min-width: 2380px) {
  .top-fv__bg-image img {
    max-width: 100vw;
    width: 100vw;
    object-fit: cover;
  }
}

.top-fv__inner {
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
}

.top-fv__container {
  display: flex;
  justify-content: end;
  gap: 62px;
  width: 100%;
  max-width: 1366px;
  margin-inline: auto;
  flex-direction: column-reverse; /* デフォルトで縦並び（モバイル表示用） */
}

@media screen and (min-width: 1362px) {
  .top-fv__container {
    flex-direction: row; /* PCでは横並び */
  }
}

.top-fv__contents1 {
  position: relative;
  max-width: 100%;
  z-index: 2;
}

/* @media screen and (min-width: 1200px) {
  .top-fv__contents1 {
    margin-top: -289px;
    max-width: 405px;
  }
} */

@media screen and (min-width: 1300px) {
  .top-fv__contents1 {
    margin-top: -467px;
    max-width: 405px;
  }
}
@media screen and (min-width: 1362px) {
  .top-fv__contents1 {
    margin-top: 286px;
    margin-left: 35px;
  }
}

.top-fv__heading {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 54px;
  color: var(--sub-color);
}

@media screen and (min-width: 415px) {
  .top-fv__heading {
    font-size: 27px;
  }
}
@media screen and (min-width: 1000px) {
  .top-fv__heading {
    font-size: 32px;
  }
}

.top-fv__text {
  margin-top: 24px;
  letter-spacing: normal;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .top-fv__text {
    font-size: 16px;
  }
}

@media screen and (min-width: 1200px) {
  .top-fv__text {
    font-size: 15px;
  }
}

.top-fv__news {
  margin-top: 90px;
  width: 100%;
  height: 172px;
  background: #e4e4f0;
  border-radius: 5px;
  padding: 12px 10px;
}

.top-fv__news .webgene-blog {
  height: 100%;
}

.top-fv__news-item {
  height: 100%;
}

.top-fv__news-link {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.top-fv__news-head {
  width: 100%;
  height: auto;
  aspect-ratio: 159/150;
  border-radius: 5px;
  overflow: hidden;
  max-width: 159px;
}

.webgene-item-main-image {
  aspect-ratio: 159/150;
  object-fit: cover;
  width: 100%;
}

.top-fv__news-row {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

@media screen and (min-width: 500px) {
  .top-fv__news-row {
    flex-direction: row;
    align-items: center;
  }
}

.top-fv__news-date {
  letter-spacing: normal;
  line-height: 20px;
  font-size: 14px;
}

.top-fv__news-category span {
  color: var(--white-color);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 15px;
  padding: 3px 12px;
  background: var(--category-color);
  border-radius: 11px;
}

.top-fv__news-title {
  margin-top: 17px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.73;
  color: #555555;
  display: -webkit-box; /* Safariや古いChrome用 */
  -webkit-box-orient: vertical; /* 縦方向に配置 */
  overflow: hidden; /* はみ出した部分を隠す */
  -webkit-line-clamp: 2; /* 行数を2に制限 (Safari用) */
  line-clamp: 2;
}

.top-fv__contents-sign {
  position: absolute;
  top: 0;
  left: 0;
  width: 282px;
  height: auto;
  aspect-ratio: 282/227;
}

.top-fv__contents-sign img {
  object-fit: contain;
  aspect-ratio: 282/227;
  width: 100%;
}

.top-fv__contens-wrapper {
  display: flex;
  justify-content: end;
  width: 100%;
  gap: 20px;
  flex-direction: row;
  align-items: flex-start;
}

.top-fv__contents2 {
  margin-top: 246px;
}

@media screen and (min-width: 772px) {
  .top-fv__contents2 {
    margin-top: 224px;
  }
}
@media screen and (min-width: 1000px) {
  .top-fv__contents2 {
    margin-top: 186px;
  }
}

@media screen and (min-width: 1200px) {
  .top-fv__contents2 {
    margin-top: 179px;
  }
}

.top-fv__swiper {
  width: clamp(
    190px,
    calc(190px + (566 - 190) * ((100vw - 375px) / (1366 - 375))),
    566px
  );
}

.swiper-wrapper1 {
  display: flex;
}

.top-fv__slide1 {
  border-radius: 20px;
  overflow: hidden;
}

.top-fv__swiper-image1 {
  width: 100%;
  height: 100%;
  aspect-ratio: 566/640;
  max-width: 100%;
}

@media screen and (min-width: 1362px) {
  .top-fv__swiper-image1 {
    max-width: 566px;
  }
}

.top-fv__swiper-image1 img {
  aspect-ratio: 566/640;
  object-fit: cover;
  width: 100%;
}

.top-fv__swiper2 {
  width: 100%;
  width: clamp(
    124px,
    calc(124px + (243 - 124) * ((100vw - 375px) / (1366 - 375))),
    243px
  );
  max-width: 243px;
  height: clamp(
    469px,
    calc(469px + (819 - 469) * ((100vw - 375px) / (1366 - 375))),
    819px
  );
}

.swiper-wrapper2 {
  transition-timing-function: linear;
}

.top-fv__swiper-image2 {
  aspect-ratio: 243/242;
  max-width: 243px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.top-fv__swiper-image2 img {
  aspect-ratio: 243/242;
  object-fit: cover;
  width: 100%;
  position: relative;
}

.top-fv__swiper-image2::after {
  position: absolute;
  z-index: 2;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--bokasi-color);
  pointer-events: none;
}

.top-fv__slide2-text {
  position: absolute;
  z-index: 5;
  bottom: 17%;
  left: 7%;
  color: var(--white-color);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 20px;
}

@media screen and (min-width: 768px) {
  .top-fv__slide2-text {
    bottom: 7%;
  }
}

/* ----------------
about
----------------- */
.top-about {
  position: relative;
  margin-top: 100px;
  margin-bottom: 60px;
  padding-block: 100px 136px;
  margin-left: 30px;
  border-radius: 40px 0 0 40px;
  background: var(--white-color);
}

@media screen and (min-width: 768px) {
  .top-about {
    margin-top: 162px;
    padding-block: 144px 196px;
  }
}

.top-about::before {
  content: "";
  z-index: -1;
  position: absolute;
  width: calc(100vw - 1.5%);
  height: 81%;
  aspect-ratio: 1347 / 3415;
  background: #5d59b8;
  border-radius: 0 40px 40px 0;
  bottom: -60px;
  left: -30px;
}

.top-about__wrapper {
  position: relative;
  max-width: calc(1336px);
  margin-inline: auto;
}

.top-about__heading {
  position: absolute;
  top: -120px;
  right: 0;
  writing-mode: vertical-rl;
  font-size: 30px;
  letter-spacing: -0.04em;
  font-family: var(--ff-space);
  color: var(--title-color);
}

@media screen and (min-width: 500px) {
  .top-about__heading {
    top: -157px;
    font-size: 80px;
  }
}
@media screen and (min-width: 768px) {
  .top-about__heading {
    top: -219px;
    font-size: 98px;
  }
}

.top-about__inner {
  padding-inline: 40px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .top-about__inner {
    padding-inline: 145px 144px;
  }
}

.top-about__container {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 920px) {
  .top-about__container {
    flex-direction: column-reverse;
  }
}

@media screen and (min-width: 1000px) {
  .top-about__container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.top-about__title-en {
  color: var(--title-color);
}

.top-about__title-en::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: var(--title-color);
}

.top-about__description {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.026em;
  line-height: 37px;
  color: var(--sub-color);
}

@media screen and (min-width: 768px) {
  .top-about__description {
    font-size: 26px;
    margin-top: 52px;
  }
}

.top-about__description + .top-about__description {
  margin-top: 8px;
}

@media screen and (min-width: 768px) {
  .top-about__description + .top-about__description {
    margin-top: 18px;
  }
}

.top-about__text {
  margin-top: 40px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 2;
  color: var(--text-sub-color);
}

@media screen and (min-width: 414px) {
  .top-about__text {
    font-size: 14px;
  }
}

@media screen and (min-width: 768px) {
  .top-about__text {
    font-size: 16px;
    letter-spacing: 0.05em;
  }
}

@media screen and (min-width: 1200px) {
  .top-about__text {
    margin-top: 50px;
    font-size: 15px;
    line-height: 2.3;
  }
}

.top-about__text + .top-about__text {
  margin-top: 25px;
}

.top-about__images {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

@media screen and (min-width: 920px) {
  .top-about__images {
    align-self: self-end;
    margin-bottom: -219px;
    width: clamp(
      287px,
      calc(287px + (469 - 287) * ((100vw - 375px) / (1366 - 375))),
      469px
    );
  }
}

@media screen and (min-width: 1000px) {
  .top-about__images {
    margin-bottom: 0;
    align-self: flex-start;
  }
}

@media screen and (min-width: 1366px) {
  .top-about__images {
    max-width: 469px;
  }
}

.top-about__image {
  border-radius: 10px;
  align-self: self-start;
  border-top: 6px solid #512f8f;
  aspect-ratio: 280/323;
  object-fit: cover;
  max-width: 100%;
  width: 60%;
}

@media screen and (min-width: 1366px) {
  .top-about__image {
    max-width: 280px;
  }
}

.top-about__image2 {
  border-radius: 10px;
  align-self: self-end;
  border-top: 6px solid #512f8f;
  aspect-ratio: 295/241;
  object-fit: cover;
  max-width: 100%;
  width: 63%;
}

@media screen and (min-width: 1366px) {
  .top-about__image {
    max-width: 295px;
  }
}

.top-about__bg-wrapper {
  position: absolute;
  width: 100%;
  height: auto;
  aspect-ratio: 1366/248;
  bottom: -16px;
  right: 0;
}

@media screen and (min-width: 520px) {
  .top-about__bg-wrapper {
    bottom: -28px;
  }
}

@media screen and (min-width: 768px) {
  .top-about__bg-wrapper {
    bottom: -37px;
  }
}

@media screen and (min-width: 1000px) {
  .top-about__bg-wrapper {
    bottom: -52px;
  }
}

@media screen and (min-width: 1200px) {
  .top-about__bg-wrapper {
    bottom: -65px;
  }
}

@media screen and (min-width: 1366px) {
  .top-about__bg-wrapper {
    bottom: -76px;
    height: 248px;
  }
}

.top-about__bg {
  object-fit: contain;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

.top-about__bg img {
  width: clamp(
    360px,
    calc(360px + (1335 - 360) * ((100vw - 375px) / (1336 - 375))),
    1335px
  );
  height: auto;
  aspect-ratio: 1335/248;
  object-fit: contain;
  position: absolute;
  right: -12%;
}

/* ----------------
slider4
----------------- */
.top-slider4 {
  margin-top: 213px;
  width: 100vw;
}

.swiper-wrapper4 {
  display: flex;
  transition-timing-function: linear;
}

.top-slider4__swiper-slide {
  border-radius: 20px;
  overflow: hidden;
  max-width: 630px;
  aspect-ratio: 630/522;
}

.top-slider4__swiper-image {
  width: 100%;
  height: auto;
  max-width: 630px;
  aspect-ratio: 630/522;
  height: auto;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.top-slider4__swiper-image::after {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(57, 8, 129, 0.17);
  pointer-events: none;
}

.top-slider4__swiper-image img {
  aspect-ratio: 630/522;
  object-fit: cover;
  width: 100%;
}

/* ----------------
service
----------------- */
.top-service {
  position: relative;
  margin-top: 100px;
  padding-block: 100px 156px;
  background: #5652b7;
  clip-path: ellipse(252% 50% at 50% 50%);
}

.top-service::after {
  pointer-events: none;
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/noise.svg);
}

@media screen and (min-width: 768px) {
  .top-service {
    margin-top: 162px;
    padding-block: 153px 256px;
    clip-path: ellipse(150% 50% at 50% 50%);
  }
}

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

.top-service__title-en {
  color: var(--white-color);
}

.top-service__title-en::after {
  background: var(--white-color);
}

.top-service__text {
  color: var(--white-color);
  width: 100%;
  max-width: 680px;
}

.top-service__container {
  margin-top: 69px;
  display: flex;
  flex-direction: column;
  gap: 43px;
}

.top-service__content {
  background: var(--white-color);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

@media screen and (min-width: 768px) {
  .top-service__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 49px 57px 47px 47px;
  }
}

.top-service__content-head {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top-service__content-head {
    width: 52%;
    max-width: 555px;
  }
}

.top-service__content-head img {
  aspect-ratio: 555/466;
  object-fit: cover;
  width: 100%;
}

.top-service__content-body {
  margin-top: 4px;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top-service__content-body {
    width: 44%;
    max-width: 476px;
  }
}

.top-service__content-label {
  display: inline-block;
  margin-left: 5px;
  padding: 6px 15px;
  background: var(--title-color);
  color: var(--white-color);
  font-size: 18px;
  font-family: var(--ff-space);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.top-service__content-title {
  margin-left: 7px;
  margin-top: 1px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 2.28;
  color: var(--sub-color);
}

@media screen and (min-width: 768px) {
  .top-service__content-title {
    letter-spacing: 0.05em;
    font-size: 26px;
  }
}

.top-service__content-text {
  margin-left: 5px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 2.33;
  color: var(--text-sub-color);
}

.top-service__content-button {
  margin-top: 13px;
  display: block;
  text-align: right;
}

.top-service__content-button-text {
  color: var(--title-color);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 2.07;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  position: relative;
}

.top-service__content-button-text::before {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 77px;
  height: 1px;
  background: var(--title-color);
}

.top-service__content-button-text::after {
  content: "";
  width: 50px;
  height: 50px;
  background: url(../images/button-arrow.svg) no-repeat center center / contain;
}

.top-service__content-box {
  margin-top: 26px;
  width: 100%;
  background: #e4e4f0;
  border-radius: 5px;
  padding: 20px 20px 30px;
}

.top-service__content-box-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 24px;
  color: var(--sub-color);
}

.top-service__content-box-tag-wrap {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
/* ----------------
goods
----------------- */
.top-goods {
  padding-top: 157px;
  padding-bottom: 200px;
}

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

.top-goods__title-en.top__title-en {
  text-align: center;
  color: var(--title-color);
}
.top-goods__title-en::after {
  background: var(--title-color);
  margin-inline: auto;
}

.top-goods__text.top__text {
  text-align: left;
  color: var(--text-sub-color);
}

@media screen and (min-width: 768px) {
  .top-goods__text.top__text {
    text-align: center;
  }
}

.top-goods__container .webgene-blog {
  margin-top: 43px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

@media screen and (min-width: 768px) {
  .top-goods__container .webgene-blog {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1200px) {
  .top-goods__container .webgene-blog {
    grid-template-columns: repeat(4, 1fr);
  }
}

.top-goods__content {
  background: var(--white-color);
  padding: 20px 30px 25px;
  border: 0.5px solid #c4c4c4;
  position: relative;
}

.top-goods__content-image {
  width: 100%;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.top-goods__content-image img {
  aspect-ratio: 257/257;
  object-fit: cover;
  width: 100%;
  flex-shrink: 0;
}

/* スクロール時のボタン */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  display: none; /* 初期状態では非表示 */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.scroll-arrow:hover {
  background: rgba(0, 0, 0, 0.9);
}

.scroll-arrow:focus {
  outline: 1px solid #fff;
}

.scroll-arrow.left {
  left: 10px;
}

.scroll-arrow.right {
  right: 10px;
}

/* スクロール可能な時に矢印を表示 */
.scrollable .scroll-arrow {
  display: flex;
}

/* 左端にいる時は左矢印を非表示 */
.at-start .scroll-arrow.left {
  display: none;
}

/* 右端にいる時は右矢印を非表示 */
.at-end .scroll-arrow.right {
  display: none;
}

.top-goods__content-body {
  margin-top: 12px;
}

.top-goods__content-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.73;
  color: #333;
}

.top-goods__content-price-wrap {
  margin-top: 15px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.top-goods__content-price {
  color: #333;
  letter-spacing: 0.05em;
}

.top-goods__content-price:nth-of-type(1) {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  font-family: var(--ff-bebas);
}

.top-goods__content-price:nth-of-type(2) {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.top-goods__slider {
  margin-top: 28px;
}

.top-goods__swiper {
}

.top-goods__swiper-wrapper {
  display: flex;
  transition-timing-function: linear;
}

.top-goods__slide {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-goods__swiper-image {
  flex: 1;
  min-width: 80px;
  max-width: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white-color);
  aspect-ratio: 80/80;
}

.top-goods__swiper-image img {
  aspect-ratio: 80/80;
  object-fit: cover;
  width: 100%;
}

.top-goods__slide-text {
  white-space: nowrap;
  font-family: var(--ff-bebas);
  font-size: 95px;
  letter-spacing: 0.01em;
  line-height: 102px;
  color: transparent;
  -webkit-text-stroke: 1px #989898; /* ベンダープレフィックス */
  text-stroke: 1px #989898;
  text-transform: uppercase;
}

.top-goods__button {
  margin-top: 68px;
  text-align: center;
}

.top-goods__button-link {
  display: inline-block;
}

.top-goods__button-text {
  padding: 17px 47px 17px 21px;
  color: var(--white-color);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 20px;
  background-color: var(--title-color);
  border: 1px solid var(--title-color);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}

.top-goods__button-text::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 100%;
  background: #281253;
  border-left: 1px solid #a391d6;
}

.top-goods__button-text::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 7px;
  width: 9px;
  height: 9px;
  background: url(../images/arrow-icon.svg) no-repeat center center/contain;
}

.top-goods__button-link:hover .top-goods__button-text {
  background: var(--white-color);
  color: var(--title-color);
}
/* ----------------
staff
----------------- */

.top-staff {
  position: relative;
  padding-block: 100px 100px;
  background: #5652b7;
  clip-path: ellipse(128% 50% at 50% 50%);
}

.top-staff::after {
  pointer-events: none;
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/noise.svg);
}

@media screen and (min-width: 768px) {
  .top-staff {
    padding-block: 265px 251px;
    clip-path: ellipse(100% 50% at 50% 50%);
  }
}

.top-staff__inner {
  overflow: hidden;
  width: 100%;
  margin-inline: auto;
  max-width: 1366px;
}

.top-staff__container {
  max-width: calc(1280px + 40px);
  padding-left: 20px;
  overflow: hidden;
  margin-inline: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

@media screen and (min-width: 900px) {
  .top-staff__container {
    padding-left: 40px;
    flex-direction: row;
    gap: 20px;
  }
}

.top-staff__head {
  width: 100%;
}

@media screen and (min-width: 900px) {
  .top-staff__head {
    max-width: 253px;
  }
}

.top-staff__titel-en {
  color: var(--white-color);
}

.top-staff__titel-en::after {
  background: var(--white-color);
}

.top-staff__text {
  color: var(--white-color);
}

.top-staff__button-wrapper {
  display: flex;
  flex-direction: column-reverse;
}

@media screen and (min-width: 900px) {
  .top-staff__button-wrapper {
    flex-direction: column;
  }
}

.top-staff__slider-controls {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 46px;
}

.top-staff__slider-button {
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.top-staff__slider-button:first-of-type {
  background: url(../images/staff-prev.svg) no-repeat center center/contain;
}

.top-staff__slider-button:nth-of-type(2) {
  background: url(../images/staff-next.svg) no-repeat center center/contain;
}

.top-staff__slider-button:first-of-type:hover {
  background: url(../images/staff-prev-p.svg) no-repeat center center/contain;
}

.top-staff__slider-button:nth-of-type(2):hover {
  background: url(../images/staff-next-p.svg) no-repeat center center/contain;
}

.top-staff__slider-button:disabled {
  cursor: not-allowed;
}

.top-staff__button {
  margin-top: 40px;
}

@media screen and (min-width: 900px) {
  .top-staff__button {
    margin-top: 138px;
  }
}

.top-staff__button-link {
  display: inline-block;
}

.top-staff__button-text {
  padding: 17px 62px 17px 21px;
  color: #281253;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 20px;
  background-color: #f8f8ff;
  border: 1px solid #f8f8ff;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.top-staff__button-text::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 100%;
  background: var(--title-color);
  border-left: 1px solid #a391d6;
}

.top-staff__button-text::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 7px;
  width: 9px;
  height: 9px;
  background: url(../images/arrow-icon.svg) no-repeat center center/contain;
}

.top-staff__button-link:hover .top-staff__button-text {
  background: #281253;
  color: #f8f8ff;
}

.top-staff__slider {
  width: 100%;
  max-width: 945px;
  /* height: 442px; */
}

@media screen and (min-width: 900px) {
  .top-staff__slider {
    margin-top: 44px;
  }
}

.top-staff__swiper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.top-staff__swiper section {
  display: flex !important;
}

.top-staff__slide {
  width: 100%;
  max-width: 273px;
  aspect-ratio: 237/448;
  overflow: hidden;
}

.top-staff__swiper-image {
  width: 100%;
  overflow: hidden;
  max-width: 273px;
  aspect-ratio: 273/340;
  border-radius: 5px;
}

.top-staff__swiper-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.top-staff__slide-row {
  height: 46px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-staff__slide-name {
  color: var(--white-color);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 26px;
}

.top-staff__slide-label {
  max-width: 143px;
  color: var(--white-color);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 16px;
  background: var(--title-color);
  border-radius: 27px;
  padding: 2px 16px;
}

.top-staff__slide-text {
  margin-top: 17px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.8;
  color: var(--white-color);
  display: -webkit-box; /* Safariや古いChrome用 */
  -webkit-box-orient: vertical; /* 縦方向に配置 */
  overflow: hidden; /* はみ出した部分を隠す */
  -webkit-line-clamp: 2; /* 行数を2に制限 (Safari用) */
  line-clamp: 2;
}
/* ----------------
news
----------------- */

.top-news {
  margin-block: 114px 173px;
}

.top-news__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

@media screen and (min-width: 900px) {
  .top-news__inner {
    gap: 20px;
    flex-direction: row;
    justify-content: space-between;
  }
}

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

.top-news__container {
  width: 100%;
}

@media screen and (min-width: 900px) {
  .top-news__container {
    width: 47%;
  }
}

.top-news__contents {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

@media screen and (min-width: 1200px) {
  .top-news__contents {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.top-news__head {
  width: 100%;
}

@media screen and (min-width: 900px) {
  .top-news__head {
    max-width: 316px;
  }
}

.top-news__title-en {
  color: var(--title-color);
}

.top-news__title-en::after {
  background: var(--title-color);
}

.top-news__text {
  color: var(--text-sub-color);
}

.top-news__button {
  margin-bottom: 9px;
}

.top-news__content {
  margin-top: 47px;
}

.news__item {
  position: relative;
  padding-block: 30px;
  border-bottom: 1px solid #e8e8e8;
}

.news__item:first-of-type {
  border-top: 1px solid #e8e8e8;
}

.news__item-link::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  background: url(../images/arrow.svg) no-repeat center center/contain;
  width: 11px;
  height: 12px;
  transition: all 0.3s ease;
}

.news__item-link:hover::after {
  right: -5px;
}

.news__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news__date {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 20px;
}

.news__category {
  color: var(--white-color);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 15px;
  background: var(--title-color);
  border-radius: 11px;
  padding: 3px 12px;
}

.news__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 17px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 24px;
  color: var(--sub-color);
}

.top-calender {
  width: 100%;
}

@media screen and (min-width: 900px) {
  .top-calender {
    width: 45%;
  }
}

.top-calender__title-en.top__title-en {
  letter-spacing: normal;
  color: var(--title-color);
}

.top-calender__title-en::after {
  background: var(--title-color);
}

.top-calender__content {
  margin-top: 80px;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  aspect-ratio: 528/562;
  height: auto;
}

@media screen and (min-width: 900px) {
  .top-calender__content {
    max-width: 528px;
  }
}

.top-calender__content .gjs-no-pointer {
  border: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  background: var(--white-color);
}

@media screen and (min-width: 900px) {
  .top-calender__content .gjs-no-pointer {
    max-width: 528px;
  }
}
