* {
    margin: 0px;
    padding: 0px;
    /* border: 1px solid black; */
    box-sizing: border-box;
    font-family: '微軟正黑體', 'sans-serif';
    letter-spacing: 2px;
    line-height: 1.3em;
}

html {
     scroll-behavior: smooth;
   }

body {
    background-color: #FEEBF1;
}

a {
    text-decoration: none;
}

.contain {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

header {
    width: 100%;
    background-color: #F34999;
    color: white;
    /* padding: 8px 0px;   */
}

.head-m-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

.head-nav {
    max-width: 200px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.head-nav div {
    padding: 10px 0px;
    font-size: 1.1em;
    font-weight: 900;
    /* border-bottom: 1px solid white; */
}

.head-w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0px;
}

.head-w div {
    align-items: center;
}

.head-btn {
    padding: 0px 20px;
    font-size: 1.1em;
    font-weight: 900;
}

.head-btn img {
    padding: 0px 10px;
}

.signup-btn {
    background-color: #5439AB;
    border-radius: 50px;
    padding: 6px 20px;
    margin-right: 10px;
    color: white;
}

.signup-btn:hover {
    background-color: #FBC11B;
}

.banner {
    background-image: url(../images/banner-bg.jpg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-main {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.banner-img {
    position: absolute;
    bottom: 20px;
    z-index: 10;
    animation: floatY 2.8s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatY {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes nodCute {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-3deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

img[src*="yoyogirl"]{
  transform-origin: bottom center;
  animation: nodCute 4s ease-in-out infinite;
  will-change: transform;
}

img[src*="yoyoman"]{
  transform-origin: bottom center;
  animation: nodCute 4s ease-in-out infinite;
  animation-delay: 1.3s;
  will-change: transform;
}

.main-contain {
    background-color: #FEEBF1;
    width: 100vw;
    /* margin-top: -20px; */
}

.main-contain ul {
    list-style-image: url(../images/icon-ul.png);
    font-size: 1.2em;
    font-weight: 600;
    padding-left: 30px;
}

ul li {
    line-height: 1.5;
    margin-bottom: 20px;
}

.title-bg {
    background-color: #FEF5F8;
    border-radius: 10px;
    width: 100%;
    padding: 30px;
}

.title-img {
    display: grid;
    grid-template-columns: 1fr;
    width: 157px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 0px;
}

.menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.menu.open {
    max-height: 600px;
    /* 必須給一個最大值 */
}

.menu-btn {
    width: 32px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

/* 三條線的位置 */
.menu-btn span:nth-child(1) {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 10px;
}

.menu-btn span:nth-child(3) {
    top: 20px;
}

/* 開啟狀態：集中到中間再旋轉 */
.menu-btn.open span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.menu-btn.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

#header-w {
    display: flex;
}

#header-m {
    display: none;
}

#banner-w {
    display: contents;
}

#banner-m {
    display: none;
}

#banner-m img {
    width: 100vw;
}

#join-form {
    background-color: #F34999; 
    padding: 1%;
    font-size: 1.2em;
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
}

.gray-bg {
	background-color: #eee;
}

.wh-bg {
	background-color: #fff;
}

#join-form table tr td {
	padding: 5px;
}

#join-form table tr td input {
	font-size: 1em;
	border: 0;
}

#join-form table tr td input {
	height: 2em;
}

.input_W {
	width: 25px;
}

.input_c {
	width: 100%;
}

.member-row{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* 窄螢幕自動換行 2x2 */
}

.member-btn{
  display: inline-block;
  width: 200px;  /* 依你的圖大小調整 */
  margin: 0;
  cursor: pointer;
}

.member-btn img{
  width: 100%;
  height: auto;
  display: block;
}

.data{
    /* background-color: #F34999;  */
    padding: 1%;
    font-size: 1.2em;
    margin: 50px auto;
    max-width: 890px;
}

#myForm{
    /* background-color: white;  */
}

.table{
    display: grid;
    grid-template-columns: 0.4fr 1fr;
}

.table1{
    border: 2px solid #FBC11B;
    margin: 8px 4px;
    padding: 8px;
    border-radius: 10px;
    background-color: white;
    text-align: center;
}

.table1 input{
    width: 100%;
    border: none;
    font-size: 1.2em;
}

.gr{
    background-color: #FBC11B;
}

.table2{
    text-align: center;
    margin: 24px 4px;
}

.next_step{
    background-color: #5439AB;
    border-radius: 100px;
    width: 200px;
    color: white;
    font-weight: 900;
    margin: 20px auto;
    padding: 16px 8px;
}

.next_step:hover{
    background-color: #FBC11B;
}

@media screen and (max-width:1080px) {

    #banner-w {
        display: none;
    }

    #banner-m {
        display: contents;
    }

    .main-contain {
        margin-top: -20px;
    }

    .title-bg {
        background-color: #FEEBF1;
    }
}

@media screen and (max-width:1280px) {

    #header-w {
        display: none;
    }

    #header-m {
        display: grid;
    }

    .banner-main img {
        width: 100%;
    }

    .banner-img {
        padding-left: 200px;
        text-align: right;
        bottom: -20px;
    }

    .banner-img img {
        width: 350px;
    }
}

@media screen and (max-width: 768px){
  img[src*="yoyogirl"],
  img[src*="yoyoman"]{
    animation-duration: 0s;
  }

  .table{
    grid-template-columns: 1fr;
}
}

