:root {
  --ink: #10131f;
  --paper: #f8f4ec;
  --muted: #6f7582;
  --line: rgba(16, 19, 31, 0.14);
  --cyan: #52d6c6;
  --coral: #ff8c78;
  --lime: #d4ee67;
  --violet: #7d75ff;
  --shadow: 0 24px 80px rgba(16, 19, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(248, 244, 236, 0.9);
  box-shadow: 0 12px 40px rgba(16, 19, 31, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
}

.nav a {
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(18px, 5vw, 72px) 72px;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 10, 18, 0.88), rgba(8, 10, 18, 0.42) 48%, rgba(8, 10, 18, 0.12)),
    linear-gradient(0deg, rgba(16, 19, 31, 0.7), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.12;
}

h3 {
  margin: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--lime);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 40px;
  z-index: 2;
  width: min(320px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(16, 19, 31, 0.58);
  backdrop-filter: blur(16px);
}

.hero-panel span,
.hero-panel p {
  color: rgba(255, 255, 255, 0.7);
}

.hero-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 20px;
}

.hero-panel p {
  margin: 0;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: end;
}

.intro > p,
.feature-copy p,
.contact-copy p,
.cms-note p {
  color: #4c5361;
  font-size: 17px;
  line-height: 1.9;
}

.featured-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 32px;
  color: #fff;
  background: var(--ink);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.spec-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.spec-list dt {
  color: rgba(255, 255, 255, 0.52);
}

.spec-list dd {
  margin: 0;
  font-weight: 900;
}

.signal-board {
  display: grid;
  gap: 12px;
}

.signal-board div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(82, 214, 198, 0.14), rgba(255, 140, 120, 0.1));
}

.signal-board span {
  color: rgba(255, 255, 255, 0.64);
}

.signal-board strong {
  display: block;
  margin-top: 8px;
  font-size: 44px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.show-grid,
.cms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.show-card,
.cms-card,
.article-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.show-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.poster {
  position: relative;
  height: 210px;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--accent) 82%, #fff), transparent 64%),
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(160deg, #151827, #2f3552);
}

.poster span {
  position: absolute;
  left: 18px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 56px;
  font-weight: 900;
}

.show-body {
  padding: 20px;
}

.show-body p,
.show-body span,
.show-body small {
  display: block;
  color: var(--muted);
}

.show-body p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
}

.show-body h3 {
  font-size: 22px;
  line-height: 1.35;
}

.show-body span {
  margin-top: 12px;
  font-weight: 800;
}

.show-body small {
  margin-top: 12px;
  line-height: 1.7;
}

.score {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.news-section,
.blog-section {
  background: #fff;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.article-list {
  display: grid;
  gap: 12px;
}

.article-row {
  display: grid;
  grid-template-columns: 180px minmax(220px, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
}

.article-row div {
  display: grid;
  gap: 8px;
}

.article-row span {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.article-row time,
.article-row p {
  color: var(--muted);
}

.article-row p {
  margin: 0;
  line-height: 1.75;
}

.update-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.update-panel h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.update-row {
  display: grid;
  gap: 7px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.update-row time {
  color: var(--muted);
  font-size: 13px;
}

.update-row span {
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.update-row p {
  margin: 0;
  line-height: 1.65;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-card {
  display: grid;
  gap: 16px;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(82, 214, 198, 0.14), transparent 42%),
    rgba(248, 244, 236, 0.72);
}

.blog-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.blog-card span {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.blog-card time,
.blog-card small {
  color: var(--muted);
}

.blog-card h3 {
  font-size: 24px;
  line-height: 1.42;
}

.blog-card p {
  margin: 0;
  color: #4c5361;
  line-height: 1.8;
}

.cms-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cms-card {
  padding: 24px;
}

.cms-card h3 {
  font-size: 26px;
}

.cms-card p {
  color: var(--muted);
  line-height: 1.8;
}

.cms-note {
  margin-top: 20px;
  padding: 22px;
  border-left: 4px solid var(--coral);
  background: rgba(255, 255, 255, 0.56);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 520px);
  gap: 42px;
  color: #fff;
  background: linear-gradient(135deg, #151827, #272a3f);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  padding: 12px 14px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.trap {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--lime);
  line-height: 1.6;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #0b0d14;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .intro,
  .featured-work,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .show-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .news-layout,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .update-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 148px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }

  .show-grid,
  .cms-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    display: block;
  }

  .footer {
    flex-direction: column;
  }
}
