@charset "UTF-8";

:root {
  --main-red: #d8000e;
  --sub-red: #b70110;
}

@font-face {
  font-family: MyWebFont;
  src: url(../font/SourceHanSerif-Light.otf) format("opentype");
}

html {
  height: 100%;
}

body, section {
  font-family: MyWebFont, serif;
  overflow: hidden;
  overflow-y: scroll;
  height: 100%;
}

.first-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  background: url(../images/2600-1200.jpg) top center;
  position: relative;
  background-size: cover;
}

/* .first-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 10%;
  background: url(../images/headerbg_bottom.jpg) top center;
} */

.first-img h2 {
  width: 60%;
  min-width: 310px;
  max-width: 1000px;
  margin: 0 auto;
}

.first-img h2 img {
  width: 100%;
}

nav {
  height: calc(100% - 60px);
}

.navigation {
  font-size: 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  height: 100%;
  /* background: #000; */
}

.navigation li {
  font-size: 2vw;
  line-height: 1.4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 33.33333%;
  height: 33.33333%;
  cursor: pointer;
  text-align: center;
  color: var(--main-red);
  border: solid 1px var(--main-red);
  background: #fff;
  overflow: hidden;
}

.navigation li span {
  font-size: 0.6em;
}

.navigation li:nth-child(2n+1) {
  color: #fff;
  background: var(--main-red);
}

.navigation li:hover {
  -webkit-transition: all 0.2s 0s ease;
  transition: all 0.2s 0s ease;
  -webkit-transform: rotate(0deg);
  transform: rotateY(0deg);
}

.navigation li:hover::after {
  content: "内容を見る";
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  font-size: 0.5em;
  bottom: 10%;
  background: #fff;
  height: 2em;
  width: 61%;
  color: var(--main-red);
  border: solid 3px var(--main-red);
  outline: solid 3px #fff;
  opacity: 1;
}

.navigation li:nth-child(2n):hover::after {
  color: #fff;
  background: var(--main-red);
  border-color: var(--main-red);
  border: solid 3px #fff;
  outline: solid 3px var(--main-red);
}

.navigation li.happybagMFS {
  animation: hbmfs 0.5s ease 0s infinite forwards alternate;
  max-width: 200px;
  width: 30%;
  height: auto;
  border: none;
  background: transparent;
  position: fixed;
  right: 10px;
  bottom: 10px;
}

@keyframes hbmfs {
  0% {
    bottom: 10px;
    opacity: 0.3;
  }

  100% {
    bottom: 20px;
    opacity: 1;
  }
}

.navigation li.happybagMFS:hover::after {
  display: none;
}

[id^="hpbag"] {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /*display: flex;*/
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgba(255, 255, 255, 0.8);
  background-size: 1%;
  overflow: hidden;
  z-index: 2;
}

[id^="hpbag"] > div {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 90%;
  max-width: 1600px;
  height: 80%;
  min-height: 640px;
  margin: 0 auto;
  text-align: center;
  border: 5px solid var(--sub-red);
  background: #fff;
  background-size: cover;
  -webkit-box-shadow: 10px 10px 15px #a1a1a1;
  box-shadow: 10px 10px 15px #a1a1a1;
}

[id^="hpbag"] h3 {
  font-size: 1.8em;
  font-weight: normal;
  width: 100%;
  color: #333;
}

[id^="hpbag"] ul {
  min-width: 300px;
  margin: 40px auto;
  list-style: circle;
  text-align: left;
  color: #3e3e3e;
}

.close_button {
  font-size: 20px;
  position: absolute;
  top: 20px;
  right: 22px;
  display: inline-block;
  padding: 50px 10px 0;
  cursor: pointer;
  color: var(--main-red);
  border-radius: 5px;
  background: #fff;
}

.close_button::before {
  position: relative;
  bottom: 20px;
  left: 5px;
  display: block;
  width: 2em;
  height: 2px;
  content: "";
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: var(--main-red);
}

.close_button::after {
  position: relative;
  bottom: 42px;
  left: 5px;
  display: block;
  width: 2em;
  height: 2px;
  content: "";
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background: var(--main-red);
}

.hb_content01, .hb_content02 {
  display: inline-block;
  width: 49%;
  vertical-align: top;
}

.hb_content01 {
  position: relative;
}

.hb_content01 img {
  width: 80%;
  height: 80%;
}

.hb_content02 > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.hb_content02 ul {
  font-size: 1.4vw;
  margin-top: 10px;
}

@media screen and (min-width: 1500px) {
  .hb_content02 ul {
    font-size: 24px;
    margin-top: 10px;
  }
}

.hb_content02 li {
  margin-top: 16px;
}

.hb_content02 dl {
  font-size: 1.4vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
  text-align: left;
  color: var(--main-red);
}

.hb_content02 dl:nth-child(2) dd {
  text-decoration: line-through;
}

.hb_content02 dl:nth-child(3) {
  font-size: 2.4vw;
}

.hb_content02 dt, .hb_content02 dd {
  display: inline-block;
  /*width: 100%;*/
  text-align: center;
}

.hb_content02 dd::before {
  content: "：";
}

.hb_content02 dd span {
  font-size: 0.6em;
}

.hb_button {
  font-size: 1.4vw;
  width: 80%;
  margin: 0 auto;
  margin-top: 60px;
  text-align: center;
  color: #fff;
  border-radius: 10px;
  background: var(--main-red);
}

.hb_button a {
  display: inline-block;
  width: 100%;
  padding: 20px 0;
}


.hbprev {
  position: absolute;
  bottom: 50%;
  left: 0;
  padding: 15px 10px;
  cursor: pointer;
  color: #fff;
  background: var(--sub-red);
}

.hbprev::before {
  position: absolute;
  top: 0;
  left: calc(-3em - 5px);
  display: inline-block;
  width: 0;
  height: 0;
  content: "";
  border: solid 25px var(--sub-red);
  border-top: solid transparent 25px;
  border-bottom: solid 25px transparent;
  border-left: solid 25px transparent;
}

.hbnext {
  position: absolute;
  right: 0;
  bottom: 50%;
  padding: 15px 10px;
  cursor: pointer;
  color: #fff;
  background: var(--sub-red);
}

.hbnext::after {
  position: absolute;
  top: 0;
  right: calc(-3em - 5px);
  display: inline-block;
  width: 0;
  height: 0;
  content: "";
  border: solid 25px var(--sub-red);
  border-top: solid transparent 25px;
  border-right: solid 25px transparent;
  border-bottom: solid 25px transparent;
}

[id^="hpbag"] .hb_content01::before {
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: -65px;
  left: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 200px;
  height: 200px;
  content: "";
  -webkit-transform: rotate(-15deg);
  transform: rotate(-15deg);
  color: #fff;
  border-radius: 50%;
  background: var(--main-red);
  border: 4px solid #ead062;
}

#hpbag01 .hb_content01::before {
  content: "33%OFF";
}

#hpbag02 .hb_content01::before {
  content: "33%OFF";
}

#hpbag03 .hb_content01::before {
  content: "31%OFF";
}

#hpbag04 .hb_content01::before {
  content: "32%OFF";
}

#hpbag05 .hb_content01::before {
  content: "50%OFF";
}

#hpbag06 .hb_content01::before {
  content: "33%OFF";
}

#hpbag07 .hb_content01::before {
  content: "33%OFF";
}

#hpbag08 .hb_content01::before {
  content: "40%OFF";
}

#hpbag09 .hb_content01::before {
  content: "40%OFF";
}

#hpbagMFS .hb_content01::before {
  content: "SECRET";
  background: #1d0304;
  border-color: #333;
}

#hpbagMFS > div {
  border: 5px solid #dfc043;
}


.all_show div, .all_close div {
  font-size: 20px;
  position: relative;
  width: 61%;
  margin: 5px auto;
  padding: 14px 0;
  cursor: pointer;
  -webkit-transition: all 0.2s ease 0s;
  transition: all 0.2s ease 0s;
  text-align: center;
  color: var(--main-red);
  border: solid 1px;
  background: #fff;
  z-index: 1;
}

.all_show:hover div, .all_close:hover div {
  width: 33.333%;
  padding: 14px 0;
  color: #fff;
  background: var(--main-red);
  /* border-bottom: solid 6px var(--main-red); */
}

/* .all_show:hover::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: -140px;
  top: 0;
  width: 300px;
  height: 60px;
  background: #fff;
  transform: skewX(80deg);
}

.all_show:hover::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: -140px;
  top: 0;
  width: 300px;
  height: 60px;
  background: #fff;
  transform: skewX(-80deg);
} */

.all_close {
  display: none;
}

/* 初めから全表示用 */
/* .hb_content02 ul + dl {
  display: none;
}

[id^="hpbag"] {
  display: flex;
  position: static;
  opacity: 1;
}

.hbprev, .hbnext {
  display: none;
}

.close_button {
  display: none;
}

.navigation li {
  cursor: inherit;
}

.navigation li:hover::after {
  display: none;
} */
