/* =======================================================
reset.css
======================================================= */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  border: 0;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

ol,
ul {
  list-style-type: "";
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

table {
  border-spacing: 0;
  border-collapse: separate;
}

* {
  padding: 0;
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-style: normal;
  word-break: break-word;
  word-wrap: break-word;
  overflow-wrap: break-word;
  outline: none;
  box-shadow: none;
  line-break: strict;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*,
*:focus,
a:focus {
  outline: none;
}

p,
li,
dt,
dd,
th,
td {
  -ms-line-break: strict;
  line-break: strict;
  word-break: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  image-rendering: optimize-contrast;
}

picture {
  line-height: 0;
}

input,
button,
select,
textarea {
  background-color: transparent;
  border: none;
  border-radius: 0;
  outline: none;
  appearance: none;
}

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px var(--color-brightest) inset;
}

input[type=checkbox],
input[type=radio] {
  display: none;
}

button,
textarea {
  font-family: inherit;
  font-size: 100%;
}

summary {
  display: block;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

:where(dialog) {
  width: unset;
  max-width: unset;
  height: unset;
  max-height: unset;
  padding: unset;
  overflow: unset;
  color: unset;
  background-color: unset;
  border: unset;
}

:root:has(:modal) {
  overflow: hidden;
}

html {
  font-size: min(calc(16 / 1280 * 100vw), 16px);
}
@media (width <= 767px) {
  html {
    font-size: min(calc(16 / 750 * 100vw), 16px);
  }
}

body {
  font-family: var(--font-family-base);
  font-size: calc(var(--font-size-base) / 16px * 1rem);
  font-weight: var(--font-family-base);
  line-height: var(--line-height-base);
  color: var(--color-base);
  letter-spacing: var(--letter-spacing-base);
}

input,
button,
select,
textarea,
::placeholder {
  font-family: var(--font-family-base);
  font-size: calc(--font-size-base / 16px * 1rem);
  font-weight: var(--font-family-base);
  line-height: var(--line-height-base);
  color: var(--color-base);
  letter-spacing: var(--letter-spacing-base);
}
@media (width <= 767px) {
  input,
  button,
  select,
  textarea,
  ::placeholder {
    font-size: 0.75rem;
  }
}

label:focus-visible,
button:focus-visible,
input[type=checkbox]:focus-visible,
input[type=submit]:focus-visible {
  cursor: pointer;
}
@media (any-hover: hover) {
  label:hover,
  button:hover,
  input[type=checkbox]:hover,
  input[type=submit]:hover {
    cursor: pointer;
  }
}

a {
  transition-timing-function: ease;
  transition-duration: var(--transition-duration);
}

figure {
  display: flex;
}

picture {
  display: flex;
}

.l-main {
  overflow: clip;
}

:root {
  --color-brightest: #fff;
  --color-base: #000;
  --color-gray-light: #dadada;
  --color-gray: #cacaca;
  --color-gray02: #5e5e5e;
  --color-gray03: #9c9c9c;
  --color-primary: #01a9aa;
  --color-primary-light: #d2f7f7;
  --color-secondary: #fe4963;
  --color-limited: #ffd7dd;
  --color-limited-accent: #e84560;
  --color-release-schedule: #fabd00;
  --color-mega-toy: #46a8e5;
  --color-megatreashop: #e56363;
  --color-movie: #0d6cca;
  --color-movie-light: #9dceff;
  --z-index-loading: 9999;
  --z-index-loading-bg: 9998;
  --z-index-burger: 9100;
  --z-index-header: 9000;
  --z-index-on: 2;
  --transition-duration: 0.5s;
  --font-family-base: "Noto Sans JP", sans-serif;
  --font-family-accent: "Gabarito", sans-serif;
  --font-base-offset-top: 0.07em;
  --inner-padding-inline: 40px;
  --inner-max-width: 750px;
  --font-size-base: 16px;
  --font-weight-base: 400;
  --letter-spacing-base: 0.04em;
  --line-height-base: 1.5;
  --viewport-width: 1260px;
  --breakpoint-sm: 767px;
  --breakpoint-md: 768px;
}
@media (width >= 768px) {
  :root {
    --inner-max-width: 1260px;
  }
}
@media (width <= 767px) {
  :root {
    --viewport-width: 750px;
    --inner-padding-inline: 40px;
  }
}

:lang(en) {
  --font-family-base: "Noto Sans", sans-serif;
}

/* =======================================================
inner
======================================================= */
.l-inner {
  max-width: calc(var(--inner-max-width) / 16px * 1rem);
  padding-inline: calc(var(--inner-padding-inline) / 16px * 1rem);
  margin-inline: auto;
}

/* =======================================================
u-only
======================================================= */
@media (width <= 767px) {
  .u-md {
    display: none;
  }
}

@media (width >= 768px) {
  .u-sm {
    display: none;
  }
}

/* =======================================================
c-btn
======================================================= */
.c-btn {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: calc(24/16 * 1rem);
  align-items: center;
  width: fit-content;
  padding-block: calc(var(--_padding-block) - var(--font-base-offset-top)) calc(var(--_padding-block) + var(--font-base-offset-top));
  padding-inline: calc(20/16 * 1rem);
  margin-inline: auto;
  font-size: calc(17/16 * 1rem);
  font-weight: 900;
  line-height: calc(23/17);
  color: var(--color-brightest);
  text-align: center;
  background-color: var(--color-base);
  border: 1px solid var(--color-base);
  border-radius: calc(20/16 * 1rem);
  --_padding-block: calc(23/16 * 1rem);
}
.c-btn::before, .c-btn::after {
  content: "";
}
.c-btn::after {
  justify-self: end;
  width: calc(34/16 * 1rem);
  aspect-ratio: 1;
  background-image: url("/megahobby/images/common/btn-icon.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition-timing-function: ease;
  transition-duration: var(--transition-duration);
  transition-property: background-image translate;
  will-change: background-image translate;
}
.c-btn:focus-visible {
  color: var(--color-base);
  background-color: var(--color-brightest);
}
.c-btn:focus-visible::after {
  translate: 0.25em;
  background-image: url("/megahobby/images/common/btn-icon--hover.svg");
}
@media (any-hover: hover) {
  .c-btn:hover {
    color: var(--color-base);
    background-color: var(--color-brightest);
  }
  .c-btn:hover::after {
    translate: 0.25em;
    background-image: url("/megahobby/images/common/btn-icon--hover.svg");
  }
}
@media (width <= 767px) {
  .c-btn {
    font-size: calc(25.5/16 * 1rem);
  }
}

/* =======================================================
c-pagination
======================================================= */
.c-pagination {
  display: grid;
  grid-template-columns: 1fr auto auto;
  max-width: 72.625rem;
  margin-inline: auto;
  margin-top: calc(28/16 * -1rem);
  margin-bottom: calc(28/16 * 1rem);
}
.c-pagination__count {
  display: flex;
  align-items: end;
  justify-self: end;
  order: 1;
  margin-right: calc(29/16 * 1rem);
}
.c-pagination__current {
  font-family: var(--font-family-accent);
  font-size: calc(50/16 * 1em);
  font-weight: 700;
  line-height: calc(60/50);
}
.c-pagination__sep {
  width: calc(32/16 * 1rem);
  height: calc(30/16 * 1rem);
  margin-bottom: calc(13/16 * 1rem);
  margin-left: calc(8/16 * 1rem);
  background-image: url("/megahobby/images/common/pagination-separate.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.c-pagination__total {
  margin-bottom: calc(3/16 * 1rem);
  font-family: var(--font-family-accent);
  font-size: calc(36/16 * 1em);
  font-weight: 700;
  line-height: calc(43/36);
}
.c-pagination__btn {
  --_background-color: var(--color-brightest);
  display: grid;
  place-content: center;
  width: 4rem;
  aspect-ratio: 1;
  background-color: var(--_background-color);
  background-image: url("/megahobby/images/common/pagination-arrow.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: calc(12/16 * 1rem) calc(20/16 * 1rem);
  border-radius: calc(infinity * 1px);
  box-shadow: 0 0 11.1000003815px 1px rgba(0, 0, 0, 0.12);
  transition-timing-function: ease;
  transition-duration: var(--transition-duration);
  transition-property: translate box-shadow;
  will-change: translate box-shadow;
}
.c-pagination__btn:focus-visible {
  translate: 0 0.25em;
  box-shadow: revert;
}
@media (any-hover: hover) {
  .c-pagination__btn:hover {
    translate: 0 0.25em;
    box-shadow: revert;
  }
}
.c-pagination__btn.--prev {
  order: 2;
}
.c-pagination__btn.--next {
  order: 3;
  margin-left: calc(10/16 * 1rem);
  scale: -1 1;
}
.c-pagination__btn:disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.3;
}

/* =======================================================
c-product
======================================================= */
.c-product__link-wrapper {
  display: grid;
  gap: calc(43/16 * 1rem) calc(28/16 * 1rem);
  max-width: calc(1162/16 * 1rem);
  margin-inline: auto;
  margin-bottom: calc(74/16 * 1rem);
  transition: transform 250ms ease, opacity 250ms ease;
}
@media (width >= 768px) {
  .c-product__link-wrapper {
    grid-template-columns: repeat(5, 1fr);
  }
}
.c-product__link {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--color-gray);
  border-radius: calc(6/16 * 1rem);
  box-shadow: 0 calc(3/16 * 1rem) 0 var(--color-gray-light);
}
.c-product__link:focus-visible {
  box-shadow: none;
  translate: 0 0.25em;
}
@media (any-hover: hover) {
  .c-product__link:hover {
    box-shadow: none;
    translate: 0 0.25em;
  }
}
@media (width <= 767px) {
  .c-product__link {
    display: grid;
    grid-template-columns: auto 1fr;
  }
}
.c-product__imgwrapper {
  border-bottom: 1px solid var(--color-gray);
}
.c-product__imgwrapper > img {
  display: block;
  width: calc(210/16 * 1rem);
  aspect-ratio: 1;
}
.c-product__body {
  position: relative;
  padding: calc(18/16 * 1rem) calc(12/16 * 1rem) calc(84/16 * 1rem);
  background-color: var(--color-brightest);
}
@media (width <= 767px) {
  .c-product__body {
    padding-inline: calc(18/16 * 1rem);
  }
}
.c-product__def {
  display: flex;
  gap: calc(9/16 * 1rem);
  align-items: center;
  margin-bottom: 1rem;
}
@media (width <= 767px) {
  .c-product__def {
    gap: calc(13.5/16 * 1rem);
  }
}
.c-product__dttl {
  --_padding-block: calc(2/16 * 1rem);
  padding-block: calc(var(--_padding-block) - var(--font-base-offset-top)) calc(var(--_padding-block) + var(--font-base-offset-top));
  padding-inline: calc(10/16 * 1rem);
  font-size: calc(12/16 * 1em);
  font-weight: 700;
  line-height: calc(16/12);
  color: var(--color-gray02);
  border: 1px solid var(--color-gray02);
  border-radius: calc(5/16 * 1rem);
}
@media (width <= 767px) {
  .c-product__dttl {
    --_padding-block: calc(3/16 * 1rem);
    font-size: calc(18/16 * 1em);
  }
}
.c-product__ditem {
  font-size: calc(13/16 * 1em);
  font-weight: 700;
  line-height: calc(18/13);
  color: var(--color-gray02);
}
@media (width <= 767px) {
  .c-product__ditem {
    font-size: calc(19.5/16 * 1em);
  }
}
.c-product__ttl {
  display: -webkit-box;
  overflow: hidden;
  font-size: calc(14/16 * 1rem);
  font-weight: 700;
  line-height: calc(22/14);
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media (width <= 767px) {
  .c-product__ttl {
    font-size: calc(21/16 * 1rem);
  }
}
.c-product__more {
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(139/16 * 1rem);
  height: calc(36/16 * 1rem);
  padding: calc(5/16 * 1rem) 0 0 calc(56/16 * 1rem);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brightest);
  background-image: url("/megahobby/images/common/product-more-bg.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
@media (width <= 767px) {
  .c-product__more {
    width: calc(13.03125 * 1rem);
    height: calc(3.375 * 1rem);
    padding: calc(0.46875 * 1rem) 0 0 calc(5.25 * 1rem);
    font-size: 1.5rem;
  }
}

/* =======================================================
c-subttl
======================================================= */
.c-subttl {
  --_c-subttl-color: var(--color-primary-light);
  position: relative;
  display: flex;
  gap: calc(15/16 * 1rem);
  width: fit-content;
  min-width: calc(570/16 * 1rem);
  padding: calc(10/16 * 1rem) 0 calc(5/16 * 1rem) calc(39/16 * 1rem);
}
@media (width >= 768px) {
  .c-subttl {
    align-items: end;
    background-image: url("/megahobby/images/common/subttl-bg.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
}
@media (width <= 767px) {
  .c-subttl {
    align-items: center;
    min-width: 100%;
    padding: calc(0.9375 * 1rem) 0 calc(0.9375 * 1rem) calc(39/16 * 1rem);
    background-color: var(--color-primary);
  }
}
.c-subttl::before {
  z-index: var(--z-index-on);
  font-family: var(--font-family-accent);
  font-size: calc(33/16 * 1rem);
  font-weight: 800;
  line-height: calc(40/33);
  color: var(--_c-subttl-color);
  text-transform: uppercase;
  content: attr(data-en);
}
.c-subttl::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 10%;
  height: 100%;
  content: "";
  background-color: var(--color-primary);
}
.c-subttl__inner {
  display: flex;
  gap: calc(10/16 * 1rem);
  font-size: calc(16/16 * 1rem);
  font-weight: 900;
  line-height: calc(20/16);
  color: var(--_c-subttl-color);
}
@media (width >= 768px) {
  .c-subttl__inner {
    align-items: end;
    padding-bottom: calc(10/16 * 1rem);
  }
}
@media (width <= 767px) {
  .c-subttl__inner {
    align-items: center;
    font-size: calc(1.5 * 1rem);
  }
}
.c-subttl__inner::before {
  width: calc(29/16 * 1rem);
  height: calc(27/16 * 1rem);
  content: "";
  background-image: url("/megahobby/images/common/subttl-line-primary-light.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
@media (width <= 767px) {
  .c-subttl__inner::before {
    width: calc(2.71875 * 1rem);
    height: calc(2.53125 * 1rem);
  }
}

/* =======================================================
c-ttl
======================================================= */
.c-ttl {
  --_c-ttl-color: var(--color-base);
  display: flex;
  flex-wrap: wrap;
  gap: 0 calc(15/16 * 1rem);
}
@media (width >= 768px) {
  .c-ttl {
    align-items: end;
  }
}
.c-ttl::before {
  font-family: var(--font-family-accent);
  font-size: calc(93/16 * 1rem);
  font-weight: 800;
  line-height: calc(112/93);
  color: var(--_c-ttl-color);
  text-transform: uppercase;
  content: attr(data-en);
}
.c-ttl__inner {
  display: flex;
  align-items: end;
  padding-bottom: calc(20/16 * 1rem);
  font-size: calc(20/16 * 1rem);
  font-weight: 900;
  line-height: calc(27/20);
  color: var(--_c-ttl-color);
}
@media (width >= 768px) {
  .c-ttl__inner::before {
    width: calc(58/16 * 1rem);
    height: calc(55/16 * 1rem);
    content: "";
    background-image: url("/megahobby/images/common/ttl-line.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    translate: 0 -4px;
  }
}
@media (width <= 767px) {
  .c-ttl__inner {
    font-size: calc(30/16 * 1rem);
  }
}