@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&family=Sawarabi+Mincho&family=Zen+Old+Mincho:wght@400;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,900;1,400&display=swap");

html {
  font-size: 62.5%;
}

#special_sale {
  font-size: 1.4rem;
  line-height: 1.7;
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  padding-bottom: 4rem;
  background: radial-gradient(#fff9f2, #f3e2ce);
  z-index: 1;
}

#special_sale::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url(https://gigaplus.makeshop.jp/matrug/freepage/special/2025/images/ss116.png);
  background-size: 80%;
  background-position: center;
  background-repeat: repeat-y;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.7;
}

#special_sale * {
  box-sizing: border-box;
}

#special_sale span {
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  font-weight: inherit;
}

#special_sale strong {
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  font-weight: inherit;
}

#special_sale img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

#special_sale h1 {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  color: #a81b4b;
  font-size: 2.5rem;
  margin-top: 2rem;
  letter-spacing: 0.2em;
}

#special_sale h1 span {
  display: block;
  font-size: 1.7rem;
  line-height: 1.2;
}

#special_sale .title {
  margin: 2rem auto 0;
  position: relative;
  width: 90%;
  padding: 2rem 5%;
}

#special_sale .title::before {
  content: "";
  display: block;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 100%;
  height: 100%;
  background: #e6a82a;
  z-index: 1;
}

#special_sale .title::after {
  content: "";
  display: block;
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
}

#special_sale .title h2 {
  text-align: center;
  position: relative;
  z-index: 3;
}

#special_sale .title h2:after {
  content: "▼　　▼　　▼";
  display: block;
  color: #e6a82a;
  margin-top: 0.5rem;
  font-size: 2rem;
}

#special_sale .title h2 span {
  display: inline-block;
  background: #a81b4b;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.2em;
  padding: 0.5rem 3.5rem 0.1rem 1rem;
  position: relative;
  word-break: keep-all;
  overflow-wrap: break-word;
}

#special_sale .title h2 span > span {
  font-size: 1rem;
  padding: 0 3rem 1rem 0;
}

@media screen and (max-width: 768px) {
  #special_sale .title h2 span {
    font-size: 2rem;
  }
}

#special_sale .title h2 > span:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: solid 0.7rem transparent;
  border-top: solid 0.7rem #fcf6ea;
  border-left: solid 0.7rem #fcf6ea;
  position: absolute;
  top: 0;
  left: 0;
}

#special_sale .title h2 > span:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: solid 0.7rem transparent;
  border-bottom: solid 0.7rem #fcf6ea;
  border-left: solid 0.7rem #fcf6ea;
  position: absolute;
  bottom: 0;
  left: 0;
}

#special_sale .title ul {
  margin: 2rem 0 0;
  position: relative;
  z-index: 3;
}

#special_sale .title ul li {
  margin: 2rem;
  position: relative;
  padding-left: 4rem;
}

#special_sale .title ul li a {
  display: block;
  margin: 1rem;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: left;
  color: #000;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.6;
}

#special_sale .title ul li a strong {
  display: inline-block;
  background-color: #cd0000;
  color: #fff;
  padding: 0.8rem 1rem 0.3rem;
  margin: 0 0.6rem;
  letter-spacing: 0.05em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

#special_sale .title ul li:nth-child(3) > a strong {
  color: #ffd900;
}

#special_sale .title ul li a strong span {
  font-size: 2.6rem;
  letter-spacing: 0.05em;
}

#special_sale .title ul li:last-child a strong {
  font-size: 1.9rem;
  background-color: #b9a102;
  padding: 0.5rem 1rem 0.4rem;
}

#special_sale .title ul li::before {
  content: "1";
  font-family: "Noto Serif JP", serif;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-weight: bold;
  background: #e6a82a;
  border-radius: 50%;
  font-size: 1.6rem;
  width: 3rem;
  height: 3rem;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translatey(-50%);
}

#special_sale .title ul li:nth-of-type(2):before {
  content: "2";
}

#special_sale .title ul li:nth-of-type(3):before {
  content: "3";
}

#special_sale .title ul li:nth-of-type(4):before {
  content: "4";
}

#special_sale nav {
  margin: 3rem 0 0;
}

#special_sale nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#special_sale nav ul li {
  width: 13%;
  margin: 1rem 0.5% 0;
  position: relative;
}

#special_sale nav ul li::after {
  content: "";
  display: block;
  margin-top: 100%;
}

#special_sale nav ul li a {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #b97802;
  border: solid 0.3rem #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.05em;
  font-weight: bold;
}

#special_sale nav ul li a::after {
  content: "▼";
  display: block;
}

#special_sale nav ul li a:hover {
  background-color: #fff;
  color: #b97802;
  border: solid 0.3rem #b97802;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  #special_sale nav ul li {
    width: 26%;
  }

  #special_sale nav ul li a {
    font-size: 1.6rem;
  }
}

#special_sale > h2 {
  padding-top: 10rem;
  margin: 0;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: #000;
}

#special_sale > h2::before {
  content: "―";
  font-weight: bold;
}

#special_sale > h2::after {
  content: "―";
  font-weight: bold;
}

#special_sale .item {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem auto 4rem;
  width: 95%;
}

#special_sale .item a {
  margin: 0.5rem;
  width: calc(100% / 3 - 1rem);
}

@media screen and (max-width: 768px) {
  #special_sale .item a {
    width: calc(100% / 2 - 1rem);
  }
}

#special_sale > a {
  display: block;
  margin: 2rem 0 4rem;
}

#special_sale > a.item2 {
  display: block;
  margin: 2rem auto 4rem;
  width: 90%;
}

#special_sale .item_link {
  margin: 3rem 0 5rem;
  text-align: center;
  display: block;
}

#special_sale .item_link a {
  display: inline-block;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 3px;
  letter-spacing: 0.1em;
  background: #000;
  border: solid 3px #000;
  padding: 1rem 6rem;
  transition: all 0.2s ease;
}

#special_sale .item_link a:hover {
  background: #fff;
  color: #000;
  opacity: 1;
}

#special_sale .feng_shui {
  margin: 10rem auto 2rem;
  width: 90%;
}

#special_sale .feng_shui h2,
#special_sale .feng_shui h3 {
  text-align: center;
}

#special_sale .feng_shui h2 strong {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.3rem 4rem;
  position: relative;
  letter-spacing: 0.1em;
  word-break: keep-all;
  overflow-wrap: break-word;
  color: #000;
}

#special_sale .feng_shui h2 strong::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #3c3c3c;
  position: absolute;
  bottom: 0;
  left: 0;
}

#special_sale .feng_shui h3 strong {
  display: inline-block;
  font-size: 2rem;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-weight: bold;
  padding: 0.3rem 4rem;
  letter-spacing: 0.1em;
  position: relative;
  margin-top: 2rem;
  color: #a81b4b;
}

#special_sale .feng_shui h3 strong::before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background-color: #a81b4b;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: rotate(-45deg);
}

#special_sale .feng_shui h3 strong::after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background-color: #a81b4b;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  #special_sale .feng_shui h3 strong {
    font-size: 1.4rem;
  }

  #special_sale .feng_shui h3 strong::before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background-color: #a81b4b;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: rotate(-20deg);
  }

  #special_sale .feng_shui h3 strong::after {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background-color: #a81b4b;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: rotate(20deg);
  }
}

#special_sale .feng_shui > a {
  display: block;
  margin-top: 1rem;
}

#special_sale .feng_shui > span {
  display: block;
  margin-top: 3rem;
  text-align: center;
}

#special_sale .feng_shui > span a {
  display: inline-block;
  background: linear-gradient(#b97802, #e6a82a, #f4d06f, #e6a82a, #b97802);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 3px;
  letter-spacing: 0.1em;
  color: #000;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding: 1.6rem 7rem;
}

#special_sale .sale_end {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9;
}

#special_sale .sale_end > div {
  position: sticky;
  top: 50%;
  left: 10%;
  width: 80%;
  background-color: #fff;
  transform: translate(0, -50%);
  box-shadow: 3px 3px 6px #ccc;
  padding: 2rem;
  text-align: center;
  z-index: 10;
}

#special_sale .sale_end > div p {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 5rem;
}

#special_sale .sale_end > div a {
  display: block;
  margin-top: 2rem;
  color: #57bcd0;
}

#special_sale .sale_end > div a::before {
  content: "→　";
}
