:root {
  --ink: #17314d;
  --muted: #627587;
  --line: #d8e5ec;
  --blue: #0b3a72;
  --teal: #43b8bd;
  --green: #159348;
  --leaf: #8ccf77;
  --soft: #f4f9fb;
  --white: #fff;
  --shadow: 0 18px 44px rgba(16, 49, 78, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  background:
    radial-gradient(circle at 8% 4%, rgba(67,184,189,.13), transparent 26%),
    radial-gradient(circle at 92% 32%, rgba(140,207,119,.14), transparent 24%),
    linear-gradient(180deg, #fff, #f8fbfd 52%, #fff);
}

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

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

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

.brand-mark {
  width: 30px;
  height: 30px;
  border: 3px solid var(--teal);
  border-radius: 50%;
}

.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 900;
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 86px 28px 50px;
}

.eyebrow,
.label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 20px;
  color: var(--blue);
  font-size: clamp(40px, 5.3vw, 68px);
  line-height: 1.18;
  font-weight: 900;
}

.hero p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.quick-choice,
.compare,
.choose {
  max-width: 1024px;
  margin: 0 auto;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(16, 49, 78, .08);
}

.quick-choice h2 {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 25px;
}

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

.choice-grid a {
  display: grid;
  gap: 5px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.choice-grid a:hover,
.sample-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.choice-grid span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.choice-grid strong {
  color: var(--blue);
  font-size: 18px;
  line-height: 1.45;
}

.choice-grid small {
  color: var(--muted);
  font-weight: 800;
}

.samples {
  display: grid;
  gap: 28px;
  max-width: 1080px;
  margin: 44px auto 0;
  padding: 0 28px;
}

.sample-card {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(16, 49, 78, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.sample-media {
  display: grid;
  align-content: end;
  min-height: 280px;
  padding: 24px;
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.sample-media span {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.sample-a .sample-media {
  background:
    linear-gradient(135deg, rgba(6,44,103,.12), rgba(6,44,103,.86)),
    url("../shirube-site-a-works/assets/project-office.jpg") center / cover no-repeat;
}

.sample-b .sample-media {
  background:
    linear-gradient(135deg, rgba(6,44,103,.1), rgba(6,44,103,.76)),
    url("../shirube-site-b/assets/hero-consult.jpg") center / cover no-repeat;
}

.sample-c .sample-media {
  background:
    linear-gradient(135deg, rgba(17,134,64,.08), rgba(17,134,64,.78)),
    url("../shirube-site-c-recruit/assets/hero-team.jpg") center / cover no-repeat;
}

.sample-body h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.35;
}

.sample-body p:not(.label) {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.sample-body ul {
  display: grid;
  gap: 7px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.sample-body li {
  font-weight: 800;
}

.sample-body li::before {
  margin-right: 8px;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 900;
}

.button::after {
  margin-left: 12px;
  content: "›";
  font-size: 24px;
  line-height: .7;
}

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

.button.secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
}

.compare {
  margin-top: 52px;
}

.section-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 22px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: 32px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 15px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: #fff;
  background: var(--blue);
}

tbody th {
  width: 120px;
  color: var(--blue);
  background: var(--soft);
}

td {
  color: var(--muted);
  font-weight: 800;
}

.choose {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  margin-top: 52px;
  margin-bottom: 76px;
}

.choose h2 {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.45;
}

.choose ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: choose;
}

.choose li {
  position: relative;
  padding: 18px 18px 18px 62px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.choose li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  content: counter(choose);
  counter-increment: choose;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.choose strong {
  display: block;
  color: var(--blue);
  line-height: 1.45;
}

.choose span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px;
  color: #fff;
  background: linear-gradient(135deg, #00295f, #005092);
}

.footer-brand .brand-mark {
  border-color: #fff;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 24px;
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    padding: 56px 22px 36px;
  }

  .quick-choice,
  .compare,
  .choose {
    margin-right: 22px;
    margin-left: 22px;
    padding: 24px;
  }

  .choice-grid,
  .sample-card,
  .choose {
    grid-template-columns: 1fr;
  }

  .sample-card {
    padding: 22px;
  }

  .sample-media {
    min-height: 220px;
  }

  .button {
    width: 100%;
  }
}
