@charset "UTF-8";

/* ベース設定（SITE PUBLISの文字縮小・スタイル干渉を防止） */
.notice-container,
.notice-container * {
  box-sizing: border-box;
}

.notice-container {
  max-width: 860px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px 50px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #222;
}

/* ヘッダー（日付・宛名・差出人・タイトル） */
.notice-container .notice-date {
  text-align: right;
  font-size: 15px;
  margin: 0 0 10px;
}

.notice-container .notice-recipient {
  text-align: left;
  font-size: 16px;
  margin: 0 0 5px;
}

.notice-container .notice-sender {
  text-align: right;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 30px;
}

.notice-container .notice-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  padding: 0 0 15px;
  margin: 0 0 30px;
  border-bottom: 2px solid #EB3349;
  color: #EB3349;
  background: none;
}

/* 導入文と「記」「以上」 */
.notice-container .notice-intro p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 12px;
}

.notice-container .notice-ki {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin: 25px 0;
}

.notice-container .notice-end {
  text-align: right;
  font-weight: bold;
  font-size: 16px;
  margin: 30px 0 0;
}

/* セクション見出し（h2） */
.notice-container .notice-section {
  margin: 0 0 35px;
}

.notice-container .section-heading {
  font-size: 18px;
  font-weight: bold;
  background-color: #fdf2f4;
  border-left: 4px solid #EB3349;
  padding: 8px 12px;
  margin: 0 0 15px;
  color: #222;
}

/* SP向け横スライド案内文（通常は非表示） */
.notice-container .scroll-hint {
  display: none;
  font-size: 13px;
  color: #555;
  text-align: right;
  margin: 0 0 6px;
}

/* 1. 営業日程テーブル（画像再現・スマホ横スクロール対応） */
.notice-container .table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 10px;
}

.notice-container .schedule-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: center;
  font-size: 15px;
  background-color: #fff;
  margin: 0;
}

.notice-container .schedule-table th,
.notice-container .schedule-table td {
  border: 1px solid #444;
  padding: 10px 6px;
  vertical-align: middle;
  background-color: #fff;
  color: #222;
}

/* ヘッダー行 */
.notice-container .schedule-table thead th {
  color: #111;
  font-weight: bold;
  text-align: center;
}

.notice-container .schedule-table thead th.corner-cell {
  width: 34%;
}

/* 12/31〜1/3の赤背景ヘッダー */
.notice-container .schedule-table thead th.holiday-header {
  background-color: #9e0000;
  color: #fff;
}

/* 左側の項目列 */
.notice-container .schedule-table tbody th {
  font-weight: bold;
  line-height: 1.5;
  padding: 12px 8px;
  text-align: center;
}

.notice-container .schedule-table tbody th .sub-text {
  font-weight: normal;
  font-size: 13px;
}

/* 日付列の幅均等化 */
.notice-container .schedule-table thead tr:last-child th {
  width: 11%;
}

/* 「休業」セルのみグレーにする */
.notice-container .schedule-table td.closed {
  background-color: #e2e6ea;
  font-weight: bold;
}

.notice-container .notice-note {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* 2. お問い合わせ先（table構造で左右整列を確実に固定） */
.notice-container .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

.notice-container .contact-box {
  border: 1px solid #d0d7de;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
}

.notice-container .contact-box .contact-category {
  background-color: #EB3349;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  padding: 8px;
  margin: 0;
  border: none;
}

.notice-container .contact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background-color: #fff;
}

.notice-container .contact-table tr {
  border-bottom: 1px solid #eee;
}

.notice-container .contact-table tr:last-child {
  border-bottom: none;
}

.notice-container .contact-table th,
.notice-container .contact-table td {
  border: none;
  border-bottom: 1px solid #eee;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: bold;
  background-color: #fff;
  vertical-align: middle;
}

.notice-container .contact-table tr:last-child th,
.notice-container .contact-table tr:last-child td {
  border-bottom: none;
}

.notice-container .contact-table th {
  text-align: left;
  color: #222;
}

.notice-container .contact-table td {
  text-align: right;
  color: #EB3349;
  white-space: nowrap;
}

/* テーブルが横スクロールする幅以下で案内文を表示 */
@media (max-width: 780px) {
  .notice-container .scroll-hint {
    display: block;
  }
}

/* スマホ・タブレット向けレスポンシブ調整 */
@media (max-width: 680px) {
  .notice-container {
    padding: 25px 18px;
  }

  .notice-container .notice-title {
    font-size: 20px;
  }

  .notice-container .notice-intro p {
    font-size: 16px;
  }

  .notice-container .contact-grid {
    grid-template-columns: 1fr;
  }
}
