:root {
  --primary-font: "IBM Plex Sans JP", sans-serif;
  --number-font: "Hind Siliguri", sans-serif;
  --font-ja: "IBM Plex Sans JP", sans-serif;
  --font-ko: "Noto Sans KR", sans-serif;
  --font-zh-sc: "Noto Sans SC", sans-serif;
  --font-zh-tc: "Noto Sans TC", sans-serif;
  --primary-color: #83B4FF;
  --bg-color: #80D0F4;
  --line-color: #033B7D;
  --secondary-color: #fff;
  --color-gray: #E8E9E9;
  --color-gray2: #A9ACAB;
  --color-g1: #E83B10;
  --color-g2: #00BF36;
  --color-g3: #FED400;
  --color-g4: #033B7D;
  --color-g5: #0045FF;
  --color-red: #E83B10;
  --color-green: #2ECC71;
  --color-yellow: #F1C40F;
  --color-blue: #0045FF;
  --text-color: #033B7D;
  --border-radius: 8px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

.u-only-sp{
  display: none;
}
@media (max-width: 768px) {
  .u-only-pc {
    display: none;
  }
  .u-only-sp{
    display: block;
  }
}

::-webkit-scrollbar {
  /* Chrome, Safari 対応 */
  display: none;
  -webkit-appearance: none;
  -ms-overflow-style: none;
  /* IE, Edge 対応 */
  scrollbar-width: none;
  /* Firefox 対応 */
}


body {
  font-family: var(--primary-font);
  font-weight: 500;
  font-style: normal;
  color: var(--text-color);
}
body.zh-sc {
  font-family: var(--font-zh-sc);
}
body.zh-tc {
  font-family: var(--font-zh-tc);
}
body.ko {
  font-family: var(--font-ko);
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

.l-outer {
  position: relative;
  max-width: 1650px;
  margin-inline: auto;
  overflow: hidden;
}
.l-outer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: block;
  width: 100%;
  height: 100%;
  background: url("/html/limited-items/img/side-line.svg") repeat-y left, url("/html/limited-items/img/side-line.svg") repeat-y right;
  pointer-events: none;
}
[lang="ja"] .l-outer {
  animation: delay 2s ease-in-out;
}
[lang="ja"]:has(.loading.hide) .l-outer {
  animation: none;
}

.l-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  max-width: 1650px;
  height: 100px;
  margin-inline: auto;
  padding-block: 19px;
  border-radius: 0 0 20px 20px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16)
}
.l-header::before {
  content: "";
  position: absolute;
  top: min(3.2vw, 63px);
  left: 56px;
  z-index: 10;
  width: min(14vw, 200px);
  height: 135px;
  background: url("/html/limited-items/img/stamp.png") no-repeat center/contain;
}
.header-logo {
  width: 134px;
  margin: auto;
}
.header-language {
  position: absolute;
  top: 25px;
  right: min(4vw, 75px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 210px;
  margin: auto;
  cursor: pointer;
}
.header-language > img {
  width: 170px;
}
.header-language div {
  margin-left: 6px;
  width: inherit;
}
.header-language ul {
  display: none;
  position: absolute;
  top: 56px;
  right: 0;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.header-language.active ul {
  display: block;
}
.header-language li {
  min-width: 6em;
  line-height: 2.5;
  text-align: center;
}
.header-language li.active {
  background-color: var(--bg-color);
}
.header-language a {
  display: block;
  padding-inline: 1em;
  text-decoration: none;
}
.header-language a:link,
.header-language a:visited,
.header-language a:hover,
.header-language a:active {
  color: inherit;
}
.header-language a[href*="ja"] {
  font-family: var(--font-ja);
}
.header-language .ko,
.header-language a[href*="ko"] {
  font-family: var(--font-ko);
}
.header-language .zh-sc,
.header-language a[href*="zh-sc"] {
    font-family: var(--font-zh-sc);
  }
.header-language .zh-tc,
.header-language a[href*="zh-tc"] {
    font-family: var(--font-zh-tc);
  }

.page-title {
  position: fixed;
  top: calc(150px + 1.5vw);
  left: 24.3vw;
  z-index: 1;
  width: 64vw;
  margin: auto;
  text-align: center;
}
.loading-outer {
  position: relative;
  top: 0;
  width: 100%;
  max-width: 1650px;
  /* max-height: 1250px; */
  /* min-height: 950px; */
  margin-inline: auto;
  /* padding-bottom: 180px; */
  aspect-ratio: 4 / 3;
  transition: top 0.8s;
}
.loading-outer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  z-index: -1;
  width: 100%;
  height: 10%;
  background: #83B4FF;
  animation: delay 4.5s ease-in-out;
}
/*.loading-outer:has(.scrolled) {
  top: -100px;
}*/

.l-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  margin-top: 60vw;
  padding: 19vw 20px 100vh;
  background: linear-gradient(180deg, #83B4FF 0%, #83B4FF 70%, #fff 120%);
}
.l-main::before {
  content: "";
  position: absolute;
  left: 0;
  top: -64vw;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 100 / 77;
  background-image: url("/html/limited-items/img/bg-top.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
.l-main::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 100 / 47;
  background-image: url("/html/limited-items/img/bg-bottom.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

@media (min-width: 1650px) {
  .page-title {
    top: 193px;
    left: calc(50% - 617px);
    width: 1450px;
  }
  .l-main {
    margin-top: 1140px;
    padding-top: 100px;
  }
  .l-main::before {
    top: -1194px;
  }
}

@media (max-width: 1350px) and (min-width: 768.1px) {
  .l-outer::before {
    background-size: 1.4vw;
  }
  .l-main {
    padding-inline: 1.4vw;
  }
}

@media (max-width: 768px) {
  .loading-outer {
    aspect-ratio: 1 / 1.7;
  }
  .loading .field01:before, .loading .field01:after {
    width: 10px;
  }

  .l-outer::before {
    background-size: 10px;
  }
  .l-header {
    height: 64px;
    padding: 0;
  }
  .l-header::before {
    top: 25px;
    left: 7vw;
    width: 95px;
    height: 63px;
  }
  .header-logo {
    width: 67px;
  }
  .header-language {
    top: 20px;
    right: 2vw;
    width: 122px;
  }
  .header-language img {
    width: 80px;
  }
  .header-language div {
    margin-left: 5px;
    font-size: 12px;
  }
  .header-language ul {
    top: 28px;
    width: 90%;
  }
  .header-language li {
    font-size: 14px;
  }
  .page-title {
    top: calc(58px + 10vw);
    left: 4.5vw;
    width: 89vw;
  }
  .l-main {
    margin-top: 130vw;
    padding-top: 100px;
    padding-inline: 10px;
  }
  .l-main::before {
    top: -128.5vw;
    aspect-ratio: 117 / 163;
    background-image: url("/html/limited-items/img/bg-top-sp.png");
  }
  .l-main::after {
    aspect-ratio: 39 / 25;
    background-image: url("/html/limited-items/img/bg-bottom-sp.png");
  }
}

.form-box {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: 20px;
}
.form-box p {
  margin-bottom: 50px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  font-family: sans-serif;
  text-align: center;
}
.form-box .note {
  font-size: 16px;
  font-weight: normal;
}
.filter-box {
  display: flex;
  justify-content: space-around;
  height: 70px;
  margin-bottom: 80px;
  border: none;
  border-radius: 100px;
  background-color: #fff;
  box-shadow: inset 2px 4px 4px rgba(0,0,0,0.1);
}
.filter-box:last-child {
  margin-bottom: 50px;
}
.filter-box.terminal .active {
  background-color: var(--color-red);
}
.filter-box.security .active {
  background-color: var(--text-color);
}
.filter-box.category .active {
  background-color: var(--color-blue);
}
.filter-box.category label:nth-child(2).active {
  background-color: var(--color-g1);
}
.filter-box.category label:nth-child(3).active {
  background-color: var(--color-g2);
}
.filter-box.category label:nth-child(4).active {
  background-color: var(--color-g3);
}
.filter-box.category label:nth-child(5).active {
  background-color: var(--color-g4);
}
.filter-box.category label:nth-child(6).active {
  background-color: var(--color-g5);
}
.filter-box label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% / 3);
  font-size: 24px;
  text-align: center;
  line-height: 1.2;
  border-radius: 100px;
  cursor: pointer;
}
.filter-box.category label {
  font-size: 24px;
}
.filter-box label.active {
  color: #fff;
}
.filter-box input {
  position: absolute;
  z-index: -10;
  opacity: 0;
  pointer-events: none;
}

#item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 3.5%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px 0;
  font-size: 16px;
}
.item-outer {
  width: 100%;
  background-image: url("/html/limited-items/img/cloud.png"), url("/html/limited-items/img/cloud.png");
  background-repeat: repeat-y, repeat-y;
  background-position: -500px 410px, calc(100% + 400px) 1280px;
}

@media (max-width: 768px) {
  .item-outer {
    background-position: -62vw 174vw, calc(100% + 40vw) 147vw;
    background-size: 106vw, 106vw;
  }
}

.item {
  width: 31%;
  margin-bottom: 1em;
  font-size: 18px;
  text-align: center;
  border-top: 7px solid var(--text-color);
  cursor: pointer;
  list-style: none;
  opacity: 0;
}
.item.js-on {
  animation: fadeIn 2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@media (max-width: 1000px) {
  .form-box p {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .form-box .note {
    margin-bottom: 50px;
    font-size: 14px;
  }
  .filter-box {
    position: relative;
    flex-wrap: wrap;
    gap: 20px 5%;
    height: auto;
    margin: 0 0 50px;
    padding-bottom: 50px;
    background-color: inherit;
    box-shadow: none;

  }
  .filter-box::after {
    content: '';
    display: inline-block;
    position: absolute;
    left: 1%;
    bottom: -4px;
    width: 98%;
    height: 8px;
    background: radial-gradient(circle farthest-side, #fff, #fff 50%, transparent 50%, transparent);
    background-size: 8px;
  }
  .filter-box label,
  .filter-box.category label {
    width: calc(95% / 2);
    height: 2lh;
    background-color: #fff;
    font-size: 17px;
    box-shadow: inset 2px 4px 4px rgba(0,0,0,0.1);
  }
  .filter-box.security label:first-child {
    margin-inline: 10%;
  }
}
@media (max-width: 768px) {
  .form-box .note {
    font-size: 12px;
  }
  #item-list {
    gap: 12px 3.5%;
    padding: 0 3vw;
  }
  .item {
    width: 48.2%;
  }
}

.item.g1 {
  border-color: var(--color-g1);
}
.item.g2 {
  border-color: var(--color-g2);
}
.item.g3 {
  border-color: var(--color-g3);
}
.item.g4 {
  border-color: var(--color-g4);
}
.item.g5 {
  border-color: var(--color-g5);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  25% {
    opacity: 0;
    transform: translateY(35px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes delay {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.item .c1 {
  position: relative;
  border-radius: 0 0 20px 20px;
  background-color: #fff;
}
.item .c1 .c1-limited {
  position: absolute;
  top: -35px;
  left: -35px;
}
.item .c1 .c1-terminal {
  line-height: 1.2;
  margin: 0 20px 20px;
  padding-block: 10px;
  border-bottom: 1px solid var(--text-color);
  overflow: hidden;
}
.item .c1 .c1-image {
  position: relative;
  margin-inline: 20px;
  padding-bottom: 27px;
  overflow: hidden;
}
.item .c1::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 4%;
  bottom: -4px;
  z-index: 100;
  width: 92%;
  height: 8px;
  background: radial-gradient(circle farthest-side, var(--color-gray), var(--color-gray) 50%, transparent 50%, transparent);
  background-size: 8px;
}
/* 
.item .c1 .c1-image .slider {
  display: inline-block;
  width: 100%;
  white-space: nowrap;
  position: absolute;
  left: 0;
  top: 0;
}
.item .c1 .c1-image .slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: 1 / 1;
} 
.item .c1 .c1-image .slider-slide.active {
  animation: c1-slide 6s linear infinite;
  z-index: 999;
} 

@keyframes c1-slide {
  0% {
    transform: translateX(100%);
  }
  10% {
    transform: translateX(0%);
  }
  90% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
 */
.item .c2 {
  padding-top: 28px;
  border-radius: 20px 20px 0 0;
  background-color: #fff;
}
.item .c2 .c2-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-inline: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-gray2);
}
.item .c2 .c2-itemname {
  height: 2lh;
  max-height: 2.8em;
  line-height: 1.4;
  overflow: hidden;
}
.item .c2 .c2-category {
  font-size: 14px;
  font-weight: 300;
}
.item .c2 .c2-shop {
  display: grid;
  place-items: center;
  position: relative;
  height: 120px;
  margin-inline: 20px;
}
.item .c2 .c2-shop span span {
  display: inline-block;
  margin-left: 0.5em;
}
@media (max-width: 768px) {
  .item .c1 .c1-limited {
    top: -30px;
    left: -12px;
    width: 72px;
  }
  .item .c1 .c1-terminal {
    margin-inline: 10px;
    font-size: 14px;
    white-space: nowrap;
  }
  .item .c1 .c1-image {
    margin-inline: 10px;
    padding-bottom: 15px;
  }
  .item .c1::before {
    left: 10%;
    width: 80%;
    height: 8px;
  }
  .item .c2 .c2-item {
    margin-inline: 10px;
    padding-bottom: 15px;
  }
  .item .c2 .c2-itemname {
    font-size: 14px;
  }
  .item .c2 .c2-category {
    font-size: 11px;
  }
  .item .c2 .c2-shop {
    height: 90px;
    margin-inline: 10px;
    font-size: 14px;
  }
}


.gotop {
  position: fixed;
  right: 5%;
  bottom: 0;
  z-index: 10;
  width: 100px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s, visibility 0s ease 1s;
}
.gotop.active {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

@media (min-width: 1650px) {
  .gotop {
    right: calc(50% - 740px);
  }
}
@media (max-width: 768px) {
  .gotop {
    width: 55px;
  }
}
.l-footer {
  position: relative;
  z-index: 10;
  display: grid;
  place-content: center;
  width: 100%;
  height: 100px;
  padding-block: 19px;
  border-radius: 20px 20px 0 0;
  color: #fff;
  background-color: var(--text-color);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16)
}


@media  (max-width: 768px) {
  .l-footer {
    height: 64px;
    padding: 0;
    font-size: 11px;
  }
}

/* モーダルのスタイル */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-overlay.active {
  display: flex;
}

#modal-overlay {
  padding-top: 50px;
}
.modal-inner {
  padding-top: 40px;
}
.modal-content {
  position: relative;
  width: 520px;
  min-width: 300px;
  max-width: 90vw;
  padding-block: 40px 50px;
}

.modal-content .c1 {
  position: relative;
  padding: 30px;
  background-color: #fff;
  border-radius: 0 0 30px 30px;
}
.modal-content .c1 .c1-limited {
  position: absolute;
  top: -40px;
  left: -52px;
  width: 165px;
}
.modal-content .c1 .c1-limited img {
  width: 100%;
}
.modal-content .c1 .c1-image {
  text-align: center;
}
.modal-content .c1 .c1-image::before {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  left: 0;
  bottom: -4px;
  width: calc(98% - 60px);
  height: 8px;
  margin: auto;
  background: radial-gradient(circle farthest-side, var(--color-gray), var(--color-gray) 50%, transparent 50%, transparent);
  background-size: 8px;
}

.modal-content .c2 {
  padding: 25px;
  background-color: #fff;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.modal-content .c2 .c2-itemname {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: bold;
}
.modal-content .c2 .c2-itemname.u-m0 {
  margin-bottom: 0;
}
.modal-content .c2 .c2-itemname dd {
  font-size: 18px;
}
.modal-content .c2 .c2-text {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: normal;
}
.modal-content .c2 .c2-text + .c2-itemlist {
  margin-top: 20px;
}
.modal-content .c2 [class*="c2-price"] {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}
.modal-content .c2 [class*="c2-price0"] {
  margin-block: 10px;
  line-height: 1;
}
.modal-content .c2 .c2-price01 {
  margin-top: 20px;
}
.modal-content .c2 [class*="c2-price"] span {
  font-size: 38px;
  font-weight: 500;
  font-family: var(--number-font);
}
.modal-content .c2 [class*="c2-price"] span span {
  font-size: 24px;
}
.modal-content .c2 [class*="c2-price0"] + .c2-text {
  margin-top: 20px;
}
.modal-content .c2 [class*="c2-list-text0"] {
  line-height: 2;
}
.modal-content .c2 .c2-list-text02 {
  margin-top: 20px;
}
.modal-content .c2 .c2-itemlist {
  display: flex;
  border-top: 1px solid var(--text-color);
  border-bottom: 1px solid var(--text-color);
}
.modal-content .c2 ul + .c2-itemlist {
  border-top: none;
}
.modal-content .c2 .c2-itemlist li {
  position: relative;
  display: grid;
  place-content: center;
  padding-block: 10px;
  text-align: center;
}
.modal-content .c2 .c2-itemlist li:nth-child(1) {
  width: 130px;
  padding-right: 10px;
}
.modal-content .c2 .c2-itemlist li:nth-child(2) {
  width: 135px;
  padding-inline: 10px;
}
.modal-content .c2 .c2-itemlist li:nth-child(3) {
  width: 246px;
  padding-inline: 6px;
  font-size: 14px;
}
.modal-content .c2 .c2-itemlist li + li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 1px;
  height: calc(100% - 10px);
  background-color: var(--text-color);
}

.modal-close {
  position: absolute;
  top: 12.5px;
  right: -34.5px;
  z-index: 10;
  display: block;
  align-content: flex-end;
  width: 70px;
  height: 55px;
  color: var(--line-color);
  font-size: 35px;
  text-align: center;
  line-height: 55px;
  border: 3px solid var(--line-color);
  border-radius: 100px;
  background-color: var(--bg-color);
  cursor: pointer;
}

html:has(.modal-overlay.active) {
  overflow: hidden;
}
html:has(.modal-overlay.active) body {
  scrollbar-gutter: stable;
  overflow: auto;
}
html:has(.modal-overlay.active) .l-outer {
  filter: blur(15px);
  -webkit-filter: blur(15px);
}

@media (max-width: 768px) {
  .modal-content {
    width: 80vw;
    padding-block: 20px 50px;
  }
  .modal-close {
    top: 0;
    right: -30px;
    width: 60px;
    height: 42.5px;
    font-size: 28px;
    text-align: center;
    line-height: 42.5px;
    border: 2px solid var(--line-color);
  }

  .modal-content .c1 {
    padding: 20px;
  }
  .modal-content .c1 .c1-limited {
    top: -20px;
    left: -23px;
    width: 130px;
  }
  .modal-content .c2 {
    padding: 15px;
  }
  .modal-content .c2 .c2-itemname {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .modal-content .c2 .c2-price span {
    font-size: 30px;
    line-height: 1.2;
  }
  .modal-content .c2 .c2-price span span {
    font-size: 20px;
  }
  .modal-content .c2 .c2-itemlist li:nth-child(1) {
    width: 110px;
    padding-right: 5px;
    font-size: 11px;
  }
  .modal-content .c2 .c2-itemlist li:nth-child(2) {
    width: 110px;
  }
  .modal-content .c2 .c2-itemlist li:nth-child(3) {
    width: calc(100% - 110px);
    font-size: 14px;
  }
}
