@charset "utf-8";

:root {
  --fridayYellow: #fedd2c;
  --colorNaeba: #ef858c;
  --colorTohoku: #9885ef;
  --colorInawashiro: #6187c1;
  --colorShiga: #61c1be;
  --colorHakuba: #69bd83;
  --colorNozawa: #54c3f1;
  --colorKusatsu: #93c161;
  --colorKanto: #c16184;
  --colorAkakura: #ef845c;
}

.cmp_header {
  padding: 0 calc(50vw - 50%);
  margin: 0 calc(50% - 50vw);
  min-height: 38rem;
  background: url("https://ski.bigs.jp/special/coupon/img/20221216_ski-coupon-top-sp.jpg") no-repeat 50% 0% / cover;
  position: relative;
}
@media screen and (min-width: 768px) {
  .cmp_header {
    background: url("https://ski.bigs.jp/special/coupon/img/20221216_ski-coupon-top-pc.jpg") no-repeat 50% 0% / cover;
    min-height: 50rem;
  }
}

.cmp_topicpath li {
  color: #ffffff !important;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

main {
  font-weight: 500;
  line-height: 1.3;
}

.br-sp {
  display: inline-block;
}
.br-pc {
  display: none;
}

@media (min-width: 768px) {
  .br-sp {
    display: none;
  }
  .br-pc {
    display: inline-block;
  }
}

section {
  padding: 3rem 0;
}

.applying {
  background: #f5f5f5;
  border: 2px solid #1a816c;
  border-radius: 5px;
  padding: 1rem;
}
.applying h2 {
  text-align: center;
  margin: 2rem 0;
}
.applying p {
  margin-top: 1rem;
  font-size: 0.8em;
}

.applying_flow {
  margin: 2rem auto;
}

.applying_flow ol {
  font-size: 0.9em;
  font-weight: 600;
  padding-left: 2rem;
  line-height: 2;
}

@media screen and (min-width: 768px) {
  .applying_flow {
    font-size: 1.2em;
    width: 80%;
  }
}

/* -- キャンペーンリスト -- */

.campaign_list {
  background-color: #1a816c;
  padding: 0;
}

.campaign_item {
  margin: 0 calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: #1a816c;
  border-bottom: 1px dashed #fff;
}

/* -- 偶数の時、背景と予約にすすむの文字色変更 -- */
.campaign_item:nth-of-type(even) {
  background-color: #1f576d;
}

.campaign_item:nth-of-type(even) .item::after {
  color: #1f576d;
  text-decoration-color: #1f576d;
}

/* -- キャンペーンの内容CSS -- */

.campaign_item h2 {
  font-size: 3em;
  text-align: center;
  color: #fff;
  /* text-shadow: 0 0 0.05em #fedd2c, 0 0 0.1em #fedd2c, 0 0 0.15em #fedd2c, 0 0 0.3em #fedd2c;
  filter: saturate(80%); */
  text-shadow: 0 0 0.5em #c74040, 0 0 0.1em #c74040, 0 0 0.1em #c74040, 0 0 0.7em #ffffff;
  filter: saturate(90%);
  font-family: kurobara-cinderella, sans-serif;
  font-weight: 400;
  font-style: normal;
}
@media screen and (min-width: 768px) {
  .campaign_item h2 {
    font-size: 5rem;
    margin: 2rem 0;
  }
}

.cp-price {
  text-align: center;
  position: relative;
  background: #c74040;
  padding: 0.5em;
  border-left: solid 2em #ffffff;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.5em;
  font-weight: 600;
}

.cp-price::before {
  font-family: "Font Awesome 5 pro";
  content: "\f06b";
  position: absolute;
  padding: 0em;
  color: #c74040;
  font-weight: 400;
  left: -1.5em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.cp-price:after {
  content: "オフクーポン";
  font-size: 0.8em;
  padding-left: 0.3em;
}

/* -- クーポンコードの説明 --  */
.cp_box {
  border: 2px solid #d9c682;
  background: #fbfaf1;
  border-radius: 5px;
  padding: 0 1rem;
  text-align: center;
  font-weight: 600;
}

.coupon_code {
  font-size: 2em;
  color: #d42020;
  text-align: center;
  margin: 2rem 0;
}
.coupon_code::before {
  display: block;
  content: "クーポンコード";
  font-size: 0.3em;
  color: #333;
}
.coupon_code::after {
  display: block;
  content: "※スクリーンショットで保存が便利";
  font-size: 0.4em;
  color: #333;
  padding-top: 0.75rem;
}

.coupon-date,
.expiration-date {
  font-size: 0.9em;
  background: linear-gradient(transparent 70%, #f3ce47d9 60%);
  width: fit-content;
  margin: 0 auto 0.75rem;
  padding: 0;
}
.coupon-date::before {
  content: "対象期間：";
  padding-right: 0.3em;
}

.expiration-date::before {
  content: "有効期限：";
  padding-right: 0.3em;
}

/* -- クーポンコードコピーボタン --  */
.copy_btn {
  cursor: pointer;
  background: #a19e96;
  color: #fff;
  border-radius: 35px;
  width: fit-content;
  padding: 1rem 3rem;
  margin: 2rem auto;
  position: relative;
  font-size: 0.9em;
}

/* .tooltip::after {
  content: "Copied!";
  background: #555;
  display: inline-block;
  color: #fff;
  border-radius: 0.4rem;
  position: absolute;
  left: 50%;
  bottom: -1rem;
  transform: translate(-50%, 0);
  font-size: 0.75rem;
  padding: 4px 10px 6px 10px;
  animation: fade-tooltip 0.5s 1s 1 forwards;
} */

/* -- クーポン対象商品CSS  -- */

.product_list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: 3rem;
  grid-row-gap: 3rem;
  padding: 2rem;
}
@media screen and (min-width: 768px) {
  .product_list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.item {
  position: relative;
  box-shadow: #0000003b 0px 2px 5px;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
}

.item_img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/1;
  object-fit: cover;
}

.item_name {
  padding: 2rem 1rem;
}

@media screen and (min-width: 768px) {
  .item_img img {
    aspect-ratio: 1/1;
  }
}

.item_transport {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.75rem 1.5rem;
  background-color: #c74040;
  border-radius: 30px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
  color: #fff;
  font-size: 0.9em;
}

.item::after {
  content: "予約にすすむ";
  display: block;
  width: fit-content;
  margin: 2rem auto;
  text-align: center;
  font-size: 1em;
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 1px;
  text-decoration-color: #1a816c;
  color: #1a816c;
}

@media screen and (min-width: 768px) {
  .apply_coupon,
  .cp {
    width: 850px;
    margin: 0 auto;
  }
}

.item_price {
  color: #5c5c5c;
  font-size: 1.6em;
  font-weight: 600;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.price-before span {
  text-decoration: line-through;
}

.price-after {
  color: #ea1f20;
}

.price-before::before,
.price-after::before {
  display: block;
  color: #333;
  font-size: 0.5em;
  text-align: center;
}

.price-before::before {
  content: "適用前";
}

.price-after::before {
  content: "適用後";
  color: #ea1f20;
}

.price-before::after,
.price-after::after {
  content: "円";
  font-size: 0.5em;
  padding-left: 0.3em;
}
