/* ===== CSS Custom Properties ===== */
:root {
  --color-primary: #f5a623;
  --color-primary-hover: #e09515;
  --color-primary-active: #c8841a;
  --color-secondary: #1a2a4a;
  --color-secondary-light: #2a3f6a;
  --color-accent: #e63946;
  --color-rank-gold: #f5a623;
  --color-rank-silver: #9ba8b5;
  --color-rank-bronze: #cd7f32;
  --color-bg-default: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-bg-dark: #1a2a4a;
  --color-bg-gradient: linear-gradient(135deg, #1a2a4a 0%, #2d4a8a 100%);
  --color-text: #1a1a1a;
  --color-text-light: #555555;
  --color-text-white: #ffffff;
  --color-border: #e0e0e0;
  --color-highlight: #fffbf0;
  --font-family: 'Noto Sans JP', sans-serif;
  --fs-h1: 22px; --fs-h2: 20px; --fs-h3: 18px; --fs-body: 14px; --fs-small: 12px;
  --fw-regular: 400; --fw-bold: 700; --fw-black: 900;
  --lh-heading: 1.4; --lh-body: 1.8;
  --section-padding: 48px 16px;
  --container-max: 1100px;
  --gap-card: 16px;
  --border-radius-sm: 4px; --border-radius-md: 8px; --border-radius-lg: 16px; --border-radius-full: 9999px;
  --shadow-card: 0 2px 12px rgba(0,0,0,.08);
  --shadow-card-hover: 0 6px 24px rgba(0,0,0,.14);
  --shadow-rank1: 0 4px 20px rgba(245,166,35,.35);
  --transition: 300ms ease;
}
@media (min-width: 1024px) {
  :root {
    --fs-h1: 40px; --fs-h2: 32px; --fs-h3: 24px; --fs-body: 16px; --fs-small: 13px;
    --section-padding: 80px 0;
    --gap-card: 24px;
  }
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-family); font-size: var(--fs-body); color: var(--color-text); line-height: var(--lh-body); background: var(--color-bg-default); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ===== Layout ===== */
.l-container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 16px; }
.l-section { padding: var(--section-padding); }
.l-section--bg-alt { background: var(--color-bg-alt); }
.l-section--bg-dark { background: var(--color-bg-dark); color: var(--color-text-white); }

/* ===== CTA Button ===== */
@keyframes btn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes btn-shimmer { 0% { left: -100%; } 100% { left: 200%; } }
.c-cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--color-primary); color: var(--color-text-white);
  border-radius: var(--border-radius-full);
  padding: 14px 32px; font-size: 16px; font-weight: var(--fw-bold);
  box-shadow: 0 4px 12px rgba(245,166,35,.4);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  position: relative; overflow: hidden;
  animation: btn-float 2s ease-in-out infinite;
}
.c-cta-button::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: btn-shimmer 2.5s ease-in-out infinite;
}
.c-cta-button:hover { background: var(--color-primary-hover); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(245,166,35,.6); animation: none; }
.c-cta-button:active { transform: scale(.97); background: var(--color-primary-active); animation: none; }
.c-cta-button--large { padding: 18px 48px; font-size: 18px; }
.c-cta-button--rank1 { background: #e02020; box-shadow: 0 6px 20px rgba(224,32,32,.45); padding: 18px 24px; font-size: 20px; font-weight: 900; width: 100%; justify-content: center; }
.c-cta-button--rank1:hover { background: #c01010; box-shadow: 0 10px 28px rgba(224,32,32,.65); }
@media (min-width: 768px) { .c-cta-button--rank1 { padding: 28px 80px; font-size: 28px; } }
.c-cta-button--small { padding: 10px 20px; font-size: 14px; }
.c-cta-button--secondary { background: var(--color-secondary); box-shadow: none; }
.c-cta-button--secondary:hover { background: var(--color-secondary-light); }

/* ===== Rank Badge ===== */
.c-rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; font-size: 13px; font-weight: var(--fw-black); color: #fff; }
.c-rank-badge--1 { background: var(--color-rank-gold); box-shadow: 0 2px 8px rgba(245,166,35,.4); }
.c-rank-badge--2 { background: var(--color-rank-silver); }
.c-rank-badge--3 { background: var(--color-rank-bronze); }
.c-rank-badge--other { background: var(--color-bg-alt); color: var(--color-text-light); }

/* ===== Star Rating ===== */
.c-star-rating { display: inline-flex; align-items: center; gap: 2px; }
.c-star-rating__star--full, .c-star-rating__star--half { color: var(--color-rank-gold); }
.c-star-rating__star--empty { color: var(--color-border); }
.c-star-rating__score { font-size: 13px; font-weight: var(--fw-bold); margin-left: 4px; color: var(--color-text-light); }

/* ===== Tag ===== */
.c-tag { display: inline-block; background: #e8f0fe; color: var(--color-secondary); border-radius: var(--border-radius-full); padding: 4px 12px; font-size: var(--fs-small); font-weight: var(--fw-bold); }

/* ===== Ribbon ===== */
.c-ribbon { position: absolute; top: -12px; right: 20px; background: var(--color-accent); color: #fff; font-size: 12px; font-weight: var(--fw-bold); padding: 4px 16px; border-radius: var(--border-radius-full); box-shadow: 0 2px 8px rgba(230,57,70,.4); }

/* ===== Scroll Animation ===== */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

/* ===== Header ===== */
.c-header { position: sticky; top: 0; z-index: 1000; background: var(--color-secondary); height: 56px; transition: box-shadow var(--transition); }
.c-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.2); }
.c-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.c-header__logo-text { color: #fff; font-size: 16px; font-weight: var(--fw-bold); }
.c-header__logo-img--sp { display: block; }
.c-header__logo-img--pc { display: none; }
@media (min-width: 1024px) {
  .c-header { height: 70px; }
  .c-header__logo-img--sp { display: none; }
  .c-header__logo-img--pc { display: block; }
}

/* ===== Hero ===== */
.c-hero { position: relative; min-height: 56vw; max-height: 680px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.c-hero__bg { position: absolute; inset: 0; z-index: 0; }
.c-hero__bg::after { content: ''; position: absolute; inset: 0; background: rgba(10,10,30,.65); z-index: 1; }
.c-hero__bg-img { width: 100%; height: 100%; object-fit: cover; }
.c-hero__card-grid { display: flex; width: 100%; height: 100%; }
.c-hero__card-grid img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; display: block; }
.c-hero__content { position: relative; z-index: 1; text-align: center; padding: 80px 0 60px; }
.c-hero__meta { margin-bottom: 16px; }
.c-hero__updated { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); border-radius: var(--border-radius-full); padding: 4px 16px; font-size: var(--fs-small); }
.c-hero__heading { font-size: var(--fs-h1); font-weight: var(--fw-black); line-height: var(--lh-heading); margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.c-hero__sub { font-size: var(--fs-body); line-height: var(--lh-body); margin-bottom: 24px; opacity: .9; max-width: 640px; margin-left: auto; margin-right: auto; }
.c-hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.c-hero__badge { background: rgba(245,166,35,.3); border: 1px solid var(--color-primary); border-radius: var(--border-radius-full); padding: 4px 16px; font-size: var(--fs-small); font-weight: var(--fw-bold); }
.c-hero__cta-wrap { margin-bottom: 40px; }
.c-hero__scroll-hint { margin-top: 32px; }
.c-hero__scroll-arrow { display: block; width: 24px; height: 24px; border-right: 3px solid rgba(255,255,255,.7); border-bottom: 3px solid rgba(255,255,255,.7); transform: rotate(45deg); margin: 0 auto; animation: arrowBounce 1.2s ease infinite; }
@keyframes arrowBounce { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(6px); } }

/* ===== Author ===== */
.c-author__layout { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.c-author__photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--color-primary); }
.c-author__info { text-align: center; }
.c-author__title { font-size: var(--fs-small); color: var(--color-text-light); margin-bottom: 8px; }
.c-author__name { font-size: var(--fs-h2); font-weight: var(--fw-black); margin-bottom: 12px; color: var(--color-secondary); }
.c-author__bio { font-size: var(--fs-body); line-height: var(--lh-body); margin-bottom: 20px; max-width: 600px; }
.c-author__stats { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.c-author__stat { background: var(--color-highlight); border: 1px solid var(--color-border); border-radius: var(--border-radius-md); padding: 12px 20px; text-align: center; }
.c-author__stat-number { display: block; font-size: 20px; font-weight: var(--fw-black); color: var(--color-primary); }
.c-author__stat-label { display: block; font-size: var(--fs-small); color: var(--color-text-light); }
@media (min-width: 768px) {
  .c-author__layout { flex-direction: row; align-items: flex-start; }
  .c-author__info { text-align: left; }
  .c-author__stats { justify-content: flex-start; }
}

/* ===== Why Oripa ===== */
.c-why-oripa { background: #fff; }
.c-why-oripa__intro-box { background: var(--color-primary); border-radius: var(--border-radius-md); padding: 14px 24px; margin-bottom: 28px; display: inline-block; }
.c-why-oripa__intro-label { color: #fff; font-weight: var(--fw-black); font-size: var(--fs-h3); margin: 0; }
.c-why-oripa__text { font-size: var(--fs-body); line-height: 1.8; margin-bottom: 16px; color: var(--color-text); }
.c-why-oripa__problems { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.c-why-oripa__problems li { font-size: var(--fs-body); line-height: 1.8; margin-bottom: 10px; color: var(--color-text); }
.c-why-oripa__key-message { background: #f8f4ff; border-left: 4px solid var(--color-primary); border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0; padding: 20px 24px; margin: 28px 0; }
.c-why-oripa__key-message p { font-size: var(--fs-body); line-height: 1.8; margin: 0 0 8px; }
.c-why-oripa__key-message p:last-child { margin-bottom: 0; }
.c-why-oripa__emphasis { font-size: 1.05em; }
.c-why-oripa__sns-section { margin-top: 40px; }
.c-why-oripa__sns-title { font-size: var(--fs-h3); font-weight: var(--fw-black); color: var(--color-secondary); border-left: 4px solid var(--color-primary); padding-left: 12px; margin-bottom: 20px; }
.c-why-oripa__sns-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
.c-why-oripa__sns-grid img { width: 100%; aspect-ratio: 4/3; object-fit: contain; min-width: 0; border-radius: var(--border-radius-md); background: #fff; }
.c-why-oripa__sns-text { font-size: var(--fs-body); line-height: 1.8; color: var(--color-text); }
@media (min-width: 601px) { .c-why-oripa__sns-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-why-oripa__reason-box { background: var(--color-bg-alt, #f7f8fc); border-radius: var(--border-radius-lg); padding: 32px; margin: 32px 0; }
.c-why-oripa__reason-title { font-size: var(--fs-h3); font-weight: var(--fw-black); color: var(--color-secondary); margin-bottom: 24px; }
.c-why-oripa__reasons { display: flex; flex-direction: column; gap: 20px; }
.c-why-oripa__reason-item { display: flex; gap: 16px; align-items: flex-start; }
.c-why-oripa__reason-num { background: var(--color-accent); color: #fff; font-weight: var(--fw-black); font-size: 0.85rem; border-radius: var(--border-radius-full); min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-why-oripa__reason-item strong { display: block; font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--color-secondary); margin-bottom: 6px; }
.c-why-oripa__reason-item p { font-size: var(--fs-small); line-height: 1.7; margin: 0; color: var(--color-text); }
.c-why-oripa__cta-lead { font-size: var(--fs-body); line-height: 1.8; color: var(--color-text); margin-top: 8px; }
.c-why-oripa__worry-image { text-align: center; margin: 16px 0 24px; }
.c-why-oripa__worry-image img { max-width: 600px; width: 100%; height: auto; }
.c-why-oripa__report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 16px; }
.c-why-oripa__report-item { border-radius: var(--border-radius-md); overflow: hidden; aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; }
.c-why-oripa__report-item img { width: 100%; height: 100%; object-fit: contain; display: block; }
.c-why-oripa__term-box { background: #fffbea; border: 1px solid #f5d84e; border-radius: var(--border-radius-md); padding: 16px 20px; margin: 16px 0 24px; }
.c-why-oripa__term-title { font-weight: var(--fw-bold); font-size: var(--fs-body); margin: 0 0 8px; color: var(--color-secondary); }
.c-why-oripa__term-desc { font-size: var(--fs-small); line-height: 1.8; margin: 0; color: var(--color-text); }

/* ===== Education ===== */
.c-education__heading { font-size: var(--fs-h2); font-weight: var(--fw-black); text-align: center; margin-bottom: 40px; color: var(--color-secondary); }
.c-education__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap-card); margin-bottom: 40px; }
@media (min-width: 768px) { .c-education__grid { grid-template-columns: 1fr 1fr; } }
.c-condition-card { background: #fff; border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary); border-radius: var(--border-radius-md); padding: 24px; }
.c-condition-card__number { display: inline-block; background: var(--color-primary); color: #fff; font-size: 12px; font-weight: var(--fw-black); width: 32px; height: 32px; border-radius: 50%; line-height: 32px; text-align: center; margin-bottom: 12px; }
.c-condition-card__title { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin-bottom: 8px; color: var(--color-secondary); }
.c-condition-card__desc { font-size: var(--fs-body); color: var(--color-text-light); line-height: var(--lh-body); }
.c-education__cta-wrap { text-align: center; }
.c-education__lead { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--color-accent); margin-bottom: 20px; }

/* ===== Ranking Table ===== */
.c-ranking-table-section__heading { font-size: var(--fs-h2); font-weight: var(--fw-black); text-align: center; margin-bottom: 32px; color: var(--color-secondary); }
.c-ranking-table__wrapper { overflow-x: auto; }
.c-ranking-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.c-ranking-table thead th { background: var(--color-secondary); color: #fff; padding: 10px 6px; text-align: center; font-size: 11px; white-space: nowrap; }
.c-ranking-table tbody td { padding: 12px 6px; text-align: center; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.c-ranking-table__row--top td { background: var(--color-highlight); }
.c-ranking-table__row--top td:first-child { border-left: 4px solid var(--color-rank-gold); }
.c-ranking-table__name { font-weight: var(--fw-bold); font-size: 12px; }
.c-ranking-table__name-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.c-ranking-table__logo { display: block; max-width: 70px; max-height: 28px; width: auto; height: auto; object-fit: contain; }
.c-ranking-table__rate { font-weight: var(--fw-black); color: var(--color-accent); font-size: 13px; }
.c-ranking-table .c-cta-button { font-size: 11px; padding: 8px 10px; white-space: normal; min-width: 0; animation: none; }
.c-ranking-table th:nth-child(3), .c-ranking-table th:nth-child(4), .c-ranking-table th:nth-child(5), .c-ranking-table th:nth-child(6),
.c-ranking-table td:nth-child(3), .c-ranking-table td:nth-child(4), .c-ranking-table td:nth-child(5), .c-ranking-table td:nth-child(6) { display: none; }
.c-ranking-table th:last-child, .c-ranking-table td:last-child { width: 80px; }
.c-ranking-table .c-cta-button { padding: 8px 6px; }
@media (min-width: 768px) {
  .c-ranking-table { min-width: 600px; }
  .c-ranking-table thead th { padding: 14px 12px; font-size: var(--fs-small); }
  .c-ranking-table tbody td { padding: 16px 12px; }
  .c-ranking-table__name { font-size: 15px; gap: 6px; }
  .c-ranking-table__logo { max-width: 120px; max-height: 40px; }
  .c-ranking-table__rate { font-size: 16px; }
  .c-ranking-table .c-cta-button { font-size: 14px; padding: 10px 20px; white-space: nowrap; animation: btn-float 2s ease-in-out infinite; }
  .c-ranking-table th:nth-child(3), .c-ranking-table th:nth-child(4), .c-ranking-table th:nth-child(5), .c-ranking-table th:nth-child(6),
  .c-ranking-table td:nth-child(3), .c-ranking-table td:nth-child(4), .c-ranking-table td:nth-child(5), .c-ranking-table td:nth-child(6) { display: table-cell; }
  .c-ranking-table th:last-child, .c-ranking-table td:last-child { width: auto; }
}

/* ===== Ranking Detail ===== */
.c-ranking-detail { }
.c-review-card { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--border-radius-lg); padding: 20px 16px; margin-bottom: 32px; box-shadow: var(--shadow-card); }
.c-review-card--top { border: 2px solid var(--color-rank-gold); box-shadow: var(--shadow-rank1); }
@media (min-width: 600px) { .c-review-card { padding: 32px 24px; } }
.c-review-card__header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.c-review-card__name { font-size: var(--fs-h2); font-weight: var(--fw-black); color: var(--color-secondary); }
.c-review-card__pros { margin-bottom: 20px; }
.c-review-card__pros-title { font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--color-secondary); margin-bottom: 10px; }
.c-review-card__pro-item { font-size: var(--fs-body); padding: 4px 0; line-height: var(--lh-body); }
.c-review-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.c-review-card__table { margin-bottom: 24px; overflow-x: auto; }
.c-review-card__table table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.c-review-card__table th { background: var(--color-bg-alt); padding: 10px 16px; text-align: left; font-weight: var(--fw-bold); white-space: nowrap; border-bottom: 1px solid var(--color-border); width: 120px; }
.c-review-card__table td { padding: 10px 16px; border-bottom: 1px solid var(--color-border); }
.c-review-card__cta-wrap { text-align: center; }
.c-review-card__image-wrap { margin: -20px -16px 20px; border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0; overflow: hidden; background: #f5f5f5; text-align: center; }
@media (min-width: 600px) { .c-review-card__image-wrap { margin: -32px -24px 24px; } }
.c-review-card__image { width: 100%; max-height: 280px; object-fit: contain; display: block; }
.c-review-card__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 24px; }
@media (min-width: 600px) { .c-review-card__gallery { grid-template-columns: repeat(3, 1fr); } }
.c-review-card__gallery-item { display: block; border-radius: 8px; overflow: hidden; }
.c-review-card__gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.2s ease; }
.c-review-card__gallery-item:hover img { transform: scale(1.03); }

/* ===== Mid CTA ===== */
.c-mid-cta { background: var(--color-bg-gradient); color: #fff; padding: 48px 16px; text-align: center; }
.c-mid-cta__label { font-size: var(--fs-small); background: var(--color-accent); border-radius: var(--border-radius-full); display: inline-block; padding: 4px 16px; margin-bottom: 12px; font-weight: var(--fw-bold); }
.c-mid-cta__heading { font-size: var(--fs-h2); font-weight: var(--fw-black); margin-bottom: 24px; }
.c-mid-cta__assurance { margin-top: 12px; font-size: var(--fs-small); opacity: .8; }

/* ===== Summary ===== */
.c-summary__heading { font-size: var(--fs-h2); font-weight: var(--fw-black); text-align: center; margin-bottom: 12px; color: var(--color-secondary); }
.c-summary__lead { text-align: center; color: var(--color-text-light); margin-bottom: 28px; font-size: var(--fs-body); }
.c-summary__pickup { background: linear-gradient(135deg, #fff8f0, #fff3e0); border: 2px solid var(--color-primary); border-radius: var(--border-radius-lg); padding: 24px 20px; margin-bottom: 28px; position: relative; }
@media (min-width: 768px) { .c-summary__pickup { padding: 36px 40px; } }
.c-summary__pickup-badge { display: inline-block; background: var(--color-primary); color: #fff; font-size: 13px; font-weight: var(--fw-black); padding: 5px 16px; border-radius: var(--border-radius-full); margin-bottom: 14px; }
.c-summary__pickup-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.c-summary__pickup-title { font-size: 1.7rem; font-weight: var(--fw-black); color: var(--color-secondary); margin: 0; }
.c-summary__pickup-logo { height: 48px; width: auto; object-fit: contain; }
.c-summary__pickup-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.c-summary__pickup-list li { font-size: 1.05rem; line-height: 1.7; color: var(--color-text); }
.c-summary__recs { background: #fff; border-radius: var(--border-radius-lg); padding: 24px; margin-bottom: 32px; box-shadow: var(--shadow-card); }
.c-summary__rec { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--color-border); flex-wrap: wrap; }
.c-summary__rec:last-child { border-bottom: none; }
.c-summary__rec-target { color: var(--color-text-light); font-size: var(--fs-body); }
.c-summary__rec-arrow { color: var(--color-primary); font-weight: var(--fw-black); font-size: 18px; }
.c-summary__rec-service { font-weight: var(--fw-black); color: var(--color-secondary); font-size: 16px; }
.c-summary__rec-reason { font-size: var(--fs-small); color: var(--color-text-light); }
.c-summary__comment { background: var(--color-highlight); border-left: 4px solid var(--color-primary); border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0; padding: 20px; margin-bottom: 32px; font-style: italic; }
.c-summary__cta-wrap { text-align: center; }

/* ===== Footer CTA ===== */
.c-footer-cta { background: var(--color-bg-gradient); color: #fff; padding: 64px 16px; text-align: center; }
.c-footer-cta__heading { font-size: var(--fs-h2); font-weight: var(--fw-black); margin-bottom: 12px; }
.c-footer-cta__sub { font-size: var(--fs-body); opacity: .85; margin-bottom: 28px; }
.c-footer-cta__assurance { margin-top: 12px; font-size: var(--fs-small); opacity: .75; }

/* ===== Footer ===== */
.c-footer { background: var(--color-bg-dark); color: rgba(255,255,255,.8); padding: 40px 16px; }
.c-footer__inner { text-align: center; }
.c-footer__logo-text { font-size: 18px; font-weight: var(--fw-bold); color: #fff; }
.c-footer__links { display: flex; justify-content: center; gap: 24px; margin: 20px 0; }
.c-footer__links a { font-size: var(--fs-small); opacity: .7; }
.c-footer__links a:hover { opacity: 1; }
.c-footer__sns { display: flex; justify-content: center; gap: 16px; margin-bottom: 20px; font-size: 20px; }
.c-footer__disclosure { font-size: 11px; opacity: .6; margin-bottom: 12px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.c-footer__copyright { font-size: var(--fs-small); opacity: .5; }

/* ===== Floating CTA ===== */
.c-floating-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; transform: translateY(100%); transition: transform var(--transition); }
.c-floating-cta.is-visible { transform: translateY(0); }
.c-floating-cta__bar { background: var(--color-secondary); padding: 10px 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 -2px 12px rgba(0,0,0,.2); }
.c-floating-cta .c-cta-button { width: 100%; max-width: 320px; justify-content: center; }
@media (min-width: 768px) { .c-floating-cta { display: none; } }

/* ===== Mobile fixes ===== */
@media (max-width: 767px) {
  .c-education__cta-wrap .c-cta-button { white-space: normal; width: 100%; }
  .c-author__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .c-author__stat { padding: 10px 8px; }
  .c-cta-button--large { padding: 16px 24px; font-size: 16px; width: 100%; max-width: 100%; }
}

/* ===== Page Template ===== */
.p-page { padding: 60px 20px; max-width: 800px; }
.p-page__title { font-size: 1.8rem; font-weight: 700; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 2px solid var(--color-primary); }
.p-page__body { line-height: 1.9; color: var(--color-text); }
.p-page__body h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; }
.p-page__body h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 8px; }
.p-page__body p { margin-bottom: 16px; }
