/* ========================================
   モーダル構造
   ======================================== */
#timing-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-wrapper {
  position: relative;
  padding-top: 24px;
  max-width: 90%;
  width: 600px;
  display: flex;
  flex-direction: column;
}

#timing-modal-container {
  position: relative;
  background-color: #fff;
  padding: 16px;
  max-height: 60vh;
  overflow-y: auto;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
}

/* 閉じるボタン（::before/::after で X を描画） */
.modal-close-btn {
  position: absolute;
  top: 4px;
  right: -16px;
  background: #1f1f1f;
  border: 0;
  border-radius: 40px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  z-index: 1;
  padding: 0;
}

.modal-close-btn::before,
.modal-close-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

.modal-close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* チェックボックスエリア */
.modal-checkbox-wrapper {
  background-color: #fff;
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-checkbox-label {
  cursor: pointer;
  font-size: 14px;
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modal-checkbox-input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* モーダル見出し */
.modal-heading {
  text-align: center;
  border-bottom: 1px solid #ccc;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 0 0 6px;
}

/* ========================================
   モーダルコンテンツ
   ======================================== */
.main {
  text-align: center;
  padding: 30px;
  margin-bottom: 10px;
}

.web {
  border: 4px solid #000;
  border-radius: 25px;
  margin-bottom: 20px;
  overflow: hidden;
}

.em {
  color: yellow;
  font-size: 25px;
  font-weight: bold;
}

.title {
  background-color: #000;
  padding: 10px;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
}

.lead {
  padding: 15px;
  font-size: 18px;
}

.lead02 {
  padding: 5px;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
}

.annotation {
  font-size: 1em;
  text-align: left;
  margin: 0 20px 20px 20px;
}

.attention {
  text-align: left;
  margin-bottom: 10px;
}

/* コピーボタン */
.coupon_copy {
  margin-bottom: 15px;
}

.copy {
  margin: 5px auto;
  padding: 10px;
  width: 80%;
  background-color: #000;
  border-radius: 15px;
}

.copy_lead {
  font-size: 1.2em;
  margin: 0 0 8px 0 !important;
  color: rgb(255, 255, 255);
}

.copy_area {
  padding: 5px;
  font-size: 2.4em;
  font-weight: bold;
  color: red;
  text-decoration: none;
}

.area {
  border-radius: 15px;
  background-color: rgb(255, 255, 255);
  padding: 5px;
}

.tap {
  font-size: 18px;
  font-weight: bold;
}

/* アコーディオン */
.accordion {
  padding: 20px;
  background: #ebeaea;
}

.toggle {
  display: none;
}

.Label {
  padding: 1em;
  display: block;
  color: #000;
}

.Label,
.content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}

.content {
  height: 0;
  margin-bottom: 10px;
  overflow: hidden;
}

.toggle:checked+.Label+.content {
  height: auto;
  padding: 10px 0;
  transition: all .3s;
}

.mv_image {
  margin: 20px auto;
  width: 80%;
}

@media (max-width: 768px) {
  .em {
    font-size: 1em;
  }

  .title {
    font-size: 1em;
    text-align: center;
  }

  .lead {
    font-size: .8em;
  }

  .copy_lead {
    font-size: .8em;
    text-align: center;
  }

  .area {
    font-size: 1.2em;
    text-align: center;
  }

  .copy_area {
    font-size: 1.6em;
  }

  .accordion {
    font-size: .8em;
    text-align: center;
  }

  .accordion .Label {
    font-size: .8em;
  }
}

.countDownTimer p {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  margin: 8px auto -8px;
  font-size: 1.6em;
  color: #ff0000;
}