/* ========================= [ 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: repeating-linear-gradient(
    90deg,
    #3b0202,
    #3b0202 10px,
    #101010 10px,
    #101010 20px
  );
  /* background-image: url('./back-cover.webp'); */
  background-repeat: repeat-y;
  background-size: contain;
}
/* 補上新的header */
header {
  background: #fff;
  width: 100%;
  z-index: 999;
}
header img {
  padding: 8px 10px;
  width: auto;
  height: 41px;
}
header div {
  margin: 0px;
  padding: 0px;
}

.header_icon {
  display: flex;
  justify-content: space-between;
}

.icon_img img {
  padding: 1px;
  height: 37px;
}
/* 補上新的header */
.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;
}

.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);
  }
}

/* ======== #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 {
  align-items: center;
  width: 100%;
  max-width: 44rem;
  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: 89.27%;
  left: 0%;
  animation: shake 1.6s infinite ease-in-out;
  z-index: 2;
}

.float2 {
  position: absolute;
  width: 22%;
  top: 58%;
  left: 20%;
  animation: float 1.6s infinite ease-in-out;
  z-index: 2;
}

.float3 {
  position: absolute;
  width: 94%;
  top: 56.8%;
  left: -0.5%;
  animation: shake2 1.6s infinite ease-in-out;
  z-index: 1;
}

.float4 {
  position: absolute;
  width: 20%;
  top: 46%;
  left: 77%;
  animation: float 1.6s infinite ease-in-out;
  z-index: 1;
}

.title1 {
  position: absolute;
  width: 100%;
  top: -2%;
  left: 0%;
  animation: scale 2s infinite ease-in-out;
}

.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: 1.5rem 0;
  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: 2.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-color: #6e1a1a;
  background-image: linear-gradient(
      45deg,
      #5b0707 25%,
      transparent 25%,
      transparent 75%,
      #5b0707 75%,
      #5b0707
    ),
    linear-gradient(
      -45deg,
      #5b0707 25%,
      transparent 25%,
      transparent 75%,
      #5b0707 75%,
      #5b0707
    );
  background-size: 25px 25px;
  border: unset;
}

@media screen and (max-width: 550px) {
  .circlebtn {
    bottom: 7.5rem;
  }
}
@media screen and (max-width: 360px) {
  .circlebtn {
    bottom: 8.5rem;
  }
}

.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: 13rem;
  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: 3rem;
  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: rgb(190 21 21);
  /* background: linear-gradient(90deg, #6f7e01 0%, #cbe600 100%); */
  box-shadow: 0px 12px 24px rgb(75 14 0);
  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(110 20 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 rgb(255 46 46);
  box-shadow: 0 0 60px rgba(145, 145, 145, 0.39);
  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 rgba(248, 255, 197, 0.589);
  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: 44rem;
  box-shadow: 3px 5px 2px #718000;
  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: #bfd800;
  background-image: linear-gradient(
      -65deg,
      #b3ca00 55%,
      transparent 25%,
      transparent 75%,
      #b3ca00 75%,
      #b3ca00
    ),
    linear-gradient(
      -45deg,
      #b3ca00 25%,
      transparent 25%,
      transparent 75%,
      #b3ca00 75%,
      #b3ca00
    );
  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);
  }
}

@keyframes shake2 {
  0% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }

  100% {
    transform: translateX(-6px);
  }
}

.box {
  max-width: 640px;
  width: 100%;
  margin: auto;
  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%;
  align-items: center;
  z-index: 15;
  filter: drop-shadow(0px 0px 4px rgb(250, 250, 167));

  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;
  }
  /* 以上 */
}

.step-container {
  min-height: 800px;
  background-color: #fffafc;
  background-image: url('./t1.webp');
  background-repeat: repeat-y;
  background-size: contain;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0rem 0rem;
  position: relative;
}
.step-container .step-area {
  position: relative;
}
.step-container .step-area1,
.step-container .step-area4 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-container .step-t0 {
  margin-bottom: 2rem;
}
.step-container .step-arrow {
  margin: 1rem;
  animation: move-arrow 2s linear infinite;
}
.step-container .step-t2-a {
  width: 80%;
  position: absolute;
  top: 67%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s linear;
}
.step-container .step-t2-a .step-t2 {
  animation: scale-title 2s linear infinite;
  cursor: pointer;
}

.step-container .step-op1-a,
.step-container .step-op2-a {
  display: flex;
  justify-content: center;
  width: 80%;
  position: absolute;
  top: 61%;
  transition: all 0.2s linear;
  animation: scale-title 2s linear infinite;
  max-width: 450px;
}
@media screen and (max-width: 640px) {
  .step-container .step-op1-a,
  .step-container .step-op2-a {
    width: 70%;
    min-width: 250px;
  }
}
.step-container .step-op2-a {
  top: 6.3%;
}
.step-container .step-t2-a:hover,
.step-container .step-op1-a:hover,
.step-container .step-op2-a:hover {
  opacity: 0.8;
}

.step-container .step-point {
  position: absolute;
  top: 9.2%;
  left: 71%;
  animation: pointer-click 2s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}
.step-container .step-point.step-point1 {
  top: 82%;
  left: 73%;
}
.step-container .step-point.step-point2 {
  top: 46%;
  left: 62%;
}
.step-container .step-point.step-point3 {
  top: 37%;
  left: 35%;
}
.step-container .step-point.step-point4 {
  top: 67%;
  left: 37%;
}
.step-container .step-point.step-point5 {
  top: 10%;
  left: 67%;
}
.step-container .step-point.step-point6 {
  top: 32.5%;
  left: 62%;
}
.step-container .step-point.step-point7 {
  top: 69%;
  left: 68%;
}
@media screen and (max-width: 610px) {
  .step-container .step-point.step-point7 {
    top: 70%;
    left: 72%;
  }
}
.step-container .step-point.step-point8 {
  top: 82.8%;
  left: 54%;
}
.step-container .step-point.step-point9 {
  top: 89%;
  left: 43%;
}

@keyframes move-arrow {
  0% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(5px);
  }
}
@keyframes scale-title {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pointer-click {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
.step-container .box.box2 {
  padding-top: 3rem;
  position: unset;
}
