:root {
  --ink: #172322;
  --muted: #4d5e5b;
  --paper: #fffdf8;
  --panel: #f3f8f6;
  --teal: #006b65;
  --teal-dark: #004d49;
  --orange: #b94d00;
  --orange-soft: #fff0e4;
  --line: #8da19d;
  --danger: #8a1c16;
  --danger-soft: #fff0ee;
  --success: #215d37;
  --focus: #ffb000;
  --shadow: 0 0.2rem 0.8rem rgb(23 35 34 / 12%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 112.5%;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}

.search-status {
  margin-block: 0.5rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--orange);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 0.22rem solid var(--focus);
  outline-offset: 0.18rem;
}

button,
input {
  font: inherit;
}

button,
.action-link,
.panel-link,
.phone-link {
  min-height: 44px;
  min-width: 44px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--teal-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.unofficial-banner {
  margin: 0;
  padding: 0.75rem max(1rem, calc((100% - 68rem) / 2));
  color: #3f210c;
  background: var(--orange-soft);
  border-bottom: 0.25rem solid var(--orange);
}

.unofficial-banner strong {
  display: inline-block;
  margin-right: 0.3em;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.page-shell {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.site-name {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
}

.site-name a {
  color: var(--ink);
  text-decoration: none;
}

.site-name a:hover {
  text-decoration: underline;
}

.environment-label {
  margin: 0;
  padding: 0.2rem 0.55rem;
  color: #fff;
  background: var(--danger);
  border-radius: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.page-shell {
  padding-block: 1rem 4rem;
}

.breadcrumbs {
  margin-block: 0 1.25rem;
  font-size: 0.9rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.55rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  text-wrap: pretty;
}

h1 {
  margin-block: 0.35rem 0.75rem;
  font-size: clamp(1.75rem, 6vw, 2.65rem);
}

h2 {
  margin-block: 2.7rem 0.9rem;
  padding-left: 0.7rem;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  border-left: 0.36rem solid var(--teal);
}

h3 {
  margin-block: 1.5rem 0.5rem;
  font-size: 1.18rem;
}

h4 {
  font-size: 1.05rem;
}

p,
ul,
ol,
dl {
  max-width: 72ch;
}

li + li {
  margin-top: 0.35rem;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lead {
  margin-block: 0.5rem 1.5rem;
  font-size: 1.12rem;
}

.guide-quick-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-block: 0.35rem 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-quick-status strong {
  color: var(--ink);
}

.hero {
  padding: clamp(1.25rem, 5vw, 2.5rem);
  background:
    linear-gradient(135deg, rgb(0 107 101 / 9%), transparent 62%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.site-search {
  max-width: 44rem;
  margin-top: 1.5rem;
}

.site-search label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.search-row {
  display: flex;
  gap: 0.55rem;
}

.search-row input {
  flex: 1 1 18rem;
  min-width: 0;
  min-height: 50px;
  padding: 0.65rem 0.8rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--teal);
  border-radius: 0.4rem;
}

.search-row button {
  padding: 0.6rem 1.2rem;
  color: #fff;
  background: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 0.4rem;
  font-weight: 800;
  cursor: pointer;
}

.search-row button:hover {
  background: var(--teal-dark);
}

.guide-grid,
.link-list,
.badge-list,
.definition-cards,
.contact-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.guide-grid > li {
  margin: 0;
}

.guide-card,
.detail-card,
.review-card {
  height: 100%;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  box-shadow: var(--shadow);
}

.guide-card h3,
.detail-card h3 {
  margin-top: 0;
}

.guide-card h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge-list li,
.status-chip {
  display: inline-block;
  margin: 0;
  padding: 0.22rem 0.55rem;
  color: #133e3b;
  background: #dff2ef;
  border: 1px solid #4f8f89;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
}

.badge-list-large li {
  padding: 0.4rem 0.7rem;
  font-size: 1rem;
}

.panel-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-block: 0.6rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  font-weight: 800;
}

.panel-link span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
}

.status-summary,
.compact-list,
.review-fields {
  margin-block: 1rem;
}

.status-summary > div,
.compact-list > div,
.review-fields > div {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #ccd8d5;
}

dt {
  font-weight: 800;
}

dd {
  margin: 0;
}

.answer-first,
.official-next-step,
.provenance {
  margin-block: 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
}

.answer-first h2,
.official-next-step h2,
.provenance h2,
.alert h2 {
  margin-top: 0;
}

.key-answer {
  font-size: 1.18rem;
  font-weight: 800;
}

.alert {
  margin-block: 1.25rem;
  padding: 1rem 1.15rem;
  border: 0.16rem solid;
  border-radius: 0.5rem;
}

.alert-warning {
  color: #4d2a0d;
  background: var(--orange-soft);
  border-color: var(--orange);
}

.alert-danger,
.safety-redaction {
  color: #56120e;
  background: var(--danger-soft);
  border-color: var(--danger);
}

.safety-redaction,
.caution-note {
  padding: 0.75rem 0.9rem;
  border-left: 0.3rem solid var(--danger);
}

.definition-cards {
  display: grid;
  gap: 0.55rem;
}

.definition-cards li {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}

table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  background: #fff;
}

caption {
  padding: 0.6rem;
  font-weight: 800;
  text-align: left;
}

th,
td {
  padding: 0.65rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid #b7c7c3;
}

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

.steps {
  counter-reset: step;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  margin-block: 0.7rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-list > li {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.55rem 0.85rem;
  color: #fff;
  background: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 0.4rem;
  font-weight: 800;
  text-align: center;
}

.action-link:hover,
.action-link:focus {
  color: #fff;
  background: var(--teal-dark);
}

.action-link.secondary {
  color: var(--teal-dark);
  background: #fff;
}

.action-link.secondary:hover,
.action-link.secondary:focus {
  color: #fff;
  background: var(--teal-dark);
}

.rule-level-1 {
  margin-left: 0;
}

.rule-level-2 {
  margin-left: 1rem;
}

.rule-level-3 {
  margin-left: 2rem;
}

.review-card {
  height: auto;
  margin-block: 1rem;
}

.review-card > header {
  padding-bottom: 0.75rem;
  border-bottom: 0.2rem solid var(--teal);
}

.review-card h3 {
  margin-top: 0;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 0.55rem 0.75rem;
  border-left: 0.3rem solid;
}

.check-ok {
  background: #ecf7ef;
  border-color: var(--success);
}

.check-pending,
.approval-pending {
  background: var(--orange-soft);
  border-color: var(--orange);
}

.approval-confirmed,
.approval-pending {
  padding: 0.8rem 1rem;
  border-left: 0.3rem solid;
}

.approval-confirmed {
  background: #ecf7ef;
  border-color: var(--success);
}

.empty-state {
  padding: 1rem;
  background: var(--panel);
  border: 1px dashed var(--line);
}

.site-footer {
  padding-block: 2rem;
  color: #f8fffd;
  background: #183b38;
}

.site-footer a {
  color: #fff;
}

.site-footer h2 {
  margin-block: 1.5rem 0.5rem;
  padding: 0;
  border: 0;
  font-size: 1.08rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

@media (max-width: 40rem) {
  .header-inner,
  .search-row {
    align-items: stretch;
    flex-direction: column;
  }

  .header-inner {
    padding-block: 0.7rem;
  }

  .search-row button {
    width: 100%;
  }

  .status-summary > div,
  .compact-list > div,
  .review-fields > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  tbody tr {
    padding: 0.5rem;
    border-bottom: 0.2rem solid var(--teal);
  }

  tbody th,
  tbody td {
    border: 0;
    border-bottom: 1px solid #d3dfdc;
  }
}

@media (forced-colors: active) {
  .badge-list li,
  .status-chip,
  .alert,
  .action-link {
    border: 2px solid CanvasText;
  }
}

@media print {
  body {
    color: #000;
    background: #fff;
  }

  .site-header,
  .site-search,
  .skip-link {
    display: none;
  }

  .unofficial-banner,
  .alert,
  .answer-first,
  .official-next-step {
    color: #000;
    background: #fff;
    border: 2px solid #000;
  }

  .site-footer {
    color: #000;
    background: #fff;
    border-top: 2px solid #000;
  }

  .site-footer a,
  a {
    color: #000;
  }
}

/* Search recovery and expandable life-event routes. */
.search-empty {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 2px solid #9ccbd9;
  border-radius: 1rem;
  background: #f2fafc;
}

.search-empty h3 {
  margin-top: 0;
}

.search-empty ul {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.25rem;
  margin-bottom: 0;
}

.search-empty button {
  padding: 0;
  border: 0;
  background: none;
  color: #075d79;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.life-event-details {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.life-event-details .panel-link {
  cursor: pointer;
  list-style: none;
}

.life-event-details .panel-link::-webkit-details-marker {
  display: none;
}

.life-event-details .panel-link::after {
  content: "＋";
  margin-left: auto;
  color: var(--color-primary);
  font-weight: 800;
}

.life-event-details[open] .panel-link::after {
  content: "−";
}

.life-event-details ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 0;
  padding: 0 1rem 1rem;
  list-style: none;
}

.life-event-details li a {
  display: block;
  padding: .75rem;
  border-radius: .65rem;
  background: #edf8fb;
  font-weight: 700;
}

@media (max-width: 640px) {
  .search-empty ul,
  .life-event-details ul {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Aomori visual refresh / 2026-07-28
   Northern sea blue, snow white and a restrained apple-red accent.
   -------------------------------------------------------------------------- */

:root {
  --ink: #102b3a;
  --muted: #526a76;
  --paper: #fbfcfc;
  --panel: #eef6f8;
  --teal: #087f86;
  --teal-dark: #075768;
  --orange: #d54b42;
  --orange-soft: #fff2ec;
  --line: #c9d9df;
  --danger: #9f2925;
  --danger-soft: #fff0ee;
  --success: #216749;
  --focus: #f5a623;
  --aomori-navy: #0a344f;
  --aomori-blue: #0f6f9f;
  --aomori-sky: #dff2f8;
  --aomori-apple: #d84840;
  --snow: #ffffff;
  --shadow: 0 1.1rem 2.8rem rgb(10 52 79 / 10%);
  --shadow-soft: 0 0.55rem 1.6rem rgb(10 52 79 / 8%);
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgb(190 229 241 / 28%), transparent 27rem),
    linear-gradient(#fff 0 28rem, var(--paper) 58rem);
  font-family:
    "Yu Gothic UI",
    "Hiragino Sans",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
  letter-spacing: 0.012em;
}

a {
  color: #075d75;
  text-decoration-color: rgb(7 93 117 / 45%);
}

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

.unofficial-banner {
  padding-block: 0.58rem;
  color: #57332b;
  background: #fff6f0;
  border: 0;
  border-top: 0.23rem solid var(--aomori-apple);
  font-size: 0.84rem;
  line-height: 1.55;
}

.unofficial-banner strong {
  margin-right: 0.45rem;
  color: #fff;
  background: #a9272d;
  border-radius: 999px;
  padding: 0.08rem 0.52rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgb(255 255 255 / 91%);
  border-bottom: 1px solid rgb(10 52 79 / 9%);
  box-shadow: 0 0.35rem 1.25rem rgb(10 52 79 / 4%);
  backdrop-filter: blur(18px) saturate(130%);
}

.header-inner,
.footer-inner,
.page-shell {
  width: min(100% - 2.5rem, 74rem);
}

.header-inner {
  min-height: 4.7rem;
}

.site-name {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.site-name a {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.site-name a::before {
  content: "";
  width: 1.8rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 67% 25%, #fff 0 6%, transparent 7%),
    linear-gradient(145deg, #e75c50, #bf2f31);
  border: 0.3rem solid #fff;
  border-radius: 48% 52% 52% 48% / 55% 44% 56% 45%;
  box-shadow:
    0 0 0 1px rgb(191 47 49 / 16%),
    0 0.35rem 0.8rem rgb(191 47 49 / 18%);
}

.environment-label {
  padding: 0.38rem 0.72rem;
  color: #8a2c2a;
  background: #fff0ed;
  border: 1px solid #f1c3bd;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.page-shell {
  padding-block: 1.15rem 5.5rem;
}

.breadcrumbs {
  margin-block: 0 1.1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs li + li::before {
  color: #9bb0ba;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.025em;
}

h1 {
  color: var(--aomori-navy);
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  font-weight: 850;
}

h2 {
  position: relative;
  margin-block: 4rem 1rem;
  padding: 0;
  border: 0;
  color: var(--aomori-navy);
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 850;
}

h2::before {
  content: "";
  display: block;
  width: 2.8rem;
  height: 0.25rem;
  margin-bottom: 0.72rem;
  background: linear-gradient(90deg, var(--aomori-apple) 0 32%, var(--teal) 32%);
  border-radius: 999px;
}

h3 {
  color: var(--aomori-navy);
  font-size: 1.16rem;
  font-weight: 820;
}

.eyebrow {
  color: var(--aomori-apple);
  font-size: 0.92rem;
  font-weight: 780;
  letter-spacing: 0.04em;
}

.eyebrow-en {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--aomori-blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.lead {
  color: #294957;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.9;
}

.home-page .hero {
  position: relative;
  isolation: isolate;
  min-height: 37rem;
  overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4.5rem);
  background:
    linear-gradient(
      90deg,
      rgb(255 255 255 / 99%) 0%,
      rgb(255 255 255 / 96%) 38%,
      rgb(255 255 255 / 72%) 58%,
      rgb(255 255 255 / 5%) 82%
    ),
    url("./assets/images/aomori-bay-hero-image2-v1.webp") center right / cover no-repeat;
  border: 0;
  border-radius: 2rem;
  box-shadow: 0 2rem 5rem rgb(9 59 88 / 17%);
}

.home-page .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 64%, rgb(7 71 104 / 12%)),
    radial-gradient(circle at 85% 21%, rgb(255 255 255 / 50%), transparent 22%);
  pointer-events: none;
}

.home-page .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.7rem;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 1.45rem;
  pointer-events: none;
}

.home-page .hero > * {
  position: relative;
  z-index: 1;
  max-width: 35rem;
}

.home-page .hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 0.9rem;
  margin-block: 0.55rem 1rem;
  max-width: 36rem;
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  line-height: 1.13;
  letter-spacing: -0.055em;
  text-shadow: 0 0.1rem 1.5rem rgb(255 255 255 / 80%);
}

.hero-title-main {
  display: block;
  white-space: nowrap;
}

.hero-title-note {
  display: inline-flex;
  margin-bottom: 0.42rem;
  padding: 0.32rem 0.62rem;
  color: #9a332f;
  background: rgb(255 241 238 / 88%);
  border: 1px solid #efc0ba;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: none;
}

.home-page .hero .lead {
  max-width: 34rem;
}

.site-search {
  max-width: 36rem;
  margin-top: 1.7rem;
  padding: 1.05rem;
  background: rgb(255 255 255 / 88%);
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 1.15rem;
  box-shadow: 0 1rem 2.6rem rgb(10 52 79 / 15%);
  backdrop-filter: blur(14px);
}

.site-search label {
  margin-bottom: 0.52rem;
  color: var(--aomori-navy);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.search-row {
  gap: 0.48rem;
}

.search-row input {
  min-height: 3.25rem;
  padding-inline: 1rem;
  background: #fff;
  border: 1px solid #b6cbd4;
  border-radius: 0.78rem;
  box-shadow: inset 0 1px 2px rgb(10 52 79 / 3%);
}

.search-row input::placeholder {
  color: #788d96;
}

.search-row input:focus {
  border-color: var(--aomori-blue);
}

.search-row button {
  position: relative;
  min-width: 6rem;
  padding-inline: 1.25rem;
  background: linear-gradient(135deg, var(--aomori-blue), var(--teal-dark));
  border: 0;
  border-radius: 0.78rem;
  box-shadow: 0 0.45rem 1rem rgb(7 87 104 / 22%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.search-row button:hover {
  background: linear-gradient(135deg, #0b7aa8, #075768);
  box-shadow: 0 0.7rem 1.4rem rgb(7 87 104 / 27%);
  transform: translateY(-1px);
}

.search-privacy,
.search-status {
  margin-block: 0.48rem 0;
  color: #607782;
  font-size: 0.72rem;
  line-height: 1.55;
}

.search-status {
  color: var(--teal-dark);
  font-weight: 680;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin-top: 0.9rem;
  font-size: 0.76rem;
}

.quick-links span {
  color: #59707b;
}

.quick-links a {
  min-height: 2.1rem;
  padding: 0.3rem 0.7rem;
  color: var(--aomori-navy);
  background: rgb(255 255 255 / 79%);
  border: 1px solid rgb(255 255 255 / 88%);
  border-radius: 999px;
  box-shadow: 0 0.25rem 0.8rem rgb(10 52 79 / 8%);
  font-weight: 750;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.quick-links a:hover {
  color: #fff;
  background: var(--aomori-apple);
}

.home-page > .site-header + .page-shell {
  padding-top: 1.15rem;
}

.home-page .alert-warning {
  position: relative;
  margin-block: 1.15rem 0;
  padding: 1rem 1.2rem 1rem 3.8rem;
  color: #603e34;
  background: #fff8f4;
  border: 1px solid #efd4c9;
  border-radius: 1rem;
  box-shadow: none;
}

.home-page .alert-warning::before {
  content: "!";
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  display: grid;
  width: 1.9rem;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: var(--aomori-apple);
  border-radius: 50%;
  font-weight: 900;
}

.home-page .alert-warning h2 {
  margin: 0 0 0.15rem;
  color: #6c322b;
  font-size: 0.95rem;
}

.home-page .alert-warning h2::before {
  display: none;
}

.home-page .alert-warning p {
  margin: 0;
  font-size: 0.82rem;
}

.guide-section > h2,
.life-events-section > h2 {
  margin-bottom: 0.4rem;
}

.guide-section > h2 + p,
.life-events-section > h2 + p {
  margin-top: 0;
  color: var(--muted);
}

.guide-grid {
  counter-reset: aomori-guide;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100%;
  max-width: none;
  margin-top: 1.65rem;
}

.guide-grid > li {
  grid-column: span 4;
}

.guide-grid > li:nth-child(1) {
  grid-column: span 7;
}

.guide-grid > li:nth-child(2) {
  grid-column: span 5;
}

.guide-card {
  counter-increment: aomori-guide;
  position: relative;
  isolation: isolate;
  min-height: 18rem;
  overflow: hidden;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 100% 0, rgb(151 210 225 / 24%), transparent 9rem),
    #fff;
  border: 1px solid rgb(156 185 196 / 58%);
  border-radius: 1.35rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.guide-card::before {
  content: "0" counter(aomori-guide);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.4rem;
  color: #fff;
  background: linear-gradient(145deg, var(--aomori-blue), var(--teal-dark));
  border-radius: 0.85rem;
  box-shadow: 0 0.55rem 1.1rem rgb(7 87 104 / 18%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.guide-grid > li:nth-child(2) .guide-card::before,
.guide-grid > li:nth-child(5) .guide-card::before {
  background: linear-gradient(145deg, #e15a4f, #ad3033);
  box-shadow: 0 0.55rem 1.1rem rgb(191 47 49 / 18%);
}

.guide-grid > li:nth-child(3) .guide-card::before {
  background: linear-gradient(145deg, #278f7b, #14604f);
}

.guide-card:hover {
  border-color: rgb(74 145 169 / 58%);
  box-shadow: 0 1.4rem 3rem rgb(10 52 79 / 14%);
  transform: translateY(-4px);
}

.guide-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.45;
}

.guide-card h3 a {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--aomori-navy);
  text-decoration: none;
}

.guide-card h3 a::after {
  content: "→";
  flex: 0 0 auto;
  color: var(--aomori-apple);
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.guide-card h3 a:hover::after {
  transform: translateX(0.28rem);
}

.guide-card > p:not(.status-line) {
  color: #506a76;
  font-size: 0.88rem;
  line-height: 1.78;
}

.status-line {
  margin-block: 1rem 0.7rem;
}

.badge-list {
  gap: 0.38rem;
}

.badge-list li,
.status-chip {
  padding: 0.25rem 0.58rem;
  color: #285c63;
  background: #eef8f7;
  border: 1px solid #c9e4e1;
  font-size: 0.7rem;
  font-weight: 760;
}

.status-chip {
  color: #865143;
  background: #fff5f0;
  border-color: #f0d3c8;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: 100%;
  max-width: none;
  margin-top: 1.4rem;
}

.panel-link {
  position: relative;
  min-height: 6.5rem;
  margin: 0;
  padding: 1.1rem 3rem 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid #d3e1e6;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.4rem rgb(10 52 79 / 6%);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.panel-link::after {
  content: "↗";
  position: absolute;
  top: 50%;
  right: 1.15rem;
  color: var(--aomori-blue);
  font-size: 1.15rem;
  transform: translateY(-50%);
}

.panel-link:hover {
  color: var(--aomori-navy);
  background: #f6fbfc;
  border-color: #9bc4d2;
  transform: translateY(-2px);
}

.panel-link span {
  margin-top: 0.2rem;
  color: #526a76;
  font-size: 0.75rem;
}

.official-next-step {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  padding: clamp(1.7rem, 4vw, 2.7rem);
  color: #eaf6fa;
  background:
    radial-gradient(circle at 92% 15%, rgb(46 170 178 / 38%), transparent 18rem),
    linear-gradient(135deg, #092f49, #0b516a);
  border: 0;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.official-next-step::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -5.2rem;
  width: 16rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.5rem rgb(255 255 255 / 4%),
    0 0 0 5rem rgb(255 255 255 / 3%);
}

.official-next-step h2 {
  color: #fff;
}

.official-next-step h2::before {
  background: linear-gradient(90deg, #ef6b5f 0 32%, #57c7c4 32%);
}

.official-next-step p {
  position: relative;
  z-index: 1;
}

.action-link,
.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--aomori-blue), var(--teal-dark));
  border: 0;
  border-radius: 0.78rem;
  box-shadow: 0 0.5rem 1.1rem rgb(7 87 104 / 18%);
  font-weight: 780;
  text-decoration: none;
}

.action-link:hover,
.phone-link:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--aomori-apple), #ab3032);
}

.action-link.secondary {
  color: var(--aomori-navy);
  background: #fff;
  border: 1px solid #c7dae1;
  box-shadow: none;
}

.official-next-step .action-link.secondary {
  color: var(--aomori-navy);
  border-color: #fff;
}

body:not(.home-page) .page-shell > article > header,
body:not(.home-page) .page-shell > header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 4.5vw, 3.1rem);
  background:
    radial-gradient(circle at 90% 10%, rgb(69 167 190 / 20%), transparent 15rem),
    linear-gradient(135deg, #f3fafb, #fff);
  border: 1px solid #d8e7eb;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 2.8rem rgb(10 52 79 / 7%);
}

body:not(.home-page) .page-shell > article > header::after,
body:not(.home-page) .page-shell > header::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4rem;
  bottom: -7rem;
  width: 18rem;
  aspect-ratio: 1;
  border: 1px solid rgb(15 111 159 / 10%);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.5rem rgb(15 111 159 / 3%),
    0 0 0 5rem rgb(15 111 159 / 2%);
}

body:not(.home-page) .page-shell > article > header h1,
body:not(.home-page) .page-shell > header h1 {
  max-width: 17ch;
}

.answer-first,
.provenance,
.detail-card,
.review-card {
  background: #fff;
  border: 1px solid #d5e2e7;
  border-radius: 1.15rem;
  box-shadow: 0 0.55rem 1.8rem rgb(10 52 79 / 6%);
}

.answer-first,
.provenance {
  padding: 1.35rem 1.5rem;
}

.answer-first {
  border-top: 0.28rem solid var(--teal);
}

.detail-card,
.review-card {
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
}

.definition-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.8rem;
}

.definition-cards li {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #d5e2e7;
  border-radius: 0.9rem;
  box-shadow: 0 0.35rem 1rem rgb(10 52 79 / 4%);
}

.table-wrap {
  border-color: #cbdde3;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgb(10 52 79 / 5%);
}

table {
  background: #fff;
}

thead th {
  background: linear-gradient(135deg, var(--aomori-navy), #0a5a71);
}

th,
td {
  border-color: #d9e5e9;
}

tbody tr:nth-child(even) {
  background: #f8fbfc;
}

.steps li {
  gap: 0.85rem;
  margin-block: 0.9rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid #d8e5e9;
  border-radius: 0.9rem;
}

.steps li::before {
  color: #fff;
  background: linear-gradient(145deg, var(--aomori-blue), var(--teal-dark));
  border-radius: 0.7rem;
}

.alert {
  border-width: 1px;
  border-radius: 1rem;
}

.alert-danger,
.safety-redaction {
  border-color: #e5b9b4;
}

.status-summary > div,
.compact-list > div,
.review-fields > div {
  border-color: #dce7eb;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem;
  color: #dfeef2;
  background:
    radial-gradient(circle at 86% 15%, rgb(41 148 167 / 20%), transparent 20rem),
    linear-gradient(140deg, #08283e, #0b4052);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.22rem;
  background: linear-gradient(
    90deg,
    var(--aomori-blue) 0 42%,
    #fff 42% 68%,
    var(--aomori-apple) 68%
  );
}

.site-footer p,
.site-footer ul {
  color: #d2e4e9;
  font-size: 0.86rem;
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgb(255 255 255 / 35%);
}

.site-footer h2 {
  color: #fff;
}

.site-footer h2::before {
  display: none;
}

.related-sites,
.site-footer [aria-labelledby="correction-heading"] {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.related-sites-intro {
  margin: 0 0 1rem;
}

.site-footer .brand-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-banner-grid > li {
  margin: 0;
}

.brand-banner {
  display: grid;
  grid-template-columns: minmax(7.5rem, 40%) minmax(0, 1fr) auto;
  align-items: center;
  min-height: 8.5rem;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: #123746 !important;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.8rem 1.8rem rgb(0 17 31 / 18%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.brand-banner--arec {
  background: linear-gradient(135deg, #fff 55%, #fff1f5);
}

.brand-banner--crea {
  background: linear-gradient(135deg, #fff 55%, #f5faec);
}

.brand-banner:hover {
  transform: translateY(-0.18rem);
  border-color: #fff;
  box-shadow: 0 1rem 2.3rem rgb(0 17 31 / 25%);
}

.brand-banner:focus-visible {
  outline: 0.2rem solid #fff;
  outline-offset: 0.2rem;
}

.brand-banner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 6.2rem;
}

.brand-banner__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-banner__logo--wide {
  height: 4.7rem;
}

.brand-banner__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.22rem;
}

.brand-banner__copy strong {
  color: #123746;
  font-size: clamp(0.88rem, 1.35vw, 1.05rem);
  line-height: 1.35;
}

.brand-banner__copy span {
  color: #61757c;
  font-size: 0.76rem;
  line-height: 1.5;
}

.brand-banner__arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #fff;
  font-size: 1rem;
  border-radius: 50%;
  background: #0e7186;
}

@media (max-width: 60rem) {
  .home-page .hero {
    min-height: 34rem;
    padding: 3.1rem 2.6rem;
    background-position: 52% center;
  }

  .home-page .hero > * {
    max-width: 31rem;
  }

  .home-page .hero h1 {
    max-width: 31rem;
    font-size: clamp(2.45rem, 6vw, 3.6rem);
  }

  .guide-grid > li,
  .guide-grid > li:nth-child(1),
  .guide-grid > li:nth-child(2) {
    grid-column: span 6;
  }

  .guide-grid > li:last-child {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 44rem) {
  .unofficial-banner {
    padding: 0.55rem 1rem;
    font-size: 0.73rem;
    line-height: 1.55;
  }

  .unofficial-banner strong {
    display: inline-flex;
  }

  .header-inner,
  .footer-inner,
  .page-shell {
    width: min(100% - 1.25rem, 74rem);
  }

  .header-inner {
    min-height: auto;
    padding-block: 0.72rem;
  }

  .site-name {
    font-size: 0.91rem;
  }

  .site-name a::before {
    width: 1.55rem;
  }

  .environment-label {
    align-self: flex-start;
    font-size: 0.66rem;
  }

  .page-shell {
    padding-block: 0.8rem 4rem;
  }

  .breadcrumbs {
    margin-bottom: 0.75rem;
  }

  .home-page .hero {
    min-height: 0;
    padding: 14.3rem 1.25rem 1.25rem;
    background:
      linear-gradient(
        180deg,
        rgb(255 255 255 / 0%) 0,
        rgb(255 255 255 / 8%) 9.5rem,
        rgb(255 255 255 / 97%) 13.5rem,
        #fff 17rem
      ),
      url("./assets/images/aomori-bay-hero-image2-v1.webp") 68% top / auto 14rem no-repeat,
      #fff;
    border-radius: 1.35rem;
    box-shadow: 0 1.2rem 3rem rgb(9 59 88 / 13%);
  }

  .home-page .hero::before {
    background: linear-gradient(180deg, transparent 10rem, rgb(7 71 104 / 4%));
  }

  .home-page .hero::after {
    inset: 0.4rem;
    border-radius: 1rem;
  }

  .home-page .hero h1 {
    margin-top: 0.45rem;
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.18;
  }

  .hero-title-main {
    white-space: normal;
  }

  .hero-title-note {
    margin-bottom: 0.22rem;
  }

  .home-page .hero .lead {
    margin-bottom: 1.1rem;
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .eyebrow {
    font-size: 0.78rem;
  }

  .eyebrow-en {
    font-size: 0.62rem;
  }

  .site-search {
    margin-top: 1.2rem;
    padding: 0.85rem;
    background: #f7fbfc;
    border-color: #d8e6ea;
    box-shadow: none;
  }

  .search-row {
    flex-direction: row;
    align-items: stretch;
  }

  .search-row input {
    flex: 1 1 auto;
    width: 0;
    min-height: 3.25rem;
    height: 3.25rem;
    padding-inline: 0.75rem;
    font-size: 0.93rem;
  }

  .search-row button {
    width: auto;
    min-width: 4.7rem;
    padding-inline: 0.8rem;
  }

  .search-privacy,
  .search-status {
    font-size: 0.65rem;
  }

  .quick-links {
    gap: 0.4rem;
  }

  .quick-links span {
    flex-basis: 100%;
  }

  .home-page .alert-warning {
    padding: 0.85rem 0.9rem 0.85rem 3.2rem;
    border-radius: 0.9rem;
  }

  .home-page .alert-warning::before {
    top: 0.85rem;
    left: 0.85rem;
    width: 1.65rem;
  }

  h2 {
    margin-top: 3rem;
    font-size: 1.55rem;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .guide-grid > li,
  .guide-grid > li:nth-child(1),
  .guide-grid > li:nth-child(2),
  .guide-grid > li:last-child {
    grid-column: auto;
  }

  .guide-card {
    min-height: 0;
    padding: 1.15rem;
    border-radius: 1.05rem;
  }

  .guide-card::before {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.85rem;
  }

  .guide-card h3 {
    font-size: 1.12rem;
  }

  .guide-card > p:not(.status-line) {
    font-size: 0.82rem;
  }

  .link-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .panel-link {
    min-height: 6rem;
    padding: 0.9rem 2.3rem 0.9rem 0.9rem;
    font-size: 0.92rem;
  }

  .panel-link::after {
    right: 0.8rem;
  }

  .official-next-step {
    margin-top: 3rem;
    border-radius: 1.2rem;
  }

  body:not(.home-page) .page-shell > article > header,
  body:not(.home-page) .page-shell > header {
    padding: 1.45rem 1.2rem;
    border-radius: 1.15rem;
  }

  body:not(.home-page) .page-shell > article > header h1,
  body:not(.home-page) .page-shell > header h1 {
    max-width: none;
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .site-footer {
    padding-block: 2.7rem;
  }

  .site-footer .brand-banner-grid {
    grid-template-columns: 1fr;
  }

  .brand-banner {
    min-height: 7.7rem;
  }
}

@media (max-width: 25rem) {
  .link-list {
    grid-template-columns: 1fr;
  }

  .search-row {
    flex-direction: column;
  }

  .search-row input {
    width: 100%;
  }

  .search-row button {
    width: 100%;
  }

  .brand-banner {
    grid-template-columns: 7rem minmax(0, 1fr) auto;
    gap: 0.7rem;
    padding: 0.85rem;
  }

  .brand-banner__logo {
    height: 5.2rem;
  }

  .brand-banner__logo--wide {
    height: 3.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .guide-card,
  .panel-link,
  .search-row button {
    transition: none;
  }
}

@media (forced-colors: active) {
  .home-page .hero,
  .guide-card,
  .panel-link,
  .official-next-step,
  body:not(.home-page) .page-shell > article > header {
    border: 2px solid CanvasText;
    box-shadow: none;
  }
}

@media print {
  .home-page .hero {
    min-height: 0;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid #000;
    box-shadow: none;
  }

  .quick-links {
    display: none;
  }

  .guide-grid {
    display: block;
  }

  .guide-card,
  .panel-link,
  .official-next-step,
  body:not(.home-page) .page-shell > article > header {
    color: #000;
    background: #fff;
    border: 1px solid #000;
    box-shadow: none;
  }
}

/* --------------------------------------------------------------------------
   Photo banner + official source library / 2026-07-28
   -------------------------------------------------------------------------- */

.official-next-step {
  display: grid;
  min-height: 22rem;
  align-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(
      90deg,
      rgb(5 34 53 / 96%) 0%,
      rgb(6 48 69 / 91%) 38%,
      rgb(7 60 82 / 58%) 63%,
      rgb(7 60 82 / 12%) 100%
    ),
    url("./assets/images/aomori-bay-hero-image2-v1.webp") 66% center / cover no-repeat;
  border: 1px solid rgb(255 255 255 / 45%);
  box-shadow: 0 1.6rem 4rem rgb(9 59 88 / 19%);
}

.official-next-step::before {
  content: "AOMORI CITY  ·  OFFICIAL CHECK";
  display: block;
  margin-bottom: 0.5rem;
  color: #8ee1e3;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.official-next-step::after {
  display: none;
}

.official-next-step h2,
.official-next-step p {
  max-width: 39rem;
}

.official-next-step h2 {
  margin-top: 0;
  text-shadow: 0 0.15rem 1.4rem rgb(2 24 39 / 45%);
}

.official-next-step p {
  color: #e6f2f5;
  text-shadow: 0 0.08rem 0.8rem rgb(2 24 39 / 55%);
}

.official-next-step .action-link.secondary {
  color: var(--aomori-navy);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 0.8rem 1.8rem rgb(2 24 39 / 22%);
}

.source-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
  width: 100%;
  max-width: none;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.source-list > li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.62rem;
  min-width: 0;
  min-height: 9.2rem;
  margin: 0;
  padding: 1rem 1.05rem;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 98%), rgb(245 250 251 / 98%));
  border: 1px solid #d2e1e6;
  border-radius: 1rem;
  box-shadow: 0 0.45rem 1.3rem rgb(10 52 79 / 6%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.source-list > li:hover {
  border-color: #91becd;
  box-shadow: 0 0.85rem 2rem rgb(10 52 79 / 11%);
  transform: translateY(-2px);
}

.source-list > li > a {
  position: relative;
  display: block;
  padding-right: 1.65rem;
  color: var(--aomori-navy);
  font-size: 0.92rem;
  font-weight: 790;
  line-height: 1.6;
  text-decoration: none;
}

.source-list > li > a::before {
  content: "WEB";
  display: table;
  margin-bottom: 0.62rem;
  padding: 0.18rem 0.48rem;
  color: #fff;
  background: linear-gradient(135deg, var(--aomori-blue), var(--teal-dark));
  border-radius: 0.38rem;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.source-list > li > a::after {
  content: "↗";
  position: absolute;
  top: 0;
  right: 0;
  color: #4a91a8;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.source-list > li:hover > a::after {
  transform: translate(0.12rem, -0.12rem);
}

.source-list > li > a[href$=".pdf"]::before {
  content: "PDF";
  background: linear-gradient(135deg, #e35c52, #b93235);
}

.source-list > li > a[href$=".csv"]::before {
  content: "CSV";
  background: linear-gradient(135deg, #198b89, #0c6266);
}

.source-list > li > a[href$=".xlsx"]::before {
  content: "EXCEL";
  background: linear-gradient(135deg, #32845d, #196144);
}

.source-list > li > span {
  align-self: end;
  color: #6b7f88;
  font-size: 0.7rem;
  line-height: 1.5;
}

@media (max-width: 60rem) {
  .source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 44rem) {
  .official-next-step {
    min-height: 29rem;
    align-content: end;
    padding: 1.4rem;
    background:
      linear-gradient(
        180deg,
        rgb(5 34 53 / 7%) 0%,
        rgb(5 34 53 / 30%) 35%,
        rgb(5 34 53 / 94%) 65%,
        rgb(5 34 53 / 98%) 100%
      ),
      url("./assets/images/aomori-bay-hero-image2-v1.webp") 68% center / cover no-repeat;
  }

  .official-next-step::before {
    font-size: 0.6rem;
  }

  .official-next-step h2 {
    font-size: 1.48rem;
  }

  .source-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .source-list > li {
    min-height: 0;
    padding: 0.9rem;
    border-radius: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .source-list > li,
  .source-list > li > a::after {
    transition: none;
  }
}

@media print {
  .official-next-step,
  .source-list > li {
    min-height: 0;
    color: #000;
    background: #fff;
    border: 1px solid #000;
    box-shadow: none;
  }

  .official-next-step::before {
    color: #000;
  }
}

/* seo-enhance:start */
.guide-siblings {
  max-width: 58rem;
  margin: 2.5rem auto 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: 1.25rem;
  background: #eef6f8;
}

.guide-siblings h2 {
  margin: 0 0 .85rem;
  color: #0a344f;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.guide-siblings-list {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.guide-siblings-list a {
  display: block;
  height: 100%;
  padding: .85rem 1rem;
  border: 1px solid #c9d9df;
  border-radius: .85rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.guide-siblings-list a:hover,
.guide-siblings-list a:focus-visible {
  border-color: #087f86;
  background: #f6fdfe;
}

.guide-siblings-list strong {
  display: block;
  color: #075768;
  line-height: 1.5;
}

.guide-siblings-list span {
  display: block;
  margin-top: .25rem;
  color: #526a76;
  font-size: .92rem;
  line-height: 1.65;
}
/* seo-enhance:end */
