:root {
  --ink: #17202a;
  --muted: #667085;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: rgba(23, 32, 42, 0.12);
  --blue: #185adb;
  --blue-dark: #0d357f;
  --cyan: #08a8c8;
  --green: #25a55f;
  --amber: #f4a72c;
  --graphite: #111827;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(42px, 6.6vw, 86px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

h2 {
  font-size: clamp(29px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  color: var(--white);
  background: var(--blue);
  border-radius: 7px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(54px, 7vw, 94px) clamp(20px, 6vw, 82px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 53, 127, 0.98), rgba(17, 24, 39, 0.96)),
    radial-gradient(circle at 78% 20%, rgba(8, 168, 200, 0.34), transparent 34%);
}

.sub-hero {
  min-height: 560px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.hero-inner,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-inner {
  order: 1;
}

.hero-visual {
  order: 2;
}

.kicker {
  margin-bottom: 14px;
  color: #7ee4f2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 800px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.7vw, 20px);
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 44px rgba(8, 168, 200, 0.28);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 34px;
}

.hero-metrics div {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.browser-frame {
  width: min(100%, 620px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.frame-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: #e8edf5;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.frame-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #98a2b3;
}

.automation-board {
  display: grid;
  grid-template-columns: 1fr 42px 92px 42px 1fr;
  align-items: center;
  gap: 10px;
  padding: clamp(22px, 4vw, 40px);
}

.task {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
}

.task strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.task small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.connector {
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 999px;
}

.robot-core {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 18px 34px rgba(24, 90, 219, 0.24);
}

.robot-core span {
  font-size: 22px;
  font-weight: 900;
}

.log-list {
  display: grid;
  gap: 10px;
  padding: 0 clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px);
}

.log-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--ink);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 7px;
  background: #f7fafc;
  font-size: 14px;
  font-weight: 700;
}

.log-list span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(20px, 6vw, 82px);
}

.section[id] {
  scroll-margin-top: 100px;
}

.section-copy {
  max-width: 920px;
}

.section-copy p,
.section-heading p,
.vendors p,
.contact p {
  max-width: 760px;
  margin-top: 18px;
  font-size: 17px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--white);
}

.about .kicker,
.diagnosis .kicker,
.work .kicker,
.service-pages .kicker,
.flow .kicker,
.vendors .kicker,
.promotion .kicker,
.contact .kicker {
  color: var(--blue);
}

.diagnosis {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--white);
}

.diagnosis-copy p {
  max-width: 720px;
  margin-top: 18px;
  font-size: 17px;
}

.diagnosis-copy .button {
  margin-top: 28px;
}

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

.diagnosis-list article {
  display: grid;
  grid-template-columns: 54px 130px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
}

.diagnosis-list span {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.diagnosis-list strong {
  font-size: 18px;
}

.diagnosis-list p {
  font-size: 14px;
}

.sound-logo {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 240, 248, 0.78)),
    #eaf0f8;
}

.sound-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(8, 168, 200, 0.18), transparent 30%),
    radial-gradient(circle at 18% 85%, rgba(244, 167, 44, 0.14), transparent 28%);
}

.sound-logo > * {
  position: relative;
}

.sound-logo-copy p {
  max-width: 640px;
  margin-top: 18px;
  font-size: 17px;
}

.sound-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sound-points span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  color: var(--blue-dark);
  border: 1px solid rgba(24, 90, 219, 0.16);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.sound-logo-copy .button {
  margin-top: 28px;
}

.sound-logo-player {
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid rgba(24, 90, 219, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.sound-logo video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #0b1220;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison article,
.work-grid article,
.flow-list article,
.impact article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
}

.comparison article {
  min-height: 360px;
  padding: 28px;
}

.comparison article span,
.work-grid span,
.flow-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 22px;
  padding: 3px 10px;
  color: var(--blue-dark);
  border-radius: 999px;
  background: #e9f1ff;
  font-size: 12px;
  font-weight: 900;
}

.comparison article.accent {
  color: var(--white);
  background: linear-gradient(150deg, var(--blue-dark), var(--blue));
}

.comparison article.accent span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.comparison article.accent li {
  color: rgba(255, 255, 255, 0.84);
}

ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 700;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.work {
  background: var(--paper);
}

.service-detail {
  background: var(--paper);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 38px;
}

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

.work-grid article {
  min-height: 250px;
  padding: 26px;
}

.work-grid p,
.flow-list p {
  margin-top: 14px;
}

.service-pages {
  background: var(--white);
}

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

.service-grid a,
.promotion-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
}

.service-grid a {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(24, 90, 219, 0.12);
}

.service-grid span,
.promotion-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 22px;
  padding: 3px 10px;
  color: var(--blue-dark);
  border-radius: 999px;
  background: #e9f1ff;
  font-size: 12px;
  font-weight: 900;
}

.service-grid strong {
  display: block;
  font-size: 23px;
  line-height: 1.35;
}

.service-grid p,
.promotion-grid p {
  margin-top: 14px;
}

.scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 4vw, 48px);
  color: var(--white);
  background: var(--graphite);
}

.scene-panel {
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(24, 90, 219, 0.26), rgba(8, 168, 200, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.timeline div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.timeline span {
  color: #7ee4f2;
  font-size: 18px;
  font-weight: 900;
}

.timeline p,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.impact {
  display: grid;
  gap: 14px;
}

.impact article {
  min-height: 150px;
  display: grid;
  align-content: center;
  padding: 24px;
  color: var(--ink);
}

.impact strong {
  font-size: 24px;
  font-weight: 900;
}

.impact span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.flow {
  background: var(--white);
}

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

.flow-list article {
  min-height: 292px;
  padding: 30px;
}

.vendors {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  background: #eaf0f8;
}

.promotion {
  background: var(--white);
}

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

.promotion-grid article {
  min-height: 270px;
}

.vendor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vendor-list span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--blue-dark);
  border: 1px solid rgba(24, 90, 219, 0.18);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.contact {
  padding: clamp(78px, 11vw, 140px) clamp(20px, 6vw, 82px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 53, 127, 0.97), rgba(24, 90, 219, 0.9)),
    var(--blue-dark);
  text-align: center;
}

.contact .kicker,
.contact p {
  margin-left: auto;
  margin-right: auto;
}

.contact-mail {
  margin-top: 22px;
  color: var(--white);
  font-weight: 900;
}

.contact-mail a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px auto 0;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--white);
  font-weight: 900;
}

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
}

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

.contact-form input[name="_honey"] {
  position: absolute;
  left: -9999px;
}

.contact-form button {
  cursor: pointer;
  margin-top: 8px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 28px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  text-align: center;
}

.form-status.success {
  color: #c9f7dd;
}

.form-status.error {
  color: #ffe1e1;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 82px);
  color: rgba(255, 255, 255, 0.72);
  background: #0b1220;
}

.footer p {
  color: var(--white);
  font-weight: 900;
}

.media-control {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 50;
  min-width: 112px;
  min-height: 48px;
  padding: 11px 16px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(24, 90, 219, 0.94), rgba(8, 168, 200, 0.92));
  box-shadow:
    0 18px 44px rgba(17, 24, 39, 0.28),
    0 0 0 0 rgba(8, 168, 200, 0.32);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.media-control::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(126, 228, 242, 0.38);
  border-radius: inherit;
  opacity: 0.74;
  animation: controlRing 2.4s ease-in-out infinite;
}

.media-control.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: controlFloat 3.2s ease-in-out infinite;
}

.media-control:hover {
  background: linear-gradient(135deg, rgba(13, 53, 127, 0.98), rgba(8, 168, 200, 0.98));
  box-shadow:
    0 22px 52px rgba(17, 24, 39, 0.32),
    0 0 28px rgba(8, 168, 200, 0.32);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .diagnosis,
  .about,
  .scene,
  .vendors,
  .sound-logo {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .browser-frame {
    margin: 0;
  }

  .work-grid,
  .flow-list,
  .service-grid,
  .promotion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  nav {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 12px;
  }

  .brand {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-metrics,
  .diagnosis-list article,
  .comparison,
  .work-grid,
  .flow-list,
  .service-grid,
  .promotion-grid,
  .vendor-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .automation-board {
    grid-template-columns: 1fr;
  }

  .connector {
    width: 3px;
    height: 32px;
    margin: 0 auto;
  }

  .robot-core {
    margin: 0 auto;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@keyframes controlFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes controlRing {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.34;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.78;
  }
}
