﻿* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: 'noto-sans', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.5;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  html,
  body {
    font-size: 16px;
  }
}

@media screen and (min-width: 1024px) {
  html,
  body {
    font-size: 18px;
  }
}

html {
  height: -webkit-fill-available;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
}

img {
  width: 100%;
  vertical-align: bottom;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a {
  color: #3e230a;
}

li {
  list-style: none;
}

/* article {
  padding-bottom: 5%;
} */

.hr {
  width: min(20%, 268px);
  margin: 0 auto;
  padding: 8% 0;
}

@media screen and (min-width: 768px) {
  .hr {
    width: min(25%, 268px);
    padding: 5% 0;
  }
}

.center,
.tac {
  text-align: center;
}

.in-b {
  display: inline-block;
}

.bnr {
  width: min(70%, 640px);
  margin: 0 auto;
  text-align: center;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

.bnr img {
  -webkit-box-shadow: 5px 5px #3b240c;
  box-shadow: 5px 5px #3b240c;
}

#chara .bnr {
  padding-top: min(2%, 20px);
}

#chara .bnr span {
  font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  text-decoration: underline;
  display: block;
  margin-top: 0.5rem;
}

.btn {
  display: block;
  width: min(70%, 640px);
  margin: 0 auto;
}

.btn a {
  display: block;
  position: relative;
}

.btn a > .off {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

@media (hover: hover) {
  .btn a:hover > .on {
    opacity: 1;
  }
  .btn a:hover > .off {
    opacity: 0;
  }
}

.btn.evo,
.btn.set {
  width: min(70%, 480px);
  margin-top: 5%;
}

.btn.dungeon {
  width: min(70%, 640px);
}

@media screen and (min-width: 1024px) {
  /* .p-chara-details-btn a > .on {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: 0.25s;
    transition: 0.25s;
  } */
  .btn.dungeon {
    min-height: 150px;
  }
  .btn.set {
    margin-top: 2%;
    height: auto;
    min-height: 113px;
  }
}

#container {
  position: relative;
  font-weight: bold;
  color: #3e230a;
  overflow: hidden;
}

#container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url(../img/bg_1.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  z-index: -1;
}

header {
  position: relative;
  height: 100vh;
  max-height: 980px;
}

header .wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
}

header .wrap * {
  margin: 0 auto;
}

header .wrap h1 {
  width: min(97%, 860px);
}

@media screen and (min-width: 768px) {
  header .wrap h1 {
    width: min(70%, 860px);
  }
}

header .wrap .date {
  width: min(100%, 850px);
}

@media screen and (min-width: 768px) {
  header .wrap .date {
    width: min(80%, 850px);
  }
}

#mainNav {
  position: fixed;
  width: 100%;
  z-index: 10;
  opacity: 0;
  top: -2%;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  #mainNav {
    top: -3%;
  }
}

#mainNav.visible {
  opacity: 1;
  pointer-events: auto;
}

#mainNav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#mainNav ul li {
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  opacity: 0;
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
  width: min(33%, 220px);
}

@media screen and (min-width: 768px) {
  #mainNav ul li {
    margin-right: 5%;
  }

  #mainNav ul li:last-child {
    margin-right: 0;
  }
}

#mainNav ul li a img {
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

#mainNav ul li:hover img {
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
}

#mainNav ul li:active img {
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
}

#mainNav li.bounce {
  -webkit-animation: bounceIn 0.6s ease forwards;
  animation: bounceIn 0.6s ease forwards;
}

#mainNav li.bounce:nth-child(1) {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

#mainNav li.bounce:nth-child(2) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

#mainNav li.bounce:nth-child(3) {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

@-webkit-keyframes bounceIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  50% {
    opacity: 1;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  50% {
    opacity: 1;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

section.target {
  padding: 0 2%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (min-width: 1280px) {
  section.target {
    padding: 0;
  }
}

section.target p {
  padding: 0 2%;
}

@media screen and (min-width: 768px) {
  section.target p {
    text-align: center;
  }
}

section.target#chara p {
  padding: 0 4%;
}
section.target#chara p .in-b {
  margin: 1% 0 0;
}

section.target > .inner {
  position: relative;
  width: min(100%, 1180px);
  margin: 18% auto 0;
  background-image: url('../img/bg_cont-m.jpg');
  background-repeat: repeat-y;
  background-size: 100%;
  background-position: left top;
}

section.target > .inner::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: min(100%, 1180px);
  height: 100%;
  background-image: url('../img/bg_cont-h.jpg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: left top;
}

section.target > .inner::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: min(100%, 1180px);
  height: 0;
  padding-bottom: 14%;
  -webkit-transform: translate(0, -4px);
  transform: translate(0, -4px);
  z-index: 1;
  background-image: url('../img/bg_cont-f.jpg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: left top;
}

section.target > .inner > .inner {
  padding: 4% 4% 3%;
  position: relative;
}

section.target#chara .inner .inner {
  padding: 4% 2% 3%;
}

section.target > .inner #ttl_chara_1 {
  width: min(90%, 810px);
  margin: 0 auto 1rem;
  padding-top: 4.5%;
}

section.target > .inner #ttl_chara_2 {
  width: min(94%, 960px);
  margin: 0 auto;
  padding-top: min(8%, 50px);
}

section.target#chara > .inner {
  margin: 0 auto;
}

section.target#dungeon [id^='dungeon'] {
  margin: 0 auto;
}

section.target#dungeon #dungeon_1 * {
  margin: 0 auto;
  text-align: center;
}

section.target#dungeon #dungeon_1 #d1-1 {
  width: min(96%, 990px);
  margin: 2% auto 0;
}

section.target#dungeon #dungeon_1 #d1-2 {
  width: min(100%, 934px);
}

section.target#dungeon #dungeon_2 {
  width: min(96%, 780px);
  margin: -2% auto 0;
}

section.target#dungeon #dungeon_3 {
  width: min(100%, 1000px);
}

section.target#dungeon #dungeon_4 {
  width: min(100%, 1066px);
}

section.target#dungeon #dungeon_5 {
  width: min(96%, 838px);
}

section.target#others ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto;
  width: min(100%, 800px);
}

@media screen and (min-width: 1280px) {
  section.target#others ul {
    width: auto;
  }
}

section.target#others ul li {
  width: min(50%, 400px);
  margin-top: 3%;
  padding: 0 5px;
}

@media screen and (min-width: 640px) {
  section.target#others ul li {
    width: min(48%, 460px);
  }
}

@media screen and (min-width: 768px) {
  section.target#others ul li {
    margin-top: 0;
  }

  section.target#others ul li:last-child {
    margin-top: 2%;
  }
}

@media screen and (min-width: 1280px) {
  section.target#others ul li {
    width: min(32.5%, 460px);
  }

  section.target#others ul li:last-child {
    margin-top: 0;
  }
}

section.target#others ul li dd .btn_wrap {
  position: relative;
}

section.target#others ul li dd .btn_wrap .btn {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

section.target#cp p {
  margin: 2% auto 0;
}

section.target#cp .item {
  width: min(95%, 960px);
  margin: 2% auto 5%;
}

section.target#chara > .inner::after {
  -webkit-transform: translate(0, -11px);
  transform: translate(0, -11px);
}

@media screen and (min-width: 768px) {
  section.target#chara > .inner::after {
    -webkit-transform: translate(0, -5px);
    transform: translate(0, -5px);
  }
}

@media screen and (min-width: 1024px) {
  section.target#chara > .inner::after {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

@media screen and (min-width: 1280px) {
  section.target#chara > .inner::after {
    -webkit-transform: translate(0, -10px);
    transform: translate(0, -10px);
  }
}

section.target#dungeon > .inner::after {
  -webkit-transform: translate(0, -6px);
  transform: translate(0, -6px);
}

@media screen and (min-width: 768px) {
  section.target#dungeon > .inner::after {
    -webkit-transform: translate(0, -1px);
    transform: translate(0, -1px);
  }
}

@media screen and (min-width: 1024px) {
  section.target#dungeon > .inner::after {
    -webkit-transform: translate(0, -5px);
    transform: translate(0, -5px);
  }
}

@media screen and (min-width: 1280px) {
  section.target#dungeon > .inner::after {
    -webkit-transform: translate(0, -2px);
    transform: translate(0, -2px);
  }
}

section.target#others > .inner::after {
  -webkit-transform: translate(0, -12px);
  transform: translate(0, -12px);
}

@media screen and (min-width: 640px) {
  section.target#others > .inner::after {
    -webkit-transform: translate(0, -11px);
    transform: translate(0, -11px);
  }
}

@media screen and (min-width: 768px) {
  section.target#others > .inner::after {
    -webkit-transform: translate(0, -5px);
    transform: translate(0, -5px);
  }
}

@media screen and (min-width: 1024px) {
  section.target#others > .inner::after {
    -webkit-transform: translate(0, -12px);
    transform: translate(0, -12px);
  }
}

@media screen and (min-width: 1280px) {
  section.target#others > .inner::after {
    -webkit-transform: translate(0, -5px);
    transform: translate(0, -5px);
  }
}

section.target#cp > .inner::after {
  -webkit-transform: translate(0, -4px);
  transform: translate(0, -4px);
}

@media screen and (min-width: 768px) {
  section.target#cp > .inner::after {
    -webkit-transform: translate(0, -7px);
    transform: translate(0, -7px);
  }
}

@media screen and (min-width: 1280px) {
  section.target#cp > .inner::after {
    -webkit-transform: translate(0, -2px);
    transform: translate(0, -2px);
  }
}

#foot {
  color: #fff;
  text-align: center;
  width: min(80%, 880px);
  /* margin: 0 auto; */
  margin: 40px auto 0;
}

#foot::before {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  margin: 0 auto;
}

#foot .inner {
  width: min(90%, 720px);
  margin: 0 auto;
}
footer .footer-desc {
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  padding: 0 0 100px;
  line-height: 140%;
}

#pagetop a {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9;
  width: 52px;
  width: clamp(52px, 8vw, 86px);
}

.download_box {
  /* margin-top: 5px; */
  margin: 20px 0;
}

.download_box ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 765px;
  margin: 0 auto;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.download_box ul li {
  list-style: none;
  max-width: 160px;
}
.download_box ul li:last-child {
  margin-left: 10px;
}

@media screen and (min-width: 640px) {
  .download_box ul li {
    max-width: 320px;
  }
}

@media screen and (min-width: 1024px) {
  .download_box ul li:last-child {
    margin-left: 20px;
  }
}

.social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 220px;
  margin: 25px auto 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.social li {
  list-style: none;
}

#copyright {
  font-size: 10px;
  text-align: center;
  background: #000;
  padding: 10px 0;
}

#copyright p {
  color: #fff;
  font-size: 10px;
  margin-top: 0;
}

footer {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #190d00;
  color: #ddd;
  font-weight: 400;
  margin-top: 10%;
  padding: 0 10px;
  border-top: 2px solid #8f8369;
}

footer .inner {
  margin: 0 auto;
  padding: 30px;
  width: 95%;
}

footer p {
  color: #ddd;
  text-align: center;
}

footer p.txt1,
footer p.txt2 {
  margin-top: 10px;
  font-size: 0.8rem;
}

footer dl {
  padding: 90px 0 0;
  margin: 0 auto;
}

footer dl dt {
  font-size: 1rem;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  footer dl dt {
    /* font-size: 200%; */
    font-size: 16px;
    font-weight: 400;
  }
}

.back-to-top {
  font-size: 130%;
  font-weight: bold;
  text-align: center;
  padding: 25px 0 15px;
}

.back-to-top a {
  text-decoration: none;
  color: #ddd;
}

.flare-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.flare-container__particle {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 251, 231, 0.4) 60%);
  border-radius: 50%;
  -webkit-filter: blur(4px);
  filter: blur(4px);
  -webkit-animation: flareMove 12s infinite ease-in-out;
  animation: flareMove 12s infinite ease-in-out;
  opacity: 0;
}

@media screen and (min-width: 768px) {
  .flare-container__particle {
    width: 120px;
    height: 120px;
  }
}

.flare-container.modal {
  z-index: 12;
}

@-webkit-keyframes flareMove {
  0% {
    -webkit-transform: translate(0vw, 0vh) scale(1) rotate(0deg);
    transform: translate(0vw, 0vh) scale(1) rotate(0deg);
    opacity: 0;
  }

  10% {
    -webkit-transform: translate(0vw, 0vh) scale(1.1) rotate(10deg);
    transform: translate(0vw, 0vh) scale(1.1) rotate(10deg);
    opacity: 0.1;
  }

  20% {
    opacity: 0.4;
    -webkit-transform: translate(0vw, 0vh) scale(1.3) rotate(25deg);
    transform: translate(0vw, 0vh) scale(1.3) rotate(25deg);
  }

  50% {
    -webkit-transform: translate(50vw, 40vh) scale(1.6) rotate(60deg);
    transform: translate(50vw, 40vh) scale(1.6) rotate(60deg);
    opacity: 0.8;
  }

  80% {
    -webkit-transform: translate(0vw, 0vh) scale(1.3) rotate(25deg);
    transform: translate(0vw, 0vh) scale(1.3) rotate(25deg);
    opacity: 0.4;
  }

  90% {
    -webkit-transform: translate(0vw, 0vh) scale(1.1) rotate(10deg);
    transform: translate(0vw, 0vh) scale(1.1) rotate(10deg);
    opacity: 0.4;
  }

  100% {
    -webkit-transform: translate(100vw, 80vh) scale(1) rotate(0deg);
    transform: translate(100vw, 80vh) scale(1) rotate(0deg);
    opacity: 0;
  }
}

@keyframes flareMove {
  0% {
    -webkit-transform: translate(0vw, 0vh) scale(1) rotate(0deg);
    transform: translate(0vw, 0vh) scale(1) rotate(0deg);
    opacity: 0;
  }

  10% {
    -webkit-transform: translate(0vw, 0vh) scale(1.1) rotate(10deg);
    transform: translate(0vw, 0vh) scale(1.1) rotate(10deg);
    opacity: 0.1;
  }

  20% {
    opacity: 0.4;
    -webkit-transform: translate(0vw, 0vh) scale(1.3) rotate(25deg);
    transform: translate(0vw, 0vh) scale(1.3) rotate(25deg);
  }

  50% {
    -webkit-transform: translate(50vw, 40vh) scale(1.6) rotate(60deg);
    transform: translate(50vw, 40vh) scale(1.6) rotate(60deg);
    opacity: 0.8;
  }

  80% {
    -webkit-transform: translate(0vw, 0vh) scale(1.3) rotate(25deg);
    transform: translate(0vw, 0vh) scale(1.3) rotate(25deg);
    opacity: 0.4;
  }

  90% {
    -webkit-transform: translate(0vw, 0vh) scale(1.1) rotate(10deg);
    transform: translate(0vw, 0vh) scale(1.1) rotate(10deg);
    opacity: 0.4;
  }

  100% {
    -webkit-transform: translate(100vw, 80vh) scale(1) rotate(0deg);
    transform: translate(100vw, 80vh) scale(1) rotate(0deg);
    opacity: 0;
  }
}

.p-chara-list__item--10,
.p-chara-list__item--14 {
  position: relative;
  z-index: 1;
}

/* chara css */
.c-modal-close {
  width: 36px; /* clamp非対応対策 */
  width: clamp(20px, 9vw, 72px);
  height: 36px; /* clamp非対応対策 */
  height: clamp(20px, 9vw, 72px);
  text-align: center;
  cursor: pointer;
}
.c-modal-close > img {
  pointer-events: none;
}
.c-kakusei-list {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.7);
  padding: 2px;
  line-height: 1.75;
  border-radius: 2px;
}
.c-kakusei-list dd ul {
  display: flex;
  gap: 4px;
}
.c-kakusei-list dd li {
  width: 20px; /* clamp非対応対策 */
  width: clamp(16px, 4.5vw, 24px);
}
.c-kakusei-list--sync dt {
  color: #2ccd57;
}
.c-leader-skill-txt {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  padding: 2px;
  line-height: 1.75;
  border-radius: 2px;
}
.c-leader-skill-txt .per {
  color: #e70000;
}
.c-evo-btn-list {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 0 10px;
  /* gap: 2px; clamp非対応対策
  gap: clamp(2px, 1.6vw, 8px); */
  pointer-events: auto;
}
.c-evo-btn-list__item {
  width: min(calc(100% / 4), 220px);
  background: none;
  font-size: 0;
  margin-right: 10px;
}
.c-evo-btn-list__item:last-child {
  margin-right: 0;
}

.c-evo-btn-list__item > a {
  display: inline-block;
}
.c-evo-btn-list__item img {
  height: auto;
}
.c-evo-btn-list__item.is-active a {
  cursor: default;
}
.c-es-btn {
  display: block;
  width: min(8.5vw, 68px);
}
.c-es-btn > img {
  pointer-events: none;
}
.c-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(0, 0, 0, .9);*/
  background: url(../img/bg_1.jpg) no-repeat center top;
  background-size: cover;
  cursor: pointer;
  z-index: 10;
}

.p-chara-list,
.p-chara-list * {
  box-sizing: border-box;
}
.p-chara-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
  max-width: calc(calc(312px * 2) + calc(1px * 1) + calc(1px * 2));
  /* margin: 40px auto 0; clamp非対応対策 
  margin: clamp(20px, 5vw, 80px) auto 0;*/
  margin: 0 auto;
  /* padding: 0 5px; */
  /* gap: 30px 14px; clamp非対応対策 */
  /* gap: clamp(30px, 8vw, 48px) 14px; */
}
.p-chara-list__item {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  width: calc(calc(100% - 14px) / 2);
  margin: 5% 0;
}
/* .p-chara-list__item img {
} */

.p-chara-list__item img.thum {
  transform: scale(1.1);
  transition: 0.25s;
  width: auto;
  height: auto;
  max-width: 100%;
}

.p-chara-details-btn {
  /* width: min(80%, 196px); */
  width: 80%;
  max-width: 196px;
  margin-top: 10px; /* clamp非対応対策 */
  margin-top: clamp(8px, 2vw, 12px);
  padding: 0 !important;
}
.p-chara-details-btn > a {
  width: 100%;
  display: inline-block;
}

.p-modal-illust,
.p-modal-ability,
.p-modal-illust *,
.p-modal-ability * {
  box-sizing: border-box;
}

.p-modal-illust,
.p-modal-ability {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 101;
}
.p-modal-illust-box__img,
.p-modal-ability-box__img,
.p-modal-ability-box__others {
  pointer-events: auto;
}

.p-modal-illust img,
.p-modal-ability img {
  height: auto;
  max-width: 100%;
  box-sizing: content-box;
}
.p-modal-illust-box {
  position: relative;
  width: min(100vw, 960px);
  margin: 0 auto;
}
.p-modal-illust-box__img {
  position: relative;
  width: min(100%, 960px);
  margin: 0 auto;
  text-align: center;
}
.p-modal-illust-box__img > img {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
}
.p-modal-illust-cover {
  position: relative;
  display: block;
  content: '';
  width: 100%;
  height: 0;
  padding-top: calc(calc(690 / 960) * 100%);
  pointer-events: none;
}
.p-modal-illust-box__img .c-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-25%, -25%);
}
.p-modal-ability-box {
  position: relative;
  width: min(100vw, 600px);
  margin: 0 auto;
}

.p-modal-ability-box__img {
  position: relative;
  width: min(85%, 600px);
  max-width: 47vh;
  margin: 0 auto;
}
.p-modal-ability-cover {
  position: relative;
  display: block;
  content: '';
  width: 100%;
  height: 0;
  padding-top: calc(calc(955 / 640) * 100%);
  pointer-events: none;
}
.p-modal-ability-box__img > img {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #928160;
}
.p-modal-ability-box__img.is-darken > img {
  -webkit-filter: brightness(0.5);
  filter: brightness(0.5);
}
.p-modal-ability-box__img .c-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(35%, -35%);
}

.p-modal-ability-box__others {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px 20px;
  margin-top: 10px;
  padding: 0 10px;
  color: #3e230a;
  font-size: 12px; /* clamp非対応対策 */
  font-size: clamp(10px, 2.66vw, 16px);
  font-weight: bold;
  line-height: 1.3;
}
.p-es {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}
.p-es__img {
  display: block;
  padding: 0 10px;
}
.p-es__img > img {
  border: 1px solid #b4c03a;
}
.p-es .c-es-btn {
  position: absolute;
  top: 50%;
  left: -3vw;
  transform: translate(0, -50%);
}
.p-modal-notice {
  margin-top: 10px;
  padding: 0 10px;
  font-size: 12px; /* clamp非対応対策 */
  font-size: clamp(10px, 1.4vw, 14px);
  color: #fff;
  pointer-events: auto;
}
.p-modal-notice p {
  margin-top: 0;
}

/* transition */
.opacity-enter {
  opacity: 0;
}
.opacity-enter-active {
  transition: opacity 0.2s ease-in;
}
.opacity-enter-to {
  opacity: 1;
}
.opacity-leave {
  opacity: 1;
}
.opacity-leave-active {
  transition: opacity 0s ease-in;
}
.opacity-leave-to {
  opacity: 0;
}

.c-overlay.opacity-leave-active {
  transition-duration: 0.15s;
}

/* flexbox gap 対策
.no-flexbox-gap .c-kakusei-list > * {
  margin-right: 0;
}
.no-flexbox-gap .c-kakusei-list > *:last-child {
  margin-right: 0;
}
.no-flexbox-gap .c-kakusei-list dd ul > * {
  margin-right: 0;
}
.no-flexbox-gap .c-kakusei-list dd ul > *:last-child {
  margin-right: 0;
}
.no-flexbox-gap .c-leader-skill-txt > * {
  margin-right: 10px;
}
.no-flexbox-gap .c-leader-skill-txt > *:last-child {
  margin-right: 0;
}
.no-flexbox-gap .c-evo-btn-list > * {
  margin-right: 0;
}
.no-flexbox-gap .c-evo-btn-list > *:last-child {
  margin-right: 0;
}
.no-flexbox-gap .p-chara-list > * {
  margin-right: 0;
  margin-bottom: 30px;
  margin-top: 30px;
  margin-bottom: clamp(30px, 8vw, 48px);
}
.no-flexbox-gap .p-chara-list > *:nth-child(2n) {
  margin-right: 0;
}
.no-flexbox-gap .p-modal-ability-box__others > * {
  margin-right: 20px;
  margin-bottom: 5px;
}
.no-flexbox-gap .p-modal-ability-box__others > *:last-child {
  margin-right: 0;
}
@media (any-hover: hover) {

} */

/*-------------- tablet size --------------------*/
@media screen and (min-width: 641px) {
  .p-chara-list {
    max-width: calc(312px * 3);
    padding: 0 4px;
    transform: translate(0, 0);
  }
  .p-chara-list__item {
    width: calc(calc(100% - calc(1px * 2)) / 3);
  }
  .p-modal-illust-box {
    width: min(calc(100vw - 17px), 960px);
  }
  .p-modal-ability-box {
    width: min(70vw, 600px);
  }
  .p-es .c-es-btn {
    left: -10px;
    transform: translate(-50%, -50%);
  }
  /* flexbox gap 対策 */
  .no-flexbox-gap .p-chara-list > *:nth-child(2n) {
    margin-right: 14px;
  }
  .no-flexbox-gap .p-chara-list > *:nth-child(3n) {
    margin-right: 0;
  }
}
@media screen and (min-width: 641px) and (orientation: landscape) {
  .c-kakusei-list dd li {
    width: 16px; /* clamp非対応対策 */
    width: clamp(16px, 5.5vw, 18px);
  }

  .p-modal-illust-box__img {
    max-width: 110vh;
  }
  .p-modal-ability-box__others {
    font-size: 12px; /* clamp非対応対策 */
    font-size: clamp(10px, 1.4vw, 16px);
  }
}
@media screen and (min-width: 641px) and (max-width: 1023px) and (orientation: landscape) {
  .c-modal-close {
    width: 40px; /* clamp非対応対策 */
    width: clamp(40px, 5vw, 72px);
    height: 40px; /* clamp非対応対策 */
    height: clamp(40px, 5vw, 72px);
    font-size: 24px; /* clamp非対応対策 */
    font-size: clamp(24px, 4vw, 40px);
  }
  .c-evo-btn-list__item {
    width: min(10vw, 140px);
  }

  .p-modal-ability-box__others {
    justify-content: center;
  }
}

/*--------------　PC size --------------------*/
@media screen and (min-width: 1024px) {
  .p-chara-details-btn {
    width: 100%;
    max-width: 196px;
    padding: 0 !important;
  }
  .c-kakusei-list,
  .c-leader-skill-txt {
    line-height: 1.5;
  }
  .c-kakusei-list dd li {
    width: 24px; /* clamp非対応対策 */
    width: clamp(16px, 5.5vw, 24px);
  }
  .c-evo-btn-list {
    padding: 0;
  }
  .c-modal-close {
    width: 72px; /* clamp非対応対策 */
    width: clamp(40px, 5vw, 72px);
    height: 72px; /* clamp非対応対策 */
    height: clamp(40px, 5vw, 72px);
    font-size: 40px; /* clamp非対応対策 */
    font-size: clamp(24px, 4vw, 40px);
  }
  .p-chara-list {
    max-width: calc(calc(312px * 4) + calc(1px * 3) + calc(32px * 2));
    padding: 0 16px;
  }
  .p-chara-list__item {
    width: min(calc(calc(100% - calc(1px * 3)) / 4), 312px);
    margin: 4% 0;
  }
  .p-modal-illust-box__img .c-modal-close {
    transform: translate(25%, -25%);
  }
  .p-modal-ability-box__others,
  .p-modal-notice {
    padding: 0;
    min-height: 30px;
  }

  /* flexbox gap 対策 */
  .no-flexbox-gap .p-chara-list > *:nth-child(3n) {
    margin-right: 14px;
  }
  .no-flexbox-gap .p-chara-list > *:nth-child(4n) {
    margin-right: 0;
  }
}
@media screen and (min-width: 1367px) and (orientation: landscape) {
  .p-modal-ability-box__img {
    width: min(100%, 600px);
    max-width: 52vh;
  }
}
