/* ==========================================
   PC用スタイル（ベース）
   ========================================== */
.location-container {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

.location-section {
  margin-bottom: 50px;
}

.location-title {
  font-size: 22px;
  font-weight: bold;
  color: #004098;
  border-bottom: 2px solid #004098;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.location-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.location-info-list {
  width: 480px;
}

.location-info-row {
  display: flex;
  padding: 10px 0;
}

.location-label {
  width: 100px;
  font-weight: bold;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  font-size: 16px;
}

.location-value {
  flex-grow: 1;
  font-size: 16px;
}

.location-image {
  width: 460px;
  height: 240px;
  object-fit: cover;
  border: 1px solid #ddd;
}

/* ==========================================
   タブレット・スマホ用スタイル（画面幅768px以下）
   ========================================== */
@media screen and (max-width: 768px) {
  .location-container {
    width: 90%;
    margin: 0 5%;
    padding: 20px 15px;
  }

  .location-section {
    margin-bottom: 40px;
  }

  /* column-reverseを指定して下部にある画像を上に配置 */
  .location-content {
    display: flex;
    flex-direction: column-reverse; 
  }

  /* テキストエリアの上の余白を設定（画像との間隔） */
  .location-info-list {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 0;
  }

  .location-info-row {
    padding: 8px 0;
  }
 .location-title {
   font-size: 20px;
 }

  .location-label {
    width: 80px;
  }

  /* 画像を上部いっぱいに綺麗に表示 */
  .location-image {
    width: 90%;
    margin: 0 5%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
