:root {
  color-scheme: light;
  --ink: #19241f;
  --muted: #63706a;
  --line: #dfe7e1;
  --paper: #fff;
  --canvas: #f6f8f6;
  --accent: #23634b;
  --accent-dark: #174a38;
  --soft: #e8f1eb;
  --shadow: 0 14px 40px rgba(24, 52, 40, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
}
a { color: var(--accent-dark); }
a:focus-visible, .button:focus-visible {
  outline: 3px solid #e3ad43;
  outline-offset: 3px;
}
header, main, footer {
  max-width: 74rem;
  margin: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .65rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand-name { font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; }
.brand-ja { color: var(--muted); font-size: .8rem; letter-spacing: .08em; }
.primary-nav, .footer-links { display: flex; flex-wrap: wrap; gap: 1.15rem; }
.primary-nav a, .footer-links a { color: var(--ink); text-decoration: none; font-size: .93rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .25em;
}
main { min-height: calc(100vh - 18rem); padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 6vw, 4.8rem); max-width: 15ch; margin: .35rem 0 1.2rem; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); margin: .25rem 0 1rem; }
h3 { font-size: 1.15rem; margin: .35rem 0 .55rem; }
p { max-width: 68ch; margin: .8rem 0; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 52rem; }
.eyebrow { color: var(--accent); font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.meta { color: var(--muted); font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  display: inline-block;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: .45rem;
  color: #fff;
  padding: .65rem 1.05rem;
  text-decoration: none;
  font-weight: 700;
  transition: background .15s ease, transform .15s ease;
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--accent-dark); }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(13rem, .75fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(1rem, 2vw, 2rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero-copy { max-width: 51rem; }
.hero-copy h1 { max-width: 12ch; }
.hero-note { justify-self: end; max-width: 15rem; border-left: 2px solid var(--accent); padding: 1rem 0 1rem 1.25rem; color: var(--muted); }
.hero-note p { font-weight: 650; }
.hero-note-mark { display: block; color: var(--accent); font-size: 2rem; line-height: 1; }
.content-section { margin: clamp(3rem, 7vw, 7rem) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 24rem); align-items: end; gap: 2rem; margin-bottom: 1.6rem; }
.section-heading > p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 1rem; }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.video-grid { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); max-width: 62rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: .7rem; overflow: hidden; box-shadow: var(--shadow); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card h3 { margin-top: 0; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.media-frame { display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #e7f0e9, #f7faf7); color: var(--accent); font-size: .82rem; font-weight: 700; text-decoration: none; overflow: hidden; }
.product-media { aspect-ratio: 4 / 3; }
.video-media { aspect-ratio: 9 / 16; max-width: 24rem; margin: 0 auto; }
.video-media.compact { aspect-ratio: 9 / 12; }
.video-media:hover { background: linear-gradient(145deg, #dcebe0, #f3f8f4); }
.empty-state { background: var(--paper); border: 1px dashed #b7c9bc; border-radius: .7rem; padding: clamp(1.5rem, 4vw, 2.5rem); min-height: 12rem; display: flex; flex-direction: column; justify-content: center; }
.empty-state h2, .empty-state h3 { margin: .35rem 0; }
.empty-state p { color: var(--muted); }
.empty-icon { color: var(--accent); font-size: 1.7rem; line-height: 1; }
.creator-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; background: var(--soft); border-radius: 1rem; padding: clamp(1.5rem, 5vw, 4rem); }
.creator-feature .status-panel { background: rgba(255, 255, 255, .7); }
.feature-process { min-width: 0; }
.process-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.process-grid li { background: rgba(255, 255, 255, .75); border: 1px solid rgba(35, 99, 75, .16); border-radius: .6rem; padding: 1rem; min-height: 9rem; }
.step-number { display: block; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.process-grid h3 { margin: .45rem 0 .35rem; }
.process-grid p { font-size: .9rem; color: var(--muted); margin: 0; }
.status-panel { margin-top: 1.5rem; border: 1px solid var(--line); background: var(--paper); border-radius: .6rem; padding: 1rem 1.1rem; }
.status-label { display: inline-block; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.status-panel p { margin: .45rem 0; color: var(--muted); font-size: .92rem; }
.trust-section { border-top: 1px solid var(--line); padding-top: 2rem; max-width: 58rem; }
.trust-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 1.5rem 0; padding: 0; }
.trust-list li { border-left: 2px solid var(--accent); padding: .2rem 1rem; color: var(--muted); }
.prose, .listing { max-width: 68rem; }
.prose { max-width: 54rem; }
.prose h1, .listing h1 { max-width: 18ch; }
.copy-section { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2.5rem; }
.copy-section h2 { font-size: 1.45rem; }
.copy-section ul { padding-left: 1.3rem; }
.legal .copy-section { max-width: 52rem; }
.detail { max-width: 68rem; }
.back-link { font-size: .9rem; font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.detail-grid { display: grid; grid-template-columns: minmax(14rem, .7fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; margin: 2rem 0 4rem; }
.detail-grid .media-frame { max-width: 28rem; }
.video-detail-grid { grid-template-columns: minmax(12rem, .35fr) minmax(0, 1fr); }
.video-detail-grid .media-frame { max-width: 20rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-list span { border: 1px solid var(--line); border-radius: 999px; padding: .25rem .65rem; color: var(--muted); font-size: .8rem; }
.principle { border-left: 3px solid var(--accent); padding: .4rem 1rem; color: var(--accent-dark); font-weight: 700; }
footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding-top: 2rem; }
.footer-brand { font-weight: 800; color: var(--ink); }
.footer-brand span { font-size: .8rem; color: var(--muted); font-weight: 500; margin-left: .45rem; }
.footer-heading { font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.contact { font-size: .9rem; color: var(--muted); padding: 1.5rem 0 2.5rem; }
.contact a { color: var(--ink); }
@media (max-width: 54rem) {
  .hero, .creator-feature { grid-template-columns: 1fr; }
  .hero-note { justify-self: start; }
  .section-heading { grid-template-columns: 1fr; gap: .2rem; }
  .trust-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 38rem) {
  header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .primary-nav { gap: .8rem; }
  .hero { padding-top: 0; }
  .hero-copy h1 { font-size: clamp(2.2rem, 12vw, 3.3rem); }
  .process-grid, .trust-list, .footer-grid { grid-template-columns: 1fr; }
  .detail-grid, .video-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .video-detail-grid .media-frame { max-width: 15rem; margin: 0; }
  .media-frame { max-width: none; }
}
