/* ============================================
   サブスクHP - スタイルシート
   ============================================ */

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

:root {
  --color-primary: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-primary-light: #DBEAFE;
  --color-primary-lighter: #EFF6FF;
  --color-accent: #06C755;
  --color-accent-dark: #05A847;
  --color-accent-light: #ECFDF5;
  --color-text: #1E293B;
  --color-text-sub: #64748B;
  --color-bg: #FFFFFF;
  --color-bg-sub: #F8FAFC;
  --color-border: #E2E8F0;
  --font-family: 'Noto Sans JP', sans-serif;
  --header-height: 72px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.10), 0 8px 20px rgba(0,0,0,0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

ul, ol {
  list-style: none;
}

/* --- 共通ユーティリティ --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background-color: var(--color-bg-sub);
  position: relative;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--color-text);
  letter-spacing: -0.02em;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #60A5FA);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-sub);
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.8;
}

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

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: gap 0.3s, border-color 0.3s;
}

.link-more:hover {
  gap: 12px;
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary);
}

/* --- CTAボタン --- */
.cta-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #06C755 0%, #05B84D 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-line:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(6, 199, 85, 0.4);
}

.cta-line:hover::before {
  left: 100%;
}

.cta-line--small {
  font-size: 13px;
  padding: 8px 20px;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.25);
}

.cta-line--large {
  font-size: 18px;
  padding: 20px 56px;
  box-shadow: 0 6px 24px rgba(6, 199, 85, 0.35);
}

/* --- CTAセクション --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 30%, #3B82F6 70%, #60A5FA 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px;
  right: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  bottom: -150px;
  left: -50px;
}

.cta-section .cta-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  letter-spacing: -0.01em;
}

.cta-section .cta-sub {
  font-size: 16px;
  margin-bottom: 36px;
  opacity: 0.85;
  position: relative;
}

.cta-section .cta-line {
  position: relative;
  background: linear-gradient(135deg, #06C755 0%, #05B84D 100%);
}

/* ============================================
   ヘッダー
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s, background-color 0.3s;
}

.header--scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  background-color: rgba(255, 255, 255, 0.97);
}

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

.header__logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.header__logo span {
  background: linear-gradient(135deg, var(--color-primary), #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__logo img {
  height: 36px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding: 4px 0;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-primary);
}

.header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), #60A5FA);
  border-radius: 1px;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1100;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* オーバーレイ */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ============================================
   フッター
   ============================================ */
.footer {
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  color: #CBD5E1;
  padding: 72px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.footer__info p {
  font-size: 14px;
  line-height: 1.8;
  color: #94A3B8;
}

.footer__nav-title {
  font-size: 13px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__nav-list a {
  display: block;
  font-size: 14px;
  color: #94A3B8;
  padding: 6px 0;
  transition: color 0.3s, transform 0.2s;
}

.footer__nav-list a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: #475569;
}

/* ============================================
   フローティングCTA（SPのみ）
   ============================================ */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cta.visible {
  transform: translateY(0);
}

.floating-cta .cta-line {
  width: 100%;
  font-size: 15px;
  padding: 14px;
  border-radius: 12px;
}

/* ============================================
   ファーストビュー（Hero）
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 120px;
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 35%, #3B82F6 65%, #60A5FA 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* 背景の装飾パターン */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* 幾何学模様の装飾 */
.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero__catch {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 24px;
  position: relative;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.hero__sub {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 44px;
  position: relative;
  line-height: 1.8;
}

.hero .cta-line {
  position: relative;
  font-size: 18px;
  padding: 20px 56px;
}

/* ============================================
   お悩みセクション
   ============================================ */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.problem-card__icon {
  font-size: 44px;
  margin-bottom: 16px;
  display: block;
}

.problem-card__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================
   選ばれる理由
   ============================================ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.reason-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.reason-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), #3B82F6);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.reason-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.reason-card__text {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-top: 8px;
}

/* ============================================
   料金プランカード（トップページ要約）
   ============================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.plan-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  background: var(--color-bg);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.plan-card--recommended {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.plan-card--recommended:hover {
  box-shadow: var(--shadow-xl);
}

.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), #3B82F6);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 24px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  letter-spacing: 0.05em;
}

.plan-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.plan-card__price {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.plan-card__price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-sub);
}

.plan-card__tax {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 20px;
}

.plan-card__desc {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 20px;
}

.plan-card__features {
  text-align: left;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.plan-card__features li {
  font-size: 14px;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-card__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-card__features li.not-included {
  color: var(--color-text-sub);
  opacity: 0.6;
}

.plan-card__features li.not-included::before {
  content: '×';
  color: #CBD5E1;
}

/* ============================================
   料金プラン詳細ページ
   ============================================ */
.plan-detail-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  background: var(--color-bg);
  transition: transform 0.3s, box-shadow 0.3s;
}

.plan-detail-card:hover {
  box-shadow: var(--shadow-lg);
}

.plan-detail-card--recommended {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--color-primary-lighter) 0%, var(--color-bg) 20%);
}

.plan-detail-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), #3B82F6);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 24px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.plan-detail-card__name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.plan-detail-card__price {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.plan-detail-card__price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-sub);
}

.plan-detail-card__tax {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

.plan-detail-card__desc {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 28px;
}

.plan-detail-card__features {
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}

.plan-detail-card__features li {
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-detail-card__features li:last-child {
  border-bottom: none;
}

.plan-detail-card__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}

.plan-detail-card__features li.not-included {
  color: var(--color-text-sub);
  opacity: 0.6;
}

.plan-detail-card__features li.not-included::before {
  content: '×';
  color: #CBD5E1;
  background: var(--color-bg-sub);
}

/* オプションテーブル */
.option-section {
  margin-top: 0;
}

.option-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.option-table th,
.option-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.option-table th {
  background: linear-gradient(135deg, var(--color-bg-sub), #F1F5F9);
  font-weight: 700;
  color: var(--color-text);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.option-table td {
  background: var(--color-bg);
  color: var(--color-text);
}

.option-table tr:last-child td {
  border-bottom: none;
}

/* ============================================
   フローステップ（トップ要約）
   ============================================ */
.flow-steps {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
}

/* ステップ間の接続線 */
.flow-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary), var(--color-primary-light));
  z-index: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-step__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary-light), #EFF6FF);
  border: 3px solid var(--color-bg);
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 26px;
}

.flow-step__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-step__title {
  font-size: 14px;
  font-weight: 700;
}

/* ============================================
   フロー詳細ページ
   ============================================ */
.flow-detail {
  max-width: 720px;
  margin: 0 auto;
}

.flow-detail-item {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--color-border);
}

.flow-detail-item:last-child {
  border-bottom: none;
}

.flow-detail-item__badge {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary), #3B82F6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.flow-detail-item__badge span {
  font-size: 24px;
}

.flow-detail-item__content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.flow-detail-item__content p {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.flow-note {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--color-primary-lighter);
  border-radius: var(--radius-sm);
}

/* ============================================
   制作実績
   ============================================ */

/* テンプレ不使用の訴求 */
.works-note {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 36px 32px;
  background: linear-gradient(135deg, var(--color-primary-lighter), #EFF6FF);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-primary-light);
}

.works-note__text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
}

.works-note__text strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* カードグリッド */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.works-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}

.works-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.works-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-bg-sub), #EFF6FF);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.works-card__thumb-icon {
  font-size: 56px;
  opacity: 0.7;
  transition: transform 0.3s;
}

.works-card:hover .works-card__thumb-icon {
  transform: scale(1.1);
}

.works-card__thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.works-card__thumb-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  background: rgba(37, 99, 235, 0.9);
  border-radius: 50px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.works-card:hover .works-card__thumb-overlay {
  background: rgba(37, 99, 235, 0.15);
}

.works-card:hover .works-card__thumb-overlay span {
  opacity: 1;
  transform: translateY(0);
}

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

.works-card__industry {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.works-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.works-card__desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin-bottom: 8px;
}

.works-card__url {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 500;
  opacity: 0.7;
}

.works-card__plan {
  font-size: 13px;
  color: var(--color-text-sub);
}

.works-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-text-sub);
  font-size: 16px;
}

/* ============================================
   FAQ アコーディオン
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-family);
  line-height: 1.6;
  transition: color 0.3s;
}

.faq-item__question:hover {
  color: var(--color-primary);
}

.faq-item__question::after {
  content: '';
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-left: 16px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s, background-image 0.3s;
}

.faq-item.active .faq-item__question::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item__answer p {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ============================================
   特徴ページ
   ============================================ */
.feature-block {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}

.feature-block:last-of-type {
  border-bottom: none;
}

.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-block__icon {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--color-primary-light), #EFF6FF);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  box-shadow: var(--shadow-sm);
}

.feature-block__content {
  flex: 1;
}

.feature-block__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.feature-block__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.feature-block__text {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-bottom: 8px;
}

.feature-block__note {
  font-size: 14px;
  color: var(--color-text-sub);
  background: linear-gradient(135deg, var(--color-bg-sub), #F1F5F9);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  border-left: 3px solid var(--color-primary);
}

/* ============================================
   法的ページ（特商法・プライバシー）
   ============================================ */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.legal-table th,
.legal-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  vertical-align: top;
}

.legal-table th {
  width: 200px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-bg-sub), #F1F5F9);
  color: var(--color-text);
}

.legal-table td {
  color: var(--color-text);
  background: var(--color-bg);
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: none;
}

.privacy-section {
  margin-bottom: 44px;
}

.privacy-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-left: 18px;
  border-left: 4px solid var(--color-primary);
  line-height: 1.4;
}

.privacy-section p {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.privacy-section ul {
  padding-left: 20px;
}

.privacy-section ul li {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
  position: relative;
  padding-left: 16px;
}

.privacy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.privacy-date {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-top: 48px;
  text-align: right;
}

/* ============================================
   パンくずリスト
   ============================================ */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--color-text-sub);
}

.breadcrumb a {
  color: var(--color-text-sub);
  transition: color 0.2s;
}

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

.breadcrumb span {
  margin: 0 8px;
  color: #CBD5E1;
  font-size: 11px;
}

/* ページヘッダー */
.page-header {
  background: linear-gradient(135deg, var(--color-bg-sub) 0%, #EFF6FF 100%);
  padding: 110px 0 44px;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.page-header__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

/* ============================================
   フェードインアニメーション
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   レスポンシブ（SP: ~768px）
   ============================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .section {
    padding: 64px 0;
  }

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

  .section-title::after {
    width: 36px;
    margin-top: 12px;
  }

  /* ヘッダー SP */
  .hamburger {
    display: flex;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 80px 28px 28px;
    gap: 0;
    z-index: 1050;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .header__nav.active {
    display: flex;
  }

  .header__nav a {
    font-size: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .header__nav a.active::after {
    display: none;
  }

  .header__nav .cta-line--small {
    margin-top: 20px;
    border-bottom: none;
    text-align: center;
    padding: 14px 24px;
  }

  /* フローティングCTA */
  .floating-cta {
    display: block;
  }

  /* ファーストビュー SP */
  .hero {
    padding: 120px 0 80px;
  }

  .hero__catch {
    font-size: 26px;
  }

  .hero__sub {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .cta-line--large {
    font-size: 16px;
    padding: 16px 36px;
  }

  /* お悩み SP */
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 理由 SP */
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reason-card {
    padding: 28px 20px;
  }

  /* プランカード SP */
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* フローステップ SP */
  .flow-steps {
    flex-direction: column;
    gap: 20px;
  }

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

  .flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .flow-step__icon {
    margin: 0;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    font-size: 22px;
  }

  /* 制作実績 SP */
  .works-grid {
    grid-template-columns: 1fr;
  }

  /* 特徴ブロック SP */
  .feature-block,
  .feature-block:nth-child(even) {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .feature-block__icon {
    width: 100px;
    height: 100px;
    font-size: 44px;
    margin: 0 auto;
  }

  .feature-block__title {
    font-size: 20px;
  }

  /* フロー詳細 SP */
  .flow-detail-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  /* 法的テーブル SP */
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    padding-bottom: 6px;
    border-bottom: none;
  }

  .legal-table td {
    padding-top: 6px;
    padding-bottom: 18px;
  }

  /* ページヘッダー SP */
  .page-header {
    padding: 80px 0 32px;
  }

  .page-header__title {
    font-size: 24px;
  }

  /* CTA SP */
  .cta-section .cta-heading {
    font-size: 22px;
  }

  /* フッター SP */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* body padding for floating CTA */
  body {
    padding-bottom: 72px;
  }
}
