/* --- フォント指定を追加 --- */
#tileapplilp01 {
  /* モダンブラウザ用のシステムフォントを指定しつつ、日本語環境向けのフォント、最後に総称フォントを指定 */
  font-family: 'A-OTF-UDShinGoPro', -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
/* --- フォント指定を追加 --- */

/* --- 新しいボタンスタイル --- */
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* --- サイズ調整 --- */
  width: 220px;       /* ← ここの数値を調整します */
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;

  /* --- デザイン変更 --- */
  font-family: sans-serif;
  border: none;
  border-radius: 10px;
  background-color: #311969;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: nowrap;
  position: relative;
}

/* --- 無効化された時のスタイル --- */
.copy-button:disabled {
  cursor: default;
}

/* --- アイコンのスタイル（縮小） --- */
.copy-button svg {
  width: 18px; /* アイコンサイズを少し小さく */
  height: 18px;
  margin-left: 10px; /* アイコンとテキストの間隔を調整 */
}

/* --- 「ご購入はこちら」ボタンのスタイル --- */
a.btn_add, a.btn_add:link, a.btn_add:visited {
  display: block;
  width: 90%;
  max-width: 350px;
  margin: 15px auto 30px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  font-family: sans-serif;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 50px !important;
  box-sizing: border-box;
  background-color: #003E9B !important;
  border: 2px solid #003E9B !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* 「ご購入はこちら」ボタンのホバー効果 */
.btn_add:hover {
  background-color: #ffffff !important;
  color: #003E9B;
}


/* --- モール購入ボタンのスタイル --- */
.mall_section {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #dddddd;
  text-align: center;
}
.mall_section_title {
  margin-bottom: 15px;
  font-weight: bold;
  color: #333;
  font-size: 1.1em;
}

/* モールボタンの共通スタイル */
.mall-button {
  display: block;
  width: 90%;
  max-width: 350px;
  margin: 15px auto;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  font-family: sans-serif;
  color: #000000;
  background-color: #ffffff;
  border: 2px solid;
  border-radius: 50px;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* ボタンごとの色設定 */
.mall-button.amazon {
  border-color: #FF9900;
}
.mall-button.amazon:hover {
  background-color: #FFF5E5;
}

.mall-button.rakuten {
  border-color: #BF0000;
}
.mall-button.rakuten:hover {
  background-color: #F5E6E6;
}

.mall-button.yahoo {
  border-color: #FF0033;
}
.mall-button.yahoo:hover {
  background-color: #FFEBEE;
}

.promo-banner {
  display: block;
  margin: 25px 0 0;
  padding: 12px;
  font-size: 14px;
  font-family: sans-serif;
  color: #ffffff !important;
  background-color: #311969;
  border-radius: 0;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
}

/* --- インラインスタイルから移動したスタイル --- */

/* ヘッダーロゴのサイズ調整 */
header .contents_in h1 {
  max-width: 100px;
  padding: 0;
}

/* クーポンエリアのタイトル */
#tileapplilp01 .coupon_area .h3_ptn02 {
  background-color: #8652FF;
  border-radius: 0 !important;
  margin-bottom: 10px;
}

/* クーポン全体の背景と余白 */
#tileapplilp01 .coupon_area .cnt_coupon {
  background: linear-gradient(45deg, #8652FF, #ffffff, #8652FF);
  padding-top: 15px;
  padding-bottom: 20px;
}

/* クーポン内のテキスト基本色 */
#tileapplilp01 .coupon_area .cnt_coupon .txt {
  color: #311969;
}

/* クーポンコードを囲むハイライト部分 */
#tileapplilp01 .coupon_area .txt > div:first-of-type {
  background-color: #e9deff;
  padding: 15px;
  border-radius: 0;
  margin: 20px 0;
  text-align: center;
}

/* クーポン名 */
#tileapplilp01 .coupon_area .txt > div:first-of-type span:first-child {
  display: block;
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1.2;
}

/* 割引率 */
#tileapplilp01 .coupon_area .txt > div:first-of-type span:last-child {
  display: block;
  font-size: 1.6rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
  line-height: 1.2;
}

/* 注意書き */
#tileapplilp01 .coupon-container + div {
  font-size: 0.4em;
  color: #555;
  margin-top: 10px;
  text-align: center;
}