html {
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "NotoSansJP", "Inter", sans-serif;
}
.main {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.main img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
}
/* アニメーション共通設定 */
.animate-on-scroll {
  opacity: 0;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes fadeInRightToCenter {
  0% {
    opacity: 0;
    transform: translate(-48%, 0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.04);
  }
}
@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* FV */
.sec-FV {
  position: relative;
  max-width: 480px;
  width: 100%;
}
.FV-text {
  position: absolute;
  top: 7%;
  left: 50%;
  opacity: 0;
}
.FV-text.is-visible {
  animation: fadeUp 1s ease-out 0.3s forwards;
}
.FV-3point {
  position: absolute;
  bottom: 20%;
  left: 50%;
  opacity: 0;
}
.FV-3point.is-visible {
  animation: fadeInRightToCenter 1s ease-out 0.7s forwards;
}

.FV-btn {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 90%;
  animation: pulse 2s ease-in-out infinite;
}
.FV-btn:hover {
  filter: brightness(1.15);
  transition: filter 0.3s ease;
}

/* sec-02 */
.sec-02 {
  position: relative;
  width: 100%;
}
.sec-02-10000users {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 2%;
  opacity: 0;
}
.sec-02-10000users.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.gold-studio {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 11%;
  opacity: 0;
}
.gold-studio.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.box-1 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 21%;
  opacity: 0;
}
.box-1.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.box-2 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 39%;
  opacity: 0;
}
.box-2.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec--2-feedin-righttocenter {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  bottom: 10%;
  opacity: 0;
}
.sec--2-feedin-righttocenter.is-visible {
  animation: fadeInRightToCenter 1s ease-out 0.5s forwards;
}
/* sec-03 */
.sec-03 {
  position: relative;
  width: 100%;
}
.sec03-text {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 12%;
  opacity: 0;
}
.sec03-text.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
/* sec-CTA */
.cta-btn {
  position: absolute;
  bottom: 7%;
  left: 50%;
  width: 90%;
  animation: pulse 2s ease-in-out infinite;
}
.cta-btn:hover {
  filter: brightness(1.15);
  transition: filter 0.3s ease;
}
/* sec04*/
.sec-04 {
  position: relative;
  width: 100%;
}
.sec-04-text {
  position: absolute;
  transform: translateX(-50%);
  top: 8%;
  left: 50%;
  opacity: 0;
}
.sec-04-text.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-04-text-2 {
  position: absolute;
  transform: translateX(-50%);
  bottom: 8%;
  left: 50%;
  opacity: 0;
}
.sec-04-text-2.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
/* sec05*/
.sec-05 {
  position: relative;
  width: 100%;
}
.sec-05-text {
  position: absolute;
  transform: translateX(-50%);
  top: 6%;
  left: 50%;
  opacity: 0;
}
.sec-05-text.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
/* sec06*/
.sec-06 {
  position: relative;
  width: 100%;
}
.sec-06-text {
  position: absolute;
  transform: translateX(-50%);
  top: 2%;
  left: 50%;
  opacity: 0;
}
.sec-06-text.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-06-text-2 {
  position: absolute;
  transform: translateX(-50%);
  top: 56%;
  left: 50%;
  opacity: 0;
}
.sec-06-text-2.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-06-text-3 {
  position: absolute;
  transform: translateX(-50%);
  top: 87%;
  left: 50%;
  opacity: 0;
}
.sec-06-text-3.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec06-flow-wrapper {
  width: 100%;
  position: absolute;
  top: 33%;
  text-align: center;
}
.sec06-flow {
  background-color: #394d65;
  padding: 16px;
  width: calc(100%-60px);
  margin: 8px 30px;
  color: #fff;
  font-size: 24px;
  text-align: center;
  border-radius: 50px;
}
.sec06-flow.is-visible {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 0.8s ease-out forwards;
}
.flow-arrow {
  font-size: 24px;
}
.flow-arrow.is-visible {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 0.8s ease-out forwards;
}
/* sec07 */
.sec-07 {
  position: relative;
}
.sec-07-text {
  position: absolute;
  top: 59%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  opacity: 0;
  text-align: center;
}
.sec-07-text.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-07-img-wrapper {
  padding: 0 30px;
  box-sizing: border-box;
}
.sec-07-img {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px); /* ← 両端30pxずつ引く */
  height: auto;
  opacity: 0;
}
.sec-07-img.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
/* sec08 */
.sec-08 {
  background-color: #394d65;
  padding-bottom: 60px;
  text-align: left;
}
.trainer {
  font-size: 26px;
  background-color: #d7dbe0;
  clip-path: polygon(0 0, 96% 0, 100% 100%, 0% 100%);
  max-width: 70%;
  color: #394d65;
  padding: 8px 20px 8px 20px;
  margin-bottom: 8px;
  letter-spacing: 0.1rem;
}
.sec-08 h3 {
  margin: 0 0 50px 0;
}
.sec-08-text {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}
.sec-08-text.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-08-img-wrapper {
  margin: 0 30px 0 30px;
}
.sec-08-img {
  position: relative;
  opacity: 0;
  text-align: left;
  left: 50%;
  width: 100%;
}
.sec-08-img.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-08 p {
  font-size: 18px;
  color: #fff;
  padding: 0 30px;
  text-align: left;
  line-height: 2rem;
}
.sec-08 img {
  margin: 0 auto 50px auto;
}
.middle-text {
  font-size: 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}
.large-text {
  font-size: 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}
.sec-08 span {
  background-color: #eedfae;
  color: #394d65;
  padding: 2px;
  font-weight: 600;
}
.point-title {
  font-size: 26px;
  letter-spacing: 0.1rem;
  text-align: center;
  color: #fff;
  font-weight: 400;
  padding: 0 20px;
  margin: 0 0 50px 0;
}
.point-number {
  font-size: 60px;
  text-align: center;
  color: #9ca6b2;
  font-family: YuMincho;
  letter-spacing: 0.2rem;
  font-weight: 300;
}
/* sec09 */
.sec-09 {
  background-color: #c4cad1;
  padding: 60px 0;
}
.sec-09 h2 {
  margin: 0 0 50px 0;
  font-family: YuMincho;
  font-weight: 500;
  font-size: 32px;
  text-align: center;
  color: #333;
  letter-spacing: 0.12rem;
}
.carousel-wrapper {
  max-width: 480px;
  margin: 0 auto;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0 30px;
  box-sizing: border-box;
}

.carousel-track {
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-padding: 30px;
  gap: 20px;
  padding: 0;
}

.carousel-track::before,
.carousel-track::after {
  content: none;
  flex: 0 0 30px;
}
.carousel-track .carousel-item.dummy {
  flex: 0 0 10px !important;
  width: 30px !important;
  max-width: 30px !important;
  margin-right: 0 !important; /* ← ここを必要に応じて調整 */
  margin-left: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  pointer-events: none;
}
.carousel-item {
  background-color: #fff;
  border: 1px solid #394d65;
  transform: translateZ(0);
  border-radius: 5px;
  flex: 0 0 calc(100% - 30px);
  scroll-snap-align: start;
  box-sizing: border-box;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/*sec-10*/

.p-flow {
  position: relative;
  padding-top: 40px;
  padding-bottom: 50px;
}

.p-flow::after {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./../img/flow-bg.webp") no-repeat center center/cover;
  content: "";
}

.p-flow__title {
  aspect-ratio: 433/140;
  width: 216px;
  height: auto;
  margin-inline: auto;
}

.p-flow__title img {
  width: 100%;
  height: auto;
}

.p-flow__contents {
  margin-top: 48px;
}

.p-flow__item:not(:first-child) {
  margin-top: clamp(20px, 7.645vw, 49.6925px);
}

/*===================================
.p-flow-item
====================================*/

.p-flow-item {
  display: flex;
  justify-content: space-between;
}

.p-flow-item__left {
  position: relative;
  width: 20.8585981082%;
}

.p-flow-item__right {
  width: 73.571024335%;
}

.p-flow-item__step {
  display: block;
  position: relative;
  aspect-ratio: 129/52;
  width: 100%;
  height: auto;
  background: #a99072;
  box-shadow: 1px 2px 2px 0px rgba(0, 0, 0, 0.25);
}

.p-flow-item__step img {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 69.7674418605%;
  height: auto;
  translate: -50% -50%;
}

.p-flow-item__bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 87%;
  margin-top: 62.7906976744%;
  background: #333;
}

.p-flow-item__title {
  font-weight: 500;
  font-size: 24px;
  margin: 8px auto;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
}

.p-flow-item__title.--lh {
  margin-top: -2px;
  line-height: 1.27;
}

.p-flow-item__btn {
  margin-top: clamp(12px, 4.8vw, 31.2px);
}

.p-flow-item__img {
  width: 100%;
  height: auto;
  margin-top: clamp(10px, 5.3333vw, 34.666px);
}

.p-flow-item__img img {
  width: 100%;
  height: auto;
}

.p-flow-item__text {
  margin-top: clamp(12px, 4.8vw, 31.2px);
  font-size: 20px;
  line-height: 1.5333;
}

/*===================================
.p-flow-item-btn
====================================*/

.p-flow-item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80.4395604396%;
  -moz-column-gap: 5%;
  column-gap: 5%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 2.5px;
  background: linear-gradient(1deg, #fc8a00 1.4%, #ffaa42 98.96%);
  transition: opacity 0.3s ease 0s;
}

.p-flow-item-btn:hover {
  opacity: 0.7;
}

.p-flow-item-btn__text {
  color: #fff;
  font-size: 20px;
  margin: 12px;
  font-family: "Zen Old Mincho", serif;
}

.p-flow-item-btn__img {
  width: 10.1092896175%;
  height: auto;
}

.p-flow-item-btn__img img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

@keyframes fadeUpY {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
