/*
Theme Name: TRANSFORM LAB
Theme URI: https://www.zakibenchpress.com
Author: TRANSFORM LAB
Author URI: https://www.zakibenchpress.com
Description: TRANSFORM LABオリジナルテーマ - パーソナルトレーニング・オンラインコーチング
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: transformlab
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0A0A0A;
  color: #CCCCCC;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary:     #0A0A0A;
  --bg-secondary:   #141414;
  --bg-panel:       #1C1C1C;
  --accent:         #CC0000;
  --accent-hover:   #FF1111;
  --text-primary:   #FFFFFF;
  --text-secondary: #CCCCCC;
  --text-muted:     #666666;
  --border:         #2A2A2A;
  --gold:           #C9A84C;
  --font-display:   'Bebas Neue', sans-serif;
  --font-serif:     'Noto Serif JP', serif;
  --font-sans:      'Noto Sans JP', sans-serif;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.section { padding: clamp(80px, 10vw, 140px) 0; }

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 16px 36px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); color: #fff; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 15px 35px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: background 0.4s ease, padding 0.4s ease, transform 0.4s ease;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.site-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}
.site-logo span { color: var(--accent); }

/* WordPress nav menu */
.main-navigation ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-navigation ul li a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s;
}
.main-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.main-navigation ul li a:hover { color: var(--text-primary); }
.main-navigation ul li a:hover::after { width: 100%; }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.mobile-menu ul li a { font-size: 22px; font-weight: 500; color: var(--text-secondary); }
.mobile-menu ul li a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0.25) 100%);
}
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(20px, 5vw, 80px);
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0.9;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(40px, 7vw, 100px);
}
.hero-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease-out 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
}
.hero-title em { color: var(--accent); font-style: normal; }
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(15px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 480px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.8s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease-out 1.0s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2.2s infinite;
}
.hero-scroll span {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}
.hero-scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--accent), transparent); }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* ===== NUMBERS ===== */
.numbers-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.number-item { text-align: center; padding: 20px 32px; border-right: 1px solid var(--border); }
.number-item:last-child { border-right: none; }
.number-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.number-label { font-size: 13px; color: var(--text-muted); }

/* ===== CONCEPT ===== */
.concept-section { background: var(--bg-primary); position: relative; overflow: hidden; }
.concept-section::before {
  content: 'CONCEPT';
  position: absolute;
  top: -20px; right: -20px;
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 180px);
  color: #111;
  line-height: 1;
  pointer-events: none;
}
.concept-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.concept-heading { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 38px); color: var(--text-primary); line-height: 1.5; margin-bottom: 32px; font-weight: 600; }
.concept-body { font-size: 15px; line-height: 2.0; color: var(--text-secondary); margin-bottom: 20px; }
.concept-image { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.concept-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; transition: transform 0.8s ease; }
.concept-image:hover img { transform: scale(1.04); }

/* ===== PROFILE ===== */
.profile-section { background: var(--bg-secondary); }
.profile-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.profile-image { aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; }
.profile-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-name { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); color: var(--text-primary); line-height: 1; margin-bottom: 4px; }
.profile-name-jp { font-family: var(--font-serif); font-size: 18px; color: var(--text-muted); margin-bottom: 32px; }
.profile-body { font-size: 15px; line-height: 2.0; color: var(--text-secondary); margin-bottom: 32px; }
.profile-awards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.profile-award-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-secondary); }
.profile-award-item::before { content: '▸'; color: var(--gold); font-size: 12px; margin-top: 4px; flex-shrink: 0; }

/* ===== SERVICE ===== */
.service-section { background: var(--bg-primary); }
.service-heading-block { text-align: center; margin-bottom: 64px; }
.service-heading { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); color: var(--text-primary); letter-spacing: 0.04em; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.service-card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.service-card:hover { border-color: var(--accent); transform: translateY(-6px); }
.service-card-image { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-card-image img { transform: scale(1.05); }
.service-card-body { padding: 36px; }
.service-card-tag { display: inline-block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; color: var(--accent); border: 1px solid var(--accent); padding: 3px 10px; border-radius: 2px; margin-bottom: 16px; }
.service-card-title { font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 26px); color: var(--text-primary); font-weight: 600; margin-bottom: 16px; line-height: 1.4; }
.service-card-body p { font-size: 14px; line-height: 1.9; color: var(--text-secondary); margin-bottom: 24px; }
.service-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.service-feature { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.service-feature::before { content: ''; display: block; width: 16px; height: 1px; background: var(--accent); flex-shrink: 0; }

/* ===== PLAN ===== */
.plan-section { background: var(--bg-secondary); }
.plan-heading-block { text-align: center; margin-bottom: 64px; }
.plan-heading { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); color: var(--text-primary); letter-spacing: 0.04em; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 8px; padding: 40px 32px; display: flex; flex-direction: column; gap: 24px; transition: border-color 0.3s, transform 0.3s; position: relative; }
.plan-card:hover { border-color: var(--accent); transform: translateY(-6px); }
.plan-card.featured { border-color: var(--accent); }
.plan-card.featured::before { content: 'RECOMMEND'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.15em; padding: 4px 16px; border-radius: 2px; }
.plan-name { font-family: var(--font-display); font-size: 28px; color: var(--text-primary); }
.plan-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-top: -12px; }
.plan-price { font-family: var(--font-display); font-size: clamp(40px, 4vw, 52px); color: var(--accent); line-height: 1; }
.plan-price small { font-family: var(--font-sans); font-size: 14px; color: var(--text-muted); font-weight: 400; }
.plan-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.plan-feature-check { color: var(--accent); font-size: 12px; margin-top: 2px; flex-shrink: 0; }

/* ===== FLOW ===== */
.flow-section { background: var(--bg-primary); }
.flow-heading-block { text-align: center; margin-bottom: 64px; }
.flow-heading { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); color: var(--text-primary); letter-spacing: 0.04em; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.flow-steps::before { content: ''; position: absolute; top: 32px; left: 10%; width: 80%; height: 1px; background: var(--border); }
.flow-step:not(:last-child)::after { content: '→'; position: absolute; right: -18px; top: 24px; font-size: 22px; color: var(--accent); z-index: 2; }
.flow-step { text-align: center; padding: 0 20px; position: relative; }
.flow-step-num { display: inline-flex; align-items: center; justify-content: center; padding: 8px 18px; border-radius: 4px; background: var(--bg-panel); border: 2px solid var(--accent); font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin: 0 auto 24px; position: relative; z-index: 1; white-space: nowrap; }
.flow-step-title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.flow-step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.8; }

/* ===== TESTIMONIALS ===== */
.results-section { background: var(--bg-secondary); }
.results-heading-block { text-align: center; margin-bottom: 64px; }
.results-heading { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); color: var(--text-primary); letter-spacing: 0.04em; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 8px; padding: 32px; }
.testimonial-quote { font-family: var(--font-display); font-size: 48px; color: var(--accent); line-height: 0.8; margin-bottom: 16px; }
.testimonial-text { font-size: 14px; line-height: 1.9; color: var(--text-secondary); margin-bottom: 24px; }
.testimonial-result { display: inline-block; background: rgba(204,0,0,0.1); border: 1px solid rgba(204,0,0,0.3); color: var(--accent); font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 2px; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 20px; }
.testimonial-author-info .name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.testimonial-author-info .meta { font-size: 12px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-primary); }
.faq-heading-block { text-align: center; margin-bottom: 64px; }
.faq-heading { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); color: var(--text-primary); letter-spacing: 0.04em; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--text-primary); transition: color 0.3s; }
.faq-question:hover { color: var(--accent); }
.faq-icon { width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.3s, transform 0.3s; font-size: 14px; color: var(--text-muted); }
.faq-item.open .faq-icon { border-color: var(--accent); transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s ease; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-item.open .faq-answer-inner { padding-bottom: 24px; }
.faq-answer p { font-size: 14px; line-height: 2.0; color: var(--text-secondary); }

/* ===== CTA FINAL ===== */
.cta-section {
  background: linear-gradient(135deg, #1a0000 0%, #0a0a0a 50%, #1a0000 100%);
  border-top: 1px solid rgba(204,0,0,0.3);
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before { content: 'TRANSFORM'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-display); font-size: clamp(80px, 14vw, 220px); color: rgba(204,0,0,0.05); white-space: nowrap; pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta-heading { font-family: var(--font-display); font-size: clamp(36px, 5vw, 72px); color: var(--text-primary); line-height: 1.1; margin-bottom: 16px; letter-spacing: 0.04em; }
.cta-heading span { color: var(--accent); }
.cta-sub { font-family: var(--font-serif); font-size: clamp(15px, 2vw, 18px); color: var(--text-secondary); margin-bottom: 48px; line-height: 1.8; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 24px; font-size: 12px; color: var(--text-muted); }

/* ===== BLOG (INDEX) ===== */
.blog-page { background: var(--bg-primary); min-height: 100vh; padding-top: 100px; }
.blog-header { text-align: center; padding: clamp(60px, 8vw, 120px) 0 60px; }
.blog-title-main { font-family: var(--font-display); font-size: clamp(48px, 6vw, 80px); color: var(--text-primary); letter-spacing: 0.04em; margin-bottom: 16px; }
.blog-subtitle { font-size: 15px; color: var(--text-muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: clamp(80px, 10vw, 140px); }
.blog-card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.blog-card:hover { border-color: #444; transform: translateY(-4px); }
.blog-card-thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--border); }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-thumb .no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 40px; color: var(--border); background: var(--bg-secondary); }
.blog-card-body { padding: 24px; }
.blog-card-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }
.blog-card-title { font-family: var(--font-serif); font-size: 17px; color: var(--text-primary); line-height: 1.6; margin-bottom: 12px; font-weight: 600; }
.blog-card-title a { color: inherit; transition: color 0.3s; }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-date { font-size: 12px; color: var(--text-muted); }
.blog-card-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.8; margin-top: 10px; }

/* Pagination */
.pagination { text-align: center; padding: 48px 0; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; color: var(--text-muted); transition: border-color 0.3s, color 0.3s; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { border-color: var(--accent); color: var(--accent); }

/* ===== SINGLE POST ===== */
.single-post { background: var(--bg-primary); min-height: 100vh; padding-top: 100px; }
.single-header { padding: clamp(60px, 8vw, 100px) 0 48px; }
.post-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.post-title { font-family: var(--font-serif); font-size: clamp(24px, 4vw, 44px); color: var(--text-primary); font-weight: 600; line-height: 1.4; margin-bottom: 20px; }
.post-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 40px; }
.post-thumb { width: 100%; aspect-ratio: auto; overflow: visible; border-radius: 8px; margin-bottom: 60px; }
.post-thumb img { width: 100%; height: auto; object-fit: fill; }
.post-content { max-width: 760px; margin: 0 auto; padding-bottom: clamp(80px, 10vw, 140px); }
.post-content h2 { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 30px); color: var(--text-primary); font-weight: 600; margin: 48px 0 20px; padding-left: 16px; border-left: 3px solid var(--accent); line-height: 1.4; }
.post-content h3 { font-family: var(--font-serif); font-size: clamp(18px, 2.5vw, 24px); color: var(--text-primary); font-weight: 600; margin: 36px 0 16px; }
.post-content p { font-size: 15px; line-height: 2.0; color: var(--text-secondary); margin-bottom: 24px; }
.post-content img { border-radius: 6px; margin: 32px auto; }
.post-content a { color: var(--accent); text-decoration: underline; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 24px; }
.post-content li { font-size: 15px; line-height: 2.0; color: var(--text-secondary); margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--accent); padding: 16px 24px; margin: 32px 0; background: var(--bg-panel); border-radius: 0 4px 4px 0; }
.post-content blockquote p { color: var(--text-secondary); font-style: italic; margin: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--border); padding-top: 40px; margin-top: 60px; }
.post-nav a { display: block; padding: 20px; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 4px; transition: border-color 0.3s; }
.post-nav a:hover { border-color: var(--accent); }
.post-nav .nav-label { font-size: 11px; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 8px; font-family: var(--font-display); }
.post-nav .nav-title { font-size: 14px; color: var(--text-primary); line-height: 1.5; }
.back-to-blog { text-align: center; margin-top: 48px; }

/* ===== FOOTER ===== */
.site-footer { background: #050505; border-top: 1px solid #1C1C1C; padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-logo { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.12em; color: var(--text-primary); margin-bottom: 16px; display: block; }
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 16px; }
.footer-social-link { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-muted); transition: border-color 0.3s, color 0.3s; }
.footer-social-link:hover { border-color: var(--accent); color: var(--accent); }
.footer-nav-title { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.18em; color: var(--text-primary); margin-bottom: 20px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-nav ul li a { font-size: 13px; color: var(--text-muted); transition: color 0.3s; }
.footer-nav ul li a:hover { color: var(--text-primary); }
.footer-contact-item { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; display: flex; gap: 8px; }
.footer-contact-label { color: var(--accent); font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em; min-width: 50px; margin-top: 2px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); transition: color 0.3s; }
.footer-copy a:hover { color: var(--text-primary); }

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] { opacity: 0; transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
[data-animate="fade-up"]    { transform: translateY(60px); }
[data-animate="fade-left"]  { transform: translateX(-60px); }
[data-animate="fade-right"] { transform: translateX(60px); }
[data-animate].is-visible   { opacity: 1; transform: none; }
.stagger > *:nth-child(1) { transition-delay: 0.0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .main-navigation ul { gap: 24px; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item:nth-child(2) { border-right: none; }
  .number-item:nth-child(3),
  .number-item:nth-child(4) { border-top: 1px solid var(--border); }
  .number-item:nth-child(4) { border-right: none; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .flow-steps::before { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .concept-inner, .profile-inner { grid-template-columns: 1fr; }
  .service-grid, .testimonials-grid, .plan-grid, .footer-top { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .concept-image { aspect-ratio: 16/9; }
  .profile-image { aspect-ratio: 4/3; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: flex-start; }
}


/* ===== 固定ページ ===== */
.page-wrapper { padding: 80px 0 120px; min-height: 60vh; }
.page-content { max-width: 860px; margin: 0 auto; }
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.page-body {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
}
.page-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.page-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}
.page-body p { margin-bottom: 16px; }
.page-body ul, .page-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.page-body li { margin-bottom: 6px; }
.page-body a { color: var(--accent); text-decoration: underline; }
.page-body a:hover { opacity: 0.8; }
.page-body strong { color: var(--text-primary); font-weight: 600; }


/* ===== 目次（TOC）===== */
.toc-box {
  background: #ffffff;
  border: 1px solid #ddd;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 32px 0;
}
.toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}
.toc-list .toc-h2 {
  counter-increment: toc-counter;
  margin-bottom: 6px;
}
.toc-list .toc-h2::before {
  content: counter(toc-counter) ". ";
  color: var(--accent);
  font-weight: 600;
}
.toc-list .toc-h3 {
  padding-left: 1.5em;
  margin-bottom: 4px;
  font-size: 0.9rem;
}
.toc-list .toc-h3::before {
  content: "\2013 ";
  color: #888;
}
.toc-list a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.toc-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}
