@charset "utf-8";

/* CSS Document */
body {
    margin: 0;
    padding: 0;
    background: url(../images/bg_all.png) repeat-y right fixed;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: "微軟正黑體", Microsoft JhengHei, "新細明體", "PMingLiU", "標楷體", DFKai-SB, sans-serif;

}

@media only screen and (min-width: 1025px) {
    #outside_border {
        background: rgba(255, 255, 255, 0);
    }

    .content {
        width: 85%;
        display: block;
        position: relative;
        margin: 0 auto;
        padding-top: 5%;
    }

    .title {
        width: 100%;
        display: block;
        position: relative;
        margin: 0 auto;
        text-align: center;
    }

    .title img {
        width: 25%;
        display: block;
        float: none;
        margin: 0 auto;
    }

    .form {
        width: 60%;
        display: block;
        position: relative;
        margin: 0 auto;
        padding-top: 2%;
        padding-bottom: 5%;
    }


    .btn_columns {
        width: 100%;
        display: block;
        text-align: center;
        margin-top: 1em;
    }

    dl.list-horizontal {
        display: -webkit-flex;
        display: flex;
        flex-flow: row wrap;
    }

    dl.list-horizontal>* {
        padding: 0.5em 0;
    }

    dl.list-horizontal>dt {
        display: inline-block;
    }

    dt {
        position: relative;
        font-size: 18px;
        font-weight: bold;
        margin-top: 1.5em;
    }

    dd {
        position: relative;
        font-size: 18px;
        line-height: 2em;
    }

    dl, dd {
        margin: 0;
        padding: 0;
    }

    dd.required {
        font-size: 18px;
        display: block;


    }

    dd.required::before {
        content: "*";
        color: #F00;
        position: absolute;
        left: -1em;
        top: 0.7em;
    }

    dl.list-horizontal>dd {
        width: 100%;

    }

    dd a {
        font-size: 18px;
        color: #0572c5;
        text-decoration-line: underline;
    }

    .p {
        font-size: 14px;
        color: #ee1818;
        display: inline-block;
        margin-top: 3px;
    }

    .webside a {
        font-size: 18px;
        color: #0572c5;
        display: inline-block;
        text-decoration-line: underline;
        margin-left: 1em;
    }

    .btn_block {
        display: inline-block;
        text-align: center;
    }

    .btn_block a {
        text-decoration-line: none;
    }

    .button--size {
        font-size: 18px;
    }


    #footer {
        width: 100%;
        display: block;
        position: relative;
        margin: 0 auto;
        text-align: center;
        background-color: #302f2f;
    }

    .copyright {
        margin: 0 auto;
        text-align: center;
        font-size: 14px;
        color: #ffffff;
        padding: 10px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    #outside_border {
        background: rgba(255, 255, 255, 0);
    }

    .content {
        width: 80%;
        display: block;
        position: relative;
        margin: 0 auto;
        padding-top: 5%;
    }

    .title {
        width: 100%;
        display: block;
        position: relative;
        margin: 0 auto;
        text-align: center;

    }

    .title img {
        width: 23%;
        display: block;
        float: none;
        margin: 0 auto;
    }

    .form {
        width: 90%;
        display: block;
        position: relative;
        margin: 0 auto;
        padding-top: 2%;
        padding-bottom: 5%;
    }


    .btn_columns {
        width: 100%;
        display: block;
        text-align: center;
        margin-top: 1em;
    }

    dl.list-horizontal {
        display: -webkit-flex;
        display: flex;
        flex-flow: row wrap;
    }

    dl.list-horizontal>* {
        padding: 0.5em 0;
    }

    dl.list-horizontal>dt {
        display: inline-block;
    }

    dt {
        position: relative;
        font-size: 16px;
        font-weight: bold;
        margin-top: 1.2em;
    }

    dd {
        position: relative;
        font-size: 16px;
        line-height: 2em;
    }

    dl, dd {
        margin: 0;
        padding: 0;
    }

    dd.required {
        font-size: 16px;
        /*display: inline-block;*/
    }

    dd.required::before {
        content: "*";
        color: #F00;
        position: absolute;
        left: -1em;
        top: 0.7em;
    }

    dl.list-horizontal>dd {
        width: 100%;
    }

    dd a {
        font-size: 16px;
        color: #0572c5;
        text-decoration-line: underline;
    }

    .p {
        font-size: 14px;
        color: #ee1818;
        display: inline-block;
        margin-top: 3px;
    }

    .webside a {
        font-size: 16px;
        color: #0572c5;
        display: inline-block;
        text-decoration-line: underline;
        margin-left: 1em;
    }


    .btn_block {
        display: inline-block;
        text-align: center;
    }

    .btn_block a {
        text-decoration-line: none;
    }

    .button--size {
        font-size: 16px;
    }

    #footer {
        width: 100%;
        display: block;
        position: relative;
        margin: 0 auto;
        text-align: center;
        background-color: #302f2f;
    }

    .copyright {
        margin: 0 auto;
        text-align: center;
        font-size: 14px;
        color: #ffffff;
        padding: 10px;
    }

}

@media only screen and (max-width: 767px) {
    #outside_border {
        background: rgba(255, 255, 255, 0.7);
    }

    .content {
        width: 90%;
        display: block;
        position: relative;
        margin: 0 auto;
        padding-top: 8%;
        padding-top: constant(safe-area-inset-top);
        padding-top: env(safe-area-inset-top);
    }

    .title {
        width: 100%;
        display: block;
        position: relative;
        margin: 0 auto;
        text-align: center;

    }

    .title img {
        width: 45%;
        display: block;
        float: none;
        margin: 0 auto;
    }

    .form {
        width: 90%;
        display: block;
        position: relative;
        margin: 0 auto;
        padding-top: 2%;
        padding-bottom: 5%;
    }


    .btn_columns {
        width: 100%;
        display: block;
        text-align: center;
        margin-top: 1em;
    }

    dl.list-horizontal {
        display: -webkit-flex;
        display: flex;
        flex-flow: row wrap;
    }

    dl.list-horizontal>* {
        padding: 0.5em 0;
    }

    dl.list-horizontal>dt {
        display: inline-block;
    }

    dt {
        position: relative;
        font-size: 16px;
        font-weight: bold;
        margin-top: 1em;
    }

    dd {
        position: relative;
        font-size: 16px;
        line-height: 2em;
    }

    dl, dd {
        margin: 0;
        padding: 0;
    }

    dd.required {
        font-size: 16px;
        /*display: inline-block;*/

    }

    dd.required::before {
        content: "*";
        color: #F00;
        position: absolute;
        left: -1em;
        top: 0.7em;
    }

    dl.list-horizontal>dd {
        width: 100%;
    }

    dd a {
        font-size: 16px;
        color: #0572c5;
        text-decoration-line: underline;
    }

    .p {
        font-size: 14px;
        color: #ee1818;
        display: inline-block;
        margin-top: 3px;
    }

    .webside a {
        font-size: 16px;
        color: #0572c5;
        display: inline-block;
        text-decoration-line: underline;
        margin-left: 1em;
    }


    .btn_block {
        display: inline-block;
        text-align: center;
    }

    .btn_block a {
        text-decoration-line: none;
    }

    .button--size {
        font-size: 16px;
    }


    #footer {
        width: 100%;
        display: block;
        position: relative;
        margin: 0 auto;
        text-align: center;
        background-color: #302f2f;
    }

    .copyright {
        margin: 0 auto;
        text-align: center;
        font-size: 14px;
        color: #ffffff;
        padding: 10px;
    }
}