@charset "utf-8";
/* CSS Document */


body {
  margin: 0;
}



article,
aside,
footer,
header,
nav,
section {
  display: block;
}


h1 {
  font-size: 2em;
  margin: 0.67em 0;
}


figcaption,
figure,
main { /* 1 */
  display: block;
}


figure {
  margin: 1em 40px;
}



hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}



pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}


a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}


abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}



b,
strong {
  font-weight: inherit;
}



b,
strong {
  font-weight: bolder;
}



code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}



dfn {
  font-style: italic;
}



mark {
  background-color: #ff0;
  color: #000;
}



small {
  font-size: 80%;
}



sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}


audio,
video {
  display: inline-block;
}


audio:not([controls]) {
  display: none;
  height: 0;
}
img {
  border-style: none;
}
svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}



legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}

/* Add reset */
*{
  position: relative;
  box-sizing: border-box;
}






/* heading */
h1,h2,h3,h4,h5,h6{
  margin: 0;
  color: #484848;
}


@media (max-width: 768px){
  .subtitle{
    font-size: 40px;
  }
}
/* link */
a{
  color: #484848;
  text-decoration: none;
}
a:hover,
a:active,
a:fucus{
  color: #484848;
  text-decoration: none;
}
/* list */
ul{
  list-style: none;
  margin: 0;
  padding: 0;
	
}
body {
	background: url(../images/bg.jpg) top center;
   font-family: 'Noto Serif TC', 'Times New Roman', serif;
    margin: 0;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    font-size: 100%;
    min-height: 100vh;
}
.body-by {
	background: url(../images/homedec.png) left bottom no-repeat;
	background-size: 120%;
	   width: 100%;
    font-size: 100%;
    min-height: 100vh;
}

.b-box{
	width: 50%;
	float: left;
	position: absolute;
	left: 50%;
	top: 50%;
	padding: 80px;
	transform: translateX(-50%) translateY(-50%);
	box-shadow: 10px 10px 25px rgba(4,11,32,.3);
}
.b-box .titleBox{
text-align: center;
padding-bottom: 50px;
position: relative;
}

.b-box .titleBox h1{
font-family: 'Noto Serif TC', serif;

}

.or{
position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    left: 50%;
    z-index: 2;
    text-align: center;
    line-height: 30px;
    border-radius: 25px;
    background-color: #dea15f;
 transform: translateX(-50%);

}
.b-box .titleBox:before {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 200px;
    height: 150px;
    background: url(../images/unnamed.svg) center center no-repeat;
    background-size: 100%;
}
  input[type="text"]{
	width: 50%;
	padding: 15px;
	border:1px solid #7d7d7d;
	outline:none;
	font-size: 1.5em;
	margin-bottom:30px;
	border-radius: 30px;
	float: left;
	text-align: center;
}
  input[type="password"]{
	width: 50%;
	padding: 15px;
	border:1px solid #7d7d7d;
	outline:none;
	font-size: 1.5em;
	margin-bottom:30px;
	border-radius: 30px;
	float: left;
	text-align: center;
}
input[type="submit"] {
    background: #29221a;
    padding: 20px 0;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    outline: none;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    width: 100%;
    border: none;
    margin-top: 25px;
    border-radius: 30px;
    background: #dea15f;
	text-transform:uppercase;
}
.form-check {
    position: relative;
    text-align: left;
		    float: left;
}
@media (max-width: 1024px){
.b-box{
	width: 70%;
}
}
@media (max-width: 768px){
.b-box{
	width: 80%;
	    padding: 40px;
}
input[type="text"] {
    width: 100%;
   
}
}
@media (max-width: 420px){
.b-box{
	width: 90%;
	padding: 50px 20px;
}
}



.b-box2{
	width: 80%;
	float: left;
	position: absolute;
	left: 50%;
	top: 50%;
	padding: 50px 80px 30px;
	transform: translateX(-50%) translateY(-50%);
	box-shadow: 10px 10px 25px rgba(4,11,32,.3);
}

.b-box2 h1{
    text-align: center;
    padding-bottom: 50px;
    position: relative;
    font-size: 2.2em;
}

/* 主要按鈕 */
 .mainBtn{ margin-bottom: 1.375rem; }
 .mainBtn .item{
	 width: calc(33.333% - 10px);
	 margin: 5px;
	 background: #ba9e56 url(../images/bg_mainBtn_01.jpg);
	 padding: 15px;
	 display: -webkit-box;
	 display: -ms-flexbox;
	 display: flex;
	 -ms-flex-wrap: wrap;
	 flex-wrap: wrap;
}

 .mainBtn .item a{
	 display: table-cell;
	 vertical-align: middle;
	 border: 2px solid rgba(255,255,255,0.5);
	 width: 100%;
	 padding: 20px 20px;
	 
}
 .mainBtn .item a:hover{
	     box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.1);
    background-color: #25252540;
	 border: 2px solid rgba(255,255,255,1); 
	
}
.mainBtn .img{width: 80px;height: 80px; margin-right: 20px;}
.mainBtn .img img{width: 100%;}
.mainBtn .title{ 
	font-size:1.6em;
	color: #fff;
	font-family: 'Concert One', cursive;
    font-family: 'Noto Serif TC', serif;}
.mainBtn .item .inner {
    text-align: center;
}
.mainBtn .item .inner > div {
    display: inline-block;
    vertical-align: middle;
}