:root {
  --ink: #151615;
  --text: #4d4943;
  --muted: #8d867c;
  --paper: #f8f7f3;
  --white: #fffefa;
  --mist: #ece7df;
  --taupe: #9f9688;
  --warm: #9d7f6c;
  --line: rgba(21, 22, 21, 0.12);
  --shadow: 0 20px 60px rgba(21, 22, 21, 0.06);
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP",
    system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8f7f3 0%, #f2eee7 54%, #fffefa 100%);
  overflow-x: hidden;
}

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

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

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

h1, h2 {
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP",
    Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  font-feature-settings: "palt" 1;
}

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.45;
}

p, li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.95;
}

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  grid-template-rows: 68px 44px;
  align-items: center;
  min-height: 112px;
  padding: 0 clamp(24px, 4vw, 64px);
  border-bottom: 1px solid rgba(21, 22, 21, 0.1);
  background: rgba(248, 247, 243, 0.96);
  box-shadow: 0 12px 32px rgba(21, 22, 21, 0.05);
  backdrop-filter: blur(18px);
}

.brand {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-self: center;
}

.brand-logo {
  width: clamp(126px, 9vw, 158px);
  max-height: 34px;
  object-fit: contain;
}

.nav {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  gap: clamp(20px, 3vw, 34px);
  justify-content: center;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(21, 22, 21, 0.16);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.button.secondary {
  background: rgba(255, 254, 250, 0.74);
  color: var(--ink);
}

.container {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.feature-hero {
  padding: clamp(40px, 7vw, 92px) 0 54px;
}

.feature-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.feature-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-visual img {
  aspect-ratio: 900 / 650;
  object-fit: contain;
}

.section {
  padding: clamp(46px, 7vw, 86px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 560px;
  margin-bottom: 0;
}

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

.route-card,
.article-card,
.note-panel,
.cta-panel {
  border: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.78);
}

.route-card {
  border-radius: 8px;
  padding: 22px;
}

.route-number {
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.route-card h3 {
  min-height: 58px;
  margin-top: 12px;
}

.route-card p {
  margin-bottom: 0;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  width: min(100%, 980px);
  margin: 0 auto;
}

.article-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 254, 250, 0.72);
  box-shadow: none;
}

.article-card-hit {
  display: grid;
  grid-template-columns: minmax(132px, 0.28fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 34px);
  align-items: center;
  min-height: 210px;
  padding: clamp(24px, 4vw, 34px) clamp(76px, 8vw, 92px) clamp(24px, 4vw, 34px) clamp(24px, 4vw, 34px);
  color: inherit;
}

.article-card img {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  opacity: 0.62;
  transition: transform 260ms ease;
}

.article-body {
  width: 100%;
  min-height: 0;
  padding: 0;
}

.article-body > .label {
  display: none;
}

.article-card h3 {
  display: -webkit-box;
  margin-bottom: 14px;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card p {
  display: -webkit-box;
  margin-bottom: 26px;
  overflow: hidden;
  color: rgba(77, 73, 67, 0.88);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 520;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pill {
  min-height: 28px;
  display: none;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(141, 134, 124, 0.96);
  font-size: clamp(18px, 2.3vw, 28px);
  font-weight: 900;
  line-height: 1.1;
}

.pill:first-child,
.pill:last-child {
  display: inline-flex;
}

.pill + .pill::before {
  content: "/";
  margin: 0 12px 0 4px;
  color: rgba(141, 134, 124, 0.76);
}

.save-button {
  position: absolute;
  top: 50%;
  right: clamp(24px, 4vw, 34px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  box-shadow: none;
  transform: translateY(-50%);
}

.save-button svg {
  width: 38px;
  height: 48px;
  display: block;
}

.save-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.save-button.saved {
  color: var(--ink);
}

.save-button.saved path {
  fill: currentColor;
}

.article-card,
.save-button {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.article-card:hover,
.article-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(21, 22, 21, 0.22);
  box-shadow: 0 18px 44px rgba(21, 22, 21, 0.05);
}

.article-card:hover img,
.article-card:focus-within img {
  transform: scale(1.025);
}

.note-panel {
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
}

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

.check-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 12px;
  border: 1px solid rgba(21, 22, 21, 0.22);
  border-radius: 50%;
  background: #ded2c3;
}

.cta-panel {
  border-radius: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: clamp(22px, 4vw, 32px);
  background: #efe6dc;
}

.cta-panel p {
  max-width: 620px;
  margin-bottom: 0;
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 880px) {
  .feature-hero-grid,
  .note-panel {
    grid-template-columns: 1fr;
  }

  .feature-visual {
    order: -1;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .route-card h3 {
    min-height: 0;
  }

  .section-head {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .feature-hero {
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .lead,
  p,
  li {
    font-size: 14px;
  }

  .hero-actions,
  .cta-panel {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .article-grid {
    gap: 12px;
  }

  .article-card {
    border-radius: 16px;
  }

  .article-card-hit {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px;
    align-items: flex-start;
    min-height: 0;
    padding: 16px 54px 16px 16px;
  }

  .article-card img {
    grid-column: 2;
    grid-row: 1;
    width: 112px;
    height: 78px;
    opacity: 0.58;
  }

  .article-body {
    grid-column: 1;
    grid-row: 1;
  }

  .article-card h3 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }

  .article-card p {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
  }

  .meta {
    gap: 8px;
    padding-right: 0;
  }

  .pill {
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(21, 22, 21, 0.08);
    border-radius: 999px;
    background: rgba(247, 244, 238, 0.84);
    font-size: 10px;
  }

  .pill + .pill::before {
    display: none;
  }

  .save-button {
    top: auto;
    right: 10px;
    bottom: 14px;
    width: 38px;
    height: 44px;
    transform: none;
  }

  .save-button svg {
    width: 28px;
    height: 36px;
  }
}
