/**
 * サービス終了のお知らせ
 * ※ サイト共通のsectionスタイルより優先させるため .content を付与
 * ※ font.css の main *{font-size:16px!important} を上書きするため、font-size には !important を付与
 */
.content .close-notice {
  width: auto;
  margin: 20px 16px 30px;
  padding: 0 0 24px;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.close-notice * {
  color: #000;
}

.close-notice-head {
  padding: 16px 12px 8px;
  background: linear-gradient(to bottom, #231271, #7F76FF);
  text-align: center;
}
.close-notice .close-notice-site {
  color: #d5bb7b;
  font-size: 13px !important;
  font-weight: bold;
  letter-spacing: .1em;
  margin-bottom: 2px;
}
.close-notice .close-notice-title {
  color: #fff;
  font-family: serif;
  font-size: 20px !important;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .05em;
  text-shadow: 0px 4px 10px #000000cc;
  /* サイト共通の section h2 / main h2 の余白を打ち消す */
  margin: 16px;
  padding: 0;
}
/* サイト共通の section h2 の上下線と文字の間隔 */
.close-notice .close-notice-title::before {
  margin-bottom: 8px;
}
.close-notice .close-notice-title::after {
  margin-top: 8px;
}

.close-notice .close-notice-target {
  margin: 16px;
  padding: 10px 12px;
  background-color: #F6E6FF;
  border-radius: 10px;
  color: #6238aa;
  font-weight: bold;
  line-height: 1.6;
  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 {
  line-height: 1.6;
  margin-bottom: 1em;
}
.close-notice-body strong {
  background: linear-gradient(transparent 50%, #ffd000 50%);
  padding: 0 0 2px;
}

.close-notice .close-notice-subtitle {
  margin: 24px 0 8px;
  padding: 6px 10px;
  border-left: 5px solid #7F76FF;
  background-color: #f3eaff;
  color: #231271;
  font-size: 17px !important;
  font-weight: bold;
}

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

.close-notice .close-notice-button {
  display: block;
  width: 85%;
  max-width: 320px;
  margin: 16px auto 28px;
  padding: 17px 12px;
  background-color: #ffd000;
  border-radius: 60px;
  box-shadow: 0px 5px 0px #897001;
  color: #231271;
  font-size: 18px !important;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-align: center;
  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: #F6E6FF;
  border-radius: 10px;
  text-align: center;
}
.close-notice-contact p {
  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: #7F76FF;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.close-notice .close-notice-contact-link a:hover {
  opacity: 0.7;
}
.close-notice-contact .close-notice-contact-time {
  font-size: 14px !important;
}
