@charset "UTF-8";
/* ============================================
   Base CSS - CSS Variables
   ============================================ */

:root {
  /* Colors */
  --color-accent-primary: #F59E0B;
  --color-accent-hover: #D97706;
  --color-accent-dark: #B45309;
  --color-accent-light: #FCD34D;
  
  --color-text-primary: #1e293b;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;
  
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  
  --color-success: #10B981;
  --color-success-light: #D1FAE5;
  --color-warning: #F59E0B;
  --color-warning-light: #FEF3C7;
  --color-danger: #EF4444;
  --color-danger-light: #FEE2E2;
  --color-info: #3B82F6;
  --color-info-light: #DBEAFE;
  
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  
  /* Typography */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}
/* ============================================
   Components CSS
   Programming School Affiliate Site
   ============================================ */

/* ============================================
   1. CTA Button (Style K)
   ============================================ */

.cta-box {
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.cta-box .cta-content {
  flex: 1;
  color: white;
}

.cta-box .cta-school-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cta-box .cta-desc {
  font-size: 12px;
  opacity: 0.9;
}

.cta-box .cta-button {
  background: white;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
  color: #B45309;
}

.cta-box .cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* School Colors */
.cta-box.cta-techacademy {
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
}
.cta-box.cta-techacademy .cta-button { color: #1565C0; }

.cta-box.cta-codecamp {
  background: linear-gradient(135deg, #FFC107 0%, #F9A825 100%);
}
.cta-box.cta-codecamp .cta-content { color: #333; }
.cta-box.cta-codecamp .cta-button { color: #F57F17; }

.cta-box.cta-dmm {
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}
.cta-box.cta-dmm .cta-button { color: #C2185B; }

.cta-box.cta-runteq {
  background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}
.cta-box.cta-runteq .cta-button { color: #2E7D32; }

.cta-box.cta-techcamp {
  background: linear-gradient(135deg, #212121 0%, #000000 100%);
}
.cta-box.cta-techcamp .cta-button { color: #212121; }

.cta-box.cta-samurai {
  background: linear-gradient(135deg, #FF5722 0%, #E64A19 100%);
}
.cta-box.cta-samurai .cta-button { color: #D84315; }

.cta-box.cta-potepan {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}
.cta-box.cta-potepan .cta-button { color: #1565C0; }

.cta-box.cta-daitra {
  background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
}
.cta-box.cta-daitra .cta-button { color: #00838F; }

.cta-box.cta-aidemy {
  background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}
.cta-box.cta-aidemy .cta-button { color: #6A1B9A; }

/* Responsive */
@media (max-width: 480px) {
  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 12px;
  }
  .cta-box .cta-button {
    width: 100%;
    padding: 12px 20px;
  }
}

/* ============================================
   2. School Card
   ============================================ */

.school-card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
  position: relative;
  margin: 20px 0;
}

.school-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.school-card__badge {
  position: absolute;
  top: -8px;
  right: 16px;
  background-color: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.school-card__logo {
  max-width: 140px;
  max-height: 40px;
  object-fit: contain;
  margin-bottom: 12px;
}

.school-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.school-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.school-card__stars {
  color: #F59E0B;
  font-size: 14px;
}

.school-card__score {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.school-card__info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.school-card__info-item {
  font-size: 13px;
  color: #64748b;
}

.school-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.school-card__tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: #FEF3C7;
  color: #92400E;
}

.school-card__tag--success {
  background-color: #D1FAE5;
  color: #065F46;
}

.school-card__actions {
  display: flex;
  gap: 10px;
}

.school-card__btn {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.school-card__btn--primary {
  background-color: #F59E0B;
  color: white;
}

.school-card__btn--primary:hover {
  background-color: #D97706;
  color: white;
}

.school-card__btn--secondary {
  background-color: #f1f5f9;
  color: #475569;
}

.school-card__btn--secondary:hover {
  background-color: #e2e8f0;
  color: #1e293b;
}

/* ============================================
   3. Comparison Table
   ============================================ */

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  text-align: center;
  vertical-align: middle;
}

.comparison-table thead th {
  background-color: #F59E0B;
  color: white;
  font-weight: 700;
  font-size: 13px;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.comparison-table tbody tr:hover {
  background-color: #fef3c7;
}

.comparison-table .school-name-cell {
  min-width: 120px;
  font-weight: 600;
}

.comparison-table .school-logo {
  max-width: 80px;
  max-height: 28px;
  object-fit: contain;
}

.comparison-table .rank {
  font-weight: 700;
  font-size: 15px;
}

.comparison-table .rank-1 { color: #F59E0B; }
.comparison-table .rank-2 { color: #94a3b8; }
.comparison-table .rank-3 { color: #CD7F32; }

.comparison-table .rating-good { color: #10B981; font-weight: 600; }
.comparison-table .rating-normal { color: #64748b; }
.comparison-table .rating-bad { color: #EF4444; }

/* ============================================
   4. Conclusion Box
   ============================================ */

.conclusion-box {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-left: 5px solid #F59E0B;
  border-radius: 0 12px 12px 0;
  padding: 24px;
  margin: 24px 0;
}

.conclusion-box__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #92400E;
  margin-bottom: 12px;
}

.conclusion-box__title::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #F59E0B;
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.conclusion-box__content {
  font-size: 15px;
  line-height: 1.8;
  color: #78350F;
}

/* ============================================
   5. Recommend Box
   ============================================ */

.recommend-box {
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.recommend-box--positive {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.recommend-box--negative {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
}

.recommend-box__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.recommend-box--positive .recommend-box__title {
  color: #065F46;
}

.recommend-box--negative .recommend-box__title {
  color: #991B1B;
}

.recommend-box__title::before {
  font-size: 18px;
}

.recommend-box--positive .recommend-box__title::before {
  content: "○";
  color: #10B981;
}

.recommend-box--negative .recommend-box__title::before {
  content: "×";
  color: #EF4444;
}

.recommend-box__content {
  font-size: 14px;
  line-height: 1.8;
}

.recommend-box--positive .recommend-box__content {
  color: #047857;
}

.recommend-box--negative .recommend-box__content {
  color: #B91C1C;
}

/* ============================================
   6. FAQ Accordion
   ============================================ */

.faq-section {
  margin: 32px 0;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background-color: #f8fafc;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #f1f5f9;
}

.faq-question::before {
  content: "Q.";
  color: #F59E0B;
  font-weight: 700;
  margin-right: 8px;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: #94a3b8;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer__inner {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}

.faq-answer__inner::before {
  content: "A.";
  color: #10B981;
  font-weight: 700;
  margin-right: 8px;
}

/* ============================================
   7. Author Box
   ============================================ */

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #FFFBEB;
  border: 1px solid #FEF3C7;
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.author-box__image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-box__info {
  flex: 1;
}

.author-box__name {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.author-box__title {
  font-size: 13px;
  color: #D97706;
  margin: 0 0 10px 0;
}

.author-box__bio {
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

@media (max-width: 480px) {
  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ============================================
   8. Related Link Box
   ============================================ */

.related-link-box {
  background-color: #f1f5f9;
  border-left: 4px solid #F59E0B;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.related-link-box__inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-link-box__label {
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
}

.related-link-box__link {
  font-size: 14px;
  font-weight: 600;
  color: #1E88E5;
  text-decoration: none;
}

.related-link-box__link:hover {
  text-decoration: underline;
  color: #1565C0;
}

/* ============================================
   9. Basic Info Table
   ============================================ */

.school-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.school-info-table th {
  width: 30%;
  background-color: #f8fafc;
  padding: 14px 16px;
  text-align: left;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  color: #475569;
}

.school-info-table td {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

@media (max-width: 480px) {
  .school-info-table th,
  .school-info-table td {
    display: block;
    width: 100%;
  }
  .school-info-table th {
    border-bottom: none;
  }
  .school-info-table td {
    border-top: none;
  }
}

/* ============================================
   10. Price Table
   ============================================ */

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.price-table th {
  background-color: #10B981;
  color: white;
  padding: 12px 14px;
  border: 1px solid #059669;
  font-weight: 600;
}

.price-table td {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.price-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.price-table .price-highlight {
  color: #EF4444;
  font-weight: 700;
  font-size: 16px;
}

.price-table .price-original {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 13px;
}

/* ============================================
   11. VS Comparison Table
   ============================================ */

.vs-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.vs-comparison-table th,
.vs-comparison-table td {
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  text-align: center;
}

.vs-comparison-table thead th {
  background-color: #1e293b;
  color: white;
  font-weight: 600;
}

.vs-comparison-table thead th .school-logo {
  max-width: 100px;
  max-height: 32px;
}

.vs-comparison-table tbody th {
  background-color: #f1f5f9;
  font-weight: 600;
  color: #475569;
  text-align: left;
  width: 25%;
}

.vs-comparison-table tbody tr:hover {
  background-color: #fef3c7;
}

/* ============================================
   12. Step List
   ============================================ */

.step-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  counter-reset: step-counter;
}

.step-list__item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 24px;
  counter-increment: step-counter;
}

.step-list__item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: white;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  width: 2px;
  height: calc(100% - 20px);
  background-color: #FCD34D;
}

.step-list__title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.step-list__content {
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
}

/* ============================================
   13. Badge
   ============================================ */

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
}

.badge--primary {
  background-color: #F59E0B;
  color: white;
}

.badge--success {
  background-color: #10B981;
  color: white;
}

.badge--info {
  background-color: #3B82F6;
  color: white;
}

.badge--warning {
  background-color: #F59E0B;
  color: white;
}

.badge--danger {
  background-color: #EF4444;
  color: white;
}

.badge--outline {
  background-color: transparent;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

/* ============================================
   14. Alert Box
   ============================================ */

.alert-box {
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-box--info {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

.alert-box--success {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.alert-box--warning {
  background-color: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #92400E;
}

.alert-box--danger {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.alert-box__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.alert-box__content {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   15. TOC (Table of Contents)
   ============================================ */

.toc-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.toc-box__title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F59E0B;
}

.toc-box__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-box__item {
  margin-bottom: 8px;
}

.toc-box__link {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #475569;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.toc-box__link:hover {
  background-color: #FEF3C7;
  color: #92400E;
}

.toc-box__item--h3 .toc-box__link {
  padding-left: 28px;
  font-size: 13px;
}

/* ============================================
   16. Scroll Progress Bar
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #F59E0B 0%, #D97706 100%);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* ===========================================
   FAQアコーディオン
   =========================================== */

.faq-section {
  margin: var(--space-10) 0;
}

.faq-section__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: var(--color-text-primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-bg-primary);
}

.faq-question {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-bg-secondary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--color-bg-tertiary);
}

.faq-question__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-color: var(--color-accent-primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
}

.faq-question__text {
  flex: 1;
}

.faq-question__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.faq-item.is-open .faq-question__arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--color-success);
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-sm);
  margin-right: var(--space-3);
  vertical-align: middle;
}

.faq-answer__text {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* FAQレスポンシブ */
@media (max-width: 768px) {
  .faq-question {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
  }
  
  .faq-question__icon,
  .faq-answer__icon {
    width: 24px;
    height: 24px;
    font-size: var(--text-xs);
  }
  
  .faq-answer {
    padding: var(--space-4);
  }
}

/* CocoonのFAQスタイルを上書き */
.faq-item .faq-question::before {
  display: none !important;
}

/* ===========================================
   基本情報テーブル
   =========================================== */

.school-info-table-wrap {
  margin: var(--space-8) 0;
}

.school-info-table__logo {
  text-align: center;
  margin-bottom: var(--space-4);
}

.school-info-table__logo img {
  max-width: 180px;
  height: auto;
}

.school-info-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
}

.school-info-table th,
.school-info-table td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  text-align: left;
}

.school-info-table th {
  width: 30%;
  background-color: var(--color-bg-secondary);
  font-weight: 600;
  color: var(--color-text-primary);
}

.school-info-table td {
  background-color: var(--color-bg-primary);
}

@media (max-width: 768px) {
  .school-info-table th,
  .school-info-table td {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
  }
  
  .school-info-table th {
    width: 35%;
  }
}

/* ===========================================
   料金テーブル
   =========================================== */

.price-table-wrap {
  margin: var(--space-8) 0;
}

.price-table__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
}

.price-table thead th {
  background-color: var(--color-accent-primary);
  color: #FFFFFF;
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--color-accent-hover);
}

.price-table tbody td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  text-align: center;
}

.price-table tbody tr:nth-child(even) {
  background-color: var(--color-bg-secondary);
}

.price-table__price {
  font-weight: 700;
  color: var(--color-accent-dark);
  font-size: var(--text-lg);
}

.price-table__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .price-table thead th,
  .price-table tbody td {
    padding: var(--space-2);
    font-size: var(--text-sm);
  }
  
  .price-table__price {
    font-size: var(--text-base);
  }
}

/* ===========================================
   関連記事リンクボックス
   =========================================== */

.related-link-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  background-color: var(--color-bg-secondary);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent-primary);
  margin: var(--space-6) 0;
}

.related-link-box__icon {
  color: var(--color-accent-primary);
  font-size: var(--text-sm);
}

.related-link-box__label {
  font-weight: 600;
  color: var(--color-text-secondary);
}

.related-link-box__link {
  color: var(--color-accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.related-link-box__link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .related-link-box {
    padding: var(--space-3);
  }
}

/* ===========================================
   おすすめしないボックス
   =========================================== */

.not-recommended-box {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin: var(--space-6) 0;
}

.not-recommended-box__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.not-recommended-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #EF4444;
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-sm);
}

.not-recommended-box__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #DC2626;
}

.not-recommended-box__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.not-recommended-box__item {
  position: relative;
  padding-left: var(--space-6);
  color: var(--color-text-primary);
}

.not-recommended-box__item::before {
  content: "▲";
  position: absolute;
  left: 0;
  color: #EF4444;
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .not-recommended-box {
    padding: var(--space-4);
  }
}

/* ============================================
   追加修正CSS
   ============================================ */

/* CTAボタン センター寄せ */
.cta-box {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

/* FAQ アコーディオン修正 */
.faq-question::before,
.faq-question::after {
  display: none !important;
  content: none !important;
}

.faq-answer {
  display: none !important;
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.faq-item.is-open .faq-answer {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
}

.faq-answer__icon {
  flex-shrink: 0;
  min-width: 28px;
  width: 28px;
  height: 28px;
  background-color: #10B981;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.faq-answer__text {
  flex: 1;
  color: #475569;
  line-height: 1.75;
  padding-top: 4px;
}

/* 関連リンクボックス スタイリッシュ化 */
.related-link-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  padding: 20px 24px;
  border-radius: 12px;
  border: 2px solid #F59E0B;
  margin: 32px auto;
  max-width: 500px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.related-link-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.related-link-box__icon {
  color: #F59E0B;
  font-size: 18px;
  font-weight: bold;
}

.related-link-box__label {
  font-weight: 600;
  color: #92400E;
  font-size: 14px;
}

.related-link-box__link {
  color: #B45309;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.related-link-box__link:hover {
  border-bottom-color: #B45309;
  text-decoration: none;
}

.related-link-box__link::after {
  content: " →";
  display: inline-block;
  transition: transform 0.2s ease;
}

.related-link-box:hover .related-link-box__link::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .related-link-box {
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
  }
}

/* CVボックス（記事末尾） D3: グラデーションボーダー */
.cv_box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  margin: 32px auto;
  max-width: 520px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.cv_box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 50%, #F59E0B 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.cv_box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15);
}

.cv_box p {
  color: #666;
  font-size: 13px;
  margin: 0 0 16px 0;
}

.cv_btn {
  display: inline-block;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cv_btn:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  color: #fff !important;
}

/* ============================================
   レスポンシブ対応（はみ出し防止）
   ============================================ */

/* 全体のはみ出し防止 */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

.wrap,
.content,
.main,
.sidebar,
.entry-content,
.article,
#container,
#content,
.content-in,
.main-in {
  max-width: 100%;
  overflow-x: hidden;
}

/* 画像のはみ出し防止 */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

/* テーブルのはみ出し防止 */
table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* pre/codeのはみ出し防止 */
pre, code {
  max-width: 100%;
  overflow-x: auto;
  word-wrap: break-word;
  white-space: pre-wrap;
}

/* Cocoon目次のはみ出し防止 */
.toc,
.toc-content,
#toc-container,
.ez-toc-container {
  max-width: 100%;
  overflow-x: hidden;
}

/* シェアボタンのはみ出し防止 */
.sns-share,
.sns-share-buttons,
.share-buttons {
  max-width: 100%;
  overflow-x: hidden;
  flex-wrap: wrap;
}

/* CTAボックスのレスポンシブ */
@media (max-width: 480px) {
  .cta-box,
  .cv_box {
    max-width: 100%;
    margin-left: 16px;
    margin-right: 16px;
    padding: 16px;
  }
  
  .cv_btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ヘッダーのはみ出し防止 */
.header,
.header-in,
#header,
#header-in,
.site-name-text,
.tagline {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .site-name-text {
    font-size: 18px !important;
  }
  
  .tagline {
    font-size: 12px !important;
  }
}