@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
/*無襯線日文*/
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Noto+Serif+JP:wght@200..900&display=swap');
/*手寫英文,襯線日文*/
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
/*粗體無襯線英*/

/* 網頁捲軸【寬度】 */
::-webkit-scrollbar {
    width: 10px;
}

/* 網頁捲軸【背景】顏色 */
::-webkit-scrollbar-track {
    background: #fff;
}

/* 網頁捲軸【把手】顏色 */
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #18318c;
}


body {
  margin: 0;
  padding: 0;

}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

#container {
  color: #606060;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2vw;
  font-weight: 300;
  line-height: 1.8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url(../images/bodyBg.jpg) no-repeat ;
  background-size: 100% auto;
  overflow: hidden;
  padding: 1.5vw 1.5vw 0 1.5vw;
}

.headerTop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 96vw;
}

.followUsBox {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.followUsText {
  width: 17vw;
  height: 2vw;
  background: url(../images/followUsText.png) no-repeat;
  background-size: 100% auto;
}

.followUsBtn {
  display: flex;
  gap: 1.5vw;
  margin-top: .5vw;
}

.followUsBtnIcon {
  width: 3.3vw;
    height: 3.3vw;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.followUsBtnIcon:hover {
  transform: scale(1.1);
  /* 放大 10% */
}

.followUsBtnIcon:nth-child(1) {
    background: url(../images/followUsBtnH.png) no-repeat;
    background-size: 100% auto;
}

.followUsBtnIcon:nth-child(2) {
    background: url(../images/followUsBtnY.png) no-repeat;
    background-size: 100% auto;
}

.followUsBtnIcon:nth-child(3) {
  
    background: url(../images/followUsBtnX.png) no-repeat;
    background-size: 100% auto;
}


.headerTitle {
 width: 44vw;
    height: 13.5vw;
  background: url(../images/headerTitle.png) no-repeat;
  background-size: 100% auto;

}


.headerKV {
  width: 96vw;
  height: 54vw;
  background: url(../images/KVbg.png) no-repeat;
  background-size: 100% auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.KVcharacter {
 width: 70vw;
    height: 47vw;
    background: url(../images/KVcharacter.png) no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: 9.5vw;
    left: 11vw;
    /* animation: breathing 3s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
    transform-origin: bottom center; */
}

@keyframes breathing {
  0% {
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
  }

  60% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  100% {
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
  }
}

.KVlogo {
  width: 24vw;
    height: 10.5vw;
  background: url(../images/KVlogo.png) no-repeat;
  background-size: 100% auto;
  position: absolute;
  top: 46vw;
}

.KVtitle {
  width: 77vw;
  height: 11vw;
  background: url(../images/KVtitle.png) no-repeat;
  background-size: 100% auto;
  position: absolute;
  top: 53vw;
}

.KVlightBreath {
  width: 50vw;
  height: 13vw;
  background: url(../images/KVtitleEffect.png) no-repeat center center;
  background-size: contain;
  animation: breathLight 2s ease-in-out infinite;
  pointer-events: none;
  /* 去黑背景的核心技巧 */
  mix-blend-mode: screen;
  /*混合模式讓黑色變透明（類似Photoshop「濾色」）*/
  filter: brightness(1.8) contrast(1.5) saturate(1.2);
  /*增加亮度、對比、飽和度*/
  transform-origin: center center;
  position: absolute;
  right: 16vw;
  top: 1vw;
}

@keyframes breathLight {
  0% {
    transform: scale(1);
    opacity: 0.9;
    filter: brightness(1.5) contrast(1.2);
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: brightness(2.2) contrast(1.5);
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
    filter: brightness(1.5) contrast(1.2);
  }
}

.KVsubtitle {
 width: 69vw;
    height: 6vw;
    background: url(../images/KVsubtitle.png) no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: 61.3vw;
    left: 13vw;
}

.mouse {
	position: relative;
    display: block;
    width: 1.5vw;
    height: 2.5vw;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: .15vw solid white;
    border-radius: 50vw;
    float: right;
    top: 2.8vw;
    left: 2.5vw;
}

.mouse > * {
	position: absolute;
    display: block;
    /* top: 29%; */
    left: 50%;
    width: .37vw;
    height: .37vw;
    margin: -.2vw 0 0 -.2vw;
    background: white;
    border-radius: 50%;
    -webkit-animation: ani-mouse 2.5s linear infinite;
    -moz-animation: ani-mouse 2.5s linear infinite;
    animation: ani-mouse 2.5s linear infinite;
}

@-webkit-keyframes ani-mouse {
	0% {
	opacity: 1;
	top: 29%;
	}
	15% {
	opacity: 1;
	top: 50%;
	}
	50% {
	opacity: 0;
	top: 50%;
	}
	100% {
	opacity: 0;
	top: 29%;
	}
}
@-moz-keyframes ani-mouse {
	0% {
	opacity: 1;
	top: 29%;
	}
	15% {
	opacity: 1;
	top: 50%;
	}
	50% {
	opacity: 0;
	top: 50%;
	}
	100% {
	opacity: 0;
	top: 29%;
	}
}
@keyframes ani-mouse {
	0% {
	opacity: 1;
	top: 29%;
	}
	15% {
	opacity: 1;
	top: 50%;
	}
	50% {
	opacity: 0;
	top: 50%;
	}
	100% {
	opacity: 0;
	top: 29%;
	}
}

.detail{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.detailText{
  width: 62vw;
  padding: 3vw 0 4vw 0;
}

.detailBox{
 display: flex;
    justify-content: space-between;
    align-items: center;
    width: 72vw;
}


.steps {
  height: 35vw;
}

.step {
  height: 9.5vw;
    padding: 0 0 1.5vw 4vw;
    position: relative;
}

.step::before {
  content: "";
  position: absolute;
  left: 0;
    top: 0.3vw;
    width: 3vw;
    height: 10vw;
  background-image: url(../images/stepImg.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.stepTop {
  display: flex;
  align-items: flex-end;
  font-family: 'Noto Serif JP', serif;
}

.step-number {
  font-size: 4vw;
  line-height: 3.5vw;
  font-weight: bold;
  color: #18318c;
}

.step-title {
  font-size: 2vw;
  font-weight: bold;
  color: #18318c;
  margin-left: .5vw;
}

.step-content {
width: 25vw;
    margin-top: 1vw;
    padding-bottom: 1vw;
    border-bottom: .1vw solid #606060;
}

.form-box {
 width: 35vw;
    height: 38.8vw;
    padding: 3.5vw;
    background: url(../images/form-box.png) no-repeat;
    background-size: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1vw;
  height: 1vw;
  border-radius: 50%;  /* 圓形 */
  background-color: #18318c;
  cursor: pointer;
  vertical-align: middle;
  margin-right: .5vw;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

.radio-group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .5vw;
  height: .5vw;
  background-color: #fff;
  /* 勾選的藍色小圓點 */
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radio-group label {
  margin-right: 2vw;
}

.input-email {
 display: block;
    width: 96%;
    padding: .8vw;
    /* margin-bottom: 1.5vw; */
    background: #606060;
    color: #fff;
    border: none;
    border-radius: 50vw;
    outline: none;/* <-- 移除點選時的外框 */
    font-size: 1.3vw;
    text-align: center;
  
}

.input-email::placeholder {
  color: #ccc;
  opacity: 1;
  /* 讓顏色不透明（某些瀏覽器需要） */
}

.notice input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1vw;
  height: 1vw;
  border-radius: 50%;
  /* 圓形 */
  background-color: #18318c;
  vertical-align: middle;
  margin-right: .5vw;
  position: relative;
  transition: all 0.2s ease;
cursor: pointer;
}

.notice input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .5vw;
  height: .5vw;
  background-color: #fff;
  /* 勾選的藍色小圓點 */
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.notice span {
  color: #da5b68;
  font-weight: 500;
  cursor: pointer;
  /* text-decoration: underline; */
}

.submit-button {
  display: inline-block;
    padding: .5vw 3.5vw;
    background: #18318c;
    font-family: 'Noto Sans JP', sans-serif;
    color: #fff;
    border: none;
    border-radius: 50vw;
    font-size: 1.6vw;
    cursor: pointer;
}

.footer-text {
  /* margin-top: 2vw; */
    font-size: 1vw;
    line-height: 1.3vw;
    color: #999;
    word-break: break-all;
    border-top: .1vw solid #999;
    padding-top: 1.5vw;
}

footer{
  width: 100vw;
    height: 14vw;
    background: url(../images/footerImg.png) no-repeat;
    background-size: 100%;
    margin-bottom: 0;
}

/* lightbox彈窗 */

.lightbox {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
}

.lightbox.active {
  display: flex;
}


.close-btn {
  background: url(../images/close.png) no-repeat;
    background-size: 100% auto;
    width: 3vw;
    height: 3vw;
    position: absolute;
    top: -2vw;
    right: -3vw;
    cursor: pointer;
    outline:none;
}
    button{
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    border:none;
    background:none;
    outline: none;
  }

  button::after{
    border:none;
  }

.close-btn:hover{
    animation: circles 0.5s linear;
}

@keyframes circles{
    0%{
      transform: rotate(0deg);
    }
    100%{
      transform: rotate(360deg);
    }
  }

  #lightboxnote {
    background: url(../images/noteBg.png) no-repeat;
    background-size: 100% auto;
    width: 45vw;
    height: 41vw;
    position: relative;
    top: 1vw;
    padding: 2vw;
       
}

.lightbox-content::-webkit-scrollbar {
    width: 10px;
}

/* 網頁捲軸【背景】顏色 */
.lightbox-content::-webkit-scrollbar-track {
    background: #fff;
}

/* 網頁捲軸【把手】顏色 */
.lightbox-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #da5b68 !important;
}
    .noteTitle {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-bottom: 1vw;
    }
    .noteTitle::before,
    .noteTitle::after {
      content: "";
      width: 3vw;
      height: 1vw;
      background: url(../images/noteIcon.png) no-repeat center/contain;
      display: inline-block;
      margin: 0 1vw;
    }

    .noteTitle::after {
      transform: scaleX(-1);
    }
    
    .noteTitle span {
      color: #da5b68;
      font-weight: bold;
      font-size: 1.3vw;
      font-family: 'Noto Serif JP', serif;
    }
    .noteContent {
      height: calc(100% - 40px);
      overflow-y: auto;
      padding: 1vw 1.5vw 1vw 0;
      box-sizing: border-box;
      font-size: .8vw;
      line-height: 1.5;
      color: #3d3c3c;
    }

    .noteContent span{
color: #da5b68;
    
    }
    
    .noteContent a{
color: #da5b68;
text-decoration: none;
font-weight: 400;
    }

    .noteContent ul {
      padding-left: 1.5vw;
    }

    ul li::marker {
  font-size: .6vw; /* 放大點的大小 */
  /* color: red; */
}

h4 {
     color: #18318c;
   font-weight: 500;
    margin: 1vw 0 -.8vw 0;
    }
    .list {
      padding-left: 0;
      list-style: none;
    }
    .list li {
      position: relative;
      padding-left: .4vw;
      /* margin-bottom: 1vw; */
    }
    .list li::before {
      content: "";
      position: absolute;
      left: -1vw;
      top: .2vw;
      width: 1vw;
      height: 1vw;
      background: url(../images/noteIcon2.png) no-repeat center/contain;
    }

   #lightboxError {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../images/errorBg.png) no-repeat;
    background-size: 100% auto;
    width: 45vw;
    height: 16vw;
    /*position: relative;
    top: 2vw;*/
    padding: 2vw;
       display: flex;
  justify-content: start;
  align-items: center;
}

.errorP h2{
  font-family: 'Noto Serif JP', serif;
  color: #18318c;
  font-size: 4vw;
  line-height: 0vw;
  margin: 2vw 0 3vw 0;
  }

  

.errorP p{
font-weight: 400;
line-height: 1.5vw;
}
