/* ==========================================================
   Silver Week Recommend LP
   ecbeing free-page scoped styles
   ========================================================== */

.sw-recommend {
  --sw-font-jp: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN",
                "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --sw-font-en: "museo-sans", Arial, Helvetica, sans-serif;

  --sw-navy: #06142e;
  --sw-red: #e1261c;
  --sw-ivory: #e8e7d7;
  --sw-bg-campaign: #e6e6e1;
  --sw-text: #111111;
  --sw-muted: #666666;

  width: 100%;
  color: var(--sw-text);
  background: #fff;
  font-family: var(--sw-font-jp);
  font-weight: 300; /* ヒラギノ角ゴ W3 */
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.sw-recommend,
.sw-recommend *,
.sw-recommend *::before,
.sw-recommend *::after {
  box-sizing: border-box;
}

.sw-recommend img {
  display: block;
  width: 100%;
  height: auto;
}

.sw-recommend a {
  color: inherit;
  text-decoration: none;
}

.sw-recommend h1,
.sw-recommend h2,
.sw-recommend h3,
.sw-recommend p,
.sw-recommend dl,
.sw-recommend dd,
.sw-recommend figure,
.sw-recommend ul {
  margin: 0;
  padding: 0;
}

.sw-recommend ul {
  list-style: none;
}

.sw-container {
  width: min(100% - 64px, 960px);
  margin-inline: auto;
}

.sw-container--narrow {
  width: min(100% - 64px, 760px);
}

.sw-container--campaign {
  width: min(100% - 64px, 820px);
}

.sw-pc {
  display: initial;
}

.sw-sp {
  display: none;
}

/* ---------- FV ---------- */
.sw-fv {
  width: 100%;
  background: var(--sw-ivory);
}

.sw-fv__picture {
  display: block;
  width: 100%;
}

.sw-fv__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Intro ---------- */
.sw-intro {
  padding: 62px 0 68px;
  text-align: center;
  font-size: 16px;
}

.sw-intro p + p {
  margin-top: 18px;
}

/* ---------- Scene ---------- */
.sw-scene {
  padding: 58px 0 84px;
}

.sw-scene--second {
  padding-top: 62px;
  padding-bottom: 106px;
}

/* 上段：大きな番号 + 見出し */
.sw-scene__top {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 38px;
  align-items: end;
  margin-bottom: 34px;
}

.sw-scene__number {
  font-family: var(--sw-font-en);
  font-size: 135px;
  font-style: italic;
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.055em;
  color: var(--sw-navy);
}

.sw-scene__copy {
  padding-top: 6px;
}

.sw-scene__copy h2 {
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
}

.sw-scene__lead {
  font-size: 16px;
  line-height: 1.75;
}

.sw-scene__lead strong {
  font-weight: 600;
}

/* 下段：縦書きラベル + 商品2列 */
.sw-scene__content {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  padding-left: 60px;
}

.sw-scene__label {
  justify-self: center;
  margin-top: -2px;
  font-family: var(--sw-font-en);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  color: var(--sw-navy);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.sw-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
}

.sw-product__link {
  display: block;
}

.sw-product__image {
  overflow: hidden;
  background: #f2f2f2;
}

.sw-product__image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}

.sw-product__link:hover .sw-product__image img {
  transform: scale(1.025);
}

.sw-product__meta {
  padding-top: 12px;
}

.sw-product__brand {
  margin-bottom: 2px !important;
  font-family: var(--sw-font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
}

.sw-product h3 {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
}

/* ---------- Campaign ---------- */
.sw-campaign {
  padding: 78px 0 96px;
  background: var(--sw-bg-campaign);
  text-align: center;
}

.sw-campaign__header {
  margin-bottom: 32px;
}

.sw-campaign__title {
  font-family: var(--sw-font-en);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  color: var(--sw-red);
}

.sw-campaign__jp {
  margin-top: 8px !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
}

/* coupon ticket */
.sw-coupon {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 88px;
  width: min(100%, 540px);
  margin: 0 auto 26px;
  color: var(--sw-red);
  background: #fff;
  border: 1px solid var(--sw-red);
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.06));
}

.sw-coupon-image {
  width: min(100%, 540px);
  margin: 0 auto;
}

.sw-coupon-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .sw-coupon-image {
    width: calc(100% - 40px);
  }
}


.sw-coupon::before,
.sw-coupon::after {
  content: "";
  position: absolute;
  right: 74px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sw-bg-campaign);
}

.sw-coupon::before {
  top: -14px;
}

.sw-coupon::after {
  bottom: -14px;
}

.sw-coupon__main {
  position: relative;
  padding: 16px 18px 13px;
}

.sw-coupon__condition,
.sw-coupon__caption {
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.sw-coupon__condition {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--sw-red);
}

.sw-coupon__discount {
  display: block;
  margin: 2px 0 -2px;
  font-family: var(--sw-font-en);
  font-size: 57px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}

.sw-coupon__discount span {
  margin-left: 4px;
  font-size: .45em;
  letter-spacing: -.02em;
}

.sw-coupon__side {
  display: grid;
  place-items: center;
  border-left: 1px dashed var(--sw-red);
  font-family: var(--sw-font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  writing-mode: vertical-rl;
}

.sw-campaign__copy h2 {
  margin: 36px 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.42;
}

.sw-campaign__copy p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.sw-code {
  margin-top: 28px;
}

.sw-code dt {
  font-size: 12px;
  font-weight: 600;
}

.sw-code dd {
  margin-top: -2px;
  font-family: var(--sw-font-en);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .05em;
}

.sw-campaign__period {
   margin-top: 48px !important;
   font-size: 16px;
   font-weight: 600;
}

.sw-coupon-detail {
  margin-top: 42px;
  padding: 24px 30px 26px;
  background: #fff;
  border-radius: 2px;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
}

.sw-coupon-detail h3 {
  font-size: 14px;
  font-weight: 600;
}

.sw-coupon-detail h3:not(:first-child) {
  margin-top: 16px;
}

.sw-coupon-detail ul {
  margin-top: 4px;
}

.sw-coupon-detail li {
  position: relative;
  padding-left: 1em;
}

.sw-coupon-detail li::before {
  content: "\30FB";
  position: absolute;
  left: 0;
}

.sw-coupon-detail__note {
  margin-top: 3px !important;
}

.sw-campaign__guide {
    width: min(100%, 520px) !important;
    margin: 48px auto 0 !important;
    border: 1px solid #ddd;
    background: #fff;
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .sw-container,
  .sw-container--narrow,
  .sw-container--campaign {
    width: calc(100% - 40px);
  }

  .sw-pc {
    display: none;
  }

  .sw-sp {
    display: inline;
  }
  
  .sw-intro {
    padding: 40px 0 40px;
    font-size: 13px;
    text-align: left;
  }

  .sw-intro p {
    font-size: 14px;
  }
  
  .sw-intro p + p {
    margin-top: 14px;
    font-size: 13px;
  }

  .sw-scene,
  .sw-scene--second {
    padding: 48px 0 64px;
  }

  .sw-scene__top {
    grid-template-columns: 94px minmax(0, 1fr);
    column-gap: 20px;
    margin-bottom: 26px;
  }

  .sw-scene__number {
    font-size: 68px;
  }

  .sw-scene__copy {
    padding-top: 1px;
  }

  .sw-scene__copy h2 {
    margin-bottom: 7px;
    font-size: 18px;
  }

  .sw-scene__lead {
    font-size: 13px;
  }

  .sw-scene__content {
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 12px;
    padding-left: 34px;
  }

  .sw-scene__label {
    font-size: 14px;
  }

  .sw-products {
    gap: 12px;
  }

  .sw-product__meta {
    padding-top: 8px;
  }

  .sw-product__brand {
    font-size: 8px;
  }

  .sw-product h3 {
    font-size: 10px;
  }

  .sw-campaign {
    padding: 58px 0 70px;
  }

  .sw-campaign__title {
    font-size: 35px;
  }

  .sw-coupon {
    grid-template-columns: 1fr 64px;
  }

  .sw-coupon::before,
  .sw-coupon::after {
    right: 52px;
    width: 24px;
    height: 24px;
  }

  .sw-coupon::before {
    top: -12px;
  }

  .sw-coupon::after {
    bottom: -12px;
  }

  .sw-coupon__discount {
    font-size: 44px;
  }

  .sw-campaign__copy h2 {
    font-size: 21px;
  }

  .sw-campaign__copy p {
    font-size: 14px;
  }

  .sw-coupon-detail {
    margin-top: 34px;
    padding: 20px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .sw-scene__top {
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .sw-scene__number {
    font-size: 62px;
  }

  .sw-scene__copy h2 {
    font-size: 17px;
  }

  .sw-scene__content {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 10px;
    padding-left: 0;
  }

  .sw-scene__label {
    font-size: 27px;
  }

  .sw-products {
    gap: 10px;
  }
}
