@charset "utf-8";
@import url("https://use.typekit.net/vbp7rgy.css");

/* ================================
全ページ基本のスタイル
===================================*/
html {
  font-size: 16px;
}
/* **********  font **************** */
/* 日本語・基本 */
body {
  font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
  font-weight: 400;
}
/* Calluna italic */
.more__link,
.envision-the-future__text,
.services__image--title,
.sp-services__image--title,
.service-under__subtitle,
.service-under__section--title-en {
  font-family: "calluna", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.06em;
}
/* altivo */
.navigation__list {
  font-family: "altivo", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* トップページのsectionタイトル */
.home-section__title {
  font-family: "altivo", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.875rem, 1.477rem + 1.64vw, 3.438rem);
  /* 1920vw 55px:390vw 30px */
  color: #626262;
}
/* 各ページのメインタイトル （COMPANYページは各sectionタイトルも同じ） */
.section__title,
.page__title {
  font-family: "altivo", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(
    1.5rem,
    1.05rem + 2.25vw,
    3.75rem
  ); /* 1920vw:60px 320vw:24px */
  color: #626262;
  letter-spacing: 0.03em;
}
.section__ja-title {
  font-size: clamp(0.875rem, 0.738rem + 0.69vw, 1.563rem);
  letter-spacing: 0.5em;
  color: #626262;
}
/* century-old-style-std */
.services__image--number,
.sp-services__image--number {
  font-family: "century-old-style-std", serif;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 767px) {
  .section__ja-title {
    letter-spacing: 0.05em;
  }
}

/* **********  その他共通パーツ **************** */
body {
  background-color: #f5f5f5;
}
a:hover {
  color: #11b91e;
}
img {
  max-width: 100%;
}
/*  more-button  */
.more__button {
  width: 72px;
  height: 72px;
  position: relative;
  margin: 132px auto 0 auto;
}
.more__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 69px;
  color: #11b91e;
  border: 1px solid #11b91e;
  border-radius: 50%;
}
.more__link:hover {
  border: none;
  background-color: #63f26e;
  color: #fff;
}

@media (max-width: 767px) {
  .more__button {
    width: 46px;
    height: 46px;
    line-height: 46px;
  }
  .more__link {
    font-size: 12px;
    line-height: 42px;
  }
}

/* ********** header **************** */
.header {
  width: 280px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
.top-logo {
  margin: 40px auto 20vh 60px;
}
.top-logo__img {
  width: 90%;
}
.navigation {
  height: 100%;
  font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
  margin-left: 76px;
}
.navigation__list-item {
  letter-spacing: 0.03em;
  margin-bottom: 5vh;
}
.current-location {
  color: #11b91e;
}
.navigation__list-item:last-of-type {
  margin-bottom: 0;
}

.ham-btn {
  display: none;
}

@media screen and (max-width: 768px) {
  .header {
    width: 100%;
    height: 79px;
    background-color: rgba(245, 245, 245, 0.8);
  }
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
  }
  .top-logo {
    margin: 0;
  }
  .top-logo__img {
    width: 60%;
  }
  .ham-btn {
    display: block;
    position: relative;
    width: 21px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }

  .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #11b91e;
    transition: all 0.3s ease;
  }

  .bar-top {
    top: 0;
  }

  .bar-middle {
    top: 50%;
    transform: translateY(-50%);
  }

  .bar-bottom {
    bottom: 0;
  }

  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 152px;
    height: 100vh;
    background-color: rgba(245, 245, 245, 0.8);
    transition: 0.3s;
    z-index: 999;
  }

  .navigation__list {
    text-align: right;
    padding: 150px 20px 0;
  }

  .navigation__list-item {
    margin-bottom: 51px;
  }

  /* メニューが開いた時のスタイル */
  .navigation.is-open {
    right: 0;
  }

  /* ハンバーガーメニューが開いた時の十字アニメーション */
  .ham-btn.is-open .bar-top {
    top: 50%;
    transform: rotate(45deg);
  }

  .ham-btn.is-open .bar-middle {
    opacity: 0;
  }

  .ham-btn.is-open .bar-bottom {
    top: 50%;
    transform: rotate(-45deg);
  }
}
/* ********** Envision the Future. **************** */
.envision-the-future {
  position: fixed;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  z-index: 99;
}
.envision-the-future__text {
  white-space: nowrap;
  writing-mode: vertical-rl; /* テキストを縦書きにする */
  font-size: clamp(
    0.625rem,
    0.5rem + 0.63vw,
    1.25rem
  ); /* 1920vw:20px 320vw:10px */
  color: #11b91e;
}

@media (max-width: 767px) {
  .envision-the-future {
    display: none;
  }
}

/* ********** loop-menu **************** */
.loop-menu__wrap {
  overflow: hidden;
}
.loop-menu__container {
  width: 100vw;
  height: auto;
  position: relative;
  z-index: -1;
}
.loop-menu__container::before,
.loop-menu__container::after {
  content: " ";
  position: absolute;
  left: 6.7%;
  right: 7.3%;
  height: 2px;
  background-color: #11b91e;
}
.loop-menu__container::before {
  top: 0;
}
.loop-menu__container::after {
  bottom: 0;
}
.loop-menu__list {
  width: calc(250% * 2); /* リストを2倍の幅に */
  display: flex;
  align-items: center;
  animation: loopScroll 30s linear infinite;
}
.loop-menu__list--item {
  padding: 0.4% 0;
  margin-right: 70px;
}
.loop-menu__list--img {
  width: 88%;
  object-fit: contain;
}

@keyframes loopScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* 半分移動 */
  }
}

@media (max-width: 767px) {
  .loop-menu__container {
    width: 120vw;
  }

  .loop-menu__container::before,
  .loop-menu__container::after {
    left: 7%;
    right: 26%;
    height: 1px;
  }
  .loop-menu__list {
    width: calc(400% * 2); /* リストを2倍の幅に */
  }
  .loop-menu__list--item {
    margin-right: 34px;
  }
}

/* *************** CONTACT-section **************** */
.home-contact {
  margin-left: 28%;
  color: #11b91e;
}
.home-contact__wrap {
  padding: 198px 20px 75px;
}
.home-contact__title {
  font-family: "altivo", sans-serif;
  font-weight: 400;
  font-size: clamp(2.188rem, 1.75rem + 2.19vw, 4.375rem);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.home-contact__subtitle {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 106px;
}
.home-contact__method {
  margin-left: 51px;
}
.home-contact__content {
  max-width: 357px;
  display: flex;
  align-items: center;
  padding: 9px 20px;
  margin-bottom: 80px;
}
.home-contact__mail-icon {
  stroke: #11b91e; /* 最初のSVG色(緑) */
}
.home-contact__text {
  font-size: clamp(0.75rem, 0.65rem + 0.5vw, 1.25rem);
  /* 1920vw:20px 320vw:12px */
  font-weight: bold;
  color: #11b91e; /* 初期のテキスト色 */
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin-left: 48px;
}
.home-contact__content .home-contact__mail-icon,
.home-contact__content .home-contact__text {
  transition: stroke 0.3s, color 0.3s;
}
.home-contact__arrow {
  margin-left: 26px;
}
.home-contact__small {
  font-size: 15px;
  font-weight: bold;
}

.home-contact__link:hover {
  background-color: #63f26e;
}
.home-contact__link:hover .home-contact__mail-icon {
  stroke: white; /* ホバー時にSVGの色を白に変える */
}

.home-contact__link:hover .home-contact__text {
  color: white; /* ホバー時にテキストの色を白に変える */
}
.home-contact__link:hover .home-contact__arrow {
  filter: brightness(0) invert(1); /* ホバー時にimgの色を白に変える */
  transform: rotate(90deg);
  transition: rotate 1s ease;
}

@media (max-width: 767px) {
  .home-contact {
    margin-left: 0;
  }
  .home-contact__wrap {
    padding: 105px 10% 61px;
  }
  .home-contact__title {
    margin-bottom: 7px;
  }
  .home-contact__subtitle {
    font-size: 18px;
    margin-bottom: 42px;
  }
  .home-contact__method {
    margin-left: 0;
  }
  .home-contact__content {
    width: 250px;
    margin-bottom: 48px;
  }
  .home-contact__mail-icon {
    width: 61px;
  }
  .home-contact__text {
    margin-left: 27px;
  }
  .home-contact__arrow {
    width: 20px;
    margin-left: 17px;
  }
  .top-contact-tel {
    width: 65px;
  }
  .home-contact__small {
    font-size: clamp(0.625rem, 0.402rem + 1.12vw, 0.938rem);
  }
}

/* *************** FOOTER **************** */
.footer {
  padding-right: 14%;
  margin-left: 28%;
}
.footer__wrap {
  max-width: 1260px;
  width: 100%;
  border-top: 1px solid #000;
  display: flex;
  justify-content: space-between;
  padding: 112px 0 76px;
  margin: 0 auto;
}
.footer__info {
  display: flex;
  gap: 50px;
}
.footer__name {
  font-size: 18px;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.footer__info--office {
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}
.footer__info--address {
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.3;
}
.footer__last {
  max-width: 1260px;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.01em;
  margin-bottom: 40px;
}
.footer__nav--list-item {
  margin-bottom: 14px;
}
/* トップに戻るボタンのスタイル */
.back-to-top {
  width: 102px;
  height: 102px;
  font-family: "calluna", serif;
  font-style: italic;
  font-size: 20px;
  position: fixed;
  right: 60px;
  bottom: 60px;
  border: 1px solid #11b91e;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #11b91e;
  transition: background-color 0.3s;
  padding-top: 31px;
  z-index: 99;
}

/* 矢印のスタイル */
.arrow {
  position: absolute;
  width: 15px;
  height: 1px;
  background-color: #11b91e;
}

.arrow1 {
  transform: rotate(-45deg) translate(10px, -27px);
}

.arrow2 {
  transform: rotate(45deg) translate(-20px, -17px);
}

.arrow3 {
  height: 25px;
  width: 1px;
  background-color: #11b91e;
  transform: translateY(-30px);
}
.back-to-top:hover {
  border: none;
  background-color: #63f26e;
  color: #fff;
}
.back-to-top:hover .arrow {
  background-color: #fff;
}
.back-to-top:hover .arrow3 {
  background-color: #fff;
}

@media (max-width: 767px) {
  .footer {
    padding-right: 10%;
    margin-left: 10%;
  }
  .footer__wrap {
    display: block;
    padding: 52px 0 43px;
  }
  .footer__info {
    display: block;
  }
  .footer__name {
    font-size: clamp(
      0.875rem,
      0.696rem + 0.89vw,
      1.125rem
    ); /* 768vw:18px 320vw:14px */
    margin-bottom: 17px;
  }
  .footer__info--office {
    font-size: clamp(
      0.75rem,
      0.616rem + 0.67vw,
      0.938rem
    ); /* 768vw:15px 320vw:12px */
    margin-bottom: 10px;
  }
  .footer__info--address {
    font-size: 14px;
  }
  .footer__info--left {
    margin-bottom: 19px;
  }
  .footer__info--right {
    margin-bottom: 37px;
  }
  .footer__sns {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
  }
  .footer__last {
    font-size: 12px;
    margin-bottom: 32px;
  }
  .footer__nav--list-item {
    margin-bottom: 10px;
  }

  /* トップに戻るボタン */
  .back-to-top {
    display: none;
  }
}

/* *************** ページのフェードアウト・フェードイン **************** */

.transition-fade {
  opacity: 0;
  transition: opacity 1s ease-in; /* フェードインに必要 */
}

.transition-fade.in {
  opacity: 1;
}

.fade-out {
  opacity: 0;
  transition: opacity 1s ease-out; /* フェードアウトに必要 */
}
