body {
  margin: 0;
  background: #0c3f5a;
  color: #fff;
  font-family: "BIZ UDPGothic", serif;
  font-size: 16px;
  line-height: 30px;
}
header {
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100px;
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}
header p {
  width: 180px;
  margin: 40px 0 40px 80px;
}

h2 {
  margin-top: 128px;
  font-size: 28px;
}
p {
  margin: 48px auto 32px;
}
img {
  width: 100%;
  height: auto;
  /*
  image-rendering: auto;
  image-rendering: smooth;
  image-rendering: crisp-edges;
  /*
  image-rendering: pixelated;
  */
}
h1.top_img {
  max-width: 1344px;
  margin: auto;
}

footer {
  padding: 32px;
  line-height: 20px;
  background-color: #b4b4b4;
  color: #fff;
}
footer p {
  margin: 16px;
  font-size: 14px;
}

footer .copy {
  width: 90%;
}
footer .copy span {
  font-size: 12px;
}

.main_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 94px auto;
}
picture img {
  width: 90%;
  margin: 0;
}
.main_box_p {
  width: 90%;
  margin: 0;
}
.main_box p.m48p {
  margin: 48px auto;
}

.main_box_h2_2 {
  width: 770px;
  margin: 128px auto 16px;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  border-bottom: solid 1px #fff;
}

.main_box_h2_3 {
  width: 1032px;
  margin: 16px auto 16px;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  border-bottom: solid 1px #fff;
}

.main_card_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}
.main_card_box p {
  margin: 32px 16px;
}
.main_card_box p span {
  font-size: 20px;
}
.main_card_box div {
  width: 320px;
}

.main_card_box_2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}
.main_card_box_2 p {
  margin: 32px 16px;
}
.main_card_box_2 p span {
  font-size: 20px;
}
.main_card_box_2 div {
  width: 400px;
}

.main_card_box_3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 120px;
}
.main_card_box_3_text {
  width: 60%;
}
.main_card_box_3_text p {
  margin: 32px auto;
}

.main_box3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.main_box3 p {
  width: 288px;
  margin: 32px 16px;
}
.main_box3 p img {
  width: 100%;
}

.m_auto {
  margin: auto;
}

.w1030p {
  max-width: 1030px;
}

.w464p {
  max-width: 464px;
  margin: 36px 16px;
}

.bg_top_img {
  height: 100vh;
  align-content: center;
  justify-content: center;
  align-items: center;
  background-color: #ffc000;
}

.shop_btn {
  width: 640px;
  margin: 100px auto;
  text-align: center;
}
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}

#menu-btn-check {
  display: none;
}

ul {
  display: flex;
  margin: 28px;
}
li {
  margin: 16px;
  font-size: 15px;
  list-style-type: none;
}
li a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

#up {
  height: 1px;
}
.up_scroll {
  position: fixed;
  bottom: 0;
  right: 5%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  margin: 0;
  background: #f1a600;
  border: 2px solid #fff;
  border-radius: 8px;
  opacity: 0.8;
}
.up_scroll a {
  display: block;
  text-decoration: none;
}
.up_arrow {
  display: inline-block;
  color: #fff;
  width: 24px;
  height: 24px;
  border: 3px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(25%) rotate(-45deg);
  position: relative;
  top: 12px;
  left: 12px;
}

.w640p {
  max-width: 640px;
  margin: auto;
}

.video_style {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 80px auto 64px;
  max-width: 1032px;
  background: #000;
}

video {
  width: 100%;
  height: auto;
}

.f_box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.f_logo {
  width: 200px;
  height: auto;
}

.mt104p_mlr_auto {
  margin: 160px auto 0 auto;
}
.main_box.w1030p.mt104p {
  margin: 32px auto 64px;
}

.number a {
  color: #fff;
  text-decoration: none;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 1024px) {
  .w1030p.m_auto {
    margin: 16px auto;
  }
  li {
    margin: 12px;
  }
  .pop_btn {
    right: calc(50% - 48%);
  }
}

@media screen and (max-width: 480px) {
  header {
    height: 80px;
  }
  header p {
    margin: 0;
  }
  header p img {
    width: 100%;
    height: auto;
    padding-left: 10%;
  }
  footer {
    padding: 16px;
  }
  footer .w1030p.m_auto {
    margin: 0;
  }
  footer p {
    font-size: 12px;
  }
  .copy {
    text-align: center;
    font-size: 9px;
  }
  .main_box p.m48p {
    margin: 16px auto;
  }
  .bg_top_img {
    margin-top: 40px;
  }
  h2 {
    margin-top: 64px;
    font-size: 21px;
  }
  p {
    margin: 32px auto;
    font-size: 15px;
  }
  .w1030p,
  .w464p {
    width: 328px;
    margin: 16px auto 8px;
  }
  .main_box_h2_2 {
    width: 100%;
    padding: 0 0 24px 0;
  }
  .main_box_h2_3 {
    width: 100%;
    padding: 0 0 24px 0;
  }
  .main_box {
    margin: 80px auto 48px;
  }
  .w940p {
    margin: 0 24px;
  }

  .main_card_box_2 div {
    width: 320px;
    margin: 5px auto;
  }

  .main_card_box_3 .main_box3 p,
  .main_card_box_3_text {
    width: 90%;
  }
  .main_card_box_3_text {
    width: 90%;
    vertical-align: top;
  }
  .main_card_box_3 .popup_box {
    margin: 32px 0 24px;
  }
  ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu-btn {
    position: fixed;
    top: 16px;
    right: 16px;
    display: flex;
    height: 48px;
    width: 48px;
    justify-content: center;
    align-items: center;
    z-index: 90;
  }
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: "";
    display: block;
    height: 4px;
    width: 32px;
    border-radius: 4px;
    background-color: #333;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }
  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(
      255,
      255,
      255,
      0
    ); /*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #menu-btn-check {
    display: none;
  }
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    text-align: center;
    z-index: 80;
    background-color: #fff;
    transition: all 0.5s;
    opacity: 0.9;
  }
  .menu-content ul {
    width: 360px;
    margin: auto;
    padding: 70px 10px 0;
  }
  .menu-content ul li {
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 24px;
    box-sizing: border-box;
    color: #333;
    text-decoration: none;
    padding: 24px 16px;
    font-weight: bold;
    position: relative;
    transition: color 0.8s ease;
  }

  .menu-content ul li a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 2px;
    background: #fff;
    bottom: -1px; /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1); /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.5s; /*変形の時間*/
  }

  .menu-content ul li a:hover::after {
    transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
  }

  #menu-btn-check:checked ~ .menu-content {
    left: 0; /*メニューを画面内へ*/
  }

  .up_scroll {
    bottom: 0;
    right: 16px;
  }

  .w1030p.mt104p_mlr_auto {
    margin: 160px auto 0 auto;
  }
  .shop_btn {
    width: 320px;
    margin: 40px auto 100px;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  picture img,
  .main_box_p {
    width: 100%;
  }
  .main_card_box_3_text p {
    margin: 8px auto 32px;
  }
}
