@charset "utf-8";

/* ===== page base ===== */
.page-access .p-section {
  padding: 54px 0;
}

.page-access .p-section--soft {
  background: #f6f8fb;
}

/* HERO */
.access-hero {
  position: relative;
  padding: 64px 0 44px;
  overflow: hidden;
  background: linear-gradient(180deg, #e7f4ff 0%, #ffffff 70%);
}

.access-hero__bg {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(30, 32, 132, .08);
  filter: blur(0px);
}

.access-hero__eyebrow {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(30, 32, 132, .75);
}

.access-hero__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: .02em;
}

/* BREADCRUMB */
.breadcrumb {
  border-top: 1px solid rgba(15, 23, 42, .06);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  background: #fff;
}

.breadcrumb__list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  font-size: 14px;
  color: rgba(15, 23, 42, .65);
}

.breadcrumb__item a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb__item a:hover {
  text-decoration: underline;
}

.breadcrumb__item+.breadcrumb__item::before {
  content: ">";
  opacity: .5;
  margin-right: 10px;
}

.p-head {
  text-align: center;
  margin-bottom: 28px;
}

.p-h2 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: .03em;
}

.p-lead {
  margin: 0 auto;
  max-width: 58ch;
  color: rgba(15, 23, 42, .75);
  line-height: 1.9;
}

/* ===== cards / grid ===== */
.a-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 22px;
  align-items: start;
}

.a-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .08);
  overflow: hidden;
}

.a-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.a-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.a-map-link {
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: #0b4f92;
}

.a-map {
  height: 440px;
}

.a-card--info {
  padding: 18px;
}

.a-dl {
  margin: 12px 0 0;
}

.a-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.a-row:last-child {
  border-bottom: 0;
}

.a-row dt {
  font-weight: 900;
  color: rgba(15, 23, 42, .80);
}

.a-row dd {
  margin: 0;
  color: rgba(15, 23, 42, .92);
  line-height: 1.8;
}

.a-tel {
  font-weight: 900;
  text-decoration: none;
  color: #0b4f92;
  letter-spacing: .04em;
}

.a-sub {
  margin-left: 6px;
  font-size: 12px;
  color: rgba(15, 23, 42, .60);
}

/* hours */
.a-hours {
  display: grid;
  gap: 8px;
}

.hours-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.hours-day {
  min-width: 72px;
  font-weight: 900;
  letter-spacing: .04em;
}

.hours-time {
  font-size: 14px;
}

.hours-note {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(15, 23, 42, .65);
}

.a-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.a-btn {
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(0, 0, 0, .10);
}

.a-btn--primary {
  background: #0b4f92;
  border-color: #0b4f92;
  color: #fff;
}

.a-btn--ghost {
  background: #fff;
  color: #0f172a;
}

.a-mini {
  margin-top: 14px;
  background: rgba(11, 79, 146, .06);
  border: 1px solid rgba(11, 79, 146, .10);
  border-radius: 14px;
  padding: 14px;
}

.a-mini-title {
  margin: 0 0 8px;
  font-weight: 900;
}

.a-mini-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, .75);
}

.a-mini-list li {
  margin: 4px 0;
}

/* ===== bus ===== */
.bus-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
  margin-top: 18px;
}

.bus-photo {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .08);
}

.bus-photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.bus-points {
  display: grid;
  gap: 12px;
}

.bus-point {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  gap: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .06);
}

.bus-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(11, 79, 146, .10);
  color: #0b4f92;
  flex: 0 0 auto;
}

.bus-pt-title {
  margin: 2px 0 4px;
  font-weight: 900;
}

.bus-pt-text {
  margin: 0;
  color: rgba(15, 23, 42, .75);
  line-height: 1.7;
}

/* ===== route ===== */
.route-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .08);
  overflow: hidden;
}

.route-head {
  padding: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.route-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
}

.route-sub {
  margin: 0;
  color: rgba(15, 23, 42, .65);
  font-size: 13px;
  line-height: 1.8;
}

.route-table {
  padding: 12px 12px 0;
}

.route-row {
  display: grid;
  grid-template-columns: 120px 1fr 120px 1fr;
  gap: 10px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  align-items: center;
}

.route-row--head {
  font-weight: 900;
  color: rgba(15, 23, 42, .75);
  background: rgba(15, 23, 42, .03);
  border-radius: 12px;
  border-bottom: 0;
  margin-bottom: 10px;
}

.route-no {
  font-weight: 900;
  color: #0b4f92;
}

.route-notes {
  padding: 16px 18px 18px;
  background: rgba(15, 23, 42, .02);
}

.note-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, .75);
  line-height: 1.9;
}

.note-list li {
  margin: 6px 0;
}

/* ===== CTA bar ===== */
.cta-bar {
  margin-top: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .08);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-kicker {
  margin: 0 0 8px;
  color: rgba(15, 23, 42, .70);
  font-size: 13px;
}

.cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: #0b4f92;
  text-decoration: none;
  letter-spacing: .04em;
}

.cta-hours {
  margin: 6px 0 0;
  color: rgba(15, 23, 42, .70);
  font-size: 13px;
}

.cta-btn {
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0b4f92;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* ===== responsive ===== */
@media (max-width: 1024px) {
  .a-grid {
    grid-template-columns: 1fr;
  }

  .a-map {
    height: 360px;
  }

  .bus-hero {
    grid-template-columns: 1fr;
  }

  .bus-photo img {
    height: 300px;
  }
}

@media (max-width: 900px) {
  .p-title {
    font-size: 26px;
  }

  .a-actions {
    grid-template-columns: 1fr;
  }

  .route-row {
    grid-template-columns: 92px 1fr;
  }

  .route-row--head {
    display: none;
  }

  .route-row {
    border-bottom: 1px solid rgba(0, 0, 0, .06);
  }

  .route-row>div:nth-child(3),
  .route-row>div:nth-child(4) {
    display: none;
    /* SPでは右側のペアを隠して下に再掲する方式でもOK */
  }

  /* SP用：右側ペアを下段として見せたい場合は上のdisplay:noneを外して、下の2行を追加でOK
     .route-row{ grid-template-columns: 92px 1fr; }
     右側ペアを別rowにするのが綺麗（必要なら作る） */

  .cta-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* 追加CSS */
.route-table {
  display: flex;
  gap: 40px;
  padding: 30px;
  /* 左右列の間 */
  justify-content: space-between;
  /* 両端揃え */
}

.route-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* 各アイテムの縦間隔 */
  flex: 1;
  /* 均等幅 */
}

.route-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.route-no {
  background: #007ACC;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.route-area {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
}

/* スマホ対応 */
@media(max-width:900px) {
  .route-table {
    flex-direction: column;
    gap: 20px;
    /* 左右列の間も縦に統一 */
  }

  .route-column {
    gap: 10px;
  }
}

/* 追加CSS */

.parking-photo img {
  width: 50%;
  height: 300px;
  object-fit: cover;
  display: block;
  margin: auto;
  border-radius: 18px;
}

.p-h2,.p-lead {
  text-align: center;
}

@media(max-width:900px) {
  .parking-photo img {
    width: 90%;
    height: 300px;
  }

}