/* アクセスページ専用スタイル */

main.clinic-info h1 {
  margin-top: 110px;
  font-size: 1.8em;
  color: #29A449;
  border-left: 6px solid #29A449;
  padding-left: 0.8em;
  margin-bottom: 30px;
}

/* アクセスパネルの調整 */
#access-panel {
  background: #fdfdfd;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 60px;
  font-size: 1rem;
  line-height: 1.7;
}

#access-panel .panel-header {
  font-size: 1.4em;
  font-weight: bold;
  color: #29A449;
  text-align: center;
  margin-bottom: 20px;
}

#access-panel iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
  margin-bottom: 20px;
}

#access-panel a {
  color: #0077cc;
  font-weight: bold;
  text-decoration: underline;
}

#access-panel p {
  margin-bottom: 1em;
}

/* スマホ対応 */
@media (max-width: 600px) {
  main.clinic-info h1 {
    font-size: 1.4em;
  }

  #access-panel iframe {
    height: 320px;
  }

  #access-panel {
    padding: 16px;
    font-size: 0.95rem;
  }
}

/* 駅からのアクセスガイド */
.station-guide {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.station-guide h2 {
  font-size: 1.4em;
  color: #29A449;
  border-left: 6px solid #29A449;
  padding-left: 10px;
  margin-bottom: 20px;
}

.station-steps {
  display: flex;
  flex-wrap: nowrap; /* ← 横並び固定 */
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.step-with-arrow {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.step {
  width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  padding: 10px;
  transition: transform 0.2s ease;
}

.step img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.step p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #333;
}

.arrow {
  font-size: 2rem;
  color: #29A449;
  margin: 0 12px;
}

/* 横スクロール見やすさ強化 */
.station-steps::-webkit-scrollbar {
  height: 8px;
}
.station-steps::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* モバイル：縦並び＆矢印縦回転 */
@media (max-width: 600px) {
  .station-steps {
    flex-direction: column;
    overflow-x: unset;
  }

  .step-with-arrow {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }

  .step {
    width: 100%;
  }

  .station-step-wide img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .step img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
}
}

.green-title {
  color: #29A449;
}

.parking-description {
  margin-bottom: 160px; /* 必要に応じて増減（例：30pxや40pxでもOK） */
}
