/**
 * 翻訳研究室 - ランディングページ
 * Black Slate スタイル（ダークテーマ + ゴールドアクセント）
 * ConoHa / WordPress 対応
 */

/* ========================================
   CSS Variables (Design Tokens)
   ======================================== */
:root {
  /* Colors - Black Slate Theme */
  --bg-primary: #0a1628;
  --bg-secondary: #0f1f35;
  --bg-card: #142842;
  --text-primary: #e8eef5;
  --text-secondary: #b8c5d4;
  --text-muted: #7a8fa3;
  --accent-gold: #c9a227;
  --accent-gold-hover: #dbb83a;
  --accent-gold-muted: rgba(201, 162, 39, 0.3);
  --border: rgba(184, 197, 212, 0.15);
  --border-light: rgba(184, 197, 212, 0.08);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Times New Roman", Times, "Hiragino Mincho ProN", serif;

  /* Spacing */
  --section-padding: 5rem 0;
  --container-max: 1200px;
  --nav-height: 70px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

/* ========================================
   Base / Reset
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* 固定ナビ＋テーマヘッダー分 */
}

/* セクションへのスクロール時の余白 */
section[id] {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* テーマのローディングスピナー（くるくる）を非表示 */
.preloader,
.loader,
.loading,
.page-loader,
[class*="preload"],
[class*="preloader"],
[class*="spinner"],
[class*="loading-spinner"],
.pace {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

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

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-gold-hover);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ========================================
   Layout - Container
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   Navigation
   ======================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-base);
}

nav.scrolled {
  background: rgba(10, 22, 40, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo:hover {
  color: var(--accent-gold);
}

.logo-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold-muted);
}

.btn-block {
  width: 100%;
  margin-top: 1.5rem;
}

.btn-lg {
  font-size: 1.125rem;
  padding: 1.25rem 2.5rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) 1.5rem 4rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

/* テーマの回転する台形・装飾を非表示 */
.hero::before,
.hero::after,
#lp-home::before,
#lp-home::after,
.hero [class*="shape"],
.hero [class*="decoration"],
.hero [class*="parallax"],
.hero [class*="animated"],
.hero [class*="trapezoid"],
.hero [class*="rotate"],
.hero .parallax,
.hero .animated-bg {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.hero *,
.hero *::before,
.hero *::after {
  animation: none !important;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* 屋号「翻訳研究室」：字間を広く */
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-primary);
  letter-spacing: 0.18em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ========================================
   Section Common
   ======================================== */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* 改行されると不自然なフレーズを1行に保つ */
.section-subtitle .keep {
  white-space: nowrap;
}

.section-alt {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.service-icon {
  margin-bottom: 1rem;
  text-align: center;
}

.service-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.95;
}

.service-card h3 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.service-card > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.7;
}

.service-features {
  margin-top: 1rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-features li::before {
  content: "•";
  flex-shrink: 0;
  color: var(--accent-gold);
  font-size: 1em;
  line-height: 1.5;
}

/* ========================================
   Portfolio Section
   ======================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.portfolio-item:hover {
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.portfolio-category {
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.portfolio-item h3 {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.portfolio-item > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.portfolio-item .tag {
  font-size: 0.8rem;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.pricing-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px var(--accent-gold);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.price-unit {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
}

.pricing-note p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ========================================
   Clients Section
   ======================================== */
.clients-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.client-category-title {
  font-size: 1.125rem;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.client-logo {
  padding: 0.75rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}


.clients-note {
  text-align: center;
  margin-top: 3rem;
}

.clients-note p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ========================================
   Process Section（lp-flow- でテーマ干渉を回避）
   ======================================== */
/* テーマのタイムライン・縦書きを無効化 */
#lp-process.lp-flow-section .lp-flow-list,
#lp-process.lp-flow-section .lp-flow-step,
#lp-process.lp-flow-section .lp-flow-side,
#lp-process.lp-flow-section .lp-flow-box {
  border-left: none !important;
}

#lp-process.lp-flow-section .lp-flow-list::before,
#lp-process.lp-flow-section .lp-flow-list::after,
#lp-process.lp-flow-section .lp-flow-step::before,
#lp-process.lp-flow-section .lp-flow-step::after,
#lp-process.lp-flow-section .lp-flow-side::before,
#lp-process.lp-flow-section .lp-flow-side::after {
  display: none !important;
}

.lp-flow-list {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 0;
}

/* ①〜④を結ぶ縦線（①の上・④の下にはみ出さない） */
.lp-flow-connector {
  position: absolute;
  left: 21px;
  top: calc(2rem + 22px); /* ①の中心から開始 */
  bottom: calc(2rem + 22px); /* ④の中心で終了 */
  width: 2px;
  background: var(--accent-gold-muted);
  z-index: 0;
}

.lp-flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s ease;
}

.lp-flow-step:last-of-type {
  border-bottom: none;
}

.lp-flow-step.focused .lp-flow-num {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px var(--accent-gold-muted);
}

.lp-flow-step.focused .lp-flow-box {
  border-color: var(--accent-gold-muted);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.15);
}

/* 番号：ボックスの左上、線の上に配置 */
.lp-flow-side {
  flex-shrink: 0;
  width: 44px;
  display: flex;
  justify-content: center;
}

.lp-flow-num {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-gold) !important;
  color: var(--bg-primary) !important;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* 見出し：文字サイズ拡大、ボックスの上に配置 */
.lp-flow-main {
  flex: 1;
  min-width: 0;
}

.lp-flow-title {
  margin: 0 0 0.75rem !important;
  font-size: 1.35rem !important;
  color: var(--text-primary) !important;
  font-weight: 600;
  line-height: 1.4;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
}

/* 説明文をボックスで囲む */
.lp-flow-box {
  padding: 1.25rem 1.5rem;
  margin-top: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lp-flow-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
  line-height: 1.7;
}

.lp-flow-box ul {
  margin: 0 0 1rem;
  padding-left: 0;
  list-style: none;
}

.lp-flow-box li {
  position: relative;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 1.25rem;
}

.lp-flow-box li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--accent-gold);
  font-weight: normal;
  font-size: 1em;
}

.lp-flow-note {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid var(--accent-gold-muted);
  border-radius: 6px;
  font-style: normal;
}

.process-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.process-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .process-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

.highlight-item {
  text-align: center;
  padding: 1.25rem 1rem;
}

.highlight-item h4 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.highlight-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

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

/* ========================================
   FAQ Section（アコーディオン・JSで開閉）
   ======================================== */
#lp-faq .lp-faq-container {
  max-width: 700px;
  margin: 0 auto;
}

#lp-faq .lp-faq-item {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
  transition: box-shadow var(--transition-fast);
}

#lp-faq .lp-faq-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

#lp-faq .lp-faq-question {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: var(--bg-card);
  transition: background var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

#lp-faq .lp-faq-question:hover {
  background: rgba(20, 40, 66, 0.8);
}

#lp-faq .lp-faq-item.active .lp-faq-question {
  border-bottom: 1px solid var(--border);
}

/* 質問文：横書き・自然に表示 */
#lp-faq .lp-faq-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  line-height: 1.5;
  text-align: left;
}

#lp-faq .lp-faq-toggle {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--accent-gold);
  transition: transform 0.25s ease;
  line-height: 1;
}

#lp-faq .lp-faq-item.active .lp-faq-toggle {
  transform: rotate(45deg);
}

/* 閉じた状態：回答を非表示 */
#lp-faq .lp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

#lp-faq .lp-faq-item.active .lp-faq-answer {
  max-height: 400px;
}

#lp-faq .lp-faq-answer p {
  display: block;
  padding: 1rem 1.5rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  line-height: 1.6;
  text-align: left;
  width: 100%;
}

/* ========================================
   Blog Section
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.blog-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.blog-image {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.blog-category {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.blog-content h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.5;
}

.blog-content > p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.65;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.blog-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ========================================
   Profile Section
   ======================================== */
.profile-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.profile-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold);
  color: var(--bg-primary);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
}

.profile-content h3 {
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
  color: var(--text-primary);
}

.profile-title {
  font-size: 0.95rem;
  color: var(--accent-gold);
  margin: 0 0 1rem !important;
}

.profile-content > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.7;
}

.social-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.social-links h4 {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.social-icon:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-form-fields {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.required {
  color: var(--accent-gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

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

.contact-info {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact-info-title {
  color: var(--text-muted);
  margin-bottom: 1rem !important;
}

.contact-info p {
  margin: 0.5rem 0;
  color: var(--text-secondary);
}

.contact-info a {
  color: var(--accent-gold);
}

.contact-note {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  margin-top: 1rem !important;
}

/* ========================================
   Footer
   ======================================== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.footer-section p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-section a {
  color: var(--text-muted);
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-box {
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  margin-right: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* ========================================
   Scroll Animation (base)
   ======================================== */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .nav-links li a {
    font-size: 0.85rem;
  }

  .lp-flow-connector {
    left: 17px;
    width: 2px;
    top: calc(1.5rem + 18px); /* ①の中心から（モバイル：番号36px） */
    bottom: calc(1.5rem + 18px); /* ④の中心で終了 */
  }

  .lp-flow-step {
    padding: 1.5rem 0;
  }

  .lp-flow-side {
    width: 36px;
  }

  .lp-flow-num {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .lp-flow-title {
    font-size: 1.15rem !important;
  }

  .lp-flow-box {
    padding: 1rem 1.25rem;
  }

  .profile-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

/* ========================================
   特定商取引法ページ (Tokutei Sho Torihiki Ho)
   ======================================== */
.tokutei-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  padding: 2rem 0 4rem;
}

.tokutei-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tokutei-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 0;
  color: var(--accent-gold);
  font-size: 0.95rem;
  font-weight: 500;
}

.tokutei-page .back-link:hover {
  color: var(--accent-gold-hover);
}

.tokutei-page h1 {
  font-size: 1.75rem;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-gold);
}

.tokutei-page .section {
  margin-bottom: 2.5rem;
}

.tokutei-page .section h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--accent-gold);
}

.tokutei-page .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.tokutei-page .info-item {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.tokutei-page .info-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.tokutei-page .info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.tokutei-page .highlight-box {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-gold-muted);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.tokutei-page .highlight-box h3 {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.tokutei-page .payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tokutei-page .payment-method {
  padding: 0.5rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
}

.tokutei-page .refund-policy {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.tokutei-page .refund-policy h4 {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.tokutei-page .refund-policy ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.tokutei-page .refund-policy li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tokutei-page .contact-info {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.tokutei-page .contact-info h3 {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.tokutei-page .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tokutei-page .contact-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.tokutei-page .last-updated {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   サービス利用規約ページ (Terms of Service)
   テーマのレイアウトオーバーライド（WordPress/Cocoon用）
   ======================================== */
body.page-slug-terms .sidebar-area,
body.page-slug-terms .side-area,
body.page-slug-terms #sidebar,
body.page-slug-terms .sidebar,
body.page-slug-terms aside.sidebar {
  display: none !important;
}

body.page-slug-terms .main,
body.page-slug-terms #main,
body.page-slug-terms .content-in {
  width: 100% !important;
  max-width: 100% !important;
}

body.page-slug-terms .main-wrap,
body.page-slug-terms .content,
body.page-slug-terms .entry-content {
  background: transparent !important;
}

body.page-slug-terms .entry-content-wrap,
body.page-slug-terms .post {
  background: transparent !important;
}

.terms-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  padding: 2rem 0 4rem;
}

.terms-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.terms-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 0;
  color: var(--accent-gold);
  font-size: 0.95rem;
  font-weight: 500;
}

.terms-page .back-link:hover {
  color: var(--accent-gold-hover);
}

.terms-page h1 {
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-gold);
}

.terms-page .terms-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 2rem;
}

.terms-page .terms-article {
  margin-bottom: 2.5rem;
}

.terms-page .terms-article h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--accent-gold);
}

.terms-page .terms-article h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.terms-page .terms-article h3:first-of-type {
  margin-top: 0;
}

.terms-page .terms-article p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 1rem;
}

.terms-page .terms-article ol,
.terms-page .terms-article ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.terms-page .terms-article ol {
  list-style: decimal;
}

.terms-page .terms-article ul {
  list-style: disc;
}

.terms-page .terms-article li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.terms-page .terms-article a {
  color: var(--accent-gold);
}

.terms-page .terms-supplement {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.terms-page .terms-footer {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 2rem 0 1.5rem;
  line-height: 1.6;
}

.terms-page .terms-links {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.terms-page .terms-links a {
  display: inline-block;
  margin: 0.5rem 0;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.terms-page .terms-links a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* ========================================
   プライバシーポリシーページ (Privacy Policy)
   tokutei/terms と同様のシンプルなスタイル
   ======================================== */
.privacy-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  padding: 2rem 0 4rem;
}

.privacy-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.privacy-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 0;
  color: var(--accent-gold);
  font-size: 0.95rem;
  font-weight: 500;
}

.privacy-page .back-link:hover {
  color: var(--accent-gold-hover);
}

.privacy-page h1 {
  font-size: 1.75rem;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-gold);
}

.privacy-page .privacy-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 2.5rem;
}

.privacy-page .section {
  margin-bottom: 2.5rem;
}

.privacy-page .section h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--accent-gold);
}

.privacy-page .section h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.privacy-page .section h3:first-of-type {
  margin-top: 0;
}

.privacy-page .section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 1rem;
}

.privacy-page .section ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.privacy-page .section li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.privacy-page .section a {
  color: var(--accent-gold);
}

.privacy-page .privacy-note {
  padding-left: 1rem;
  border-left: 3px solid var(--accent-gold);
  margin: 1rem 0;
}

.privacy-page .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.privacy-page .info-item {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.privacy-page .info-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.privacy-page .info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.privacy-page .contact-info {
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border);
}

.privacy-page .contact-info h3 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.privacy-page .contact-info p {
  margin: 0 0 0.5rem;
}

.privacy-page .contact-info a {
  color: var(--accent-gold);
}

.privacy-page .contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.privacy-page .last-updated {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.privacy-page .privacy-links {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.privacy-page .privacy-links a {
  display: inline-block;
  margin: 0.5rem 0.5rem 0.5rem 0;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.privacy-page .privacy-links a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}
