/* stylelint-disable scss/no-global-function-names */
/*! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
          text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3 */
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  margin: 0;
  overflow: visible; /* 2 */
  clear: both;
  color: inherit;
  border-top-width: 1px;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  text-transform: inherit; /* 2 */
  vertical-align: middle; /* 1 */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border-radius: 0;
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */
[type=checkbox] {
  -webkit-appearance: checkbox;
     -moz-appearance: checkbox;
          appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
     -moz-appearance: radio;
          appearance: radio;
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
          appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  font: inherit; /* 2 */
  -webkit-appearance: button;
          appearance: button; /* 1 */
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-collapse: collapse;
  border-color: inherit; /* 1 */
}

caption {
  text-align: left;
}

td,
th {
  padding: 0;
  vertical-align: top;
}

th {
  font-weight: bold;
  text-align: left;
}

/* stylelint-disable scss/no-global-function-names */
@keyframes blur-scale {
  0% {
    filter: blur(4px);
    opacity: 0;
    transform: scale(1.4);
  }
  100% {
    filter: blur(0px);
    opacity: 1;
    transform: scale(1);
  }
}
body {
  overflow-x: hidden;
  font-family: "Zen Kaku Gothic New";
  background-color: #000;
  scrollbar-width: none;
}
body * {
  font-feature-settings: "palt";
  line-height: 1.6;
}
body.is-animation {
  overflow: hidden;
}
body::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .only-sp {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .without-sp {
    display: none !important;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.js-modal-trigger {
  cursor: pointer;
}

.contents {
  position: relative;
  overflow: hidden;
}

.bullet__item {
  position: absolute;
  opacity: 0;
}
.bullet__item.bullet-01 {
  transform: rotate(225deg);
  animation: bullet-01 2s 1.5s infinite;
}
.bullet__item.bullet-02 {
  transform: rotate(45deg);
  animation: bullet-02 2s infinite;
}
.bullet__item.bullet-03 {
  animation: bullet-03 2s 1s infinite;
}
@media (min-width: 768px) {
  .bullet__item.bullet-03 {
    transform: rotate(-50deg);
  }
}
@media (max-width: 767.98px) {
  .bullet__item.bullet-03 {
    transform: rotate(225deg);
  }
}
@media (max-width: 767.98px) {
  .bullet__item.bullet-04 {
    transform: rotate(45deg);
    animation: bullet-04 2s infinite;
  }
}
.bullet__item.bullet-05 {
  transform: rotate(-50deg);
  animation: bullet-05 2s 1.5s infinite;
}
.bullet__item.bullet-06 {
  transform: rotate(-225deg);
  animation: bullet-06 2s infinite;
}

@media (min-width: 768px) {
  @keyframes bullet-01 {
    89% {
      opacity: 0;
    }
    90% {
      top: 20vw;
      left: 0;
      opacity: 1;
    }
    99% {
      top: -20vw;
      left: 30%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes bullet-02 {
    89% {
      opacity: 0;
    }
    90% {
      top: 40vw;
      left: 100%;
      opacity: 1;
    }
    99% {
      top: 110vw;
      left: 0%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes bullet-03 {
    89% {
      opacity: 0;
    }
    90% {
      top: 80vw;
      left: -20%;
      opacity: 1;
    }
    99% {
      top: 120vw;
      left: 50%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes bullet-05 {
    89% {
      opacity: 0;
    }
    90% {
      top: 0;
      left: 0;
      opacity: 1;
    }
    99% {
      top: 90vw;
      left: 80%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes bullet-06 {
    89% {
      opacity: 0;
    }
    90% {
      top: 80vw;
      left: 150%;
      opacity: 1;
    }
    99% {
      top: -10vw;
      left: 50%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
}
@media (max-width: 767.98px) {
  @keyframes bullet-01 {
    89% {
      opacity: 0;
    }
    90% {
      top: 30vw;
      left: 0;
      opacity: 1;
    }
    99% {
      top: -20vw;
      left: 50%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes bullet-02 {
    89% {
      opacity: 0;
    }
    90% {
      top: 80vw;
      left: 100%;
      opacity: 1;
    }
    99% {
      top: 180vw;
      left: -10%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes bullet-03 {
    89% {
      opacity: 0;
    }
    90% {
      top: 270vw;
      left: 0;
      opacity: 1;
    }
    99% {
      top: 150vw;
      left: 110%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes bullet-04 {
    89% {
      opacity: 0;
    }
    90% {
      top: 320vw;
      left: 100%;
      opacity: 1;
    }
    99% {
      top: 420vw;
      left: -10%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes bullet-05 {
    89% {
      opacity: 0;
    }
    90% {
      top: -20vw;
      left: -20%;
      opacity: 1;
    }
    99% {
      top: 100vw;
      left: 120%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes bullet-06 {
    89% {
      opacity: 0;
    }
    90% {
      top: 110vw;
      left: 150%;
      opacity: 1;
    }
    99% {
      top: -50vw;
      left: -20%;
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
}
#app-header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;
  width: 100%;
}

.app-kv {
  min-height: 705px;
}
@media (min-width: 768px) {
  .app-kv {
    min-height: 1053px;
  }
}

.common-title img {
  margin-inline: auto;
}

.common-share {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .common-share {
    -moz-column-gap: 15px;
         column-gap: 15px;
    max-width: 220px;
  }
}
@media (max-width: 767.98px) {
  .common-share {
    -moz-column-gap: 20px;
         column-gap: 20px;
    max-width: 210px;
  }
}
.common-share__title {
  font-family: "gin", serif;
}

.common-button {
  position: relative;
  display: var(--common-button-display, block);
  width: var(--common-button-width);
  height: var(--common-button-height);
  margin-inline: var(--common-button-mi, auto);
  font-family: "Zen Antique Soft";
  color: var(--common-button-txtcolor);
}
@media (min-width: 768px) {
  .common-button:hover a {
    background-color: var(--common-button-hover);
  }
  .common-button:hover::before {
    transform: var(--common-button-scale, scale3d(0.97, 0.85, 1));
  }
}
.common-button::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
  background-repeat: no-repeat;
  background-position: top, right, bottom, left;
  background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
  transition: 0.3s ease-in-out;
  --x-gradient: linear-gradient(
    90deg,
    var(--common-button-color) 0 var(--common-button-gradient, 10px),
    transparent 0 calc(100% - var(--common-button-gradient, 10px)),
    var(--common-button-color)
      calc(100% - var(--common-button-gradient, 10px))
  );
  --y-gradient: linear-gradient(
    var(--common-button-color) 0 var(--common-button-gradient, 10px),
    transparent 0 calc(100% - var(--common-button-gradient, 10px)),
    var(--common-button-color)
      calc(100% - var(--common-button-gradient, 10px))
  );
}
.common-button a {
  position: relative;
  display: var(--common-button-display, flex);
  align-items: center;
  justify-content: center;
  font-size: var(--common-button-fz, 20px);
  cursor: pointer;
  background-color: var(--common-button-color);
}
@media (min-width: 768px) {
  .common-button a {
    -moz-column-gap: 15px;
         column-gap: 15px;
    height: var(--common-button-a-height, 45px);
    margin: var(--common-button-a-margin, 4px);
    transition: 0.3s ease-in-out;
  }
}
@media (max-width: 767.98px) {
  .common-button a {
    -moz-column-gap: 15px;
         column-gap: 15px;
    height: var(--common-button-a-height, 35px);
    margin: 3px;
  }
}
.common-button__text {
  letter-spacing: 0.04em;
}

.share-button {
  position: relative;
  width: 100%;
  color: #fff;
}
.share-button img {
  width: 100%;
}
.share-button::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  content: "";
  background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
  background-repeat: no-repeat;
  background-position: top, right, bottom, left;
  background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
  transition: 0.3s ease-in-out;
  --x-gradient: linear-gradient(
    90deg,
    var(--share-button-color) 0 var(--share-button-gradient, 10px),
    transparent 0 calc(100% - var(--share-button-gradient, 10px)),
    var(--share-button-color) calc(100% - var(--share-button-gradient, 10px))
  );
  --y-gradient: linear-gradient(
    var(--share-button-color) 0 var(--share-button-gradient, 10px),
    transparent 0 calc(100% - var(--share-button-gradient, 10px)),
    var(--share-button-color) calc(100% - var(--share-button-gradient, 10px))
  );
}
@media (min-width: 768px) {
  .share-button:hover::before {
    --share-button-scale: scale3d(0.97, 0.91, 1);
    transform: var(--share-button-scale);
  }
}
.share-button a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: var(--share-button-jc, center);
  width: var(--share-button-width);
  height: var(--share-button-height);
  margin: 3px;
  cursor: pointer;
  background-color: var(--share-button-color);
}
@media (min-width: 768px) {
  .share-button a {
    -moz-column-gap: 15px;
         column-gap: 15px;
    padding-left: var(--share-button-paddingl, 0);
    font-size: 10px;
  }
}
@media (max-width: 767.98px) {
  .share-button a {
    justify-content: center;
  }
}

.more-button {
  position: relative;
  display: var(--more-button-display, none);
  padding-left: 15px;
  margin-inline: var(--more-button-mi, auto);
  font-family: "Zen Antique Soft";
  letter-spacing: -0.05em;
}
.more-button::before {
  position: absolute;
  top: calc(50% - 6.5px);
  left: 0;
  display: block;
  width: 15px;
  height: 15px;
  content: "";
  background: url(/the-fable-anime/assets/images/news/news-reload.svg) no-repeat center/contain;
}
@media (min-width: 768px) {
  .more-button {
    font-size: var(--more-button-fz, 18px);
    transition: 0.3s ease-in-out;
  }
  .more-button:hover {
    opacity: 0.6;
  }
}
@media (max-width: 767.98px) {
  .more-button {
    font-size: var(--more-button-fz, 16px);
  }
}
.more-button__text {
  border-bottom: 1px solid var(--more-button-border, #fff);
}

.end-mark {
  letter-spacing: 0;
}

.fadeUp {
  opacity: 0;
  transition: var(--fade-up-transition, 0.6s) ease-in-out;
  transform: translateY(var(--fade-up-transform, 30%));
}
.fadeUp.inview {
  opacity: 1;
  transform: translateY(0);
}

.fadeDown {
  opacity: 0;
  transition: var(--fade-down-transition, 0.6s) ease-in-out;
  transform: translateY(var(--fade-down-transform, -10%));
}
.fadeDown.inview {
  opacity: 1;
  transform: translateY(0);
}

.fadeSlide-l {
  opacity: 0;
  transition: var(--fade-slide-transition, 0.6s) ease-in-out;
  transform: translateX(var(--fade-slide-transform, -20%));
}
.fadeSlide-l.inview {
  opacity: 1;
  transform: translateX(0);
}

.fadeSlide-r {
  opacity: 0;
  transition: var(--fade-slide-transition, 0.6s) ease-in-out;
  transform: translateX(var(--fade-slide-transform, 20%));
}
.fadeSlide-r.inview {
  opacity: 1;
  transform: translateX(0);
}

.rotate {
  opacity: 0;
  transform: rotate(180deg) scale(0.1, 0.1);
}
.rotate.inview {
  opacity: 1;
  transform: translate(0px, 0px);
}

.blurScale {
  opacity: 0;
}
.blurScale.inview {
  animation: blur-scale 0.5s 0.2s forwards;
}

.whole-mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transition: 0.3s;
}

.is-loaded .whole-mask {
  visibility: hidden;
  opacity: 0;
}

.body {
  background: url(/the-fable-anime/assets/images/common/bg_ptn.webp) #fff repeat center/50%;
}

@media (min-width: 768px) {
  .contents {
    padding-top: 180px;
  }
}
@media (max-width: 767.98px) {
  .contents {
    padding-top: 107px;
  }
}

@media (min-width: 768px) {
  .goods-detail {
    margin-top: 50px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail {
    margin-top: 30px;
  }
}
.goods-detail__inner {
  padding-inline: 15px;
}
@media (min-width: 768px) {
  .goods-detail__inner {
    max-width: 830px;
    margin-inline: auto;
  }
}
.goods-detail__thumbnail img {
  margin-inline: auto;
}
.goods-detail__title {
  font-weight: 700;
}
@media (min-width: 768px) {
  .goods-detail__title {
    margin-block: 20px;
    font-size: 32px;
    line-height: 138%;
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__title {
    margin-block: 11px;
    font-size: 20px;
    line-height: 160%;
  }
}
.goods-detail__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
@media (min-width: 768px) {
  .goods-detail__tags {
    gap: 8px;
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__tags {
    gap: 10px;
  }
}
.goods-detail__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  background: #f9eb4d;
}
@media (min-width: 768px) {
  .goods-detail__tag {
    min-height: 30px;
    padding-block: 3px;
    padding-inline: 12px;
    font-size: 14px;
    border-radius: 3px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__tag {
    min-height: 23px;
    padding-block: 1px;
    padding-inline: 10px;
    font-size: 12px;
    letter-spacing: -0.015em;
    border-radius: 3.45px;
  }
}
.goods-detail__heading {
  position: relative;
  margin-top: 30px;
  font-family: "Zen Antique Soft";
  text-align: center;
  letter-spacing: 0.05em;
}
.goods-detail__heading::before {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  content: "";
  background: #000;
}
@media (min-width: 768px) {
  .goods-detail__heading {
    padding-bottom: 11px;
    font-size: 32px;
    line-height: 135%;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__heading {
    padding-bottom: 5px;
    font-size: 20px;
    line-height: 160%;
  }
}
.goods-detail__subheading {
  position: relative;
  font-weight: 700;
  line-height: 160%;
}
@media (min-width: 768px) {
  .goods-detail__subheading {
    padding-left: 16px;
    margin-top: 30px;
    font-size: 24px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__subheading {
    padding-left: 12px;
    margin-top: 20px;
    font-size: 20px;
  }
}
.goods-detail__subheading::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 3px;
  margin-block: auto;
  content: "";
  background: #f9eb4d;
}
@media (min-width: 768px) {
  .goods-detail__subheading::before {
    height: 24px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__subheading::before {
    height: 20px;
  }
}
.goods-detail__button {
  margin-inline: auto;
  text-align: center;
}
@media (min-width: 768px) {
  .goods-detail__button {
    margin-top: 30px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__button {
    margin-top: 20px;
  }
}
.goods-detail__button a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Zen Antique Soft";
}
.goods-detail__button--default {
  letter-spacing: 0.13em;
}
.goods-detail__button--default a {
  min-height: 60px;
  border: 1.5px solid #000;
}
@media (min-width: 768px) {
  .goods-detail__button--default a {
    z-index: 1;
    min-width: 300px;
    padding-block: 7px;
    padding-inline: 25px;
    overflow: hidden;
    transition: color 0.4s;
  }
  .goods-detail__button--default a::before, .goods-detail__button--default a::after {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    content: "";
    transition: transform ease 0.4s;
  }
  .goods-detail__button--default a::before {
    border-right: 60px solid transparent;
    border-bottom: 60px solid #000;
    transform: translateX(-100%);
  }
  .goods-detail__button--default a::after {
    border-top: 60px solid #000;
    border-left: 60px solid transparent;
    transform: translateX(100%);
  }
  .goods-detail__button--default a:hover {
    color: #fff;
  }
  .goods-detail__button--default a:hover::before, .goods-detail__button--default a:hover::after {
    transform: translateX(0);
  }
}
@media (max-width: 767.98px) {
  .goods-detail__button--default a {
    width: max(280px, 74.6666666667vw);
    padding-block: 15px;
    padding-inline: 13px;
  }
}
.goods-detail__button--decorated {
  position: relative;
  color: #fff;
}
@media (min-width: 768px) {
  .goods-detail__button--decorated {
    width: 306px;
    height: 77px;
  }
  .goods-detail__button--decorated:hover a {
    background-color: #ac000e;
  }
  .goods-detail__button--decorated:hover::before {
    transform: scale3d(0.985, 0.93, 1);
  }
}
@media (max-width: 767.98px) {
  .goods-detail__button--decorated {
    width: 286px;
    height: 66px;
  }
}
.goods-detail__button--decorated::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
  background-repeat: no-repeat;
  background-position: top, right, bottom, left;
  background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
  transition: 0.3s ease-in-out;
  --x-gradient: linear-gradient(
    90deg,
    #ac000e 0 var(--common-button-gradient, 10px),
    transparent 0 calc(100% - var(--common-button-gradient, 10px)),
    #ac000e calc(100% - var(--common-button-gradient, 10px))
  );
  --y-gradient: linear-gradient(
    #ac000e 0 var(--common-button-gradient, 10px),
    transparent 0 calc(100% - var(--common-button-gradient, 10px)),
    #ac000e calc(100% - var(--common-button-gradient, 10px))
  );
}
.goods-detail__button--decorated a {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  margin: 3px;
  font-size: 20px;
  background-color: #ac000e;
}
@media (min-width: 768px) {
  .goods-detail__button--decorated a {
    padding-block: 20px;
    padding-inline: 36px;
    transition: 0.3s ease-in-out;
  }
  .goods-detail__button--decorated a:hover {
    background-color: #000;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__button--decorated a {
    padding-block: 26px;
    padding-inline: 20px;
  }
}
.goods-detail__button--list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .goods-detail__button--list {
    gap: 20px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__button--list {
    gap: 15px;
  }
}
.goods-detail__button--list li {
  position: relative;
}
.goods-detail__button--list li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3px;
  background-color: var(--button-bg, #000);
  transition: background-color 0.3s ease-in-out;
}
@media (min-width: 768px) {
  .goods-detail__button--list li a {
    width: 45px;
    height: 45px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__button--list li a {
    width: 35px;
    height: 35px;
  }
}
.goods-detail__button--list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  content: "";
  background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
  background-repeat: no-repeat;
  background-position: top, right, bottom, left;
  background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
  transition: 0.3s ease-in-out;
  --x-gradient: linear-gradient(
    90deg,
    var(--share-button-color, #000) 0 5px,
    transparent 0 calc(100% - 5px),
    var(--share-button-color, #000) calc(100% - 5px)
  );
  --y-gradient: linear-gradient(
    var(--share-button-color, #000) 0 5px,
    transparent 0 calc(100% - 5px),
    var(--share-button-color, #000) calc(100% - 5px)
  );
}
.goods-detail__button--list li img {
  width: 100%;
}
@media (min-width: 768px) {
  .goods-detail__button--list li:hover a {
    background-color: var(--button-bg, #ac000e);
  }
  .goods-detail__button--list li:hover::before {
    transform: scale3d(0.9, 0.9, 1);
  }
}
.goods-detail p:not(.goods-detail__button) {
  font-size: 16px;
  font-weight: 500;
  line-height: 170%;
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .goods-detail p:not(.goods-detail__button) {
    margin-top: 30px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail p:not(.goods-detail__button) {
    margin-top: 20px;
  }
}
.goods-detail p:not(.goods-detail__button) a {
  font-weight: 700;
  color: #ac000e;
  text-decoration: underline;
  word-break: break-all;
}
@media (min-width: 768px) {
  .goods-detail p:not(.goods-detail__button) a {
    transition: opacity 0.3s;
  }
  .goods-detail p:not(.goods-detail__button) a:hover {
    opacity: 0.6;
  }
}
@media (min-width: 768px) {
  .goods-detail__image {
    margin-top: 30px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__image {
    margin-top: 20px;
  }
}
.goods-detail__image--single {
  /* stylelint-disable-next-line no-descending-specificity */
}
.goods-detail__image--single img {
  margin-inline: auto;
}
@media (min-width: 768px) {
  .goods-detail__image--single img {
    max-width: 600px;
  }
}
.goods-detail__image--column ul, .goods-detail__image--row ul {
  display: flex;
}
@media (min-width: 768px) {
  .goods-detail__image--column ul, .goods-detail__image--row ul {
    -moz-column-gap: 24px;
         column-gap: 24px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__image--column ul {
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__image--row ul {
    -moz-column-gap: 15px;
         column-gap: 15px;
  }
}
.goods-detail__back {
  margin-top: 50px;
  background: #464646;
}
@media (min-width: 768px) {
  .goods-detail__back {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}
@media (max-width: 767.98px) {
  .goods-detail__back {
    padding-block: 50px;
  }
}
.goods-detail__back .common-button {
  --common-button-color: #fff;
  --common-button-hover: #f9eb4d;
  --common-button-txtcolor: #000;
}
@media (min-width: 768px) {
  .goods-detail__back .common-button {
    --common-button-width: 204px;
    --common-button-height: 53px;
    --common-button-scale: scale3d(0.97, 0.88, 1);
  }
}
@media (max-width: 767.98px) {
  .goods-detail__back .common-button {
    --common-button-width: 156px;
    --common-button-height: 41px;
    --common-button-fz: 14px;
    --common-button-gradient: 6px;
  }
}
.goods-detail__genre {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  font-size: 20px;
  font-weight: 700;
  line-height: 160%;
  color: #fff;
  background: #ac000e;
}
.goods-detail__genre + .goods-detail__heading, .goods-detail__genre + .goods-detail__button, .goods-detail__genre + .goods-detail__image {
  margin-top: 50px;
}
.goods-detail__genre + .end-mark {
  display: block;
  margin-top: 50px;
}
.goods-detail__code {
  position: relative;
  display: block;
  padding: 20px;
  margin-top: 20px;
  overflow-x: auto;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.05em;
  background: #000b31;
}
.goods-detail__code code {
  display: block;
  font-weight: 400;
  line-height: 135%;
}
.goods-detail__code + .goods-detail__genre {
  margin-top: 50px;
}
.goods-detail__code + .goods-detail__subheading, .goods-detail__code + .goods-detail__button, .goods-detail__code + .goods-detail__image {
  margin-top: 50px;
}
.goods-detail__code + p:not(.goods-detail__button) {
  margin-top: 50px;
}
.goods-detail__code--pattern {
  margin-bottom: 90px;
}

.common-title {
  /* stylelint-disable-next-line no-descending-specificity */
}
@media (max-width: 767.98px) {
  .common-title img {
    width: min(92px, 24.5333333333vw);
  }
}