/* ========================= [ base ] */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
  margin: 0 auto;
  padding: 0;
}

ul,
ol,
dl {
  list-style: none;
}

img {
  vertical-align: bottom;
}
body {
  background: #240303;
  background-image: url("./bb.png");
  background-repeat: repeat;
}
.arrow-icon {
  width: 10px;
  height: 10px;
  margin-right: 2px;
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='60px' height='80px' viewBox='0 0 80 100' xml:space='preserve'%3E%3Cpolyline fill='none' stroke='%23FFFFFF' stroke-width='10' stroke-linecap='round' stroke-linejoin='round' points='0.375 0.375 45.63 38.087 0.375 75.8 '/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}
/* .body {
    background: repeating-linear-gradient(
      90deg,
      #040018,
      #040018 10px,
      #001220 10px,
      #001220 20px
    );
  } */

.animate-float {
  animation: float 2s infinite ease-in-out;
}
.animate-scale {
  animation: scale 2s infinite ease-in-out;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}
.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}
.delay-3 {
  animation-delay: 0.9s;
}
.photobanner {
  animation: bannermove 38s linear infinite;
}

@keyframes bannermove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(max(calc(-400% - 96px), calc(-3384px - 96px)), 0);
  }
}

.logo_banner {
  width: 100%;
  background-color: #fb7995;
  display: flex;
}

.logo_banner .logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 10px;
  z-index: 999;
}
.logo_banner .logo p {
  margin: auto;
}
.logo_banner .logo p img {
  max-width: 80px;
}

.logo_banner .banners {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.banners .banner_large img {
  margin: auto;
  height: 100%;
}
.banners .banner_small {
  display: none;
}

@media screen and (max-width: 900px) {
  .logo_banner {
    height: auto;
  }
  .logo_banner .logo {
    height: auto;
  }
  .banners {
    height: auto;
  }
  .banners .banner_small {
    display: block;
  }
  .banners .banner_large {
    display: none;
  }
  .banners a img {
    max-height: 55px;
  }
}

/* ======== #navi ========*/
#navi {
  width: 100%;
  height: 45px;
  position: relative;
  display: flex;
  margin: 0;
  padding: 10px;
  background: #ffffff;
  z-index: 999;
}

#navi .logo {
  margin: auto;
}
#navi .logo img {
  width: 90px;
}

#navi .head-navi {
  float: right;
  height: 15px;
  font-size: 13px;
  margin: 8px 0 0;
}

#navi .head-navi li {
  display: inline;
  font-size: 13px;
  padding: 0 10px;
  border-right: 1px #333 solid;
}

#navi .head-navi li:last-child {
  border: none;
}

.banner {
  width: 100%;
  height: auto;
  background-color: #fb7995;
}
.banner a img {
  margin: auto;
  height: 100%;
}
.banner .banner_small {
  display: none;
}
@media screen and (max-width: 680px) {
  .banner {
    height: auto;
  }
  .banner .banner_small {
    /* display: block; */
  }
  .banner .banner_large {
    display: none;
  }
  .banner a img {
    max-height: 70px;
  }
}

/*========main========*/
.main {
  max-width: min(calc(80vh - 86px - 64px), 768px);
  align-items: center;
  width: 100%;
  max-width: 48rem;
  min-height: 100vhvh;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/*=======shimmer=========*/
.shimmer {
  color: white;
  background: #acacac -webkit-gradient(linear, 100% 0, 0 0, from(#acacac), color-stop(0.5, #ffffff), to(#acacac));
  background-position: -4rem top; /*50px*/
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 4rem 100%; /*50px*/
  animation: shimmer 1.5s infinite;

  top: 0px;
  font-size: min(36px, 6vw);
  font-weight: 900;
  position: sticky;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

@keyframes shimmer {
  0% {
    background-position: -4rem top; /*50px*/
  }

  70% {
    background-position: 16rem top; /*200px*/
  }

  100% {
    background-position: 16rem top; /*200px*/
  }
}
/*=======mangabox=========*/
.mangabox {
  position: relative;
  margin: auto;
  z-index: 10;
  overflow: hidden;
}

/*=======Floating========*/
.float1 {
  position: absolute;
  width: 100%;
  top: 0%;
  left: 0%;
  animation: float 2s infinite ease-in-out;
  z-index: 2;
}

.float2 {
  position: absolute;
  width: 100%;
  top: 34.3%;
  left: -1%;
  animation: float 2s infinite ease-in-out;
  z-index: 2;
}

.float3 {
  position: absolute;
  width: 100%;
  top: 34.2%;
  animation: shake 0.6s infinite ease-in-out;
  z-index: 1;
}

.title1 {
  position: absolute;
  width: 96%;
  top: 2%;
  left: 2%;
  animation: scale 2s infinite ease-in-out;
  z-index: 6;
}

.title2 {
  position: absolute;
  width: 70%;
  top: 75%;
  left: 6%;
  animation: scale 2s infinite ease-in-out;
}

/*=====Footer=====*/
footer {
  position: relative;
  text-align: center;
  padding: 1% 0;
  width: 100%;
  font-size: 11px;
  background: #000000;
  /*border-top: 1px #000000 solid;*/
  color: #fff;
  z-index: 20;
}

.infobox {
  padding-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  column-gap: 1rem;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  display: grid;
  grid-auto-flow: column;
  --tw-text-opacity: 1;
  color: #ffffff;
  --tw-bg-opacity: 1;
  background-color: #000000;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

@media screen and (min-width: 768px) {
  .infobox {
    grid-template-rows: auto;
  }
}

/*========circlebtn========*/
.circlebtn {
  position: sticky;
  display: flex;
  flex-direction: row;
  align-items: center;
  bottom: 6rem;
  z-index: 10;
  font-size: min(18px, 5vw);
  font-weight: 800;
  line-height: 1;
  padding: 1.5rem;
  text-align: center;
  margin-top: -7rem;
  margin-bottom: 1rem;
  margin-right: 0.5rem;
  justify-content: center;
  align-self: flex-end;
  border-radius: 9999px;
  border-width: 4px;
  border-left-width: 0px;
  border-top-width: 0px;
  --tw-border-opacity: 1;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  border-color: rgb(72 160 160 / var(--tw-border-opacity));
  width: 100px;
  height: 100px;
  background: rgb(170, 0, 105);
  background: linear-gradient(
    120deg,
    rgba(131, 0, 0, 1) 20.5625%,
    rgba(131, 0, 0, 1) 20.5625%,
    rgb(100, 0, 0) 80.5625%
  );
  border: unset;
}
@media screen and (max-width: 550px) {
  .circlebtn {
    bottom: 7.5rem;
  }
}
@media screen and (max-width: 450px) {
  .circlebtn {
    bottom: 6rem;
  }
}
.fixd-btn {
  background: rgba(72, 160, 160);
  background: repeating-linear-gradient(
    65deg,
    rgba(72, 160, 160),
    rgba(72, 160, 160) 10px,
    rgba(73, 158, 141, 1) 10px,
    rgba(73, 158, 141, 1) 20px
  );
}

/*====buttonarea====*/
.buttonarea {
  position: sticky;
  bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  height: 11rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
}

/*==========nameof==========*/
.nameof {
  position: absolute;
  z-index: 12;
  top: 0px;
  width: 100%;
  right: 0.25rem;
  max-width: 28rem;
  text-align: right;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

/*=======bigbutton======*/
.bottom-btn {
  margin: 50px 0;
  width: min(300px, 100%);
  background: #880000;
  background: linear-gradient(
    160deg,
    #f73636 20.5625%,
    #f73636 20.5625%,
    #a00e0e 80.5625%
  );
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  outline: none;
  position: absolute;
  z-index: 2;
  animation: border 1.5s infinite steps(1, end);
  padding: 0.6rem;
  text-align: center;
  font-size: min(30px, 8vw);
  font-weight: 800;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 0px;
  border-left-width: 0px;
  border-top-width: 0px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  --tw-border-opacity: 1;
  border-color: rgb(65 0 0 / var(--tw-border-opacity));
}

.bottom-btn::before {
  content: "";
  border-radius: 1000px;
  min-width: calc(100% + 12px);
  min-height: calc(100% + 12px);
  border: 6px solid #f73636;
  box-shadow: 0 0 60px rgb(247, 89, 89);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.3s ease-in-out 0s;
}

.bottom-btn:hover,
.bottom-btn:focus {
  transform: translateY(-6px);
  animation: none;
}

.bottom-btn:hover::before,
.bottom-btn:focus::before {
  opacity: 1;
}

.bottom-btn::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: 6px solid tomato;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring 1.5s infinite;
}

.bottom-btn:hover::after,
.bottom-btn:focus::after {
  animation: none;
  display: none;
}

@keyframes ring {
  0% {
    width: 30px;
    height: 30px;
    opacity: 1;
  }
  100% {
    width: min(300px, 100vw);
    height: min(300px, 100vw);
    opacity: 0;
  }
}
@keyframes border {
  0% {
    border-bottom-width: 4px;
    border-right-width: 4px;
  }
  50% {
    border-bottom-width: 8px;
    border-right-width: 8px;
  }
  100% {
    border-bottom-width: 4px;
    border-right-width: 4px;
  }
}

/* Add */
.add {
  max-width: 46rem;
  box-shadow: 3px 5px 2px rgb(61, 0, 0);
  width: 97%;
  background-color: #2b2b2bbe;
  border-radius: 20px;
  padding: 5px 15px;
  color: white;
  font-weight: bold;
  font-size: 26px;
  position: sticky;
  left: 0px;
  bottom: 10px;
  margin: auto;
  margin-bottom: 10px;
  z-index: 100;
  text-align: center;
  background-color: rgb(131, 0, 0);
  background-image: linear-gradient(
      45deg,
      rgb(107, 0, 0) 55%,
      transparent 25%,
      transparent 75%,
      rgb(131, 0, 0) 75%,
      rgb(131, 0, 0)
    ),
    linear-gradient(
      -45deg,
      rgb(131, 0, 0) 25%,
      transparent 25%,
      transparent 75%,
      rgb(131, 0, 0) 75%,
      rgb(131, 0, 0)
    );
  background-size: 25px 25px;
}
@media screen and (max-width: 375px) {
  .add {
    padding: 5px;
  }
}
.add .bigTitle span {
  display: inline-block;
  animation: jump 0.3s ease-in infinite;
}
.add .smallTitle {
  font-size: 18px;
}

@keyframes jump {
  0% {
    transform: translateY(5px);
  }

  50% {
    transform: translateY(-30px);
  }

  100% {
    transform: translateY(5px);
  }
}
@keyframes shake {
  0% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(15px);
  }

  100% {
    transform: translateX(0px);
  }
}

.box {
  max-width: 48rem;
  width: 100%;
  position: sticky;
  bottom: 0px;
  z-index: 100;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-end;
}
.pc-img {
  display: block;
}
.pad-img {
  display: none;
}

.fixed-area1 {
  width: 100%;
  /* margin-bottom: 10px; */
  /* background-color: #f6a7c7; */
  /* background-color: #00bee9; */
  /* padding: 2px 10px; */
  align-items: center;
  z-index: 15;
  filter: drop-shadow(0px 0px 4px rgb(250, 250, 167));
  /* padding-right: 5px; */

  transition: transform 0.3s ease;
}
.fixed-area1:hover {
  transform: translateY(-10px); /* 放大 10% */
  z-index: 9999;
}
/* 這是新補上去的html */
.control {
  padding-right: 0.5px !important;
  padding-left: 1px !important;
}
.control-1 {
  padding-left: 0.5px !important;
  padding-right: 1px !important;
}
/* 以上這是新補上去的html */

.fixed-area1 img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
@media screen and (max-width: 550px) {
  .fixed-area1 {
    margin-bottom: 0;
    /* margin-bottom: 10px; */
    border-radius: 10px;
    /* padding-right: 10px; */
  }
  .fixed-area1:hover {
    transform: none; /* 放大 10% */
    z-index: 9999;
  }
}

@media screen and (max-width: 550px) {
  .box {
    /* flex-direction: column; */
    gap: 0;
    /* padding: 10px; */
    padding-bottom: 0px;
  }
  /* 這是新補上去的 */
  .pad-img {
    /* padding-right: 3px; */
    display: block;
  }
  .pc-img {
    /* padding-left: 3px; */
    display: none;
  }
  /* 以上 */
}

section.message-container {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0px;
  background-color: #00000080;
  z-index: 26;
}
section.message-container .message-area {
  width: 560px;
  position: fixed;
  top: 53%;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%) translateY(-50%);
}
section.message-container .message-area img {
  width: 100%;
  object-fit: contain;
}

section.message-container .message-area .message-close-btn {
  width: 55px;
  position: absolute;
  top: 0px;
  right: 0px;
  transform: translateX(50%) translateY(-50%);
  cursor: pointer;
}
section.message-container .message-area .message-close-btn img {
  width: 100%;
  object-fit: contain;
}
@media screen and (max-width: 780px) {
  section.message-container .message-area {
    width: 480px;
  }
}
@media screen and (max-width: 580px) {
  section.message-container .message-area {
    width: 400px;
  }
}
@media screen and (max-width: 500px) {
  section.message-container .message-area {
    width: 350px;
  }
}
@media screen and (max-width: 450px) {
  section.message-container .message-area {
    width: 300px;
  }
  section.message-container .message-area .message-close-btn {
    width: 45px;
  }
}
@media screen and (max-width: 400px) {
  section.message-container .message-area {
    width: 280px;
  }
  section.message-container .message-area .message-close-btn {
    width: 40px;
  }
}
@media screen and (max-width: 350px) {
  section.message-container .message-area {
    width: 250px;
  }
  section.message-container .message-area .message-close-btn {
    width: 35px;
  }
}
