/* =============================================================
   動画編集PCラボ - style.css
   ============================================================= */

/* -------------------- Design Tokens -------------------- */
:root {
  /* Brand Color */
  --c-bg: #FAFBFC;
  --c-bg-alt: #F4F6FA;
  --c-bg-card: #FFFFFF;
  --c-ink: #0B1B3D;            /* メインのテキスト・濃紺 */
  --c-ink-soft: #3E4A6B;
  --c-ink-mute: #8892A6;
  --c-line: #E5E9F0;
  --c-line-soft: #EEF1F6;

  --c-navy: #1A2B5C;           /* 添付画像の深い青 */
  --c-navy-deep: #0F1B3D;
  --c-purple: #7B61FF;         /* Adobe風パープル */
  --c-purple-deep: #5B41DF;
  --c-purple-soft: #EFEBFF;
  --c-accent: #00C2A8;         /* タイムライン的アクセント */

  --c-amazon: #FF9900;
  --c-rakuten: #BF0000;

  /* Typography */
  --f-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-display: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-en: "Manrope", -apple-system, sans-serif;

  /* Layout */
  --w-container: 1200px;
  --w-narrow: 980px;
  --side-ad-w: 160px;
  --side-ad-gap: 20px;

  /* Motion */
  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-out: cubic-bezier(.22,.61,.36,1);

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(11, 27, 61, .04);
  --shadow-md: 0 8px 24px rgba(11, 27, 61, .08);
  --shadow-lg: 0 20px 50px rgba(11, 27, 61, .12);
  --shadow-hover: 0 24px 60px rgba(11, 27, 61, .15);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-jp);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.7;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
em { font-style: normal; }

.container { max-width: var(--w-container); margin: 0 auto; padding: 0 32px; }
.sp-only { display: none; }
@media (max-width: 768px) {
  .sp-only { display: inline; }
  .container { padding: 0 20px; }
}

/* -------------------- Header -------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(250, 251, 252, .85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: transform .4s var(--ease), background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(250, 251, 252, .96);
  border-bottom-color: var(--c-line);
}
.header.is-hidden { transform: translateY(-110%); }

.header__inner {
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__logo img {
  width: 40px; height: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header__brand-ja {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .05em;
  color: var(--c-ink);
}
.header__brand-en {
  font-family: var(--f-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--c-ink-mute);
  text-transform: uppercase;
  margin-top: 2px;
}
.header__nav ul {
  display: flex;
  gap: 30px;
}
.header__nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-ink-soft);
  position: relative;
  padding: 6px 0;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--c-purple);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.header__nav a:hover { color: var(--c-ink); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__menu-btn { display: none; }

@media (max-width: 900px) {
  .header__inner { padding: 0 20px; }
  .header__nav {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--c-bg-card);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .header__nav.is-open { transform: translateX(0); }
  .header__nav ul { flex-direction: column; gap: 20px; }
  .header__nav a { font-size: 15px; }
  .header__menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    z-index: 101;
  }
  .header__menu-btn span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--c-ink);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    margin: 0 auto;
  }
  .header__menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .header__menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .header__menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-navy-deep);
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, transparent 0%, rgba(15, 27, 61, .6) 70%),
    linear-gradient(135deg, rgba(15, 27, 61, .55) 0%, rgba(26, 43, 92, .35) 60%, rgba(91, 65, 223, .25) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 140px 32px 100px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .2s forwards;
}
.hero__eyebrow span {
  width: 32px; height: 1px;
  background: var(--c-purple);
  display: inline-block;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(38px, 6.2vw, 78px);
  line-height: 1.25;
  letter-spacing: .01em;
  margin-bottom: 36px;
}
.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__title-line > * {
  display: inline-block;
}
.hero__title em {
  background: linear-gradient(120deg, #fff 0%, #fff 30%, var(--c-purple) 50%, #fff 70%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  animation: shine 4s linear infinite;
  padding: 0 .08em;
}
@keyframes shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.hero__title-line {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s var(--ease-out) .4s forwards;
}
.hero__title-line:nth-child(2) { animation-delay: .55s; }

.hero__sub {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, .8);
  max-width: 580px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .75s forwards;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .95s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: .35em;
  color: rgba(255, 255, 255, .6);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.3s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 30%;
  background: #fff;
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}
@media (max-width: 768px) {
  .hero__inner { padding: 120px 20px 80px; }
  .hero__scroll { display: none; }
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  border-radius: 999px;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--c-purple);
  color: #fff;
  box-shadow: 0 10px 30px rgba(123, 97, 255, .35);
}
.btn--primary:hover {
  background: var(--c-purple-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(123, 97, 255, .45);
}
.btn--primary svg { transition: transform .3s var(--ease); }
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-2px);
}
.btn--ghost small {
  font-size: 10px;
  opacity: .65;
  margin-left: 4px;
  letter-spacing: .1em;
}
.btn--disabled {
  cursor: not-allowed;
  opacity: .8;
}

.btn--outline {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-ink);
  padding: 14px 36px;
}
.btn--outline:hover {
  background: var(--c-ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn--shop {
  display: block;
  text-align: center;
  padding: 11px;
  font-size: 13px;
  border-radius: 6px;
  margin-top: 8px;
  width: 100%;
  letter-spacing: .04em;
}
.btn--amazon {
  background: var(--c-amazon);
  color: #111;
}
.btn--amazon:hover { background: #ffac33; transform: translateY(-1px); }
.btn--rakuten {
  background: var(--c-rakuten);
  color: #fff;
}
.btn--rakuten:hover { background: #d10000; transform: translateY(-1px); }

/* -------------------- Section Common -------------------- */
section { padding: 120px 0; position: relative; }
@media (max-width: 768px) {
  section { padding: 80px 0; }
}

.section-head {
  margin-bottom: 70px;
  max-width: 720px;
}
.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head__eyebrow {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 18px;
}
.section-head__title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.section-head__desc {
  font-size: 15px;
  line-height: 2;
  color: var(--c-ink-soft);
}

/* -------------------- Budget Cards -------------------- */
.budget {
  background: var(--c-bg);
  position: relative;
}
.budget::before {
  /* タイムライン風の縦線 */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--c-line), transparent);
  opacity: .5;
}
.budget__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
@media (max-width: 900px) {
  .budget__grid { grid-template-columns: 1fr; }
}

.budget-card {
  position: relative;
  padding: 44px 36px 36px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.budget-card::before {
  /* 上部のアクセントライン */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-color, var(--c-purple)), transparent);
  transform: scaleX(.3);
  transform-origin: left center;
  transition: transform .5s var(--ease);
}
.budget-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.budget-card:hover::before { transform: scaleX(1); }

.budget-card--starter { --card-color: #4C6EF5; }
.budget-card--pro     { --card-color: #7B61FF; }
.budget-card--master  { --card-color: #1A2B5C; }

.budget-card__num {
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--card-color);
  letter-spacing: .15em;
  margin-bottom: 12px;
}
.budget-card__tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--f-en);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--card-color);
  background: color-mix(in srgb, var(--card-color) 10%, transparent);
  border-radius: 3px;
  margin-bottom: 20px;
}
.budget-card__title {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--c-ink);
}
.budget-card__price {
  font-family: var(--f-en);
  font-size: 16px;
  color: var(--c-ink-soft);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--c-line);
}
.budget-card__price strong {
  font-size: 44px;
  font-weight: 800;
  color: var(--card-color);
  margin: 0 4px;
  letter-spacing: -.01em;
}
.budget-card__spec li {
  font-size: 13.5px;
  color: var(--c-ink-soft);
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.6;
}
.budget-card__spec li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1.5px;
  background: var(--card-color);
}
.budget-card__more {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--card-color);
  text-transform: uppercase;
}
.budget-card__more svg { transition: transform .3s var(--ease); }
.budget-card:hover .budget-card__more svg { transform: translateX(4px); }

/* -------------------- Philosophy -------------------- */
.philosophy {
  background:
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
}
.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 900px) {
  .philosophy__grid { grid-template-columns: 1fr; }
}

.phil-card {
  padding: 50px 36px 44px;
  background: var(--c-bg-card);
  border-radius: 18px;
  border: 1px solid var(--c-line-soft);
  position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  overflow: hidden;
}
.phil-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.phil-card__icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-purple);
  margin-bottom: 28px;
  position: relative;
}
.phil-card__icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-purple-soft) 0%, transparent 70%);
  z-index: -1;
}
.phil-card__icon svg { width: 44px; height: 44px; }
.phil-card__no {
  font-family: var(--f-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-bottom: 12px;
}
.phil-card__title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 18px;
  color: var(--c-ink);
}
.phil-card__desc {
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-ink-soft);
}

/* -------------------- Articles -------------------- */
.articles { background: var(--c-bg); }
.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .articles__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .articles__grid { grid-template-columns: 1fr; }
}

.article-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.article-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.article-card__thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c1, var(--c-navy)), var(--c2, var(--c-purple)));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .9);
  font-family: var(--f-en);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  position: relative;
  transition: transform .6s var(--ease);
}
.article-card__thumb-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.2) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,.04) 12px 13px);
}
.article-card:hover .article-card__thumb-placeholder { transform: scale(1.05); }
.article-card__cat {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  background: rgba(255, 255, 255, .95);
  color: var(--c-ink);
  border-radius: 3px;
  backdrop-filter: blur(8px);
}
.article-card__cat--ad {
  background: var(--c-ink);
  color: #fff;
}
.article-card--ad {
  border-color: var(--c-line);
  position: relative;
}
.article-card--ad::after {
  content: "PR";
  position: absolute;
  top: 8px; right: 8px;
  font-family: var(--f-en);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  border-radius: 2px;
  z-index: 2;
}
.article-card__body {
  padding: 24px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.article-card__excerpt {
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-ink-soft);
  margin-bottom: 18px;
  flex: 1;
}
.article-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-en);
  font-size: 11.5px;
  color: var(--c-ink-mute);
  letter-spacing: .05em;
  padding-top: 14px;
  border-top: 1px solid var(--c-line-soft);
}

.articles__more {
  margin-top: 60px;
  text-align: center;
}

/* -------------------- Ad Banner -------------------- */
.ad-banner {
  padding: 50px 0;
  background: var(--c-bg);
}
.ad-banner__inner {
  text-align: center;
  position: relative;
}
.ad-banner__label {
  display: block;
  font-family: var(--f-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-bottom: 10px;
}
.ad-banner__slot {
  max-width: 728px;
  margin: 0 auto;
  height: 90px;
  background: var(--c-bg-alt);
  border: 1px dashed var(--c-line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-mute);
  font-size: 12px;
}

/* -------------------- Recommend (Product Cards) -------------------- */
.recommend { background: var(--c-bg-alt); }
.product__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .product__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

.product-card {
  background: var(--c-bg-card);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--c-line-soft);
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card__badge {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--f-en);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .18em;
  padding: 5px 11px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 4px;
}
.product-card__img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--c-bg-alt);
}
.product-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, #f8f9fc 0%, #eef1f6 100%);
  color: var(--c-ink-mute);
  font-size: 13px;
  position: relative;
}
.product-card__img-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed var(--c-line);
  border-radius: 4px;
}
.product-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--c-ink);
  margin-bottom: 20px;
  min-height: 3em;
}
.product-card__spec {
  margin-bottom: 22px;
  padding: 16px;
  background: var(--c-bg-alt);
  border-radius: 8px;
}
.product-card__spec li {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 5px 0;
  color: var(--c-ink);
  border-bottom: 1px dashed var(--c-line);
}
.product-card__spec li:last-child { border-bottom: 0; }
.product-card__spec li span {
  font-family: var(--f-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-ink-mute);
}
.product-card__price {
  font-family: var(--f-en);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.product-card__price small {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-ink-mute);
  letter-spacing: .05em;
  margin-right: 6px;
}
.product-card__price small:last-child { margin-right: 0; margin-left: 4px; }

/* -------------------- Peripherals -------------------- */
.peripherals { background: var(--c-bg); }
.peripheral__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .peripheral__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .peripheral__grid { grid-template-columns: 1fr; }
}
.peripheral-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line-soft);
  border-radius: 12px;
  padding: 22px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  display: block;
}
.peripheral-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-purple);
  box-shadow: 0 12px 30px rgba(123, 97, 255, .12);
}
.peripheral-card__img {
  aspect-ratio: 4 / 3;
  background: var(--c-bg-alt);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
.peripheral-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-mute);
  font-size: 13px;
  background: linear-gradient(135deg, #f8f9fc 0%, #eef1f6 100%);
  position: relative;
}
.peripheral-card__img-placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed var(--c-line);
  border-radius: 4px;
}
.peripheral-card__cat {
  font-family: var(--f-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-purple);
  margin-bottom: 8px;
}
.peripheral-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 12px;
  color: var(--c-ink);
}
.peripheral-card__price {
  font-family: var(--f-en);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.peripheral-card__price small {
  font-size: 10px;
  font-weight: 500;
  color: var(--c-ink-mute);
  margin-left: 3px;
}

/* -------------------- Ranking -------------------- */
.ranking { background: var(--c-bg-alt); }
.ranking__list {
  max-width: 880px;
  margin: 0 auto;
}
.ranking__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.ranking__item:first-child { border-top: 1px solid var(--c-line); }
.ranking__num {
  font-family: var(--f-en);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-line);
  width: 60px;
  flex-shrink: 0;
  transition: color .35s var(--ease);
  letter-spacing: -.02em;
}
.ranking__item:nth-child(1) .ranking__num { color: var(--c-purple); }
.ranking__item:nth-child(2) .ranking__num { color: color-mix(in srgb, var(--c-purple) 70%, var(--c-line) 30%); }
.ranking__item:nth-child(3) .ranking__num { color: color-mix(in srgb, var(--c-purple) 50%, var(--c-line) 50%); }

.ranking__link {
  flex: 1;
  display: block;
  padding-right: 24px;
  transition: transform .3s var(--ease);
}
.ranking__item:hover .ranking__link { transform: translateX(6px); }
.ranking__item:hover .ranking__num { color: var(--c-purple); }
.ranking__link h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-ink);
  margin-bottom: 8px;
}
.ranking__link p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

/* -------------------- About Mini -------------------- */
.about-mini { background: var(--c-bg); }
.about-mini__inner {
  max-width: var(--w-narrow);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 100%);
  border-radius: 24px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 56px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-mini__inner::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--c-purple) 0%, transparent 70%);
  opacity: .25;
  filter: blur(40px);
}
@media (max-width: 768px) {
  .about-mini__inner {
    grid-template-columns: 1fr;
    padding: 48px 28px;
    text-align: center;
    gap: 32px;
  }
}
.about-mini__avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-navy);
  border: 3px solid rgba(255, 255, 255, .15);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.about-mini__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-mini__eyebrow {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 14px;
}
.about-mini__title {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
}
.about-mini__desc {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 26px;
}
.about-mini .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.about-mini .btn--outline:hover {
  background: #fff;
  color: var(--c-navy);
  border-color: #fff;
}

/* -------------------- Footer -------------------- */
.footer {
  background: var(--c-navy-deep);
  color: rgba(255, 255, 255, .75);
  padding: 80px 0 36px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer__logo img {
  width: 44px; height: 44px;
  border-radius: 8px;
}
.footer__brand-ja {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: block;
}
.footer__brand-en {
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .5);
}
.footer__brand p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .55);
  margin-top: 10px;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 500px) {
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}
.footer__nav h4 {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer__nav li { margin-bottom: 10px; }
.footer__nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}
.footer__nav a:hover { color: #fff; }

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { color: rgba(255, 255, 255, .45); }
.footer__note { font-size: 10.5px !important; max-width: 480px; line-height: 1.7; }

/* -------------------- Side Ads (PC Only) -------------------- */
.side-ad {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: var(--side-ad-w);
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 14px 12px 12px;
  z-index: 50;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.side-ad.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.side-ad.is-closed { display: none; }
.side-ad--left  { left: var(--side-ad-gap); }
.side-ad--right { right: var(--side-ad-gap); }
.side-ad__close {
  position: absolute;
  top: -10px; right: -10px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease);
}
.side-ad__close:hover { transform: scale(1.1); }
.side-ad__label {
  display: block;
  font-family: var(--f-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-ink-mute);
  text-align: center;
  margin-bottom: 8px;
}
.side-ad__slot {
  height: 540px;
  background: var(--c-bg-alt);
  border: 1px dashed var(--c-line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--c-ink-mute);
  font-size: 11px;
  line-height: 1.7;
}
@media (max-width: 1500px) {
  .side-ad { display: none; }
}

/* -------------------- Sticky Bottom Ad (Mobile) -------------------- */
.sticky-ad {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--c-bg-card);
  border-top: 1px solid var(--c-line);
  padding: 8px 0;
  box-shadow: 0 -4px 20px rgba(11, 27, 61, .08);
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  display: none;
}
.sticky-ad.is-visible { transform: translateY(0); }
.sticky-ad.is-closed { display: none; }
.sticky-ad__close {
  position: absolute;
  top: -12px; right: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.sticky-ad__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 60px;
  margin: 0 16px;
  background: var(--c-bg-alt);
  border: 1px dashed var(--c-line);
  border-radius: 4px;
  font-size: 11px;
  color: var(--c-ink-mute);
}
.sticky-ad__label {
  font-family: var(--f-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  padding: 3px 8px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 3px;
}
@media (max-width: 900px) {
  .sticky-ad { display: block; }
  /* スティッキー広告分の余白 */
  body { padding-bottom: 80px; }
}

/* -------------------- To Top -------------------- */
.to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease);
  z-index: 70;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--c-purple); transform: translateY(-4px); }
@media (max-width: 900px) {
  .to-top { bottom: 90px; right: 20px; width: 44px; height: 44px; }
}

/* -------------------- Reveal Animation -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
