:root {
  --route-ink: #1e293b;
  --route-muted: #475569;
  --route-paper: #fffdf9;
  --route-line: #dbe4dc;
  --route-green: #1d5d33;
  --route-red: #c7234f;
  --route-blue: #1d6fdc;
}

* {
  box-sizing: border-box;
}

body.route-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--route-ink);
  background: var(--route-paper);
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.route-page a {
  color: inherit;
}

.route-page a:focus-visible {
  outline: 3px solid var(--route-blue);
  outline-offset: 3px;
}

.route-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.route-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
}

.route-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  min-height: 100px;
  margin: 0;
  padding: 0 5% 0 4%;
}

.route-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.route-brand img {
  width: 124px;
  max-width: 124px;
  height: auto;
  margin-bottom: -65px;
  object-fit: contain;
  position: relative;
  z-index: 1000;
}

.route-header__menus {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
}

.route-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.route-nav--utility {
  min-height: 40px;
}

.route-nav--utility a,
.route-nav--primary > a,
.route-nav__dropdown > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: var(--route-ink);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.route-nav--utility a:hover,
.route-nav--primary > a:hover,
.route-nav__dropdown > summary:hover {
  color: var(--route-red);
}

.route-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--route-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--route-green);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.route-button:hover {
  border-color: var(--route-green);
}

.route-nav__dropdown {
  position: relative;
}

.route-nav__dropdown > summary {
  cursor: pointer;
  list-style: none;
}

.route-nav__dropdown > summary::-webkit-details-marker {
  display: none;
}

.route-nav__dropdown > summary::after {
  content: none;
}

.route-nav__dropdown[open] > summary {
  color: var(--route-red);
}

.route-nav__dropdown > summary:focus-visible {
  outline: 3px solid var(--route-blue);
  outline-offset: 3px;
}

.route-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1001;
  display: grid;
  min-width: 250px;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--route-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(30 41 59 / 14%);
}

.route-dropdown a {
  display: block;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--route-ink);
  font-size: 14px;
  text-decoration: none;
}

.route-dropdown a:hover {
  background: #f5f8f5;
  color: var(--route-green);
}

.route-nav__highlight {
  border-radius: 8px !important;
  background: var(--route-red) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.route-nav__highlight:hover {
  background: var(--route-green) !important;
  color: #ffffff !important;
}

.route-main {
  padding: 72px 0 96px;
}

.route-main--not-found {
  width: 100%;
  max-width: none;
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 0;
  padding: clamp(40px, 8vh, 96px) 0;
}

.route-main--compact {
  padding-top: 48px;
}

.route-kicker {
  margin: 0 0 10px;
  color: var(--route-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-main h1,
.route-main h2,
.route-main h3 {
  color: var(--route-green);
  font-family: domyouji, Roboto, Arial, sans-serif;
  line-height: 1.2;
}

.route-main h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

.route-main h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.route-lead {
  max-width: 700px;
  margin: 0 0 32px;
  color: var(--route-muted);
  font-size: 1.08rem;
}

.route-panel {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--route-line);
  border-radius: 16px;
  background: #ffffff;
}

.route-panel--notice {
  max-width: 720px;
  margin: 0 auto;
  border-top: 6px solid var(--route-red);
}

.route-panel__code {
  margin: 0 0 8px;
  color: var(--route-red);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

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

.route-button--primary:hover {
  border-color: #9f1d3d;
  background: #9f1d3d;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.route-list a {
  display: block;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--route-line);
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
}

.route-list a:hover {
  border-color: var(--route-green);
}

.route-list__label {
  display: block;
  margin-bottom: 6px;
  color: var(--route-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-list__title {
  display: block;
  margin-bottom: 6px;
  color: var(--route-green);
  font-size: 1.08rem;
  font-weight: 800;
}

.route-list__description {
  display: block;
  color: var(--route-muted);
  font-size: 0.94rem;
}

.news-list {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.news-card {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--route-line);
  border-radius: 12px;
  background: #ffffff;
}

.news-card img {
  width: 100%;
  height: 190px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.news-card__date {
  margin: 0 0 6px;
  color: var(--route-red);
  font-size: 0.86rem;
  font-weight: 700;
}

.news-card h2 {
  margin-bottom: 12px;
}

.news-card p {
  margin: 0 0 18px;
  color: var(--route-muted);
}

.route-article {
  max-width: 680px;
  margin: 0 auto;
}

.route-article h1 {
  max-width: none;
  font-family: domyouji, Roboto, Arial, sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: normal;
}

.route-article__byline {
  margin: -4px 0 0;
  color: var(--route-muted);
  font-size: 0.94rem !important;
  line-height: 1.5 !important;
}

.route-article p,
.route-article li {
  font-size: 1.125rem;
  line-height: 1.8;
}

.route-article figure {
  margin: 36px 0 40px;
}

.route-article figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  border-radius: 12px;
  object-fit: cover;
}

.route-article figcaption {
  margin-top: 8px;
  color: var(--route-muted);
  font-size: 0.88rem;
}

.route-article h2 {
  margin-top: 42px;
}

.route-source-list {
  margin: 18px 0 0;
  padding-left: 1.25rem;
  color: var(--route-muted);
}

.route-source-list a {
  color: var(--route-green);
  font-weight: 700;
}

.route-footer {
  margin-top: auto;
  background: var(--route-red);
  color: #ffffff;
  font-size: 0.88rem;
}

.route-footer__inner {
  padding-top: 64px;
  padding-bottom: 22px;
}

.route-footer__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 56px;
}

.route-footer h2,
.route-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: domyouji, Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
}

.route-footer ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-footer a {
  color: #ffffff;
  text-decoration: none;
}

.route-footer a:hover {
  text-decoration: underline;
}

.route-seo-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px;
}

.route-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 45%);
}

@media (max-width: 720px) {
  .route-shell {
    width: min(100% - 24px, 560px);
  }

  .route-header__inner {
    align-items: center;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: 12px 3% 14px;
  }

  .route-brand img {
    width: 88px;
    margin: 0;
  }

  .route-header__menus {
    width: 100%;
    align-items: center;
    margin-top: 10px;
  }

  .route-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .route-nav--utility {
    display: none;
  }

  .route-nav--primary {
    justify-content: center;
  }

  .route-nav--primary > a,
  .route-nav__dropdown > summary {
    padding: 6px 8px;
    font-size: 13px;
  }

  .route-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .route-main {
    padding: 48px 0 64px;
  }

  .route-list,
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card img {
    height: min(56vw, 260px);
  }

  .route-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-bottom: 36px;
  }

  .route-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .route-nav--primary > a,
  .route-nav__dropdown > summary {
    min-height: 44px;
    padding: 5px 6px;
    font-size: 12px;
  }

  .route-nav__dropdown > summary::after {
    margin-left: 4px;
  }

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