@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

section {
  padding: 120px 0;
}

/* 書体の工夫：印象的な見出しに高級感のある明朝体を採用 */
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 48px;
  line-height: 1.3;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section-text {
  font-size: 18px;
  color: #475569;
  max-width: 700px;
}

/* ボタンデザイン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 44px;
  background: linear-gradient(135deg, #0f4cff 0%, #003ee6 100%);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 30px rgba(15, 76, 255, 0.25);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 76, 255, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #cbd5e1;
  color: #0f172a;
  box-shadow: none;
}

.btn-outline:hover {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  min-height: 90vh;
  padding: 60px 0;
}

.hero-tag {
  display: inline-block;
  background: #0f4cff;
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  border-radius: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 68px;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 32px;
}

.hero h1 span {
  color: #0f4cff;
  display: block;
}

.hero p {
  font-size: 18px;
  color: #334155;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-box {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  color: #0f4cff;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-box p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
}

.hero-image {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-image img {
  height: 680px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}
.floating-box {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: rgba(15, 23, 42, 0.95); /* 深い黒 */
  padding: 32px;
  border-radius: 16px;
  width: 340px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-box small {
  color: #38bdf8; /* 青い文字 */
  display: block;
  margin-bottom: -20px; /* ★白い文字との間隔を広げて重なりを防止 */
  font-size: 13px; /* 少し大きく */
  font-weight: 800;
  letter-spacing: 0.15em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* お客様の声が入るスライドの土台 */
.voice-slider {
  position: relative;
  height: 96px; /* ★文字が大きくなった分、高さを広げて下の余白バランスを調整 */
}

.voice-text {
  font-size: 17px; /* ★文字サイズを「15px」から「17px」に大きくしました */
  line-height: 1.6;
  margin: 0;
  color: #ffffff !important; /* 文字を完全に白に */
  font-weight: 700; /* ★読みやすいように文字を少し太めに設定 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  visibility: hidden;
}

/* 表示されている時の設定 */
.voice-text.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/*.floating-box p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* PROBLEMS */
.problem-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid #e2e8f0;
  transition: all 0.4s ease;
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  border-color: #0f4cff;
}

.problem-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #0f4cff;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 700;
}

.problem-card p {
  color: #475569;
  font-size: 15px;
}

/* FEATURES */
.features {
  background: #0f172a;
  color: #fff;
}

.features .section-title {
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: #1e293b;
  padding: 48px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: #111827;
  border-color: #0f4cff;
}

.feature-card span {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: #38bdf8;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-card p {
  color: #94a3b8;
  font-size: 15px;
}

/* ★無料体験までの流れ（FLOW）大画面写真デザイン★ */
.flow-section {
  background: #f1f5f9;
}

.flow-timeline {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.flow-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.flow-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* 左右交互に配置する設定 */
.flow-item:nth-child(even) {
  direction: rtl;
}
.flow-item:nth-child(even) .flow-content-box {
  direction: ltr;
}

.flow-image-box {
  position: relative;
  height: 340px; /* 写真を大きく見せる高さ */
  overflow: hidden;
}

.flow-image-box img {
  transition: transform 0.6s ease;
}

.flow-item:hover .flow-image-box img {
  transform: scale(1.05);
}

.flow-number-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background: #0f4cff;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(15, 76, 255, 0.3);
}

.flow-item:nth-child(even) .flow-number-badge {
  left: auto;
  right: 24px;
}

.flow-content-box {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow-content-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0f172a;
}

.flow-content-box p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

/* GALLERY */
.gallery-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-grid img {
  height: 300px;
  border-radius: 16px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.gallery-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #0f4cff 0%, #002db3 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 56px;
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 24px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #e0f2fe;
}

.cta .btn {
  background: #fff;
  color: #0f4cff;
}

.cta .btn:hover {
  background: #f8fafc;
  color: #003ee6;
}

footer {
  background: #0f172a;
  color: #64748b;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-image img {
    height: 500px;
  }

  .floating-box {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: 90%;
    text-align: left;
  }

  .problem-grid,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title {
    font-size: 36px;
  }

  .flow-item {
    grid-template-columns: 1fr;
  }
  .flow-item:nth-child(even) {
    direction: ltr;
  }
  .flow-content-box {
    padding: 32px;
  }
  .flow-image-box {
    height: 240px;
  }
  .flow-item:nth-child(even) .flow-number-badge {
    right: auto;
    left: 24px;
  }

  .cta h2 {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 40px;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
/* ★お申し込みフォーム（FORM）のデザイン★ */
.form-section {
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.application-form {
  max-width: 640px;
  margin: 0 auto;
  background: #f8fafc;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba (15, 23, 42, 0.02);
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

/* 必須・任意バッジ */
.badge-required {
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.badge-optional {
  background: #94a3b8;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* 入力項目（インプット）の共通スタイル */
.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #0f172a;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

/* 入力中の青枠線エフェクト */
.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: #0f4cff;
  box-shadow: 0 0 0 4px rgba(15, 76, 255, 0.1);
}

/* チェックボックス */
.form-checkbox {
  text-align: center;
  margin: 32px 0;
}

.form-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* 送信ボタンの配置 */
.form-submit {
  text-align: center;
}

.form-submit .btn {
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
}

/* レスポンシブ（スマホ対応） */
@media (max-width: 640px) {
  .application-form {
    padding: 24px 16px;
    border-radius: 16px;
  }
}
