@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll; /* スクロールバーを常に確保 */
  overflow-x: hidden; /* 横スクロールを無効化 */
  width: 100%;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: url(img/bg.gif) repeat;
  color: #3b3b3b;
  overflow-x: hidden;
  width: 100%;
  line-height: 2rem;
}

a {
  color: #eb50b0;
}

a:hover {
  color: #c22b89;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.header {
  text-align: center;
  padding: 20px 0;
  display: none;
}

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #00d4ff;
  letter-spacing: 2px;
}

/* メインビジュアル */
.hero {
  text-align: center;
  /* padding: 40px 0; */
  position: relative;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 背景動画 */
.hero-bg-video {
  aspect-ratio: 16 / 9;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: brightness(40%); */
  z-index: 0;
  pointer-events: none;
}

/* 他のコンテンツを前面に */
.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
}

.hero-text-left {
  flex: 1;
  text-align: right;
  padding-right: 40px;
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInLeft 1.5s ease-out 0.5s forwards;
  position: absolute;
  left: -370px;
  z-index: 1;
  transform: translateX(20%);
}

.hero-text-right {
  flex: 1;
  text-align: left;
  padding-left: 40px;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 1.5s ease-out 0.5s forwards;
  position: absolute;
  right: -173px;
  z-index: 1;
  transform: translateX(-20%);
}

.hero-phone {
  flex: 0 0 400px;
  text-align: center;
}

.phone-mockup {
  /* width: 350px;
  height: 620px; */
  background: #333;
  border-radius: 30px;
  padding: 10px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  animation: phoneAppear 1s ease-out 1s forwards;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.main-text {
  font-size: 32px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sub-text {
  font-size: 16px;
  color: #ccc;
  line-height: 1.8;
}

.free-trial {
  font-size: 72px;
  white-space: nowrap;
  font-weight: bold;
  color: #ffffff;
  margin: 6px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: typing 2s steps(20, end) 2s forwards;
}

/* セクション共通スタイル */
.section {
  padding: 40px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.section ul {
  list-style: none;
  width: 70%;
  margin: 0 auto 30px;
  font-size: 1.5rem;
  font-weight: bold;
}

.section ul li {
  margin: 5px 0;
  background-color: #fcfac8;
  padding: 20px;
  border-radius: 10px;
}

.section ul li span {
  color: #eb3eb2;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 28px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 16px; /* 文字と線の間隔 */
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .section-title img {
    width: 100% !important;
    height: auto !important;
  }
}

/* 左右の線 */
/* .section-title::before,
.section-title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: white;
} */

/* 機能紹介セクション */
.features {
  text-align: center;
}

.laptop-image {
  max-width: 100%;
  height: auto;
  margin: 40px 0;
  transform: translateY(50px);
  transition: transform 0.8s ease-out;
}

.laptop-image video {
  position: absolute;
  top: 164px;
  left: 335px;
  width: 50%;
  height: 51%;
  object-fit: cover;
}

.laptop-image.visible {
  transform: translateY(0);
}

/* プロフィール紹介 */
.girls {
  position: relative;
  width: 100%;
}

.girls img {
  width: 74%;
  position: absolute;
  top: 0px;
  /* left: 148px; */
  z-index: 2;
}

.profiles {
  text-align: center;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.profile-item {
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease-out;
}

.profile-item.visible {
  opacity: 1;
  transform: scale(1);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  /* background: linear-gradient(45deg, #ff6b6b, #4ecdc4); */
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-name {
  font-size: 18px;
  margin-bottom: 5px;
}

.profile-age {
  color: #ccc;
  font-size: 14px;
}

/* ステップ説明 */
.steps {
  text-align: center;
}

.step-item {
  display: flex;
  align-items: center;
  margin: 40px 0;
  opacity: 0;
  transition: all 0.8s ease-out;
}

.step-item.visible {
  opacity: 1;
}

.step-item:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  background: #ffffff;
  color: #e83eb4;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border-color: white;
  border: solid 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 40px;
  flex-shrink: 0;
}

.step-item h3 {
  font-size: 24px;
  font-weight: bold;
  color: #e83eb4;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 6px;
  text-underline-offset: 12px;
  line-height: 50px;
}

.step-content {
  flex: 1;
  text-align: left;
}

.step-item:nth-child(even) .step-content {
  text-align: right;
}

.step-image {
  flex: 1;
  text-align: center;
}

.step-image img {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 安全性セクション */
.safety {
  text-align: center;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.safety-item {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.safety-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.safety-item p {
  margin-top: 10px;
}

.safety-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

/* 体験談 */
.testimonials {
  text-align: center;
}

.testimonial-item {
  background: rgba(255, 255, 255, 0.6);
  padding: 30px;
  border-radius: 15px;
  margin: 20px 0;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.testimonial-name {
  color: #027fd7;
}

.testimonial-item p {
  margin-top: 10px;
}

.testimonial-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-item:nth-child(even) {
  transform: translateX(50px);
}

.testimonial-item:nth-child(even).visible {
  transform: translateX(0);
}

/* 固定ボタン */
.fixed-button {
  background: linear-gradient(90deg, #c7954b, #f4efb7, #c7954b);
  width: 100%;
  height: 100px;
  padding-top: 16px;
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  text-align: center;
  /* position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  text-align: center; */
}

.trial-badge {
  background: #ee1d2e;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 10px;
  display: inline-block;
  animation: bounce 2s infinite;
}

.comment {
  display: inline-block;
  padding-left: 10px;
}

.cta-button {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(180deg, #f5f0b8, #c69349);
  color: #43321c;
  padding: 18px 40px;
  border: 2px solid #43321c;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.marquee-text {
  width: 100%;
  height: 30px;
  background-color: #372306;
  overflow: hidden;
  position: fixed;
  bottom: 100px;
  z-index: -1;
}

/* アニメーション */
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes phoneAppear {
  to {
    transform: scale(1);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .header {
    text-align: center;
    padding: 20px 0;
    display: block;
  }

  .container {
    padding: 0 15px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero {
    text-align: center;
    /* padding: 40px 0; */
    position: relative;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    height: auto;
    overflow: visible;
  }

  /* 背景動画 */
  .hero-bg-video {
    display: none;
  }

  .hero-text-left {
    display: none;
  }

  .hero-text-right {
    display: none;
    /* padding: 20px 0;
    text-align: center;
    width: 95%;
    position: absolute;
    right: 0px;
    z-index: 1;
    transform: translateX(-20%); */
  }

  .hero-phone {
    flex: none;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .phone-mockup {
    max-width: 100%;
    width: 100%;
  }

  .main-text {
    font-size: 32px;
  }

  .free-trial {
    font-size: 70px;
  }

  .section {
    padding: 30px 0;
    text-align: center;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .section ul {
    list-style: none;
    width: 100%;
    margin: 0 auto 30px;
  }

  .laptop-image video {
    top: 55px;
    left: 115px;
  }

  .girls img {
    /* left: 50px; */
  }

  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .step-item {
    flex-direction: column !important;
    text-align: center;
    margin: 30px 0;
  }

  .step-item .step-content {
    text-align: center !important;
    margin: 20px 0;
  }

  /* .step-number {
    margin: 0 0 20px 0;
  } */

  .safety-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonial-item {
    text-align: center;
    margin: 15px 0;
    padding: 20px;
  }

  .cta-button {
    padding: 15px 30px;
    font-size: 18px;
  }

  .comment {
    padding-left: 85px;
  }

  .marquee-text {
    bottom: 106px;
  }

  .fixed-button {
    background: linear-gradient(90deg, #c7954b, #f4efb7, #c7954b);
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    height: 106px;
    padding-top: 10px;
    /* bottom: 15px;
    left: 15px;
    right: 15px;
    transform: none;
    width: calc(100% - 30px); */
  }
}

.video-section {
  padding: 0 0 150px 0;
}
.video-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper video {
  width: 100%;
}

.copyright {
  text-align: center;
  font-size: 12px;
  /* color: #ccc; */
  margin-top: 40px;
}

@media (max-width: 480px) {
  .phone-mockup {
    width: 90%;
    height: auto;
  }
}
#preview_video{
  width: 100%; 
  max-width: 998px; 
  height: 560px;
  margin: 0 auto;
}
.preview iframe,
.preview video{
  max-width: 998px !important; 
  height: 504px !important;
  object-fit: cover;
}
#preview_video .preview{
  height: calc(100% - 56px) !important;
}
#preview_video .preview_control{
  width: 100%;
  height: 56px;
}
@media (max-width: 480px) {
  #preview_video .preview_control{
    padding: 0 1em;
  }
}