/* ポートフォリオ本体（ホーム・ジャンルページ・クレジット）
   デモサイトの写真を主役にするため、本体は白と黒と一色の朱で静かにまとめる */
:root {
  --bg: #F4F2ED;
  --paper: #FFFFFF;
  --ink: #141414;
  --ink-2: #2B2A28;
  --muted: #6E6B66;
  --line: #DCD8CF;
  --accent: #FF5B2E;
  --accent-ink: #C93A12;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-size: 15px; line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- 共通部品 ---------- */
.kicker { font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.45; letter-spacing: .04em; margin-top: 14px; }
.h2-en { font-family: var(--en); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .08em; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 13px; }

/* ---------- header ---------- */
.pf-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 242, 237, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.pf-header.is-scrolled { border-bottom-color: var(--line); }
.pf-header-inner { height: 72px; display: flex; align-items: center; gap: 24px; }
.pf-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.pf-logo-mark { display: block; width: 42px; height: 42px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(30, 42, 70, .14), 0 2px 6px -2px rgba(30, 42, 70, .25); }
.pf-logo b { display: block; font-family: var(--en); font-size: 15px; font-weight: 700; letter-spacing: .14em; line-height: 1.2; }
.pf-logo small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .12em; line-height: 1.4; }
.pf-nav { display: flex; gap: 6px; }
.pf-nav a { text-decoration: none; font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background .25s; }
.pf-nav a:hover { background: rgba(20, 20, 20, .06); }
.pf-nav .pf-nav-cta { background: var(--ink); color: #fff; }
.pf-nav .pf-nav-cta:hover { background: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-count { font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .14em; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.hero-count b { color: var(--accent); font-size: 16px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 68px); line-height: 1.32; letter-spacing: .02em; font-weight: 700; margin: 26px 0 26px; }
.hero h1 em { font-style: normal; position: relative; z-index: 0; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .1em; height: .32em; background: var(--accent); opacity: .85; z-index: -1; transform: scaleX(0); transform-origin: left; animation: mark 1s var(--ease) .6s forwards; }
@keyframes mark { to { transform: scaleX(1); } }
.hero-lead { color: var(--ink-2); max-width: 34em; font-size: clamp(14px, 1.3vw, 16px); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--en); font-size: clamp(30px, 3.6vw, 40px); font-weight: 600; line-height: 1.1; }
.hero-stats span { font-size: 12px; color: var(--muted); }

.hero-visual { position: relative; height: clamp(460px, 62vw, 680px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotate(-6deg) translateX(4%); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.hero-col { overflow: hidden; }
.hero-col-inner { display: flex; flex-direction: column; gap: 14px; animation: colUp 48s linear infinite; }
.hero-col:nth-child(2) .hero-col-inner { animation-name: colDown; animation-duration: 56s; }
.hero-col:nth-child(3) .hero-col-inner { animation-duration: 62s; }
@keyframes colUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes colDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.hero-shot { display: block; border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .45); aspect-ratio: 390 / 760; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* 飾りとして流すだけ：押せない・止まらない。写真がすべて読めてから表示する（白い枠を流さない） */
.hero-visual { pointer-events: none; user-select: none; -webkit-user-select: none; }
.js .hero-visual .hero-col { opacity: 0; transition: opacity .9s var(--ease); }
.js .hero-visual.is-ready .hero-col { opacity: 1; }
.hero-shot[hidden] { display: none; }

/* ---------- genres ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.section-head p.note { color: var(--muted); font-size: 14px; max-width: 32em; }
.genres { background: var(--paper); border-radius: 36px 36px 0 0; }
.genre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--bg); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); isolation: isolate; }
.g-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(0, 0, 0, .35); }
.g-visual { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--g-bg, #e9e5dc); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; align-content: center; }
.g-shot { position: relative; aspect-ratio: 16 / 10; border-radius: 7px; overflow: hidden; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); background: #ddd; }
.g-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.g-shot:nth-child(odd) { transform: translateY(4%); }
.g-card:hover .g-shot { transform: translateY(-4%); }
.g-card:hover .g-shot:nth-child(2n) { transform: translateY(4%); }
.g-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-card:hover .g-photo { transform: scale(1.05); }
.g-body { padding: 22px 24px 76px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.g-num { font-family: var(--en); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.g-body h3 { font-size: 20px; line-height: 1.5; letter-spacing: .04em; }
.g-en { font-family: var(--en); font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.g-patterns { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.g-patterns li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.5; }
.g-patterns i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-family: var(--en); font-style: normal; font-size: 11px; font-weight: 700; color: #fff; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.g-go { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; transition: background .3s, transform .45s var(--ease); }
.g-card:hover .g-go { background: var(--accent); transform: rotate(-45deg); }

/* ---------- features ---------- */
.features { background: var(--ink); color: #F1EFEA; }
.features .kicker { color: #A9A49B; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--ink); padding: 34px 30px 36px; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 91, 46, .14); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; letter-spacing: .04em; line-height: 1.6; }
.feature p { color: #B9B4AB; font-size: 14px; margin-top: 10px; }

/* ---------- flow ---------- */
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.flow-list li { position: relative; background: var(--paper); border-radius: var(--radius); padding: 28px 22px 26px; counter-increment: step; }
.flow-list li::before { content: "STEP " counter(step, decimal-leading-zero); font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow-list h3 { font-size: 17px; margin: 10px 0 8px; line-height: 1.5; }
.flow-list p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-list details { background: var(--paper); border-radius: 14px; overflow: hidden; }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; position: relative; display: flex; gap: 14px; align-items: baseline; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; font-family: var(--en); color: var(--accent); font-size: 18px; }
.faq-list summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list .faq-a { padding: 0 26px 24px 56px; color: var(--ink-2); font-size: 14px; }

/* ---------- contact ---------- */
.contact-box { background: var(--accent); color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.contact-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .12); }
.contact-box .kicker { color: rgba(255, 255, 255, .85); }
.contact-box .kicker::before { background: #fff; }
.contact-box p.text { margin-top: 14px; font-size: 15px; opacity: .95; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.contact-box .btn { background: #fff; color: var(--ink); border-color: #fff; }
.contact-box .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-pending { font-size: 13px; opacity: .9; }

/* ---------- footer ---------- */
.pf-footer { padding: 56px 0 40px; font-size: 13px; color: var(--muted); }
.pf-footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.pf-footer a { text-decoration: none; }
.pf-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.pf-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- genre page ---------- */
.crumb { font-size: 13px; color: var(--muted); padding-top: 22px; }
.crumb ol { display: flex; gap: 10px; flex-wrap: wrap; }
.crumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.gp-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.gp-num { font-family: var(--en); font-weight: 600; letter-spacing: .14em; color: var(--accent); font-size: 14px; }
.gp-hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.3; margin-top: 12px; letter-spacing: .04em; }
.gp-en { font-family: var(--en); font-size: clamp(16px, 1.6vw, 20px); color: var(--muted); margin-top: 8px; }
.gp-catch { font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.6; }
.gp-intro { color: var(--ink-2); margin-top: 14px; }
.gp-needs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.gp-needs li { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.gp-needs li::before { content: "✓"; color: var(--accent); margin-right: 6px; font-weight: 700; }
.gp-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: clamp(48px, 6vw, 80px); }
.gp-jump a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--paper); text-decoration: none; font-weight: 700; font-size: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.gp-jump a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .35); }
.gp-jump b { font-family: var(--en); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }

.pt { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(56px, 7vw, 90px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.pt:nth-of-type(even) .pt-visual { order: 2; }
.pt-visual { position: relative; padding: 0 9% 9% 0; }
.device-pc { border-radius: 14px; background: #1b1b1b; padding: 0; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); overflow: hidden; }
.device-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #2a2a2a; }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: #555; }
.device-bar i:nth-child(1) { background: #ff6159; } .device-bar i:nth-child(2) { background: #ffbd2e; } .device-bar i:nth-child(3) { background: #28c941; }
.device-bar span { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: #3a3a3a; font: 10px/18px var(--en); color: #aaa; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.screen { position: relative; overflow: hidden; background: #eee; }
.device-pc .screen { aspect-ratio: 16 / 10; }
.screen-img { position: absolute; inset: 0; background-size: 100% auto; background-repeat: no-repeat; background-position: center top; transition: background-position 9s cubic-bezier(.45, 0, .55, 1); }
.pt-visual:hover .screen-img, .pt-visual:focus-within .screen-img { background-position: center bottom; }
.device-sp { position: absolute; right: 0; bottom: 0; width: 25%; border-radius: 22px; padding: 7px; background: #111; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6); }
.device-sp .screen { aspect-ratio: 390 / 800; border-radius: 16px; }
.device-sp .screen-img { transition-duration: 11s; }
.pt-hint { position: absolute; left: 0; bottom: 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pt-coming { position: absolute; inset: 0; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #ecebe6 0 14px, #e4e2db 14px 28px); color: var(--muted); font-weight: 700; letter-spacing: .1em; font-size: 14px; }
.pt-key { font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .18em; display: inline-flex; align-items: center; gap: 10px; }
.pt-key b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 15px; }
.pt h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.45; margin-top: 14px; letter-spacing: .04em; }
.pt-shop { color: var(--muted); font-size: 13px; margin-top: 4px; }
.pt-desc { margin-top: 18px; color: var(--ink-2); }
.pt-meta { margin-top: 22px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pt-meta > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.8; }
.pt-meta dt { color: var(--muted); font-weight: 500; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatches span { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.pt-features { margin-top: 20px; display: grid; gap: 6px; }
.pt-features li { font-size: 14px; display: flex; gap: 10px; align-items: baseline; }
.pt-features li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; transform: translateY(-2px); }
.pt-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

.compare { overflow-x: auto; background: var(--paper); border-radius: var(--radius); }
.compare table { width: 100%; min-width: 1240px; border-collapse: collapse; font-size: 14px; }
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
.compare thead th:first-child { background: #FAF9F6; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.7; }
.compare thead th { font-size: 13px; background: #FAF9F6; }
.compare thead th b { font-family: var(--en); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: #fff; margin-right: 8px; font-size: 12px; }
.compare tbody th { color: var(--muted); font-weight: 500; width: 140px; }
.compare-hint { margin-top: 10px; font-size: 12.5px; color: var(--muted); text-align: right; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

.other-genres { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.other-genres a { padding: 18px; border-radius: 14px; background: var(--paper); text-decoration: none; display: flex; flex-direction: column; gap: 2px; transition: transform .3s var(--ease), box-shadow .3s; }
.other-genres a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .35); }
.other-genres b { font-size: 14px; line-height: 1.5; }
.other-genres span { font-family: var(--en); font-size: 12px; color: var(--muted); }

/* スマホ表示で見る */
.phone-modal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: hidden; }
.phone-modal::backdrop { background: rgba(14, 14, 14, .72); backdrop-filter: blur(6px); }
.phone-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 20px; }
.phone-frame { position: relative; width: 390px; height: 844px; border-radius: 52px; padding: 14px; background: #0d0d0d; box-shadow: 0 0 0 2px #3a3a3a, 0 40px 90px rgba(0, 0, 0, .6); transform-origin: center; }
.phone-frame::before { content: ""; position: absolute; top: 24px; left: 50%; width: 110px; height: 30px; margin-left: -55px; border-radius: 20px; background: #000; z-index: 2; }
.phone-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 40px; background: #fff; }
.phone-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 22px; cursor: pointer; z-index: 3; }
.phone-open { position: fixed; top: 16px; left: 16px; z-index: 3; }

/* credits */
.credits-list { display: grid; gap: 28px; }
.credits-list section { background: var(--paper); border-radius: var(--radius); padding: 26px 28px; }
.credits-list h2 { font-size: 18px; }
.credits-list ul { margin-top: 12px; display: grid; gap: 4px; font-size: 13px; }
.credits-list li { display: flex; gap: 10px; flex-wrap: wrap; }
.credits-list li span { color: var(--muted); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: 1fr 1fr; }
  .flow-list li::after { display: none; }
  .other-genres { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .pf-nav a:not(.pf-nav-cta) { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; transform: rotate(-4deg); margin: 0 -24px; }
  .gp-hero { grid-template-columns: 1fr; align-items: start; }
  .gp-jump { grid-template-columns: 1fr 1fr; }
  .gp-jump a { padding: 12px; font-size: 13px; gap: 8px; }
  .compare tbody th { width: 92px; }
  .pt { grid-template-columns: 1fr; }
  .pt:nth-of-type(even) .pt-visual { order: 0; }
  .contact-box { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .wrap { width: calc(100% - 32px); }
  .pf-header-inner { height: 62px; }
  .pf-logo small { display: none; }
  .pf-logo { gap: 10px; min-width: 0; }
  .pf-logo-mark { width: 36px; height: 36px; }
  .pf-logo b { font-size: 13px; letter-spacing: .1em; white-space: nowrap; }
  .pf-header-inner { gap: 12px; }
  .pf-nav .pf-nav-cta { white-space: nowrap; }
  .genre-grid, .feature-grid, .flow-list { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .hero-visual { height: 340px; grid-template-columns: repeat(3, 1fr); }
  .other-genres { grid-template-columns: 1fr 1fr; }
  .faq-list .faq-a { padding-left: 26px; }
  .phone-frame { border-radius: 44px; padding: 11px; }
  .phone-frame iframe { border-radius: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-col-inner { animation: none !important; }
  .screen-img { transition: none !important; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero h1 em::after { animation: none; transform: none; }
}

/* 各サンプルの「管理画面を見る」 */
.pt-admin { display: inline-flex; align-items: center; gap: 8px; flex-basis: 100%; width: fit-content; margin-top: 4px; padding: 6px 2px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 4px; }
.pt-admin svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.pt-admin small { font-size: 12px; font-weight: 500; color: var(--muted, #6B6B6B); text-decoration: none; }
.pt-admin:hover { text-decoration-color: currentColor; }

/* 語の途中で折り返さない */
.nw { white-space: nowrap; }

/* 説明文の段落を分ける（1つの p の中で少し間をあける） */
.note-p { display: block; }
.note-p + .note-p { margin-top: .7em; }

/* スマホでは「サイトを見る」がそのままスマホ表示になるので、「スマホ表示で見る」は出さない（横向きのスマホはプレビューが小さすぎるので同じく隠す） */
@media (max-width: 600px), (max-height: 500px) and (pointer: coarse) {
  .pt-cta [data-phone] { display: none; }
}
/* マウスのない端末（スマホ・タブレット）では「カーソルを乗せると…」の案内も出さない */
@media (hover: none) {
  .pt-hint { display: none; }
}
