:root {
  --bg: #ffffff;
  --dark: #121214;
  --dark-2: #1c1c20;
  --ink: #16161a;
  --muted: #6b6b73;
  --accent: #ff4d3d;      /* 録画ランプの赤 */
  --accent-dark: #e23a2b;
  --yellow: #ffd23f;
  --line: #e7e7ea;
  --en: "Jost", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .6em; font-weight: 900; letter-spacing: .02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.nb { display: inline-block; }

.label {
  font-family: var(--en); font-weight: 500; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8em; display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 24px; height: 2px; background: currentColor; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  padding: .9em 2.2em; border-radius: 999px; letter-spacing: .05em;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-small { padding: .5em 1.4em; font-size: .88rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18,18,20,.92); backdrop-filter: blur(8px); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--sans); font-weight: 900; font-size: 1.15rem; letter-spacing: .08em; display: flex; align-items: center; gap: 10px; margin: 0; }
.logo small { font-family: var(--en); font-size: .62rem; font-weight: 500; letter-spacing: .2em; opacity: .6; margin-left: 4px; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,77,61,.25); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.global-nav { display: flex; align-items: center; gap: 26px; font-size: .9rem; }
.global-nav a:not(.btn):hover { color: var(--yellow); }
.nav-toggle { display: none; }

/* Hero */
.hero { background: radial-gradient(circle at 80% 30%, #2a2a33 0, var(--dark) 60%); color: #fff; padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.3; }
.hero h1 .nb:last-child { color: var(--yellow); }
.lead { color: rgba(255,255,255,.75); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }

/* カメラのモニター風フレーム */
.hero-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,77,61,.35), rgba(255,210,63,.18) 50%, rgba(80,120,255,.3)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 2px, transparent 2px 4px),
    #26262c;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  font-family: var(--en); font-size: .85rem; letter-spacing: .1em;
}
.frame-top, .frame-bottom { position: absolute; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.frame-top { top: 18px; }
.frame-bottom { bottom: 18px; justify-content: flex-start; opacity: .8; }
.rec { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; }
.bar { flex: 1; height: 3px; background: rgba(255,255,255,.25); border-radius: 2px; overflow: hidden; }
.bar i { display: block; width: 38%; height: 100%; background: #fff; animation: progress 8s linear infinite; }
@keyframes progress { from { width: 0; } to { width: 100%; } }
.frame-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.95);
}
.frame-play::after {
  content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%;
  border-left: 24px solid var(--ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
.frame-play.small { width: 56px; height: 56px; }
.frame-play.small::after { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
.frame-corners i { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.7); }
.frame-corners i:nth-child(1) { left: 12%; top: 22%; border-right: 0; border-bottom: 0; }
.frame-corners i:nth-child(2) { right: 12%; top: 22%; border-left: 0; border-bottom: 0; }
.frame-corners i:nth-child(3) { left: 12%; bottom: 22%; border-right: 0; border-top: 0; }
.frame-corners i:nth-child(4) { right: 12%; bottom: 22%; border-left: 0; border-top: 0; }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark p { color: rgba(255,255,255,.72); }
.section-head { margin-bottom: 48px; }
.section-head > p:last-child:not(.label) { color: var(--muted); }
.section-dark .section-head > p:last-child:not(.label) { color: rgba(255,255,255,.65); }

/* Service */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: border-color .2s, transform .2s; }
.svc:hover { border-color: var(--ink); transform: translateY(-3px); }
.svc-num { font-family: var(--en); font-weight: 700; color: var(--accent); font-size: .9rem; letter-spacing: .1em; display: block; margin-bottom: 10px; }
.svc p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Strength */
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strength { background: var(--dark-2); border-radius: var(--radius); padding: 32px 28px; border-top: 3px solid var(--yellow); }
.strength p { font-size: .92rem; margin: 0; }

/* Price */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.plan-featured { border: 2px solid var(--accent); box-shadow: 0 14px 40px rgba(255,77,61,.15); }
.badge { position: absolute; top: -13px; left: 50%; translate: -50% 0; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: 2px 14px; border-radius: 999px; }
.plan-price { font-family: var(--en); font-weight: 700; font-size: 2.3rem; margin: 0 0 .3em; line-height: 1.2; }
.plan-price small { font-size: 1rem; margin-left: 2px; }
.plan-desc { font-size: .88rem; color: var(--muted); margin: 0; }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table th, .price-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); }
.price-table th { text-align: left; font-weight: 500; }
.price-table td { text-align: right; font-family: var(--en); font-weight: 700; white-space: nowrap; }

/* Works */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { margin: 0; }
.work-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); background: linear-gradient(135deg, #3a2f2c, #5b3a33); }
.work-thumb.t2 { background: linear-gradient(135deg, #2c333a, #34485b); }
.work-thumb.t3 { background: linear-gradient(135deg, #39352a, #5b5233); }
.work figcaption { font-size: .88rem; margin-top: 10px; color: rgba(255,255,255,.75); }

/* Flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow li { border-top: 3px solid var(--ink); padding-top: 18px; }
.flow .num { font-family: var(--en); font-weight: 700; color: var(--accent); font-size: 1.6rem; display: block; line-height: 1; margin-bottom: 12px; }
.flow p { font-size: .86rem; color: var(--muted); margin: 0; }

/* FAQ */
details { border-bottom: 1px solid rgba(255,255,255,.15); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q."; font-family: var(--en); color: var(--yellow); margin-right: 10px; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-size: 1.5rem; color: var(--yellow); transition: rotate .2s; }
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 0 20px 30px; margin: 0; }

/* Contact */
.contact { background: var(--accent); color: #fff; text-align: center; padding: clamp(72px, 10vw, 110px) 0; }
.contact .label { color: #fff; }
.contact .label::before { display: none; }
.contact-tel {
  display: inline-flex; flex-direction: column; gap: 2px; margin-top: 20px; min-width: min(420px, 100%);
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px 20px;
  transition: transform .2s;
}
.contact-tel:hover { transform: translateY(-3px); }
.contact-label { font-family: var(--en); font-weight: 700; letter-spacing: .2em; font-size: .8rem; color: var(--accent); }
.contact-value { font-family: var(--en); font-weight: 700; font-size: 2.2rem; letter-spacing: .04em; }
.contact-note { font-size: .82rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 48px 0 32px; font-size: .85rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.site-footer .logo { color: #fff; }
.footer-link { color: var(--yellow); }
.copy { font-size: .75rem; margin: 0; }
.sp-cta { display: none; }

/* Fade-in */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
  .nav-toggle span { width: 24px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--dark);
    padding: 8px 20px 24px; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .global-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .global-nav .btn { margin-top: 16px; text-align: center; border: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .svc-grid, .strength-grid, .price-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .plan-featured { order: -1; grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .logo small { display: none; }
  .lead br { display: none; }
  .svc-grid, .strength-grid, .price-grid, .works-grid, .flow { grid-template-columns: 1fr; }
  .price-table th { font-size: .85rem; }
  .sp-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    background: var(--accent); color: #fff; text-align: center; padding: 14px; border-radius: 999px;
    font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.3);
  }
  .site-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .rec-dot, .rec i, .bar i { animation: none; }
}
