/* 基本結構 */

html {
    font-size: 16px;
}

body {
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
    margin: 0;
    background-color:#262831;
}

.section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.section > div {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.section .container {
    width: 100%;
    max-width: 767px;
    background-color: white;
    overflow: hidden;
}

img {
    width: 100%;
    height: auto;
}

:focus {
    outline: none;
}

.text-center {
    text-align: center;
}

/* 個別元素 */

.hero {
    position: relative;
    padding-bottom: 138.96%;
    background-image: url(../images/bg.jpg);
    background-size: contain;
    background-repeat: no-repeat;
}

.hero .title {
    width: 80%;
    padding-top: 37.45%;
    background-image: url(../images/title.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    right: 0;
    top: 12%;
    margin: 0 auto;
}

.hero .form-box {
    width: 68%;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 39%;
    animation-delay: 1.5s;

}

.form-box .form-title {
    width: 100%;
    padding-top: 13.71%;
    margin: 0 0 5% 0;
    background-image: url(../images/form-title.png);
    background-size: contain;
    background-repeat: no-repeat;
}

input {
    border-radius:5px;
    box-sizing: border-box;
}

input[type=text] {
    width: 44%;
    padding: 3% 4.5%;
    margin-right: 2%;
    font-size: 1.8rem;
    border: solid 3px #b3b5bd;
    font-weight: bold;
}

input[type="submit"] {
    font-size: 1.3rem;
    padding: 6.1%;
    background-color: #fdde4b;
    border: 0;
    color: #854b29;
    font-weight: bold;
    vertical-align: top;
}

.hero .go-to-fb {
    display: block;
    width: 51%;
    padding-top: 24.21%;
    background-image: url(../images/gotofb.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 17%;
    bottom: 17%;
    animation-delay: 1.8s;
}

@media screen and (min-width:550px) {

}

@media screen and (min-width:768px) {
    html {
        font-size: 27px;
    }

    input[type="submit"] {
        font-size: 0.9rem;
    }
}

@media screen and (max-width:320px) {
    html {
        font-size: 12px;
    }
}