/* 下層ページ共通（index.html のトークン・ヘッダー/フッター/NOTE/ACCESS/追従CTA と Figma 下層デザイン） */
:root {
  --ink: #222222;
  --ink-strong: #1a1a1a;
  --body: #444444;
  --muted: #555555;
  --label: #888888;
  --line: #e8e8e8;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-warm: #ebe8e3;
  --flow-hero-bg: #f5f3ef;
  --accent: #f9be00;
  --accent-hover: #e5ae00;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --font: "Noto Sans JP", "Inter", sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
  --radius-pill: 9999px;
  --radius-card: 12px;
  --bar: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 88px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ----- Header（index.html 同一） ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #ffffff;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 50px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.header-rule {
  width: 100%;
  height: 1px;
  background: #222222;
}

.header-mid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  position: relative;
}

.header-logo { line-height: 0; text-decoration: none; }
.header-logo img { height: 80px; width: auto; display: block; }

.header-mid-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.header-nav-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.header-subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  font-size: 13px;
}

.header-subnav li { display: inline-flex; align-items: center; }
.header-subnav li::before {
  content: "｜";
  margin: 0 8px;
}

.header-subnav li:first-child::before { content: none; }

.header-subnav a {
  display: inline-block;
  color: #222222;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.2s ease;
}

.header-subnav a:hover,
.header-subnav a:focus-visible,
.header-subnav a.is-current {
  border-bottom-color: #222222;
  outline: none;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.header-btn--dark {
  width: 125px;
  height: 35px;
  background: #222222;
  color: #ffffff;
  border: 1px solid #222222;
  border-radius: 17.5px;
}

.header-btn--dark:hover,
.header-btn--dark:focus-visible {
  background: #444444;
  outline: none;
}

.header-btn--outline {
  width: 125px;
  height: 35px;
  background: #ffffff;
  color: #222222;
  border: 1px solid #222222;
  border-radius: 17.5px;
}

.header-btn--outline:hover,
.header-btn--outline:focus-visible {
  background: #f5f5f5;
  outline: none;
}

.header-btn--accent {
  width: 173px;
  height: 35px;
  background: #f9be00;
  color: #222222;
  border: 1px solid #222222;
  border-radius: 17.5px;
}

.header-btn--accent:hover,
.header-btn--accent:focus-visible {
  background: #e5ac00;
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ----- 追従CTA（index.html 同一） ----- */
.fixed-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: rgba(249, 190, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
}

.fixed-cta-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.fixed-cta-sep {
  color: #222222;
  font-weight: 700;
  font-size: 16px;
  margin: 0 8px;
}

.fixed-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #222222;
  font-weight: 700;
  font-size: 16px;
  padding: 0 16px;
}

/* ----- Section heading ----- */
.sec-head {
  display: grid;
  grid-template-columns: var(--bar) 1fr;
  grid-template-rows: auto auto auto;
  gap: 10px 20px;
  align-items: start;
  margin-bottom: 28px;
}

.sec-head-bar {
  grid-column: 1;
  grid-row: 1 / -1;
  width: var(--bar);
  min-height: 52px;
  background: var(--ink);
  border-radius: 2px;
}

.sec-head-en {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0;
}

.sec-head-sub {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  font-weight: 400;
}

.sec-head-ja {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  color: var(--ink);
}

/* ----- Figma: ヒーロー（TOP 571px 相当） ----- */
.flow-hero {
  background: #ffffff;
  padding: clamp(40px, 5.25vw, 63px) 0 0;
  overflow: hidden;
}

.flow-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: clamp(16px, 2vw, 24px);
}

.flow-hero__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.5vw, 16px);
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: clamp(20px, 2.5vw, 32px);
}

.flow-hero__photo {
  width: 100%;
  height: clamp(140px, 22vw, 220px);
  object-fit: cover;
  display: block;
  border-radius: var(--radius-card);
}

.flow-hero__meta {
  padding-left: clamp(0px, 1.5vw, 10px);
  max-width: 564px;
}

.flow-hero__label {
  margin: 0 0 12px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.flow-hero__title {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-strong);
}

.flow-hl {
  background: linear-gradient(transparent 62%, var(--accent) 62%);
}

/* 手書き風波線（Figma Vector 2 / 固定）＋カモメ泳ぎ（18秒・JSで path 追従） */
.flow-hero__scene {
  position: relative;
  width: 100%;
  height: clamp(120px, 14vw, 171px);
  margin: 0 0 clamp(22px, 2.8vw, 36px);
  overflow: visible;
}

.flow-hero__wave-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  overflow: visible;
}

.flow-hero__wave-bg path {
  fill: none;
  stroke: #1a1a1a;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.flow-hero__flock {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flow-hero__walker {
  position: absolute;
  width: clamp(72px, 8.5vw, 102px);
  height: clamp(72px, 8.5vw, 102px);
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  will-change: left, top, transform, opacity;
}

.page-flow--soudan .flow-hero__walker--child {
  width: calc(clamp(72px, 8.5vw, 102px) * 0.39);
  height: calc(clamp(72px, 8.5vw, 102px) * 0.39);
  z-index: 1;
}

.page-flow--soudan .flow-hero__parent-wrap {
  position: absolute;
  width: clamp(72px, 8.5vw, 102px);
  height: clamp(72px, 8.5vw, 102px);
  z-index: 2;
  pointer-events: none;
  will-change: left, top, transform, opacity;
}

.page-flow--soudan .flow-hero__parent-wrap .flow-hero__walker--parent {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

.page-flow--soudan .flow-hero__think {
  position: absolute;
  bottom: 105%;
  left: 15%;
  transform: translate(-50%, -18%);
  z-index: 3;
  pointer-events: none;
  visibility: hidden;
}

.page-flow--soudan .flow-hero__think-burst {
  width: clamp(30px, 3.6vw, 40px);
  height: clamp(33px, 4vw, 44px);
  opacity: 0;
  transform: scale(0.55);
  animation: flow-think-pop 14s ease-in-out infinite;
}

.page-flow--soudan .flow-hero__think-svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes flow-think-pop {
  0%,
  36%,
  42%,
  64%,
  70%,
  100% {
    opacity: 0;
    transform: scale(0.55);
  }

  38%,
  40% {
    opacity: 1;
    transform: scale(1);
  }

  66%,
  68% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-flow--soudan .flow-hero__think-burst {
    animation: none;
    opacity: 0;
  }
}

.flow-marquee {
  background: #ffffff;
  border: none;
  overflow: hidden;
  padding: clamp(12px, 1.5vw, 18px) 0;
}

.flow-marquee__track {
  display: flex;
  width: max-content;
  animation: flow-marquee 28s linear infinite;
  will-change: transform;
}

.flow-marquee__set {
  display: flex;
  flex-shrink: 0;
}

.flow-marquee__text {
  flex-shrink: 0;
  padding-right: 2em;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-strong);
  opacity: 0.1;
  white-space: nowrap;
}

@keyframes flow-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-marquee__track { animation: none; }
}

/* ----- Figma: STEP（y=908〜、ステップ間 ~135px） ----- */
.flow-steps {
  padding: clamp(40px, 5vw, 56px) 0 clamp(32px, 4vw, 48px);
  background: var(--bg);
}

.flow-step {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 0 clamp(16px, 2vw, 24px);
  align-items: start;
  padding-bottom: clamp(80px, 11.25vw, 135px);
  position: relative;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.flow-step__rail-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.flow-step__label {
  display: block;
  width: 72px;
  height: 12px;
  margin: 6px 0 0;
  object-fit: contain;
  flex-shrink: 0;
}

.flow-step__rail-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: clamp(72px, 9vw, 100px);
  width: 32px;
}

.flow-step__arrow {
  display: block;
  width: auto;
  height: 60px;
  margin: 0 auto;
  object-fit: contain;
}

.flow-step__num {
  position: relative;
  z-index: 3;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 2px 6px 6px;
  background: var(--bg);
  flex-shrink: 0;
}

.flow-step__body {
  min-width: 0;
  padding-top: 0;
}

.flow-step__bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  padding: 8px 20px;
  background-color: #f9be00;
  border: 1px solid #1a1a1a;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  text-align: center;
  color: var(--ink-strong);
  overflow: visible;
}

/* しっぽ（左下・12×10px）— 黒縁 + 黄色 */
.flow-step__bubble::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -9px;
  z-index: 1;
  width: 12px;
  height: 10px;
  background-color: #f9be00;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.flow-step__bubble::after {
  content: "";
  position: absolute;
  left: 27px;
  bottom: -11px;
  z-index: 0;
  width: 14px;
  height: 12px;
  background-color: #1a1a1a;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* ----- ページ別トンマナ（uritai / kaitai / soudan） ----- */
.page-flow--uritai .flow-hero__label,
.page-flow--kaitai .flow-hero__label {
  color: var(--ink-strong);
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 4px;
  display: inline-block;
}

.page-flow--soudan .flow-hero__label {
  color: var(--ink-strong);
  border-bottom: 2px solid #f9be00;
  padding-bottom: 4px;
  display: inline-block;
}

.page-flow--soudan .flow-hl {
  background: linear-gradient(transparent 62%, #f9be00 62%);
}

.page-flow--uritai .flow-step__bubble {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #1a1a1a;
}

.page-flow--uritai .flow-step__bubble::before {
  background-color: #1a1a1a;
}

.page-flow--uritai .flow-step__bubble strong {
  color: #ffffff;
}

/* ----- STEP右側写真あしらい（uritai / kaitai / soudan） ----- */
.flow-step--has-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.flow-step--has-photo .flow-step__content {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 0 clamp(16px, 2vw, 24px);
  align-items: start;
  min-width: 0;
}

.flow-step__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  padding: clamp(12px, 2vw, 24px) 0;
}

.flow-step__photo-stage {
  position: relative;
  margin: 0 auto;
  flex-shrink: 0;
}

.flow-step__text-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  height: 118%;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.flow-step__ring-text {
  font-family: "Inter", var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  fill: #1a1a1a;
}

.flow-step__photo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.flow-step__photo-img--1 {
  clip-path: ellipse(48% 42% at 52% 50%);
}

.flow-step__photo-img--2 {
  clip-path: path("M 20,50 C 20,20 80,0 90,40 C 100,70 80,100 50,95 C 20,90 0,80 20,50");
}

.flow-step__photo-img--3 {
  clip-path: path("M 48,8 C 98,2 148,30 154,78 C 160,124 122,162 72,166 C 26,170 6,128 14,76 C 22,30 48,8");
  transform: rotate(-6deg);
}

.flow-step__photo-stage--1 {
  width: clamp(300px, 28vw, 360px);
  height: clamp(330px, 31vw, 396px);
  animation: flow-photo-float 7s ease-in-out infinite;
}

.flow-step__photo-stage--2 {
  width: clamp(292px, 27vw, 352px);
  height: clamp(322px, 30vw, 388px);
  animation: flow-photo-float-alt 8.5s ease-in-out infinite 0.9s;
}

.flow-step__photo-stage--3 {
  width: clamp(304px, 29vw, 360px);
  height: clamp(334px, 32vw, 400px);
  animation: flow-photo-float 9.2s ease-in-out infinite 1.7s;
}

@keyframes flow-photo-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(6px, -14px, 0) rotate(2.5deg);
  }
}

@keyframes flow-photo-float-alt {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(-8px, -12px, 0) rotate(3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-step__photo-stage {
    animation: none;
  }
}

.page-flow--kaitai .flow-step__bubble {
  background-color: #ffffff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.page-flow--kaitai .flow-step__bubble::before {
  background-color: #ffffff;
}

.page-flow--soudan .flow-step__bubble {
  background-color: #f9be00;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

@media (max-width: 800px) {
  .flow-step__bubble {
    display: flex;
    width: 100%;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

.flow-step__card {
  max-width: min(865px, 100%);
  padding: clamp(20px, 2vw, 24px) clamp(22px, 2.3vw, 28px) clamp(18px, 1.8vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg);
}

.flow-step__card > p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.75;
}

.flow-step__card > p:last-of-type {
  margin-bottom: 0;
}

.flow-tags {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-tags li {
  padding: 6px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--body);
  line-height: 1.4;
}

.flow-notes {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.flow-notes li + li {
  margin-top: 6px;
}

/* ----- CTA ----- */
.flow-cta-sec {
  padding: 32px 0;
  background: #f5f3ef;
}

.flow-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.flow-cta-copy {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  min-width: min(100%, 280px);
}

.flow-cta-copy img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.flow-cta-copy__text {
  flex: 1 1 auto;
  min-width: 0;
}

.flow-cta-copy p {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.flow-cta-copy p:last-child {
  margin-bottom: 0;
}

.flow-cta-copy strong {
  font-weight: 700;
  color: var(--ink-strong);
}

.flow-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease;
}

.flow-cta-btn:hover,
.flow-cta-btn:focus-visible {
  background: var(--accent-hover);
  outline: none;
}

/* ----- Note（index.html 同一） ----- */
.note-sec {
  padding: clamp(48px, 5.5vw, 56px) 0 clamp(56px, 5.5vw, 64px);
  background: var(--bg);
}

.note-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px 32px;
  background: var(--bg);
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.note-card:hover,
.note-card:focus-visible {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  outline: none;
}

.note-thumb {
  aspect-ratio: 335 / 168;
  background: var(--bg-soft) center / cover no-repeat;
}

.note-body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.note-cat {
  display: inline-block;
  align-self: flex-start;
  border: 1px solid var(--line);
  padding: 3px 8px;
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 10px;
}

.note-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
}

.note-more {
  margin-top: 16px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}

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

/* ----- Access（index.html 同一） ----- */
.access-sec {
  padding: 56px 0 72px;
  background: #222222;
  color: #ffffff;
}

.access-sec .sec-head-bar { background: #888888; }
.access-sec .sec-head-en { color: #888888; }
.access-sec .sec-head-ja { color: #ffffff; }
.access-sec .sec-head-sub { color: #888888; }

.access-grid {
  display: flex;
  align-items: stretch;
  gap: 32px;
}

.access-grid__info {
  flex: 1 1 0;
  min-width: 0;
}

.access-map {
  flex: 1 1 0;
  min-width: 0;
  min-height: 300px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

.access-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.45px;
}

.access-table th {
  text-align: left;
  font-weight: 500;
  color: #888888;
  padding: 10px 16px 10px 0;
  vertical-align: top;
  width: 7em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.access-table td {
  padding: 10px 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ----- Footer（index.html 同一） ----- */
.site-footer {
  background: #ffffff;
  color: #222222;
  padding: 36px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-nav { width: 100%; margin-bottom: 28px; }

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
}

.footer-nav li { display: inline-flex; align-items: center; }
.footer-nav li + li::before {
  content: "｜";
  color: rgba(34, 34, 34, 0.22);
  padding: 0 0.35em;
}

.footer-nav a {
  text-decoration: none;
  color: #222222;
}

.footer-logo {
  line-height: 0;
  margin: 0 0 24px;
  text-decoration: none;
}

.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: #555555;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .note-grid { grid-template-columns: 1fr; }
  .access-grid { flex-direction: column; }
  .access-map {
    width: 100%;
    min-height: 300px;
    height: clamp(300px, 56vw, 420px);
  }
}

@media (max-width: 800px) {
  .header-inner { padding: 0 20px; }
  .header-mid { display: block; padding: 12px 0; }
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    gap: 4px;
  }
  .nav-toggle span { width: 24px; }
  .header-logo { display: block; margin: 0 auto; }
  .header-logo img { height: 60px; }
  #header-drawer { display: block; width: 100%; }
  .header-mid-end { width: 100%; align-items: stretch; }
  .header-nav-col { align-items: stretch; width: 100%; gap: 0; }
  .header-subnav { display: none; background: #fff; }
  .site-header.is-open .header-subnav { display: block; }
  .header-subnav ul { flex-direction: column; align-items: stretch; }
  .header-subnav li::before { display: none; }
  .header-subnav a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
  }
  .header-actions { justify-content: center; margin-top: 12px; }
}

@media (max-width: 768px) {
  body { padding-bottom: 123px; }

  .header-inner { padding: 0 12px; }
  .header-mid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 40px 12px 12px;
  }
  .header-logo {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
  }
  .header-logo img { height: 48px; }
  .header-mid-end { flex: 0 0 100%; width: 100%; }
  .header-actions {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
  }
  .header-btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 30px;
    font-size: 10px;
    border-radius: 15px;
  }
  .header-btn--accent { flex: 1 1 36%; }
  .nav-toggle {
    position: absolute;
    right: 0;
    top: 12px;
    transform: none;
  }

  .fixed-cta-bar {
    min-height: 48px;
    padding: 14px 10px;
    align-items: stretch;
  }
  .fixed-cta-links {
    display: flex;
    width: 100%;
    padding: 0 6px;
    gap: 8px;
  }
  .fixed-cta-button {
    flex: 1 1 0;
    min-height: 44px;
    font-size: clamp(11px, 2.9vw, 13px);
    padding: 8px 6px;
    white-space: normal;
  }
  .fixed-cta-sep { font-size: 13px; }

  .flow-hero__scene {
    margin-bottom: 24px;
  }

  .flow-hero__photos {
    grid-template-columns: 1fr;
  }

  .flow-hero__photo {
    height: clamp(160px, 42vw, 220px);
  }
  .flow-step {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 12px;
  }

  .flow-step--has-photo {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .flow-step--has-photo .flow-step__content {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 12px;
  }

  .flow-step__visual {
    min-width: 0;
    width: 100%;
  }

  .flow-step__photo-stage--1,
  .flow-step__photo-stage--2,
  .flow-step__photo-stage--3 {
    width: min(360px, 92vw);
    height: min(396px, 100vw);
  }
  .flow-step__card {
    padding: 18px 16px;
  }
  .flow-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-cta-copy {
    min-width: 0;
  }
  .flow-cta-btn {
    width: 100%;
    min-width: 0;
  }
}
