@charset "utf-8";

/* ======================================================
  初期設定
====================================================== */
ul,
li,
ol {
  list-style: none;
}
h1 {
  margin: 0;
}

body {
  overflow: visible !important;
}

main {
  width: 100%;
  margin-top: 86px;
  overflow: hidden;
}

/* ======================================================
  共通設定
====================================================== */

/* ヘッダー */
.header_logo {
  text-align: center;
  border-bottom: solid 1px #ccc;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header_logo img {
  width: 100%;
  max-width: 420px;
}

/* 追従ヘッダー */
.start {
  display: none;
  z-index: 9999;
}
.fixed {
  position: fixed;
  top: 0;
  display: block;
}

/* PC・SPの出し分け（ここだけで管理する） */
.sp {
  display: none !important;
}
@media screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}

#xmas {
  width: 100%;
  color: #1a1a1a;
  font-size: 16px;
  text-align: center;

  /* カラー設定 */
  --xmas-main: #1a1a1a;
  --xmas-line: #ccc;
  --xmas-white: #fff;
  --xmas-snow: #f1f1f1;
  --xmas-red: #a51f28;
  --xmas-green: #005b35;
  --xmas-kv: #d80c18;
}

#xmas * {
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

#xmas #item-list [hidden],
#xmas #item-ranking [hidden] {
  display: none !important;
}

/* --- インナーボックス --- */
#xmas .contents {
  margin-bottom: 150px;
}
#xmas .contents:has(.kv) {
  margin-bottom: 0;
}
#xmas .contents .inner {
  width: 1000px;
  margin: auto;
}
#xmas .contents .inner .info {
  margin-bottom: 80px;
}
#xmas .contents .inner .flex {
  display: flex;
  justify-content: space-between;
  gap: 10px 20px;
  margin: 0 0 50px;
}

/* --- ボタン（.btn） --- */
#xmas .btn {
  margin-bottom: 30px;
}
#xmas .btn a {
  display: block;
  width: 350px;
  margin: auto;
  padding: 30px 0;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
}
#xmas .btn a::before {
  content: ">";
  padding-right: 10px;
}
#xmas .btn a:hover {
  background: #9a6741;
}

/* --- ボタン（.btn_txt） --- */
#xmas .btn_txt {
  margin-bottom: 30px;
}
#xmas .btn_txt a {
  display: block;
  width: 350px;
  margin: auto;
  color: #1a1a1a;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
}
#xmas .btn_txt a::before {
  content: ">";
  padding-right: 10px;
}

/* --- タイトル（.title_block） --- */
#xmas .contents .title_block {
  margin-bottom: 50px;
}
#xmas .contents .title_block h2.maintitle {
  margin-bottom: 10px;
  font-size: 2.4rem;
  line-height: 1.4;
  font-weight: bold;
}
#xmas .contents .title_block h3.maintitle {
  margin-bottom: 20px;
  font-size: 2.2rem;
  line-height: 1.4;
  font-weight: bold;
}
#xmas .contents .title_block .subtitle {
  font-size: 1.8rem;
}
#xmas .contents .inner p.lead_text {
  margin-bottom: 30px;
}

#xmas .line {
  width: 100%;
  margin-bottom: 120px;
}

/* ------------------------------------------------------
    ヒーロー（#hero）
------------------------------------------------------ */

#xmas #hero .kv {
  position: relative;
  margin-bottom: 120px;
  overflow: visible;
}
#xmas #hero .kv .kv_flat {
  display: none !important;
}
#xmas #hero .kv .kv_img > div {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920/800;
  background: var(--xmas-kv);
  overflow: hidden;
}
#xmas #hero .kv .kv_img img.kv_parts {
  position: absolute;
  top: auto;
  bottom: -1px;
  left: 0;
  width: 100%;
}
#xmas #hero .kv .kv_img img[src*="stars"]    { z-index: 20; bottom: auto; top: -5%; }
#xmas #hero .kv .kv_img img[src*="building"] { z-index: 21; }
#xmas #hero .kv .kv_img img[src*="ground"]   { z-index: 22; }
#xmas #hero .kv .kv_img img[src*="people"]   { z-index: 23; }
#xmas #hero .kv .kv_img img[src*="title"]   { z-index: 24; }
#xmas #hero .kv .kv_img img[src*="curtain"]   { z-index: 25; height: 115%; width: auto;top: 0; bottom: auto; }
#xmas #hero .kv .kv_img img[src*="curtain_01"]   { left: -15%; right: auto; }
#xmas #hero .kv .kv_img img[src*="curtain_02"]   { left: auto; right: -15%;}

#xmas #hero .kv #snow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 24;
  pointer-events: none;
}
#xmas #hero .kv > div img {
  width: 100%;
  display: block;
}
#xmas #hero .kv > img.curtain {
  position: absolute;
  top: -20%;
  height: 140%;
  display: block;
  z-index: 99;
}
#xmas #hero .kv > img.curtain:first-of-type {
  left: -20%;
  right: auto;
}
#xmas #hero .kv > img.curtain:last-of-type {
  left: auto;
  right: -20%;
}
#xmas #hero .campains .inner {
  width: 800px;
}
#xmas #hero .campains .content .item > p {
  font-size: 1.4rem;
}

/* ------------------------------------------------------
    商品リスト（#item-list）
------------------------------------------------------ */
#xmas #item-list .item-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3%;
  align-items: stretch;
  margin-bottom: 120px;
  text-align: left;
}

#xmas #item-list .item-card .item-image {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
}

#xmas #item-list .item-card .item-image .rect {
  position: absolute;
  display: block;
  top: 0%;
  left: 0%;
  width: 90%;
  aspect-ratio: 1 / 1;
  z-index: 0;
  background: var(--xmas-red);
}
#xmas #item-list .item-card .item-image .rect::before {
  position: absolute;
  display: block;
  top: -3%;
  left: -3%;
  width: 30%;
  aspect-ratio: 300/56;
  z-index: 0;
  -webkit-mask: url(../img/parts_snowpack_01.svg) no-repeat center / cover;
  mask: url(../img/parts_snowpack_01.svg) no-repeat center / cover;
  background-color: var(--xmas-snow);
  content: "";
  
}
#xmas #item-list .item-card .item-image img {
  position: relative;
  z-index: 1;
  display: block;
  object-fit: contain;
  width: 90%;
  aspect-ratio: 1 / 1;
  left: 5%;
  top: 5%;
}

#xmas #item-list .item-card .item-detail {
  display: grid;
  grid-template-rows: 0.6fr minmax(0, 1fr);
}

#xmas #item-list .item-card .item-detail * {
  line-height: 1.6;
}

#xmas #item-list .item-card .item-detail .theme {
  grid-row: 1;
  align-self: flex-end;
  font-size: 3.2rem;
  font-weight: bold;
  letter-spacing: 0.12em;
}

#xmas #item-list .item-card .item-detail > div {
  grid-row: 2;
  align-content: end;
}

#xmas #item-list .item-card .item-detail > div .name {
  font-size: 2rem;
  font-weight: normal;
}

#xmas #item-list .item-card .item-detail > div .txt {
  margin-bottom: 10px;
}

#xmas #item-list .item-card .item-detail > div .price {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

#xmas #item-list .item-card .item-detail > div .btn {
  margin-bottom: 0;
}

#xmas #item-list .item-card .item-detail > div .btn a {
  box-sizing: border-box;
  width: 100%;
  padding: 18px 0;
  background: var(--xmas-red);
}

/* 偶数行目 */
#xmas #item-list .item-card:nth-child(2n of .item-card) {
  direction: rtl;
}

#xmas #item-list .item-card:nth-child(2n of .item-card) > * {
  direction: ltr;
}

#xmas #item-list .item-card:nth-child(2n of .item-card) .item-image .rect {
  background: var(--xmas-green);
  left: 10%;
}

#xmas #item-list .item-card:nth-child(2n of .item-card) .item-image img {
  left: -5%;
}

#xmas #item-list .item-card:nth-child(2n of .item-card) .item-detail > div .btn a {
  background: var(--xmas-green);
}

#xmas #item-list .item-card:nth-child(2n of .item-card) .item-image .rect::before {
  top: -3%;
  right: -3%;
  left: auto;
  width: 80%;
  aspect-ratio: 300/23;
  -webkit-mask: url(../img/parts_snowpack_02.svg) no-repeat center / cover;
  mask: url(../img/parts_snowpack_02.svg) no-repeat center / cover;
}


/* ------------------------------------------------------
    帯（.obi）
------------------------------------------------------ */
#xmas .obi {
  margin-bottom: 120px;
  margin-top: 180px;
}

#xmas .obi > div {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 400;
  background: var(--xmas-kv);
  overflow: hidden;
}

#xmas .obi > div #obi-snow {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 24;
  pointer-events: none;
}

#xmas .obi > div img {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  z-index: 23;
}
#xmas .obi > div img[src*="ground"] {
  position: absolute;
  display: block;
  bottom: -35%;
}
#xmas .obi > div img[src*="building"] {
  width: auto;
  height: 100%;
  max-width: none;
  top: 0;
  left: 50%;
  translate: -50% 0;
}

/* ------------------------------------------------------
  法人のお客様（#for-business）
------------------------------------------------------ */
#xmas #for-business .title_block {
  margin-bottom: 50px;
}
#xmas #for-business .inner .title_block {
  margin-bottom: 0;
}
#xmas #for-business .inner .img {
  margin-bottom: 50px;
}
#xmas #for-business .inner .img img {
  width: 500px;
  margin: auto;
}
#xmas #for-business .inner .text-block {
  margin-bottom: 80px;
}


/* SP（767px以下）
===================================================== */
@media screen and (max-width: 767px) {
  /* --- 全体 --- */
  #xmas {
    font-size: 14px;
  }
  #xmas img {
    max-width: 100%;
    height: auto;
  }
  main {
    width: 100%;
    margin-top: 19vw;
    overflow: hidden;
  }

  /* --- インナーボックス --- */
  #xmas .contents,
  #xmas .obi{
    width: 100%;
    margin-bottom: 140px;
  }
  #xmas .contents:has(.kv) {
    width: 100%;
    margin-bottom: 0;
  }
  #xmas .contents .inner {
    width: auto;
    padding: 0 16px;
  }
  #xmas .contents .inner .info {
    margin-bottom: 50px;
  }
  #xmas .contents .inner .flex {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  /* --- ボタン（.btn / .btn_txt） --- */
  #xmas .btn,
  #xmas .btn_txt {
    margin-bottom: 20px;
  }
  #xmas .btn a,
  #xmas .btn_txt a {
    width: 100%;
    max-width: 320px;
    font-size: 1.4rem;
  }
  #xmas .btn a {
    padding: 18px 0;
  }

  /* --- タイトル（.title_block） --- */
  #xmas .contents .title_block h2.maintitle {
    margin-bottom: 6px;
    font-size: 2rem;
  }
  #xmas .contents .title_block h3.maintitle {
    margin-bottom: 12px;
    font-size: 1.8rem;
  }
  #xmas .contents .title_block .subtitle {
    font-size: 1.4rem;
  }
  #xmas .contents .inner p.lead_text {
    margin-bottom: 20px;
    text-align: left;
  }

  /* --- ヒーロー（#hero） --- */
  #xmas #hero .kv {
    margin-bottom: 60px;
  }
  #xmas #hero .kv .kv_img > div {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  }
  #xmas #hero .kv img {
    width: 100%;
  }
  #xmas #hero .kv .kv_img img.kv_parts {
  position: absolute;
  top: auto;
  bottom: -1px;
  left: 0;
  width: 100%;
  }
  #xmas #hero .kv .kv_img img[src*="stars"]    { z-index: 20; bottom: auto; top: -5%; }
  #xmas #hero .kv .kv_img img[src*="building"] { z-index: 21; }
  #xmas #hero .kv .kv_img img[src*="ground"]   { z-index: 22; }
  #xmas #hero .kv .kv_img img[src*="people"]   { z-index: 23; }
  #xmas #hero .kv .kv_img img[src*="curtain"]   { width: auto;top: 0; bottom: auto; }
  #xmas #hero .kv .kv_img img[src*="title"]   { z-index: 25; }
  #xmas #hero .kv .kv_img img[src*="uppercurtain"]   { z-index: 24; bottom: auto; top: -5%; }
  #xmas #hero .kv .kv_img img[src*="curtain_01"]   { z-index: 24; height: 85%; left:  -23%;  right: auto; }
  #xmas #hero .kv .kv_img img[src*="curtain_02"]   { z-index: 24; height: 85%; right: -23%;  left:  auto; }
  
  #xmas #hero .campains .inner {
    width: auto;
  }
  #xmas #hero .campains .content .item > p {
    font-size: 1.2rem;
  }

  #xmas #hero .kv #snow {
    top: 0;
    z-index: 23;
  }

  /* --- アイテムリスト・ランキングの .inner --- */
  #xmas #item-list .item-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "theme"
      "image"
      "detail";
    margin-bottom: 80px;
  }

  #xmas #item-list .item-card .item-detail * {
    font-weight: bold;
  }

  #xmas #item-list .item-card .item-detail {
    display: contents;
  }
  #xmas #item-list .item-card .item-detail {
    text-align: center;
  }

  #xmas #item-list .item-card .item-detail .theme {
    grid-area: theme;
    grid-row: auto;
    align-self: auto;
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 1.8rem;
    text-align: center;
  }

  #xmas #item-list .item-card .item-image {
    grid-area: image;
    margin-bottom: 30px;
  }

  #xmas #item-list .item-card .item-image .rect {
    position: absolute;
    display: block;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 70%;
  }
  #xmas #item-list .item-card .item-image img {
    left: 0;
    width: 90%;
    top: 5%;
  }

  #xmas #item-list .item-card .item-detail > div {
    grid-area: detail;
  }

  #xmas #item-list .item-card .item-detail > div .price {
    margin-bottom: 20px;
  }

  #xmas #item-list .item-card .item-detail > div .btn {
    margin-top: 0;
  }

  #xmas #item-list .item-card .item-detail > div .btn a {
    max-width: none;
  }

  #xmas #item-list .inner,
  #xmas #item-ranking .inner {
    width: auto;
    margin: 20px auto 60px;
    padding: 0 16px;
  }

  /* 偶数行目反転 */
  #xmas #item-list .item-card:nth-child(2n of .item-card) .item-image .rect {
  left: 0;
  }
  #xmas #item-list .item-card:nth-child(2n of .item-card) .item-image img {
  left: 0;
  }

  /* --- 帯（.obi） --- */
  #xmas .obi > div {
    aspect-ratio: 1920 / 600;
  }

  #xmas .obi > div img[src*="ground"] {
  bottom: -15%;
  }

  /* --- 法人のお客様（#for-business） --- */
  #xmas #for-business .title_block {
  margin-bottom: 30px;
  }
  #xmas #for-business .inner .title_block {
    margin-bottom: 0;
  }
  #xmas #for-business .inner .img {
    margin-bottom: 30px;
  }
  #xmas #for-business .inner .img img {
    width: 100%;
  }
  #xmas #for-business .inner .text-block {
    margin-bottom: 50px;
  }
}
