/* ===== 臨時お知らせbox (notice) ===== */
.notice {
  box-sizing: border-box;
  width: 100%;
  padding: 40px 20px 32px;
  background: #fff;
  clear: both;
}
.notice *,
.notice *::before,
.notice *::after {
  box-sizing: border-box;
}
.notice-inner {
  max-width: 900px;
  margin: 0 auto;
}
.notice-title {
  margin: 0 0 32px;
  padding: 0;
  font-size: 36px;
  font-weight: normal;
  line-height: 1.4;
  text-align: center;
  color: #000;
}
.notice-accordion {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.notice-summary {
  position: relative;
  display: block;
  padding: 28px 64px 28px 28px;
  cursor: pointer;
  list-style: none;
}
.notice-summary::-webkit-details-marker {
  display: none;
}
.notice-summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #b50000;
  border-bottom: 2px solid #b50000;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s;
}
.notice-accordion[open] > .notice-summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.notice-summary:hover .notice-heading {
  text-decoration: none;
}
.notice-summary:focus-visible {
  outline: 2px solid #b50000;
  outline-offset: -2px;
}
.notice-item {
  padding: 0 28px 28px;
}
.notice-label {
  flex: 0 0 auto;
  margin-top: 3px;
  margin-right: 16px;
  padding: 4px 8px;
  border: 1px solid #b50000;
  color: #b50000;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
  white-space: nowrap;
}
.notice-body {
  flex: 1 1 auto;
  min-width: 0;
}
.notice-heading {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
  color: #000;
}
.notice-date {
  margin-left: 0.5em;
  font-size: 12px;
  color: #333;
  white-space: nowrap;
}
.notice-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  text-align: left;
}
.notice-text + .notice-text {
  margin-top: 0.8em;
}

/* スマホ：ラベルは単独で上、見出しと日付は横並び（収まらない場合は日付が折り返す）・左揃え */
@media screen and (max-width: 768px) {
  .notice { padding: 28px 15px 24px; }
  .notice-inner { text-align: left; }
  .notice-summary { padding: 20px 32px 20px 0; }
  .notice-summary::after { right: 6px; }
  .notice-heading {
    display: block;
    margin: 0;
    font-size: 16px;
    text-align: left;
  }
  .notice-label {
    display: table;
    margin: 0 0 8px;
    font-size: 13px;
  }
  .notice-date {
    display: inline;
    margin-left: 0.5em;
    font-size: 13px;
    white-space: nowrap;
  }
  .notice-item { padding: 0 0 20px; }
  .notice-text { font-size: 14px; line-height: 1.8; text-align: left; }
}