:root {
  --red: #e10613;
  --red-dark: #b3000b;
  --ink: #171a1d;
  --steel: #64696e;
  --line: #dfe3e6;
  --paper: #ffffff;
  --surface: #f7f8f9;
  --panel: #eceff1;
  --night: #24282c;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background:
    radial-gradient(circle at 1px 1px, #e6eaed 1px, transparent 0) 0 0 / 40px 40px,
    var(--surface);
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #ebb7b0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(20, 25, 30, 0.12);
}

.header-inner,
main,
.footer-inner,
.copyright {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  color: var(--red);
  font-size: 24px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--ink);
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav .active {
  color: var(--red);
  border-color: var(--red);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.phone-link span {
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.drawer-overlay {
  display: none;
}

main {
  padding-block: 32px 0;
}

.hero {
  position: relative;
  min-height: clamp(430px, 52vw, 560px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(100, 105, 110, 0.22);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(18, 21, 24, 0.58), rgba(18, 21, 24, 0.05));
}

.hero img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
  transform: scale(1.01);
  transition: filter 500ms ease, transform 500ms ease;
}

.hero:hover img,
.brand-feature:hover .feature-image,
.promo-card:hover img,
.support-card:hover img {
  filter: grayscale(0) contrast(1.08) saturate(1.08);
  transform: scale(1.035);
}

.hero-panel {
  position: absolute;
  left: clamp(20px, 5vw, 56px);
  bottom: clamp(20px, 5vw, 56px);
  z-index: 2;
  width: min(690px, calc(100% - 40px));
  border-left: 8px solid var(--red);
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(22px, 4vw, 36px);
}

.hero-panel p {
  margin: 0 0 12px;
  color: var(--red);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-panel h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

.logo-strip,
.layout,
.quick-links {
  margin-top: 32px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(100, 105, 110, 0.22);
  background: var(--paper);
}

.logo-strip > div {
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px solid var(--line);
  background: #fff;
}

.logo-strip img {
  max-height: 56px;
  object-fit: contain;
}

.nekia-logo {
  color: #fff;
  background: var(--red) !important;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  transform: skewX(-7deg);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.primary-column,
.sidebar {
  display: grid;
  gap: 24px;
}

.content-panel,
.video-panel,
.brand-feature,
.news-card {
  border: 1px solid rgba(100, 105, 110, 0.22);
  background: var(--paper);
}

.content-panel,
.video-panel,
.news-card {
  padding: clamp(24px, 3vw, 34px);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title span {
  width: 8px;
  height: 34px;
  background: var(--red);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.35;
}

.content-panel p {
  margin: 0;
  color: #565d63;
  font-size: 17px;
  line-height: 1.9;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stats div {
  border-bottom: 3px solid var(--red);
  background: var(--panel);
  padding: 18px;
}

.stats strong {
  display: block;
  color: var(--red);
  font-family: Inter, sans-serif;
  font-size: 28px;
}

.stats span {
  color: var(--steel);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.video-panel {
  color: #fff;
  background: var(--ink);
}

.section-title.light h2,
.video-panel p {
  color: #fff;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-panel p {
  margin: 16px 0 0;
  color: #c8cdd1;
  font-size: 13px;
}

.brand-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 40px);
}

.feature-copy img {
  max-width: 210px;
  max-height: 58px;
  object-fit: contain;
  margin-bottom: 24px;
}

.feature-copy h2 {
  margin: 0 0 12px;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.15;
}

.feature-copy p {
  margin: 0 0 24px;
  color: #586068;
  line-height: 1.8;
}

.feature-image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter 450ms ease, transform 450ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border 180ms ease, transform 120ms ease;
}

.button:active {
  transform: scale(0.98);
}

.button.primary {
  color: #fff;
  background: var(--red);
}

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

.button.secondary,
.button.outline {
  color: var(--ink);
  border: 2px solid var(--ink);
}

.button.secondary:hover {
  color: #fff;
  background: var(--ink);
}

.button.outline {
  width: 100%;
  color: var(--red);
  border-color: var(--red);
}

.button.outline:hover {
  color: #fff;
  background: var(--red);
}

.news-card {
  border: 2px solid var(--red);
  box-shadow: 5px 5px 0 var(--red-dark);
}

.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.news-head h2 {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 24px;
}

.news-head span {
  color: var(--red);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.news-card article {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.news-card article a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}

.news-card article img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--panel);
}

.news-card time {
  color: var(--steel);
  font-family: Inter, sans-serif;
  font-size: 12px;
}

.news-card strong {
  display: block;
  margin-top: 4px;
  line-height: 1.55;
}

.promo-card,
.support-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 105, 110, 0.22);
  background: var(--paper);
}

.promo-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.promo-card span {
  color: #fff;
  background: var(--red);
  padding: 3px 7px;
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-card img,
.support-card img {
  width: 100%;
  transition: filter 450ms ease, transform 450ms ease;
}

.promo-card a {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: #fff;
  background: var(--red);
  padding: 10px 18px;
  font-weight: 800;
}

.support-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.support-card p {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quick-links a {
  display: grid;
  gap: 8px;
  min-height: 172px;
  border-left: 4px solid var(--red);
  background: var(--panel);
  padding: 28px;
  transition: background 180ms ease, color 180ms ease;
}

.quick-links a:hover {
  color: #fff;
  background: var(--ink);
}

.quick-links span {
  color: var(--red);
  font-size: 30px;
}

.quick-links strong {
  font-size: 20px;
}

.quick-links small {
  color: var(--steel);
  line-height: 1.6;
}

.quick-links a:hover small {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  margin-top: 80px;
  color: #fff;
  background: var(--night);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding-block: 40px 28px;
}

.footer-inner h2 {
  margin: 0 0 14px;
}

.footer-inner p,
.footer-inner a,
.copyright {
  color: #c8cdd1;
}

.footer-inner nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 28px;
  align-content: start;
  font-weight: 700;
}

.footer-inner a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 0;
  margin-bottom: 0;
  padding-block: 18px 24px;
  font-family: Inter, sans-serif;
  font-size: 12px;
}

@media (max-width: 960px) {
  body.nav-open {
    overflow: hidden;
  }

  .header-inner,
  main,
  .footer-inner,
  .copyright {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 70;
  }

  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 64px;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    max-width: 100%;
    overflow: hidden;
    font-size: 18px;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-mark {
    font-size: 22px;
  }

  .nav-toggle {
    display: block;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    border-color: transparent;
    background: transparent;
  }

  .phone-link {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-height: 40px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    padding: 8px 12px;
    box-shadow: 0 8px 18px rgba(225, 6, 19, 0.25);
    font-size: 13px;
  }

  .phone-link span {
    color: #fff;
  }

  .site-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    justify-content: stretch;
    width: min(320px, 84vw);
    gap: 8px;
    border: 0;
    background: #fff;
    box-shadow: 24px 0 60px rgba(23, 26, 29, 0.24);
    padding: 84px 16px 24px;
    transform: translateX(-105%);
    transition: transform 260ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    border: 0;
    border-radius: 8px;
    padding: 15px 16px;
    font-size: 14px;
  }

  .site-nav a:hover,
  .site-nav .active {
    color: var(--red);
    background: rgba(225, 6, 19, 0.08);
  }

  .drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: block;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity 220ms ease;
  }

  .drawer-overlay.is-open {
    pointer-events: auto;
    opacity: 1;
  }

  main {
    padding-top: 96px;
  }

  .layout,
  .brand-feature,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .reversed .feature-image {
    order: 2;
  }
}

@media (max-width: 680px) {
  .brand {
    font-size: 16px;
  }

  .phone-link {
    width: 44px;
    padding: 0;
    justify-content: center;
    overflow: hidden;
    gap: 0;
    font-size: 0;
  }

  .phone-link span {
    color: #fff;
    font-size: 11px;
  }

  main {
    width: 100%;
    padding-top: 80px;
  }

  .hero {
    min-height: 0;
    aspect-ratio: 21 / 9;
    border-inline: 0;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(18, 21, 24, 0.62), rgba(18, 21, 24, 0.12));
  }

  .hero img {
    min-height: 0;
  }

  .hero-panel {
    left: 16px;
    bottom: 16px;
    width: min(420px, calc(100% - 32px));
    border-left-width: 4px;
    background: transparent;
    padding: 0 0 0 14px;
  }

  .hero-panel p {
    display: inline-block;
    margin-bottom: 8px;
    background: var(--red);
    color: #fff;
    padding: 4px 10px;
    font-size: 10px;
  }

  .hero-panel h1 {
    color: #fff;
    font-size: 23px;
    line-height: 1.32;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  }

  .stats,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .logo-strip {
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    border-inline: 0;
    padding: 24px 16px;
  }

  .logo-strip > div {
    min-height: 112px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(23, 26, 29, 0.06);
  }

  .logo-strip {
    padding: 16px;
  }

  .layout,
  .primary-column,
  .sidebar {
    gap: 16px;
  }

  .layout {
    margin-top: 0;
    padding-inline: 16px;
  }

  .content-panel,
  .video-panel,
  .news-card {
    border-radius: 8px;
    padding: 22px 18px;
  }

  .content-panel p {
    font-size: 15px;
    line-height: 1.85;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .video-panel {
    background: var(--panel);
    color: var(--ink);
  }

  .section-title.light h2,
  .video-panel p {
    color: var(--ink);
  }

  .video-frame {
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(23, 26, 29, 0.16);
  }

  .brand-feature,
  .promo-card,
  .support-card {
    border-radius: 8px;
  }

  .feature-copy {
    padding: 24px 18px;
  }

  .feature-copy img {
    max-width: min(180px, 70vw);
    max-height: 46px;
    margin-bottom: 18px;
  }

  .feature-image {
    width: 100%;
    height: auto;
    max-height: 150px;
    min-height: 0;
    object-fit: contain;
    background: var(--ink);
  }

  .hero:hover img,
  .brand-feature:hover .feature-image,
  .promo-card:hover img,
  .support-card:hover img {
    filter: grayscale(1) contrast(1.08);
    transform: none;
  }

  .brand-feature:hover .feature-image {
    filter: grayscale(1) contrast(1.08);
  }

  .promo-card:hover img,
  .support-card:hover img {
    filter: none;
  }

  .news-card article a {
    grid-template-columns: 64px 1fr;
  }

  .quick-links {
    gap: 14px;
    padding-inline: 16px;
  }

  .quick-links a {
    min-height: 140px;
    border-radius: 8px;
  }

  .site-footer {
    margin-top: 48px;
  }

  .footer-inner,
  .copyright {
    width: min(calc(100% - 32px), var(--max));
  }
}
