:root {
  color-scheme: light;
  --bg: #edf1f4;
  --ink: #141d2d;
  --muted: #667180;
  --blue: #203f63;
  --blue-soft: #dbe4ee;
  --accent: #668ca0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --measure: 800px;
  --gutter: 24px;
  --font: "Avenir Next", "Helvetica Neue", Arial, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, #edf1f4 0%, #e8eef4 48%, #f1f3f2 100%);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: 0;
  font-feature-settings: "palt";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: rgba(102, 140, 160, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

a:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}

main,
.site-footer {
  width: min(100% - var(--gutter) * 2, var(--measure));
  margin: 0 auto;
}

.hero {
  padding: 92px 0 58px;
}

.label,
.site-footer {
  color: var(--muted);
  font-size: 0.78rem;
}

.label {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}

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

h1 {
  color: var(--blue);
  font-size: 5.65rem;
  line-height: 0.94;
  font-weight: 610;
  letter-spacing: 0;
}

.lead {
  max-width: 390px;
  margin-top: 20px;
  color: #283648;
  font-size: 1rem;
}

.availability {
  margin-top: 12px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
}

.icon-links {
  display: flex;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.icon-links a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--blue);
  background: transparent;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.icon-links a:hover {
  color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-1px);
}

.icon-links svg,
.play svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.section {
  padding: 42px 0 0;
}

.section + .section {
  margin-top: 24px;
}

.section-grid {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 30px;
}

h2 {
  color: var(--blue);
  font-size: 0.86rem;
  line-height: 1.4;
  font-weight: 650;
}

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

.work-item {
  min-width: 0;
}

.thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  box-shadow: 0 18px 44px rgba(32, 63, 99, 0.075);
  text-decoration: none;
  transform: translateZ(0);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.94) brightness(0.98);
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 63, 99, 0.08);
}

.play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(237, 241, 244, 0.88);
  transition:
    background-color 220ms ease,
    transform 220ms ease;
}

.thumb:hover {
  box-shadow: 0 22px 54px rgba(32, 63, 99, 0.11);
  transform: translateY(-2px);
}

.thumb:hover img {
  filter: saturate(0.78) contrast(0.96) brightness(1.02);
  transform: scale(1.012);
}

.thumb:hover .play {
  background: rgba(237, 241, 244, 0.96);
  transform: translateX(1px);
}

h3 {
  margin-top: 14px;
  color: #172234;
  font-size: 0.96rem;
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: 0;
}

h3 a {
  text-decoration: none;
}

h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

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

.contact-list li {
  min-width: 0;
}

.contact-list a {
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--blue);
  text-decoration-color: var(--accent);
}

.site-footer {
  padding: 54px 0 30px;
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  .hero {
    padding: 76px 0 42px;
  }

  h1 {
    font-size: 3.95rem;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .works {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 3.2rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > div,
  .icon-links,
  .section {
    animation: rise-in 520ms ease both;
  }

  .icon-links {
    animation-delay: 80ms;
  }

  .section {
    animation-delay: 140ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
