@charset "utf-8";
/* ==========================================================================
   クーポンコード コピーボタン付き表示

   ▼ 使い方（基本）… タグの中にクーポンコードを入れるだけ
   <div class="js-couponCode">SUMMER5OFF</div>

   ▼ 使い方（ラベル変更）… 省略時のラベルは「クーポンコード」
   <div class="js-couponCode" data-label="特別クーポン">SUMMER5OFF</div>
   ========================================================================== */
.p-couponCode {
  margin: 20px 0;
}
.p-couponCode__label {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: bold;
  color: #525263;
}
.p-couponCode__box {
  display: flex;
  align-items: stretch;
  max-width: 420px;
}
.p-couponCode__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #525263;
  background: #ffffff;
  border: 1px solid #525263;
  border-right: none;
  border-radius: 4px 0 0 4px;
  -webkit-appearance: none;
  appearance: none;
}
.p-couponCode__input:focus {
  outline: none;
  border-color: #525263;
}
.p-couponCode__btn {
  flex: 0 0 auto;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #ffffff;
  white-space: nowrap;
  background: #525263;
  border: 1px solid #525263;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.p-couponCode__btn:hover {
  opacity: 0.85;
}
.p-couponCode__btn.is-copied {
  background: #5cb1b1;
  border-color: #5cb1b1;
}
