@charset "UTF-8";

/* =====================================
   1. 基本設定 (SP基準)
   ===================================== */
.contents {
  /* --- 変数定義 --- */
  /* 余白 */
  --block-inner-padding: 20px 20px 35px;
  /* フォント */
  --font-main: "Noto Sans JP", sans-serif;
  --font-size-base: 13px;
  /* カラー */
  --bg-base: #FFD45C;
  --text-base: #1a1717;
  --white: #fff;
  --navy: #1F2770;
  --red: #DC0800;
  --yellow-dark: #B99227;
  --grd-red: linear-gradient(0deg, #BA0700 0%, #DC0800 100%);
  --grd-yellow: linear-gradient(0deg, #FFC455 0%, #FFE471 100%);

  /* --- スタイル適用 --- */
  width: 100%;
  margin: 0 auto;
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-base);
  background: var(--bg-base);
  overflow-x: hidden;
}

.contents * {
  box-sizing: border-box;
}

.contents *:focus {
  outline: none;
}

.contents img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.contents ul,
.contents li,
.contents h1,
.contents p {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents h2 {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 0;
  margin: 0;
  justify-content: center;
  font-weight: 600;
  line-height: 1.1;
  position: relative;
}

.contents a {
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.block-inner {
  padding: var(--block-inner-padding);
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

/* =====================================
   2. 各セクション設定
   ===================================== */
/* メインビジュアル ---------------------- */
.mv-section {
  margin: 0 auto;
  padding: 0;
}

.mv-section img {
  max-width: 1300px;
  width: 100%;
}

/* 期間 ---------------------- */
.date-section {
  background: var(--navy);
  padding: 10px 20px 10px 15px;
  margin: 0 auto;
}

.date-section img {
  max-width: 600px;
  width: 100%;
}

/* 当選内容 ---------------------- */
.winning-section {
  margin: 0 auto;
  /* padding: 15px 20px 30px; */
}

.winning-section img {
  max-width: 1100px;
  width: 100%;
}


/* 応募方法 ---------------------- */
.step-section {
  border-radius: 30px 30px 0 0;
  background: var(--navy);
  color: var(--white);
}

.step-section img {
  max-width: 1000px;
  width: 100%;
}

.step-section h2 {
  margin: 10px auto 24px;
  font-size: 22px;
}

.step-section p {
  margin: 15px 0 25px;
  font-weight: 300;
}

/* お買い物 ---------------------- */
.shopping-section .bnr-shopping {
  margin-top: 20px;
  max-width: 640px;
  width: 100%;
}

.shopping-section .wrap-inner {
  margin: 0 10px 30px;
  border-radius: 10px;
  background: var(--white);
}

.shopping-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px auto;
  font-size: 20px;
  text-align: center;
}

.shopping-section h2::before,
.shopping-section h2::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url("/img/usr/free/campaign_GWcampaign/titile_deco.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.shopping-section h2::after {
  transform: scaleX(-1);
}

/* バナー */
.wrap-banner {
  padding: 10px 15px 30px;
}

.contents .wrap-inner-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 20px;
}

.wrap-inner-banner li {
  width: calc((100% - 10px) / 2);
}

.wrap-inner-banner li img {
  border-radius: 4px;
}

/* カテゴリリンク */
.wrap-category {
  padding: 10px 15px 30px;
  background: rgb(from var(--bg-base) r g b / 0.2)
}

.wrap-inner-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.wrap-inner-link li {
  width: 100%;
}

.wrap-inner-link li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 10px 1px 15px;
  background: var(--grd-yellow);
  border: 1px solid var(--yellow-dark);
  border-bottom: 2px solid var(--yellow-dark);
  border-radius: 4px;
  line-height: 1.3;
  position: relative;
  transition: filter 0.2s;
}

.wrap-inner-link li a:hover {
  filter: brightness(1.05);
}

.wrap-inner-link li a::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--yellow-dark);
  border-right: 1px solid var(--yellow-dark);
  transform: rotate(45deg);
  margin-left: 10px;
}

/* キャンペーン詳細 ---------------------- */
.detail-section {
  line-height: 1.7;
  background: var(--white);
}

.contents .title_detail {
  padding: 20px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
}

.wrap-inner-detail {
  margin: 0 auto;
}


.contents .detail-section h3 {
  display: flex;
  align-items: center;
  margin: 0 0 4px;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
}

.contents .detail-section h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background-color: var(--red);
  margin-right: 8px;
  border-radius: 2px;
}

.contents .detail-section ul {
  margin-bottom: 20px;
}

.detail-section .text_b {
  margin: 4px 0;
  font-weight: 600;
}

.contents .text_dot,
.contents .text_asterisk {
  padding-left: 1em;
  text-indent: -1em;
}

.text_dot::before {
  content: "・";
}

.text_asterisk::before {
  content: "※";
}

.detail-section .text_link {
  text-decoration: underline;
  color: var(--red);
}

/* 注意事項 */
.wrap-inner-notice {
  margin-top: 40px;
  border: 1px solid #C9C9C9;
}

.contents .title_notice {
  margin: 0;
  padding: 10px 0;
  font-size: 18px;
  border-bottom: 1px solid #C9C9C9;
  background: #F4F4F4;
}

.contents .wrap-inner-notice ul {
  margin-bottom: 0;
  padding: 10px 10px 15px;
}

/* リンクボタン ---------------------- */
.contents .cmn-button {
  display: block;
  width: 90%;
  margin: 0 auto;
  padding: 15px 0 16px;
  position: relative;
  background: var(--grd-red);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  border: 3px solid var(--white);
  border-radius: 100px;
  transition: filter 0.2s;
}

.cmn-button:hover {
  filter: brightness(85%);
}

.cmn-button::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 24px;
  height: 24px;
  background-color: var(--white);
  border: 2px solid var(--red);
  border-radius: 50%;
  background-image: url('/img/usr/free/campaign_GWcampaign/arrow_re.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  z-index: 1;
}

.cmn-button-anc::after {
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
}

/* =====================================
   3. PC用設定 (780px以上)
   ===================================== */
/* 基本設定 (PC基準) */
@media only screen and (min-width: 780px) {
  .contents {
    /* --- 変数定義 --- */
    --block-inner-padding: 40px 0 60px;
    /* フォント */
    --font-size-base: 15px;

    /* --- スタイル適用 --- */
    font-size: var(--font-size-base);
  }

  .contents h2 {
    font-size: 28px;
  }

  .pc {
    display: block !important;
  }

  .sp {
    display: none !important;
  }

  /* =====================================
   2. 各セクション設定
   ===================================== */
  /* 期間 ---------------------- */
  .date-section {
    padding: 20px 0;
  }

  /* 応募方法 ---------------------- */
  .step-section h2 {
    margin: 10px auto 40px;
    font-size: 40px;
  }

  .step-section p {
    margin: 30px 0 40px;
    text-align: center;
    font-size: 13px;
    font-weight: 300;
  }

  /* お買い物 ---------------------- */
  .shopping-section .wrap-inner {
    width: 1200px;
    margin: 0 auto 60px;
    border-radius: 10px;
    background: var(--white);
  }

  .shopping-section h2 {
    gap: 10px;
    margin: 30px auto 30px;
    font-size: 30px;
    font-weight: 700;
  }

  .shopping-section h2::before,
  .shopping-section h2::after {
    content: "";
    display: inline-block;
    width: 45px;
    height: 45px;
    background-image: url("/img/usr/free/campaign_GWcampaign/titile_deco.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .shopping-section h2::after {
    transform: scaleX(-1);
  }

  /* バナー */
  .wrap-banner {
    padding: 20px 50px 30px;
  }

  .contents .wrap-inner-banner {
    gap: 25px;
    margin: 0 auto 30px;
  }

  .wrap-inner-banner li {
    width: calc((100% - 90px) / 4);
  }

  .wrap-inner-banner li img {
    border-radius: 4px;
  }

  /* カテゴリリンク */
  .wrap-category {
    padding: 10px 50px 50px;
  }

  .wrap-inner-link {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
  }

  .wrap-inner-link li {
    width: 100%;
  }

  .wrap-inner-link li a {
    height: 70px;
    padding: 0 10px 1px 15px;
  }

  .wrap-inner-link li a:hover {
    filter: brightness(1.05);
  }

  .wrap-inner-link li a::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--yellow-dark);
    border-right: 1px solid var(--yellow-dark);
    transform: rotate(45deg);
    margin-left: 10px;
  }

  /* キャンペーン詳細 ---------------------- */
  .contents .title_detail {
    font-size: 30px;
  }

  .wrap-inner-detail {
    width: 1200px;
  }

  /* 注意事項 */
  .contents .title_notice {
    margin: 0;
    padding: 15px 0;
    font-size: 18px;
    border-bottom: 1px solid #C9C9C9;
    background: #F4F4F4;
  }

  .contents .wrap-inner-notice ul {
    padding: 15px 30px 25px;
  }

  /* リンクボタン ---------------------- */
  .contents .cmn-button {
    width: 440px;
    padding: 16px 0 17px;
    font-size: 26px;
    border: 3px solid var(--white);
  }

  .cmn-button::after {
    right: 22px;
    width: 34px;
    height: 34px;
    border: 3px solid var(--red);
  }

  .cmn-button-anc::after {
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}