@charset "utf-8";

/* ======================================
  お知らせ 詳細ページ（news single）
====================================== */

/* 全体ラッパー */
.news-detail-container {
  width: min(900px, 92%);
  margin: 120px auto 80px;
  box-sizing: border-box;
}

/* 日付 */
.news-detail-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 8px;
  display: block;
}

/* タイトル */
.news-detail-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
  color: #111;
}

/* サムネイル */
.news-detail-thumb {
  margin-bottom: 30px;
}

/* ★ 画像は必ず画面内に収める（超重要） */
.news-detail-thumb img,
.news-detail-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 本文 */
.news-detail-content {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

.news-detail-content p {
  margin-bottom: 1.5em;
}

/* 本文内見出し */
.news-detail-content h2,
.news-detail-content h3 {
  margin: 2em 0 1em;
  font-weight: 700;
  color: #1e2084;
}

/* リスト */
.news-detail-content ul,
.news-detail-content ol {
  margin: 1.5em 0 1.5em 1.2em;
}

/* ======================================
  スマホ調整
====================================== */
@media (max-width: 520px) {
  .news-detail-container {
    margin-top: 100px;
    padding: 0 8px;
  }

  .news-detail-title {
    font-size: 1.4rem;
  }

  .news-detail-content {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 519px) {
    .footer-contact-container {
	       width: 95%;
    }

    .footer-contact-container h3 {
      font-size: .8rem;
      width: 70%;
    }

}

@media (max-width: 519px) {
    .time-table th,
  .time-table td {
    font-size: 14px;
  }
}

.footer-map {
  width: 40%;
}

.yahoo-map {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形にしたい場合（おすすめ） */
  height: 100%;
  overflow: hidden;
  border-radius: 18px;  /* 任意 */
}

/* Yahooが内部に作る要素に効かせる */
.yahoo-map iframe,
.yahoo-map > div,
.yahoo-map canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 519px) {
.footer-map {
  width: 100%;
}

}

@media (max-width: 519px) {

  /* フッター情報エリア全体は中央に配置 */
  .footer-info{
    text-align: center;
  }

  /* テーブル自体を中央に置く */
  .info-table{
    display: inline-table;  /* ←これがポイント（幅を内容に合わせる） */
    width: auto;
    margin: 0 auto;
  }

  /* ここが原因だった “ブロック化” を戻す */
  .info-table th,
  .info-table td{
    display: table-cell;     /* ← block を解除 */
    width: auto;
    text-align: left;        /* ←文字は左詰め */
    padding: 6px 0 6px 6px;
    vertical-align: top;
  }

  /* 住所の span を改行したいなら（今のままでもOK） */
  .info-table td span{
    display: inline;         /* ←改行したくないなら */
    padding-left: 10px;
  }

  /* 住所を2行にしたいならこっち */
  /* .info-table td span{
    display:block;
    padding-left:0;
  } */
}

/* =========================
  Yahooマップ下：駐車場案内
========================= */
.map-parking-note{
  margin: 14px 0 26px;   /* ←下の余白を追加（重なり防止） */
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbe6;
  border: 1px solid #f0d97a;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 519px){
  .map-parking-note{
    font-size: 0.8rem;
    padding: 10px 12px;
    margin-bottom: 32px; /* ←スマホはもう少し離す */
  }
}


.map-parking-note i{
  color: #d4a400;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.map-parking-note p{
  margin: 0;
}

.map-parking-note strong{
  font-weight: 800;
  color: #1e2084;
}

