/* =====================
   RESET & VARIABLES
   ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #1c1e2a;
  --paper: #f8f8fc;
  --warm: #f0f0f8;
  --accent: #6b7fc4;
  --accent-light: #b0b8e0;
  --muted: #8890b0;
  --border: #dcdee8;
  --dark: #1c2240;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =====================
   NAV
   ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(28, 34, 64, 0.95);
  backdrop-filter: blur(8px);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 10px 24px;
  background: #e8a030;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.nav-cta:hover {
  background: #d18d20;
}

.nav-toggle {
  display: none;
}

/* =====================
   LAYOUT
   ===================== */
section {
  padding: 120px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =====================
   SECTION PARTS
   ===================== */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 24px;
}

.section-lead {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.9;
  max-width: 600px;
  line-height: 2;
}

/* =====================
   PAGE HEADER (story / results)
   ===================== */
.page-header {
  background: var(--dark);
  padding: 160px 40px 80px;
  text-align: center;
}

.page-header-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.page-header-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
}

.page-header-sub {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
  letter-spacing: 0.1em;
}

/* =====================
   HERO (index)
   ===================== */
.hero {
  position: relative;
  padding-top: 64px;
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 動画：右半分 */
.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(18, 23, 45, 0.4);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

.hero-content {
  position: relative;
  max-width: 900px;
  /* 動画にオーバーラップさせるために広げる */
}

.hero-sub-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}

.hero-catch-text {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(40px, 5.5vw, 88px);
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 48px;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-line {
  display: block;
  opacity: 0;
  animation: slideInLeft 1.8s ease-out forwards;
  white-space: nowrap;
}

/* アニメーション挙動の復元 */
.hero-line:nth-child(1) {
  animation-delay: 0.3s;
}

.hero-line:nth-child(2) {
  animation-delay: 1.6s;
}

.hero-line:nth-child(3) {
  animation-delay: 2.5s;
}

.hero-cta {
  display: inline-block;
  background: #e8a030;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 16px 48px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  opacity: 0;
  animation: fadeUp 0.7s 3.6s forwards;
}

.hero-cta:hover {
  background: #d18d20;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    height: auto;
    min-height: auto;
    /* 高さを自動に */
    display: flex;
    background: var(--dark);
  }

  .hero-video {
    position: relative;
    width: 100%;
    height: 45vh;
    object-fit: cover;
    z-index: 1;
  }

  .hero-overlay {
    display: none;
  }

  .hero-inner {
    width: 100%;
    margin-top: -60px;
    padding: 0 24px 40px;
    text-align: left;
    /* 左寄せ */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 中身も左に寄せる */
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-catch-text {
    font-size: clamp(30px, 9.5vw, 48px);
    line-height: 1.4;
    margin-bottom: 20px;
    /* 余白を削減 */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  /* スマホの出現タイミング */
  .hero-line:nth-child(1) {
    animation-delay: 0.1s;
  }

  .hero-line:nth-child(2) {
    animation-delay: 0.9s;
  }

  .hero-line:nth-child(3) {
    animation-delay: 1.7s;
  }

  .hero-cta {
    animation-delay: 2.5s;
  }

  .hero-line {
    display: block;
    white-space: nowrap; /* 折り返しなし */
    line-height: 1.3;
    overflow: hidden; /* 万一のはみ出しをクリップ */
  }

  /* ハンバーガーメニューのスタイル修正 */
  .nav-toggle {
    display: block;
    width: 30px;
    height: 18px;
    background: transparent !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 10000;
  }

  .nav-toggle span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    left: 0;
    transition: 0.3s;
  }

  .nav-toggle span:nth-child(1) {
    top: 0;
  }

  .nav-toggle span:nth-child(2) {
    top: 8px;
  }

  .nav-toggle span:nth-child(3) {
    bottom: 0;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 64px;
    /* ナビバーの下から開始 */
    right: -100%;
    width: 60%;
    height: auto;
    /* 内容に合わせる */
    max-height: calc(100vh - 64px);
    background: #1c2240;
    flex-direction: column;
    padding: 30px 20px;
    transition: 0.3s ease-in-out;
    z-index: 9999;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom-left-radius: 12px;
    /* 下部を丸くして閉じる */
  }

  .nav-open .nav-links {
    right: 0;
  }

  .nav-links li {
    margin: 5px 0;
    width: 100%;
  }

  .nav-links a {
    font-size: 14px;
    /* さらに小さく上品に */
    color: #fff !important;
    text-decoration: none;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    letter-spacing: 0.05em;
  }

  /* ナビバー直下のボタンのみ隠し、メニュー内は表示 */
  .nav>.nav-cta {
    display: none;
  }

  /* メニュー内のリンク設定 */
  .nav-links .nav-cta {
    display: block;
    margin-top: 20px;
    background: #e8a030;
    text-align: center;
    border-radius: 4px;
  }

  /* ボタンの文字折れを防止 */
  .hero-cta {
    white-space: nowrap !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    animation-delay: 2.3s !important;
  }
}

/* 右：写真＋プロフィール */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 2.0s forwards;
}

.hero-img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-profile-info {
  text-align: center;
}

.hero-profile-name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}

.hero-profile-role {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.hero-profile-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

/* PROFILE INTRO (新設) */
.profile-intro {
  background: var(--paper);
  padding: 120px 0;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 64px;
  background: #fff;
  padding: 64px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.profile-img-wrap {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.profile-role {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.profile-desc {
  font-size: 16px;
  line-height: 2;
  color: var(--muted);
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: #2a2d40;
}

.about-body p+p {
  margin-top: 1.5em;
}

.about-aside {
  border-left: 2px solid var(--accent);
  padding-left: 40px;
}

.about-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
}

.about-quote-source {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.about-links {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  transition: color 0.3s;
}

.about-link:hover {
  color: #5568b0;
}

.about-link::after {
  content: '→';
  font-size: 12px;
}

/* =====================
   PROBLEMS (index)
   ===================== */
.problems {
  background: var(--dark);
}

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

.problems .section-label {
  color: var(--accent-light);
}

.problems .section-lead {
  color: rgba(255, 255, 255, 0.5);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 48px 36px;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.problem-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
}

.problem-number {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 24px;
}

.problem-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
}

.problem-body {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.95;
}

/* =====================
   SERVICE (index)
   ===================== */
.service {
  background: var(--warm);
}

.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.service-feature-list {
  list-style: none;
  margin-top: 40px;
}

.service-feature-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.8;
}

.feature-icon {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =====================
   PRICING (index)
   ===================== */
.pricing {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  margin-bottom: 40px;
}

.price-card {
  border: 1px solid var(--border);
  padding: 48px 36px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.price-card .price-btn {
  margin-top: auto;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
  background: var(--dark);
  border-color: var(--dark);
}

.price-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 4px 14px;
  z-index: 2;
}

.price-plan {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.price-card.featured .price-plan {
  color: var(--accent-light);
}

.price-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 4px;
}

.price-card.featured .price-amount {
  color: #fff;
}

.price-unit {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.price-card.featured .price-unit {
  color: rgba(255, 255, 255, 0.5);
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}

.price-card.featured .price-divider {
  background: rgba(255, 255, 255, 0.12);
}

.price-features {
  list-style: none;
  margin-bottom: 40px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #2a2d40;
}

.price-card.featured .price-features li {
  color: rgba(255, 255, 255, 0.75);
}

.price-features li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
}

.price-card.featured .price-features li::before {
  color: var(--accent-light);
}

/* .price-btn のスタイルは、ファイル下部「ボタン反対色」セクションにまとめて定義しています */

.consult-card {
  border: 1px solid var(--border);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}

.consult-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.consult-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.6;
}

.consult-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}

.consult-price-wrap {
  text-align: center;
  padding: 40px;
  background: var(--warm);
}

.consult-from {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 8px;
}

.consult-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 56px;
  color: var(--ink);
  line-height: 1;
}

.consult-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.consult-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.3s;
}

.consult-btn:hover {
  background: #5568b0;
}

/* =====================
   FLOW (index)
   ===================== */
.flow {
  background: var(--warm);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.flow-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.flow-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--accent);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.flow-step:hover .flow-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.flow-step-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 10px;
}

.flow-step-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}

/* =====================
   CONTACT (index)
   ===================== */
.contact {
  background: var(--dark);
  text-align: center;
  padding: 120px 40px;
}

.contact .section-label {
  color: var(--accent-light);
}

.contact-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 2;
}

.contact-form {
  max-width: 640px;
  margin: 48px auto 0;
  text-align: left;
}

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

.form-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.form-required {
  font-size: 11px;
  color: var(--accent-light);
  margin-left: 6px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
  border-color: var(--accent-light);
  background: rgba(255, 255, 255, 0.09);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b0b8e0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--dark);
  color: #fff;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.8;
}

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--accent);
  border: none;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: #5568b0;
  transform: translateY(-2px);
}

.contact-divider {
  max-width: 640px;
  margin: 64px auto 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

.contact-btn-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.contact-btn-note:hover {
  background: var(--warm);
  transform: translateY(-2px);
}

.contact-btn-x {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.2s;
}

.contact-btn-x:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

/* =====================
   STORY PAGE
   ===================== */
.story {
  padding: 120px 0;
  background: #fff;
}

.story .container {
  max-width: 760px;
}

.story-chapter {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}

.story-chapter:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.chapter-number {
  font-family: 'DM Serif Display', serif;
  font-size: 72px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
}

.chapter-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.chapter-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 32px;
}

.chapter-body {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  line-height: 2.4;
  color: #2a2d40;
}

.chapter-body p+p {
  margin-top: 1.8em;
}

.chapter-quote {
  margin: 48px 0;
  padding: 32px 40px;
  border-left: 3px solid var(--accent);
  background: var(--warm);
}

.chapter-quote p {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  line-height: 2;
  color: var(--ink);
  font-weight: 400;
}

.belief {
  background: var(--dark);
  padding: 120px 40px;
  text-align: center;
}

.belief-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-style: italic;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 32px;
}

.belief-body {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 2.2;
}

.belief-cta {
  display: inline-block;
  padding: 18px 48px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.belief-cta:hover {
  background: #5568b0;
  transform: translateY(-2px);
}

/* =====================
   RESULTS PAGE
   ===================== */
.numbers {
  background: var(--dark);
  padding: 0 40px 100px;
}

.numbers-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.number-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 56px 40px;
  text-align: center;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.number-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
}

.number-value {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 12px;
}

.number-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.results-section {
  padding: 120px 0;
  background: #fff;
}

.result-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-card {
  background: var(--warm);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
  border-left: 3px solid transparent;
  transition: border-color 0.3s;
}

.result-card:hover {
  border-color: var(--accent);
}

.result-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.result-number {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}

.result-number span {
  font-size: 18px;
  margin-left: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--muted);
}

.result-period {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.result-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.6;
}

.result-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 2.2;
}

.result-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.result-chip {
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.cta-section {
  background: var(--dark);
  padding: 120px 40px;
  text-align: center;
}

.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 2;
}

.cta-btn {
  display: inline-block;
  padding: 18px 48px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
  background: #5568b0;
  transform: translateY(-2px);
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #141828;
  padding: 40px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
}

footer a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  margin: 0 12px;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s, transform 0.8s;
}

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

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero-content {
    padding: 60px 32px;
  }

  .about-grid,
  .service-intro,
  .consult-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problems-grid,
  .pricing-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .flow-steps::before {
    display: none;
  }

  .flow-step {
    margin-bottom: 40px;
  }

  .result-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 24px;
  }

  section {
    padding: 80px 0;
  }

  .nav {
    padding: 0 24px;
  }

  .page-header {
    padding: 120px 24px 60px;
  }

  .consult-card,
  .result-card {
    padding: 32px 24px;
  }

  .numbers {
    padding: 0 24px 80px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .chapter-quote {
    padding: 24px;
  }
}

/* =====================
   ICON STYLES & ANIMATIONS
   ===================== */

/* --- Problems アイコン --- */
.problem-icon-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}

.problem-icon {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: none;
  transition: filter 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.problem-card:hover .problem-icon-wrap {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.problem-card:hover .problem-icon {
  filter: none;
  transform: scale(1.08);
}

/* スクロール時のアイコンフェードイン（カードごとに遅延） */
.problems-grid .problem-card:nth-child(1) {
  transition-delay: 0s;
}

.problems-grid .problem-card:nth-child(2) {
  transition-delay: 0.1s;
}

.problems-grid .problem-card:nth-child(3) {
  transition-delay: 0.2s;
}

/* --- Pricing アイコン --- */
.price-icon-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: rgba(107, 127, 196, 0.08);
  border: 1px solid rgba(107, 127, 196, 0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}

.price-card.featured .price-icon-wrap {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.price-icon {
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s;
}

.price-card:hover .price-icon-wrap {
  background: rgba(107, 127, 196, 0.14);
  transform: translateY(-4px) scale(1.04);
}

.price-card.featured:hover .price-icon-wrap {
  background: rgba(255, 255, 255, 0.18);
}

.price-card:hover .price-icon {
  filter: none;
}

/* アイコン登場アニメーション */
@keyframes iconPop {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(12px);
  }

  70% {
    transform: scale(1.08) translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.reveal.visible .problem-icon-wrap,
.reveal.visible .price-icon-wrap {
  animation: iconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.problems-grid .problem-card:nth-child(1) .problem-icon-wrap {
  animation-delay: 0.1s;
}

.problems-grid .problem-card:nth-child(2) .problem-icon-wrap {
  animation-delay: 0.22s;
}

.problems-grid .problem-card:nth-child(3) .problem-icon-wrap {
  animation-delay: 0.34s;
}

.pricing-grid .price-card:nth-child(1) .price-icon-wrap {
  animation-delay: 0.1s;
}

.pricing-grid .price-card:nth-child(2) .price-icon-wrap {
  animation-delay: 0.22s;
}

.pricing-grid .price-card:nth-child(3) .price-icon-wrap {
  animation-delay: 0.34s;
}

/* =====================
   BEFORE / AFTER
   ===================== */
.beforeafter {
  background: var(--dark);
  padding: 120px 0;
}

.beforeafter .section-label {
  color: var(--accent-light);
}

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

.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-top: 56px;
}

.ba-col {
  padding: 40px;
  border-radius: 12px;
}

.ba-before {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ba-after {
  background: rgba(107, 127, 196, 0.12);
  border: 1px solid rgba(107, 127, 196, 0.25);
}

.ba-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ba-before .ba-tag {
  color: var(--muted);
}

.ba-after .ba-tag {
  color: var(--accent-light);
}

.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ba-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.7;
}

.ba-before .ba-list li {
  color: rgba(255, 255, 255, 0.5);
}

.ba-after .ba-list li {
  color: rgba(255, 255, 255, 0.9);
}

.ba-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ba-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.ba-arrow {
  font-size: 32px;
  color: var(--accent-light);
  opacity: 0.6;
}

@media (max-width: 900px) {
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ba-arrow-wrap {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

/* =====================
   PROBLEMS 新レイアウト（画像→文章 交互）
   ===================== */
.problems-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-top: 56px;
}

.problem-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.problem-row.reverse {
  grid-template-columns: 1fr 280px;
}

.problem-row.reverse .problem-img-wrap {
  order: 2;
}

.problem-row.reverse .problem-text {
  order: 1;
}

/* 正円 */
.problem-img-wrap {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.problem-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.problem-row:hover .problem-photo {
  transform: scale(1.05);
}

.problem-text {
  padding: 8px 0;
}

@media (max-width: 768px) {

  .problem-row,
  .problem-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .problem-row.reverse .problem-img-wrap {
    order: 0;
  }

  .problem-row.reverse .problem-text {
    order: 0;
  }

  .problem-img-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
}

/* =====================
   ボタン反対色（目立たせる）
   ===================== */
/* プランボタン（通常：枠線のみ） */
.price-btn {
  display: block;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid var(--dark);
  color: var(--dark);
  background: transparent;
  transition: background 0.3s, color 0.3s;
  margin-top: auto;
}

.price-btn:hover {
  background: var(--dark);
  color: #fff;
}

/* おすすめプランボタン（オレンジ塗りつぶしに変更） */
.price-card.featured .price-btn {
  background: #e8a030;
  border-color: #e8a030;
  color: #fff;
}

.price-card.featured .price-btn:hover {
  background: #fff;
  color: #e8a030;
  border-color: #e8a030;
}

/* 無料相談ボタン専用（オレンジ色塗りつぶし） */
.btn-orange {
  background: #e8a030 !important;
  color: #fff !important;
  border: none !important;
}

.btn-orange:hover {
  background: #d18d20 !important;
}

/* =====================
   ABOUT 画像
   ===================== */
.about-img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 1/1;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.about-img-wrap:hover .about-img {
  transform: scale(1.03);
}

/* =====================
   SERVICE 画像
   ===================== */
.service-img-wrap {
  margin-top: 64px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/7;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s ease;
}

.service-img-wrap:hover .service-img {
  transform: scale(1.02);
}

/* =====================
   BEFORE/AFTER 画像
   ===================== */
.ba-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/7;
  margin-bottom: 48px;
}

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* =====================
   PRICING 実写画像
   ===================== */
.price-photo-wrap {
  width: calc(100% + 72px);
  margin: -48px -36px 24px -36px;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 0;
  flex-shrink: 0;
}

.price-card.featured .price-photo-wrap {
  width: calc(100% + 72px);
  margin: -48px -36px 24px -36px;
}

.price-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.price-card:hover .price-photo {
  transform: scale(1.04);
}

/* ba-img-wrap 確実表示 */
.ba-img-wrap {
  opacity: 1 !important;
  transform: none !important;
}

/* 料金プラン 効果・ゴール */
.price-features .price-effect {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #e8a030;
  font-weight: 500;
  font-size: 13px;
}

.price-card:not(.featured) .price-features .price-effect {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #c47d10;
}

/* =================================
   CONSOLIDATED RESPONSIVE (Unified)
   ================================= */
@media (max-width: 900px) {

  /* 全体コンテナ */
  .container {
    padding: 0 24px;
  }

  section {
    padding: 80px 0;
  }

  /* プロフィール・アバウト */
  .profile-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 32px;
  }

  .profile-img-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .about-grid,
  .service-intro,
  .consult-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* サービス・問題解決 */
  .problems-grid,
  .pricing-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .problem-row,
  .problem-row.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .problem-img-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  /* 流れ・実績 */
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .flow-steps::before {
    display: none;
  }

  .result-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 20px;
  }

  /* ヒーロー */
  .hero {
    min-height: 100vh !important;
  }

  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin: -120px 0 0 0 !important;
    padding: 0 24px 40px !important;
    /* 左右に余白を確保しつつ左寄せを維持 */
    width: 100% !important;
    max-width: none !important;
  }

  .hero-line {
    white-space: nowrap !important;
    /* 絶対に改行させない */
    display: block;
    width: 100%;
    text-align: left !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* 文字間を詰めて大きく見せる */
  }

  .hero-catch-text {
    font-size: 8.5vw !important;
    /* 画面幅に基づいた最大サイズ */
    text-align: left !important;
    margin-bottom: 24px !important;
    width: 100% !important;
  }

  .hero-right {
    display: none !important;
  }

  .nav {
    padding: 0 20px !important;
  }

  /* ボタン修復 */
  .nav-toggle {
    background: transparent !important;
    border: none !important;
    z-index: 10001 !important;
  }

  .nav-toggle span {
    background: #fff !important;
  }
}

@media (max-width: 600px) {
  .hero-catch-text {
    font-size: 8.5vw !important;
    text-align: left !important;
  }
}
/* ===== v9: Profile Stats Block (実績ファーストビュー) ===== */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.stat-card {
  background: var(--dark, #1a1a1a);
  color: #fff;
  padding: 28px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.stat-value {
  font-family: 'DM Serif Display', 'Noto Serif JP', serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
  color: var(--accent, #d4a373);
  margin-bottom: 12px;
}
.stat-unit {
  font-size: 18px;
  margin-left: 4px;
  color: var(--accent-light, #e8c9a0);
}
.stat-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.stat-detail {
  font-size: 11px;
  color: var(--accent-light, #c9b896);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .profile-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }
  .stat-card {
    padding: 20px 16px;
  }
  .stat-value {
    font-size: 36px;
  }
}

/* v9: pricing-grid-2 was removed (reverted to 3-card layout) */
