﻿.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 93px;
    background-color: #fef3e7;
    min-height: calc(100vh - 93px);
}
.index-banner-all-box{
    width: 1360px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    position: relative;
    padding-top: 80px;
}
.index-banner-menu-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    display: flex;
    display: -webkit-flex;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: space-between;
    -webkit-justify-content: space-around;
    flex-direction: row;
}
.index-banner-menu{
    /* width: 200px; */
    display: inline-block;
    vertical-align: top;
}
.index-grey-area .index-banner-menu-main-taxt{
    color: rgba(137, 137, 137, 0.5);
}
.index-grey-area .index-banner-menu-sec-text{
    color: #898989;
}
.index-grey-area .index-banner-menu-main-icon{
    opacity: 0.3;
}
.index-grey-area .index-banner-menu-sec-box{
    opacity: 0.3;
}
.index-banner-menu-main-box{
    width: 60px;
    display: inline-block;
    vertical-align: top;
    background-color: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 5px;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.1);
}
.index-banner-menu-main-taxt{
    width: 100%;
    height: 230px;
    background-color: #fff;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    font-size: 28px;
    letter-spacing: 0.3em;
    /* font-weight: 700; */
    color: #000;
    font-family: 'Noto Sans TC';
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    text-align: center;
}
.index-banner-menu-sec-box{
    max-width: 140px;
    box-sizing: border-box;
    padding: 0 10px;
    padding-top: 55px;
    vertical-align: top;
    display: inline-flex;
    display: -webkit-inline-flex;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.index-banner-menu-sec{
    width: 25px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 17px;
}
.index-banner-menu-sec:nth-child(n + 3){
    margin-top: 20px;
}
.index-banner-menu-sec-text{
    width: 100%;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    font-size: 22px;
    margin-top: 10px;
    line-height: 24px;
    /* letter-spacing: 0.06em; */
    color: #000;
    font-family: 'Noto Sans TC';
    text-align: center;
}
.index-banner-bottom{
    text-align: center;
    position: relative;
    margin-top: calc(100vh - 93px - 338px - 80px - 286px);
}
.index-banner-bottom-mainImg{
    width: 560px;
    display: inline-block;
}
.index-banner-bottom-text-box{
    position: absolute;
    right: 2%;
    top: -30%;
    width: 300px;
    background-color: #fff;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    box-sizing: border-box;
    padding: 30px 20px;
    text-align: right;
}
.index-banner-bottom-text-box > span{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: -40px;
    bottom: -40px;
}
.index-banner-bottom-text-box > span::before{
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    right: -30px;
    top: -30px;
}
.index-banner-bottom-text-box > span::after{
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: -15px;
    bottom: -15px;
}
.index-banner-bottom-text-box p{
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 30px;
    color: #000;
    font-family: 'Noto Sans TC';
    text-align: left;
}
.index-banner-bottom-text-box a{
    position: relative;
    cursor: pointer;
}
.index-banner-bottom-text-box a>span{
    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 30px;
    color: #000;
    font-family: 'Noto Sans TC';
    display: inline-block;
    position: relative;
    z-index: 1;
}
.index-banner-bottom-text-box a::after{
    content: '';
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #f8b62d;
    display: block;
    transition: all .3s linear;
}
.index-banner-bottom-text-box a::before{
    content: '\f061';
    font-size: 22px;
    font-family: 'font awesome 5 free';
    font-weight: 700;
    position: absolute;
    right: 10px;
    bottom: -26px;
    opacity: 0;
    pointer-events: none;
    color: #f8b62d;
}
.index-banner-bottom-hi{
    position: absolute;
    top: 25%;
    left: 13%;
    transform-origin: left;
    transform: rotateZ(-45deg);
}
.index-banner-bottom-hi p{
    font-size: 80px;
    color: #000;
    letter-spacing: 0.06em;
    font-family: 'roboto';
    font-weight: 700;
}

.index-banner-bottom-mainImg-female,
.index-banner-bottom-mainImg-male{
    width: 50%;
    display: inline-block;
    vertical-align: bottom;
    position: relative;
}
.index-banner-bottom-mainImg-female-head,
.index-banner-bottom-mainImg-male-head{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.index-banner-bottom-mainImg-female-hand,
.index-banner-bottom-mainImg-male-hand{
    position: absolute;
    top: 0;
    left: 0;
}
.index-banner-bottom-mainImg-female-head{
    animation: female-head 5s linear infinite 0s;
    transform-origin: 50% 85%;
}
.index-banner-bottom-mainImg-female-hand{
    animation: female-hand 2s linear infinite 0s;
    transform-origin: 40% 85%;
}
.index-banner-bottom-mainImg-male-head{
    animation: female-head 6s linear infinite 0s;
    transform-origin: 50% 85%;
}
.index-banner-bottom-mainImg-male-hand{
    animation: male-hand 2.2s linear infinite 0s;
    transform-origin: 60% 85%;
}

@keyframes female-head {
    0%{
        transform: rotateZ(0deg);
    }
    25% {
        transform: rotateZ(3deg);
    }
    50% {
        transform: rotateZ(0deg);
    }
    75% {
        transform: rotateZ(-3deg);
    }
    to {
        transform: rotateZ(0deg);
    }
}
@keyframes female-hand {
    0%{
        transform: rotateZ(0deg);
    }
    25% {
        transform: rotateZ(10deg);
    }
    50% {
        transform: rotateZ(0deg);
    }
    75% {
        transform: rotateZ(-10deg);
    }
    to {
        transform: rotateZ(0deg);
    }
}
@keyframes male-hand {
    0%{
        transform: rotateZ(0deg);
    }
    25% {
        transform: rotateZ(10deg);
    }
    50% {
        transform: rotateZ(0deg);
    }
    75% {
        transform: rotateZ(-8deg);
    }
    to {
        transform: rotateZ(0deg);
    }
}
.index-banner-bottom-hi p{
    animation: hi-rr 1s ease infinite 0s;
    transform-origin: bottom;
}
@keyframes hi-rr {
    0%{
        transform: translateY(0);
    }
    25%{
        transform: translateY(0);
    }
    40% {
        transform: translateY(3%) ;
    }
    55% {
        transform: translateY(0);
    }
    70% {
        transform: translateY(3%);
    }
    85% {
        transform: translateY(0);
    }
    to {
        transform: translateY(0);
    }
}


.index-banner-fancybox-article p{
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 30px;
    color: #000;
    font-family: 'Noto Sans TC';
    text-align: left;
}
.index-banner-fancybox-article-a{
    display: block;
    text-align: right;
    margin-top: 40px;
    position: relative;
}
.index-banner-fancybox-article-a a{
    position: relative;
    cursor: pointer;
}
.index-banner-fancybox-article-a a>span{
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 30px;
    color: #000;
    font-family: 'Noto Sans TC';
    display: inline-block;
    position: relative;
    z-index: 1;
}
.index-banner-fancybox-article-a a::after{
    content: '';
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #f8b62d;
    display: block;
    transition: all .3s linear;
}
#index .fancybox-mask-box{
    background-color: rgba(0,0,0,0.7);
}
.index-banner-fancybox-article-a>p{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 55px;
}

@media only screen and (max-width: 1360px){
    .index-banner-all-box{
        width: 1200px;
    }
    .index-banner-bottom-text-box > span{
        left: calc(-22%);
        bottom: initial;
        top: 100%;
    }
    .index-banner-bottom-text-box{
        right: 0;
        width: 250px;
    }
    @media only screen and (max-height: 850px){
        .index-banner-bottom-text-box{
            top: -10%;
        }
        .index-banner-bottom-text-box > span{
            top: 40%;
            transform: rotateZ(0deg);
        }
    }
    @media only screen and (max-height: 800px){
        .index-banner-bottom{
            margin-top: 20px;
        }
    }
}
@media only screen and (max-width: 1200px){
    .index-banner-all-box{
        width: 1000px;
    }
    .index-banner-bottom-mainImg{
        width: 410px;
    }
    .index-banner-bottom{
        margin-top: calc(100vh - 93px - 338px - 80px - 210px);
    }
    .index-banner-bottom-hi{
        left: 17%;
    }
    .index-banner-bottom-hi p{
        font-size: 60px;
    }
    .index-banner-bottom-text-box{
        top: -20%;
    }
    .index-banner-bottom-text-box{
        border-radius: 30px;
        padding: 20px 15px;
    }
    .index-banner-bottom-text-box p{
        font-size: 16px;
        line-height: 28px;
    }
    .index-banner-bottom-text-box > span{
        left: calc(-18%);
        width: 10px;
        height: 10px;
        top: 70%;
    }
    .index-banner-bottom-text-box > span::before{
        width: 20px;
        height: 20px;
        right: -23px;
        top: -23px;
    }
    .index-banner-bottom-text-box > span::after{
        opacity: 0;
    }
    @media only screen and (max-height: 800px){
        .index-banner-bottom{
            margin-top: 20px;
        }
    }
}
@media only screen and (max-width: 1000px){
    .index-banner-box{
        padding-top: 66px;
        min-height: calc(100vh - 66px);
    }
    .index-banner-all-box{
        padding-top: 60px;
    }
    .index-banner-menu-box{
        width: 750px;
    }
    .index-banner-menu-main-box{
        width: 50px;
    }
    .index-banner-menu-sec-box {
        max-width: 100px;
        padding: 0 5px;
        padding-top: 45px;
    }
    .index-banner-menu-sec{
        margin: 0 10px;    
    }

    
    .index-banner-all-box{
        width: 750px;
    }
    .index-banner-bottom{
        margin-top: 120px;
    }
    .index-banner-bottom-hi {
        left: 12%;
    }
    .index-banner-bottom-text-box{
        width: 160px;
        top: inherit;
        bottom: 10%;
        border-radius: 20px;
        padding: 10px 10px;
        padding-bottom: 20px;
    }
    .index-banner-bottom-text-box > span{
        left: calc(-18%);
        width: 10px;
        height: 10px;
        top: 70%;
        opacity: 0;
    }
}
@media only screen and (max-width: 768px){
    .index-banner-all-box{
        padding-top: 40px;
    }
    .index-banner-menu-box{
        width: 95%;
        flex-direction: column;
    }
    .index-banner-menu{
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
    .index-banner-menu-main-box{
        width: 100%;
        display: block;
    }
    .index-banner-menu-main-icon{
        width: 50px;
        display: inline-block;
        vertical-align: middle;
    }
    .index-banner-menu-main-taxt{
        width: calc(100% - 50px);
        height: inherit;
        -webkit-writing-mode: initial;
        writing-mode: initial;
        display: inline-flex;
        display: -webkit-inline-flex;
        vertical-align: middle;
    }
    .index-banner-menu-sec-box{
        width: 100%;
        max-width: initial;
        display: block;
        padding: 15px 0;
        padding-left: 45px;
    }
    .index-banner-menu-sec{
        width: 50%;
        margin: 0;
    }
    .index-banner-menu-sec-icon{
        width: 25px;
        display: inline-block;
        vertical-align: top;
    }
    .index-banner-menu-sec-text{
        width: calc(100% - 50px);
        display: inline-block;
        vertical-align: top;
        text-align: left;
        margin-top: 0;
        margin-left: 5px;
    }

    
    .index-banner-all-box{
        width: 95%;
    }
    .index-banner-bottom-hi{
        display: none;
    }
    .index-banner-bottom-mainImg{
        width: 100%;
        margin-top: 40px;
    }
    .index-banner-bottom-mainImg-female{
        display: none;
    }
    .index-banner-bottom-mainImg-male{
        width: 100%;
    }
    .index-banner-bottom-mainImg-male-head{
        position: static;
        animation: none;
    }
    .index-banner-bottom-mainImg-male-hand,
    .index-banner-bottom-mainImg-male-body{
        display: none;
    }
    .index-banner-bottom{
        display:         flex;
        display: -webkit-flex;
        align-items: center;
        -webkit-align-items: center;
        justify-content: center;
        -webkit-justify-content: center;
        flex-direction: column-reverse;
        margin-top: 20px;
    }
    .index-banner-bottom-text-box{
        position: relative;
        width: 100%;
        top: initial;
        bottom: initial;
    }
    .index-banner-bottom-text-box > span{
        opacity: 1;
        top: 140%;
        left: initial;
        right: calc((100% - 286px) / 2  - 40px);
        width: 20px;
        height: 20px;
    }
    .index-banner-bottom-text-box > span::before{
        width: 30px;
        height: 30px;
        right: -30px;
        top: -30px;
    }
    .index-banner-bottom-text-box > span::after{
        opacity: 1;
    }
}
@media only screen and (max-width: 550px){
    .index-banner-box{
        padding-top: 56px;
        min-height: calc(100vh - 56px);
    }
    .index-banner-all-box{
        padding-top: 20px;
    }
    .index-banner-menu-main-icon{
        width: 40px;
    }
    .index-banner-menu-main-taxt {
        width: calc(100% - 40px);
        font-size: 20px;
        letter-spacing: 0.1em;
    }
    .index-banner-menu-sec-box{
        padding: 10px 0;
    }
    .index-banner-menu-sec:nth-child(n){
        width: 100%;
        margin-top: 10px;
        padding-left: 35px;
    }
    .index-banner-menu-sec:first-child{
        margin-top: 0;
    }
    .index-banner-menu{
        margin-bottom: 10px;
    }
    .index-banner-menu-sec-text{
        font-size: 18px;
    }
    
    .index-banner-bottom-mainImg{
        width: 200px;
        margin-top: 20px;
    }
    .index-banner-bottom-text-box > span{
        right: calc((100% - 100px) / 2 - 40px);
        top: calc(100% + 40px);
        width: 10px;
        height: 10px;
    }
    .index-banner-bottom-text-box > span::before{
        width: 20px;
        height: 20px;
        right: -23px;
        top: -23px;
    }
    .index-banner-bottom-text-box > span::after{
        opacity: 0;
    }
    .index-banner-bottom-text-box p {
        font-size: 14px;
        line-height: 22px;
    }

}

.index-banner-bottom-text-box a:hover::after{
    bottom: -15px;
}
.index-banner-bottom-text-box a:hover::before{
    right: -1px;
    bottom: -31px;
    opacity: 1;
    transition: all .3s linear;
    transition-delay: .1s;
}


