/* ===================================================
   見本の外側（ページの飾り）。読者がコピーするのは各ページの <style> と <script> だけ。
   =================================================== */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500&family=Zen+Kaku+Gothic+New:wght@400;700&display=swap");

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Jost", "Zen Kaku Gothic New", sans-serif;
  color: #2b2a27;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, p { margin: 0; }

/* ---------- 架空のサイト ---------- */
.page { background: #fff; }
.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-bottom: 1px solid #e8e3d8;
}
.site-header.is-left { justify-content: flex-start; }
.logo { font-family: "Jost", sans-serif; font-weight: 500; font-size: 20px; letter-spacing: .04em; }

.site-main { max-width: 880px; margin: 0 auto; padding: 28px 24px 64px; }

/* まるとせん */
.hero { position: relative; height: 200px; background: #f3efe6; border-radius: 4px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: 26px; right: 16%;
  width: 148px; height: 148px; border-radius: 50%; background: #e8dc6a;
}
.hero::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 64%;
  height: 2px; background: #2b2a27;
}
.hero i {
  position: absolute; left: 22%; top: calc(64% - 7px);
  width: 16px; height: 16px; border-radius: 50%; background: #2b2a27;
}

.eyebrow { margin-top: 28px; font-size: 12px; letter-spacing: .14em; color: #6b675f; }
.site-main h1 { margin-top: 2px; font-family: "Zen Kaku Gothic New", sans-serif; font-size: 24px; font-weight: 700; line-height: 1.5; }
.lead { margin-top: 6px; font-size: 14px; color: #6b675f; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.cards p { margin-top: 10px; font-size: 13px; line-height: 1.6; }
.thumb { position: relative; aspect-ratio: 4 / 3; background: #f3efe6; border-radius: 4px; overflow: hidden; }
.thumb::before { content: ""; position: absolute; inset: 0; margin: auto; }
.cards li:nth-child(1) .thumb::before {
  width: 40px; height: 28px;
  background:
    linear-gradient(#2b2a27 0 0) top / 100% 3px no-repeat,
    linear-gradient(#2b2a27 0 0) center / 100% 3px no-repeat,
    linear-gradient(#2b2a27 0 0) bottom / 100% 3px no-repeat;
}
.cards li:nth-child(1) .thumb::after {
  content: ""; position: absolute; top: 18%; right: 18%;
  width: 22px; height: 22px; border-radius: 50%; background: #e8dc6a;
}
.cards li:nth-child(2) .thumb::before { background: radial-gradient(#e8dc6a 5px, transparent 6px) 6px 6px / 24px 24px; }
.cards li:nth-child(3) .thumb::before { width: 56%; height: 30px; border: 2px solid #2b2a27; border-radius: 999px; }

@media (max-width: 600px) {
  .site-header { height: 72px; }
  .site-main { padding: 20px 16px 48px; }
  .hero { height: 150px; }
  .hero::before { width: 110px; height: 110px; top: 20px; }
  .site-main h1 { font-size: 20px; }
  .lead { font-size: 13px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
}

/* ---------- 19種の一覧ページ ---------- */
.effects-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding: 24px 24px 20px; }
.effects-head .logo { font-size: 14px; }
.effects-head h1 { font-family: "Zen Kaku Gothic New", sans-serif; font-size: 18px; font-weight: 700; }
.effects-head .lead { flex-basis: 100%; margin: 0; font-size: 13px; }

.effects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  border-top: 1px solid #e8e3d8;
  counter-reset: n;
}
.effects li {
  position: relative;
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid #e8e3d8;
  border-bottom: 1px solid #e8e3d8;
  perspective: 1000px;
  counter-increment: n;
}
.effects li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; top: 12px; left: 12px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e8dc6a;
  font: 500 11px/1 "Jost", sans-serif;
}
@media (max-width: 600px) {
  .effects { grid-template-columns: repeat(3, 1fr); }
  .effects li { height: 124px; }
  .effects li::before { top: 8px; left: 8px; width: 22px; height: 22px; font-size: 10px; }
}

/* ---------- 図・録画用（?still） ---------- */
.is-still *, .is-still *::before, .is-still *::after {
  transition: none !important;
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
}
html.is-still { scrollbar-width: none; }
html.is-still::-webkit-scrollbar { display: none; }
