:root {
  --bg-dark: #0f0f23;
  --bg-navy: #1a1a2e;
  --bg-soft: #faf8f5;
  --bg-card: #f5f3f0;
  --bg-panel: #161633;
  --bg-panel-2: #1e1e40;
  --red: #e63946;
  --red-hover: #c1121f;
  --gold: #daa520;
  --gold-bright: #ffd700;
  --text-main: #333333;
  --text-dark: #1a1a2e;
  --text-muted: #1a1a2e;
  --text-light: #cccccc;
  --font-content: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 100%;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.6;
  padding-top: 70px !important;
}

main {
  padding-top: 0 !important;
}

@media (min-width: 940px) {
  body {
    padding-top: 90px !important;
  }
}

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

/* Keep global header buttons aligned with app.css and avoid Bootstrap .btn overrides */
.header .header__btn--list .btn {
  display: block;
  padding: 0;
  border-radius: 0;
  line-height: normal;
  font-size: 12px;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 400;
}

@media screen and (min-width: 940px) {
  .header .header__btn--list .btn {
    font-size: 14px;
  }
}

.header .header__btn--list .btn a {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.header .header__btn--list .btn:focus,
.header .header__btn--list .btn:active {
  box-shadow: none;
}

/* Campaign body typography (do not affect global header) */
.n225cfdx-hero-section,
.n225cfdx-section,
.n225cfdx-page-footer {
  font-family: var(--font-content);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.n225cfdx-ta-campaign-title,
.n225cfdx-section-title,
.n225cfdx-section-title-small,
.n225cfdx-info-card h3,
.n225cfdx-factor-head h3,
.n225cfdx-trend-card h3,
.n225cfdx-auto-block h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

.n225cfdx-container {
  width: min(100%, calc(100% - 28px));
  margin: 0 auto;
}

.n225cfdx-container-nav {
  max-width: 64rem;
}

.n225cfdx-container-3 {
  max-width: 840px;
}

.n225cfdx-container-2 {
  max-width: 760px;
}

.n225cfdx-section {
  padding: 48px 0;
}

.n225cfdx-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.n225cfdx-section-title span {
  display: inline-block;
  border-bottom: 4px solid var(--red);
  padding-bottom: 8px;
}

.n225cfdx-title-light {
  color: #ffffff;
}

.n225cfdx-section-title .n225cfdx-gold-underline {
  border-bottom-color: var(--gold);
}

.n225cfdx-section-title-small {
  font-size: 1.25rem;
  margin-bottom: 32px;
}

.n225cfdx-text-center {
  text-align: center;
}

.n225cfdx-btn-campaign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.n225cfdx-btn-campaign:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.n225cfdx-btn-small {
  border-radius: 4px;
  font-size: 0.75rem;
  padding: 8px 16px;
  box-shadow: none;
  font-weight: 700;
}

.n225cfdx-btn-small:hover {
  transform: none;
  box-shadow: none;
}

.n225cfdx-btn-large {
  font-size: 1rem;
  padding: 16px 48px;
}

.n225cfdx-btn-primary {
  background: var(--red);
  color: #ffffff;
}

.n225cfdx-btn-primary:hover {
  background: var(--red-hover);
}

.n225cfdx-btn-blue {
  background: #2563eb;
  color: #ffffff;
}

.n225cfdx-btn-blue:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.n225cfdx-btn-white {
  background: #ffffff;
  color: var(--red);
}

.n225cfdx-btn-white:hover {
  background: var(--bg-card);
}

.n225cfdx-hero-section {
  width: 100%;
}

.n225cfdx-hero-section header {
  background: var(--bg-navy);
}

.n225cfdx-ta-campaign-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  padding: 12px 16px;
}

.n225cfdx-ta-campaign-mainvisual {
  margin: 0;
}

.n225cfdx-ta-campaign-mainvisual img {
  width: 100%;
}

.n225cfdx-pc {
  display: block;
}

.n225cfdx-sp {
  display: none;
}

.n225cfdx-hero-cta-wrap {
  background: var(--bg-dark);
  padding: 32px 0;
  display: flex;
  justify-content: center;
}

.n225cfdx-details-section {
  background: var(--bg-soft);
}

.n225cfdx-details-table {
  border: 1px solid #dddddd;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.n225cfdx-details-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #dddddd;
}

.n225cfdx-details-row.n225cfdx-no-border {
  border-bottom: 0;
}

.n225cfdx-details-head {
  background: var(--bg-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 16px 24px;
}

.n225cfdx-details-body {
  padding: 16px 24px;
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.8;
}

.n225cfdx-text-note {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.n225cfdx-detail-notes {
  margin-top: 12px;
  display: grid;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.n225cfdx-accent-red {
  color: var(--red);
}

.n225cfdx-large-number {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 4px;
}

.n225cfdx-huge-number {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 2px;
}

.n225cfdx-xlarge-number {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 4px;
}

.n225cfdx-cashback-section {
  background: var(--bg-dark);
}

.n225cfdx-cashback-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.n225cfdx-cashback-flow {
  display: grid;
  gap: 12px;
  text-align: center;
}

.n225cfdx-flow-box {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 16px 24px;
}

.n225cfdx-flow-box p {
  font-size: 0.875rem;
  color: var(--text-main);
}

.n225cfdx-strong-dark {
  color: var(--text-dark);
  font-weight: 700;
}

.n225cfdx-flow-arrow {
  color: var(--gold);
  width: 28px;
  height: 28px;
  margin: 0 auto;
}

.n225cfdx-flow-arrow svg {
  width: 100%;
  height: 100%;
}

.n225cfdx-small-note {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 8px;
}

.n225cfdx-formula-note {
  color: var(--text-main);
  font-size: inherit;
  font-weight: 400;
  margin-left: 8px;
}

.n225cfdx-result-box {
  background: var(--red);
  border-radius: 12px;
  padding: 24px;
}

.n225cfdx-result-top {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.n225cfdx-result-top span {
  font-size: 1rem;
  font-weight: 400;
  margin-left: 4px;
}

.n225cfdx-result-bottom {
  color: var(--gold-bright);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 4px;
  line-height: 1.2;
}

.n225cfdx-notes-section {
  background: var(--bg-soft);
  padding-top: 40px;
  padding-bottom: 56px;
}

.n225cfdx-notes-list {
  margin-left: 20px;
  padding-left: 0;
  list-style: decimal;
  color: #555555;
  font-size: 0.75rem;
  line-height: 1.8;
}

.n225cfdx-notes-list li + li {
  margin-top: 12px;
}

.n225cfdx-steps {
  margin-top: 12px;
  margin-left: 8px;
  display: grid;
  gap: 8px;
}

.n225cfdx-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.n225cfdx-step-tag {
  flex-shrink: 0;
  background: var(--bg-navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  line-height: 1.3;
}

.n225cfdx-market-section {
  background: #ffffff;
}

.n225cfdx-market-cta {
  margin: 24px 0 32px;
}

.n225cfdx-info-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 56px;
}

.n225cfdx-info-card h3 {
  color: var(--text-dark);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.n225cfdx-info-card p {
  color: #444444;
  font-size: 0.875rem;
  line-height: 1.9;
}

.n225cfdx-info-card p + p {
  margin-top: 12px;
}

.n225cfdx-factor-grid,
.n225cfdx-trend-grid {
  display: grid;
  gap: 24px;
}

.n225cfdx-factor-grid {
  margin-bottom: 40px;
}

.n225cfdx-factor-card {
  border-radius: 16px;
  padding: 24px;
  border: 1px solid;
}

.n225cfdx-factor-up {
  background: #fff5f5;
  border-color: #fecaca;
}

.n225cfdx-factor-down {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.n225cfdx-factor-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.n225cfdx-factor-head svg {
  width: 24px;
  height: 24px;
}

.n225cfdx-factor-up .n225cfdx-factor-head {
  color: var(--red);
}

.n225cfdx-factor-down .n225cfdx-factor-head {
  color: #2563eb;
}

.n225cfdx-factor-head h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.n225cfdx-factor-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: #444444;
  font-size: 0.875rem;
}

.n225cfdx-factor-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.n225cfdx-factor-up li span {
  color: var(--red);
  margin-top: 2px;
}

.n225cfdx-factor-down li span {
  color: #2563eb;
  margin-top: 2px;
}

.n225cfdx-trend-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.n225cfdx-trend-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.5;
}

.n225cfdx-trend-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 10px;
}

.n225cfdx-trend-item {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.n225cfdx-line-chart {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #e4e4e4;
}

.n225cfdx-line-chart svg {
  width: 86px;
  height: 58px;
}

.n225cfdx-trend-label {
  font-size: 0.75rem;
  font-weight: 700;
}

.n225cfdx-trend-label.n225cfdx-up {
  color: var(--red);
}

.n225cfdx-trend-label.n225cfdx-down {
  color: #2563eb;
}

.n225cfdx-trend-text {
  display: grid;
  gap: 6px;
  color: #444444;
  font-size: 0.875rem;
}

.n225cfdx-trend-text .n225cfdx-strong {
  font-size: 1rem;
  font-weight: 700;
}

.n225cfdx-trend-text .n225cfdx-strongest {
  font-size: 1.25rem;
  font-weight: 700;
}

.n225cfdx-auto-section {
  background: var(--bg-dark);
}

.n225cfdx-auto-block h3 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.n225cfdx-gold-text {
  color: var(--gold);
}

.n225cfdx-auto-sub {
  text-align: center;
  color: #d3d3d3;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.n225cfdx-auto-card {
  background: var(--bg-panel);
  border: 1px solid #2a2a4a;
  border-radius: 16px;
  padding: 16px;
}

.n225cfdx-auto-highlight {
  text-align: center;
  margin-bottom: 20px;
}

.n225cfdx-auto-highlight p {
  color: #ffffff;
  font-size: 1.125rem;
}

.n225cfdx-gold-number {
  color: var(--gold-bright);
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 4px;
}

.n225cfdx-auto-highlight .n225cfdx-muted {
  color: #d3d3d3;
  font-size: 0.875rem;
}

.n225cfdx-auto-image {
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  overflow: hidden;
}

.n225cfdx-auto-image img {
  width: 100%;
  height: auto;
}

.n225cfdx-stats-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.n225cfdx-stat-box {
  background: var(--bg-panel-2);
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.n225cfdx-stat-label {
  color: #d3d3d3;
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.n225cfdx-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.n225cfdx-stat-value span {
  color: #d3d3d3;
  font-size: 0.875rem;
  font-weight: 400;
  margin-left: 2px;
}

.n225cfdx-gold-tabular {
  color: var(--gold-bright);
}

.n225cfdx-green-tabular {
  color: #4ade80;
}

.n225cfdx-footnotes {
  margin-top: 16px;
  color: #d3d3d3;
  font-size: 0.75rem;
  display: grid;
  gap: 4px;
}

.n225cfdx-reference-card {
  margin-top: 24px;
  background: var(--bg-panel);
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  padding: 20px;
}

.n225cfdx-reference-title {
  color: #aaaaaa;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.n225cfdx-reference-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  color: #aaaaaa;
  font-size: 0.875rem;
}

.n225cfdx-reference-label {
  color: #d3d3d3;
}

.n225cfdx-reference-value {
  color: #ffffff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.n225cfdx-reference-rate {
  margin-top: 12px;
  color: #d3d3d3;
  font-size: 0.875rem;
}

.n225cfdx-reference-rate span {
  margin-left: 4px;
  color: #4ade80;
  font-size: 1rem;
  font-weight: 700;
}

.n225cfdx-reference-note {
  margin-top: 8px;
  color: #d3d3d3;
  font-size: 0.75rem;
}

.n225cfdx-auto-builder {
  margin-top: 56px;
}

.n225cfdx-builder-copy {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 20px;
}

.n225cfdx-cta-section {
  background: var(--red);
}

.n225cfdx-cta-copy {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 24px;
}

.n225cfdx-cta-note {
  color: #ffffff;
  font-size: 0.75rem;
  opacity: 1.0;
  margin-top: 20px;
}

.n225cfdx-mobile-break {
  display: block;
}

.n225cfdx-page-footer {
  background: var(--bg-navy);
  padding: 32px 0;
}

.n225cfdx-page-footer p {
  color: #666666;
  font-size: 0.75rem;
}

.n225cfdx-page-footer p + p {
  color: #555555;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .n225cfdx-ta-campaign-mainvisual {
    width: min(100%, 1380px);
    margin: 0 auto;
  }

  .n225cfdx-section {
    padding: 64px 0;
  }

  .n225cfdx-section-title {
    font-size: 1.875rem;
  }

  .n225cfdx-section-title-small {
    font-size: 1.5rem;
  }

  .n225cfdx-btn-large {
    font-size: 1.125rem;
  }

  .n225cfdx-details-row {
    flex-direction: row;
  }

  .n225cfdx-details-head {
    width: 244px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }

  .n225cfdx-details-body {
    font-size: 1rem;
  }

  .n225cfdx-flow-box p {
    font-size: 1rem;
  }

  .n225cfdx-result-top {
    font-size: 2rem;
  }

  .n225cfdx-result-bottom {
    font-size: 2.25rem;
  }

  .n225cfdx-notes-section {
    padding-top: 56px;
  }

  .n225cfdx-notes-list {
    font-size: 0.875rem;
  }

  .n225cfdx-info-card {
    padding: 32px;
  }

  .n225cfdx-info-card h3 {
    font-size: 1.25rem;
  }

  .n225cfdx-info-card p {
    font-size: 1rem;
  }

  .n225cfdx-factor-grid,
  .n225cfdx-trend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .n225cfdx-factor-card ul {
    font-size: 1rem;
  }

  .n225cfdx-trend-card h3 {
    font-size: 1.125rem;
  }

  .n225cfdx-line-chart {
    width: 108px;
    height: 108px;
  }

  .n225cfdx-line-chart svg {
    width: 96px;
    height: 64px;
  }

  .n225cfdx-trend-text {
    font-size: 0.9375rem;
  }

  .n225cfdx-auto-block h3 {
    font-size: 1.25rem;
  }

  .n225cfdx-auto-card {
    padding: 24px;
  }

  .n225cfdx-auto-highlight p {
    font-size: 1.25rem;
  }

  .n225cfdx-gold-number {
    font-size: 2.25rem;
  }

  .n225cfdx-stat-value {
    font-size: 1.5rem;
  }

  .n225cfdx-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .n225cfdx-cta-copy {
    font-size: 1.25rem;
  }

  .n225cfdx-mobile-break {
    display: none;
  }

  .n225cfdx-ta-campaign-title {
    font-size: 1.375rem;
    padding: 16px 24px;
  }
}

@media (max-width: 767px) {
  .n225cfdx-pc {
    display: none;
  }

  .n225cfdx-sp {
    display: block;
  }
}
