.page-contact {
  --pc-surface: linear-gradient(160deg, var(--ink-3) 0%, var(--ink-2) 46%, var(--ink-1) 100%);
  --pc-radius: 12px;
}

.page-contact .breadcrumbs {
  padding: clamp(16px, 2.4vw, 26px) 0 0;
}

.page-contact .contact-hero {
  padding-top: clamp(20px, 3vw, 36px);
}

.page-contact .hero-grid {
  display: grid;
  gap: clamp(30px, 4.4vw, 56px);
  align-items: start;
}

@media (min-width: 940px) {
  .page-contact .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }
}

.page-contact .hero-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
}

.page-contact .hero-title {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: clamp(29px, 5vw, 45px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--fg);
}

.page-contact .hero-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.12em;
  width: 5px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  clip-path: polygon(0 0, 100% 9px, 100% 100%, 0 calc(100% - 9px));
}

.page-contact .hero-lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  color: var(--fg-dim);
}

.page-contact .shift-band {
  display: grid;
  grid-template-columns: 10px auto;
  align-items: center;
  gap: 10px 16px;
  padding: 18px clamp(16px, 2vw, 22px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  border-radius: 10px;
  background: var(--ink-2);
}

.page-contact .shift-hours {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--fg);
}

.page-contact .shift-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-dim);
}

.page-contact .hero-jump {
  margin: 0;
}

.page-contact .hero-side {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
}

.page-contact .hero-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--pc-radius);
  overflow: hidden;
  background: var(--ink-2);
  transform: rotate(-1.3deg);
  box-shadow: 0 26px 54px -36px #000;
}

.page-contact .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-contact .channel-card {
  border: 1px solid var(--line);
  border-radius: var(--pc-radius);
  background: var(--pc-surface);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 44px -34px #000;
}

.page-contact .channel-head {
  display: grid;
  gap: 6px;
  padding: 18px clamp(16px, 2vw, 22px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(22, 35, 58, 0.9), rgba(12, 21, 36, 0.4));
}

.page-contact .channel-title {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.page-contact .channel-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .channel-row {
  display: grid;
  gap: 7px;
  padding: 16px clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--line-soft);
  transition: background var(--dur) var(--ease);
}

.page-contact .channel-list .channel-row:first-child {
  border-top: 0;
}

.page-contact .channel-row:hover,
.page-contact .channel-row:focus-within {
  background: rgba(18, 230, 210, 0.05);
}

.page-contact .channel-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-contact .channel-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
}

.page-contact .channel-value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: 0.03em;
  color: var(--fg);
  word-break: break-word;
}

.page-contact .channel-fit {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-mute);
  transition: color var(--dur) var(--ease);
}

.page-contact .channel-row:hover .channel-fit,
.page-contact .channel-row:focus-within .channel-fit {
  color: var(--fg-dim);
}

.page-contact .channel-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  color: var(--fg-dim);
}

.page-contact .route-title,
.page-contact .flow-title,
.page-contact .address-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--fg);
}

.page-contact .section-note {
  margin: 0;
  max-width: 30em;
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg-dim);
}

.page-contact .route-list {
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-contact .route-row {
  display: grid;
  gap: 6px;
  padding: clamp(16px, 2vw, 22px) clamp(4px, 1vw, 12px);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--dur) var(--ease);
}

.page-contact .route-row:hover {
  background: rgba(108, 95, 160, 0.1);
}

.page-contact .route-kw {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-contact .route-kw::before {
  content: "「";
  color: var(--fg-mute);
}

.page-contact .route-kw::after {
  content: "」";
  color: var(--fg-mute);
}

.page-contact .route-team {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
}

.page-contact .route-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-dim);
}

@media (min-width: 820px) {
  .page-contact .route-row {
    grid-template-columns: 170px 200px minmax(0, 1fr);
    align-items: baseline;
    gap: clamp(14px, 2vw, 28px);
  }

  .page-contact .route-team {
    font-size: 14px;
    color: var(--amber);
    font-weight: 600;
  }
}

.page-contact .template-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
}

@media (min-width: 960px) {
  .page-contact .template-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }
}

.page-contact .template-frame {
  border: 1px solid var(--line-bright);
  border-radius: var(--pc-radius);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 1px 0 rgba(18, 230, 210, 0.1) inset, 0 24px 48px -38px #000;
}

.page-contact .template-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px clamp(14px, 2vw, 18px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--ink-3), var(--ink-2));
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
}

.page-contact .template-body {
  margin: 0;
  padding: clamp(16px, 2.4vw, 26px);
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 13px);
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: var(--fg);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  background:
    repeating-linear-gradient(180deg, rgba(36, 48, 73, 0.28) 0 1px, transparent 1px 34px),
    var(--ink-1);
}

.page-contact .template-side {
  display: grid;
  gap: 14px;
}

.page-contact .side-title {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.page-contact .side-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-dim);
}

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

.page-contact .field-list li {
  padding-left: 14px;
  border-left: 1px solid var(--line-bright);
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-dim);
}

.page-contact .field-key {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 2px;
}

.page-contact .side-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg-mute);
}

.page-contact .side-note a,
.page-contact .address-text a,
.page-contact .flow-foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 230, 210, 0.35);
}

.page-contact .side-note a:hover,
.page-contact .address-text a:hover,
.page-contact .flow-foot a:hover {
  border-bottom-color: var(--cyan);
}

.page-contact .flow {
  list-style: none;
  margin: clamp(22px, 3vw, 34px) 0 clamp(24px, 3.2vw, 36px);
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-contact .flow-step {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px clamp(16px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink-2);
}

.page-contact .flow-num {
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--violet);
}

.page-contact .flow-step h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.page-contact .flow-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-dim);
}

@media (min-width: 880px) {
  .page-contact .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .page-contact .flow-step {
    border-radius: 0;
    border-right: 0;
    background: transparent;
  }

  .page-contact .flow-step:first-child {
    border-radius: 10px 0 0 10px;
  }

  .page-contact .flow-step:last-child {
    border-right: 1px solid var(--line);
    border-radius: 0 10px 10px 0;
  }

  .page-contact .flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--cyan);
    border-top: 1px solid var(--cyan);
    transform: translateY(-50%) rotate(45deg);
    background: var(--ink-2);
  }
}

.page-contact .flow-figure {
  margin: 0;
}

.page-contact .flow-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
}

.page-contact .flow-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--fg-mute);
}

.page-contact .flow-foot {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fg-dim);
}

.page-contact .address-block {
  position: relative;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--pc-radius);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(108, 95, 160, 0.24), transparent 62%),
    var(--ink-2);
  overflow: hidden;
}

.page-contact .address-block::before,
.page-contact .address-block::after {
  content: "";
  position: absolute;
  background: var(--line-bright);
  opacity: 0.5;
  pointer-events: none;
}

.page-contact .address-block::before {
  top: 0;
  bottom: 0;
  right: 34px;
  width: 1px;
}

.page-contact .address-block::after {
  top: 34px;
  left: 0;
  right: 0;
  height: 1px;
}

.page-contact .address-title {
  margin-top: 8px;
  position: relative;
}

.page-contact .address-line {
  position: relative;
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--cyan);
  word-break: break-word;
}

.page-contact .address-text {
  position: relative;
  margin: 12px 0 0;
  max-width: 44em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fg-dim);
}

.page-contact .signpost {
  display: grid;
  gap: 12px;
  margin-top: clamp(26px, 3.6vw, 42px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line-soft);
}

@media (min-width: 720px) {
  .page-contact .signpost {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-contact .signpost a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
  font-size: 14px;
  color: var(--fg);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-contact .signpost a::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--fg-mute);
  transition: color var(--dur) var(--ease);
}

.page-contact .signpost a:hover,
.page-contact .signpost a:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-contact .signpost a:hover::after,
.page-contact .signpost a:focus-visible::after {
  color: var(--cyan);
}
