.scos-christmas {
  --xmas-navy: #203256;
  --xmas-red: #c30b17;
  --xmas-green: #193b30;
  --xmas-wave-height: clamp(36px, 5vw, 76px);
  max-width: 960px;
  margin-inline: auto;
  background: #fff;
  color: var(--xmas-navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  font-size: 16px;
  line-height: 1.55;
  container-type: inline-size;
}

.scos-christmas :is(h1, h2, h3, p, ol) {
  margin: 0;
  padding: 0;
}

.scos-christmas picture,
.scos-christmas img {
  display: block;
}

.scos-christmas img {
  width: 100%;
  height: auto;
  max-width: none;
}

.scos-christmas .xmas-intro {
  position: relative;
  z-index: 1;
  display: flow-root;
  min-height: calc(50.8cqw - var(--xmas-wave-height));
}

.scos-christmas .xmas-intro-copy {
  width: 51%;
  margin: 6.9% 0 24px 15%;
  text-align: left;
}

.scos-christmas .xmas-tree {
  position: absolute;
  right: 2%;
  bottom: calc(16px - var(--xmas-wave-height));
  width: 31%;
  pointer-events: none;
}

.scos-christmas .xmas-wave {
  position: relative;
  left: 50%;
  width: 100vw;
  height: var(--xmas-wave-height);
  margin-bottom: -2px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--xmas-navy);
}

html:has(.scos-christmas) {
  overflow-x: clip;
}

.scos-christmas .xmas-intro h2 {
  font-size: clamp(17px, 2.65cqw, 26px);
  font-weight: 600;
}

.scos-christmas .xmas-intro p {
  margin-top: 1.7cqw;
  font-size: clamp(13px, 1.65cqw, 16px);
  line-height: 1.65;
}

.scos-christmas .xmas-gift {
  padding: 4cqw 0 3.4cqw;
  color: #fff;
  text-align: center;
}

.scos-christmas .xmas-gift--navy {
  --xmas-section: var(--xmas-navy);
  padding-top: 5.5cqw;
}

.scos-christmas .xmas-gift--red {
  --xmas-section: var(--xmas-red);
}

.scos-christmas .xmas-gift {
  background: var(--xmas-section);
}

.scos-christmas .xmas-kicker {
  width: 48%;
  margin: 0 auto 2.65cqw;
}

.scos-christmas .xmas-condition {
  font-size: clamp(14px, 2.15cqw, 21px);
}

.scos-christmas .xmas-gift h2 {
  margin-top: .4cqw;
  font-size: clamp(20px, 3.5cqw, 34px);
  font-weight: 600;
}

.scos-christmas .xmas-product {
  margin-top: 4.6cqw;
  font-size: clamp(17px, 3.35cqw, 32px);
  line-height: 1.35;
}

.scos-christmas .xmas-card {
  position: relative;
  width: 86.63%;
  margin: 5.6cqw auto 0;
}

.scos-christmas .xmas-limit {
  position: absolute;
  top: 0;
  left: 2.5%;
  z-index: 1;
  width: clamp(76px, 17cqw, 164px);
  height: auto;
  transform: translateY(-50%);
}

.scos-christmas .xmas-divider {
  width: 25.4%;
  margin: 4cqw auto 0;
}

.scos-christmas .xmas-wrap {
  position: relative;
  left: 50%;
  width: 100vw;
  box-sizing: border-box;
  transform: translateX(-50%);
  padding: clamp(26px, 6vw, 92px) 0;
  background: #304542 url("../img/wrapping-background.jpg?v=23") center / cover no-repeat;
  color: var(--xmas-green);
  text-align: center;
}

.scos-christmas .xmas-wrap-panel {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 18fr) minmax(0, 82fr);
  align-items: center;
  column-gap: 1.8cqw;
  width: min(86.63cqw, 850px);
  margin: 0 auto;
  padding: clamp(25px, 5cqw, 56px) 4.3cqw;
  background: rgb(255 255 255 / 94%);
}

.scos-christmas .xmas-wrap-panel h3 {
  grid-column: 1 / -1;
  margin-bottom: 2.2cqw;
  font-size: clamp(20px, 3.45cqw, 34px);
  font-weight: 600;
  letter-spacing: .08em;
}

.scos-christmas .xmas-wrap-panel h3::before {
  display: block;
  width: clamp(54px, 14cqw, 134px);
  height: clamp(20px, 5.6cqw, 54px);
  margin: 0 auto .6cqw;
  background: repeating-conic-gradient(
    from -48deg at 50% 130%,
    currentColor 0deg 2deg,
    transparent 2deg 12deg
  );
  clip-path: ellipse(50% 66% at 50% 68%);
  content: "";
  mask: radial-gradient(ellipse at 50% 130%, transparent 0 44%, #000 45%);
}

.scos-christmas .xmas-step-label {
  box-sizing: border-box;
  display: grid;
  min-height: 8.4cqw;
  padding: 8px 13% 8px 9%;
  place-items: center;
  background: var(--xmas-green);
  color: #fff;
  clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%);
  font-size: clamp(11px, 1.55cqw, 15px);
  line-height: 1.35;
}

.scos-christmas .xmas-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: xmas-step;
  list-style: none;
}

.scos-christmas .xmas-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  justify-items: start;
  align-content: start;
  gap: 5px;
  padding: 0 1.2cqw;
  counter-increment: xmas-step;
  font-size: clamp(12px, 1.58cqw, 16px);
  line-height: 1.45;
  text-align: left;
}

.scos-christmas .xmas-steps li + li {
  border-inline-start: 1px solid #d9c5a4;
}

.scos-christmas .xmas-steps li::before {
  display: grid;
  width: clamp(18px, 2.3cqw, 23px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--xmas-green);
  color: #fff;
  content: counter(xmas-step);
  font-family: Meiryo, sans-serif;
  font-size: .82em;
}

.scos-christmas .xmas-steps li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  right: -5px;
  top: 67%;
  border-block: 5px solid transparent;
  border-left: 7px solid var(--xmas-green);
  content: "";
}

.scos-christmas .xmas-step-icon {
  grid-column: 1 / -1;
  justify-self: center;
  width: clamp(28px, 5.9cqw, 55px);
}

.scos-christmas .xmas-action {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-grid;
  min-height: 44px;
  margin-top: 3cqw;
  padding-inline: clamp(18px, 5cqw, 48px);
  place-items: center;
  border-radius: 999px;
  background: var(--xmas-red);
  color: #fff;
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(13px, 1.9cqw, 19px);
  font-weight: 700;
  text-decoration: none;
}

.scos-christmas a.xmas-action:hover {
  background: #a00913;
}

.scos-christmas a.xmas-action:focus-visible {
  outline: 3px solid var(--xmas-green);
  outline-offset: 3px;
}

.scos-christmas .xmas-action-note {
  grid-column: 1 / -1;
  margin-top: .7cqw;
  font-size: clamp(11px, 1.4cqw, 14px);
}

.scos-christmas .xmas-credit {
  padding: 5px 7%;
  font-size: 12px;
  text-align: right;
}

@media (max-width: 767px) {
  .scos-christmas {
    --xmas-wave-height: clamp(27px, 8vw, 50px);
  }

  .scos-christmas .xmas-intro {
    min-height: 0;
  }

  .scos-christmas .xmas-tree {
    position: relative;
    right: auto;
    bottom: auto;
    width: clamp(130px, 38cqw, 194px);
    margin: 0 auto -12px;
    transform: translateY(clamp(18px, 5cqw, 24px));
  }

  .scos-christmas .xmas-wave {
    left: auto;
    width: 100%;
    transform: none;
  }

  .scos-christmas .xmas-intro-copy {
    width: min(92%, 480px);
    margin: calc(4% + 16px) auto 14px;
    text-align: center;
  }

  .scos-christmas .xmas-intro h2 {
    font-size: clamp(17px, 4.9cqw, 29px);
    line-height: 1.34;
    text-align: center;
  }

  .scos-christmas .xmas-intro h2 span {
    display: block;
  }

  .scos-christmas .xmas-intro p {
    width: auto;
    margin: 3.5cqw auto 0;
    text-wrap: pretty;
    word-break: auto-phrase;
    font-size: clamp(12px, 3.05cqw, 17px);
    line-height: 1.53;
  }

  .scos-christmas .xmas-gift {
    padding: 5cqw 0 4cqw;
  }

  .scos-christmas .xmas-kicker {
    width: 72%;
    margin-bottom: 1.6cqw;
  }

  .scos-christmas .xmas-gift h2 {
    font-size: clamp(20px, 6.15cqw, 34px);
  }

  .scos-christmas .xmas-product {
    margin-top: 6cqw;
    font-size: clamp(17px, 5.35cqw, 30px);
  }

  .scos-christmas .xmas-card {
    width: 92.5%;
    margin-top: calc(13.6cqw + 12px);
  }

  .scos-christmas .xmas-limit {
    left: 4.5%;
    width: clamp(72px, 26cqw, 135px);
  }

  .scos-christmas .xmas-divider {
    width: 38%;
  }

  .scos-christmas .xmas-wrap-panel {
    grid-template-columns: minmax(0, 1fr);
    width: 93%;
    padding: 24px 5.5cqw;
  }

  .scos-christmas .xmas-wrap-panel h3 {
    margin-bottom: 2.6cqw;
    font-size: clamp(20px, 5.9cqw, 33px);
  }

  .scos-christmas .xmas-step-label {
    position: relative;
    z-index: 0;
    width: fit-content;
    min-height: 0;
    margin: 0 auto 4cqw;
    padding: 5px 22px;
    background: transparent;
    clip-path: none;
  }

  .scos-christmas .xmas-step-label::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--xmas-green);
    clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
    content: "";
  }

  .scos-christmas .xmas-step-label::after {
    position: absolute;
    z-index: -2;
    inset: 50% -12cqw auto;
    height: 1px;
    background: #446355;
    content: "";
  }

  .scos-christmas .xmas-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 4.5cqw;
    width: 93%;
    margin-inline: auto;
  }

  .scos-christmas .xmas-steps li {
    box-sizing: border-box;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 2.4cqw;
    min-height: clamp(50px, 15cqw, 86px);
    padding: 1.5cqw 3.3cqw;
    border: 0;
    border-radius: 8px;
    background: #e3e5df;
    font-size: clamp(12px, 3.25cqw, 18px);
  }

  .scos-christmas .xmas-steps li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -3.5cqw;
    left: 50%;
    transform: translateX(-50%);
    border: 0;
    border-inline: 6px solid transparent;
    border-top: 6px solid #b58940;
  }

  .scos-christmas .xmas-step-icon {
    grid-column: auto;
    width: clamp(28px, 10cqw, 52px);
  }

  .scos-christmas .xmas-action {
    margin-top: 5.8cqw;
    font-size: clamp(13px, 3.55cqw, 19px);
  }
}

@media (min-width: 768px) {
  .scos-christmas .xmas-gift {
    box-shadow: 0 0 0 100vmax var(--xmas-section);
    clip-path: inset(0 -100vmax);
  }
}


.scos-christmas .xmas-hero {
  position: relative;
}

.scos-christmas .xmas-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffe2a2;
  text-align: center;
}

.scos-christmas .xmas-wrap-intro {
  grid-column: 1 / -1;
  margin-bottom: clamp(22px, 4cqw, 44px);
}

.scos-christmas .xmas-wrap-intro h2 {
  font-size: clamp(23px, 4cqw, 39px);
  line-height: 1.35;
  letter-spacing: .09em;
}

.scos-christmas .xmas-wrap-intro p {
  margin-top: 14px;
  font-size: clamp(14px, 1.9cqw, 18px);
}

.scos-christmas .xmas-wrap-product {
  position: relative;
  width: min(220px, 56%);
  margin: 18px auto 10px;
}

.scos-christmas .xmas-wrap-price {
  position: absolute;
  top: 13%;
  right: -36px;
  display: grid;
  place-content: center;
  width: clamp(48px, 8cqw, 72px);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fffffff0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
}

.scos-christmas .xmas-wrap-price small {
  font-size: 1.3em;
}

@media (min-width: 768px) {
  .scos-christmas .xmas-hero {
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #b51020;
  }

  .scos-christmas .xmas-hero-image img {
    width: 100%;
    height: clamp(420px, 34.64vw, 665px);
    object-fit: cover;
    object-position: center bottom;
  }

  .scos-christmas .xmas-hero-copy {
    padding-top: clamp(90px, 9.6vw, 182px);
  }

  .scos-christmas .xmas-hero-title {
    font-size: clamp(34px, 3.3vw, 60px);
    line-height: 1.18;
    letter-spacing: .2em;
    text-shadow: 0 2px 12px #760c14;
  }

  .scos-christmas .xmas-hero-date {
    margin-top: 12px;
    color: #fff8e5;
    font: 600 clamp(14px, 1.35vw, 22px) / 1.4 Georgia, serif;
    letter-spacing: .08em;
  }
}

@media (max-width: 767px) {
  .scos-christmas .xmas-wrap {
    left: auto;
    width: 100%;
    transform: none;
  }

  .scos-christmas .xmas-wrap-product {
    width: min(190px, 62%);
  }
}

@media (max-width: 767px) {
  .scos-christmas .xmas-hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 200 / 259;
    object-fit: cover;
    object-position: center bottom;
  }

  .scos-christmas .xmas-hero-copy {
    inset: 25% 12px auto;
  }

  .scos-christmas .xmas-hero-title {
    font-size: clamp(22px, 6.7cqw, 42px);
    line-height: 1.24;
    letter-spacing: .18em;
    text-shadow: 0 2px 10px #760c14;
  }

  .scos-christmas .xmas-hero-date {
    margin-top: clamp(10px, 3cqw, 18px);
    color: #fff8e5;
    font: 600 clamp(13px, 3.3cqw, 21px) / 1.4 Georgia, serif;
    letter-spacing: .06em;
  }
}
