:root {
  --ok-ink: #082f42;
  --ok-muted: #3f6070;
  --ok-blue: #006f8e;
  --ok-blue-dark: #07506a;
  --ok-aqua: #dff4f3;
  --ok-cream: #fffaf0;
  --ok-line: #c7dce3;
  --ok-focus: #f3a600;
  --ok-green: #087647;
  --ok-green-soft: #e9f7ef;
  --ok-red: #b9382f;
  --ok-red-soft: #fff0ed;
  --ok-shadow: 0 22px 56px rgba(8, 47, 66, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.okuyami-body {
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 22%, rgba(255, 204, 102, 0.18), transparent 28rem),
    #f6fafb;
  color: var(--ok-ink);
}

.okuyami-body,
.okuyami-body button,
.okuyami-body input {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.okuyami-main {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: 0 32px 96px;
}

.okuyami-breadcrumbs {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 0 14px;
}

.okuyami-hero {
  position: relative;
  min-height: 380px;
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(5, 47, 66, 0.98) 0%, rgba(5, 47, 66, 0.91) 43%, rgba(5, 47, 66, 0.18) 100%),
    url("/aomori-tetsuzuki-guide/assets/images/aomori-bay-hero-image2-v1.webp") center / cover no-repeat;
  box-shadow: var(--ok-shadow);
}

.okuyami-hero::after {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: 84px;
  height: 84px;
  border: 14px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.okuyami-hero__content {
  position: relative;
  z-index: 1;
  width: min(680px, 62%);
  padding: 70px 72px;
  color: #fff;
}

.okuyami-hero__eyebrow,
.section-kicker,
.wizard-kicker {
  margin: 0 0 12px;
  color: #22c6c5;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.okuyami-hero h1 {
  max-width: 12em;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.wizard-kicker {
  color: #087a7c;
}

.okuyami-hero h1::after {
  display: block;
  width: 92px;
  height: 5px;
  margin: 24px 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #e64c48 0 35%, #55d2d0 35%);
  content: "";
}

.okuyami-hero__content > p:not(.okuyami-hero__eyebrow):not(.okuyami-hero__meta) {
  max-width: 570px;
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.8;
}

.okuyami-hero__meta {
  margin: 22px 0 0;
  color: #d6f1f3;
  font-size: 16px;
  font-weight: 700;
}

.okuyami-wizard {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 64px));
  margin: -70px auto 56px;
  overflow: hidden;
  border: 1px solid #d6e5e9;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--ok-shadow);
}

.wizard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 10px 32px;
  border-bottom: 1px solid #dce9ed;
  background: #f7fbfc;
}

.wizard-progress {
  margin: 0;
  color: var(--ok-blue-dark);
  font-size: 17px;
  font-weight: 800;
}

.wizard-toolbar__buttons {
  display: flex;
  gap: 8px;
}

.wizard-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 14px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ok-blue-dark);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.wizard-text-button:hover:not(:disabled) {
  background: #e7f3f6;
}

.wizard-text-button:disabled {
  color: #71848d;
  cursor: not-allowed;
}

.wizard-text-button svg {
  width: 22px;
  height: 22px;
  margin-right: 5px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.wizard-content {
  min-height: 480px;
  padding: 48px 56px 56px;
}

.wizard-question {
  max-width: 860px;
  margin: 0 auto;
}

.wizard-question h2,
.wizard-result h2,
.quick-contact h2,
.official-reminder h2 {
  margin: 0;
  color: var(--ok-ink);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
}

.wizard-description {
  margin: 14px 0 28px;
  color: var(--ok-muted);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.8;
}

.choice-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.choice-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 104px;
  padding: 19px 24px;
  border: 2px solid var(--ok-line);
  border-radius: 18px;
  background: #fff;
  color: var(--ok-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.choice-card:hover {
  border-color: var(--ok-blue);
  background: #f3fafb;
  transform: translateY(-1px);
}

.choice-card--help {
  border-color: #e9cf8b;
  background: var(--ok-cream);
}

.choice-card__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  background: var(--ok-aqua);
  color: var(--ok-blue-dark);
}

.choice-card__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.choice-card__text {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.choice-card__text strong {
  font-size: 21px;
  line-height: 1.45;
}

.choice-card__text span {
  color: var(--ok-muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.choice-card__arrow {
  color: var(--ok-blue);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.wizard-result {
  max-width: 880px;
  margin: 0 auto;
}

.result-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--ok-green-soft);
  color: var(--ok-green);
  font-size: 16px;
  font-weight: 900;
}

.result-label--warning {
  background: var(--ok-red-soft);
  color: var(--ok-red);
}

.result-lead {
  margin: 16px 0 26px;
  color: var(--ok-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.result-card {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--ok-line);
  border-radius: 16px;
  background: #f9fcfd;
}

.result-card--wide {
  grid-column: 1 / -1;
}

.result-card--warning {
  border-color: #ebbbb7;
  background: var(--ok-red-soft);
}

.result-card h3 {
  margin: 0 0 10px;
  color: var(--ok-blue-dark);
  font-size: 18px;
  line-height: 1.5;
}

.result-card p,
.result-card li {
  color: var(--ok-ink);
  font-size: 18px;
  line-height: 1.75;
}

.result-card p {
  margin: 0;
}

.result-card ul,
.result-card ol {
  margin: 0;
  padding-left: 1.4em;
}

.result-card li + li {
  margin-top: 7px;
}

.result-phone {
  display: block;
  margin-top: 4px;
  color: var(--ok-blue-dark);
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.result-actions,
.document-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.okuyami-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 20px;
  border: 2px solid var(--ok-blue);
  border-radius: 13px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button.okuyami-action {
  width: 100%;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
}

.okuyami-action--primary {
  background: var(--ok-blue);
  color: #fff;
}

.okuyami-action--primary:hover {
  border-color: var(--ok-blue-dark);
  background: var(--ok-blue-dark);
  color: #fff;
}

.okuyami-action--secondary {
  background: #fff;
  color: var(--ok-blue-dark);
}

.okuyami-action--secondary:hover {
  background: #edf8fa;
  color: var(--ok-blue-dark);
}

.okuyami-action--green {
  border-color: var(--ok-green);
  background: var(--ok-green);
  color: #fff;
}

.okuyami-action svg,
.sticky-call svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.result-next {
  margin-top: 30px;
  padding: 25px;
  border-radius: 18px;
  background: #e8f7f6;
}

.result-next h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.result-next p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.7;
}

.document-result {
  margin-top: 28px;
  padding: 28px;
  border: 3px solid var(--ok-green);
  border-radius: 20px;
  background: var(--ok-green-soft);
}

.document-result h3 {
  margin: 0 0 10px;
  color: var(--ok-green);
  font-size: 26px;
  line-height: 1.45;
}

.document-name {
  margin: 18px 0 8px;
  color: var(--ok-ink);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.55;
}

.document-description,
.document-condition,
.document-note {
  margin: 8px 0;
  color: var(--ok-ink);
  font-size: 18px;
  line-height: 1.75;
}

.document-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.document-actions .okuyami-action {
  min-width: 0;
  padding-inline: 10px;
}

.noscript-help,
.quick-contact,
.official-materials,
.official-reminder {
  width: min(1180px, calc(100% - 64px));
  margin: 42px auto 0;
  border-radius: 24px;
}

.noscript-help {
  padding: 30px;
  border: 3px solid var(--ok-red);
  background: #fff;
}

.noscript-help p {
  font-size: 18px;
}

.noscript-help .okuyami-action {
  margin: 8px 8px 0 0;
}

.quick-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: 40px;
  padding: 38px 42px;
  background: linear-gradient(125deg, #fff7e7, #e9f7f6);
  box-shadow: 0 15px 40px rgba(8, 47, 66, 0.08);
}

.quick-contact h2 {
  font-size: clamp(27px, 3vw, 36px);
}

.quick-contact p:not(.section-kicker) {
  margin: 12px 0 0;
  color: var(--ok-muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
}

.official-materials details {
  overflow: hidden;
  border: 1px solid var(--ok-line);
  border-radius: 20px;
  background: #fff;
}

.official-materials summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 18px 26px;
  color: var(--ok-blue-dark);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.official-materials summary:hover {
  background: #eff8fa;
}

.details-summary-note {
  color: var(--ok-muted);
  font-size: 15px;
}

.official-materials__content {
  padding: 4px 30px 30px;
  border-top: 1px solid var(--ok-line);
}

.official-materials__content h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.official-materials__content p,
.official-materials__content li {
  font-size: 18px;
  line-height: 1.7;
}

.official-materials__content li + li {
  margin-top: 9px;
}

.source-note {
  padding: 18px;
  border-radius: 12px;
  background: #f2f7f9;
}

.official-reminder {
  padding: 30px 34px;
  border-left: 7px solid var(--ok-blue);
  background: #eaf5f8;
}

.official-reminder h2 {
  font-size: 24px;
}

.official-reminder p {
  margin: 10px 0 0;
  color: var(--ok-muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
}

.sticky-call {
  position: fixed;
  z-index: 50;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 11px 22px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--ok-green);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(8, 47, 66, 0.28);
}

.sticky-call[hidden] {
  display: none;
}

.sticky-call strong {
  font-size: 20px;
}

.okuyami-body :is(a, button, summary):focus-visible {
  outline: 4px solid var(--ok-focus);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .okuyami-main {
    padding-inline: 20px;
  }

  .okuyami-hero {
    min-height: 350px;
    border-radius: 24px;
    background:
      linear-gradient(90deg, rgba(5, 47, 66, 0.97) 0%, rgba(5, 47, 66, 0.83) 70%, rgba(5, 47, 66, 0.45) 100%),
      url("/aomori-tetsuzuki-guide/assets/images/aomori-bay-hero-image2-v1.webp") center / cover no-repeat;
  }

  .okuyami-hero__content {
    width: 83%;
    padding: 56px 44px;
  }

  .okuyami-wizard {
    width: calc(100% - 28px);
  }

  .wizard-content {
    padding: 40px 34px 46px;
  }

  .quick-contact {
    grid-template-columns: 1fr;
  }

  .noscript-help,
  .quick-contact,
  .official-materials,
  .official-reminder {
    width: calc(100% - 28px);
  }
}

@media (max-width: 600px) {
  .okuyami-main {
    padding: 0 0 82px;
  }

  .okuyami-breadcrumbs {
    padding: 14px 18px;
  }

  .okuyami-hero {
    min-height: 320px;
    margin: 0 10px;
    border-radius: 20px;
    background:
      linear-gradient(90deg, rgba(5, 47, 66, 0.98) 0%, rgba(5, 47, 66, 0.88) 100%),
      url("/aomori-tetsuzuki-guide/assets/images/aomori-bay-hero-image2-v1.webp") 62% center / cover no-repeat;
  }

  .okuyami-hero::after {
    display: none;
  }

  .okuyami-hero__content {
    width: 100%;
    padding: 42px 24px 78px;
  }

  .okuyami-hero__eyebrow {
    font-size: 12px;
  }

  .okuyami-hero h1 {
    max-width: 9em;
    font-size: clamp(31px, 10vw, 40px);
  }

  .okuyami-hero h1::after {
    margin: 18px 0;
  }

  .okuyami-hero__content > p:not(.okuyami-hero__eyebrow):not(.okuyami-hero__meta) {
    font-size: 18px;
    line-height: 1.7;
  }

  .okuyami-hero__meta {
    font-size: 14px;
  }

  .okuyami-wizard {
    width: calc(100% - 28px);
    margin-top: -42px;
    border-radius: 20px;
  }

  .wizard-toolbar {
    align-items: flex-start;
    min-height: 62px;
    padding: 8px 12px 8px 18px;
  }

  .wizard-progress {
    padding-top: 12px;
    font-size: 15px;
  }

  .wizard-text-button {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 14px;
  }

  .wizard-text-button svg {
    width: 19px;
  }

  .wizard-content {
    min-height: 420px;
    padding: 32px 18px 34px;
  }

  .wizard-question h2,
  .wizard-result h2 {
    font-size: 28px;
  }

  .wizard-description,
  .result-lead {
    font-size: 18px;
  }

  .choice-list {
    gap: 13px;
    margin-top: 22px;
  }

  .choice-card {
    grid-template-columns: 50px minmax(0, 1fr) 14px;
    gap: 13px;
    min-height: 96px;
    padding: 16px 13px;
    border-radius: 15px;
  }

  .choice-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .choice-card__icon svg {
    width: 30px;
    height: 30px;
  }

  .choice-card__text strong {
    font-size: 18px;
    line-height: 1.45;
  }

  .choice-card__text span {
    font-size: 15px;
  }

  .choice-card__arrow {
    font-size: 30px;
  }

  .result-grid,
  .result-actions,
  .document-actions {
    grid-template-columns: 1fr;
  }

  .result-card--wide {
    grid-column: auto;
  }

  .result-card {
    padding: 19px;
  }

  .result-card p,
  .result-card li,
  .document-description,
  .document-condition,
  .document-note {
    font-size: 18px;
  }

  .result-phone {
    font-size: 29px;
  }

  .result-next,
  .document-result {
    padding: 21px 18px;
  }

  .document-result h3 {
    font-size: 23px;
  }

  .document-name {
    font-size: 21px;
  }

  .quick-contact,
  .official-reminder {
    padding: 28px 21px;
  }

  .official-materials summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
  }

  .official-materials__content {
    padding: 2px 20px 24px;
  }

  .official-materials__content ul {
    padding-left: 1.2em;
  }

  .sticky-call {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    justify-content: center;
    min-height: 62px;
    padding: 9px 12px;
    border-radius: 15px;
    font-size: 15px;
  }

  .sticky-call strong {
    font-size: 17px;
  }

  .okuyami-body.has-sticky-call {
    padding-bottom: 78px;
  }
}

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

  .choice-card {
    transition: none;
  }
}
