:root {
  --base-content-width: 375px;
  --max-content-width: 540px;
}

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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
  display: block;
  box-sizing: border-box;
}
body {
  line-height: 100%;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
}
img {
  vertical-align: bottom;
}

html {
  font-size: 62.5%;
  font-family: "BIZ UDPGothic", sans-serif;
  font-style: normal;
  font-weight: 400;
  scroll-behavior: smooth;
  min-height: 100svh;
}
body {
  font-style: normal;
  font-size: 100%;
  line-height: 1.5;
  color: #652500;
  font-feature-settings : "palt";
  -webkit-text-size-adjust: 100%;
  min-height: 100svh;
}
img {
  width: 100%;
  height: auto;
}





.container {
  position: relative;
  overflow: hidden;
  max-width: var(--max-content-width);
  min-height: 100dvh;
  margin: 0 auto;
  padding: min(10.6666vw, calc(40px / var(--base-content-width) * var(--max-content-width))) min(4vw, calc(15px / var(--base-content-width) * var(--max-content-width)));
}
.container::before,
.container::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.container::before {
  background-image: url(../img/bg-bean-tile.png);
  background-repeat: repeat;
  background-size: min(34.6666vw, calc(130px / var(--base-content-width) * var(--max-content-width)));
  background-position: min(6.6666vw, calc(25px / var(--base-content-width) * var(--max-content-width))) 0;
  mix-blend-mode: overlay;
  z-index: 1;
}
.container::after {
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5)), url(../img/bg-rough-tile.png);
  background-repeat: repeat-y;
  background-size: contain;
  mix-blend-mode: overlay;
  z-index: 2;
}
.main {
  position: relative;
  z-index: 99;
}





#home .container {
  background-color: #e8dcd9;
}
#home .container::before {
  background-position: min(11.7333vw, calc(44px / var(--base-content-width) * var(--max-content-width))) 0;
}

.home-title {
  width: min(44.2666vw, calc(166px / var(--base-content-width) * var(--max-content-width)));
  margin: 0 auto;
}
.home-subtitle {
  margin-top: min(10.6666vw, calc(40px / var(--base-content-width) * var(--max-content-width)));
  width: 100%;
}

.monster-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: min(9.8666vw, calc(37px / var(--base-content-width) * var(--max-content-width)));
  padding: min(15.4666vw, calc(58px / var(--base-content-width) * var(--max-content-width))) 0 0 0;
}
.monster-list__item {
  position: relative;
}
.monster-list__item.--normal .monster-list__item-link::before,
.monster-list__item.--active .monster-list__item-link::before {
  content: "";
  display: block;
  width: min(14.9333vw, calc(56px / var(--base-content-width) * var(--max-content-width)));
  aspect-ratio: 56 / 64;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: max(-1.8666vw, calc(-7px / var(--base-content-width) * var(--max-content-width)));
  right: max(-2.6666vw, calc(-10px / var(--base-content-width) * var(--max-content-width)));
  z-index: 2;
}
.monster-list__item.--normal .monster-list__item-link::before {
  background-image: url(../img/home/icon-normal.svg);
}
.monster-list__item.--active .monster-list__item-link::before {
  background-image: url(../img/home/icon-active.svg);
}
.monster-list__item-image,
.monster-list__item-name {
  position: relative;
  background-color: #fff;
}
.monster-list__item-image {
  border-radius: 50%;
  overflow: hidden;
}
.monster-list__item-name {
  border-radius: 9999px;
  margin-top: max(-1.6vw, calc(-6px / var(--base-content-width) * var(--max-content-width)));
}
.monster-list__item-link {
  display: block;
}

.monster-list__item-image img,
.monster-list__item-name img {
  z-index: 1;
  transition: .2s;
}
.monster-list__item-link:hover .monster-list__item-image img,
.monster-list__item-link:hover .monster-list__item-name img {
  filter: brightness(105%) contrast(105%);
}

.monster-group {
  margin-top: min(21.333vw, calc(80px / var(--base-content-width) * var(--max-content-width)));
  margin-top: min(10.6666vw, calc(40px / var(--base-content-width) * var(--max-content-width)));
}






.main#detail::before {
  background-image: url(../img/detail/bg-01.png);
  background-repeat: repeat-y;
  background-size: 100%;
  z-index: 1;
  mix-blend-mode: overlay;
}
.--monster-01,
.--monster-02 {
  background-color: #ff9cc3;
}
.--monster-03,
.--monster-04 {
  background-color: #ffd539;
}
.--monster-05,
.--monster-06 {
  background-color: #4dcb9c;
}
.--monster-07,
.--monster-08 {
  background-color: #f53e38;
}
.--monster-09,
.--monster-10 {
  background-color: #82d7f3;
}
.--monster-11,
.--monster-12 {
  background-color: #77a3ea;
}

.monster-detail {
  position: relative;
  background-color: #fff;
  border-radius: min(4.8vw, calc(18px / var(--base-content-width) * var(--max-content-width)));
  padding-top: min(20.8vw, calc(78px / var(--base-content-width) * var(--max-content-width)));
  padding-bottom: min(8.5333vw, calc(32px / var(--base-content-width) * var(--max-content-width)));
  z-index: 3;
}
.--normal .monster-detail::before,
.--active .monster-detail::before {
  content: "";
  display: block;
  width: min(20.8vw, calc(78px / var(--base-content-width) * var(--max-content-width)));
  aspect-ratio: 78/82;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: max(-1.0666vw, calc(-4px / var(--base-content-width) * var(--max-content-width)));
  right: min(1.0666vw, calc(4px / var(--base-content-width) * var(--max-content-width)));
  z-index: 2;
}
.--normal .monster-detail::before {
  background-image: url(../img/detail/icon-normal.svg);
}
.--active .monster-detail::before {
  background-image: url(../img/detail/icon-active.svg);
}
.monster-detail-catchcopy {
  position: absolute;
  top: min(3.2vw, calc(12px / var(--base-content-width) * var(--max-content-width)));
  left: max(-2.4vw, calc(-9px / var(--base-content-width) * var(--max-content-width)));
  width: min(54.4vw, calc(204px / var(--base-content-width) * var(--max-content-width)));
}
.monster-detail-body {
  margin-top: min(5.333vw, calc(20px / var(--base-content-width) * var(--max-content-width)));
}
.monster-detail-chart {
  margin: min(5.333vw, calc(20px / var(--base-content-width) * var(--max-content-width))) auto 0 auto;
  width: min(74.6666vw, calc(280px / var(--base-content-width) * var(--max-content-width)));
}



.recommend {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  margin-top: min(6.4vw, calc(24px / var(--base-content-width) * var(--max-content-width)));
}
.recommend-title {
  width: min(57.0666vw, calc(214px / var(--base-content-width) * var(--max-content-width)));
  pointer-events: none;
}
.recommend-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(9.6vw, calc(36px / var(--base-content-width) * var(--max-content-width)));
  margin-top: max(-2.666vw, calc(-10px / var(--base-content-width) * var(--max-content-width)));
}
.recommend-list__item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.recommend-list__item-image {
  position: relative;
  z-index: 1;
  width: min(53.3333vw, calc(200px / var(--base-content-width) * var(--max-content-width)));
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: #fff;
  overflow: hidden;
  box-shadow: min(1.6vw, calc(6px / var(--base-content-width) * var(--max-content-width))) min(1.6vw, calc(6px / var(--base-content-width) * var(--max-content-width))) min(3.2vw, calc(12px / var(--base-content-width) * var(--max-content-width))) 0 rgba(0,0,0,0.333);
}
.recommend-list__item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.recommend-list__item-name {
  position: relative;
  z-index: 2;
  margin-top: max(-4vw, calc(-15px / var(--base-content-width) * var(--max-content-width)));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: min(0.5333vw, calc(2px / var(--base-content-width) * var(--max-content-width)));
  width: min(65.3333vw, calc(245px / var(--base-content-width) * var(--max-content-width)));
  height: min(17.3333vw, calc(65px / var(--base-content-width) * var(--max-content-width)));
  background: url(../img/detail/recommend-name-bg.png) center no-repeat;
  background-size: contain;
  text-decoration: none;
  color: #5a3c35;
  padding: 0.125em min(4vw, calc(15px / var(--base-content-width) * var(--max-content-width))) 0  min(4vw, calc(15px / var(--base-content-width) * var(--max-content-width)));
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.recommend-list__item-name-main {
  font-size: min(3.2vw, calc(12px / var(--base-content-width) * var(--max-content-width)));
}
.recommend-list__item-name-sub {
  font-size: min(2.6666vw, calc(10px / var(--base-content-width) * var(--max-content-width)));
}
