@charset "UTF-8";

/* ==========================================
   1. Base & Reset
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --rules-bg: #FFF200;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

input,
textarea,
select {
  font-size: 16px !important;
}

/* ==========================================
   2. Utility Classes (共通パーツ・余白調整)
   ========================================== */
.l-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.sp-br { display: none; }
.pc-br { display: block; }


.mt100 { margin-top: 100px !important; }
.pt50 { padding-top: 50px; }

/*PC only*/
@media screen and (min-width: 769px) {
  .mt0 { 
    margin-top: 0 !important; 
  }
}

@media screen and (max-width: 768px) {
  .l-inner { padding: 0 20px; }
  .sp-br { display: block; }
  .pc-br { display: none; }
}

@media screen and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

.sp-only {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
}

/* ==========================================
   3. Background Areas
   ========================================== */
.bg-dots-area {
  padding-bottom: 100px;
  background-color: #EACDAA;
  background-image: 
    radial-gradient(#EDD5B8 25%, transparent 26%),
    radial-gradient(#EDD5B8 25%, transparent 26%);
  background-size: 300px 300px;
  background-position: 0 0, 150px 150px;
}

.bg-yellow-area {
  padding: 60px 0;
  background-color: #fff100;
}

@media screen and (max-width: 768px) {
  .bg-dots-area {
    padding-bottom: 50px;
  }
}

/* ==========================================
   4. First View (FV)
   ========================================== */
   .fv {
    width: 100%;
  }
  
  .fv picture {
    display: block;
    width: 100%;
  }
  
  .fv picture img {
    width: 100%;
    height: auto;
    vertical-align: top;
  }

/* ==========================================
   Scroll Indicator (SPのみ)
   ========================================== */
   .scroll-indicator {
    display: none; /* ←PCでは隠す */
  }
  
  @media screen and (max-width: 768px) {
    .scroll-indicator {
      display: flex;
      position: fixed; 
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 100; 
      
      flex-direction: column;
      align-items: center;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      
      /* ▼ ガタつき抑止のおまじない ▼ */
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      will-change: opacity, visibility;
    }
  
    .scroll-indicator.is-hidden {
      opacity: 0;
      visibility: hidden;
    }
  
    .scroll-indicator span {
      color: #1a1a1a; /* ベースの黒 */
      font-size: 11px; 
      font-weight: 900; 
      letter-spacing: 2px;
      margin-bottom: 8px; 
      text-shadow: 
        0 0 3px rgba(255,255,255,1), 
        0 0 5px rgba(255,255,255,0.8);
    }
  
    .scroll-indicator::after {
      content: "";
      display: block;
      width: 1px;
      height: 50px; /* 線の長さ */
      background-color: #1a1a1a; /* 線の色（黒） */
      
      filter: drop-shadow(0 0 1px rgba(255,255,255,0.8));

      animation: scrollAnimLine 1.5s ease-in-out infinite;
    }
  }
  
  /* ▼ 縦線用のアニメーション（上から伸びて、下へスッと消える） ▼ */
  @keyframes scrollAnimLine {
    0% {
      transform: scaleY(0);
      transform-origin: top;
    }
    50% {
      transform: scaleY(1);
      transform-origin: top;
    }
    50.1% {
      transform: scaleY(1);
      transform-origin: bottom;
    }
    100% {
      transform: scaleY(0);
      transform-origin: bottom;
    }
  }

/* ==========================================
   5. Presents Section
   ========================================== */
.section-title {
  margin-bottom: 0;
  text-align: center;
}

/* ==========================================
   Present Card (リボンの基準を作る)
   ========================================= */
  .present-card {
  position: relative;
  margin-bottom: 40px;
  padding: 0 50px 60px;
  background: #fff;
  border-top: 1px solid transparent; 
}
  
  /* ==========================================
     Badge Winner (リボンのAbsolute配置)
     ========================================= */
.badge-winner {
  position: absolute;
  
  top: -1px;
  right: 0;
  z-index: 20;
  width: 100px;  
}

.badge-winner img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.badge-number {
  position: absolute;
  top: 60px;
  left: 30px;
  width: 150px;
  z-index: 10;
}

.present-title {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 550px;
  text-align: center;
  margin: -25px auto 25px;
}

.present-content {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.present-img {
  width: 50%;
}

.present-info {
  width: 50%;
  padding: 0 10px;
  display: flex;
  flex-direction: column; 
  justify-content: flex-start;
}

/* 提供店情報・テキスト */
.provider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.provider-label {
  padding: 4px 20px;
  background: #e60012;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
}

.provider-name {
  color: #e60012;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.present-desc,
.present-address {
  margin-bottom: 20px;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
}

.present-address {
  margin-bottom: 25px;
}

/* プレゼントボタン類 */
.present-btns {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: auto;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px; 
  max-width: 350px;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  padding: 12px 40px 12px 20px; 
  border: 2px solid #e60012;
  border-radius: 15px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.btn-line::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("img/btn-after.webp"); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: right 0.3s ease;
}

.btn-line:hover {
  background-color: #fff5f5;
}

.btn-line:hover::after {
  right: 8px;
}

/* Amazonギフトカード用上書き */
.present-card--amazon {
  padding: 0px 50px 60px;
  text-align: center;
}

.amazon-note-container {
  display: inline-block;
  margin: 0 auto;
}

.amazon-note {
  font-size: 1.1rem;
}

/* プレゼント領域 SP用 */
@media screen and (max-width: 768px) {
  .present-card {
    padding: 60px 20px 30px;
  }
  .badge-number {
    top: -45px;
    left: 130px;
    width: 90px;
  }

  .badge-number {
    /* ① 既存の absolute 関連の数値をリセット */
    position: relative;
    top: auto;
    left: auto;
    
    /* ② ブロック要素にして左右中央寄せ */
    display: block;
    margin: 0 auto;
    
    /* ③ ネガティブマージンで上にハミ出させる（重ねる） */
    margin-top: -100px;
    margin-bottom: 30px;
    
    width: 90px;

    z-index: 10;
  }

  .present-card {
    border-top: none;
  }


  .badge-winner {
    top: 0;
    right: 0;
    width: 60px;
  }

  .provider {
    flex-direction: column;
  }

  .present-title {
    margin: 0;
  }

  .present-desc,
  .present-address {
    margin-bottom: 20px;
    font-size: 1rem;
    letter-spacing: 1.5px;
  }
  .present-content {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }
  .present-img,
  .present-info {
    width: 100%;
  }
  .present-btns {
    flex-direction: column;
  }
}

/* ==========================================
   6. Rules Section
   ========================================== */
.rules {
  position: relative;
  margin-top: 80px;
  padding: 0 40px 40px;
  background: #fff;
  border-top: 1px solid transparent; /* マージン相殺防止用 */
}

.rules-title {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 500px;
  margin: -35px auto 0;
  text-align: center;
}

.rules-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rules-img-left {
  width: 15%;
  max-width: 120px;
}

.rules-img-right {
  width: 25%;
  max-width: 180px;
}

.rules-text {
  flex: 1;
  font-weight: bold;
  text-align: left;
  line-height: 2;
  padding-left: 2rem;
  font-size: 1.3rem;
}

.rules-img-left img {
  animation: yuraYura 3s ease-in-out infinite;

  transform-origin: bottom center; 
}

/* ルール領域 SP用 */
@media screen and (max-width: 768px) {
  .rules {
    padding: 0;
  }

  .rules-text-sp {
    padding: 0 40px;
    font-size: 1rem;
    font-weight: 400;
  }

  .rules-visual-sp {
    position: relative;
    margin-top: 30px;
    text-align: center;
  }

  .rules-bg-sp img {
    width: 100%;
    height: auto;
    display: block;
  }

  .rules-icon-sp {
    position: absolute;
    bottom: 15%; 
    right: 55%;   
    width: 35%;
    z-index: 10;
  }

  .rules-icon-sp img {
    width: 100%;
    height: auto;
    animation: yuraYura 3s ease-in-out infinite;
    transform-origin: bottom center; 
  }
}

/* アニメーションの動きの定義（修正版） */
@keyframes yuraYura {
  0%   { transform: rotate(8deg); }
  50%  { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}
/* ==========================================
   7. Magazines Section
   ========================================== */
.magazines {
  position: relative;
  margin-top: 100px;
  margin-bottom: 100px;
  padding: 0 40px 40px;
  background: #fff;
  border-top: 1px solid transparent; /* マージン相殺防止用 */
}

.magazines-title {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 500px;
  margin: -35px auto 30px;
  text-align: center;
}

.magazines-list {
  column-count: 4;
  column-gap: 30px;
}

.pref-group {
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  -webkit-column-break-inside: avoid;
            page-break-inside: avoid;
                 break-inside: avoid;
}

.magazines-note {
  margin-top: 30px;
  text-align: right;
  font-size: 14px;
}

.pref-label {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 900;
  color: #1a1a1a;
  border-bottom: 1px solid #eee;
  padding-bottom: 2px;
}

.pref-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column; 
  gap: 4px;
}

.pref-group li {
  font-size: 15px;
  line-height: 1.4;
  color: #333;
}

.pref-group li::before {
  content: "・";
  margin-right: 4px;
  color: #666;
}

/* 雑誌領域 SP用 */
@media screen and (max-width: 768px) {
  .magazines {
    padding: 0;
  }

  .magazines-list {
    column-count: 2;
    column-gap: 15px;
    padding: 0 40px;
  }
  .pref-label {
    font-size: 16px;
  }
  .pref-group li {
    font-size: 16px;
  }

  .magazines-list {
    column-count: 2;
    column-gap: 15px;
    padding: 0 40px;
  }

  .magazines-note {
    margin-top: 20px;
    padding: 0 40px 10px;
    font-size: 12px;
    text-align: left;
  }
}
@media (max-width: 480px) {
  .magazines-list {
    column-count: 1;
  }
}

/* ==========================================
   8. How To & CTA
   ========================================== */
.how-to-title {
  position: relative;
  left: 50%;
  display: inline-block;
  margin: 0 auto 40px;
  text-align: center;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
}

.steps-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.step-card {
  width: 32%;
}

.cta {
  margin-top: 60px;
  text-align: center;
}

.cta-message {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 900;
}

.cta-note {
  margin-bottom: 30px;
  font-weight: bold;
}

.btn-submit {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-submit img {
  width: 100%;
  max-width: 500px; 
  height: auto;
  vertical-align: middle;
}

.btn-submit:hover {
  transform: translateY(2px);
  opacity: 0.9;
}

/* How To & CTA SP用 */
@media screen and (max-width: 768px) {
  .steps-container {
    flex-direction: column;
  }
  .step-card {
    width: 100%;
  }
  .cta-message {
    font-size: 25px;
  }

  .btn-submit img {
    max-width: 100%;
  }
}

/* ==========================================
  9. Footer
  ========================================== */
  footer {
  background-color: var(--rules-bg);
  padding: 40px 0 0; 
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  overflow: hidden; 
}

.footer-text-wrap {
  max-width: 1120px;
  text-align: center;
  display: inline-block;
  padding: 10px 0;
}

footer p {
  padding: 0 20px;
  margin-bottom: 20px;
}

.footer-image-wrap {
  background-color: var(--rules-bg);
  margin-top: -1px;
  text-align: center;
  width: 100%;
}

.footer-image-wrap img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ==========================================
  10. Page Top Button
  ========================================== */
html {
  scroll-behavior: smooth;
}

.page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;

  background-color: #1a1a1a;
  color: #fff;

  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.page-top:hover {
  background-color: #444;
  transform: translateY(-5px) !important; 
}

.page-top img {
  width: 100%;
  height: auto;
}

.page-top.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .page-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
}