/* ==========================================================================
   omakase.ai LP - style.css (v6: SP完全対応・ドロワー・スライドショー)
   ========================================================================== */

:root {
  --color-primary: #5B5FE9;
  --color-primary-dark: #4A4ED4;
  --color-primary-light: #7C80F0;
  --color-primary-pale: #E8E9FB;
  --color-primary-deep: #3F3FBB;
  --color-bg: #F1F1FB;
  --color-bg-light: #F8F8FE;
  --color-white: #FFFFFF;
  --color-text: #1A1A2E;
  --color-text-sub: #5A5A75;
  --color-text-mute: #9A9AB0;
  --color-border: #E4E4F2;
  --color-input-bg: #F5F5FB;
  --color-accent: #FFB800;
  --color-accent-dark: #F59E0B;
  --color-gold: #FFD700;
  --color-error: #E74C3C;
  --shadow-sm: 0 2px 8px rgba(91, 95, 233, 0.06);
  --shadow-md: 0 4px 16px rgba(91, 95, 233, 0.10);
  --shadow-lg: 0 8px 32px rgba(91, 95, 233, 0.14);
  --shadow-cta: 0 12px 28px rgba(91, 95, 233, 0.45);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

/* リセット */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* SP表示制御 */
.sp-only { display: none; }
.pc-only { display: inline; }
.fv__lead-sp { display: none; }
.fv__lead-pc { display: inline; }
.fv__tag-sp { display: none; }
.fv__tag-pc { display: inline; }

/* ==========================================================================
   共通：セクションタイトル
   ========================================================================== */
.section-title {
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 46px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-title__accent { color: var(--color-primary); }

.section-title__brand {
  font-size: 0.65em;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  display: inline-block;
}

/* SP装飾「\\ XXX /」 */
.section-title--sp-deco span {
  position: relative;
  display: inline-block;
}

/* ==========================================================================
   共通：アーチ装飾
   ========================================================================== */
.arch { position: relative; }
.arch__top, .arch__bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}
.arch__top { top: -1px; transform: rotate(180deg); }
.arch__bottom { bottom: -1px; }
.arch svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   共通：ボタン
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(91, 95, 233, 0.4);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 95, 233, 0.5);
}

.btn--accent {
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
  color: var(--color-text);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
  font-weight: 900;
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.55);
}
.btn--accent:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn--cta-main {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-cta);
  padding: 24px 80px 24px 48px;
  font-size: 22px;
  font-weight: 900;
  border-radius: 24px;
  position: relative;
  min-width: 320px;
  width: 100%;
  max-width: 480px;
}
.btn--cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(91, 95, 233, 0.55);
}
.btn--with-arrow-simple .btn__arrow-simple {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.btn--sm {
  padding: 14px 32px;
  font-size: 15px;
}

.btn--lg {
  padding: 26px 80px 26px 56px;
  font-size: 20px;
  min-width: 480px;
  position: relative;
}

.btn--with-arrow .btn__arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.btn--with-arrow .btn__arrow img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 241, 251, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  padding: 2px;
  position: relative;
  z-index: 200;
}

.header__menu-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__menu[aria-expanded="true"] .header__menu-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__menu[aria-expanded="true"] .header__menu-bar:nth-child(2) {
  opacity: 0;
}
.header__menu[aria-expanded="true"] .header__menu-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   ドロワーメニュー
   ========================================================================== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.drawer__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 340px;
  height: 100%;
  background: var(--color-white);
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
}

.drawer.is-open .drawer__content {
  transform: translateX(0);
}

.drawer__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.drawer__list {
  display: flex;
  flex-direction: column;
}

.drawer__list li {
  border-bottom: 1px solid var(--color-border);
}

.drawer__list a {
  display: block;
  padding: 20px 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  transition: color 0.2s ease;
  position: relative;
}

.drawer__list a::after {
  content: "›";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 900;
}

.drawer__list a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   ファーストビュー
   ========================================================================== */
.fv {
  background: var(--color-bg);
  padding: 12px 40px 32px;
  position: relative;
  overflow: hidden;
}

.fv__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: start;
  position: relative;
  z-index: 1;
}

.fv__tag {
  display: inline-block;
  padding: 8px 24px;
  background: var(--color-white);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.fv__title {
  font-size: 68px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: var(--color-text);
}
.fv__title-accent { color: var(--color-primary); }
.fv__title-sub { display: none; } /* PC版では非表示、SP版で表示 */

.fv__lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin-bottom: 24px;
  font-weight: 500;
}

.fv__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  max-width: 480px;
}

.fv__features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px 8px;
  aspect-ratio: 1 / 0.92;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.fv__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}
.fv__feature-icon img { width: 100%; height: 100%; }

.fv__feature-text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.fv__feature-sub {
  display: none; /* PC版では非表示、SP版で表示 */
}

.fv__image {
  position: relative;
  margin-right: -40px;
  margin-left: -40px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.fv__image img {
  width: auto;
  max-width: none;
  max-height: 720px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(91, 95, 233, 0.15));
}

/* ==========================================================================
   実績バナー
   ========================================================================== */
.stats {
  padding: 80px 40px 80px;
  background: var(--color-bg);
}

/* SP用見出し（PCでは非表示） */
.stats > .section-title--sp-deco { display: none; }

.stats__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 48px 32px;
  gap: 24px;
}

.stats__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}

.stats__item + .stats__item {
  border-left: 1px solid var(--color-border);
}

.stats__wreath {
  height: 130px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.9;
}

.stats__content {
  text-align: center;
  padding: 0 4px;
  min-width: 0;
}

.stats__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-sub);
  margin-bottom: 8px;
}

.stats__number {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.stats__big {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stats__note {
  font-size: 10px;
  color: var(--color-text-mute);
  line-height: 1.5;
}

/* ==========================================================================
   課題提起
   ========================================================================== */
.issues {
  padding: 100px 40px 140px;
  background: var(--color-white);
  position: relative;
}

.issues__grid {
  max-width: 1100px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.issue-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 40px 16px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.issue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.issue-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.issue-card__icon img { width: 100%; height: auto; }

.issue-card__text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
}
.issue-card__text strong { font-weight: 700; }
.issue-card__text-accent {
  color: var(--color-primary);
  font-weight: 900;
}

/* 解決バー（PC・SP両対応） */
.solution-bar {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: var(--color-white);
  padding: 18px 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 900;
  font-size: 18px;
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 28px rgba(91, 95, 233, 0.35);
  transition: all 0.3s ease;
}

.solution-bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(91, 95, 233, 0.45);
}

.solution-bar__star {
  font-size: 20px;
  flex-shrink: 0;
}

.solution-bar__text {
  flex: 1;
  text-align: center;
  letter-spacing: 0.04em;
}

.solution-bar__accent {
  color: var(--color-gold);
  font-size: 1.15em;
}

.solution-bar__arrow {
  width: 38px;
  height: 38px;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ==========================================================================
   omakase.aiとは
   ========================================================================== */
.about {
  padding: 120px 40px 120px;
  background: var(--color-bg);
  position: relative;
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about__title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.about__desc {
  font-size: 13px;
  line-height: 2;
  color: var(--color-text-sub);
  font-weight: 500;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-feature {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 12px;
  aspect-ratio: 1 / 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-feature__icon img { width: 100%; height: auto; }

.about-feature__text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

/* ==========================================================================
   サービス紹介動画
   ========================================================================== */
.video-intro {
  padding: 100px 40px 100px;
  background: var(--color-bg);
}
.video-intro__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.video-intro__title { line-height: 1.4; }
.video-intro__lead {
  display: block;
  font-size: 0.55em;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.video-intro__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(91, 95, 233, 0.18);
  background: #000;
  position: relative;
}
.video-intro__frame iframe {
  display: block;
}

@media (max-width: 768px) {
  .video-intro {
    padding: 60px 20px 60px;
  }
  .video-intro__frame {
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(91, 95, 233, 0.14);
  }
}

/* ==========================================================================
   選ばれる理由
   ========================================================================== */
.reasons {
  padding: 120px 40px 120px;
  background: var(--color-white);
  position: relative;
}

.reasons__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.reason-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.reason-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.reason-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.reason-card__tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-pale);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.reason-card__title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.35;
  color: var(--color-text);
}

.reason-card__title-big {
  color: var(--color-primary);
  font-size: 1.35em;
  letter-spacing: -0.01em;
}

.reason-card__text {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-sub);
  font-weight: 500;
  margin-bottom: 20px;
}

.reason-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.reason-card__icon img { width: 100%; height: auto; }

/* ==========================================================================
   できること
   ========================================================================== */
.features {
  padding: 100px 40px 100px;
  background: var(--color-bg);
  position: relative;
}

.features__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--color-white);
  border-radius: 28px;
  padding: 20px 8px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card__icon img { width: 100%; height: auto; }

.feature-card__text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

/* ==========================================================================
   導入事例（PC: 3カラム / SP: Swiper）
   ========================================================================== */
.cases {
  padding: 100px 40px 100px;
  background: var(--color-white);
}

.cases > .section-title--sp-deco { display: block; }

.cases__swiper { overflow: visible; }

.cases__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.case-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card__tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-white);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  align-self: flex-start;
}

.case-card__name {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.case-card__desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

.case-card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 16/10;
}
.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.case-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 1px 4px rgba(91, 95, 233, 0.05);
}

.case-stat__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-sub);
  flex: 1;
  text-align: left;
}

.case-stat__value {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  color: var(--color-primary);
  line-height: 1;
  white-space: nowrap;
}

.case-stat__big {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.case-stat__unit {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.case-card__note {
  font-size: 10px;
  color: var(--color-text-mute);
  line-height: 1.5;
  margin-top: auto;
}

/* Swiperページネーション */
.cases__pagination {
  display: none;
  margin-top: 24px;
  text-align: center;
  position: static !important;
}

.cases__pagination .swiper-pagination-bullet {
  background: var(--color-text-mute);
  opacity: 0.4;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
}

.cases__pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
  opacity: 1;
  width: 28px;
  border-radius: 5px;
}

/* ==========================================================================
   導入フロー
   ========================================================================== */
.flow {
  padding: 100px 40px 100px;
  background: var(--color-bg);
}

.flow__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
}

.flow-step {
  flex: 1;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 16px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.flow-step__head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.flow-step__label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.flow-step__number {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.flow-step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-pale);
  border-radius: 50%;
  padding: 14px;
}
.flow-step__icon img { width: 100%; height: 100%; }

.flow-step__body {
  width: 100%;
}

.flow-step__title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 6px;
}

.flow-step__desc {
  font-size: 11px;
  color: var(--color-text-sub);
  line-height: 1.6;
  font-weight: 500;
}

.flow-step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 900;
  flex-shrink: 0;
  opacity: 0.6;
  transform: rotate(-90deg);
  width: 24px;
}

/* ==========================================================================
   よくある質問
   ========================================================================== */
.faq {
  padding: 100px 40px 100px;
  background: var(--color-white);
}

.faq .section-title { margin-bottom: 26px; }

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

.faq-item {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  transition: background 0.3s ease;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question:hover { background: var(--color-bg); }

.faq-item__q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
}

.faq-item__text { flex: 1; font-size: 14px; }

.faq-item__toggle {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 300;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item[open] .faq-item__toggle { transform: rotate(45deg); }

.faq-item__answer {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 28px 22px;
}

.faq-item__a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-bg);
  color: var(--color-primary);
  border-radius: 50%;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
}

.faq-item__answer p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-sub);
  padding-top: 2px;
  flex: 1;
}

/* ==========================================================================
   お問い合わせフォーム
   ========================================================================== */
.contact {
  padding: 80px 40px 100px;
  background: var(--color-bg);
}

.contact__inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow-md);
}

.contact__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.contact__badge { display: none; }
.contact__badge--orig {
  background: var(--color-accent);
  color: var(--color-text);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.contact__title {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-text);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 16px;
}

.form-row__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.form-row__req {
  color: var(--color-error);
  font-weight: 900;
  margin-left: 2px;
}

.form-row__input,
.form-row__textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row__input::placeholder,
.form-row__textarea::placeholder {
  color: var(--color-text-mute);
  font-weight: 400;
}

.form-row__input:focus,
.form-row__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(91, 95, 233, 0.1);
}

.form-row__textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row__input.is-error,
.form-row__textarea.is-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-agree {
  margin-top: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.form-agree__text {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.form-agree__link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.form-agree__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  font-style: italic;
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.2s ease;
  font-family: serif;
}

.form-agree__icon:hover { background: var(--color-primary-dark); }

.form-agree__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--color-bg-light);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.form-agree__check:hover { background: var(--color-primary-pale); }

.form-agree__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-note { margin-top: 8px; text-align: center; }
.form-note p {
  font-size: 12px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

.form-submit { margin-top: 16px; text-align: center; }

.contact .btn--lg {
  padding: 20px 56px;
  font-size: 18px;
  min-width: 280px;
}

/* ==========================================================================
   利用規約モーダル
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open { display: flex; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.modal__content {
  position: relative;
  background: rgba(40, 40, 50, 0.95);
  color: var(--color-white);
  padding: 32px 32px 32px;
  border-radius: var(--radius-md);
  max-width: 540px;
  width: 100%;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  color: var(--color-white);
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.modal__close:hover { opacity: 1; }

.modal__title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 16px;
}

.modal__body {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   フッターCTA（SPデザイン優先・PCはコンパクト）
   ========================================================================== */
.cta {
  padding: 80px 40px 100px;
  background: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 95, 233, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__brand { margin-bottom: 20px; }
.cta__logo {
  height: 36px;
  width: auto;
  margin: 0 auto;
}

.cta__tag {
  display: inline-block;
  padding: 8px 24px;
  background: var(--color-white);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 28px;
}

.cta__title {
  font-size: 56px;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  position: relative;
  padding-bottom: 16px;
}

.cta__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

.cta__lead {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 36px;
  font-weight: 700;
}

.cta__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta__features li {
  text-align: center;
}

.cta__feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  background: var(--color-primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.cta__feature-icon img { width: 100%; height: 100%; }

.cta__feature-text {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.cta__badge {
  width: 160px;
  margin: 36px auto 0;
}
.cta__badge img {
  width: 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* ==========================================================================
   フッター（明るい背景・ヘッダー統一感）
   ========================================================================== */
.footer {
  padding: 40px 40px 32px;
  background: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__logo {
  height: 32px;
  width: auto;
}

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

.footer__nav a {
  font-size: 12px;
  color: var(--color-text-sub);
  transition: color 0.2s ease;
  position: relative;
  font-weight: 500;
}

.footer__nav a:hover { color: var(--color-primary); }

.footer__nav a + a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: var(--color-border);
}

.footer__copy {
  font-size: 11px;
  color: var(--color-text-mute);
}

/* ==========================================================================
   サンクスページ
   ========================================================================== */
.thanks {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  background: var(--color-bg);
}

.thanks__inner {
  max-width: 640px;
  text-align: center;
  background: var(--color-white);
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.thanks__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--color-primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--color-primary);
}

.thanks__title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.thanks__text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin-bottom: 36px;
}

.thanks__btn { display: inline-block; }

/* ==========================================================================
   レスポンシブ：タブレット（768〜1024px）
   ========================================================================== */
@media (max-width: 1024px) {
  .fv__title { font-size: 56px; }
  .fv__image { margin-right: 0; }
  .fv__image img { width: 100%; }

  .features__grid { grid-template-columns: repeat(3, 1fr); }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__features { grid-template-columns: repeat(4, 1fr); }

  .stats__big { font-size: 48px; }
  .stats__wreath { height: 100px; }

  .btn--lg {
    min-width: 400px;
    padding: 22px 70px 22px 48px;
    font-size: 18px;
  }
}

/* ==========================================================================
   レスポンシブ：スマホ（767px以下）SP完全版
   ========================================================================== */
@media (max-width: 767px) {

  .sp-only { display: inline; }
  .pc-only { display: none; }
  .fv__lead-pc { display: none; }
  .fv__lead-sp { display: inline; }
  .fv__tag-pc { display: none; }
  .fv__tag-sp { display: inline; }

  /* セクションタイトル：SP用デコレーション「\\ XXX /」 */
  .section-title {
    font-size: clamp(20px, 6.4vw, 28px);
    margin-bottom: 32px;
    padding-bottom: 14px;
    white-space: nowrap;
  }
  .section-title::after {
    width: 40px;
    height: 3px;
  }

  /* タイトル装飾「\\ XXX /」スタイル（一部セクション用） */
  .section-title--sp-deco {
    font-size: 22px;
    padding-bottom: 10px;
  }
  .section-title--sp-deco span::before,
  .section-title--sp-deco span::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--color-primary);
    vertical-align: middle;
    margin: 0 14px;
    transform: skewX(-30deg);
    position: relative;
    top: -4px;
  }
  .section-title--sp-deco::after {
    width: 30px;
    height: 3px;
    border-radius: 2px;
  }

  /* ヘッダー：SP版はロゴ＋ハンバーガーのみ（CTAボタン非表示） */
  .header__inner { padding: 14px 20px; }
  .header__logo img { height: 36px; }
  .header__right { gap: 0; }
  .header__cta { display: none; }

  .btn--sm {
    padding: 10px 18px;
    font-size: 12px;
  }

  .btn--lg {
    padding: 16px 56px 16px 24px;
    font-size: 14px;
    min-width: auto;
    width: 100%;
    max-width: 360px;
  }
  .btn--with-arrow .btn__arrow {
    width: 26px;
    height: 26px;
    right: 12px;
  }

  .btn--cta-main {
    padding: 22px 64px 22px 32px;
    font-size: 18px;
    min-width: 280px;
    border-radius: 20px;
  }
  .btn--with-arrow-simple .btn__arrow-simple {
    right: 24px;
    font-size: 24px;
  }

  /* ==========================================================================
     FV - SP版（v14: モック完全準拠・375〜414px最適化）
     ========================================================================== */
  .fv {
    padding: 24px 20px 32px;
    background: var(--color-bg);
    overflow: hidden;
  }

  /* タイトル＋画像エリア。リード文も左カラムに置き、画像は3行に渡る */
  .fv__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    grid-template-areas:
      "tag    image"
      "title  image"
      "lead   image"
      "features features"
      "cta      cta";
    column-gap: 8px;
    row-gap: 0;
    align-items: start;
  }

  /* fv__textの中身をfv__innerのgridに参加させる */
  .fv__text { display: contents; }

  /* タグピル */
  .fv__tag {
    grid-area: tag;
    font-size: 11.5px;
    padding: 6px 14px;
    margin-bottom: 14px;
    justify-self: start;
    align-self: start;
    border-width: 2px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.02em;
  }

  /* タイトル */
  .fv__title {
    grid-area: title;
    font-size: clamp(22px, 7vw, 31px);
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.005em;
    align-self: start;
    font-weight: 900;
  }
  /* ステンザ（1行）は途中で折り返さず、カラムを超えたら記号だけ折り返る */
  .fv__title-accent {
    display: inline-block;
    word-break: keep-all;
  }
  /* CV改善まで、丸投げ。の前のステンザ余白を完全に消す
     (line-heightによる自然な行間のみ残す → 全行が均等な行間に) */
  .fv__title-sub { display: inline; }
  .fv__title-sub::before {
    content: "";
    display: block;
    height: 0;
  }

  /* リード文（タイトル直下） */
  .fv__lead {
    grid-area: lead;
    font-size: 11px;
    line-height: 1.8;
    margin: 12px 0 0;
    align-self: start;
    font-weight: 600;
    color: var(--color-text-sub);
    letter-spacing: -0.005em;
    display: block;
  }
  .fv__lead-pc { display: none; }
  .fv__lead-sp { display: inline; }

  /* 画像：縦中央寄せ、テキスト3行ぶんに重ねる */
  .fv__image {
    grid-area: image;
    margin: 0;
    width: 100%;
    max-width: none;
    align-self: center;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
  }
  .fv__image picture { width: 100%; display: block; }
  .fv__image img {
    width: 100%;
    height: auto;
    transform: none;
    filter: drop-shadow(0 16px 30px rgba(91, 95, 233, 0.18));
  }

  /* 特徴3カード */
  .fv__features {
    grid-area: features;
    margin: 28px 0 0;
    max-width: 100%;
    gap: 10px;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
  .fv__features li {
    padding: 18px 8px;
    gap: 10px;
    border-radius: 14px;
    aspect-ratio: auto;
    min-height: 0;
    justify-content: center;
    background: var(--color-white);
    box-shadow: 0 4px 14px rgba(91, 95, 233, 0.08);
  }
  .fv__feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
  }
  .fv__feature-text {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
    color: var(--color-text);
  }
  /* SP版では説明文を非表示 */
  .fv__feature-sub {
    display: none;
  }

  /* CTAボタン：フル幅・角丸・しっかり主張 */
  .fv .btn--lg {
    grid-area: cta;
    margin: 28px 0 0;
    font-size: 18px;
    padding: 22px 64px 22px 28px;
    width: 100%;
    max-width: none;
    font-weight: 900;
    border-radius: 18px;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    box-shadow: 0 12px 28px rgba(91, 95, 233, 0.45);
  }
  /* SP版CTA矢印：シンプルな白丸＋矢印に置き換え */
  .fv .btn--with-arrow .btn__arrow {
    width: 32px;
    height: 32px;
    right: 20px;
    background: var(--color-white);
    border-radius: 50%;
    color: var(--color-primary);
  }
  .fv .btn--with-arrow .btn__arrow img { display: none; }
  .fv .btn--with-arrow .btn__arrow::after {
    content: "→";
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    color: var(--color-primary);
    display: block;
  }

  /* FV直後のセクション余白 */
  .fv + .stats { padding-top: 32px; }

  /* Stats - SP版:バッジ→月桂樹で数字を挟む→注釈の縦リズム */
  .stats {
    padding: 40px 20px 40px;
  }
  .stats > .section-title--sp-deco { display: block; }

  .stats__inner {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 20px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .stats__item {
    background: var(--color-white);
    border-radius: 18px;
    padding: 28px 20px 24px;
    box-shadow: 0 4px 16px rgba(91, 95, 233, 0.08);
    position: relative;
    display: block;
    text-align: center;
    overflow: visible;
  }
  .stats__item + .stats__item {
    border-left: none;
  }

  /* バッジピル */
  .stats__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text);
    background: var(--color-bg);
    border-radius: 999px;
    padding: 6px 18px;
    margin-bottom: 16px;
    line-height: 1.4;
    letter-spacing: 0.02em;
  }

  /* 数字行 */
  .stats__number {
    position: relative;
    display: inline-block;
    padding: 0;
    font-size: 18px;
    font-weight: 900;
    margin: 0 auto;
    line-height: 1;
  }
  .stats__big {
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.02em;
  }

  /* 月桂樹:カードの左右端から数字を挟む(大きめ) */
  .stats__wreath--left,
  .stats__wreath--right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 96px;
    width: auto;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    margin: 0;
  }
  .stats__wreath--left  { left: 26px; right: auto; }
  .stats__wreath--right { right: 26px; left: auto; }

  /* 数字行の縦中央を月桂樹中心に合わせる */
  .stats__content {
    position: static;
    z-index: 2;
    width: 100%;
    padding: 0 70px;
    box-sizing: border-box;
  }
  .stats__note {
    font-size: 10.5px;
    margin-top: 18px;
    line-height: 1.65;
    color: var(--color-text-mute);
  }

  /* Issues */
  .issues {
    padding: 50px 20px 100px;
  }

  .issues__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 32px;
  }

  .issue-card {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    background: var(--color-white);
  }

  .issue-card__icon {
    width: 64px;
    height: 64px;
    margin: 0;
    background: var(--color-primary-pale);
    border-radius: 50%;
    padding: 14px;
    flex-shrink: 0;
    position: relative;
  }
  .issue-card__icon::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: var(--color-border);
  }

  .issue-card__text {
    font-size: 17px;
    line-height: 1.4;
    flex: 1;
    padding-left: 8px;
  }

  /* Solution Bar (SP) */
  .solution-bar {
    padding: 18px 20px;
    font-size: 17px;
    border-radius: var(--radius-lg);
  }
  .solution-bar__text {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
  }
  .solution-bar__accent { font-size: 1.3em; }
  .solution-bar__arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  /* About */
  .about {
    padding: 70px 20px;
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__title {
    font-size: 24px;
    text-align: center;
  }
  .about__desc {
    font-size: 14px;
    text-align: center;
  }
  .about__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .about-feature {
    padding: 20px 8px;
    aspect-ratio: 1 / 0.95;
  }
  .about-feature__icon {
    width: 52px;
    height: 52px;
  }
  .about-feature__text { font-size: 12px; }

  /* Reasons */
  .reasons {
    padding: 70px 20px;
  }
  .reasons__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .reason-card {
    padding: 28px 24px;
  }
  .reason-card__header { margin-bottom: 16px; }
  .reason-card__number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .reason-card__tag { font-size: 11px; padding: 4px 12px; }
  .reason-card__title {
    font-size: 28px;
    line-height: 1.3;
  }
  .reason-card__title-big {
    font-size: 1.3em;
  }
  .reason-card__text {
    font-size: 13px;
    margin-bottom: 0;
  }
  .reason-card__icon {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 90px;
    height: 90px;
    opacity: 0.4;
    margin: 0;
  }

  /* Features */
  .features { padding: 50px 20px; }
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .feature-card {
    padding: 16px 6px 14px;
    border-radius: 20px;
  }
  .feature-card__icon {
    width: 48px;
    height: 48px;
  }
  .feature-card__text { font-size: 11px; }

  /* Cases (Swiper有効) */
  .cases { padding: 50px 0 50px; }
  .cases .section-title { margin-bottom: 32px; }

  .cases__swiper {
    padding: 0 20px;
    overflow: hidden;
  }

  .cases__grid {
    display: flex !important;
    grid-template-columns: none;
    gap: 0;
    align-items: stretch;
  }

  .swiper-slide.case-card {
    width: 100% !important;
    height: auto;
    box-sizing: border-box;
  }

  .case-card { padding: 24px 20px; }
  .case-card__name { font-size: 24px; }
  .case-card__desc { font-size: 13px; }
  .case-stat {
    padding: 12px 16px;
  }
  .case-stat__big { font-size: 36px; }

  .cases__pagination { display: block !important; }

  /* Flow */
  .flow { padding: 50px 20px; }
  .flow__grid {
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
  }
  .flow-step {
    width: 100%;
    flex-direction: row;
    text-align: left;
    padding: 20px;
    gap: 16px;
    align-items: center;
  }
  .flow-step__head {
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
  }
  .flow-step__label { font-size: 10px; }
  .flow-step__number { font-size: 28px; }
  .flow-step__icon {
    width: 64px;
    height: 64px;
    margin: 0;
    flex-shrink: 0;
  }
  .flow-step__body { flex: 1; }
  .flow-step__title { font-size: 18px; }
  .flow-step__desc { font-size: 12px; }

  .flow-step__arrow {
    transform: rotate(0deg);
    width: auto;
    font-size: 20px;
  }

  /* FAQ */
  .faq { padding: 50px 20px; }
  .faq-item__question {
    padding: 16px 20px;
    gap: 12px;
  }
  .faq-item__text { font-size: 13px; }
  .faq-item__answer {
    padding: 0 20px 18px;
    gap: 12px;
  }

  /* Contact */
  .contact { padding: 50px 20px 70px; }
  .contact__card { padding: 32px 20px; }
  .contact__title { font-size: 20px; }
  .form-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  /* Modal */
  .modal__content { padding: 24px 20px; }

  /* CTA */
  .cta {
    padding: 60px 24px 80px;
  }
  .cta__logo { height: 28px; }
  .cta__tag { font-size: 12px; margin-bottom: 24px; }
  .cta__title {
    font-size: 42px;
    margin-bottom: 14px;
  }
  .cta__lead {
    font-size: 15px;
    margin-bottom: 32px;
  }
  .cta__features {
    gap: 8px;
    margin-bottom: 32px;
  }
  .cta__feature-icon {
    width: 56px;
    height: 56px;
    padding: 12px;
  }
  .cta__feature-text { font-size: 11px; }

  .cta__badge {
    width: 130px;
    margin-top: 28px;
  }

  /* Footer */
  .footer { padding: 24px 20px 28px; }
  .footer__inner { gap: 14px; }
  .footer__nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer__nav a + a::before { display: none; }
  .footer__logo { height: 24px; }

  /* Thanks */
  .thanks { padding: 50px 20px; }
  .thanks__inner { padding: 40px 24px; }
  .thanks__title { font-size: 22px; }
}

@media (max-width: 480px) {
  /* PC\u30bf\u30a4\u30c8\u30eb\u306f\u3082\u3046\u4f7f\u308f\u308c\u306a\u3044\u305f\u3081\u4e0d\u8981\u3002SP\u30bf\u30a4\u30c8\u30eb\u306fclamp()\u3067\u81ea\u52d5\u8abf\u6574 */
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .case-stat__big { font-size: 32px; }
  .cta__title { font-size: 36px; }

  /* \u72ed\u3044\u753b\u9762\u3067\u306f\u30bf\u30a4\u30c8\u30eb\u3092\u3055\u3089\u306b\u8a70\u3081\u308b */
  /* 狭い画面ではタイトルをさらに詰める */
  .fv__features li { min-height: 152px; padding: 18px 6px 16px; }
  .fv__feature-text { font-size: 13px; }
  .fv__feature-sub { font-size: 10px; }
}
