@charset "UTF-8";
@font-face {
  font-family: "InterBold";
  src: url("../../../fonts/Inter-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "InterMedium";
  src: url("../../../fonts/Inter-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "InterLight";
  src: url("../../../fonts/Inter-Light.ttf") format("truetype");
}
* {
  border: 0;
  box-sizing: border-box;
  color: #45433e;
  font-family: "yu-gothic-pr6n", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin: 0;
  outline: 0;
  padding: 0;
}

html {
  font-size: clamp(0.8533333333rem, 4.2666666667vw, 2.1333333333rem);
  min-width: 20rem;
}
@media (min-width: 800px) {
  html {
    font-size: clamp(0.6675rem, 1.3333333333vw, 1rem);
  }
}

body {
  background: #45433e;
  overflow: auto;
  position: relative;
}

main {
  min-height: calc(100vh - 5rem);
}
@media (min-width: 800px) {
  main {
    min-height: calc(100vh - 5rem);
  }
}

h1 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
@media (min-width: 800px) {
  h1 {
    font-size: 1.5rem;
    letter-spacing: 0.3em;
  }
}

h2 {
  color: #45433e;
  font-weight: 700;
  letter-spacing: 0;
}

ol,
ul {
  list-style: none;
}

a,
p,
li,
dt,
dd,
th,
td,
span,
label,
input,
button,
select {
  text-decoration: none;
}

button {
  background: none;
  cursor: pointer;
}

@media (min-width: 800px) {
  a,
  label,
  button,
  i,
  .hover {
    transition: opacity 0.2s ease;
  }
  a:hover,
  label:hover,
  button:hover,
  i:hover,
  .hover:hover {
    opacity: 0.8;
  }
}
a:disabled,
label:disabled,
button:disabled,
i:disabled,
.hover:disabled {
  cursor: not-allowed;
}
a:disabled:hover,
label:disabled:hover,
button:disabled:hover,
i:disabled:hover,
.hover:disabled:hover {
  opacity: 1;
}

img {
  font-size: 0;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  width: 100%;
}

.container__white-bg {
  background: #fff;
  border-radius: 0.625rem 0.625rem 0 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}
@media (min-width: 800px) {
  .container__white-bg {
    border-radius: 1.25rem 1.25rem 0 0;
  }
}

.container__gray-bg {
  background: #f4f4f5;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.container__gray-bg::before {
  box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.2) inset;
  content: "";
  height: 120%;
  left: -10%;
  position: absolute;
  top: 0;
  width: 120%;
  z-index: 0;
}
@media (min-width: 800px) {
  .container__gray-bg::before {
    box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.2) inset;
  }
}

.pc-only {
  display: none;
}
@media (min-width: 800px) {
  .pc-only {
    display: inline-block;
  }
}

body:has(.nav[data-is-open=true]) {
  overflow: hidden;
}

.header {
  position: relative;
}

.header__inner {
  align-items: center;
  box-sizing: content-box;
  display: flex;
  height: 5rem;
  justify-content: space-between;
  margin: 0 auto;
  width: 20rem;
}

@media (min-width: 800px) {
  .header__inner {
    height: 5rem;
    width: 71.25rem;
  }
}

.nav-open {
  align-items: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-family: "InterMedium", "YuGothic", "遊ゴシック", sans-serif;
  font-size: 0.625rem;
  justify-content: space-between;
  letter-spacing: 0.065em;
}
@media (min-width: 800px) {
  .nav-open {
    font-size: 0.75rem;
  }
}
.nav-open::before {
  background: url(../../../images/icon/icon_menu.svg) no-repeat center/contain;
  content: "";
  height: 1.6875rem;
  width: 1.6875rem;
}
@media (min-width: 800px) {
  .nav-open::before {
    height: 2rem;
    width: 2rem;
  }
}

.nav {
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: all 0.3s ease;
  visibility: hidden;
  z-index: 10000;
}
.nav[data-is-open=true] {
  opacity: 1;
  visibility: visible;
}

.nav__inner {
  background: #fff;
  border-radius: 0 0 0.3125rem 0.3125rem;
  margin: 0 auto;
  max-height: 100vh;
  overflow-y: auto;
  padding: 1.25rem 0 2.5rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  width: 21.875rem;
}
@media (min-width: 800px) {
  .nav__inner {
    border-radius: 0 0 1.25rem 1.25rem;
    padding: 2.5rem 0;
    width: 100%;
  }
}
.nav[data-is-open=true] .nav__inner {
  transform: translateY(0);
}
.nav__inner ul {
  margin: 1.875rem auto 0;
  width: 20rem;
}
@media (min-width: 800px) {
  .nav__inner ul {
    margin-top: 1.875rem;
    width: 62.5rem;
  }
}
.nav__inner ul li {
  border-top: 1px solid #d3d2cf;
}
.nav__inner ul li a {
  display: flex;
  font-size: 0.875rem;
  justify-content: space-between;
  padding: 0.875rem 0.25rem;
}
@media (min-width: 800px) {
  .nav__inner ul li a {
    font-size: 1rem;
    padding: 1.25rem 0.5rem;
  }
}
.nav__inner ul li form {
  padding: 0.875rem 0.25rem;
  position: relative;
}
@media (min-width: 800px) {
  .nav__inner ul li form {
    padding: 1.25rem 0.5rem;
  }
}
.nav__inner ul li form input {
  border: 1px solid #d3d2cf;
  font-size: 0.875rem;
  padding: 0.875rem 1.875rem 0.875rem 0.5rem;
  width: 100%;
}
@media (min-width: 800px) {
  .nav__inner ul li form input {
    font-size: 1rem;
    padding: 1.25rem 3.75rem 1.25rem 1rem;
  }
}
.nav__inner ul li form button {
  box-sizing: content-box;
  height: 0.75rem;
  padding: 0.5rem;
  position: absolute;
  right: 0.5rem;
  top: calc(50% - 0.875rem);
  width: 0.75rem;
}
@media (min-width: 800px) {
  .nav__inner ul li form button {
    height: 1.125rem;
    padding: 0.5rem;
    right: 1.125rem;
    top: calc(50% - 1.0625rem);
    width: 1.125rem;
  }
}
.nav__inner ul li form button i {
  background: url(../../../images/icon/icon_search.svg) no-repeat center/contain;
  display: block;
  height: 100%;
  width: 100%;
}

.nav__close-btn {
  margin: 0 auto;
  width: 20rem;
}
@media (min-width: 800px) {
  .nav__close-btn {
    width: 62.5rem;
  }
}
.nav__close-btn button {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 0.625rem;
  margin-left: auto;
  padding-top: 0.25rem;
}
@media (min-width: 800px) {
  .nav__close-btn button {
    font-size: 0.75rem;
    padding-top: 0.125rem;
  }
}
.nav__close-btn button::before {
  background: url(../../../images/icon/icon_close.svg) no-repeat center/contain;
  content: "";
  height: 0.75rem;
  width: 0.75rem;
}
@media (min-width: 800px) {
  .nav__close-btn button::before {
    height: 1.5rem;
    width: 1.5rem;
  }
}

.breadcrumb {
  margin: 0 auto;
  padding: 1.1875rem 0;
  position: relative;
  width: 20rem;
  z-index: 5;
}
@media (min-width: 800px) {
  .breadcrumb {
    padding: 1.875rem 0;
    width: 62.5rem;
  }
}
.breadcrumb::before {
  box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.2);
  content: "";
  height: 100%;
  left: -25%;
  position: absolute;
  top: 0;
  width: 150%;
  z-index: -1;
}
@media (min-width: 800px) {
  .breadcrumb::before {
    content: none;
  }
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem;
}
@media (min-width: 800px) {
  .breadcrumb ol {
    gap: 0.3125rem;
  }
}
.breadcrumb li:not(:first-child)::before {
  content: ">";
  font-size: 0.75rem;
}
@media (min-width: 800px) {
  .breadcrumb li:not(:first-child)::before {
    font-size: 0.75rem;
  }
}
.breadcrumb a {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-decoration: underline;
}
@media (min-width: 800px) {
  .breadcrumb a {
    font-size: 0.75rem;
  }
}
.breadcrumb span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
@media (min-width: 800px) {
  .breadcrumb span {
    font-size: 0.75rem;
  }
}

.container__gray-bg {
  display: none;
}
main:has(.details__product[data-has-variations=true]) .container__gray-bg{
  display: block;
}

.details__product {
  margin: 1.8125rem auto 0;
  padding-bottom: 9.375rem;
  width: 20rem;
}
@media (min-width: 800px) {
  .details__product {
    display: flex;
    justify-content: space-between;
    margin: 3.125rem auto 0;
    padding-bottom: 12.5rem;
    position: relative;
    width: 62.5rem;
  }
}
.details__product[data-has-variations=true] {
  padding-bottom: 3.125rem;
}
@media (min-width: 800px) {
  .details__product[data-has-variations=true] {
    padding-bottom: 5rem;
  }
}

.details__product--head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.71875rem;
}
@media (min-width: 800px) {
  .details__product--head {
    display: block;
    position: absolute;
    right: 0;
    top: 1.875rem;
    width: 28.125rem;
  }
}
.details__product--head[data-has-flag=true]::after {
  align-items: center;
  border: 0.0625rem solid #c80421;
  box-sizing: border-box;
  color: #c80421;
  content: attr(data-flag-txt);
  display: inline-flex;
  font-family: "InterMedium", "YuGothic", "遊ゴシック", sans-serif;
  font-size: 0.625rem;
  height: 1rem;
  justify-content: center;
  order: 1;
  padding: 0 0.375rem;
}
@media (min-width: 800px) {
  .details__product--head[data-has-flag=true]::after {
    border: 0.125rem solid #c80421;
    font-size: 0.75rem;
    height: 1.375rem;
    margin-top: 0.625rem;
    padding: 0 0.75rem 0 0.875rem;
  }
}
.details__product--head span {
  font-size: 0.75rem;
  order: 2;
}
@media (min-width: 800px) {
  .details__product--head span {
    font-size: 0.75rem;
  }
}
.details__product--head h2 {
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  order: 3;
  width: 100%;
}
@media (min-width: 800px) {
  .details__product--head h2 {
    font-size: 1.25rem;
  }
}

.details__product--img {
  margin-top: 1.25rem;
  position: relative;
}
@media (min-width: 800px) {
  .details__product--img {
    display: flex;
    justify-content: space-between;
    height: 26.25rem;
    margin-top: 0;
    width: 31.875rem;
  }
}

.details__product--img-view {
  border: 1px solid #f4f4f5;
  box-sizing: border-box;
  height: 20rem;
  padding: 1.875rem;
  position: relative;
  width: 20rem;
}
@media (min-width: 800px) {
  .details__product--img-view {
    height: 100%;
    padding: 1.875rem;
    width: 26.25rem;
  }
}

.details__product--img-view_carousel {
  overflow: hidden;
  width: 100%;
}
.details__product--img-view_carousel ol {
  display: flex;
  height: 16.25rem;
  transition: transform 0.2s ease;
}
@media (min-width: 800px) {
  .details__product--img-view_carousel ol {
    height: 20.625rem;
  }
}
.details__product--img-view_carousel li {
  flex-shrink: 0;
  height: 100%;
  width: 16.25rem;
}
@media (min-width: 800px) {
  .details__product--img-view_carousel li {
    width: 22.5rem;
  }
}

.details__product--img-view_pager {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.2);
  height: 1.5625rem;
  opacity: 0;
  position: absolute;
  top: calc(50% - 0.78125rem);
  transition: all 0.1s ease;
  visibility: hidden;
  width: 1.5625rem;
}
@media (min-width: 800px) {
  .details__product--img-view_pager {
    box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.2);
    height: 1.875rem;
    top: calc(50% - 0.9375rem);
    width: 1.875rem;
  }
}
.details__product--img-view_pager[data-is-active=true] {
  opacity: 1;
  visibility: visible;
}
.details__product--img-view_pager i {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.details__product--img-view_pager i::before {
  border: 0.0625rem solid transparent;
  border-left-color: #807f7d;
  border-top-color: #807f7d;
  content: "";
  height: 0.25rem;
  width: 0.25rem;
}
@media (min-width: 800px) {
  .details__product--img-view_pager i::before {
    border-width: 0.125rem;
    height: 0.25rem;
    width: 0.25rem;
  }
}
.details__product--img-view_pager._prev {
  left: -0.9375rem;
}
@media (min-width: 800px) {
  .details__product--img-view_pager._prev {
    left: -0.9375rem;
  }
}
.details__product--img-view_pager._prev i::before {
  transform: translateX(0.125rem) rotate(-45deg);
}
@media (min-width: 800px) {
  .details__product--img-view_pager._prev i::before {
    transform: translateX(0.125rem) rotate(-45deg);
  }
}
.details__product--img-view_pager._next {
  right: -0.9375rem;
}
@media (min-width: 800px) {
  .details__product--img-view_pager._next {
    right: -0.9375rem;
  }
}
.details__product--img-view_pager._next i::before {
  transform: translateX(-0.125rem) rotate(135deg);
}
@media (min-width: 800px) {
  .details__product--img-view_pager._next i::before {
    transform: translateX(-0.125rem) rotate(135deg);
  }
}

.details__product--img-view_enlarged {
  background: url(../../../images/icon/icon_zoom.svg) no-repeat center/contain;
  bottom: 0.625rem;
  display: block;
  height: 1.0625rem;
  position: absolute;
  right: 0.625rem;
  width: 1.0625rem;
}
@media (min-width: 800px) {
  .details__product--img-view_enlarged {
    bottom: 0.625rem;
    height: 1rem;
    right: 0.625rem;
    width: 1rem;
  }
}

.details__product--thumbnails {
  display: none;
}
@media (min-width: 800px) {
  .details__product--thumbnails {
    display: block;
    height: 100%;
    position: relative;
    width: 3.75rem;
  }
}

.details__product--thumbnails_carousel {
  display: none;
}
@media (min-width: 800px) {
  .details__product--thumbnails_carousel {
    display: block;
    height: 100%;
    overflow: hidden;
    width: 100%;
  }
}
.details__product--thumbnails_carousel ol {
  display: none;
}
@media (min-width: 800px) {
  .details__product--thumbnails_carousel ol {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease;
  }
}
.details__product--thumbnails_carousel li {
  display: none;
}
@media (min-width: 800px) {
  .details__product--thumbnails_carousel li {
    border: 1px solid #f4f4f5;
    cursor: pointer;
    display: block;
    flex-shrink: 0;
    height: 3.75rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 3.75rem;
  }
  .details__product--thumbnails_carousel li[data-is-current=true] {
    border-color: #45433e;
    cursor: default;
  }
  .details__product--thumbnails_carousel li[data-is-current=true]:hover {
    opacity: 1;
  }
}

.details__product--thumbnails_pager {
  display: none;
}
@media (min-width: 800px) {
  .details__product--thumbnails_pager {
    border-radius: 50%;
    display: block;
    height: 1.5rem;
    left: calc(50% - 0.75rem);
    opacity: 0;
    position: absolute;
    transition: all 0.1s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    visibility: hidden;
    width: 1.5rem;
  }
  .details__product--thumbnails_pager[data-is-active=true] {
    opacity: 1;
    visibility: visible;
  }
}
.details__product--thumbnails_pager i {
  display: none;
}
@media (min-width: 800px) {
  .details__product--thumbnails_pager i {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
  }
  .details__product--thumbnails_pager i::before {
    border: 0.125rem solid transparent;
    border-left-color: #807f7d;
    border-top-color: #807f7d;
    content: "";
    height: 0.5rem;
    width: 0.5rem;
  }
}
.details__product--thumbnails_pager._prev {
  display: noen;
}
@media (min-width: 800px) {
  .details__product--thumbnails_pager._prev {
    display: block;
    top: -2rem;
  }
  .details__product--thumbnails_pager._prev i::before {
    transform: translateY(0.1875rem) rotate(45deg);
  }
}
.details__product--thumbnails_pager._next {
  display: none;
}
@media (min-width: 800px) {
  .details__product--thumbnails_pager._next {
    bottom: -2rem;
    display: block;
  }
  .details__product--thumbnails_pager._next i::before {
    transform: translateY(-0.1875rem) rotate(225deg);
  }
}

.details__product--tracker {
  align-items: center;
  display: flex;
  height: 0.1875rem;
  margin: 1.25rem auto 0;
  position: relative;
  width: 18.75rem;
}
@media (min-width: 800px) {
  .details__product--tracker {
    display: none;
  }
}
.details__product--tracker::before {
  background: #d3d2cf;
  bottom: calc(50% - 0.03125rem);
  content: "";
  height: 0.0625rem;
  left: 0;
  position: absolute;
  width: 100%;
}
@media (min-width: 800px) {
  .details__product--tracker::before {
    content: none;
  }
}
.details__product--tracker span {
  background: transparent;
  border-radius: 9999px;
  height: 0.1875rem;
  position: relative;
  transition: background-color 0.2s ease;
  width: 100%;
}
@media (min-width: 800px) {
  .details__product--tracker span {
    display: none;
  }
}
.details__product--tracker span[data-is-active=true] {
  background: #45433e;
}

.details__product--info {
  padding-top: 2.5rem;
}
@media (min-width: 800px) {
  .details__product--info {
    padding-top: 8.75rem;
    width: 28.125rem;
  }
}
.details__product--info p {
  font-size: 0.875rem;
}
@media (min-width: 800px) {
  .details__product--info p {
    font-size: 0.875rem;
  }
}
.details__product--info dl {
  margin-top: 2.4375rem;
}
@media (min-width: 800px) {
  .details__product--info dl {
    margin-top: 1.25rem;
  }
}
.details__product--info dl div {
  display: flex;
  gap: 0.9375rem;
}
@media (min-width: 800px) {
  .details__product--info dl div {
    gap: 0.9375rem;
  }
}
.details__product--info dl div:not(:first-child):not(:last-child) {
  margin-top: 0.625rem;
}
@media (min-width: 800px) {
  .details__product--info dl div:not(:first-child):not(:last-child) {
    margin-top: 0.625rem;
  }
}
.details__product[data-has-variations=true] .details__product--info dl div:nth-last-child(-n+3) {
  display: none;
}
.details__product--info dl dt {
  align-items: center;
  border-bottom: 1px solid #ccc;
  display: flex;
  flex-basis: 7.5rem;
  flex-shrink: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.5625rem 0.3125rem;
}
@media (min-width: 800px) {
  .details__product--info dl dt {
    flex-basis: 7.5rem;
    font-size: 0.875rem;
    line-height: 1;
    padding: 0.5rem 0.3125rem;
  }
}
.details__product--info dl dd {
  align-items: center;
  border-bottom: 1px solid #888;
  display: flex;
  flex-basis: 100%;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.5625rem 0.3125rem;
}
@media (min-width: 800px) {
  .details__product--info dl dd {
    font-size: 0.875rem;
    line-height: 1;
    padding: 0.5rem 0.3125rem;
  }
}
.details__product--info dl dd .details__product--info_jan-code {
  height: auto;
  display: block;
  text-align: center;
}
@media (min-width: 800px) {
  .details__product--info dl dd .details__product--info_jan-code {
    width: 8.125rem;
  }
}

.details__variations {
  align-items: flex-start;
  counter-reset: variation-index 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8125rem;
  margin: 0 auto;
  padding: 4.375rem 0 9.375rem;
  position: relative;
  width: 21.875rem;
}
@media (min-width: 800px) {
  .details__variations {
    gap: 1.5625rem calc((100% - 59.375rem) / 4);
    padding: 5rem 0 12.5rem;
    width: 62.5rem;
  }
}
.details__variations li {
  background: #fff;
  border-radius: 0.625rem;
  box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: calc(50% - 0.40625rem);
}
@media (min-width: 800px) {
  .details__variations li {
    border-radius: 0.625rem;
    box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.2);
    width: 11.875rem;
  }
}
.details__variations li::before {
  content: attr(data-color); /* data-color 属性の値を表示 */
  display: block;
  font-size: 0.75rem;
  padding: 0.625rem 0;
  text-align: center;
}
@media (min-width: 800px) {
  .details__variations li::before {
    font-size: 0.65rem;
    padding: 0.5rem 0;
  }
}
.details__variations li dl {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.details__variations li dl dt {
  box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.2);
  font-size: 0.90625rem;
  line-height: 1.29;
  order: 2;
  padding: 0.625rem 0;
  text-align: center;
  width: 100%;
}
@media (min-width: 800px) {
  .details__variations li dl dt {
    box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.2);
    font-size: 0.875rem;
    padding: 0.625rem 0;
  }
}

.details__variations--img {
  height: 5.75rem;
  order: 1;
  padding: 0.25rem 1rem 1rem;
  position: relative;
  width: 100%;
}
@media (min-width: 800px) {
  .details__variations--img {
    height: 7.75rem;
    padding: 0.5rem 1.5rem 1.5rem;
  }
}

.details__variations--pos {
  background: #fff;
  border-bottom: 1px solid #aa9999;
  border-top: 1px solid #aa9999;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(2, 1fr);
  height: 3rem;
  order: 3;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}
@media (min-width: 800px) {
  .details__variations--pos {
    height: 3.25rem;
  }
}
.details__variations--pos::before {
  border-top: 1px dashed #666;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: calc(50% - 0.5px);
  width: 100%;
}
.details__variations--pos span {
  font-size: 0.90625rem;
}
@media (min-width: 800px) {
  .details__variations--pos span {
    font-size: 0.875rem;
  }
}
.details__variations--pos span:nth-child(n+9) {
  position: relative;
}
.details__variations--pos span:nth-child(n+9)::before {
  border-left: 1px dashed #666;
  bottom: 0;
  content: "";
  height: 200%;
  left: 0;
  position: absolute;
  width: 1px;
}

.details__variations--code {
  color: #c80421;
  font-size: 0.90625rem;
  line-height: 1.5rem;
  order: 4;
}
@media (min-width: 800px) {
  .details__variations--code {
    font-size: 0.875rem;
    line-height: 1.625rem;
  }
}

.details__variations--jan {
  border-top: 1px solid #aa9999;
  height: 6rem;
  order: 5;
  padding: 1rem 1rem;
  width: 100%;
}
@media (min-width: 800px) {
  .details__variations--jan {
    height: 6.25rem;
    padding: 1.125rem 1.875rem 1rem;
  }
}

.details__variations--chu {
  order: 6;
  height: auto;
  text-align: center;
  font-size: 0.75rem;
  color: #666;
}

body:has(.modal[data-is-shown=true]) {
  overflow: hidden;
}
body:has(.modal[data-is-shown=true]) main {
  overflow: auto;
  scrollbar-gutter: stable;
}

.modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: all 0.2s ease;
  visibility: hidden;
  z-index: 9999;
}
.modal[data-is-shown=true] {
  opacity: 1;
  visibility: visible;
}
.modal[data-is-shown=true] .modal__color-variations, .modal[data-is-shown=true] .modal__enlarged-display {
  transform: translateX(0);
}
.modal[data-is-shown=true] .modal__enlarged-display li.is-shown {
  opacity: 1;
  visibility: visible;
}
.modal[data-is-shown=true] .modal__enlarged-display li.is-selected {
  border-color: #45433e;
}
.modal[data-is-shown=true] .modal__enlarged-display li.is-selected:hover {
  opacity: 1;
}

.modal__color-variations {
  background: #fff;
  border-radius: 0.40625rem;
  box-shadow: 0 0 0.125rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateX(-1.25rem);
  transition: transform 0.2s ease;
  height: 23.0625rem;
  max-height: 90vh;
  padding: 0.875rem 0.5625rem 0.90625rem 1.09375rem;
  width: 21.875rem;
}
@media (min-width: 800px) {
  .modal__color-variations {
    border-radius: 0.625rem;
    box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.1);
    height: 34.375rem;
    max-height: 80vh;
    padding: 1.25rem 0.9375rem 1.25rem 1.875rem;
    width: 33.75rem;
  }
}
.modal__color-variations button {
  background: url(../../../images/icon/icon_close.svg) no-repeat center/contain;
  display: block;
  height: 0.5625rem;
  margin-bottom: 0.9375rem;
  margin-left: auto;
  transform: translateX(-0.53125rem);
  width: 0.5625rem;
}
@media (min-width: 800px) {
  .modal__color-variations button {
    height: 0.875rem;
    margin-bottom: 1.25rem;
    transform: translateX(-1rem);
    width: 0.875rem;
  }
}
.modal__color-variations .modal__content {
  display: grid;
  gap: 1.25rem 0.625rem;
  grid-template-columns: repeat(3, 6.125rem);
  max-height: calc(100% - 0.5625rem - 0.9375rem);
  overflow-y: auto;
}
@media (min-width: 800px) {
  .modal__color-variations .modal__content {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(4, 6.5625rem);
    max-height: calc(100% - 0.875rem - 1.25rem);
    overflow-y: auto;
  }
}
.modal__color-variations .modal__content::-webkit-scrollbar {
  width: 0.1875rem;
}
@media (min-width: 800px) {
  .modal__color-variations .modal__content::-webkit-scrollbar {
    width: 0.375rem;
  }
}
.modal__color-variations .modal__content::-webkit-scrollbar-thumb {
  background-color: #d3d2cf;
  border-radius: 0.1875rem;
  cursor: grab;
}
@media (min-width: 800px) {
  .modal__color-variations .modal__content::-webkit-scrollbar-thumb {
    border-radius: 0.1875rem;
  }
}
.modal__color-variations .modal__content::-webkit-scrollbar-thumb:active {
  cursor: grabbing;
}
.modal__color-variations .modal__content label {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 0.8125rem;
  gap: 0.5rem;
  letter-spacing: 0.06em;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
@media (min-width: 800px) {
  .modal__color-variations .modal__content label {
    font-size: 0.8125rem;
    gap: 0.5rem;
  }
}
.modal__color-variations .modal__content label::before {
  background: transparent;
  border: 1px solid #d3d2cf;
  content: "";
  height: 1rem;
  width: 1rem;
}
@media (min-width: 800px) {
  .modal__color-variations .modal__content label::before {
    height: 1rem;
    width: 1rem;
  }
}
.modal__color-variations .modal__content label:has(input:checked)::before {
  background: #45433e;
}
.modal__color-variations .modal__content label input {
  display: none;
}
.modal__color-variations dl.modal__content {
  gap: 0.5rem 0.625rem;
  grid-template-columns: repeat(5, 3.4375rem);
}
@media (min-width: 800px) {
  .modal__color-variations dl.modal__content {
    gap: 1.25rem;
    grid-template-columns: repeat(5, 5rem);
  }
}
.modal__color-variations dl.modal__content div {
  display: flex;
  flex-direction: column;
  height: 4.578125rem;
  justify-content: space-between;
  width: 100%;
}
@media (min-width: 800px) {
  .modal__color-variations dl.modal__content div {
    height: 6.5rem;
  }
}
.modal__color-variations dl.modal__content div dt {
  font-size: 0.6875rem;
  line-height: 1;
  letter-spacing: 0.025em;
  order: 2;
  text-align: center;
}
@media (min-width: 800px) {
  .modal__color-variations dl.modal__content div dt {
    font-size: 0.625rem;
    line-height: 1.6;
  }
}
.modal__color-variations dl.modal__content div dd {
  border: 1px solid #f4f4f5;
  height: 3.4375rem;
  order: 1;
  width: 100%;
}
@media (min-width: 800px) {
  .modal__color-variations dl.modal__content div dd {
    height: 5rem;
  }
}

.modal__enlarged-display {
  background: #fff;
  border-radius: 0.40625rem;
  box-shadow: 0 0 0.125rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateX(-1.25rem);
  transition: transform 0.2s ease;
  max-height: 90vh;
  max-width: 530px;
  padding: 2.4375rem 1.09375rem 1.09375rem;
  position: relative;
  width: 21.875rem;
}
@media (min-width: 800px) {
  .modal__enlarged-display {
    border-radius: 0.625rem;
    box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.1);
    height: 37.5rem;
    max-width: unset;
    padding: 3.125rem 1.625rem 1.875rem 2.5rem;
    width: 53.5rem;
  }
}
.modal__enlarged-display button {
  background: url(../../../images/icon/icon_close.svg) no-repeat center/contain;
  height: 0.5625rem;
  position: absolute;
  right: 1.09375rem;
  top: 0.875rem;
  width: 0.5625rem;
}
@media (min-width: 800px) {
  .modal__enlarged-display button {
    height: 0.875rem;
    right: 2.5rem;
    top: 1.25rem;
    width: 0.875rem;
  }
}
.modal__enlarged-display .modal__content {
  height: 100%;
  position: relative;
  width: 100%;
}
@media (min-width: 800px) {
  .modal__enlarged-display .modal__content {
    display: flex;
    justify-content: space-between;
  }
}
.modal__enlarged-display .modal__content--main-img {
  border: 1px solid #f4f4f5;
  height: 20rem;
  max-height: 460px;
  position: relative;
  width: 100%;
}
@media (min-width: 800px) {
  .modal__enlarged-display .modal__content--main-img {
    height: 100%;
    max-height: unset;
    width: 32.5rem;
  }
}
.modal__enlarged-display .modal__content--main-img li {
  bottom: 0;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: all 0.2s ease;
  visibility: hidden;
  width: 100%;
}
.modal__enlarged-display .modal__content--thumbnails {
  box-sizing: content-box;
  height: 5rem;
  margin-top: 0.625rem;
  max-height: 100px;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  width: 100%;
}
@media (min-width: 800px) {
  .modal__enlarged-display .modal__content--thumbnails {
    height: 100%;
    margin-top: 0;
    max-height: unset;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 0;
    width: 14rem;
  }
}
.modal__enlarged-display .modal__content--thumbnails::-webkit-scrollbar {
  height: 0.1875rem;
  width: 0.1875rem;
}
@media (min-width: 800px) {
  .modal__enlarged-display .modal__content--thumbnails::-webkit-scrollbar {
    height: 0.375rem;
    width: 0.375rem;
  }
}
.modal__enlarged-display .modal__content--thumbnails::-webkit-scrollbar-thumb {
  background-color: #d3d2cf;
  border-radius: 0.1875rem;
  cursor: grab;
}
@media (min-width: 800px) {
  .modal__enlarged-display .modal__content--thumbnails::-webkit-scrollbar-thumb {
    border-radius: 0.1875rem;
  }
}
.modal__enlarged-display .modal__content--thumbnails::-webkit-scrollbar-thumb:active {
  cursor: grabbing;
}
.modal__enlarged-display .modal__content--thumbnails ol {
  align-content: start;
  display: flex;
  gap: 0.625rem;
  height: 100%;
}
@media (min-width: 800px) {
  .modal__enlarged-display .modal__content--thumbnails ol {
    display: grid;
    gap: 0.625rem;
    grid-template-columns: repeat(2, 6.25rem);
    height: auto;
    width: 100%;
  }
}
.modal__enlarged-display .modal__content--thumbnails ol li {
  border: 1px solid #f4f4f5;
  cursor: pointer;
  flex-shrink: 0;
  height: 100%;
  max-width: 100px;
  transition: opacity 0.2s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  width: 5rem;
}
@media (min-width: 800px) {
  .modal__enlarged-display .modal__content--thumbnails ol li {
    height: 6.25rem;
    max-width: unset;
    width: 100%;
  }
}

/* Backボタンのスタイル */
.back-btn {
	background-color: #eee;
	border: none;
	padding: 0.3rem;
	font-size: 1rem;
	color: #333;
	cursor: pointer;
	border-radius: 4px;
}
.back-btn:hover {
	background-color: #bbb;
}
@media (min-width: 800px) {
	.back-btn {
		display: none;
	}
}

.floating-btn {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: block;
    width: 3.6rem;
    overflow: hidden;
    position: fixed;
    bottom: 3.4rem;
    right: 0.3rem;
	z-index: 10;
}
.floating-btn a {
    align-items: center;
    display: flex;
    right: 1rem;
    height: 100%;
    justify-content: center;
    padding: 1.03125rem;
    width: 100%;
}
main:has(form[data-has-data=false]) .floating-btn {
	display: none;
}
@media (min-width: 800px) {
  .floating-btn {
    height: 5.625rem;
    width: 5.625rem;
    bottom: 6rem;
    right: 1.875rem;
  }
}

.floating-back {
  display: none;
}
@media (min-width: 800px) {
  .floating-back {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: block;
    overflow: hidden;
    position: fixed;
    top: 6rem;
    right: 1.875rem;
    height: 5.625rem;
    width: 5.625rem;
  }
  .floating-back a {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 0.8rem;
    width: 100%;
  }
}

.footer {
  bottom: 0;
  display: flex;
  height: 3rem;
  justify-content: center;
  left: 0;
  overflow: hidden;
  padding-top: 0.8rem;
  position: fixed;
  width: 100%;
  z-index: 5;
}
@media (min-width: 800px) {
  .footer {
    height: 3.75rem;
    padding-top: 1.25rem;
  }
}
.footer::before {
  background: #45433e;
  box-shadow: 0 0 0.375rem #000 inset;
  content: "";
  height: 120%;
  left: -10%;
  position: absolute;
  top: 0;
  width: 120%;
  z-index: -1;
}
@media (min-width: 800px) {
  .footer::before {
    box-shadow: 0 0 0.375rem #000 inset;
  }
}
.footer a {
  align-items: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-family: "InterMedium", "YuGothic", "遊ゴシック", sans-serif;
  font-size: 0.8rem;
}
@media (min-width: 800px) {
  .footer a {
    font-size: 0.75rem;
  }
}
.footer a::before {
  border: 0.0625rem solid transparent;
  border-left-color: #fff;
  border-top-color: #fff;
  content: "";
  height: 0.5rem;
  transform: rotate(45deg) translate(0, 12px);
  width: 0.5rem;
}
@media (min-width: 800px) {
  .footer a::before {
    border-width: 0.125rem;
    height: 0.375rem;
    width: 0.375rem;
	transform: rotate(45deg) translate(0, 0);
  }
}
.footer p{
	color: #FFFFFF;
	margin: 0;
	padding: 5px;
	display: block;
	position: absolute;
	top: 0;
	font-size: 0.6rem;
}
@media (min-width: 800px) {
  .footer p {
	right: 0;
	font-size: 0.7rem;
  }
}