/* ============================================================
   FixShot Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* --- Design Tokens --- */
:root {
  --primary: #FF2E93;
  --primary-light: #FFE0F0;
  --primary-dark: #D61E7A;
  --primary-glow: rgba(255, 46, 147, 0.2);
  --text-dark: #1F2937;
  --text-body: #4B5563;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --border-light: rgba(0, 0, 0, 0.05);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 10px 30px var(--primary-glow);
  --header-height: 100px;
  --container: 1440px;
  --section-py: 140px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
}
.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary-light);
}

.btn--white {
  background: #fff;
  color: var(--primary);
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn--white:hover {
  background: var(--bg-light);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn i {
  font-size: 1.2em;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.header-logo i {
  font-size: 1.8rem;
}
.header-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
}
.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 100px) 0 120px;
  background: linear-gradient(135deg, #FFF5F9 0%, #FFFFFF 50%, #F9FAFB 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-light) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 46, 147, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.hero-title .accent {
  color: var(--primary);
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  min-width: 0;
  position: relative;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.hero-composite {
  position: relative;
}
.hero-screenshot {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.hero-popup {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 38%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border-light);
}
.feature-screenshot {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
.feature-row-image .feature-screenshot--small,
.card .feature-screenshot--small {
  width: 60%;
  display: block;
  margin: 0 auto;
}
.feature-row-image .feature-screenshot--xs,
.card .feature-screenshot--xs {
  width: 40%;
  display: block;
  margin: 0 auto;
}

.hero-image img:not(.hero-popup) {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

/* --- Page Hero (subpages) --- */
.page-hero {
  padding: calc(var(--header-height) + 80px) 0 72px;
  background: linear-gradient(135deg, #FFF5F9 0%, #FFFFFF 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .section-eyebrow {
  display: none;
}

.page-hero-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  position: relative;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  position: relative;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  gap: 36px;
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon i {
  font-size: 28px;
  color: var(--primary);
}

.card--horizontal .card-header-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}
.card--horizontal .card-header-row .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.card--horizontal .card-header-text .card-title {
  margin-bottom: 8px;
}
.card--horizontal .card-header-text .card-text {
  margin-bottom: 0;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.85;
}

/* Alt card on bg-light */
.section--alt .card {
  box-shadow: var(--shadow-sm);
}
/* card hover shadow removed */

/* Static cards: no hover effects (guide page etc.) */
.card--static {
  cursor: default;
}
.card--static:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}
.section--alt .card--static:hover {
  box-shadow: var(--shadow-sm);
}

/* --- Feature Showcase (alternating rows) --- */
.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 72px;
}
.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-row-content {
  flex: 1;
  min-width: 0;
}

.feature-row-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
  line-height: 1.3;
}
.pro-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 14px 5px;
  border-radius: var(--radius-pill);
  vertical-align: middle;
  letter-spacing: 0.04em;
  line-height: 1;
}
.pro-label--sm {
  font-size: 0.75rem;
  padding: 2px 10px 4px;
}

.feature-row-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 28px;
}

.feature-row-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-row-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
}
.feature-row-list li i {
  color: var(--primary);
  font-size: 1.2rem;
}

.feature-row-image {
  flex: 1;
  min-width: 0;
}

.feature-row-image img,
.feature-row-image .image-placeholder {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.image-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border: 1px solid var(--border-light);
}

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 56px 36px;
  position: relative;
  counter-increment: step;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Step connectors */
.step-image {
  margin-top: 20px;
  max-width: 80%;
  border-radius: var(--radius-md);
}
.step-image-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.step-image-row .step-image {
  max-width: 45%;
  margin-top: 0;
}

.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 76px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

/* --- Pricing --- */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 36px;
  max-width: 880px;
  margin: 0 auto;
}
.pricing-grid--3col {
  max-width: 1100px;
  gap: 28px;
  position: relative;
  padding-top: 48px;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  flex: 1;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border: 2px solid #E5E7EB;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.pricing-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pricing-card-body .pricing-features {
  flex: 1;
}

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* Ribbon label for featured card */
.pricing-ribbon {
  position: absolute;
  top: 20px;
  right: -34px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 40px;
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(255, 46, 147, 0.3);
}
.pricing-card--guest {
  background: var(--bg-white);
}
.pricing-card--free {
  overflow: hidden;
}
.pricing-ribbon--gray {
  background: #9CA3AF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.pricing-guest-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F3F4F6;
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  vertical-align: middle;
  margin-left: 8px;
}
.pricing-pro-tagline {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-plan-name {
  font-size: 1.3rem;
  margin-bottom: 8px;
  min-height: 1.6em;
  display: flex;
  align-items: center;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.pricing-price .currency {
  font-size: 1.5rem;
}
.pricing-price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}
.pricing-tax {
  font-size: 0.75rem;
}

.pricing-toggle {
  display: none;
}
/* (pricing-card-col removed — cards are flat flex children) */
.pricing-toggle-above {
  position: absolute;
  top: -30px;
  /* Proカード（3列目）の中央に配置:
     Proカード左端 = 66.66% + gap(28px*2/3=19px) ≈ calc(66.66% + 19px)
     Proカード幅 ≈ calc(33.33% - 19px)
     トグル幅 = calc(33.33% - 100px)
     left = カード左端 + (カード幅 - トグル幅) / 2
          = calc(66.66% + 19px) + calc((100px - 19px) / 2)
          = calc(66.66% + 59.5px) */
  left: calc(66.66% + 64px);
  width: calc(33.33% - 110px);
  display: flex;
  justify-content: center;
  gap: 0;
  background: #f1f1f1;
  border-radius: var(--radius-pill);
  padding: 4px;
}

.pricing-toggle-btn {
  padding: 10px 25px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pricing-toggle-btn.is-active {
  background: var(--bg-white);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.pricing-toggle-save {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E5E7EB;
}
.pricing-desc--strong {
  color: var(--text-body);
  font-weight: 600;
}

.pricing-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
}
.pricing-plan-header .pricing-plan-name {
  margin-bottom: 0;
}

/* Inline toggle inside Pro card */
.pricing-toggle-inline {
  display: flex;
  background: var(--bg-light);
  border-radius: var(--radius-pill);
  padding: 2px;
}
.pricing-toggle-btn-sm {
  padding: 4px 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.pricing-toggle-btn-sm.is-active {
  background: var(--bg-white);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}
.pricing-toggle-save-sm {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 1px 5px;
  border-radius: var(--radius-pill);
}

.pricing-features {
  margin-bottom: 0;
}
.pricing-features li i.ri-check-line {
  color: var(--primary);
  font-weight: 700;
}
.pricing-features--compact li {
  margin-bottom: 6px;
}
.pricing-features li.is-highlight strong {
  background: linear-gradient(transparent 60%, rgba(255, 46, 147, 0.15) 60%);
}
.pricing-includes {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.pricing-features li i {
  font-size: 1.2rem;
}
.pricing-features li i.ri-check-circle-fill {
  color: #10B981;
}
.pricing-features li i.ri-close-circle-line {
  color: #D1D5DB;
}
.pricing-features li.is-disabled {
  color: #D1D5DB;
  text-decoration: line-through;
  text-decoration-color: #E5E7EB;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

/* --- Comparison Table --- */
.compare-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid #F3F4F6;
}

.compare-feature-col {
  text-align: left !important;
  width: 40%;
}

.compare-plan-col {
  width: 20%;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 20px !important;
}

.compare-plan-col--featured {
  color: var(--primary);
  position: relative;
}
.compare-plan-col--guest {
  color: var(--text-muted);
  font-weight: 500;
}

.compare-plan-price {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.compare-table td:first-child {
  text-align: left;
  color: var(--text-body);
}

.compare-category td {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left !important;
  padding-top: 28px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E5E7EB;
  background: transparent;
}

.compare-check {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.compare-cross {
  color: #D1D5DB;
  font-size: 1.2rem;
}

.compare-text {
  font-size: 0.88rem;
  color: var(--text-body);
  font-weight: 500;
}

.compare-text--accent {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 600px) {
  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  .compare-plan-col {
    font-size: 0.95rem;
  }
}

/* --- CTA Section --- */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(15deg);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  position: relative;
  color: #fff;
}

.cta-text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 44px;
  position: relative;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--border-light);
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 500;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '\ea4e'; /* ri-add-line */
  font-family: 'remixicon';
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: '\f1af'; /* ri-subtract-line */
}

.faq-item summary:hover {
  background: transparent;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Policy Pages (terms, privacy, tokushoho) --- */
.policy-stack {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.policy-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
}
.policy-card h2 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.policy-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
}
.policy-card ul {
  margin-top: 8px;
  padding-left: 20px;
  list-style: disc;
}
.policy-card ul li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 4px;
}
.policy-card a {
  color: var(--primary);
  text-decoration: underline;
}

/* --- Info Table (company page) --- */
.info-table {
  max-width: 700px;
  margin: 0 auto;
}
.info-table dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  border-top: 1px solid var(--border-light);
}
.info-table dt,
.info-table dd {
  padding: 20px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.info-table dt {
  font-weight: 500;
  background: var(--bg-light);
}
.info-table dd {
  color: var(--text-body);
}
.info-table dd a {
  color: var(--primary);
}

/* --- Contact --- */
.contact-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.contact-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* --- Footer --- */
.site-footer {
  background: var(--text-dark);
  color: #fff;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-brand i {
  color: var(--primary);
  font-size: 1.5rem;
}
.footer-logo-img {
  height: 24px;
  width: auto;
}

.footer-about {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-column ul li {
  margin-bottom: 12px;
}
.footer-column ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-column ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.15s; }
.stagger > *:nth-child(5) { transition-delay: 0.2s; }
.stagger > *:nth-child(6) { transition-delay: 0.25s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --section-py: 100px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-image { max-width: 600px; margin: 0 auto; }

  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
    gap: 40px;
  }

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

  .pricing-grid { flex-direction: column; max-width: 420px; }
  .pricing-grid--3col { max-width: 420px; }

  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .step-card::after { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 72px;
    --header-height: 72px;
  }

  .header-nav,
  .header-actions .btn--outline {
    display: none;
  }
  .hamburger { display: flex; }

  /* Mobile menu */
  .header-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 32px 24px;
    gap: 8px;
    z-index: 999;
  }
  .header-nav.is-open a {
    font-size: 1.15rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .info-table dl {
    grid-template-columns: 1fr;
  }
  .info-table dt {
    border-bottom: none;
    padding-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn--lg {
    padding: 14px 24px;
    font-size: 1rem;
  }
}
