/**
 * サービス終了のお知らせ
 * ※ サイト共通のsectionスタイルより優先させるため .content を付与
 */
.content .close-notice {
  width: auto;
  margin: 20px 16px 30px;
  padding: 0 0 20px;
  background-color: #FFF9E6;
  border: 1px solid #b08b2d;
  outline: solid 3px #dcc895;
  outline-offset: 3px;
  overflow: hidden;
}
.close-notice * {
  color: #6a3b1e;
}

.close-notice-head {
  padding: 16px 12px 14px;
  background-color: #6a3b1e;
  text-align: center;
}
.close-notice .close-notice-site {
  color: #fff;
  font-size: 1.0rem;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.close-notice .close-notice-title {
  color: #dcc895;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: .1em;
  text-shadow: 1px 1px 2px #000;
}

.close-notice-target {
  margin: 16px 16px;
  padding: 8px 12px;
  border-top: 1px solid #b08b2d;
  border-bottom: 1px solid #b08b2d;
  font-size: 1.05rem;
  font-weight: bold;
  text-align: center;
}

.close-notice-body {
  padding: 0 16px;
}
/* 見出し直後に本文が続く場合（compact.html）の余白 */
.close-notice .close-notice-head + .close-notice-body {
  padding-top: 16px;
}
.close-notice-body p {
  font-size: 1.0rem;
  line-height: 1.8;
  margin-bottom: 1em;
}
.close-notice-body strong {
  color: #af2222;
}

.close-notice-subtitle {
  margin: 20px 0 8px;
  padding: 4px 10px;
  border-left: 5px solid #af2222;
  background-color: #efe8d3;
  font-size: 1.1rem;
  font-weight: bold;
}

.close-notice-list {
  margin-bottom: 20px;
}
.close-notice-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.8em;
  font-size: 1.0rem;
  line-height: 1.8;
}
.close-notice-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.close-notice .close-notice-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 300px;
  margin: 10px auto 24px;
  padding: 14px 0;
  background: #af2222;
  color: #dcc895;
  border: 1px solid #dcc895;
  border-radius: 60px;
  outline: solid 3px white;
  outline-offset: -4px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
}
/* ボタンが末尾の場合（compact.html）は枠の下余白のみにする */
.close-notice .close-notice-button:last-child {
  margin-bottom: 0;
}
.close-notice-button:hover {
  opacity: 0.7;
}

.close-notice-contact {
  margin: 0 16px;
  padding: 14px 10px;
  background-color: #efe8d3;
  text-align: center;
}
.close-notice-contact p {
  font-size: 1.0rem;
  line-height: 1.6;
}
.close-notice-contact-title {
  font-weight: bold;
  margin-bottom: 4px;
}
.close-notice-contact-link {
  margin-bottom: 8px;
  word-break: break-all;
}
.close-notice .close-notice-contact-link a {
  color: #af2222;
}
.close-notice-contact .close-notice-contact-time {
  font-size: 0.9rem;
}
