/* ==========================================================================
   TRACE UV STICK — LP stylesheet
   ========================================================================== */

:root {
  --color-bg: #F5F6F7;
  --color-bg-sub: #E8EDF1;
  --color-charcoal: #20242A;
  --color-black: #0D0F12;
  --color-accent: #2476A8;
  --color-accent-dark: #1C5D85;
  --color-accent-light: #A9D4E8;
  --color-text: #33383E;
  --color-text-sub: #66717B;
  --color-border: #D6DDE2;
  --color-white: #FFFFFF;

  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;

  --max-content: 1120px;
  --max-fv: 1280px;
  --max-copy: 820px;

  --radius-cta: 8px;
  --radius-photo: 12px;

  --pad-inline: 20px;
  --section-pad: 64px;
}

@media (min-width: 768px) {
  :root {
    --pad-inline: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --pad-inline: 56px;
    --section-pad: 104px;
  }
}

@media (min-width: 1440px) {
  :root {
    --pad-inline: 64px;
    --section-pad: 120px;
  }
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

.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;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- layout helpers ---- */
.section-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

section {
  padding-block: var(--section-pad);
}

.section-heading {
  font-weight: 700;
  font-size: clamp(24px, 7.2vw, 30px);
  line-height: 1.4;
  margin: 0 0 24px;
  color: inherit;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (min-width: 1024px) {
  .section-heading {
    font-size: clamp(34px, 3.5vw, 44px);
    margin-bottom: 40px;
  }
}

.lead {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-text);
  max-width: var(--max-copy);
  margin: 0 0 32px;
}
@media (min-width: 1024px) {
  .lead { font-size: 17px; line-height: 1.8; }
}

.note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text-sub);
  margin-top: 24px;
}
@media (min-width: 1024px) {
  .note { font-size: 14px; }
}

/* ---- CTA ---- */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  height: 56px;
  border-radius: var(--radius-cta);
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px rgba(13, 15, 18, 0.16);
}
.cta:hover { background: var(--color-accent-dark); }
.cta:active { transform: scale(0.98); box-shadow: 0 3px 8px rgba(13, 15, 18, 0.14); }

@media (min-width: 1024px) {
  .cta { height: 64px; font-size: 18px; }
}

.cta-note {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
}
.cta-note--dark { color: rgba(255, 255, 255, 0.85); }
@media (min-width: 1024px) {
  .cta-note { font-size: 16px; }
}

/* ==========================================================================
   FV
   ========================================================================== */
.fv {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-sub) 100%);
  padding-block: 40px var(--section-pad);
}
.fv__inner {
  max-width: var(--max-fv);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  grid-template-areas:
    "content"
    "media"
    "foot";
}
.fv__content {
  grid-area: content;
  display: grid;
  gap: 14px;
}
.fv__catch {
  font-weight: 800;
  font-size: clamp(26px, 8.6vw, 36px);
  line-height: 1.4;
  color: var(--color-charcoal);
  margin: 0;
  text-wrap: balance;
}
.fv__appeal {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-accent-dark);
  margin: 4px 0 0;
}
.fv__foot {
  grid-area: foot;
  display: grid;
  gap: 18px;
}
.fv__sub {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0;
}
.fv__spec {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}
.fv__product { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.fv__price { font-size: 16px; font-weight: 700; color: var(--color-text); margin-bottom: 2px; }
.fv__ship { font-size: 15px; color: var(--color-text-sub); }
.fv__media {
  grid-area: media;
  border-radius: var(--radius-photo);
  overflow: hidden;
}
.fv__media img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  object-position: center 30%;
}
@media (min-width: 1024px) {
  .fv__spec { font-size: 16px; }
  .fv__ship { font-size: 16px; }
}

@media (min-width: 1024px) {
  .fv { padding-block: 56px 0; }
  .fv__inner {
    gap: 0 40px;
    grid-template-columns: 34% 1fr;
    grid-template-areas:
      "content media"
      "foot    media";
    align-items: center;
  }
  .fv__content { align-self: end; gap: 20px; }
  .fv__foot { align-self: start; gap: 24px; padding-top: 12px; }
  .fv__media {
    align-self: center;
    margin-right: calc(-1 * var(--pad-inline));
  }
  .fv__catch { font-size: clamp(48px, 5vw, 64px); }
  .fv__appeal { font-size: clamp(19px, 1.6vw, 23px); }
}

/* ==========================================================================
   悩みの提示
   ========================================================================== */
.pain { background: var(--color-bg); }
.pain__layout {
  display: grid;
  gap: 32px;
}
.pain__media {
  border-radius: var(--radius-photo);
  overflow: hidden;
}
.pain__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 30% 32%;
}
.pain__text p { margin-bottom: 20px; }
.pain__text p:last-child { margin-bottom: 0; }
.pain__list {
  margin-top: 28px;
}
.pain__list li {
  padding: 14px 0 14px 20px;
  border-left: 2px solid var(--color-accent);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 4px;
  color: var(--color-charcoal);
}
@media (min-width: 768px) {
  .pain__layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 48px;
  }
}
@media (min-width: 1024px) {
  .pain__layout { gap: 64px; }
}

/* ==========================================================================
   商品紹介
   ========================================================================== */
.product {
  background: var(--color-charcoal);
  color: var(--color-white);
}
.product .section-heading { color: var(--color-white); }

.product__layout {
  display: grid;
  gap: 32px;
}
.product__media {
  border-radius: var(--radius-photo);
  overflow: hidden;
}
.product__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 40%;
}
.product__body {
  margin-bottom: 32px;
}
.product__body p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.86);
}
.product__body p:last-child { margin-bottom: 0; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.4;
}
.feature-list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
.feature-list svg path {
  stroke: var(--color-accent-light);
}
@media (min-width: 560px) {
  .feature-list li { font-size: 15.5px; }
}
@media (min-width: 1024px) {
  .feature-list li { padding: 18px 0; font-size: 16px; }
}
@media (min-width: 1024px) {
  .product__layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 56px;
  }
  .product__media img { aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   使用場面
   ========================================================================== */
.usage { background: var(--color-white); }
.usage__layout {
  display: grid;
  gap: 28px;
}
.usage__media {
  border-radius: var(--radius-photo);
  overflow: hidden;
}
.usage__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}
.usage__list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
}
.usage__list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.usage__list h3 {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--color-charcoal);
}
.usage__list p {
  margin: 0;
  color: var(--color-text-sub);
  font-size: 16px;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .usage__layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
  }
}

/* ==========================================================================
   モニターの声
   ========================================================================== */
.voice { background: var(--color-bg-sub); }
.voice__list {
  display: grid;
  gap: 0;
}
.voice__item {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
}
.voice__item:last-child { border-bottom: 1px solid var(--color-border); }
.voice__role {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 12px;
}
.voice__text {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  color: var(--color-text);
}
@media (min-width: 1024px) {
  .voice__list {
    grid-template-columns: 1.3fr 1fr;
    column-gap: 48px;
  }
  .voice__item {
    border-top: none;
    padding: 20px 0;
  }
  .voice__item--featured {
    grid-row: 1 / 3;
    padding: 20px 48px 20px 0;
    border-right: 1px solid var(--color-border);
  }
  .voice__item:not(.voice__item--featured) {
    border-top: 1px solid var(--color-border);
  }
  .voice__item:not(.voice__item--featured):last-child {
    border-bottom: 1px solid var(--color-border);
  }
}

/* ==========================================================================
   比較表
   ========================================================================== */
.compare { background: var(--color-white); }
.compare__table-wrap { overflow-x: hidden; }
.compare__table {
  font-size: 14px;
}
.compare__table th,
.compare__table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.compare__table thead th {
  font-size: 13.5px;
  color: var(--color-text-sub);
  font-weight: 700;
}
.compare__table .is-highlight {
  background: rgba(169, 212, 232, 0.35);
  font-weight: 700;
  color: var(--color-charcoal);
}

/* mobile: stacked 2-column definition layout, no horizontal scroll */
@media (max-width: 767px) {
  .compare__table thead { display: none; }
  .compare__table, .compare__table tbody, .compare__table tr {
    display: block;
    width: 100%;
  }
  .compare__table tr {
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
  }
  .compare__table th[scope="row"] {
    display: block;
    background: var(--color-bg-sub);
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--color-border);
  }
  .compare__table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--color-border);
  }
  .compare__table td::before {
    content: attr(data-label);
    color: var(--color-text-sub);
    font-size: 12.5px;
    flex: 0 0 auto;
  }
  .compare__table tr td:last-child { border-bottom: none; }
}

@media (min-width: 768px) {
  .compare__table th, .compare__table td { padding: 16px; }
  .compare__table { font-size: 15px; }
  .compare__table thead th { font-size: 14.5px; }
}
@media (min-width: 1024px) {
  .compare__table th, .compare__table td { padding: 20px 18px; }
  .compare__table { font-size: 16px; }
  .compare__table thead th { font-size: 15.5px; }
}

/* ==========================================================================
   商品性能
   ========================================================================== */
.performance {
  background: var(--color-charcoal);
  color: var(--color-white);
}
.performance .section-heading { color: var(--color-white); }
.performance__highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
  margin-bottom: 32px;
}
.performance__spf {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(28px, 8.6vw, 40px);
  color: var(--color-accent-light);
  margin: 0;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.performance__uv {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 28px;
  color: var(--color-white);
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.performance__uv span { color: var(--color-accent-light); margin-left: 6px; }
@media (min-width: 1024px) {
  .performance__spf { font-size: 56px; }
  .performance__uv { font-size: 38px; }
}
.performance__body { max-width: var(--max-copy); margin-bottom: 40px; }
.performance__body p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.86);
}
.performance__body p:last-child { margin-bottom: 0; }
.performance .note { color: rgba(255, 255, 255, 0.6); }

/* ==========================================================================
   使い方
   ========================================================================== */
.howto { background: var(--color-bg); }
@media (min-width: 1024px) {
  .howto__heading { white-space: nowrap; }
}
.howto__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.howto__media {
  border-radius: var(--radius-photo);
  overflow: hidden;
  margin-bottom: 20px;
}
.howto__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.howto__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin: 0 0 8px;
}
.howto__item h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-charcoal);
}
.howto__item p:last-child {
  font-size: 15px;
  color: var(--color-text-sub);
  margin: 0;
}
@media (min-width: 1024px) {
  .howto__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .howto__item h3 { font-size: 24px; }
}

/* ==========================================================================
   商品詳細・オファー
   ========================================================================== */
.offer {
  background: linear-gradient(180deg, var(--color-charcoal) 0%, var(--color-black) 100%);
  color: var(--color-white);
}
.offer .section-heading { color: var(--color-white); text-align: center; }
.offer__panel {
  max-width: 480px;
  margin: 0 auto 48px;
  text-align: center;
}
.offer__product {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 24px;
}
.offer__spec {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.offer__spec > div {
  display: flex;
  justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 15px;
}
.offer__spec dt { color: rgba(255, 255, 255, 0.6); }
.offer__spec dd { color: var(--color-white); font-weight: 700; }
.offer .cta { margin-inline: auto; }
.offer .cta-note { text-align: center; }
.offer__price-block { margin-bottom: 28px; }
.offer__price {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 4px;
}
.offer__ship {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 1024px) {
  .offer__spec > div { font-size: 16px; }
  .offer__price { font-size: 32px; }
}

.offer__terms {
  max-width: var(--max-copy);
  margin-inline: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.offer__terms ul { display: grid; gap: 10px; margin-bottom: 16px; }
.offer__terms li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.offer__terms-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--color-bg); }
.faq__list { max-width: var(--max-copy); }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item:first-child { border-top: 1px solid var(--color-border); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-charcoal);
}
.faq__question::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq__question[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}
.faq__answer {
  padding: 0 4px 20px;
  max-width: var(--max-copy);
}
.faq__answer p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-sub);
  margin: 0;
}

/* ==========================================================================
   最終CTA
   ========================================================================== */
.final-cta { background: var(--color-charcoal); color: var(--color-white); }
.final-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.final-cta__media {
  border-radius: var(--radius-photo);
  overflow: hidden;
}
.final-cta__media img {
  width: 100%;
  aspect-ratio: 1448 / 1086;
  object-fit: cover;
}
.final-cta .section-heading { color: var(--color-white); }
.final-cta__body { margin-bottom: 32px; }
.final-cta__body p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
}
.final-cta__body p:last-child { margin-bottom: 0; font-weight: 700; color: var(--color-white); }

@media (min-width: 1024px) {
  .final-cta__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .final-cta__media { flex: 1 1 50%; }
  .final-cta__text { flex: 1 1 50%; }
}

/* ==========================================================================
   フッター
   ========================================================================== */
.footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.6);
  padding-block: 48px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.footer__brand {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 16px;
  color: var(--color-white);
  letter-spacing: 0.08em;
}
.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.footer__nav a:hover { color: var(--color-white); }
.footer__copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer__nav ul { flex-direction: row; gap: 24px; }
}
