@charset "UTF-8";

/* ==========================================================
   メールマガジン登録ページ（PC） #magazine  ― ゴールド版
   ----------------------------------------------------------
   色の目安
     メインゴールド : #b8912f
     濃いゴールド   : #8a6514
     淡いゴールド   : #e6d199
     クリーム       : #fdf9ef
   ========================================================== */

#magazine {
  width: 797px;
  margin: 0 auto 40px;
  color: #4a3b1f;
  font-size: 14px;
  line-height: 1.6;
}

/* 見出し（画像） */
#magazine h1 {
  margin: 0;
  padding: 0;
  line-height: 0;
}

#magazine h1 img {
  display: block;
  max-width: 100%;
  height: auto;
}

#magazine .pad10 {
  padding: 40px 50px;
}

/* フォーム枠：クリーム地＋細い金の二重線 */
#magazine .malma_box {
  position: relative;
  padding: 36px 40px 32px;
  background: linear-gradient(180deg, #fffdf7 0%, #fdf6e3 100%);
  border: 1px solid #d9bf7a;
  box-shadow: inset 0 0 0 4px #fffdf7, inset 0 0 0 5px #e6d199;
}

#magazine .malma_box form {
  margin: 0;
}

/* メールアドレス入力欄 */
#magazine .mail_add {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0 0 22px;
  padding: 0 16px;
  font-size: 16px;
  color: #4a3b1f;
  background: #fff;
  border: 1px solid #d9bf7a;
  border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#magazine .mail_add:focus {
  outline: none;
  border-color: #b8912f;
  box-shadow: 0 0 0 3px rgba(184, 145, 47, 0.25);
}

/* ボタン */
#magazine .btn_wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0 0 26px;
}

#magazine .btn {
  width: 200px;
  height: 48px;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.3em;
  text-indent: 0.3em;            /* letter-spacing分のずれを補正 */
  border-radius: 3px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: filter 0.2s, background-color 0.2s, color 0.2s;
}

/* 購読：金のグラデーション */
#magazine .btn01 {
  color: #fff;
  text-shadow: 0 1px 1px rgba(90, 60, 0, 0.5);
  background: linear-gradient(180deg, #e2c46f 0%, #c49a35 45%, #a87b1c 55%, #c9a14a 100%);
  border: 1px solid #8a6514;
  box-shadow: 0 2px 4px rgba(138, 101, 20, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#magazine .btn01:hover {
  filter: brightness(1.08);
}

/* 解除：白地に金の枠 */
#magazine .btn02 {
  color: #8a6514;
  background: #fff;
  border: 1px solid #b8912f;
}

#magazine .btn02:hover {
  background: #fbf3dc;
}

#magazine .btn:focus-visible {
  outline: 3px solid rgba(184, 145, 47, 0.45);
  outline-offset: 2px;
}

/* reCAPTCHA を中央に */
#magazine .g-recaptcha {
  display: flex;
  justify-content: center;
}

#magazine .g-recaptcha > div {
  margin: 0 auto;
}
/* reCAPTCHA：入力欄・ボタンと左端をそろえ、縮小を解除 */
#magazine .malma_box .g-recaptcha {
  display: block;
  margin: 0;
  padding: 0;
  text-align: left;
  transform: none;
}
#magazine .malma_box .g-recaptcha > div {
  margin: 0 !important;
}

/* ボタンも左寄せで統一 */
#magazine .malma_box .btn_wrap {
  justify-content: flex-start;
}