:root {
  --ink: #152235;
  --muted: #5b6676;
  --paper: #fffdf8;
  --snow: #f5fbff;
  --line: #d7e1e8;
  --blue: #1d73a8;
  --deep-blue: #123d66;
  --green: #2c8b67;
  --yellow: #e0af32;
  --red: #c65446;
  --shadow: 0 18px 42px rgba(20, 35, 52, 0.18);
  --content: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1120px) / 2));
  color: #ffffff;
  background: rgba(9, 22, 35, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(148px, 18vw, 202px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.4vw, 28px);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.nav a:hover,
.nav a:focus-visible {
  border-color: #ffffff;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 128px 0 70px;
  color: #ffffff;
  background: #102840;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 16, 27, 0.86), rgba(6, 16, 27, 0.5) 48%, rgba(6, 16, 27, 0.22)),
    linear-gradient(0deg, rgba(6, 16, 27, 0.54), rgba(6, 16, 27, 0.08) 45%);
}

.hero-content {
  position: relative;
  width: var(--content);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  line-height: 1;
}

.hero-logo {
  width: min(560px, 86vw);
  height: auto;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 700;
  text-wrap: pretty;
}

.hero-actions,
.contact-inner .button {
  margin-top: 30px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: var(--ink);
  background: #ffffff;
  border-color: #ffffff;
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.button.outline {
  color: var(--ink);
  background: transparent;
}

.section {
  padding: clamp(68px, 9vw, 112px) 0;
}

.section-inner {
  width: var(--content);
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.compact {
  margin-bottom: 28px;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.25fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.intro-grid p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.work-band {
  background: var(--snow);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.86fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.media-frame {
  margin: 0;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.work-details {
  display: grid;
  gap: 24px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.spec-list div {
  min-width: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.spec-list dd {
  margin: 4px 0 0;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.35;
}

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

.feature-list article,
.status-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-list article {
  padding: 22px;
}

.feature-number {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-list h3,
.status-card h3 {
  margin: 4px 0 6px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.feature-list p,
.status-card p {
  margin: 0;
  color: var(--muted);
}

.free-band {
  background: var(--deep-blue);
  color: #ffffff;
}

.free-band .section-kicker {
  color: #9fe1c0;
}

.free-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.free-copy p:not(.section-kicker) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.free-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.free-actions .button.primary {
  color: var(--ink);
  background: #ffffff;
  border-color: #ffffff;
}

.free-actions .button.outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.74);
}

.free-panel {
  padding: 28px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.free-panel h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.free-panel ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.free-panel li {
  padding: 10px 12px;
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.free-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.process {
  background: #fff7e5;
}

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

.status-card {
  padding: 24px;
}

.status-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

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

.news-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: clamp(28px, 6vw, 76px);
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--blue);
  font-weight: 900;
}

.news-list p {
  margin: 0;
}

.contact {
  color: #ffffff;
  background: var(--deep-blue);
}

.contact .section-kicker {
  color: #9fe1c0;
}

.contact-inner {
  max-width: 760px;
  text-align: center;
}

.contact-inner p {
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--content);
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 14px 20px;
  }

  .brand-logo {
    width: 154px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding: 112px 0 56px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 16, 27, 0.86), rgba(6, 16, 27, 0.34)),
      linear-gradient(0deg, rgba(6, 16, 27, 0.72), rgba(6, 16, 27, 0.18));
  }

  .intro-grid,
  .work-layout,
  .free-layout,
  .news-grid,
  .status-row {
    grid-template-columns: 1fr;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    --content: min(100% - 28px, 1120px);
  }

  .hero-logo {
    width: min(420px, 92vw);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }
}
