/* PC看板 */
@media screen and (min-width: 768px) {
  #page .CampaignButton-enabled span.RexButton-message {
    font-size: 24px;
  }

  #page .s-campaign-hero {
    background: url(/assets/campaign/2026/10th-anniversary/treasure-hunt/img/bg.png) no-repeat center top / auto 82% #000000;
  }

  #page .CampaignButton-enabled span.RexButton-message {
    color: white;
  }
}

/* 開催期間 */
#page .campaign-hero__schedule {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

#page .campaign-wrapper .cp-section-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* ---- Campaign Wrapper  ---- */
.campaign-outer *,
.campaign-outer *::before,
.campaign-outer *::after {
  box-sizing: border-box;
}

.campaign-outer {
  background: url("/assets/campaign/2026/10th-anniversary/treasure-hunt/img/bg_campaign.png") center center / cover no-repeat;
}

.campaign-outer .campaign-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 950px;
  margin: 0 auto;
  padding: 50px 20px;
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic",
    sans-serif;
}

/* ---- Section ---- */
#page .campaign-outer .campaign-wrapper {
  gap: 32px;
}

#page .campaign-outer .campaign-wrapper .cp-section {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
  width: 100%;
}

#page .campaign-outer .campaign-wrapper .cp-section-header {
  background: linear-gradient(180deg, #016ae5 0%, #01418b 100%);
  padding: 14px 30px;
  text-align: center;
}

#page .campaign-outer .campaign-wrapper .cp-section-header h2 {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin: 0;
}

#page .campaign-outer .campaign-wrapper .cp-section-body {
  padding: 32px;
}

/* ---- Section 1 ---- */
#page .campaign-outer .campaign-wrapper .Campaign-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

#page .campaign-outer .campaign-wrapper .logo-10th {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  /* 28px */
}

#page .campaign-outer .campaign-wrapper .logo-10th img {
  width: 166.78px !important;
  height: 166.78px !important;
  flex-shrink: 0;
}

#page .campaign-outer .campaign-wrapper .Campaign-overview-lead {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #000;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 140%;
}

#page .campaign-outer .campaign-wrapper .Campaign-overview-lead .Campaign-overview-lead-highlight {
  display: inline-flex;
  align-items: center;
  font-size: 28px;
}

#page .campaign-outer .campaign-wrapper .Campaign-overview-lead .Campaign-overview-lead-highlight .highlighttxt {
  color: #D80000;
  font-size: 36px;
  font-weight: 700;
  line-height: 140%;
}

#page .campaign-outer .campaign-wrapper .Campaign-overview-lead .small {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
}

#page .campaign-outer .campaign-wrapper .button-lead {
  color: #000;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
  /* 28.8px */
  padding: 0;
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
}

/* ---- Section 2 ---- */
#page .campaign-outer .campaign-wrapper .Campaign-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 16px;
}

#page .Campaign-steps img {
  width: 160px;
  height: auto;
}

#page .cp-section-body .step-lead {
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  /* 100% */
}

#page .Campaign-steps .step-txt {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  /* 133.333% */
  width: 390px;
  /* 200% */
  color: #000;

}

/* ---- Section 3 ---- */
#page .cp-section-body .step2-img {
  width: 360px;
  height: auto;
}

/* ---- Section 4 ---- */
#page .campaign-wrapper .yamawake-point {
  display: flex;
  width: 950px;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  border: 2px solid #FFF;
  background: url("/assets/campaign/2026/10th-anniversary/treasure-hunt/img/point-bg.png") lightgray 50% / cover no-repeat;
}

#page .campaign-wrapper .yamawake-point .point-txt {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  text-align: center;
  font-size: 46px;
  font-weight: 800;
  line-height: 120%;
  /* 55.2px */
  background: linear-gradient(198deg, #006BE4 12.5%, #014088 87.5%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#page .campaign-wrapper .yamawake-point .point-txt .points50000 {
  text-align: center;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #D80000;
  font-size: 93px;
  font-weight: 800;
  line-height: 120%;
  /* 111.6px */
  background: linear-gradient(31deg, #FFC201 18.85%, #FFD900 81.15%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#page .campaign-wrapper .yamawake-point .small {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
  /* 200% */
}

#page .campaign-outer .campaign-wrapper .entry-center {
  text-align: center;
  margin-bottom: 8px;
}

#page .campaign-outer .campaign-wrapper .entry-center button {
  font-size: 16px;
  white-space: nowrap;
}

#page .campaign-outer .campaign-wrapper .btn-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #cc0000;
  color: #fff !important;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  padding: 16px 64px;
  border-radius: 50px;
  transition: opacity 0.2s;
}

#page .campaign-outer .campaign-wrapper .btn-entry::after {
  content: "›";
  margin-left: 8px;
  font-size: 24px;
  line-height: 1;
}

#page .campaign-outer .campaign-wrapper .btn-entry:hover {
  opacity: 0.75;
}

#page .campaign-outer .campaign-wrapper .entry-sub {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin: 8px 0 20px;
}

#page .campaign-outer .campaign-wrapper .mailmag-wrap {
  text-align: center;
  margin-bottom: 20px;
}

#page .campaign-outer .campaign-wrapper .mailmag-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

#page .campaign-outer .campaign-wrapper .mailmag-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #cc0000;
  flex-shrink: 0;
}

#page .campaign-outer .campaign-wrapper .entry-notice {
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

#page .campaign-outer .campaign-wrapper .entry-notice a {
  color: #cc0000;
  text-decoration: underline;
}

/* ---- magazine ---- */
#page .magazine-area {
  display: flex;
  padding: 32px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  align-self: stretch;
  background: #FFF569;
}

#page .magazine-area .magazine-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}


#page .magazine-area .magazine-txt-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #000;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
  /* 28.8px */
}

#page .magazine-area .magazine-txt-area .magazine-lead {
  color: #BF0000;
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  line-height: 120%;
  /* 57.6px */
}

#page .magazine-area a.magazine-btn {
  display: flex;
  height: 60px;
  padding: 11px 29px 11px 24px;
  justify-content: center;
  align-items: center;
  gap: 1px;
  align-self: stretch;
  border-radius: 74px;
  background: #F86800;
}

#page .magazine-area a.magazine-btn:hover {
  background: #D95A00;
  box-shadow: 0 4px 12px rgba(248, 104, 0, 0.4)
}

#page .campaign-outer .campaign-wrapper .btn-trial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cc0000;
  color: #fff !important;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  padding: 13px 16px;
  border-radius: 50px;
  width: 100%;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}

/* ---- 申し込みボタン ---- */
#page .cp-section .btn-apply a.trial-btn {
  padding: 11px 29px 11px 24px;
}

#page .cp-section .btn-apply .trial-btn .cta-btn-txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: .03em;
}

#page .cp-section .btn-apply .trial-btn .cta-btn-txt .txt {
  color: white;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

#page .cp-section .btn-apply .trial-btn .cta-btn-txt .txt-small {
  color: white;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 31px;

}

#page .campaign-outer .campaign-wrapper .usage-notes {
  font-size: 11px;
  color: #555;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 20px;
}

#page .campaign-outer .campaign-wrapper .app-screenshot {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 12px;
  display: block;
}

#page .campaign-outer .campaign-wrapper .col-rchannel .app-screenshot {
  max-width: 280px;
}

#page .campaign-outer .campaign-wrapper .usage-caption {
  color: #555;
  line-height: 1.7;
  font-size: 14px;
}

/* ---- aタグ ---- */
#page #rex-ceb-01 a {
  color: #bf0000;
}

#page .campaign-hero__schedule__note a {
  color: white;
  text-decoration: underline;
}

#page .l-campaign-03 .s-campaign-detail a {
  color: #00a0f0;
}

#page .magazine-area a {
  color: white;
}


/* ---- Responsive (SP: ~768px) ---- */
@media (max-width: 768px) {

  /* 開催期間 */
  #page .campaign-hero__schedule {
    padding: 12px 0px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }

  #page .campaign-outer .campaign-wrapper {
    padding: 30px 14px;
    gap: 24px;
  }

  #page .campaign-outer .campaign-wrapper .cp-section-body {
    padding: 24px 8px;
  }

  #page .campaign-outer .campaign-wrapper .Campaign-overview {
    flex-direction: column;
    gap: 8px;
  }

  #page .campaign-outer .campaign-wrapper .logo-10th {
    width: 100%;
    justify-content: center;
  }

  #page .campaign-outer .campaign-wrapper .Campaign-overview-lead {
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    gap: 8px;

  }

  #page .campaign-outer .campaign-wrapper .Campaign-overview-lead .Campaign-overview-lead-highlight {
    flex-direction: column;
    font-size: 16px;
  }

  #page .campaign-outer .campaign-wrapper .Campaign-overview-lead .Campaign-overview-lead-highlight .highlighttxt {
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
  }

  #page .campaign-outer .campaign-wrapper .Campaign-overview-lead .small {
    font-size: 12px;
    line-height: 16px;
    /* 133.333% */
  }

  #page .campaign-wrapper .cp-section-body {
    gap: 12px;
  }

  #page .cp-section-body .step2-img {
    width: 313px;
    height: auto;
  }

  #page .cp-section-body .step-lead {
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
    /* 160% */
  }

  #page .Campaign-steps .step-txt {
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    width: auto;
    /* 200% */
  }

  #page .campaign-outer .campaign-wrapper .Campaign-steps {
    flex-direction: column;
  }

  #page .campaign-outer .campaign-wrapper .button-lead {
    font-size: 16px;
    font-weight: 600;
    /* 19.2px */
  }

  /* ---- Section 4 ---- */
  #page .campaign-wrapper .yamawake-point {
    width: auto;
    border-radius: 24px;
    border: 2px solid #FFF;
    background: url("/assets/campaign/2026/10th-anniversary/treasure-hunt/img/point-bg_sp.png") lightgray 50% / cover no-repeat;

  }

  #page .campaign-wrapper .yamawake-point .point-txt {
    flex-direction: column;
    font-size: 32px;
    font-weight: 800;
    line-height: 120%;
    /* 38.4px */
  }

  #page .campaign-wrapper .yamawake-point .point-txt .points50000 {
    font-size: 64px;
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    /* 76.8px */
  }

  #page .campaign-wrapper .yamawake-point .small {
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    /* 200% */
    white-space: nowrap;
  }

  #page .magazine-area {
    padding: 32px 12px;
  }


  #page .magazine-area .magazine-txt-area {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    /* 19.2px */
  }

  #page .magazine-area .magazine-txt-area .magazine-lead {

    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 38.4px */
  }

  #page .cp-section .btn-apply .trial-btn .cta-btn-txt .txt {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;

  }

  #page .cp-section .btn-apply .trial-btn .cta-btn-txt .txt-small {
    color: white;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;

  }

  #page .campaign-outer .campaign-wrapper .btn-entry {
    font-size: 16px;
    padding: 14px 40px;
    width: 100%;
  }

  #page .CampaignButton-enabled span.RexButton-message,
  #page .CampaignButton-disabled span.RexButton-message,
  #page .CampaignButton-applied span.RexButton-message,
  #page .CampaignButton-success span.RexButton-message {
    font-size: 24px;
  }

  .campaign-outer .dl-modal-overlay {
    display: none !important;
  }

}

/* ---- Download Modal ---- */
#page .campaign-outer .dl-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#page .campaign-outer .dl-modal-overlay.is-open {
  display: flex;
}

#page .campaign-outer .dl-modal {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#page .campaign-outer .dl-modal-header {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

#page .campaign-outer .dl-modal-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

#page .campaign-outer .dl-modal-close {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #888;
  padding: 0;
  transition: color 0.2s;
}

#page .campaign-outer .dl-modal-close:hover {
  color: #333;
}

#page .campaign-outer .dl-modal-body {
  text-align: center;
}

#page .campaign-outer .dl-modal-qr {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 12px;
}

#page .campaign-outer .dl-modal-caption {
  font-size: 11px;
  color: #888;
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}