/* ============================================
   クーポンコード（index2.html 用）
============================================ */
.coupon {
  padding: 40px 20px;
  background: #edf8f9;
}
.coupon--closing {
  padding: 0 0 28px;
  background: none;
}

.coupon__card {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(45, 130, 128, 0.18);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.coupon__body {
  text-align: center;
}
.coupon__label {
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(90deg, #0fa4a4, #24a64f);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
}
.coupon__lead {
  margin-top: 12px;
  color: #173b3b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.coupon__lead strong {
  color: #e8380d;
  font-size: 1.25em;
}

.coupon__codebox {
  margin-top: 16px;
  display: flex;
  align-items: stretch;
  border: 2px dashed #0fa4a4;
  border-radius: 12px;
  background: #fffde6;
  overflow: hidden;
}
.coupon__code {
  flex: 1;
  min-width: 0;
  padding: 14px 8px;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: min(26px, 6.4vw);
  letter-spacing: 0.04em;
  color: #173b3b;
  user-select: all;
  -webkit-user-select: all;
  word-break: break-all;
}
/* 文言が「コピーしました」に変わっても幅が変わらないよう固定 */
.coupon__copy {
  flex-shrink: 0;
  width: 88px;
  padding: 0 8px;
  line-height: 1.4;
  border: none;
  background: #0fa4a4;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.coupon__copy:hover {
  background: #0b8787;
}
.coupon__copy.is-copied {
  background: #24a64f;
}
.coupon__note {
  margin-top: 10px;
  color: #555;
  font-size: 12px;
  line-height: 1.6;
}

.coupon__shot-title {
  color: #173b3b;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
/* スクショ差し替え時は .coupon__shot-ph を <img src="img/xxx.png" alt="..."> に置き換え */
.coupon__shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
}
.coupon__shot-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  background: #e5e5e5;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  color: #888;
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
}

/* --- 769px以上：文字・余白を拡大 --- */
@media (min-width: 769px) {
  .coupon {
    padding: 56px 40px;
  }
  .coupon--closing {
    padding: 0 0 36px;
  }
  .coupon__card {
    max-width: 640px;
    padding: 36px 44px;
  }
  .coupon__label {
    font-size: 14px;
  }
  .coupon__lead {
    font-size: 17px;
  }
  .coupon__code {
    font-size: 32px;
    padding: 16px 12px;
  }
  .coupon__copy {
    width: 120px;
    font-size: 14px;
  }
  .coupon__note {
    font-size: 13px;
  }
}

/* --- 1024px以上：コード左・スクショ右の2カラム --- */
@media (min-width: 1024px) {
  .coupon__card {
    max-width: 960px;
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .coupon__body,
  .coupon__shot {
    flex: 1;
    min-width: 0;
  }
}
