:root {
  --bg-main: #faf8f8;
  --bg-page: #faf8f8;
  --text-main: #23262e;
  --text-sub: #3f4653;
  --line: rgba(78, 80, 88, 0.25);
  --wrap-max: 1280px;
  --hero-left-pad: 13.671875%;
}

body {
  background: var(--bg-page);
  color: var(--text-main);
}

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

.universe-fitit__Lp {
  overflow: visible;
}

.footer::after {
  background-image: url("../../images/fitit/fitit3type-footer__Background.webp");
}

.footer::before {
  width: 100%;
}

.top-nav {
  --wave-scale: 1;
  --wave-width: calc(1280px * var(--wave-scale));
  --wave-front-height: calc(144.8px * var(--wave-scale));
  --wave-back-height: calc(223.4px * var(--wave-scale));
  --wave-overlap-y: 0px;
  --wave-layer-offset: calc(var(--wave-back-height) - var(--wave-front-height));
  position: relative;
  top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #434853;
  color: #fff;
  overflow: visible;
  z-index: 5;
  transition: box-shadow 0.24s ease;
}

body.is-nav-fixed .top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  z-index: 1200;
  box-shadow: 0 8px 22px rgba(32, 36, 44, 0.2);
  opacity: 0;
  transform: translateY(-10px);
  animation: lowerNavFadeIn 0.34s ease forwards;
}

body.is-nav-fixed .universe-fitit__Lp {
  padding-top: var(--lower-nav-height, 0px);
}

body.is-nav-fixed .top-nav::before,
body.is-nav-fixed .top-nav::after,
body.is-nav-fixed .top-nav__wave-flow {
  display: none;
}

.top-nav::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: var(--wave-width);
  height: var(--wave-front-height);
  background: url("../../images/fitit/fitit-top__wave.svg") center bottom / var(--wave-width) var(--wave-front-height) no-repeat;
  pointer-events: none;
  z-index: 2;
  transform: translateX(-50%) translateY(var(--wave-overlap-y));
}

.top-nav::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: var(--wave-width);
  height: var(--wave-back-height);
  background: url("../../images/fitit/fitit-top__waveBack.svg") center bottom / var(--wave-width) var(--wave-back-height) no-repeat;
  pointer-events: none;
  z-index: 1;
  transform: translateX(-50%) translateY(calc(var(--wave-overlap-y) + var(--wave-layer-offset)));
}

.top-nav__wave-flow {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: var(--wave-width);
  height: var(--wave-front-height);
  transform: translateX(-50%) translateY(var(--wave-overlap-y));
  pointer-events: none;
  z-index: 3;
  opacity: 1;
  overflow: hidden;
}

.top-nav__wave-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.top-nav__parallax > use {
  animation: topWaveFlow 1.2s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.top-nav__parallax > use:nth-child(1) {
  animation-delay: -0.18s;
  animation-duration: 0.9s;
}

.top-nav__parallax > use:nth-child(2) {
  animation-delay: -0.24s;
  animation-duration: 1.15s;
}

.top-nav__parallax > use:nth-child(3) {
  animation-delay: -0.31s;
  animation-duration: 1.45s;
}

.top-nav__parallax > use:nth-child(4) {
  animation-delay: -0.39s;
  animation-duration: 1.9s;
}

@keyframes topWaveFlow {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@keyframes lowerNavFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-nav ul {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 50px 20px;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.top-nav li + li::before {
  content: "|";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
}

.top-nav li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

    .content {
      width: min(100% - 176px, var(--content-max));
      margin: 0 auto;
      padding-top: 44px;
      background: #faf8f8;
    }

    .universal-hero-intoro {
      padding-top: 50px;
      padding-left: var(--hero-left-pad);
      display: grid;
      position: relative;
    }

    .universal-hero-intoro > img {
      grid-area: 1 / 1;
      justify-self: start;
      position: relative;
      z-index: 1;
    }

    .basic-hero-title {
      grid-area: 1 / 1;
      align-self: start;
      justify-self: start;
      margin: 0;
      font-size: 40.5px;
      font-weight: 400;
      line-height: 1;
      color: #434853;
      display: flex;
      align-items: baseline;
      gap: 0.24em;
      position: relative;
      z-index: 2;
    }

    @media (max-width: 768px) {
      .basic-hero-title {
        font-size: clamp(24px, calc(2.23vw + 16.86px), 34px);
        margin-top: -10px;
      }
    }

    .universal-hero-title__Fit {
      letter-spacing: 0.08em;
    }

    .hero-title__basic {
      letter-spacing: 0.48em;
      padding-left: 0.18em;
    }

    .basic-hero-main {
      position: relative;
      width: min(100vw, var(--wrap-max));
      margin-left: calc(50% - (min(100vw, var(--wrap-max)) / 2));
      padding-bottom: 36px;
      z-index: 1;
    }

    .basic-hero__Image {
      position: relative;
      z-index: 3;
      margin-top: -60px;
    }

.hero-image {
  position: relative;
  z-index: 1;
  margin: 0;
}

    .hero-image--1 {
      width: 95.9064327485%;
    }

    .hero-image--2 {
      width: 100%;
      margin-top: -10px;
    }

    .basic-story {
      --basic-story-section-width: min(100vw, var(--wrap-max));
      --basic-story-img-scale: 0.54;
      --basic-story-img-width: min(calc(var(--basic-story-section-width) * var(--basic-story-img-scale)), 590px);
      --basic-story-bg-top-ratio: 0.5211864407;
      --basic-story-overlap: 165px;
      position: relative;
      isolation: isolate;
      width: min(100vw, var(--wrap-max));
      margin-left: calc(50% - (min(100vw, var(--wrap-max)) / 2));
      padding-left: var(--hero-left-pad);
      margin-top: 30px;
      min-height: 620px;
    }

.basic-story::before {
  content: "";
  position: absolute;
  top: 120px;
  right: 0;
  bottom: 0;
  left: 0;
  background: #edebeb;
      z-index: 0;
    }

    .basic-story > img {
      width: var(--basic-story-img-width);
      margin: 0 0 0 auto;
      position: relative;
      z-index: 1;
    }

    .basic-story__Card {
      position: absolute;
      left: var(--hero-left-pad);
      top: 70px;
      width: min(700px, calc(100% - var(--basic-story-img-width) + var(--basic-story-overlap) - var(--hero-left-pad)));
      max-width: 700px;
      background: #ffffff;
      border: 1px solid rgba(75, 77, 86, 0.34);
      padding: 34px 34px 32px;
      z-index: 2;
      color: #242832;
    }

    .basic-story__Card h2 {
      margin: 0 0 8px;
      font-size: 17px;
      font-weight: 600;
      letter-spacing: 0.25em;
      line-height: 1.45;
    }

    .basic-story__Card p {
      margin: 0;
      font-size: 16px;
      line-height: 2;
      letter-spacing: 0.088em;
      font-weight: 400;
    }

    .basic-story__text--sp {
      display: none;
    }

    .spec {
      position: relative;
      margin-top: 86px;
      padding-top: 58px;
      padding-left: var(--hero-left-pad);
      padding-right: var(--hero-left-pad);
      background: #edebeb;
      box-shadow: 0 -86px 0 0 #edebeb;
    }

    .spec--full-bg {
      background: transparent;
      box-shadow: none;
      isolation: isolate;
    }

    .spec--full-bg::after {
      content: "";
      position: absolute;
      top: -86px;
      bottom: 0;
      left: 50%;
      width: 100vw;
      transform: translateX(-50%);
      background: #edebeb;
      z-index: -1;
    }

    .spec::before {
      content: "";
      position: absolute;
      top: 0;
      left: var(--hero-left-pad);
      right: var(--hero-left-pad);
      border-top: 1px solid var(--line);
    }

    .spec__row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 533px);
      align-items: stretch;
      gap: 0;
    }

    .spec__info {
      position: relative;
      padding: 8px 44px 0 0;
      color: #2f3440;
    }

    .spec__info::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 45px;
      width: 1px;
      height: min(100%, 350px);
      background: var(--line);
      transform: translateY(-50%);
    }

    .spec__brand {
      width: 160px;
      margin-bottom: 35px;
    }

    .spec__price {
      margin: 0;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.04em;
    }

    .spec__price-tax {
      font-size: 11px;
      font-weight: 400;
    }

    .spec__label {
      margin: 30px 0 8px;
      font-size: 11px;
      letter-spacing: 0.14em;
      font-weight: 600;
    }

    .spec__text {
      margin: 0;
      font-size: 13px;
      line-height: 1.9;
      letter-spacing: 0.03em;
    }

.spec__photo {
  margin: 0;
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

    .spec__photo img {
      width: 100%;
      max-width: 533px;
    }

    .amazon {
      margin: 52px auto 0;
      width: 292px;
      height: 46px;
      border: 1px solid rgba(76, 79, 88, 0.28);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 13px;
      letter-spacing: 0.08em;
      color: #242832;
      background: #ffffff;
    }

    .amazon img {
      width: 29px;
      height: auto;
    }

    .amazon-wrap {
      display: flex;
      justify-content: center;
      padding-bottom: 80px;
    }

    @media (max-width: 900px) {
      .top-nav ul {
        padding: 50px 16px;
        gap: 12px;
        letter-spacing: 0.14em;
      }

      .top-nav li + li::before {
        margin-right: 12px;
      }
    }

    @media (max-width: 899px) {
      .basic-story__text--pc {
        display: none;
      }

      .basic-story__text--sp {
        display: block;
      }
    }

    @media (max-width: 600px) {
      .top-nav ul {
        font-size: 13px;
        padding-inline: 12px;
      }
    }

    @media (min-width: 565px) {
      .top-nav ul {
        gap: 0;
      }

      .top-nav li {
        padding-left: 28px;
        padding-right: 28px;
      }
    }

    @media (min-width: 320px) and (max-width: 499px) {
      .top-nav {
        --wave-scale: 0.85;
        --wave-overlap-y: 0px;
      }

      .top-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        row-gap: 10px;
        column-gap: 0;
        padding: 50px 12px;
      }

      .top-nav ul::after {
        content: "";
        flex-basis: 100%;
        width: 0;
        order: 3;
      }

      .top-nav li:nth-child(1) {
        order: 1;
      }

      .top-nav li:nth-child(2) {
        order: 2;
      }

      .top-nav li:nth-child(3) {
        order: 4;
      }

      .top-nav li:nth-child(4) {
        order: 5;
      }

      .top-nav li {
        position: relative;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
      }

      .top-nav li + li::before {
        content: none;
      }

      .top-nav li:nth-child(1)::after,
      .top-nav li:nth-child(3)::after {
        content: "|";
        position: absolute;
        right: -1px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.9;
      }
    }

    @media (min-width: 320px) and (max-width: 340px) {
      .top-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        column-gap: 0;
        padding-inline: 8px;
        row-gap: 8px;
      }

      .top-nav ul::after {
        content: "";
        flex-basis: 100%;
        width: 0;
        order: 3;
      }

      .top-nav li {
        width: auto;
        max-width: none;
        padding-left: 8px;
        padding-right: 8px;
      }

      .top-nav li:nth-child(1),
      .top-nav li:nth-child(3) {
        padding-right: 8px;
      }

      .top-nav li:nth-child(2),
      .top-nav li:nth-child(4) {
        padding-left: 8px;
      }
    }

    @media (max-width: 1024px) {
      .content {
        width: min(100% - 56px, var(--content-max));
      }

      .fitit3-universal-hero-title {
        font-size: 34px;
      }

      .basic-story__Card h2 {
        font-size: 15px;
      }

      .basic-story__Card p {
        font-size: 14px;
      }

      .spec__row {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .spec__info {
        border-right: 0;
        padding: 8px 0 0;
        width: 100%;
        max-width: 530px;
        margin: 0 auto;
      }

      .spec__info::after {
        display: none;
      }

      .spec__photo {
        padding-left: 0;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
      }
    }

    @media (min-width: 768px) and (max-width: 1024px) {
      .basic-story__Card {
        padding: 34px 13px 32px;
      }
    }

    @media (max-width: 834px) {
      .basic-story {
        --basic-story-img-scale: 0.6;
        min-height: clamp(460px, 78vw, 620px);
      }

      .basic-story__Card {
        position: absolute;
        top: 70px;
        margin-top: 0;
      }

      .basic-story__Card h2 {
        font-size: 14px;
      }

      .basic-story__Card p {
        font-size: 13px;
      }

    }

    @media (max-width: 767px) {
      .basic-story {
        --basic-story-section-width: min(100vw, var(--wrap-max));
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        min-height: 0;
        padding-left: 0;
      }

      .basic-story > img {
        width: var(--basic-story-img-width);
        max-width: none;
        height: auto;
        margin: 0 auto;
      }

      .basic-story__Card {
        position: relative;
        left: auto;
        top: auto;
        z-index: 2;
        max-width: none;
        margin-inline: auto;
        margin-top: 16px;
        padding: 34px 4% 32px;
      }
    }

    @media (min-width: 486px) and (max-width: 767px) {
      .basic-story {
        --basic-story-img-scale: 0.75;
      }

      .basic-story__Card {
        width: 90%;
      }
    }

    @media (max-width: 485px) {
      .basic-story {
        --basic-story-img-scale: 0.85;
      }

      .active-story__Card,
      .classic-story__Card {
        width: 90%;
      }

      .basic-story__Card {
        width: 90%;
      }
    }
