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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  background: #f4f7f8; /* Ice Gray */
  color: #1A1A2E;
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

/* ===========================
   CSS Variables — LINEMOカラー
   =========================== */
:root {
  /* LINEMO Brand Colors */
  --primary: #00C53A;        /* LINEMO Green */
  --primary-dark: #009E2E;   /* LINEMO Green Dark */
  --primary-light: #E6FFF0;  /* Green tint BG */
  --cta: #6A3DF5;            /* LINEMO Purple CTA */
  --cta-dark: #5527D6;       /* Purple Dark */
  --cta-hover: #7B52F7;      /* Purple Hover */

  /* Accent */
  --accent-yellow: #FFD600;
  --accent-pink: #FF5C8A;
  --accent-orange: #FF8C00;

  /* BG / Text */
  --bg-light: #f4f7f8;
  --bg-white: #FFFFFF;
  --bg-green-soft: #f4f7f8;
  --text-dark: #1A1A2E;
  --text-mid: #555577;
  --text-light: #AAAACC;

  /* Shadow / Layout */
  --shadow: 0 4px 20px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.06);
  --radius: 16px;
  --radius-sm: 8px;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3 {
  line-height: 1.4;
  font-weight: 900;
}

h1 { font-size: clamp(1.3rem, 5vw, 2rem); }
h2 { font-size: clamp(1.2rem, 4.5vw, 1.7rem); }
h3 { font-size: clamp(1rem, 4vw, 1.3rem); }

.highlight {
  background: linear-gradient(transparent 50%, #B9FFD0 50%);
  font-weight: 700;
}

strong {
  color: var(--primary-dark);
  font-weight: 700;
}

/* ===========================
   Layout
   =========================== */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 48px 0;
  background: transparent !important;
  border-bottom: 1px solid #f0f4f8;
}
section:last-child {
  border-bottom: none;
}

.site-wrapper {
  max-width: 960px;
  margin: 32px auto 64px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  overflow: hidden;
}

@media (max-width: 840px) {
  .site-wrapper {
    margin: 16px 12px 40px;
    border-radius: 12px;
  }
}

/* ===========================
   Site Header (Replaced with Top Page styles below)
   =========================== */

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: transparent;
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero-label {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.hero h1 {
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero h1 em {
  color: var(--primary-dark);
  font-style: normal;
}

.hero-lead {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.badge {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
}

/* ===========================
   CTA Button (Main) — Purple
   =========================== */
.cta-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #6A3DF5 0%, #8A5CF7 100%);
  color: white;
  text-align: center;
  padding: 20px 16px;
  border-radius: 60px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 24px rgba(106,61,245,0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  animation: pulse-btn 2.5s ease-in-out infinite;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.30), transparent);
  animation: shine 3s ease-in-out infinite;
}

.cta-btn:active {
  transform: scale(0.97);
}

@keyframes pulse-btn {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 24px rgba(106,61,245,0.45); }
  50% { transform: scale(1.025); box-shadow: 0 10px 36px rgba(106,61,245,0.65); }
}

@keyframes shine {
  0% { left: -100%; }
  30%, 100% { left: 150%; }
}

.cta-btn-sub {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #00E045 100%);
  color: white;
  text-align: center;
  padding: 18px 16px;
  border-radius: 60px;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 6px 24px rgba(0,197,58,0.40);
  cursor: pointer;
  border: none;
}

.cta-micro {
  text-align: center;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.micro-chip {
  background: #F0EDFF;
  border: 1.5px solid var(--cta);
  color: var(--cta-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.cta-speech {
  position: relative;
  background: #F0FFF5;
  border: 2px dashed var(--primary);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.cta-speech::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid var(--primary);
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #00E045);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.section-label.purple {
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
}

.section-label.green {
  background: linear-gradient(135deg, #00B050, #00C53A);
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  border-radius: 4px;
}

/* ===========================
   Pain Point Section
   =========================== */
.pain-section {
  background: transparent;
}

.pain-intro {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  text-align: center;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-left: 4px solid var(--primary);
  font-size: 0.97rem;
  line-height: 1.6;
}

.check-list li .check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  margin-top: 1px;
}

.agitation-box {
  background: linear-gradient(135deg, #F0FFF5, #E6FFEE);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
}

.agitation-box::before {
  content: '⚠️';
  display: block;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1;
  background: transparent;
}

.agitation-box p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-dark);
}

/* ===========================
   Solution Section
   =========================== */
.solution-section {
  background: transparent;
}

.step-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.step-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--cta);
}

.step-num {
  min-width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
}

.step-num strong {
  font-size: 1.2rem;
  color: white;
}

.step-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--cta-dark);
}

.step-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===========================
   LINEMO Benefits Box
   =========================== */
.linemo-box {
  background: linear-gradient(135deg, #E6FFF0 0%, #F0FFF5 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 24px;
}

.linemo-box h3 {
  color: var(--primary-dark);
  margin-bottom: 16px;
  text-align: center;
}

.linemo-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.benefit-icon {
  font-size: 1.4rem;
  min-width: 32px;
  text-align: center;
}

.benefit-text {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-dark);
}

.benefit-text span {
  font-weight: 400;
  color: var(--text-mid);
  font-size: 0.85rem;
}

/* ===========================
   Comparison Table
   =========================== */
.compare-section {
  background: transparent;
}

.table-scroll-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: white;
}

.compare-table th {
  padding: 12px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  background: #F8F9FA;
  border-bottom: 2px solid #E0E0E0;
}

.compare-table th.highlight-col {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
}

.best-badge {
  display: block;
  font-size: 0.65rem;
  background: var(--accent-yellow);
  color: #5A3E00;
  padding: 2px 6px;
  border-radius: 20px;
  margin: 4px auto 0;
  width: fit-content;
  font-weight: 700;
}

.compare-table td {
  padding: 12px 10px;
  font-size: 0.88rem;
  text-align: center;
  border-bottom: 1px solid #F0F0F0;
  color: var(--text-mid);
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.compare-table td.highlight-col {
  background: #E6FFF0;
  color: var(--primary-dark);
  font-weight: 700;
}

.compare-table tr:hover td {
  background: #FAFAFA;
}

.compare-table tr:hover td.highlight-col {
  background: #D0FFE3;
}

.star-row { font-size: 0.8rem; }

/* ===========================
   Safety Settings Timeline
   =========================== */
.safety-section {
  background: transparent;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--cta));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  animation: fadeInLeft 0.5s ease both;
}

.timeline-item:nth-child(2) { animation-delay: 0.1s; }
.timeline-item:nth-child(3) { animation-delay: 0.2s; }
.timeline-item:nth-child(4) { animation-delay: 0.3s; }
.timeline-item:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.timeline-dot {
  position: absolute;
  left: -25px;
  top: 12px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary), #00E045);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,197,58,0.40);
  z-index: 1;
}

.timeline-card {
  background: white;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-left: 4px solid var(--primary);
}

.timeline-card .setting-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.setting-icon { font-size: 1.1rem; }

.timeline-card p {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.safety-note {
  background: linear-gradient(135deg, #E6FFF0, #F0FFF5);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 8px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--primary-dark);
  font-weight: 700;
}

/* ===========================
   Offer Section
   =========================== */
.offer-section {
  background: transparent;
}

.offer-box {
  background: white;
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--cta);
  margin-bottom: 24px;
}

.offer-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--cta-dark);
  margin-bottom: 20px;
}

.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.offer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 700;
}

.offer-list li .ok {
  color: var(--primary-dark);
  font-size: 1.2rem;
  min-width: 24px;
}

.price-highlight {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  margin-bottom: 20px;
}

.price-label {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 4px;
}

.price-main {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.price-main small {
  font-size: 0.9rem;
  font-weight: 700;
}

.price-sub {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 6px;
}

/* Campaign banner */
.campaign-banner {
  background: linear-gradient(135deg, #FFD600, #FFC000);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  margin-bottom: 16px;
  color: #5A3E00;
  font-weight: 700;
  font-size: 0.92rem;
}

.campaign-banner .cam-title {
  font-size: 1rem;
  margin-bottom: 4px;
}

.campaign-banner .cam-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: #E60026;
}

/* ===========================
   Review Cards
   =========================== */
.review-section {
  background: linear-gradient(180deg, #F8F9FA 0%, #F7FFF8 100%);
}

.review-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--primary);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 3rem;
  color: #C8FFD8;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
}

.avatar.green  { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.avatar.purple { background: linear-gradient(135deg, var(--cta), var(--cta-hover)); }
.avatar.teal   { background: linear-gradient(135deg, #00897B, #00ACC1); }

.reviewer-info .name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.reviewer-info .meta {
  font-size: 0.78rem;
  color: var(--text-light);
}

.stars {
  color: #FFC107;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.review-text {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* ===========================
   FAQ Section
   =========================== */
.faq-section {
  background: var(--bg-white);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  background: white;
  border-radius: 12px;
  border: 2px solid #E0E0F0;
  overflow: hidden;
  transition: border-color 0.3s;
}

details[open] {
  border-color: var(--primary);
}

summary {
  list-style: none;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

summary::-webkit-details-marker { display: none; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.faq-arrow {
  margin-left: auto;
  color: var(--text-light);
  font-size: 0.8rem;
  transition: transform 0.3s;
}

details[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 14px 18px 18px 58px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-mid);
  border-top: 1px solid #F0F0F0;
}

/* ===========================
   Summary Section
   =========================== */
.summary-section {
  background: linear-gradient(135deg, #F0EDFF 0%, #E6FFF0 100%);
}

.summary-box {
  background: white;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.summary-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #F8F9FA;
  border-radius: 10px;
}

.summary-steps li::before {
  content: counter(step);
  min-width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

.summary-note {
  background: #F0FFF5;
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--primary-dark);
}

/* ===========================
   PR Notice
   =========================== */
.pr-notice {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  padding: 8px 0;
  border-top: 1px dashed #E0E0E0;
  margin-top: -20px;
  margin-bottom: 24px;
}

/* ===========================
   Floating CTA Button — Purple
   =========================== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: white;
  padding: 12px 16px 16px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  border-top: 3px solid var(--primary);
}

.floating-cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.floating-micro {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.floating-chip {
  font-size: 0.72rem;
  color: var(--primary-dark);
  font-weight: 700;
  background: #E6FFF0;
  padding: 3px 10px;
  border-radius: 50px;
}

.floating-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #6A3DF5 0%, #8A5CF7 100%);
  color: white;
  text-align: center;
  padding: 17px 16px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(106,61,245,0.45);
  border: none;
  cursor: pointer;
  animation: pulse-float 2.5s ease-in-out infinite;
  overflow: hidden;
  position: relative;
}

.floating-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.30), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes pulse-float {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.02); }
}

/* ===========================
   Unified Top-Page Header & Footer
   =========================== */
.site-header {
  position: sticky; top: 0; width: 100%; z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 0; /* Override LP padding */
}
.header-inner { max-width: 1080px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; }
.header-logo img { height: 40px; width: auto; display: block; }
.catchphrase { font-size: 11px; color: #666666; margin-top: 2px; }
.header-nav ul { display: flex; gap: 24px; padding: 0; margin: 0; list-style: none; }
.header-nav a { font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.header-nav a:hover { color: #3b82f6; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #333333; }
.desktop-only { display: flex !important; }
.mobile-only { display: none !important; }
@media screen and (max-width: 960px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  .header-nav { display: none; }
  .menu-toggle { display: block; }
}

/* Footer */
.site-footer { background: #1e293b; color: #f8fafc; padding: 60px 20px 20px; margin-top: 60px; text-align: left; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; border-bottom: 1px solid #334155; padding-bottom: 40px; }
.footer-profile { flex: 1; text-align: left; }
.profile-header { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-bottom: 16px; }
.profile-img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid #fff; }
.profile-name { font-weight: 700; font-size: 18px; margin: 0; }
.profile-job { font-size: 12px; color: #94a3b8; margin: 0; }
.profile-text { font-size: 14px; color: #cbd5e1; line-height: 1.8; margin: 0; }
.read-more { color: #38bdf8; margin-left: 8px; text-decoration: underline; font-weight: 700; }
.footer-nav-wrap { display: flex; gap: 60px; }
.widget-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: #fff; text-align: left; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 0; margin: 0; list-style: none; }
.footer-nav a { color: #cbd5e1; font-size: 14px; font-weight: 500; text-decoration: none; }
.footer-nav a:hover { color: #38bdf8; }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 12px; color: #64748b; font-weight: 700; border: none; }
@media screen and (max-width: 960px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ===========================
   Scroll Reveal Animation
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Utility
   =========================== */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

.divider {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  border-radius: 4px;
  margin: 0;
}

/* ===========================
   Desktop Enhancements
   =========================== */
@media (min-width: 600px) {
  .step-cards    { display: grid; grid-template-columns: repeat(2, 1fr); }
  .step-card     { flex-direction: column; align-items: center; text-align: center; }
  .review-cards  { flex-direction: row; }
  .review-card   { flex: 1; }
}

@media (min-width: 768px) {
  .floating-cta { display: none; }
}

/* ===========================
   Breadcrumbs (上品・モダン)
   =========================== */
.breadcrumbs {
  padding: 16px 28px 10px;
  font-size: 0.78rem;
  color: #999;
  letter-spacing: 0.02em;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: '/';
  margin: 0 7px;
  color: #ccc;
  font-weight: 300;
}

.breadcrumbs a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumbs a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.breadcrumbs li:last-child {
  color: #888;
  line-height: 1.5;
}

/* ===========================
   Table of Contents (上品・モダン)
   =========================== */
.toc {
  background: #fafafa;
  border: 1px solid #eaeaea;
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 28px 0 8px;
}

.toc-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toc-title::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.toc li {
  border-bottom: 1px solid #f0f0f0;
}

.toc li:last-child {
  border-bottom: none;
}

.toc li a {
  display: block;
  padding: 8px 4px;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1.5;
}

.toc li a:hover {
  color: var(--primary-dark);
  padding-left: 6px;
}
