﻿.index-city-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 100px 0;
}
.index-city-all-box{
    width: 97.396vw;
    max-width: 100%;
    display: block;
    margin-right: auto;
    font-size: 0;
    box-sizing: border-box;
}
.index-city-title-box{
    width: 180px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin-left: 40px;
    position: relative;
    z-index: 1;
}
.index-city-title-box .index-super-title{
    width: 100%;
    padding: 30px 28px;
}
.index-city-title-box .index-super-title::before{
    width: 100%;
}
.index-city-title-box .index-super-title::after{
    width: 100%;
}
.index-city-title-box .index-super-title p{
    text-align: left;
    display: block;
}
.index-city-title-box .index-super-title span{
    text-align: right;
    display: block;
    margin-top: 20px;
}
.index-city-bg{
    width: calc((1600 / 1920) * 100vw);
    height: calc((260 / 1600) * ((1600 / 1920) * 100vw));
    background-color: #ffc90c;
    display: block;
    position: absolute;
    bottom: 45px;
    left: 0;
}
.index-city-info-box{
    width: calc(100% - 220px);
    display: inline-block;
    vertical-align: top;
    position: relative;
    z-index: 1;
}
.index-city-info{
    width: 410px;
    display: inline-block;
    vertical-align: top;
    margin-right: 45px;
}
.index-city-info-list{
    display: block;
    position: relative;
    left: -125px;
    outline: none;
}
.index-city-info-img{
    width: 100%;
    height: 380px;
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all .3s linear;
}
.index-city-info-headshot-mask{
    width: 100%;
    height: 100%;
    display: block;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,1+100 */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
    position: absolute;
    top: 0;
    left: 0;
}
.index-city-info-text-box{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 20px 25px;
    display:         flex;
    display: -webkit-flex;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
}
.index-city-info-name{
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0.06em;
    font-family: 'Noto Sans TC';
    font-weight: 700;
    color: #fff;
}
.index-city-info-text{
    margin-top: 15px;
}
.index-city-info-text a{
    min-width: 100px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    line-height: 36px;
    font-size: 14px;
    color: #fff;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    letter-spacing: 0.06em;
    margin-right: 10px;
    transition: all .3s linear;
}




@media only screen and (max-width: 1620px){
    .index-city-bg {
        width: calc((1200 / 1620) * 100vw);
        height: calc((260 / 1600) * ((1600 / 1920) * 100vw));
    }
}
@media only screen and (max-width: 1000px){
    .index-city-box{
        padding: 60px 0;
    }
    .index-city-info{
        width: 330px;
        margin-right: 15px;
    }
    .index-city-info-img{
        height: calc((380 / 410) * 330px);
    }
    .index-city-info-text-box{
        padding: 10px 15px;
    }
    .index-city-info-text a {
        min-width: 80px;
        padding: 0 5px;
    }
    .index-city-info-text a:nth-child(3n){
        margin-right: 0;
    }
    .index-city-info-text a:nth-child(n + 4){
        margin-top: 10px;
    }
    .index-city-bg {
        width: calc((600 / 1000) * 100vw);
        height: calc((400 / 1600) * ((1600 / 1920) * 100vw));
    }
}
@media only screen and (max-width: 768px){
    .index-city-box{
        padding: 40px 0;
    }
    .index-city-all-box{
        width: 550px;
        margin: 0 auto;
        display:         flex;
        display: -webkit-flex;
        flex-direction: column-reverse;
    }
    .index-city-title-box{
        width: 100%;
        display: block;
        margin-left: 0;
    }
    .index-city-title-box .index-super-title{
        width: initial;
        padding: 26px 30px;
    }
    .index-city-title-box .index-super-title::before{
        width: 30px;
    }
    .index-city-title-box .index-super-title::after{
        width: 30px;
    }
    .index-city-title-box .index-super-title p {
        display: inline-block;
        vertical-align: bottom;
    }
    .index-city-title-box .index-super-title span {
        display: inline-block;
        vertical-align: bottom;
    }
    .index-city-info-box{
        width: 100%;
        display: block;
        margin-top: 30px;
    }
    .index-city-info-list{
        left: 0;
    }
    .index-city-bg{
        display: none;
    }
    .index-city-info{
        width: 400px;
        margin-right: 20px;
    }
    .index-city-info-img{
        height: calc((380 / 410) * 400px);
    }
}
@media only screen and (max-width: 550px){
    .index-city-box{
        padding: 20px 0;
    }
    .index-city-all-box{
        width: 95vw;
    }
    .index-city-title-box .index-super-title{
        padding: 11px 15px;
    }
    .index-city-title-box .index-super-title::before{
        width: 15px;
    }
    .index-city-title-box .index-super-title::after{
        width: 15px;
    }
    .index-city-info-box{
        margin-top: 20px;
    }
    .index-city-info{
        width: calc(95vw - 60px);
        margin-right: 10px;
    }
    .index-city-info-img{
        height: calc((380 / 410) * (95vw - 60px));
    }
}
@media only screen and (max-width: 400px){
    .index-city-info-text-box{
        padding: 5px 10px;
    }
    .index-city-info-name{
        font-size: 18px;
        line-height: 22px;
    }
    .index-city-info-text{
        margin-top: 10px;
    }
    .index-city-info-text a{
        min-width: 60px;
        line-height: 26px;
        font-size: 12px;
        margin-right: 5px;
    }
}
@media only screen and (max-width: 330px){
    .index-city-info-text-box{
        padding: 5px;
    }
    .index-city-info-text a:nth-child(n){
        min-width: calc((100% - 5px) / 2);
        margin-right: 5px;
    }
    .index-city-info-text a:nth-child(2n){
        margin-right: 0;
    }
    .index-city-info-text a:nth-child(n + 3){
        margin-top: 5px;
    }
}




@media only screen and (min-width: 769px){
    .index-city-info-list:hover .index-news-info-headshot-mask{
        opacity: 1;
    }
    .index-city-info-list:hover .main-bg{
        transform: scale(1.1);
    }
    .index-city-info-text a:hover{
        background-color: #ffc90c;
        border-color: #ffc90c;
        color: #000;
    }

    
    .index-city-info-box,
    .index-city-bg{
        opacity: 0;
    }
    .index-city-box.anima .index-super-title{
        animation: indexSuperScale 1s ease 0s 1 both;
    }
    .index-city-box.anima .index-city-info-box{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .index-city-box.anima .index-city-bg{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
}