@charset "UTF-8";

html {
  font-size: 62.5%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: "kinto-sans", sans-serif;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #202020;
  background-color: #FFFFFF;
  font-size: 1.5rem;
}

*:focus-visible {
  outline: 2px solid #6C83A4;
}

.sp {
  display: block;
}

.tab {
  display: none;
}

.pc_none {
  display: block;
}

@media screen and (min-width: 768px) {
  body {
    font-size: 1.6rem;
  }

  .sp {
    display: none;
  }

  .tab {
    display: block;
  }
}

@media screen and (min-width: 1080px) {
  .pc {
    display: block;
  }

  .pc_none {
    display: none;
  }
}


/* ----- header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 1rem 0;
  width: 100%;
  z-index: 10001;
  transition: background-color 0.3s ease-in;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  margin: 0 auto;
}

/* ロゴ */
.header__logo {
  display: flex;
  align-items: center;
  z-index: 10002;
  width: 4rem;
  position: relative;
}

.header__logo img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease-in;
}

.header__logo .logo-black {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

/* スクロール時のロゴ変更 */
.header.is-scrolled{
  background-color: color-mix(in srgb, #FFFFFF 30%, transparent);
}

.header.is-scrolled .header__logo .logo-white {
  opacity: 0;
}

.header.is-scrolled .header__logo .logo-black {
  opacity: 1;
}

.header__nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: 3rem;
}

.header__nav-link {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 500;
  transition: color 0.3s ease-in;
}

.header__nav-link:hover {
  color: #28B2CC;
}

/* スクロール時のヘッダーナビゲーションリンクの色変更 */
.header.is-scrolled .header__nav-link {
  color: #3798D3;
}

.header.is-scrolled .header__nav-link:hover {
  color: #6C83A4;
}

/* ハンバーガーメニュー（スマホ用） */
.header__hamburger {
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid #6C83A4;
  border-radius: 100vmax;
  cursor: pointer;
  z-index: 10000;
}

.header__hamburger-line {
  width: 2.4rem;
  height: 1px;
  background-color: #6C83A4;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* お問い合わせボタン */
.header__contact {
  z-index: 10002;
  font-family: "Noto Serif JP", serif;
}

.header__contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #28B2CC;
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 0.7rem;
  transition: background-color 0.3s ease;
  min-width: 12rem;
  gap: 0.3rem;
}

.header__contact-btn:hover {
  background-color: #00BCD4;
}

.header__contact-text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.header__contact-tel {
  font-family: "Tai Heritage Pro", serif;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
}

/* PC用スタイル */
@media (min-width: 768px) {
  .header {
    padding: 1.5rem 0;
  }

  .header__inner {
    padding: 0 3rem;
  }

  .header__logo {
    width: 8.3rem;
  }
  
  .header__nav {
    display: block;
  }
  
  .header__hamburger {
    display: none;
  }

  .header__nav-wrapper {
    gap: 3rem;
  }

  .header__contact-btn {
    padding: 1rem 2rem;
  }

  .header__contact-text {
    font-size: 1.3rem;
  }
  .header__contact-tel {
    font-size: 2rem;
  }

  /* PC表示時はモバイルメニューを非表示にする */
  .mobile-menu {
    display: none;
  }
}

/* ----- mobile menu ----- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #CBE6FF 0%, #EFFEFF 100%);
}

.mobile-menu__content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100lvh;
}

.mobile-menu__logo {
  width: 33%;
}

.mobile-menu__logo-text {
  font-size: 3.2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.1em;
  text-align: center;
}

.mobile-menu__nav {
  margin-top: 7rem;
  width: 100%;
  max-width: 30rem;
}

.mobile-menu__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.mobile-menu__nav-link {
  display: block;
  color: #6C83A4;
  text-decoration: none;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 500;
  text-align: center;
  transition: color 0.3s ease;
}

.mobile-menu__nav-link:hover {
  color: #28B2CC;
}

.mobile-menu__buttons {
  margin-top: 10rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 18.6rem;
}

.mobile-menu__contact-btn {
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #28B2CC;
  color: #FFFFFF;
  text-decoration: none;
  padding: 1rem 2.1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
  font-family: "Noto Serif JP", serif;
}

.mobile-menu__contact-btn:hover {
  background-color: #00BCD4;
}

.mobile-menu__contact-text {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.mobile-menu__contact-tel {
  font-family: "Tai Heritage Pro", serif;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-top: 0.3rem;
}

.mobile-menu__cartridge-btn {
  display: block;
  background-color: #6C83A4;
  color: #FFFFFF;
  text-decoration: none;
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.mobile-menu__cartridge-btn:hover {
  background-color: #5A6B6F;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(1) {
  transform: translateY(0.6rem) rotate(45deg);
}

.header__hamburger.is-active .header__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__hamburger.is-active .header__hamburger-line:nth-child(3) {
  transform: translateY(-0.6rem) rotate(-45deg);
}

.header__hamburger.is-active {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ボディのスクロール制御 */
.body-menu-open {
  overflow: hidden;
}

/* モバイルメニュー開閉時のヘッダー要素の表示制御 */
.body-menu-open .header__logo,
.body-menu-open .header__contact {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scene-changer {
  height: 100lvh;
}

/* scene-changer用のオーバーレイ */
.scene-changer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  pointer-events: none;
}

.scene-changer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ----- footer ----- */

/* ---------- module ---------- */

/* ---------- utility ---------- */

/* ---------- top ---------- */
.top_kv {
  height: 100dvh;
  background-image:
    linear-gradient(to top, color-mix(in srgb, #3798D3 0%, transparent 100%) 60%, color-mix(in srgb, #6E99B2 40%, transparent 60%) 100%),
    url(../img/kv_image.webp);
  background-size: cover;
  background-position: 75% 50%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
}

.top_kv_copy_wrapper {
  position: absolute;
  width: 100%;
  top: 11.6rem;
  left: 50%;
  translate: -50% 0;
}

.top_kv-copy {
  font-size: 2rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1;
  color: #FFFFFF;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.top_kv-logo {
  margin-top: 2rem;
  width: 11rem;
  margin-inline: auto;
}

.top_kv_images {
  position: absolute;
  bottom: 1.6rem;
  left: 1.6rem;
  width: 72%;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

@media screen and (min-width: 768px) {
  .top_kv {
    background-image:
      linear-gradient(to left, color-mix(in srgb, #3798D3 0%, transparent 100%) 40%, color-mix(in srgb, #6E99B2 50%, transparent 50%) 100%),
      url(../img/kv_image.webp);
  }

  .top_kv_copy_wrapper {
    width: 47rem;
    top: 50%;
    left: 30.8%;
    translate: -50% -50%;
  }

  .top_kv-copy {
    font-size: 3.2rem;
  }

  .top_kv-logo {
    margin-top: 5rem;
    width: 25rem;
  }

  .top_kv_images {
    left: 7.8rem;
    width: 39%;
    max-width: 680px;
  }
}

@media screen and (min-width: 1200px) {
  .top_kv {
    background-size: 105%;
    background-position: 50% 65%;
    background-repeat: no-repeat;
  }
}

.top_kv svg {
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: -1;
}

/* ---------- top_about ---------- */
.top_about {
  position: relative;
  z-index: 2;
}

.top_about_content-upper {
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #E8F4FC 19%,
    #DDF2FF 41%,
    #F9F9F9 75%,
    #CBE6FF 100%
  );
  background-size: 400% 400%;
  animation: gradientWave 20s ease-in-out infinite;
  height: 100lvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.top_about_copy {
  font-size: clamp(1.8rem, 51vw, 2.6rem);
  line-height: 2.3;
  letter-spacing: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  color: #C9C9C9;
}

.top_about_copy .char {
  color: #C9C9C9;
  transition: color 0.3s ease;
}

.top_about_water-image {
  width: 62%;
}

@media screen and (min-width: 768px) {
  .top_about_content-upper {
    flex-direction: row;
    gap: 5rem;
  }

  .top_about_water-image {
    width: 50%;
    max-width: 50rem;
  }

  .top_about_copy {
    font-size: clamp(2.4rem, 2.5vw, 3.8rem);
  }
}

@media screen and (min-width: 1080px) {
  .top_about_content-upper {
    flex-direction: row;
    gap: 10rem;
  }
}

.top_about_content-lower {
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #E8F4FC 19%,
    #DDF2FF 41%,
    #F9F9F9 75%,
    #CBE6FF 100%
  );
  background-size: 400% 400%;
  animation: gradientWave 20s ease-in-out infinite;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.top_about_content-lower_slide {
  display: flex;
  align-items: center;
  width: max-content; /* 中身幅にフィット */
  animation: marquee-left 30s linear infinite; /* 右→左へ */
  height: 18rem;
}

.top_about_content-lower_slide img {
  aspect-ratio: 467 / 350;
  display: inline-block;
  height: 100%;
  width: auto;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.top_about_content-lower_desc {
  margin-top: 3rem;
  padding: 0 2rem;
  font-weight: 500;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(0deg, #3C79CC 0%, #6DA4EE 25%, #28B2CC 50%, #6CCFE2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media screen and (min-width: 768px) {
  .top_about_content-lower_slide {
    animation-duration: 40s;
    height: 35rem;
  }
}


/* ---------- top_recommend ---------- */
.top_recommend {
  position: sticky;
  height: 100lvh;
  top: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #E8F4FC 19%,
    #DDF2FF 41%,
    #F9F9F9 75%,
    #CBE6FF 100%
  );
  background-size: 400% 400%;
  animation: gradientWave 20s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 4rem;
}

/* sticky解除時のスタイル */
.top_recommend.is-sticky-disabled {
  position: relative;
  top: auto;
}

.top_recommend::after {
  content: "";
  position: absolute;
  background-image: url(../img/micra_logo-text_white-vertical.svg);
  background-size: contain;
  background-repeat: no-repeat;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  width: 15.1%;
  aspect-ratio: 139 / 777;
}

.top_recommend_inner {
  width: 100%;
}

.top_recommend-head {
  text-align: center;
  font-size: 1.8rem;
  color: #6C83A4;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1;
  margin-top: 2.5rem;
}

.top_recommend-head-block {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  display: block;
  width: fit-content;
  margin-inline: auto;
  font-size: 1.2rem;
  padding: 0.5rem 4rem;
  background: linear-gradient(
    to left,
    #3C79CC 0%,
    #6DA4EE 22%,
    #28B2CC 63%,
    #6CCFE2 100%
  );
  border-radius: 100vmax;
  color: #FFFFFF;
}

.emphasize-dot {
  position: relative;
}

.emphasize-dot::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  translate: -50% 0;
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 100vmax;
  background-color: #6C83A4;
  opacity: 0;
  transform: translate(-50%, 0) scale(0);
}

/* アニメーション用のクラス */
.emphasize-dot.animate::before {
  animation: dotAppear 0.3s ease-out forwards;
}

/* 各ドットに異なる遅延を設定 */
.emphasize-dot.animate:nth-child(1)::before {
  animation-delay: 0s;
}

.emphasize-dot.animate:nth-child(2)::before {
  animation-delay: 0.2s;
}

.emphasize-dot.animate:nth-child(3)::before {
  animation-delay: 0.4s;
}

.emphasize-dot.animate:nth-child(4)::before {
  animation-delay: 0.6s;
}

@keyframes dotAppear {
  from {
    opacity: 0;
    transform: translate(-50%, 0) scale(0);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.top_recommend-content {
  width: 71%;
  max-width: 26rem;
  margin-top: 6rem;
  margin-inline: auto;
  position: relative;
}

.top_recommend-worries-item {
  width: 12rem;
  aspect-ratio: 1 / 1;
  border-radius: 100vmax;
  background-color: #FFFFFF;
  box-shadow: 0 0 1.2rem color-mix(in srgb, #6C83A4 50%, transparent);
  font-size: 1.1rem;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #6C83A4;
  position: absolute;
}

.top_recommend-worries-item:nth-child(1) {
  top: -10%;
  right: 70%;
  animation: float1 6s ease-in-out infinite;
}
.top_recommend-worries-item:nth-child(2) {
  left: 65%;
  top: -5%;
  animation: float2 8s ease-in-out infinite 1.5s;
}
.top_recommend-worries-item:nth-child(3) {
  bottom: -25%;
  right: 65%;
  animation: float3 7s ease-in-out infinite 3s;
}
.top_recommend-worries-item:nth-child(4) {
  bottom: -35%;
  left: 60%;
  animation: float4 9s ease-in-out infinite 0.5s;
}

@media screen and (min-width: 768px) {
  .top_recommend::after {
    width: 10%;
    max-width: 140px;
  }

  .top_recommend-head {
    margin-top: 3.5rem;
    font-size: 5rem;
  }
  .top_recommend-head-block {
    font-size: 1.6rem;
  }

  .top_recommend-content {
    margin-top: 9.5rem;
    max-width: 46.3rem;
  }
  .top_recommend-worries-item {
    width: clamp(11.5rem, 24.8vw, 19.1rem);
    font-size: 1.8rem;
  }

  .top_recommend-worries-item:nth-child(1) {
    top: -10%;
    right: 75%;
    animation: float1 6s ease-in-out infinite;
  }
  .top_recommend-worries-item:nth-child(2) {
    left: 74%;
    top: -5%;
    animation: float2 8s ease-in-out infinite 1.5s;
  }
  .top_recommend-worries-item:nth-child(3) {
    bottom: 0%;
    right: 80%;
    animation: float3 7s ease-in-out infinite 3s;
  }
  .top_recommend-worries-item:nth-child(4) {
    bottom: -10%;
    left: 68%;
    animation: float4 9s ease-in-out infinite 0.5s;
  }

  .emphasize-dot::before {
    width: 8px;
    height: 8px;
  }
}

/* ---------- top_reason ---------- */
.top_reason {
  position: relative;
  z-index: 4;
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #E8F4FC 19%,
    #DDF2FF 41%,
    #F9F9F9 75%,
    #CBE6FF 100%
  );
  background-size: 400% 400%;
  animation: gradientWave 20s ease-in-out infinite;
}

.top_reason svg {
  padding-top: 10rem;
  position: relative;
  translate: 0 1px;
}

.top_reason_cotent {
  background: linear-gradient(to left, #EBFBFD, #CCE3EF);
  padding: 8rem 0 12rem;
}

.top_reason_cotent-head {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  font-family: "Noto Serif JP", serif;
  position: relative;
  margin-top: -10rem;
}

.top_reason_cotent-head::after {
  content: "";
  position: absolute;
  bottom: 96%;
  left: calc(50% + 10rem);
  transform: -50% 0;
  width: 4.4rem;
  aspect-ratio: 85 / 84;
  background-image: url(../img/micra_reason-four.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.top_reason_cotent-head-text {
  line-height: 1;
  font-size: 1.8rem;
}

.top_reason_cotent-head-text_sm {
  font-size: 1.3rem;
}

.top_reason_cotent-head img {
  width: 13rem;
}

.top_reason_item-num {
  font-size: 1.6rem;
  background: linear-gradient(0deg, #3C79CC 0%, #6DA4EE 25%, #28B2CC 50%, #6CCFE2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* スクロールコンテナ */
.top_reason_scroll-container {
  position: relative;
  margin-top: 5rem;
  padding-bottom: 3rem;
}

.top_reason_list {
  overflow-x: auto;
  display: flex;
  gap: 3rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 4.8rem;
  padding-inline: 6rem;
}

@media screen and (min-width: 1820px) {
  .top_reason_list {
    justify-content: center;
  }
}

/* Webkit系ブラウザでスクロールバーを完全に非表示 */
.top_reason_list::-webkit-scrollbar {
  display: none;
}

/* カスタムスクロールバー */
.custom-scrollbar {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 152px;
  height: 2px;
  z-index: 10;
}

.custom-scrollbar-track {
  width: 100%;
  height: 100%;
  background: #CFCFCF;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.custom-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #3C79CC 0%, #28B2CC 50%, #6DA4EE 100%);
  border-radius: 1px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.custom-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #3C79CC 0%, #28B2CC 50%, #6DA4EE 100%);
  box-shadow: 0 0 8px rgba(60, 121, 204, 0.3);
}

.top_reason_item {
  padding: 3rem 2rem;
  background-color: #FFFFFF;
  border-radius: 1rem;
  width: 27rem;
  position: relative;
  flex-shrink: 0;
}

.top_reason_item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

.top_reason_item:nth-child(1)::before {
  width: 10rem;
  aspect-ratio: 100 / 95;
  background-image: url(../img/micra_reason-icon.svg);
  translate: -2rem -3rem;
}
.top_reason_item:nth-child(2)::before {
  width: 8.9rem;
  aspect-ratio: 89 / 110;
  background-image: url(../img/micra_reason-icon02.svg);
  translate: -1.8rem -4.4rem;
}
.top_reason_item:nth-child(3)::before {
  width: 6.8rem;
  aspect-ratio: 68 / 115;
  background-image: url(../img/micra_reason-icon03.svg);
  translate: -2.7rem -4.4rem;
}
.top_reason_item:nth-child(4)::before {
  width: 6.8rem;
  aspect-ratio: 68 / 120;
  background-image: url(../img/micra_reason-icon04.svg);
  translate: -2.8rem -4.3rem;
}

.top_reason_item-num {
  font-size: 2.4rem;
  font-family: "Tai Heritage Pro", serif;
  line-height: 1;
}

.top_reason_item-num_lg {
  font-size: 2.8rem;
  margin-left: -0.4rem;
}

.top_reason_head {
  margin-top: 1.6rem;
  font-family: "Noto Serif JP", serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.2;
}

.top_reason_desc {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.top_reason_desc-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top_reason_mark {
  margin-top: 3rem;
  padding: 0 4rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
}

.top_reason_mark_image {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 3.2rem;
  flex-shrink: 0;
}

.top_reason_mark-desc {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
  flex-shrink: 1;
  max-width: 68.8rem;
}


@media screen and (min-width: 768px) {
  .top_reason svg {
    padding-top: 16rem;
  }

  .top_reason_cotent-head img {
    width: 20rem;
  }
  .top_reason_cotent-head-text {
    font-size: 3.5rem;
  }

  .top_reason_cotent-head-text_sm {
    font-size: 2.5rem;
  }

  .top_reason_cotent-head {
    top: -6rem;
  }

  .top_reason_cotent-head::after {
    left: calc(50% + 16rem);
    bottom: 100%;
    width: 8.4rem;
  }

  .top_reason_list {
    gap: 5rem;
  }

  .top_reason_item {
    width: 40rem;
  }

  .top_reason_desc {
    font-size: 1.6rem;
  }

  .custom-scrollbar {
    width: 42rem;
    height: 3px;
  }
  
  .top_reason_mark {
    margin-top: 5rem;

  }

  .top_reason_mark_image {
    flex-direction: row;
    gap: 1rem;
    width: 13rem;
  }

  .top_reason_mark_image img{
    width: calc(50% - 0.5rem);
  }

  .top_reason_mark-desc {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1080px) {
  .top_reason svg {
    padding-top: 10rem;
  }
  .top_reason_cotent-head img {
    width: 37.4rem;
  }
  .top_reason_cotent-head-text {
    font-size: 5rem;
  }
  
  .top_reason_cotent-head-text_sm {
    font-size: 4rem;
  }

  .top_reason_cotent-head {
    top: -7rem;
  }

  .top_reason_cotent-head::after {
    left: calc(50% + 28rem);
    bottom: 85%;
    width: 8.4rem;
  }
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  z-index: 3;
  padding: 0 2rem;
  background-color: #fff;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to left, #EBFBFD, #CCE3EF);
  z-index: -1;
}

.contact_inner {
  padding: 4rem 2.4rem;
  background-image: 
  linear-gradient(color-mix(in srgb, #2F7694 60%, transparent), color-mix(in srgb, #2F7694 60%, transparent)),
  url(../img/cta_bg.webp);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-radius: 6px;
}

.contact_hgroup {
  text-align: center;
}

.contact_title {
  font-family: "Tai Heritage Pro", serif;
  font-size: 2.8rem;
  color: #FFFFFF;
  line-height: 1;
}

.contact_subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  color: #FFFFFF;
}

.contact_info {
  display: block;
  margin-top: 1.4rem;
  background-color: #FFFFFF;
  padding: 1.5rem 0.8rem;
  text-align: center;
  box-shadow: 0 0 1rem color-mix(in srgb, #0C3E5B 30%, transparent);
  transition: box-shadow 0.1s ease-in;
}

.contact_info:focus-visible {
  box-shadow: 0 0 3rem color-mix(in srgb, #0C3E5B 50%, transparent);
}

@media (any-hover: hover) {
  .contact_info:hover {
    box-shadow: 0 0 3rem color-mix(in srgb, #0C3E5B 50%, transparent);
  }
}


.contact_tel {
  font-family: "Tai Heritage Pro", serif;
  font-size: 2.8rem;
  color: #6C83A4;
}

.contact_tel_sm {
  font-size: 1.6rem;
}

.contact_desc {
  font-size: 1.2rem;
  margin-top: 0.7rem;
  color: #6C83A4;
  font-weight: 500;
}


@media screen and (min-width: 768px) {
  .contact {
    padding: 0 4rem;
  }
  .contact_inner {
    max-width: 134rem;
    margin-inline: auto;
    padding: 8.5rem 4rem;
  }
  .contact_title {
    font-size: 10rem;
  }
  .contact_subtitle {
    font-size: 2.4rem;
  }
  .contact_info {
    margin-top: 5rem;
    padding: 5.2rem 1.6rem;
    max-width: 94rem;
    margin-inline: auto;
  }
  .contact_tel {
    font-size: 6rem;
  }
  .contact_tel_sm {
    font-size: 4rem;
    margin-right: 1rem;
  }
  .contact_desc {
    font-size: 1.6rem;
  }
}

/* ---------- footer ---------- */
.footer {
  background-color: #FFFFFF;
  padding: 5rem 2rem;
}

.footer_logo {
  width: 6rem;
  margin-inline: auto;
}

.footer_nav-list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
}

.gooter_nav-link {
  color: #6C83A4;
}

.footer_copyright {
  margin-top: 5rem;
  font-size: 1rem;
  color: #6C83A4;
  text-align: center;
  font-family: "Tai Heritage Pro", serif;
}

@media screen and (min-width: 768px) {
  .footer {
    background-color: #FFFFFF;
    padding: 12rem 8rem;
  }

  .footer_logo {
    width: 12.4rem;
  }

  .footer_nav-list {
    flex-direction: row;
    gap: 5rem;
  }

  .footer_copyright {
    margin-top: 10rem;
  }
}

/* ---------- SVG Animation ---------- */
@keyframes gradientFlow {
  0% {
    stop-color: #CAE5FF;
    stop-opacity: 1;
  }
  20% {
    stop-color: #D4EAFE;
    stop-opacity: 0.9;
  }
  40% {
    stop-color: #E8F4FF;
    stop-opacity: 0.8;
  }
  60% {
    stop-color: #F0F8FF;
    stop-opacity: 0.85;
  }
  80% {
    stop-color: #D4EAFE;
    stop-opacity: 0.95;
  }
  100% {
    stop-color: #CAE5FF;
    stop-opacity: 1;
  }
}

@keyframes gradientFlow2 {
  0% {
    stop-color: #D4EAFE;
    stop-opacity: 0.8;
  }
  20% {
    stop-color: #E8F4FF;
    stop-opacity: 0.5;
  }
  40% {
    stop-color: #F0F8FF;
    stop-opacity: 0.85;
  }
  60% {
    stop-color: #D4EAFE;
    stop-opacity: 0.95;
  }
  80% {
    stop-color: #CAE5FF;
    stop-opacity: 1;
  }
  100% {
    stop-color: #D4EAFE;
    stop-opacity: 0.8;
  }
}

/* グラデーションの水の流れアニメーション */
@keyframes gradientWave {
  0% {
    background-position: 0% 30%;
  }
  8% {
    background-position: 15% 45%;
  }
  16% {
    background-position: 35% 25%;
  }
  24% {
    background-position: 55% 60%;
  }
  32% {
    background-position: 75% 40%;
  }
  40% {
    background-position: 90% 20%;
  }
  48% {
    background-position: 100% 70%;
  }
  56% {
    background-position: 85% 50%;
  }
  64% {
    background-position: 65% 35%;
  }
  72% {
    background-position: 45% 55%;
  }
  80% {
    background-position: 25% 15%;
  }
  88% {
    background-position: 10% 65%;
  }
  96% {
    background-position: 5% 40%;
  }
  100% {
    background-position: 0% 30%;
  }
}

/* 波のアニメーション */
@keyframes waveAnimation {
  0% {
    d: path("M1440 206.579L1440 472H0L0 86.4095C138.14 18.9595 349.41 -22.1905 695.7 89.2795C714.91 95.4595 961.461 190.08 1218.28 211.96C1320.48 220.67 1381.9 217.55 1440 206.57V206.579Z");
  }
  8.33% {
    d: path("M1440 210.579L1440 472H0L0 90.4095C138.14 22.9595 349.41 -18.1905 695.7 93.2795C714.91 99.4595 961.461 194.08 1218.28 215.96C1320.48 224.67 1381.9 221.55 1440 210.57V210.579Z");
  }
  16.66% {
    d: path("M1440 208.579L1440 472H0L0 88.4095C138.14 20.9595 349.41 -20.1905 695.7 91.2795C714.91 97.4595 961.461 192.08 1218.28 213.96C1320.48 222.67 1381.9 219.55 1440 208.57V208.579Z");
  }
  25% {
    d: path("M1440 214.579L1440 472H0L0 94.4095C138.14 26.9595 349.41 -14.1905 695.7 97.2795C714.91 103.4595 961.461 198.08 1218.28 219.96C1320.48 228.67 1381.9 225.55 1440 214.57V214.579Z");
  }
  33.33% {
    d: path("M1440 212.579L1440 472H0L0 92.4095C138.14 24.9595 349.41 -16.1905 695.7 95.2795C714.91 101.4595 961.461 196.08 1218.28 217.96C1320.48 226.67 1381.9 223.55 1440 212.57V212.579Z");
  }
  41.66% {
    d: path("M1440 208.579L1440 472H0L0 88.4095C138.14 20.9595 349.41 -20.1905 695.7 91.2795C714.91 97.4595 961.461 192.08 1218.28 213.96C1320.48 222.67 1381.9 219.55 1440 208.57V208.579Z");
  }
  50% {
    d: path("M1440 206.579L1440 472H0L0 86.4095C138.14 18.9595 349.41 -22.1905 695.7 89.2795C714.91 95.4595 961.461 190.08 1218.28 211.96C1320.48 220.67 1381.9 217.55 1440 206.57V206.579Z");
  }
  58.33% {
    d: path("M1440 204.579L1440 472H0L0 84.4095C138.14 16.9595 349.41 -24.1905 695.7 87.2795C714.91 93.4595 961.461 188.08 1218.28 209.96C1320.48 218.67 1381.9 215.55 1440 204.57V204.579Z");
  }
  66.66% {
    d: path("M1440 202.579L1440 472H0L0 82.4095C138.14 14.9595 349.41 -26.1905 695.7 85.2795C714.91 91.4595 961.461 186.08 1218.28 207.96C1320.48 216.67 1381.9 213.55 1440 202.57V202.579Z");
  }
  75% {
    d: path("M1440 198.579L1440 472H0L0 78.4095C138.14 10.9595 349.41 -30.1905 695.7 81.2795C714.91 87.4595 961.461 182.08 1218.28 203.96C1320.48 212.67 1381.9 209.55 1440 198.57V198.579Z");
  }
  83.33% {
    d: path("M1440 200.579L1440 472H0L0 80.4095C138.14 12.9595 349.41 -28.1905 695.7 83.2795C714.91 89.4595 961.461 184.08 1218.28 205.96C1320.48 214.67 1381.9 211.55 1440 200.57V200.579Z");
  }
  91.66% {
    d: path("M1440 202.579L1440 472H0L0 82.4095C138.14 14.9595 349.41 -26.1905 695.7 85.2795C714.91 91.4595 961.461 186.08 1218.28 207.96C1320.48 216.67 1381.9 213.55 1440 202.57V202.579Z");
  }
  100% {
    d: path("M1440 206.579L1440 472H0L0 86.4095C138.14 18.9595 349.41 -22.1905 695.7 89.2795C714.91 95.4595 961.461 190.08 1218.28 211.96C1320.48 220.67 1381.9 217.55 1440 206.57V206.579Z");
  }
}

@keyframes waveAnimationTab {
  0% {
    d: path("M1440 146.048V177H0.000531196L0 64.8644C138.14 19.297073 349.41 -8.5027 695.699 66.8033C714.909 70.9784 961.46 134.901 1218.28 149.683C1320.48 155.567 1381.9 153.459 1440 146.041V146.048Z");
  }
  8.33% {
    d: path("M1440 148.048V177H0.000531196L0 66.8644C138.14 21.297073 349.41 -6.5027 695.699 68.8033C714.909 72.9784 961.46 136.901 1218.28 151.683C1320.48 157.567 1381.9 155.459 1440 148.041V148.048Z");
  }
  16.66% {
    d: path("M1440 150.048V177H0.000531196L0 68.8644C138.14 23.297073 349.41 -4.5027 695.699 70.8033C714.909 74.9784 961.46 138.901 1218.28 153.683C1320.48 159.567 1381.9 157.459 1440 150.041V150.048Z");
  }
  25% {
    d: path("M1440 152.048V177H0.000531196L0 70.8644C138.14 25.297073 349.41 -2.5027 695.699 72.8033C714.909 76.9784 961.46 140.901 1218.28 155.683C1320.48 161.567 1381.9 159.459 1440 152.041V152.048Z");
  }
  33.33% {
    d: path("M1440 150.048V177H0.000531196L0 68.8644C138.14 23.297073 349.41 -4.5027 695.699 70.8033C714.909 74.9784 961.46 138.901 1218.28 153.683C1320.48 159.567 1381.9 157.459 1440 150.041V150.048Z");
  }
  41.66% {
    d: path("M1440 148.048V177H0.000531196L0 66.8644C138.14 21.297073 349.41 -6.5027 695.699 68.8033C714.909 72.9784 961.46 136.901 1218.28 151.683C1320.48 157.567 1381.9 155.459 1440 148.041V148.048Z");
  }
  50% {
    d: path("M1440 146.048V177H0.000531196L0 64.8644C138.14 19.297073 349.41 -8.5027 695.699 66.8033C714.909 70.9784 961.46 134.901 1218.28 149.683C1320.48 155.567 1381.9 153.459 1440 146.041V146.048Z");
  }
  58.33% {
    d: path("M1440 144.048V177H0.000531196L0 62.8644C138.14 17.297073 349.41 -10.5027 695.699 64.8033C714.909 68.9784 961.46 132.901 1218.28 147.683C1320.48 153.567 1381.9 151.459 1440 144.041V144.048Z");
  }
  66.66% {
    d: path("M1440 142.048V177H0.000531196L0 60.8644C138.14 15.297073 349.41 -12.5027 695.699 62.8033C714.909 66.9784 961.46 130.901 1218.28 145.683C1320.48 151.567 1381.9 149.459 1440 142.041V142.048Z");
  }
  75% {
    d: path("M1440 138.048V177H0.000531196L0 56.8644C138.14 11.297073 349.41 -16.5027 695.699 58.8033C714.909 62.9784 961.46 126.901 1218.28 141.683C1320.48 147.567 1381.9 145.459 1440 138.041V138.048Z");
  }
  83.33% {
    d: path("M1440 140.048V177H0.000531196L0 58.8644C138.14 13.297073 349.41 -14.5027 695.699 60.8033C714.909 64.9784 961.46 128.901 1218.28 143.683C1320.48 149.567 1381.9 147.459 1440 140.041V140.048Z");
  }
  91.66% {
    d: path("M1440 142.048V177H0.000531196L0 60.8644C138.14 15.297073 349.41 -12.5027 695.699 62.8033C714.909 66.9784 961.46 130.901 1218.28 145.683C1320.48 151.567 1381.9 149.459 1440 142.041V142.048Z");
  }
  100% {
    d: path("M1440 146.048V177H0.000531196L0 64.8644C138.14 19.297073 349.41 -8.5027 695.699 66.8033C714.909 70.9784 961.46 134.901 1218.28 149.683C1320.48 155.567 1381.9 153.459 1440 146.041V146.048Z");
  }
}

/* SVGグラデーションアニメーション */
.top_kv svg stop:first-child {
  animation: gradientFlow 12s ease-in-out infinite;
}

.top_kv svg stop:nth-child(2) {
  animation: gradientFlow2 12s ease-in-out infinite 3s;
}

/* 波のアニメーション適用 - ブラウザ互換性を考慮してtransformベースに変更 */
.top_kv svg.sp {
  animation: waveFloat 8s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}

.top_kv svg.tab {
  animation: waveFloatTab 12s ease-in-out infinite 2s;
  will-change: transform;
  transform: translateZ(0);
}

/* 新しい波のアニメーション（transformベース - ブラウザ互換性向上） */
@keyframes waveFloat {
  0%, 100% {
    transform: translateY(0px) scaleX(1);
  }
  25% {
    transform: translateY(2px) scaleX(1.02);
  }
  50% {
    transform: translateY(0px) scaleX(1);
  }
  75% {
    transform: translateY(1px) scaleX(1.01);
  }
}

@keyframes waveFloatTab {
  0%, 100% {
    transform: translateY(0px) scaleX(1);
  }
  25% {
    transform: translateY(4px) scaleX(1.03);
  }
  50% {
    transform: translateY(0px) scaleX(1);
  }
  75% {
    transform: translateY(2px) scaleX(1.015);
  }
}

/* ユーザーがモーションを減らす設定の場合、アニメーションを無効化 */
@media (prefers-reduced-motion: reduce) {
  .top_kv svg.sp,
  .top_kv svg.tab {
    animation: none;
  }
}

/* パフォーマンス最適化 */
.top_kv svg {
  will-change: transform;
  transform: translateZ(0);
}



/* ---------- floating animation ---------- */
@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(4px, -6px) rotate(1deg);
  }
  50% {
    transform: translate(-2px, -4px) rotate(-0.5deg);
  }
  75% {
    transform: translate(8px, -3px) rotate(0.8deg);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  30% {
    transform: translate(-5px, -6px) rotate(-1.2deg);
  }
  60% {
    transform: translate(3px, -6px) rotate(0.7deg);
  }
  90% {
    transform: translate(-4px, -3px) rotate(-0.3deg);
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(3px, -5px) rotate(0.6deg);
  }
  40% {
    transform: translate(-6px, -6px) rotate(-0.9deg);
  }
  70% {
    transform: translate(4px, -3px) rotate(0.4deg);
  }
  85% {
    transform: translate(-3px, -2px) rotate(-0.2deg);
  }
}

@keyframes float4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  15% {
    transform: translate(-4px, -6px) rotate(-0.8deg);
  }
  35% {
    transform: translate(6px, -3px) rotate(1.1deg);
  }
  55% {
    transform: translate(-3px, -6px) rotate(-0.5deg);
  }
  80% {
    transform: translate(2px, -4px) rotate(0.3deg);
  }
}

/* ---------- js ---------- */