:root {
  --color-main: #2f80ed;
  --color-main-dark: #1d4ed8;
  --color-main-light: #edf5ff;
  --color-accent: #ff8a00;
  --color-accent-dark: #d96b00;
  --color-accent-light: #fff8e5;
  --color-green: #18a058;
  --color-text: #333333;
  --color-muted: #777777;
  --color-bg: #f4f5f7;
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --inner-width: 760px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-button: 0 3px 0 #9a4d00;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

.inner {
  width: min(var(--inner-width), calc(100% - 32px));
  margin: 0 auto;
}

.page-wrap {
  max-width: var(--inner-width);
  margin: 0 auto;
  background: var(--color-white);
  overflow: hidden;
}

.article {
  padding-bottom: 36px;
}

.article-header {
  padding: 24px 16px 8px;
}

.associate-disclosure {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8;
}

.article-title {
  margin: 0 0 12px;
  color: #222222;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.45;
}

.article-meta {
  margin: 0 0 22px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.hero-image {
  width: 100%;
  margin: 0 0 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.lead,
.cta-section,
.category-links,
.guide-section,
.affiliate-note,
.section-title {
  width: calc(100% - 32px);
  margin-right: auto;
  margin-left: auto;
}

.lead {
  margin-top: 22px;
  margin-bottom: 24px;
}

.lead p,
.guide-section p {
  margin: 0 0 14px;
  color: #344054;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

.lead p:last-child,
.guide-section p:last-child {
  margin-bottom: 0;
}

.section-title {
  position: relative;
  margin-top: 34px;
  margin-bottom: 18px;
  padding-left: 14px;
  color: #222222;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
}

.section-title::before {
  content: "";
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 5px;
  height: 1.25em;
  background: var(--color-main);
  border-radius: 999px;
}

.cta-section {
  margin-top: 28px;
  margin-bottom: 34px;
}

.sale-products-image {
  width: min(100%, 520px);
  margin: 24px auto 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.category-links {
  display: grid;
  gap: 14px;
  margin-top: 0;
  margin-bottom: 32px;
}

.sale-button {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 13px 18px;
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
  background: linear-gradient(180deg, #ff9f38, var(--color-accent));
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-button);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.sale-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, transparent 34%, rgba(255, 255, 255, 0.62) 46%, transparent 58%, transparent 100%);
  transform: translateX(-120%);
  animation: cta-shine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.sale-button:hover {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #9a4d00;
  opacity: 0.96;
}

.sale-button-bounce {
  animation: slow-bounce 2.8s ease-in-out infinite;
}

.sale-button-bounce:hover {
  animation-play-state: paused;
}

.sale-button:focus-visible {
  outline: 4px solid rgba(47, 128, 237, 0.28);
  outline-offset: 4px;
}

.button-kicker,
.button-main,
.button-sub {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1.35;
}

.button-kicker {
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 900;
}

.button-main {
  font-size: clamp(19px, 4.5vw, 27px);
  font-weight: 900;
}

.button-sub {
  margin-top: 2px;
  font-size: clamp(13px, 3.6vw, 17px);
  font-weight: 900;
}

.sale-button-large {
  min-height: 88px;
}

.sale-button-large .button-main {
  font-size: clamp(20px, 4.8vw, 28px);
}

.guide-section {
  margin-top: 38px;
}

.guide-section .section-title {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.guide-section strong {
  color: #222222;
  font-weight: 900;
}

.affiliate-note {
  margin-top: 44px;
  padding-top: 18px;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8;
}

.site-footer {
  width: min(var(--inner-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: center;
}

.site-footer a {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes cta-shine {
  0%,
  48% {
    transform: translateX(-120%);
  }

  70% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes slow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .inner {
    width: min(100% - 24px, var(--inner-width));
  }

  .article-header {
    padding: 20px 12px 6px;
  }

  .article-title {
    font-size: 24px;
  }

  .lead,
  .cta-section,
  .category-links,
  .guide-section,
  .affiliate-note,
  .section-title {
    width: calc(100% - 24px);
  }

  .lead p,
  .guide-section p {
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
  }

  .sale-button {
    min-height: 66px;
    padding: 12px 14px;
  }

  .sale-button-large {
    min-height: 82px;
  }
}
