@charset "UTF-8";

/* ==========================================================
   変数
========================================================== */
:root {
  --color-red: #e7000e;
  --color-red-text: #df0012;
  --color-green: #00853c;
  --color-green-dark: #054e31;
  --color-dark: #231816;
  --color-black: #000;
  --color-white: #fff;
  --color-gray: #afafaf;
  --color-blue: #008cd9;
  --color-check: #2589d0;
  --header-height: 40px;
  --content-width: 640px;
}

/* ==========================================================
   ベース
========================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px; /* 固定ヘッダー分ずらす */
}

body {
  max-width: var(--content-width);
  margin: 0 auto;
  background: var(--color-white);
  color: var(--color-black);
  font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-touch-callout: none;
  user-select: none;
}

a {
  color: inherit;
}

/* 縦書きの「～」 */
.tate {
  writing-mode: vertical-rl;
}

/* メニューを開いている間は背面をスクロールさせない */
body.is-menu-open {
  overflow: hidden;
}

/* ==========================================================
   ヘッダー / ハンバーガーメニュー
========================================================== */
.header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: var(--content-width);
  height: var(--header-height);
  background: var(--color-dark);
}

.header__menu-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--color-dark);
  cursor: pointer;
}

.header__menu-icon,
.header__menu-icon::before,
.header__menu-icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-white);
  transition: transform 0.3s, background-color 0.3s;
}

.header__menu-icon::before {
  bottom: 8px;
}

.header__menu-icon::after {
  top: 8px;
}

/* 開いている時は × にする */
.is-menu-open .header__menu-icon {
  background: transparent;
}

.is-menu-open .header__menu-icon::before {
  bottom: 0;
  transform: rotate(45deg);
}

.is-menu-open .header__menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.gnav {
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--color-dark);
  visibility: hidden;
  transition: left 0.5s, visibility 0.5s;
}

.is-menu-open .gnav {
  left: 0;
  visibility: visible;
}

.gnav__list {
  padding: 70px 10px 0;
}

.gnav__item {
  border-bottom: 1px solid var(--color-white);
}

.gnav__link {
  position: relative;
  display: block;
  padding: 9px 15px 10px 12px;
  color: var(--color-white);
  font-size: 15px;
  line-height: 24px;
  text-decoration: none;
}

.gnav__link::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(45deg);
}

/* ==========================================================
   メイン
========================================================== */
.main {
  background: var(--color-red);
}

/* キービジュアル
   メニュー（.header）があるページだけ、固定ヘッダーの高さ分を上に空ける */
.kv {
  padding-top: 0;
}

.header ~ .main .kv {
  padding-top: var(--header-height);
}

/* ==========================================================
   キャンペーン期間 / 応募締切
========================================================== */
.info-box {
  width: 94%;
  margin: 20px auto;
  padding: 8px 8px 0;
  background: var(--color-white);
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.25));
  text-align: center;
}

.info-box__heading {
  padding: 6px 4px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.info-box__heading--single {
  padding: 12px 4px;
}

.info-box__heading-sub {
  font-size: 16px;
}

.info-box__body {
  padding: 12px 0;
}

.info-box__body--deadline {
  padding: 12px;
}

.info-box__date {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: bold;
  line-height: 30px;
}

.info-box__body--deadline .info-box__date {
  margin: 10px auto 16px;
}

.info-box__note {
  color: var(--color-red-text);
  font-weight: bold;
}

/* ==========================================================
   マイページ作成 / ログイン
========================================================== */
.entry {
  padding: 36px 0;
  background: var(--color-white);
}

.register__heading {
  margin-bottom: 12px;
  padding: 12px 4px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.entry__text {
  width: 90%;
  margin: 0 auto 8px;
}

/* ※から始まる注意書き（2行目以降を字下げ） */
.entry__text--note {
  width: calc(100% - 4rem);
  margin-left: 2.5rem;
  text-indent: -1rem;
}

.entry__text--red {
  color: var(--color-red-text);
}

.entry__text--last {
  margin-bottom: 40px;
}

.register__action {
  margin: 20px 0 24px;
}

/* 応募規約に同意するチェックボックス */
.agree {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  font-size: 18px;
  cursor: pointer;
}

.agree__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.agree__box {
  position: relative;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-right: 12px;
  border-radius: 3px;
  background: #e6edf3;
}

.agree__input:checked + .agree__box {
  background: var(--color-check);
}

.agree__input:checked + .agree__box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.agree__input:focus-visible + .agree__box {
  outline: 2px solid var(--color-check);
  outline-offset: 2px;
}

.agree__link {
  font-size: 18px;
  text-decoration: underline;
}

/* 参加登録ボタン */
.register__btn {
  display: block;
  width: 86%;
  margin: 0 auto;
  padding: 18px 4px;
  border-radius: 8px;
  background: var(--color-red-text);
  color: var(--color-white);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s;
}

.register__btn.is-disabled {
  background: var(--color-gray);
  pointer-events: none;
  cursor: default;
}

/* メールアドレスコピー */
.copy__target {
  display: block;
  width: 80%;
  margin: 20px auto;
  padding: 6px;
  border: 2px dashed var(--color-black);
  font-size: 18px;
  text-align: center;
}

.copy__target:focus {
  outline: none;
}

.copy__target::selection {
  background: transparent;
}

.copy__btn {
  display: block;
  width: 70%;
  margin: 0 auto 20px;
  padding: 12px;
  border-radius: 4px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}

/* ログイン */
.login {
  width: 90%;
  margin: 0 auto;
  border: 1px solid var(--color-green);
}

.login__heading {
  padding: 12px 4px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.login__text {
  width: 90%;
  margin: 12px auto 20px;
  text-align: center;
}

.login__field {
  width: 92%;
  margin: 0 auto 12px;
}

.login__label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-size: 0.9em;
}

.login__input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #969da3;
  border-radius: 3px;
  background: var(--color-white);
  color: #333;
  font-size: 1em;
  line-height: 1.5;
}

.login__input::placeholder {
  color: #999;
}

.login__save {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.login__save input {
  width: 17px;
  height: 17px;
  margin: 0 4px 0 0;
  border: 1px solid #767676;
  border-radius: 2px;
  appearance: auto;
  -webkit-appearance: checkbox;
}

.login__btn {
  display: block;
  width: 90%;
  margin: 28px auto 20px;
  padding: 18px 4px;
  border-radius: 8px;
  background: var(--color-red-text);
  color: var(--color-white);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.login__forget {
  text-align: center;
}

.login__forget a {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: underline;
}

/* ==========================================================
   賞品
========================================================== */
.prize {
  width: 94%;
  margin: 28px auto 2rem;
  padding: 8px 8px 20px;
  background: var(--color-white);
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.6));
}

.prize__heading {
  margin-bottom: 20px;
  padding: 16px 4px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.prize__item {
  width: 88%;
  margin: 0 auto;
}

.prize__head {
  font-weight: bold;
  text-align: center;
}

.prize__head--bottom {
  margin-bottom: 20px;
}

.prize__rank {
  margin-bottom: 6px;
  color: var(--color-green);
  font-size: 18px;
}

.prize__point {
  margin-bottom: 6px;
  padding: 4px;
  color: var(--color-green);
  font-size: 20px;
}

.prize__img {
  margin: 20px auto 24px;
}

.prize__name {
  margin-bottom: 8px;
  font-size: 18px;
}

.prize__number {
  width: 70%;
  margin: 0 auto 16px;
  padding: 4px;
  border-radius: 8px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 18px;
}

.prize__detail {
  margin-bottom: 20px;
  word-break: break-all;
}

.prize__note {
  margin: 0 0 4px 1em;
  text-indent: -1em;
}

.prize__line {
  width: 96%;
  margin: 28px auto;
  border: 0;
  border-top: 1px solid var(--color-green);
}

/* ==========================================================
   アコーディオン
========================================================== */
.accordion {
  width: 94%;
  margin: 0 auto 2rem;
}

.accordion__item {
  margin-bottom: 2em;
  padding: 8px;
  background: var(--color-white);
}

.accordion__item:last-child {
  margin-bottom: 0;
}

.accordion__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 19px 12px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.7rem;
  text-align: left;
  cursor: pointer;
}

/* ＋ / − アイコン */
.accordion__btn::before,
.accordion__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.25em;
  width: 2px;
  height: 0.75em;
  margin-top: -0.375em;
  background: var(--color-white);
  transition: transform 0.3s;
}

.accordion__btn::after {
  transform: rotate(90deg);
}

.accordion__item.is-open .accordion__btn::before {
  transform: rotate(90deg);
}

.accordion__panel {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.accordion__item.is-open .accordion__panel {
  height: auto;
}

.accordion__inner {
  width: 96%;
  margin: 0 auto;
}

/* ----- 対象商品 ----- */
.target__lead {
  margin: 20px 0;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.target__img {
  margin-bottom: 8px;
}

.target__item {
  margin-bottom: 28px;
}

.target__item:last-child {
  margin-bottom: 20px;
}

.target__detail {
  font-weight: bold;
  text-align: center;
}

.target__name {
  margin: 6px auto;
  font-size: 20px;
  line-height: 1.7rem;
}

.target__price {
  width: 60%;
  margin: 10px auto 14px;
  border: 1px solid #fe1405;
  border-radius: 999px;
  color: #fe1405;
  font-size: 18px;
}

.target__period {
  padding: 4px;
  border-radius: 8px;
  background: var(--color-black);
  color: var(--color-white);
}

.target__line {
  width: 104%;
  margin: 28px -2%;
  border: 0;
  border-top: 1px solid var(--color-green);
}

/* ----- 応募方法 ----- */
.step {
  margin-top: 32px;
}

.step__item {
  position: relative;
  padding: 24px 12px 2px;
  border: 2px solid var(--color-green);
  border-radius: 8px;
  background: var(--color-white);
}

/* STEP間の下矢印 */
.step__item:not(:last-child) {
  margin-bottom: 64px;
}

.step__item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -54px;
  left: 50%;
  width: 40px;
  height: 40px;
  background: url("../img/down-arrow.svg") no-repeat center / contain;
  transform: translateX(-50%);
}

.step__item:last-child {
  margin-bottom: 20px;
}

.step__num {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  transform: translate(10%, -50%);
}

.step__num span {
  margin-right: 4px;
  font-size: 14px;
}

.step__text {
  margin: 6px 0;
}

.step__img {
  margin: 12px auto;
}

.step__note {
  margin: 8px 0 12px 1em;
  text-indent: -1em;
}

/* ----- 応募規約 ----- */
.notes__lead {
  margin: 20px 0;
  line-height: 1.7rem;
}

.notes__block {
  margin-bottom: 28px;
}

.notes__block:last-child {
  margin-bottom: 16px;
}

.notes__title {
  margin-bottom: 16px;
  padding: 4px;
  background: var(--color-dark);
  color: var(--color-white);
  font-weight: normal;
  text-align: center;
}

.notes__text {
  margin-bottom: 12px;
  line-height: 1.7rem;
}

.notes__item {
  margin: 0 0 8px 1rem;
  line-height: 1.7rem;
  text-indent: -1rem;
}

.notes__item--red {
  color: var(--color-red-text);
}

.notes__text a,
.notes__item a {
  text-decoration: underline;
}

/* ==========================================================
   バナー
========================================================== */
.banner {
  width: 94%;
  margin: 0 auto;
  padding: 12px;
  background: var(--color-white);
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.25));
}

.banner__text {
  margin-bottom: 12px;
  color: var(--color-green-dark);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.banner__link {
  display: block;
}

/* ==========================================================
   お問い合わせ
========================================================== */
.contact {
  margin-top: 32px; /* バナー下の赤い余白 */
  padding: 20px;
  background: #231815;
  color: var(--color-white);
  text-align: center;
}

.contact__heading {
  margin-bottom: 12px;
  font-weight: normal;
}

.contact__name {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8rem;
}

.contact__info {
  margin-bottom: 16px;
}

.contact__info dt {
  margin-bottom: 4px;
  font-weight: bold;
}

.contact__info a {
  text-decoration: underline;
}

.contact__note {
  margin: 0 0 8px 1rem;
  text-indent: -1rem;
}

/* ==========================================================
   フッター
========================================================== */
.footer {
  padding: 8px 4px;
  background: #231815;
  color: var(--color-white);
  font-size: 12px;
  line-height: 24px;
  text-align: center;
}

/* ==========================================================
   ページトップボタン
========================================================== */
.pagetop {
  position: fixed;
  right: 15px;
  bottom: 12px;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-green);
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.pagetop.is-show {
  opacity: 1;
  visibility: visible;
}

.pagetop svg {
  width: 30px;
  height: 30px;
  fill: var(--color-green);
  /* 同色の線を重ねて角を丸くする */
  stroke: var(--color-green);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

@media screen and (min-width: 641px) {
  .pagetop {
    right: 50%;
    transform: translateX(305px);
  }
}

/* ==========================================================
   下層ページ共通
========================================================== */
/* フッターを画面下に固定するため、body を縦並びにする */
body.is-under {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.main--under {
  flex: 1;
  padding: 20px 0;
}

.under-box {
  width: 90%;
  margin: 0 auto;
  background: var(--color-white);
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.6));
}

.under-box__title {
  padding: 8px 4px;
  background: #231815;
  color: var(--color-white);
  font-size: 18px;
  font-weight: normal;
  line-height: 24px;
  text-align: center;
}

.under-box__body {
  margin-top: 12px;
  padding: 16px;
}

.under-box__text {
  margin-bottom: 20px;
}

.under-box__text--last {
  margin-bottom: 0;
}

/* 見出し直下に余白を空けず、中央揃えにする本文 */
.under-box__body--center {
  margin-top: 0;
  text-align: center;
}

/* キービジュアルを上に置く下層ページ（応募終了ページなど） */
.main--has-kv {
  padding-top: 0;
}

.main--has-kv .kv {
  margin-bottom: 20px;
}

/* ==========================================================
   パスワードをお忘れの方
========================================================== */
.reset-form__label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-size: 0.9em;
}

.reset-form__input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #969da3;
  border-radius: 3px;
  background: var(--color-white);
  color: #333;
  font-size: 1em;
  line-height: 1.5;
}

.reset-form__input::placeholder {
  color: #999;
}

.reset-form__btn {
  display: block;
  width: 90%;
  margin: 32px auto 20px;
  padding: 10px 4px;
  border-radius: 8px;
  background: var(--color-red-text);
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}

.reset-form__note {
  margin: 28px 0 8px 1rem;
  text-indent: -1rem;
}

/* ==========================================================
   マイページ（ログイン後）
========================================================== */
.mypage {
  padding: 16px;
  background: var(--color-white);
}

.mypage__name {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.7rem;
  text-align: center;
  word-break: break-all;
}

.mypage__point {
  width: 70%;
  margin: 0 auto 20px;
  padding: 8px;
  border: 3px solid var(--color-red-text);
  font-size: 18px;
  font-weight: bold;
  line-height: 2.2rem;
  text-align: center;
}

.mypage__point-num {
  color: var(--color-red-text);
  font-size: 22px;
}

.mypage__notes {
  margin-bottom: 20px;
}

.mypage__note {
  margin: 0 0 6px 1rem;
  text-indent: -1rem;
}

/* シリアルナンバー登録方法 */
.howto {
  margin-bottom: 20px;
}

.howto__title {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.howto__img {
  width: 90%;
  margin: 12px auto;
}

/* 登録・履歴ボタン */
.mypage__btn {
  display: block;
  width: 90%;
  margin: 0 auto 20px;
  border-radius: 8px;
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}

.mypage__btn--serial {
  padding: 12px 4px;
  background: var(--color-red-text);
}

.mypage__btn--history {
  padding: 6px 4px;
  background: var(--color-dark);
}

.mypage__btn--history span {
  font-size: 14px;
}

.mypage__lead {
  text-align: center;
}

/* 賞品の「応募する」ボタン */
.prize__entry-btn {
  display: block;
  width: 90%;
  margin: 20px auto;
  padding: 10px 4px;
  border-radius: 8px;
  background: var(--color-red-text);
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.step__note a {
  text-decoration: underline;
}

/* ==========================================================
   応募確認
========================================================== */
.confirm__lead {
  margin-bottom: 12px;
}

.confirm__prize {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.8rem;
  text-align: center;
}

.confirm__img {
  margin: 20px auto 28px;
}

.confirm__point {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.confirm__notes {
  margin-bottom: 30px;
}

.confirm__btn {
  display: block;
  width: 90%;
  margin: 0 auto 20px;
  padding: 10px 4px;
  border-radius: 8px;
  background: var(--color-red-text);
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}

.confirm__btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* マイページトップに戻るボタン（下層ページ共通） */
.back-btn {
  display: block;
  width: 90%;
  margin: 0 auto 10px;
  padding: 12px 4px;
  border-radius: 8px;
  background: #231815;
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

/* ==========================================================
   シリアルナンバー登録履歴・応募履歴
========================================================== */
.history {
  margin-bottom: 28px;
}

.history--entry {
  margin-bottom: 30px;
}

/* 2行の見出し用に上下の余白を詰める */
.accordion__btn--compact {
  padding-top: 6px;
  padding-bottom: 6px;
}

.history__inner {
  width: 96%;
  margin: 12px auto 0;
}

.history-table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
  background: var(--color-white);
}

.history-table th,
.history-table td {
  padding: 4px;
  border: 1px solid #404040;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  vertical-align: middle;
}

.history-table th {
  font-weight: bold;
}

/* 「もっと表示する」：続きのテーブルに行がない時は出さない */
.history__more:not(:has(tbody tr)) {
  display: none;
}

.history__more-btn {
  position: relative;
  display: block;
  width: 70%;
  margin: 0 auto;
  padding: 10px 6px;
  border-radius: 8px;
  background: var(--color-green);
  color: var(--color-white);
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.history__more-btn::before,
.history__more-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.25em;
  width: 2px;
  height: 0.75em;
  margin-top: -0.375em;
  background: var(--color-white);
  transition: transform 0.3s;
}

.history__more-btn::after {
  transform: rotate(90deg);
}

.history__more.is-open .history__more-btn::before {
  transform: rotate(90deg);
}

.history-table--more {
  margin-top: 20px;
}

/* ==========================================================
   応募完了
========================================================== */
.complete__thanks {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.complete__point {
  width: 80%;
  margin: 0 auto 20px;
  padding: 8px;
  border: 3px solid var(--color-red-text);
  background: var(--color-white);
  font-weight: bold;
  text-align: center;
}

.complete__point-num {
  margin: 2px auto;
  color: var(--color-red-text);
  line-height: 1.2;
}

.complete__point-num span {
  font-size: 24px;
}

.complete__notes {
  margin-bottom: 24px;
}

.complete__note {
  margin: 0 0 12px 1em;
  text-indent: -1em;
}

.complete__note:last-child {
  margin-bottom: 0;
}

.complete__banner {
  margin-bottom: 32px;
}

.complete__banner-text {
  margin-bottom: 12px;
  color: var(--color-green-dark);
  font-weight: bold;
  text-align: center;
}

/* ==========================================================
   ログイン（下層ページ）
========================================================== */
/* 箱の上に余白を足す（元サイトの下層ページの標準） */
.under-box--spaced {
  margin-top: 20px;
}

.login-page__text {
  margin-bottom: 12px;
}

/* 下層ページでは入力欄を箱の幅いっぱいにする */
.login__field--full {
  width: 100%;
}

/* ==========================================================
   キャンペーン参加登録
========================================================== */
/* 見出し直下に余白を空けない本文 */
.under-box__body--flush {
  margin-top: 0;
}

.regist__label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-size: 0.9em;
}

.regist__label span {
  color: var(--color-red-text);
  font-size: 0.9em;
}

.regist__mail {
  margin-bottom: 20px;
}

.regist__mail-address {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: bold;
  word-wrap: break-word;
}

.regist__note {
  margin: 0 0 8px 1rem;
  text-indent: -1rem;
}

.regist__note--last {
  margin-bottom: 28px;
}

.regist__note--small {
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.regist__password {
  margin-bottom: 12px;
}

.regist__password-text {
  margin-bottom: 8px;
}

.regist__input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #969da3;
  border-radius: 3px;
  background: var(--color-white);
  color: #333;
  font-size: 1em;
  line-height: 1.5;
}

.regist__input::placeholder {
  color: #999;
}

.regist__input--password {
  margin-bottom: 20px;
}

/* 「その他」の自由入力欄 */
.regist__input--other {
  margin-top: 8px;
  border-color: #612c8d;
}

.regist__field {
  margin-bottom: 28px;
}

.regist__field--tight {
  margin-bottom: 16px;
}

/* セレクトボックス（右端に▼の矢印と区切り線） */
.regist__select {
  width: 100%;
  padding: 8px 3.5em 8px 10px;
  border: 1px solid #612c8d;
  border-radius: 3px;
  background-color: var(--color-white);
  background-image:
    linear-gradient(45deg, transparent 50%, #612c8d 50%),
    linear-gradient(135deg, #612c8d 50%, transparent 50%),
    linear-gradient(to right, #612c8d, #612c8d);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  color: #333;
  font-size: 1em;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* 選択中は矢印を上向きにする */
.regist__select:focus {
  background-image:
    linear-gradient(45deg, #612c8d 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, #612c8d 50%),
    linear-gradient(to right, #612c8d, #612c8d);
  background-position:
    calc(100% - 15px) 1em,
    calc(100% - 20px) 1em,
    calc(100% - 2.5em) 0.5em;
  outline: 0;
}

.regist__btn {
  display: block;
  width: 80%;
  margin: 40px auto 20px;
  padding: 10px 4px;
  border-radius: 8px;
  background: var(--color-red-text);
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}

/* ==========================================================
   キャンペーン参加登録 確認
========================================================== */
.regist-confirm {
  margin-bottom: 20px;
}

.regist-confirm__item {
  padding: 14px 0;
}

/* 戻るボタンと幅を揃える */
.regist__btn--wide {
  width: 90%;
}

.regist-confirm__value {
  font-size: 18px;
  font-weight: bold;
  word-wrap: break-word;
}


/* ==========================================================
   フォームのエラーメッセージ（共通）
========================================================== */
.form_error {
  color: var(--color-red-text);
  font-size: 16px;
  font-weight: bold;
  margin-top: 4px;
}

/* ==========================================================
   履歴のページネーション
========================================================== */
.Pagination {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 0;
  margin-bottom: 32px;
}
.Pagination-Item-Link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  background: #fff;
  border: solid 1px #111;
  font-size: 12px;
  color: #111;
  font-weight: bold;
  transition: all 0.15s linear;
}
.Pagination-Item-Link-Icon {
  width: 16px;
}
.Pagination-Item-Link.isActive {
  background: #111;
  color: #fff;
  pointer-events: none;
}
.Pagination-Item-Link:not(.isActive):hover {
  background: #111;
  color: #fff;
}
.Pagination > * + * {
  margin-left: 8px;
}


/* ==========================================================
   時間設定切替メッセージ
========================================================== */
.finished_message {
  background: #fff;
  color: #df0012;
  width: 94%;
  margin: 20px auto;
  padding: 16px;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.7;
}


/* ==========================================================
   シリアルナンバー登録
========================================================== */
.serial__message {
  margin: 8px 0 20px;
  text-align: center;
  letter-spacing: 0.1em;
}

.serial__message.error_message {
  color: var(--color-red-text);
  font-weight: bold;
}

.serial__field {
  display: block;
}

.serial__btn {
  display: block;
  width: 90%;
  margin: 32px auto 24px;
  padding: 10px 4px;
  border-radius: 8px;
  background: var(--color-red-text);
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}

/* 画面には出さず、読み上げ用に残すラベル */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* ==========================================================
   シリアル入力期限切れページ
========================================================== */
.expired-message {
  color: var(--color-red-text);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.7;
  text-align: center;
}
