body {
  display: none;
}

#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
  /* フェードアウト効果を追加 */
}

#loading.fade-out {
  opacity: 0;
  pointer-events: none;
  /* 完全に消えたらクリックを無効にする */
}

.loading-circle {
  position: relative;
  width: 26%;
  aspect-ratio: 1;
}

.loading-logo {
  position: absolute;
  width: 100%;
}

.wrap {
  padding: 0 0 4rem;
}

.navi {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 97;
  background: #000;
  transform: translateY(-100%);
  /* 上に隠す */
  transition: transform 0.5s ease;
  /* スライドアニメーション */
}

.navi.show {
  transform: translateY(0);
  /* 表示位置 */
}

.pc-navi {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 0;
  top: 0;
  right: 0;
}

.navi-logo {
  position: absolute;
  width: 120px;
  top: 10px;
  left: 10px;
}

.pc-navi-item {
  margin: 0 .5em 0 0;
  font-family: "Oswald", serif;
  font-size: 24px;
  line-height: 1;
}

.pc-navi-item a {
  display: block;
}

.pc-navi-item img {
  width: 100%;
  line-height: 0;
  vertical-align: bottom;
}

.pc-navi-item:nth-last-child(1) {
  width: 2.5rem;
  margin-right: .8em;
}

.pc-navi-item:nth-last-child(2) {
  width: 2.5rem;
}

section {
  position: relative;
  overflow: hidden;
}

.bg_red {
  background-color: #ff1d25;
}

.content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.cont_p {
  padding: 20rem 0 6rem;
}

.cont_p2 {
  padding: 6rem 0 6rem;
}

.circle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44%;
  margin: 0 auto 1rem;
  aspect-ratio: 1;
  text-align: center;
}

.circle-item {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.circle-cont {
  padding: 0 0 18%;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.8;
  z-index: 2;
  letter-spacing: 0.05em;
}

.circle-heading {
  padding: 0 0 4%;
  color: #ff1d25;
  font-family: "Oswald", serif;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 0em;
}

.heading_outer {
  position: relative;
  width: 36%;
  top: -3px;
  left: 0;
}

.heading {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  will-change: transform, opacity;
}

.heading img {
  width: 100%;
}

.barcode {
  position: absolute;
  width: 20%;
  top: -3px;
  left: 34%;
}

.barcode-2 {
  position: absolute;
  width: 20%;
  top: -3px;
  left: 36%;
}

.barcode-3 {
  position: absolute;
  width: 20%;
  top: -3px;
  left: 38%;
}

.parts-1 {
  position: absolute;
  width: 18%;
  top: -3px;
  right: 20%;
}

.parts-2 {
  position: absolute;
  width: 18%;
  bottom: -3px;
  right: 10%;
}

.corner-1 {
  position: absolute;
  width: 3%;
  top: -3px;
  right: 0;
}

.corner-2 {
  position: absolute;
  width: 3%;
  bottom: -3px;
  right: 0;
}

.barcode img,.barcode-2 img,.barcode-3 img,.parts-1 img,.parts-2 img,.corner-1 img,.corner-2 img {
  vertical-align: bottom;
}

.select {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.select-btn {
  width: 48%;
  margin: 0 2% 3rem 0;
}

.select-btn:nth-child(2n)  {
  margin: 0 2% 3rem 0;
}

.select-btn img {
  vertical-align: bottom;
}

.select-bg-b {
  background-size: 100% auto;
}

.webp .select-bg-b {
  background-image: url(../img/common/btn_b_on.webp);
}

.no-webp .select-bg-b {
  background-image: url(../img/common/btn_b_on.jpg);
}

.select-bg-c {
  background-size: 100% auto;
}

.webp .select-bg-c {
  background-image: url(../img/common/btn_c_on.webp);
}

.no-webp .select-bg-c {
  background-image: url(../img/common/btn_c_on.jpg);
}

.select-bg-e {
  background-size: 100% auto;
}

.webp .select-bg-e {
  background-image: url(../img/common/btn_e_on.webp);
}

.no-webp .select-bg-e {
  background-image: url(../img/common/btn_e_on.jpg);
}

.select-bg-n {
  background-size: 100% auto;
}

.webp .select-bg-n {
  background-image: url(../img/common/btn_n_on.webp);
}

.no-webp .select-bg-n {
  background-image: url(../img/common/btn_ne_on.jpg);
}

.select-bg-buddy {
  background-size: 100% auto;
}

.webp .select-bg-buddy {
  background-image: url(../img/common/btn_buddy_on.webp);
}

.no-webp .select-bg-buddy {
  background-image: url(../img/common/btn_buddy_on.jpg);
}

.pickup {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.pickup-item {
  position: relative;
  width: 23%;
  margin: 0 0 3rem;
  overflow: hidden;
  background-color: #fff;
}

.loupe {
  position: absolute;
  width: 14%;
  bottom: 0;
  right: 0;
}

.loupe img {
  vertical-align: bottom;
}

.btn-more {
  width: 16%;
  margin: 4rem auto 0;
}

#page-top {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 10px;
  right: 10px;
  z-index: 3;
}

.lity-container>.lity-close {
  display: none !important;
}

@media screen and (min-width: 1px) and (max-width: 750px) {
  .pc_display {
    display: none;
  }

  .pc {
    display: none;
  }

  .loading-circle {
    width: 70%;
  }

  .wrap {
    padding: 0 0 2rem;
  }

  .sp-navi {
    position: relative;
    width: 100%;
    height: 60px;
    background: #000;
  }

  .navi-logo {
    position: relative;
    width: 110px;
  }

  .cont_p {
    padding: 18% 0 3rem;
  }

  .circle {
    width: 80%;
    margin: 0 auto 1rem;
  }

  .circle-cont {
    padding: 0 0 12%;
    font-size: 3.5vw;
  }

  .circle-heading {
    padding: 0 0 4%;
    font-size: 38px;
  }

  .heading_outer {
    position: relative;
    width: 56%;
    top: -1px;
    left: 0;
  }

  .heading {
    width: 100%;
    top: -3px;
    left: 0;
  }

  .heading img {
    width: 100%;
  }

  .barcode {
    width: 32%;
    top: 0;
    left: 50%;
  }

  .barcode-2 {
    width: 32%;
    top: 0;
    left: 60%;
  }

  .barcode-3 {
    width: 32%;
    top:0;
    left: 60%;
  }

  .corner-1 {
    width: 5%;
    top: 0;
    right: 0;
  }

  .corner-2 {
    width: 5%;
    bottom: 0;
    right: 0;
  }

  .select-btn {
    width: 100%;
  }

  .select-btn:nth-child(1) {
     margin: 0 0 2rem;
  }

  .select-btn:nth-child(2) {
    margin: 0 0 2rem;
 }

  .pickup-item {
    width: 31%;
    margin: 0 0 .8rem;
  }

  .loupe {
    width: 2.5rem;
  }

  .btn-more {
    width: 40%;
    margin: 2rem auto 0;
  }

  #page-top {
    width: 50px;
    height: 50px;
    bottom: 5px;
    right: 5px;
    z-index: 98;
  }

  .lity-container {
    max-width: 100vh !important;
    max-height: 100vh !important;
    box-sizing: border-box;
  }

  .lity-content {
    background-color: #fff !important;
  }

  .lity-content:after {
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6) !important;
  }

  .lity-content img {
    width: auto !important;
    max-height: 100vh !important;
    padding: 5% !important;
    /* 上下に余白を追加 */
  }

  .lity-close {
    width: 30px !important;
    height: 30px !important;
    right: 4px !important;
    top: 4px !important;
    font-size: 0 !important;
    text-shadow: none !important;
    background-image: url(../img/common/close.png) !important;
    background-size: cover !important;
  }

  .lity {
    background: rgba(0, 0, 0, .8);
  }

}

@media screen and (min-width: 751px) and (max-width: 1024px) {
  .sp_display {
    display: none;
  }

  .sp {
    display: none;
  }

  .loading-circle {
    width: 50%;
  }

  .navi-logo {
    width: 110px;
  }

  .pc-navi-item {
    margin: 0 .8em 0 0;
    font-size: 22px;
  }

  .circle {
    width: 46%;
  }

  .circle-cont {
    font-size: 14px;
  }

  .circle-heading {
    font-size: 38px;
  }

  .btn-more {
    width: 20%;
    margin: 3rem auto 0;
  }

  .lity-container {
    max-width: 80% !important;
    max-height: 100vh !important;
    box-sizing: border-box;
  }

  .lity-content {
    background-color: #fff !important;
  }

  .lity-content:after {
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6) !important;
  }

  .lity-content img {
    width: auto !important;
    max-height: 100vh !important;
    padding: 5% !important;
    /* 上下に余白を追加 */
  }

  .lity-close {
    width: 32px !important;
    height: 32px !important;
    right: 4px !important;
    top: 4px !important;
    font-size: 0 !important;
    text-shadow: none !important;
    background-image: url(../img/common/close.png) !important;
    background-size: cover !important;
  }

  .lity {
    background: rgba(0, 0, 0, .8);
  }

  #page-top {
    width: 50px;
    height: 50px;
  }

}

@media screen and (min-width: 1025px) {
  .sp_display {
    display: none;
  }

  .sp {
    display: none;
  }

  .lity-container {
    max-width: 100% !important;
    max-height: 100vh !important;
    box-sizing: border-box;
  }

  .lity-content {
    background-color: #fff !important;
  }

  .lity-content:after {
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6) !important;
  }

  .lity-content img {
    width: auto !important;
    max-height: 70vh !important;
    padding: 5% !important;
    /* 上下に余白を追加 */
  }

  .lity-close {
    width: 38px !important;
    height: 38px !important;
    right: 4px !important;
    top: 4px !important;
    font-size: 0 !important;
    text-shadow: none !important;
    background-image: url(../img/common/close.png) !important;
    background-size: cover !important;
  }

  .lity {
    background: rgba(0, 0, 0, .8);
  }

  .alpha a img {
    display: block;
    transition: .2s;
  }

  .alpha a:hover img {
    opacity: 0;
  }

  .alpha-2 a img {
    display: block;
    transition: .2s;
  }

  .alpha-2 a:hover img {
    opacity: 0.5;
  }

  a.btn_over img {
    display: block;
    transition: .2s;
  }

  a.btn_over img:hover {
    transform: scale(1.1);
  }

}