/* ==========================================
   リセット・ベーススタイル
========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   共通ユーティリティ
========================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #cb5c87;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  color: #3a1f3d;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* セクション上部アクセントライン */
.section-accent {
  position: relative;
}

.section-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ea5b4b, #cb5c87, #9c65b1);
}

.text-center {
  text-align: center;
}

/* セクション間CTA */
.inline-cta {
  text-align: center;
  padding: 36px 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.inline-cta a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.inline-cta a:hover {
  transform: translateY(-2px);
}

.inline-cta a:first-child {
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: #fff;
  box-shadow: 0 3px 12px rgba(230, 126, 34, 0.3);
}

.inline-cta a:first-child:hover {
  background: linear-gradient(135deg, #d35400, #e67e22);
  box-shadow: 0 5px 18px rgba(230, 126, 34, 0.4);
}

.inline-cta a:last-child {
  color: #cb5c87;
  border: 2px solid #cb5c87;
  background: transparent;
}

.inline-cta a:last-child:hover {
  background: rgba(203, 92, 135, 0.06);
}

/* CTAボタン共通 */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-primary {
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: #fff;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d35400, #e67e22);
  box-shadow: 0 6px 24px rgba(230, 126, 34, 0.45);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-secondary--dark {
  color: #3a1f3d;
  border: 2px solid #e67e22;
}

.btn-secondary--dark:hover {
  background: rgba(230, 126, 34, 0.06);
  border-color: #d35400;
}

/* ==========================================
   ヘッダー固定バー
========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  padding: 0 24px;
  height: 60px;
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 28px;
  width: auto;
}

.header__buttons {
  display: flex;
  gap: 10px;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* ==========================================
   セクション1: ファーストビュー
========================================== */
.fv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #ea5b4b 0%, #cb5c87 40%, #9c65b1 100%);
  overflow: hidden;
  padding: 100px 20px 48px;
}

.fv__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.fv__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.fv__product-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.fv__heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.fv__heading em {
  font-style: normal;
  color: #ffe082;
}

.fv__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
}

.fv__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   セクション2: YouTube動画
========================================== */
.video-section {
  padding: 48px 20px;
  background: #f7f8fa;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 39%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   セクション3: お悩み（課題提起）
========================================== */
.problems {
  padding: 100px 20px;
  background: linear-gradient(90deg, #ea5b4b 0%, #cb5c87 40%, #9c65b1 100%);
}

.problems .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.problems .section-title {
  color: #fff;
  margin-bottom: 40px;
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 0 32px;
}

.problem-column {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  justify-items: center;
}

.problem-card--issue {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-card--issue p {
  font-size: 1.05rem;
  font-weight: 700;
  color: #3a1f3d;
  line-height: 1.6;
}

.problem-card__arrow {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.problem-card__arrow img {
  width: 20px;
  height: auto;
  opacity: 0.7;
}

.problem-card--solution {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  width: 100%;
}

.problem-card__solve-label {
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ea5b4b, #cb5c87, #9c65b1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.problem-card__image {
  margin-bottom: 12px;
}

.problem-card__image img {
  width: 140px;
  height: auto;
}

.problem-card__solution-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

/* ==========================================
   セクション4: 3つの特徴
========================================== */
.features {
  padding: 100px 20px;
  background: #fff;
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.feature-item__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(203, 92, 135, 0.15);
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
}

.feature-item__image {
  flex-shrink: 0;
  width: 180px;
}

.feature-item__image img {
  width: 100%;
  height: auto;
}

.feature-item__body h3 {
  font-size: 1.25rem;
  color: #3a1f3d;
  margin-bottom: 8px;
}

.feature-item__body p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

/* ==========================================
   セクション5: 主な機能
========================================== */
.functions {
  padding: 100px 20px;
  background: #f7f8fa;
}

.functions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.function-card {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid #e8eaf0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.function-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.function-card__icon {
  margin-bottom: 12px;
}

.function-card__icon img {
  width: 28px;
  height: 28px;
}

.function-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3a1f3d;
  margin-bottom: 8px;
}

.function-card__desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* ==========================================
   セクション6: 導入事例
========================================== */
.case-study {
  padding: 100px 20px;
  background: #f7f8fa;
}

.case-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8eaf0;
}

.case-card__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.case-card__body {
  padding: 28px 32px;
}

.case-card__company-name {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
  margin-bottom: 6px;
}

.case-card__headline {
  font-size: 1.1rem;
  color: #3a1f3d;
  font-weight: 700;
  margin-bottom: 24px;
}

.case-card__comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.case-card__before,
.case-card__after {
  padding: 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.7;
}

.case-card__before {
  background: #f5f0f0;
}

.case-card__after {
  background: rgba(203, 92, 135, 0.08);
}

.case-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: #888;
}

.case-card__after .case-card__label {
  color: #cb5c87;
}

.case-card__before ul,
.case-card__after ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-card__before li,
.case-card__after li {
  color: #555;
  font-size: 0.85rem;
  line-height: 1.7;
  padding-left: 1em;
  text-indent: -1em;
}

.case-card__before li::before {
  content: '・';
  color: #aaa;
}

.case-card__after li::before {
  content: '・';
  color: #cb5c87;
}


/* ==========================================
   セクション7: 導入の流れ
========================================== */
.flow {
  padding: 100px 20px;
  background: #f7f8fa;
}

.flow__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flow-step {
  text-align: center;
  flex: 1;
  min-width: 140px;
  max-width: 180px;
}

.flow-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(90deg, #ea5b4b, #cb5c87, #9c65b1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 auto 12px;
}

.flow-step__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #3a1f3d;
  margin-bottom: 6px;
}

.flow-step__desc {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.6;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 14px;
  color: #ccc;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.flow-arrow img {
  width: 40px;
  height: auto;
}

/* ==========================================
   セクション9: FAQ
========================================== */
.faq {
  padding: 100px 20px;
  background: #fff;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e8eaf0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item.is-open {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: #f9fafb;
  font-size: 0.95rem;
  font-weight: 700;
  color: #3a1f3d;
  user-select: none;
  gap: 16px;
}

.faq-item__question:hover {
  background: #f0f2f5;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: #3a1f3d;
  border-radius: 2px;
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, opacity 0.3s;
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item__answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
}

/* ==========================================
   セクション10: CTA（クロージング）
========================================== */
.cta-section {
  padding: 100px 20px;
  background: linear-gradient(90deg, #ea5b4b 0%, #cb5c87 40%, #9c65b1 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
}

.cta-section__heading {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 32px;
  line-height: 1.5;
}

.cta-section__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-section__note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   フッター
========================================== */
.footer {
  padding: 32px 20px;
  background: #2a1230;
  text-align: center;
}

.footer__company {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.footer__links {
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__links span {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 8px;
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Montserrat', sans-serif;
}

/* ==========================================
   モバイルスティッキーバー
========================================== */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(58, 31, 61, 0.97);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar__buttons {
  display: flex;
  gap: 8px;
}

.sticky-bar .btn {
  flex: 1;
  padding: 12px 8px;
  font-size: 0.85rem;
}

/* ==========================================
   レスポンシブ対応
========================================== */
@media (max-width: 768px) {
  .fv {
    min-height: auto;
    padding: 80px 20px 60px;
  }

  .fv__heading {
    font-size: 1.6rem;
  }

  .fv__sub {
    font-size: 0.95rem;
  }

  .fv__buttons {
    flex-direction: column;
    align-items: center;
  }

  .fv__buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .header__buttons .btn-primary {
    display: none;
  }

  .header__buttons .btn-secondary--dark {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .header {
    height: 48px;
    padding: 0 16px;
  }

  .header__logo img {
    height: 22px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .problems__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
  }

  .problem-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: auto;
    margin-bottom: 32px;
  }

  .problem-column:last-child {
    margin-bottom: 0;
  }

  .video-wrapper {
    padding-bottom: 56.25%;
  }

  .inline-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
  }

  .inline-cta a {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .feature-item {
    flex-direction: column;
    gap: 8px;
  }

  .feature-item__number {
    min-width: auto;
    font-size: 2rem;
  }

  .feature-item__image {
    width: 140px;
  }

  .functions__grid {
    grid-template-columns: 1fr;
  }

  .case-card__body {
    padding: 24px 20px;
  }

  .case-card__comparison {
    grid-template-columns: 1fr;
  }

  .flow__steps {
    flex-direction: column;
    align-items: center;
  }

  .flow-step {
    max-width: 280px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .cta-section__heading {
    font-size: 1.3rem;
  }

  .cta-section__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-section__buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .sticky-bar {
    display: block;
  }

  .footer {
    padding-bottom: 80px;
  }
}

@media (min-width: 769px) {
  .fv__heading {
    font-size: 2.6rem;
  }
}
