@charset "utf-8";
.top__fv {
  padding-top: 49px;
}

.top__fv-inner {
  margin-inline: auto;
}

.top__fv-slider {
  margin-left: 9px;
}

.top__fv-swiper-slide-image {
  aspect-ratio: 568/568;
  width: 100%;
  height: auto;
}

.top__fv-swiper-slide-image img {
  aspect-ratio: 568/568;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.top__fv-swiper-slide-text {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: calc(30 / 1000 * 1em);
  line-height: calc(20 / 14);
}

.top__news-topics {
  margin-top: 31px;
  border-top: 1px solid var(--color-base);
  border-bottom: 1px solid var(--color-base);
}

@media screen and (min-width: 1367px) {
  .top__news-topics {
    border-left: 1px solid var(--color-base);
    border-right: 1px solid var(--color-base);
  }
}

.top__fv-news-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media screen and (min-width: 768px) {
  .top__fv-news-link {
    flex-direction: row;
  }
}

.top__fv-news-time {
  flex-shrink: 0; /* 日付部分は縮まないように */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: calc(23 / 16);
  padding: 5px 15px;
  border-bottom: 1px solid var(--color-base);
}

@media screen and (min-width: 768px) {
  .top__fv-news-time {
    padding: 21px 25px 20px 33px;
    justify-content: center;
    border-right: 1px solid var(--color-base);
    border-bottom: none;
  }
}

.top__fv-news-title {
  flex: 1; /* 残りのスペースを全て使用 */
  padding: 21px 97px 20px 23px;
  font-size: 16px;
  font-weight: 400;
  line-height: calc(23 / 16);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.top__fv-news-title::before,
.top__fv-news-title::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.top__fv-news-title::before {
  right: 74px;
  width: 1px;
  height: 63%;
  background: var(--color-base);
}

.top__fv-news-title::after {
  width: 24px;
  height: 27px;
  background: url(../images/arrow-icon.svg) no-repeat center center / contain;
  right: 27px;
}

.top__fv-news-link:hover .top__fv-news-title::after {
  right: 23px;
}

/* ===================
service
===================== */
.top__service {
  margin-top: 80px;
}

@media screen and (min-width: 768px) {
  .top__service {
    margin-top: 133px;
  }
}

.top__service-inner {
  max-width: 1366px;
  margin-inline: auto;
}

.top__service-title {
  margin-left: 15px;
}

@media screen and (min-width: 768px) {
  .top__service-title {
    margin-left: 83px;
  }
}

.top__service-container {
  margin-top: 19px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .top__service-container {
  }
}

/*
.top__service-slider {
  aspect-ratio: 683/1439;
  max-width: 683px;
  max-height: 1439px;
  width: 100%;
  height: auto;
  min-height: 300px;
}

@media screen and (min-width: 768px) {
  .top__service-slider {
    max-width: 383px;
  }
}

@media screen and (min-width: 1024px) {
  .top__service-slider {
    max-width: 483px;
  }
}

@media screen and (min-width: 1300px) {
  .top__service-slider {
    max-width: 683px;
  }
}

.top__service-swiper {
  height: 100%;
}

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

.top__service-swiper-slide {
  height: auto;
}

.top__service-swiper-image {
  aspect-ratio: 683/803;
  width: 100%;
  height: auto;
}

.top__service-swiper-image img {
  aspect-ratio: 683/803;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
} */

.top__service-contents {
  display: flex;
  align-items: center;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .top__service-contents {
    flex-direction: row;
    align-items: stretch;
  }
}

@media screen and (min-width: 900px) {
  .top__service-contents {
    border-left: 1px solid #e5e5e5;
  }
}

.top__service-contents-image {
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 679/710;
}

.top__service-contents-image img {
  aspect-ratio: 679/710;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.top__service-box {
  width: 100%;
  padding: 31px 21px 80px 40px;
}

@media screen and (min-width: 1024px) {
  .top__service-box {
    padding: 35px 41px 189px 88px;
  }
}

.top__service-box:nth-child(2) {
  border-top: 1px solid #e5e5e5;
}

.top__service-box-number {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.top__service-box-title {
  margin-top: 50px;
  font-size: clamp(24px, 1.91vw, 26px);
  font-weight: 700;
  line-height: 1.2;
}

@media screen and (min-width: 1024px) {
  .top__service-box-title {
    margin-top: 173px;
  }
}

.top__service-box-text {
  margin-right: 24px;
  margin-top: 40px;
  font-size: clamp(14px, 1.18vw, 16px);
  font-weight: 400;
  line-height: calc(30 / 16);
}

@media screen and (min-width: 1024px) {
  .top__service-box-text {
    margin-right: 44px;
    margin-top: 59px;
  }
}

.top__service-box .c-link__button {
  margin-top: 54px;
}

@media screen and (min-width: 1024px) {
  .top__service-box .c-link__button {
    margin-top: 68px;
  }
}

/* =========================
about
=========================== */
.top__about {
  padding-top: 80px;
  padding-bottom: 100px;
}

@media screen and (min-width: 768px) {
  .top__about {
    padding-top: 117px;
    padding-bottom: 295px;
  }
}

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

.top__about-inner {
  display: flex;
  gap: 40px;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .top__about-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.top__about-text {
  max-width: 800px;
  font-size: clamp(16px, 1.47vw, 20px);
  font-weight: 500;
  line-height: calc(40 / 20);
}
/* 
.top__about-slider {
  width: 100%;
  overflow: hidden;
  margin-top: 55px;
}

.top__about-slide {
  display: flex;
  align-items: center;
  gap: 7.32vw;
  width: fit-content;
  animation: infiniteSlide 30s linear infinite;
  will-change: transform;
}

.top__about-slide p {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: clamp(70px, 10.25vw, 140px);
  font-weight: 700;
  letter-spacing: calc(-20 / 1000 * 1em);
  line-height: 1.2;
  color: rgba(52, 99, 129, 0.1);
}

@keyframes infiniteSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
} */

/* =========================
company
=========================== */
.top__company {
  background: var(--color-accent);
  padding-block: 80px 100px;
}

@media screen and (min-width: 768px) {
  .top__company {
    padding-block: 126px 124px;
  }
}

.top__company-inner {
}

.top__company-wrapper {
  position: relative;
}

.top__company-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 40px;
}

@media screen and (min-width: 768px) {
  .top__company-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1300px) {
  .top__company-container {
    align-items: flex-start;
  }
}

.top__company-contents {
  flex: 1;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top__company-contents {
    max-width: 460px;
  }
}

.top__company-text {
  margin-top: 60px;
  font-size: clamp(14px, 1.18vw, 16px);
  font-weight: 400;
  line-height: calc(30 / 16);
}

@media screen and (min-width: 768px) {
  .top__company-text {
    margin-top: 122px;
  }
}

.top__company-contents .c-link__button {
  margin-top: 71px;
}

.top__company-image {
  aspect-ratio: 640/640;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .top__company-image {
    margin-top: 40px;
    width: clamp(300px, 46.86vw, 640px);
  }
}

.top__company-image img {
  aspect-ratio: 640/640;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.top__company-bg {
  width: 100%;
  height: clamp(720px, 78.6vw, 1073px);
  position: relative;
  margin-top: 58px;
}

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

.top__company-bg--01,
.top__company-bg--02,
.top__company-bg--03,
.top__company-bg--04 {
  position: absolute;
}

.top__company-bg--01 {
  aspect-ratio: 350/245;
  max-width: 350px;
  width: clamp(197px, 25.63vw, 350px);
  left: 0;
  top: 0;
}

@media screen and (min-width: 768px) {
  .top__company-bg--01 {
    left: 37px;
  }
}

.top__company-bg--01 img {
  aspect-ratio: 350/245;
}

.top__company-bg--02 {
  max-width: 270px;
  left: 55.2vw;
  top: clamp(46px, 6.08vw, 83px);
  aspect-ratio: 270/370;
  width: clamp(117px, 19.77vw, 270px);
}

@media screen and (min-width: 1366px) {
  .top__company-bg--02 {
    left: 754px;
    top: 83px;
  }
}

.top__company-bg--02 img {
  aspect-ratio: 270/370;
}

.top__company-bg--03 {
  max-width: 640px;
  aspect-ratio: 640/640;
  width: clamp(300px, 46.86vw, 640px);
  left: 0;
  top: clamp(235px, 31.8vw, 434px); /* 491px ÷ 1073px × 78.6vw ≈ 35.94vw */
}

@media screen and (min-width: 768px) {
  .top__company-bg--03 {
    left: 37px;
  }
}

.top__company-bg--03 img {
  aspect-ratio: 640/640;
}

.top__company-bg--04 {
  max-width: 445px;
  right: 0;
  bottom: 0;
  aspect-ratio: 445/312;
  width: clamp(224px, 32.58vw, 445px);
}

@media screen and (min-width: 1366px) {
  .top__company-bg--04 {
    right: 0;
    bottom: 126px;
  }
}

.top__company-bg--04 img {
  aspect-ratio: 445/312;
}

/* =========================
news
=========================== */
.top__news {
  padding-block: 80px 90px;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top__news {
    padding-block: 124px 90px;
  }
}

.top__news-heading {
  max-width: 1366px;
  margin-inline: auto;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.top__news-heading .c-heading__small {
  margin-left: 15px;
}

@media screen and (min-width: 768px) {
  .top__news-heading .c-heading__small {
    margin-left: 83px;
  }
}

.top__news-inner {
  width: 100%;
}

.top__news-inner .c-link__button {
  margin-top: 0;
  text-align: right;
}

@media screen and (min-width: 768px) {
  .top__news-inner .c-link__button {
    margin-top: 110px;
    flex-shrink: 0;
    text-align: left;
  }
}

.top__news-wrapper {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}

@media screen and (min-width: 768px) {
  .top__news-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
}

.top__news-container {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top__news-container {
    max-width: 820px;
  }
}
