/* 2025.07.30 */
.p-campaign__hidden {
  position: relative;
  pointer-events: none;
  margin-bottom: 115px;
}

.p-campaign__hidden::after {
  content: "";
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100% + 52px + 47px);
  background: rgba(0, 0, 0, 0.8);
  z-index: 10;
}

.p-campaign__hidden-text {
  position: absolute;
  top: 280px;
  left: 50%;
  transform: translateX(-50%);
  width: 815px;
  z-index: 11;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign__hidden-text {
    top: calc(280 / 1280 * 100vw);
    width: calc(815 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign__hidden {
    margin-bottom: calc(40 / 375 * 100vw);
  }

  .p-campaign__hidden::after {
    top: -7.4666666667vw;
    height: calc(100% + 7.4666666667vw + 4vw);
  }

  .p-campaign__hidden-text {
    top: calc(110 / 375 * 100vw);
    width: calc(246 / 375 * 100vw);
  }
}

/* あなたはどう楽しむ？ ボタンを1つに変更 */
.p-hometime__buttons {
  width: 490px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-hometime__buttons {
    width: calc(490 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-hometime__buttons {
    width: calc(135 / 375 * 100vw);
  }
}

/* 写真を投稿してみよう セクション 追加 */
.p-pictures {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-top: 30px;
  padding-bottom: 210px;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-pictures {
    padding-top: calc(30 / 1280 * 100vw);
    padding-bottom: calc(210 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-pictures {
    padding-top: calc(12 / 375 * 100vw);
    padding-bottom: calc(110 / 375 * 100vw);
  }
}

.p-pictures__header {
  text-align: center;
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .p-pictures__header {
    margin-bottom: calc(18 / 375 * 100vw);
  }
}

.p-pictures__header .u-container {
  padding: 0;
}

/* TWUGCウィジェット スクロール競合対策 */
#ulTWUGCWidget {
  clear: both;
  height: auto !important;
  overflow: visible !important;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
}

#ulTWUGCWidget iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

/* プレゼントキャンペーン */
.p-campaign__logo {
  width: 1030px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign__logo {
    width: calc(1030 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign__logo {
    width: 100%;
  }
}

.p-campaign__logo img {
  width: 100%;
  min-width: 1030px;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign__logo img {
    min-width: calc(1030 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign__logo img {
    min-width: calc(350 / 375 * 100vw);
  }
}

/* プレゼント商品 */
.p-campaign-present__image {
  display: block;
  width: 946px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-present__image {
    width: calc(946 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-present__image {
    width: calc((518 / 2) / 375 * 100vw);
  }
}

.p-campaign-present__dejico {
  width: 880px;
  margin-top: 58px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-present__dejico {
    width: calc(880 / 1280 * 100vw);
    margin-top: calc(58 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-present__dejico {
    width: calc(190 / 375 * 100vw);
    flex-direction: column;
    align-items: center;
    gap: calc(27 / 375 * 100vw);
    margin-top: calc(32 / 375 * 100vw);
  }
}

.p-campaign-present__dejico-logo {
  width: 292px;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-present__dejico-logo {
    width: calc(292 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-present__dejico-logo {
    width: 100%;
  }
}

.p-campaign-present__button {
  margin: 0;
}

/* 応募方法に「投稿方法」を追加 */
.p-campaign-post {
  position: relative;
  width: 880px;
  margin: 80px auto 0;
  padding: 70px 0 25px;
  background-image: url(../img/bg_post_pc.svg);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-post {
    width: calc(880 / 1280 * 100vw);
    margin: calc(80 / 1280 * 100vw) auto 0;
    padding: calc(70 / 1280 * 100vw) 0 calc(25 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-post {
    width: calc(255 / 375 * 100vw);
    margin-inline: auto;
    padding: calc(30 / 375 * 100vw) 0 calc(30 / 375 * 100vw);
    margin-top: calc(76 / 375 * 100vw);
    background-image: url(../img/bg_post_sp.svg);
  }
}

.p-campaign-post__heading {
  width: 635px;
  margin: 0 auto 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-post__heading {
    width: calc(635 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-post__heading {
    position: absolute;
    top: calc(-15 / 375 * 100vw);
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: calc(275 / 375 * 100vw);
  }
}

.p-campaign-post__contents {
  width: 840px;
  margin: 0 auto 0;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-post__contents {
    width: calc(840 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-post__contents {
    width: calc(205 / 375 * 100vw);
  }
}

.p-campaign-post__desc {
  margin-bottom: 52px;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-post__desc {
    margin-bottom: calc(52 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-post__desc {
    flex-direction: column;
    margin-bottom: calc(28 / 375 * 100vw);
  }
}

.p-campaign-post__desc p {
  font-size: 15px;
  line-height: 26px;
  color: #55321e;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-align: justify;
  font-feature-settings: "palt";
  text-align: center;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-post__desc p {
    font-size: calc(17 / 1280 * 100vw);
    line-height: calc(28 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-post__desc p {
    font-size: calc(12 / 375 * 100vw);
    line-height: calc(20 / 375 * 100vw);
    letter-spacing: -0.02em;
    text-align: left;
  }
}

.p-campaign-post__steps {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-post__steps {
    gap: calc(20 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-post__steps {
    flex-direction: column;
    gap: calc(28 / 375 * 100vw);
  }
}

.p-campaign-post__step {
  width: 250px;
  font-size: 17px;
  line-height: 28px;
  color: #55321e;
  font-weight: 500;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-post__step {
    width: calc(250 / 1280 * 100vw);
    font-size: calc(17 / 1280 * 100vw);
    line-height: calc(28 / 1280 * 100vw);
    gap: calc(16 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-post__step {
    width: 100%;
    font-size: calc(12 / 375 * 100vw);
    line-height: calc(20 / 375 * 100vw);
    gap: calc(10 / 375 * 100vw);
  }
}

.p-campaign-post__note {
  margin: 25px auto 0;
  width: 940px;
  font-size: 12px;
  line-height: 20px;
  color: #55321e;
  font-feature-settings: "palt";
  text-align: justify;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-post__note {
    width: calc(940 / 1280 * 100vw);
    font-size: calc(12 / 1280 * 100vw);
    line-height: calc(20 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-post__note {
    width: calc(245 / 375 * 100vw);
    margin-top: calc(24 / 375 * 100vw);
    font-size: calc(10 / 375 * 100vw);
    line-height: calc(17 / 375 * 100vw);
  }
}

/* 対象商品に追加 */
.p-campaign-product__image.is-item9 img {
  width: 179px;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-product__image.is-item9 img {
    width: calc(179 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-product__image.is-item9 img {
    width: calc(98 / 375 * 100vw);
  }
}

.p-campaign-product__image.is-item10 img {
  width: 173px;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-product__image.is-item10 img {
    width: calc(173 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-product__image.is-item10 img {
    width: calc(96 / 375 * 100vw);
  }
}

/* お問い合わせ */
.p-campaign-contact__time .note {
  font-size: 16px;
  margin-left: 0.3em;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .p-campaign-contact__time .note {
    font-size: calc(16 / 1280 * 100vw);
  }
}

@media screen and (max-width: 767px) {
  .p-campaign-contact__time .note {
    font-size: calc(10 / 375 * 100vw);
    font-weight: 400;
  }
}