/* ==========================================================================
   Slides Studio 紹介（/studio/）専用。土台は ../style.css（色・字・余白・ボタン）。
   決まりは本体と同じ：角丸はボタンだけ／影なし／グラデーションなし。
   ========================================================================== */

/* 画面・スライドの枠 */
.shot { margin: 0; background: #fff; border: 1px solid var(--line); }
.shot img { width: 100%; height: auto; display: block; }
.shot--ink { border-color: var(--line-strong); }
.shot-cap { margin-top: 10px; font-size: var(--fs-small); line-height: 1.6; color: var(--ink-2); }
.section--dark .shot { border-color: var(--dark-line); }
.section--dark .shot-cap { color: var(--dark-muted); }

/* ---- Hero ---- */
.st-hero { padding-block: clamp(40px, 6vw, 88px) var(--section-std); overflow: hidden; }
.st-hero__grid { display: grid; gap: var(--space-6); align-items: center; }
.st-hero h1 { font-size: clamp(2.5rem, 1rem + 5.4vw, 5.25rem); line-height: 1.1; }
.st-hero h1 em { font-style: normal; color: var(--accent-fill); }
.st-hero__sub { margin-top: var(--space-4); font-size: var(--fs-lede); line-height: 1.75; font-weight: 500; max-width: 26em; }
.st-hero .btn-row { margin-top: var(--space-5); }
.st-hero__note { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--ink-2); }

/* 表紙1枚＋同じ原稿からできたページの列 */
.st-reel__thumbs { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.st-reel__more { position: relative; }
.st-reel__more span { position: absolute; inset: 0; display: grid; place-content: center; background: rgba(22, 20, 18, .78); color: #fff; font-size: .8125rem; font-weight: 700; text-align: center; line-height: 1.2; }
.st-reel__more b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin: 0 .1em; }
@media (min-width: 960px) {
  .st-hero__grid { grid-template-columns: 1fr 1.05fr; gap: var(--space-6); }
}

/* ---- 数字の帯 ---- */
.st-proof__head { max-width: 30em; }
.st-proof__nums { margin-top: var(--space-5); display: grid; gap: var(--space-4); grid-template-columns: 1fr; border-top: 1px solid var(--dark-line); }
.st-proof__nums li { padding-top: var(--space-3); }
.st-proof__nums b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 1.6rem + 5vw, 5.5rem); line-height: 1; color: var(--accent-on-dark); letter-spacing: -.01em; }
.st-proof__nums b small { font-family: var(--font-head); font-size: .38em; font-weight: 900; margin-left: .12em; color: var(--dark-text); }
.st-proof__nums span { display: block; margin-top: var(--space-2); color: var(--dark-muted); font-size: var(--fs-small); }
@media (min-width: 768px) { .st-proof__nums { grid-template-columns: repeat(3, 1fr); } }
.st-proof__arrow { display: none; }

/* ---- 3つの流れ ---- */
.st-steps { margin-top: var(--space-5); display: grid; gap: var(--space-5); }
.st-steps li { display: grid; gap: var(--space-2); align-content: start; }
.st-steps .num { font-size: 1rem; color: var(--accent); }
.st-steps h3 { font-size: var(--fs-h3); }
.st-steps p { color: var(--ink-2); }
.st-steps .shot { margin-top: var(--space-2); aspect-ratio: 16 / 10; overflow: hidden; }
.st-steps .shot img { height: 100%; object-fit: cover; object-position: top left; }
.st-steps .shot--slide { display: grid; align-items: center; }
.st-steps .shot--slide img { height: auto; }
@media (min-width: 900px) { .st-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }

/* ---- メリットの行（文と絵が左右に入れかわる） ---- */
.st-feature { display: grid; gap: var(--space-4); align-items: center; }
.st-feature + .st-feature { margin-top: var(--section-std); }
.st-feature__text .kicker { margin-bottom: var(--space-2); }
.st-feature__text h3 { font-size: var(--fs-h2); font-weight: 900; line-height: 1.22; }
.st-feature__text p { margin-top: var(--space-3); }
.st-feature__text .st-points { margin-top: var(--space-3); }
@media (min-width: 960px) {
  .st-feature { grid-template-columns: 5fr 7fr; gap: var(--space-6); }
  .st-feature--rev .st-feature__text { order: 2; }
}

/* チェックの箇条 */
.st-points li { position: relative; padding-left: 1.6em; line-height: 1.75; }
.st-points li + li { margin-top: 6px; }
.st-points li::before { content: ""; position: absolute; left: .15em; top: .55em; width: .55em; height: .3em; border-left: 2px solid var(--accent-fill); border-bottom: 2px solid var(--accent-fill); transform: rotate(-45deg); }

/* 2×2 の並び */
.st-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 頼む前と後 */
.st-ask { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--bg-2); border-left: 3px solid var(--accent-fill); font-weight: 700; line-height: 1.6; }
.st-ask__label { flex: none; font-family: var(--font-display); font-size: .7rem; letter-spacing: .12em; color: var(--accent); padding-top: .25em; }
.st-ba { margin-top: 12px; display: grid; gap: 10px; align-items: center; }
.st-ba__arrow { justify-self: center; font-family: var(--font-display); font-weight: 800; color: var(--accent-fill); font-size: 1.5rem; line-height: 1; transform: rotate(90deg); }
.st-ba .tag { display: inline-block; margin-bottom: 6px; font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); }
.st-ba .is-after .tag { color: var(--accent); }
@media (min-width: 640px) {
  .st-ba { grid-template-columns: 1fr auto 1fr; }
  .st-ba__arrow { transform: none; }
}

/* 講座：3枚を少しずつ */
.st-course { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.st-course > :nth-child(1) { grid-column: 1 / -1; }
.st-course > :nth-child(2), .st-course > :nth-child(3) { grid-column: span 3; }

/* ---- こんな人に ---- */
.st-for { margin-top: var(--space-5); display: grid; gap: 0; border-top: 2px solid var(--ink); }
.st-for li { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.st-for b { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-h3); line-height: 1.4; }
.st-for span { color: var(--ink-2); }
@media (min-width: 900px) {
  .st-for { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); border-top: 0; }
  .st-for li { border-top: 2px solid var(--ink); border-bottom: 0; align-content: start; }
}

/* ---- 料金 ---- */
.st-price { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.st-plan { border: 1px solid var(--line-strong); padding: var(--space-4) var(--space-3); display: grid; gap: 6px; align-content: start; background: #fff; }
.st-plan--main { border: 2px solid var(--accent-fill); }
.st-plan__name { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: .02em; }
.st-plan__badge { justify-self: start; font-size: .75rem; font-weight: 700; color: #fff; background: var(--accent-fill); padding: 2px 10px; border-radius: var(--radius-pill); }
.st-plan__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); line-height: 1.1; margin-top: var(--space-1); }
.st-plan__price small { font-family: var(--font-body); font-size: .36em; font-weight: 700; margin-left: .2em; color: var(--ink-2); }
.st-plan__pt { font-weight: 700; }
.st-plan__memo { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.7; margin-top: var(--space-1); }
@media (min-width: 900px) { .st-price { grid-template-columns: repeat(3, 1fr); } }
.st-price-notes { margin-top: var(--space-4); display: grid; gap: 6px; font-size: var(--fs-small); color: var(--ink-2); }
.st-price-notes li { padding-left: 1em; text-indent: -1em; }
.st-price-notes li::before { content: "・"; }

/* ---- 見出しまわり ---- */
.st-head { max-width: 46em; }
.st-head .lede { margin-top: var(--space-3); color: var(--ink-2); }
.section--dark .st-head .lede { color: var(--dark-muted); }
.st-more { margin-top: var(--space-6); }

/* ---- できること（features.html） ---- */
.st-jump { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: 8px; }
.st-jump a { display: inline-block; padding: .45em 1.1em; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); text-decoration: none; font-size: var(--fs-small); font-weight: 700; }
.st-jump a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.st-group { scroll-margin-top: 88px; }
.st-group__media { display: grid; gap: 10px; }
.st-group__media--2 { grid-template-columns: 1fr 1fr; }
.st-group__list { margin-top: var(--space-5); display: grid; gap: var(--space-4); }
.st-group__list > li { border-top: 1px solid var(--line-strong); padding-top: var(--space-2); }
.st-group__list h3 { font-size: 1.125rem; font-weight: 900; line-height: 1.5; }
.st-group__list p { margin-top: 6px; color: var(--ink-2); font-size: .9375rem; line-height: 1.8; }
@media (min-width: 768px) { .st-group__list { grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-5); } }
@media (min-width: 1100px) { .st-group__list--3 { grid-template-columns: repeat(3, 1fr); } }

/* ==== 第2版：中身で見せる ==== */
/* ヒーローの壁（中身のスライドを大量に並べる） */
.st-wall { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.st-wall .shot { border-color: var(--line); }
.st-wall__badge { position: absolute; right: -6px; bottom: -14px; background: var(--ink); color: #fff; padding: 10px 16px; line-height: 1.2; text-align: right; }
.st-wall__badge b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); color: var(--accent-on-dark); }
.st-wall__badge span { font-size: .8125rem; font-weight: 700; }
@media (min-width: 960px) { .st-wall { grid-template-columns: repeat(4, 1fr); } }

/* 時間の比べ（棒） */
.st-time { margin-top: var(--space-5); display: grid; gap: var(--space-4); }
.st-time__row { display: grid; gap: 8px; }
.st-time__label { font-weight: 700; color: var(--dark-muted); font-size: var(--fs-small); }
.st-time__bar { height: 18px; background: var(--dark-line); position: relative; }
.st-time__bar i { position: absolute; inset: 0 auto 0 0; background: var(--dark-muted); }
.st-time__row--after .st-time__bar i { background: var(--accent-on-dark); }
.st-time__val { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 1.6rem + 4vw, 4.75rem); line-height: 1; }
.st-time__val small { font-family: var(--font-head); font-size: .4em; font-weight: 900; margin-left: .1em; }
.st-time__row--after .st-time__val { color: var(--accent-on-dark); }
.st-time__note { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--dark-muted); }

/* 中身のギャラリー */
.st-gal { margin-top: var(--space-5); display: grid; gap: var(--space-5); }
.st-gal__group h3 { font-size: 1.125rem; font-weight: 900; display: flex; gap: 12px; align-items: baseline; }
.st-gal__group h3 span { font-size: var(--fs-small); font-weight: 500; color: var(--ink-2); }
.st-gal__grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .st-gal__grid { grid-template-columns: repeat(3, 1fr); } }

/* 自分のキャラ */
.st-custom { display: grid; gap: var(--space-4); align-items: center; }
.st-compare { display: grid; gap: 10px; }
.st-compare .tag { display: inline-block; margin-bottom: 6px; font-size: .75rem; font-weight: 700; color: var(--ink-2); }
.st-poses { margin-top: var(--space-4); display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; background: var(--bg-2); padding: 10px 8px 0; }
.st-poses img { width: 100%; height: auto; }
@media (min-width: 960px) { .st-custom { grid-template-columns: 5fr 7fr; gap: var(--space-6); } .st-compare { grid-template-columns: 1fr 1fr; } }

/* 価格の大きな数字 */
.st-cost { margin-top: var(--space-5); display: grid; gap: var(--space-4); border-top: 2px solid var(--ink); padding-top: var(--space-4); }
.st-cost b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 1.8rem + 5vw, 5.5rem); line-height: 1; color: var(--accent); }
.st-cost b small { font-family: var(--font-head); font-size: .36em; font-weight: 900; color: var(--ink); margin-left: .1em; }
.st-cost p { margin-top: 10px; color: var(--ink-2); }
@media (min-width: 900px) { .st-cost { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 960px) {
  .st-hero__grid { grid-template-columns: .9fr 1.1fr; gap: var(--space-5); }
  .st-wall { grid-template-columns: repeat(3, 1fr); margin-right: calc(-1 * clamp(0px, 3vw, 48px)); }
}
.st-gal__group h3 { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 899px) { .st-gal__grid > :first-child { grid-column: 1 / -1; } }
/* 見出しの中の数字：和文フォントの数字は細く詰まって見えるので、欧文の数字に替える */
h1 .n, h2 .n, h3 .n, .h2 .n, .statement .n { font-family: var(--font-display); font-weight: 800; letter-spacing: 0; margin: 0 .04em; }

/* 型の一覧（中身） */
.st-kata { margin-top: var(--space-5); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) 12px; }
.st-kata p { margin-top: 8px; line-height: 1.45; }
.st-kata b { display: block; font-family: var(--font-head); font-weight: 900; font-size: .9375rem; }
.st-kata span { display: block; font-size: .8125rem; color: var(--ink-2); }
@media (min-width: 768px) { .st-kata { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .st-kata { grid-template-columns: repeat(4, 1fr); gap: var(--space-4) 16px; } }

/* クリックで動く様子の動画 */
.st-video { margin: var(--space-5) 0 0; }
.st-video video { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--line-strong); }
.st-video figcaption { margin-top: 10px; font-weight: 700; }
.st-video figcaption span { display: block; font-weight: 400; font-size: var(--fs-small); color: var(--ink-2); }
@media (min-width: 1100px) { .st-video { max-width: 960px; } }

/* できることのページ → トップへ戻る道 */
.st-back { margin-bottom: var(--space-3); }
.st-back a { display: inline-block; padding: .5em 1.2em; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: 700; text-decoration: none; }
.st-back a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.st-back-bottom { padding-block: 0 var(--section-std); }

/* 時間の比べ：棒がのびるアニメーション（くり返し）。手作業の棒はゆっくり長く、Studio の棒は一瞬で止まる */
@media (prefers-reduced-motion: no-preference) {
  .st-time__bar i { transform-origin: left center; }
  .st-time__row .st-time__bar i { animation: st-bar-long 8s cubic-bezier(.25,.6,.3,1) infinite; }
  .st-time__row .st-time__val { animation: st-val-long 8s ease infinite; }
  .st-time__row--after .st-time__bar i { animation: st-bar-short 8s ease-out infinite; }
  .st-time__row--after .st-time__val { animation: st-val-short 8s ease infinite; }
}
@keyframes st-bar-long { 0% { transform: scaleX(0); } 45% { transform: scaleX(1); } 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes st-val-long { 0%, 40% { opacity: 0; transform: translateY(8px); } 47% { opacity: 1; transform: none; } 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes st-bar-short { 0%, 52% { transform: scaleX(0); } 55% { transform: scaleX(1); } 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes st-val-short { 0%, 53% { opacity: 0; transform: translateY(8px); } 58% { opacity: 1; transform: none; } 90% { opacity: 1; } 100% { opacity: 0; } }

/* 時間の比べ：アナログ時計（長針が14回まわる／1/6だけ動く）。棒と同じ8秒でくり返す */
.st-time__row { grid-template-columns: clamp(64px, 12vw, 112px) 1fr; column-gap: clamp(16px, 3vw, 32px); align-items: center; }
.st-time__body { display: grid; gap: 8px; min-width: 0; }
.st-clock { width: 100%; height: auto; overflow: visible; }
.st-clock__face { fill: none; stroke: var(--dark-muted); stroke-width: 3; }
.st-clock__ticks line { stroke: var(--dark-muted); stroke-width: 2.5; stroke-linecap: round; }
.st-clock__h, .st-clock__m { stroke: var(--dark-text); stroke-linecap: round; transform-origin: 50px 50px; }
.st-clock__h { stroke-width: 5; }
.st-clock__m { stroke-width: 3.5; }
.st-clock__pin { fill: var(--dark-text); }
.st-clock--short .st-clock__face, .st-clock--short .st-clock__ticks line { stroke: var(--accent-on-dark); }
.st-clock--short .st-clock__h, .st-clock--short .st-clock__m { stroke: var(--accent-on-dark); }
.st-clock--short .st-clock__pin { fill: var(--accent-on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .st-clock--long .st-clock__m { animation: st-clock-long-m 8s cubic-bezier(.25,.6,.3,1) infinite; }
  .st-clock--long .st-clock__h { animation: st-clock-long-h 8s cubic-bezier(.25,.6,.3,1) infinite; }
  .st-clock--short .st-clock__m { animation: st-clock-short-m 8s ease-out infinite; }
  .st-clock--short .st-clock__h { animation: st-clock-short-h 8s ease-out infinite; }
}
/* 14時間：長針 14回転（5040度）、短針 14/12回転（420度） */
@keyframes st-clock-long-m { 0% { transform: rotate(0deg); } 45%, 100% { transform: rotate(5040deg); } }
@keyframes st-clock-long-h { 0% { transform: rotate(0deg); } 45%, 100% { transform: rotate(420deg); } }
/* 9分48秒：長針 約59度（1/6回転弱）、短針 約5度 */
@keyframes st-clock-short-m { 0%, 52% { transform: rotate(0deg); } 58%, 100% { transform: rotate(58.8deg); } }
@keyframes st-clock-short-h { 0%, 52% { transform: rotate(0deg); } 58%, 100% { transform: rotate(4.9deg); } }
.st-time__row--after .st-time__label { color: var(--accent-on-dark); }
