@charset "utf-8";

body {
  background-color: #fff;
}

/* *************** LOADING**************** */
#loading-screen {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#loading-image {
  width: 13.5%;
  animation: fadeIn 1.5s ease forwards, float 4.5s ease-in-out infinite;
  margin-top: -100px;
}
.loading-click {
  width: 5.8%;
  text-align: center;
  position: absolute;
  bottom: 15%;
}

/* loading画面：フェードインのアニメーション */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(20px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* loading後現れるコンテンツ */
#js-main {
  display: none;
}
/* 初回訪問でない場合は最初からコンテンツを表示 */
.no-loading #loading-screen {
  display: none;
}
.no-loading #js-main {
  display: block;
}
/* フェードイン用のクラス */
.fade-in {
  animation: fadeInContent 1s ease forwards;
  opacity: 0;
}

/* フェードアウト用のクラス */
.fade-out {
  animation: fadeOutLoading 1s ease forwards;
}

/* メインコンテンツのフェードインアニメーション */
@keyframes fadeInContent {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ローディング画面のフェードアウトアニメーション */
@keyframes fadeOutLoading {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  #loading-image {
    width: 110px;
  }
  .loading-click {
    width: 69px;
  }
}

/* *************** MAIN VIEW **************** */
.main-visual {
  margin-left: 15%;
  padding-top: 53px;
}

@media (max-width: 767px) {
  .main-visual {
    margin-left: 0;
    height: auto;
    padding-top: 90px;
  }
}

/* *************** topのNEWS **************** */
.marquee {
  width: 45%;
  border-top: 1px solid #11b91e;
  border-bottom: 1px solid #11b91e;
  margin-left: calc((100% - 280px - 45%) / 2 + 70px);
}
.marquee__container {
  width: 88%;
  height: 48px;
  font-size: clamp(0.625rem, 0.525rem + 0.5vw, 1.125rem);
  /* 1920vw:18px 320vw:10px*/
  text-align: center;
  line-height: 48px;
  color: #11b91e;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
}
.marquee__content {
  display: inline-block;
  animation: marquee 10s linear infinite;
}
.marquee__text {
  display: inline-block;
  padding-right: 20px;
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1000px) {
  .marquee {
    margin: 36px auto 0;
  }
}

@media (max-width: 767px) {
  .marquee {
    display: none;
  }
  .marquee__container {
    width: 88%;
    height: 32px;
    line-height: 32px;
  }
}

/* ********** Envision the Future. **************** */
/* スマホはindexのみ表示 */
@media (max-width: 767px) {
  .envision-the-future {
    display: block;
    position: static;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
  }
  .envision-the-future__text {
    position: absolute;
    top: 125px;
    right: 20px;
  }
}

/* *************** main visual スライドショー **************** */
#swiper01.main-view__swiper {
  max-width: 70%;
  width: 100%;
  margin-left: calc((100% - 280px - 70%) / 2 + 70px);
}
#swiper01 .mv__img {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1000px) {
  #swiper01.main-view__swiper {
    max-width: 80%;
    margin: 80px auto 0;
  }
}

@media (max-width: 767px) {
  .slide-image#swiper01-container {
    position: relative;
    overflow: hidden;
    padding-left: 20px;
  }
  #swiper01.main-view__swiper {
    max-width: 130%;
    width: 130%;
    left: -24px;
    top: -25px;
    z-index: -1 !important;
  }
  .swiper__img:nth-child(1) {
    display: none;
  }
  .swiper__img:nth-child(2) {
    display: block; /* 確実に表示するために */
  }
  .swiper__img:nth-child(3) {
    display: none;
  }
}

/* *************** SPのみ表示 **************** */
.sp-home-company__container {
  display: none;
}

@media (max-width: 767px) {
  .sp-home-company__container {
    display: block;
    width: 53%;
    margin: 30px 20px 0;
  }
  #swiper01.main-view__swiper {
    max-width: 120%;
    width: 120%;
    left: -5px;
    top: -85px;
  }
}

@media (max-width: 483px) {
  #swiper01.main-view__swiper {
    top: -66px;
  }
}

/* *************** COMPANY-section **************** */
.home-company {
  margin: 210px 80px 205px 28%;
}
.home-company__wrapper {
  max-width: 940px;
  width: 100%;
  padding: 0 20px;
}
.home-company__container {
  display: flex;
  align-items: flex-end;
  margin-top: 80px;
}
.home-company__img {
  max-width: 374px;
  width: 100%;
  object-fit: contain;
}
.home-company__right {
  width: 80%;
  font-size: clamp(0.875rem, 0.775rem + 0.5vw, 1.375rem);
  /* 1920vw 22px:320vw 14px*/
  letter-spacing: 0.05em;
  line-height: 1.6;
  display: flex;
  align-items: flex-end;
  margin-left: 9%;
}

@media (max-width: 960px) {
  .home-company {
    margin-top: 160px;
  }
}

@media (max-width: 767px) {
  .home-company {
    margin: 16px 10% 95px 10%;
  }
  .home-company__wrapper {
    padding: 0;
  }
  .home-company__container {
    margin-top: 11px;
  }
  .home-company__img {
    display: none;
  }
  .home-company__right {
    width: 100%;
    font-size: clamp(0.875rem, 0.775rem + 0.5vw, 1.375rem);
    letter-spacing: 0.05em;
    line-height: 1.6;
    display: block;
    margin-left: 0;
  }
  .more__button {
    margin-top: 30px;
  }
}

/* ***************** SERVICES-section ***************** */
/* ***************** split-view ***************** */
.service {
  margin-top: 155px;
}
.split-view__all-box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 767px) {
  .service {
    margin-top: 33px;
    background-color: #f5f5f5;
  }
}
/* ***************** left ***************** */
.split-view__left {
  width: 57%;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  height: 100vh;
  background-color: #f5f5f5;
}
.services__title {
  text-align: center;
  margin: 10% 0 3% 28%;
}
.services__left--inner {
  position: absolute;
  top: 234px;
  left: 103px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.services__left--inner.active {
  opacity: 1;
  pointer-events: auto;
}
.services__image {
  width: 53%;
  display: block;
  margin: 0 auto;
}
.services__image--title {
  position: absolute;
  bottom: -30px;
  left: 23%;
  color: #11b91e;
  font-size: clamp(0.875rem, 0.175rem + 3.5vw, 4.375rem);
  letter-spacing: normal;
}
.services__image--number {
  position: absolute;
  bottom: -11%;
  right: 23%;
  color: #63f26e;
  font-size: clamp(0.875rem, -1.075rem + 9.75vw, 10.625rem);
}
.sp-services__left--inner {
  display: none;
}
.sp-services__title {
  display: none;
}

@media (max-width: 767px) {
  .split-view__left {
    display: none;
  }
}

/* ***************** right ***************** */
.split-view__right {
  width: 43%;
  padding: 0 12% 0 4%;
  margin-top: 15%;
}
.service__content {
  margin-bottom: 300px;
}
.service__content:first-of-type {
  margin-top: 100px;
}
.services__right--title {
  font-size: 1.9vw;
  font-weight: bold;
  letter-spacing: 0.17em;
  margin-bottom: 0.8em;
}
.services__right--sub-title {
  font-size: 1.5vw;
  font-weight: bold;
  margin-bottom: 0.8em;
}
.services__right--text {
  font-size: clamp(0.625rem, 0.134rem + 1.03vw, 1.375rem);
  letter-spacing: 0.04em;
  line-height: 1.4;
  padding-bottom: 1.8em;
  border-bottom: 1px solid #000;
}
.services__right--unity {
  font-size: clamp(0.625rem, 0.216rem + 0.86vw, 1.25rem);
  letter-spacing: 0.04em;
  padding-top: 1.8em;
}
.service__more-button {
  margin-top: 77px;
}

@media (max-width: 767px) {
  .service__content {
    margin-bottom: 90px;
  }
  .service__content:first-of-type {
    margin-top: 58px;
  }
  .split-view__right {
    width: 100%;
    padding: 0 10%;
    margin-top: 15%;
  }
  .sp-services__title {
    display: block;
    text-align: center;
  }
  .sp-services__left--inner {
    display: block;
    position: relative;
    margin: 0 auto;
  }
  .sp-services__image {
    max-width: 400px;
    width: 100%;
    display: block;
    margin: 0 auto;
  }
  .sp-services__image--title {
    position: absolute;
    bottom: -27px;
    left: 50%;
    transform: translateX(-195px);
    color: #11b91e;
    font-size: 48px;
    letter-spacing: normal;
  }
  .sp-services__image--number {
    color: #63f26e;
    position: absolute;
    bottom: -8%;
    right: 48%;
    transform: translateX(179px);
    font-size: 100px;
  }
  .services__right--title {
    font-size: 20px;
    margin-top: 2.5em;
  }
  .services__right--sub-title {
    font-size: 14px;
    margin-bottom: 0.5em;
  }
  .services__right--text {
    font-size: 14px;
    letter-spacing: 0.04em;
    line-height: 1.4;
    padding-bottom: 17px;
    border-bottom: 1px solid #000;
  }
  .services__right--unity {
    font-size: 12px;
    letter-spacing: 0.04em;
    padding-top: 15px;
  }
  .service__more-button {
    margin-top: 37px;
  }
}

@media (max-width: 440px) {
  .sp-services__image--title {
    bottom: -21px;
    left: 5px;
    transform: translateX(0);
    font-size: clamp(1.875rem, -0.458rem + 11.67vw, 2.75rem);
  }
  .sp-services__image--number {
    bottom: -10%;
    right: 0;
    transform: translateX(0);
    font-size: clamp(4.5rem, -0.167rem + 23.33vw, 6.25rem);
  }
}

/* *************** NEWS-section **************** */
.home-news {
  margin: 0 60px 0 20%;
}
.home-news__container {
  max-width: 82%;
  padding: 140px 20px 112px 20px;
  margin: 0 auto 93px;
}
.news-title {
  text-align: center;
  margin-bottom: 93px;
}
.swiper-wrapper {
  display: flex;
  gap: 3%;
}
.post__wrap {
  width: 33%;
}
.sp-news-slide {
  display: none;
}
.post-thumbnail {
  border-radius: 20px;
  margin-bottom: 33px;
}
.post-thumbnail:hover {
  opacity: 0.6;
}
.category-group {
  display: flex;
}
.home-news__post-meta {
  display: flex;
  margin-bottom: 25px;
}
.post-datetime {
  font-family: "altivo", sans-serif;
  font-size: clamp(0.875rem, 0.805rem + 0.27vw, 1.125rem);
  border-bottom: 2px solid #707070;
  line-height: 36px;
  margin-right: 23px;
}
.post-tag {
  width: 88px;
  height: 32px;
  font-size: clamp(0.75rem, 0.68rem + 0.27vw, 1rem);
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 32px;
  color: #11b91e;
  border: 1px solid #11b91e;
  margin-right: 10px;
}
.post-tag:hover {
  border: none;
  background-color: #63f26e;
  color: #fff;
}
.post-title {
  font-size: clamp(0.875rem, 0.619rem + 0.68vw, 1.438rem);
  letter-spacing: 0.1em;
}
.swiper-button-prev,
.swiper-button-next {
  display: none !important;
}

@media (max-width: 1004px) {
  .post-thumbnail {
    margin-bottom: 12px;
  }
  .category-group {
    flex-direction: column;
    margin-top: -13px;
  }
  .home-news__post-meta {
    flex-direction: column;
    margin: 0 0 13px 5px;
  }
  .post-tag__gap {
    margin-bottom: 5px;
  }
  .post-datetime {
    line-height: 20px;
    margin: 0 44px 10px 0;
  }
  .post-title {
    margin-left: 5px;
  }
}

@media (max-width: 767px) {
  .home-news {
    margin: 0;
  }
  .news-title {
    margin-bottom: 36px;
  }
  .home-news__container {
    max-width: 100%;
    padding: 140px 0 112px 0;
    margin: 0 0 93px;
  }
  .swiper {
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  .swiper-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .sp-news-slide {
    display: block;
  }
  #swiper02 .swiper-slide {
    width: auto;
    max-width: 382px;
  }
  /* slider navigation*/
  .swiper-button-prev,
  .swiper-button-next {
    display: block !important;
    color: #11b91e !important;
    top: 41% !important;
  }
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 20px !important;
  }
  .swiper-button-prev {
    left: 8% !important;
  }
  .post__container {
    width: 100%;
  }
  .post-thumbnail {
    width: 100%;
    max-width: 382px;
    margin: 0 auto;
  }
  .category-group {
    flex-direction: row;
  }
  .home-news__post-meta {
    flex-direction: row;
    margin-bottom: 12px;
  }
  .post-thumbnail[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .post-thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0 0 25px 0;
  }
  .post-datetime {
    border-bottom: 1px solid #707070;
    line-height: 29px;
    margin: 0 23px 0 0;
  }
  .post-title {
    margin-left: 0;
  }
  .home-news__wrap {
    width: 100%;
    max-width: 100%;
  }
  .top-news__more-button {
    margin-top: 64px;
  }
}
