@import url("reset.css");
* {
	outline: none !important;
}
html,body,div,span,iframe,h1,h2,h3,h4,h5,h6,p,a,form,img {
	margin: 0px;
	padding: 0px;
	border: 0px;
	outline: 0;
	font-family: "微軟正黑體","Microsoft JhengHei", Verdana, Arial, 新細明體;
}

body {
	overflow-x: hidden !important;
}
a{
	padding: 0px;
	text-decoration: none;
	outline: none; /* for Firefox */
	cursor: pointer;
	-webkit-transition: all 0.2s ease-out 0s;
	-moz-transition: all 0.2s ease-out 0s;
	-ms-transition: all 0.2s ease-out 0s;
	-o-transition: all 0.2s ease-out 0s;
	transition: all 0.2s ease-out 0s;
}
a,
a:visited,
a:focus,
a:hover,
a.active {
	outline: 0;
}
a:visited,
a:focus,
a:hover,
a.active{
	text-decoration: none;
} 
div > img {
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}
img {
	margin: 0px;
	padding: 0px;
	border: 0px;
	outline: none;
}
button {
    margin: 0px;
    padding: 0px;
    border: 0px; }
button:hover {
	outline: none; /* for Firefox */
}
ul{
	padding: 0;
	margin: 0;
	list-style: none;
  }
ul li{
	padding: 0;
	margin: 0;
	list-style: none;
}
/* top-header */
.main_content {
	position: relative;
}
header{
	width: 100%;
    position: relative;
    z-index: 2;
}
header.fixed-header {
	position: fixed;
	left: 0px;
	z-index: 10;
}
header.fixed-header .head-control {
background: transparent;
transition-duration: 0.4s;
}
header.top-header {
	background-color: #fcf9f5ef;
    height: 75px;
	padding: 0px 100px 5px 100px;
	box-shadow: 2px 2px 8px #0000004b;
	transition: 0.6s;
}
.header-mid {
	z-index: 10;
	width: 100%;
	line-height: 70px;
	padding-right: 30px;
}
.head-wrap {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	position: relative;
	display: table;
}
.logo_box {
	width: 155px;
	height: 95px;
	display: block;
	padding: 2px 3px;
	position: relative;
	background-color: #ffffff;
	box-shadow: 1px 1px 4px #00000062;
}
.logo {
	margin: 0px 0px 2px 2px;
	width: 150px;
	height: 125px;
	float: left;
	clear: both;
	position: absolute;
	display: inline-block;
}
.logo img {
	margin: auto;
	top: 95%;
}
.img-responsive{
  display: block;
  max-width: 100%;
  height: auto;
}
.right{
	float: right;
}
.icon{
	width: 15px;
    padding-bottom: 3px;
}
.header-Tel {
	margin-top: 0px;
    width: 100%;
}
.round {
    width: 60px;
    height: 62px;
    border-radius: 42px;
	display: block;
	margin: 3px 0px 5px auto;
    background-color: #2ca5dc;
}
.round img{
	display: block;
	padding: 4px;
}
.line-icon {
	width: 60px;
    height: 60px;
}
#AMC_nav ul {
	display: flex;
}
#AMC_nav ul li {
	display: inline;
}
a .line-btn {
    width: 160px;
    height: 51px;
    position: relative;
    box-shadow: 0 8px #099e47;
    border-radius: 50px;
    margin-top: -12px;
	background: #06c755;
}
a .line-btn:hover {
    box-shadow: 0 4px #00b14a;
    border-radius: 50px;
    margin-top: -6px;
}
/* END top-header */
/* Main */
main{
	position: relative;
	margin-top: -50px;
	background-image: linear-gradient( to bottom, #fff4ec 0%, #fdd8d6 100%);
}
.banner {
	width: 100%;
	height: auto;
	position:relative;
	top: 80px;
	padding-bottom: 50px;
}
header h2, .banner h1, .banner h2, .sec1 h2, .sec1 h3, .sec1_2 h3, .contact_formtitle h2{
	text-indent: -9000px;
	height: 0;
}
p {
	font-size: 1.2rem;
    line-height: 1.8;
	font-weight: 500;
}
.form_iframe{
	min-height: 360px;
}
.contact_form_iframe {
	min-height: 300px;
}
.form-block{
	margin: 30px auto 0px;
	position: relative;
	box-shadow: 0px 8px 10px 5px rgba(0, 0, 0, 0.15);
}
.form-block::before{
	content:"";
	background: url(../img/form_bg.jpg);
	width: 100%;
	height: 100%;
	position: absolute;
	background-size: cover;
	display: block;
    background-repeat: repeat-y;
	left: 0px;
  	top: 0;
	z-index: -1;
}
.team-member{
	padding: 0px 15px 12px
}
.form-block .fromtitle {
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.15;
	text-align: center;
    margin: 0px -16px 18px;
    padding: 8px 26px 15px;
    width: calc(100% + 32px);
    background-image: linear-gradient(0deg, #352206 0%, #775b30 50%, #aa926d 100%);
}
.form-block .fromtitle h2{
	font-size: 1.3rem;
	text-indent: 0px;
    line-height: 1.6;
	height: 30px!important;
}
.team-member iframe{
	width: 100%;
	height: auto;
	min-height: 20vh;
}
.bg-F {
    background-image: linear-gradient(to top, #a0c9ff 0%, #ffffff 100%);
    padding: 5% 2%;
    margin-top: 5px;
}
#page1 {
	background: url(../img/sec1_bg.jpg);
	background-size: contain;
	background-repeat: repeat;
	margin: 120px 0px 0px 0px;
    padding-bottom: 120px;
}
#page1::before{
	content: "";
	background: url(../img/start_line.png);
	background-size: contain;
    background-repeat: repeat-x;
    width: 100%;
    height: 120px;
    display: block;
    top: -120px;
    position: relative;
}
.sec1 h3{
	font-size: 1.7rem;
    line-height: 1.6;
	font-weight: bolder;
	padding-bottom: 8px;
}
.video {
	background: url(../img/television.png);
    background-size: 100% 100%;
    padding: 80px 50px 80px 50px;
    margin: 20px auto;
}
.monitor {
	position: relative;
    margin: 0 auto;
    width: 660px;
    height: 470px;
}
.monitor img {  
	width: 100%;  
	height: auto;  
	display: block;  
  }  
.monitor_txt{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    color: #141414;
    padding: 20px;
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    pointer-events: none;
    width: 80%;  
}
.monitor_txt h3 {
	
	font-size: 1.7rem;
    line-height: 1.6;
    font-weight: bolder;
    padding-bottom: 8px;
}
.avatar-object-fit{
    width: 100%;
	border-radius: 50%;
	overflow: hidden;
}
.avatar-object-fit img{
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.overlay-block {
    color: #313131;
    border: 8px solid #21e7b9;
    border-radius: 12px;
    padding: 22px 16px;
	margin: 30px auto;
    background-color: #ffffffc7;
	position: relative;
  	display: inline-block;
    box-shadow: 0px 0px 20px #00000067;
}
.overlay-block::after {
	content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -15px;
    border-width: 20px;
	height: 0px;
	width: 0px;
    border-style: solid;
    border-color: transparent transparent #21e7b9 #21e7b9;
}
.overlay-block-2 {
    color: #313131;
    border: 8px solid #fcc96c;
    border-radius: 12px;
    padding: 22px 16px;
	margin: 30px auto;
    background-color: #ffffffc7;
	position: relative;
  	display: inline-block;
    box-shadow: 0px 0px 20px #00000067;
}
.overlay-block-2::before {
	content: "";
	position: absolute;
	top: 35px;
	left: -40px;
	height: 0px;
	width: 0px;
    border-color: transparent #fcc96c #fcc96c transparent; 
    border-style: solid; 
    border-width: 20px;
}
.img-box{
	text-align: center;
	width: fit-content;
	background: #fff;
	border: 0px solid #fff;
	border-radius: 35px;
	display: block;
	box-shadow: 2px 2px 10px rgba(86,111,140,.5);
}
.tag-parall {
    display: grid;
    position: relative;
    padding: 6px 12px;
    margin: 0 auto ;
    color: #fff;
	border-color: linear-gradient(0deg, #ffa8ab, #ff75b1);
	border-top-left-radius: 35px;
	border-top-right-radius: 35px;
    background: linear-gradient(0deg, #ffa8ab, #ff75b1);
}
.tag-parall-form {
    display: grid;
    position: relative;
    padding: 6px 12px;
    margin: 0 auto ;
    color: #fff;
	border-color: linear-gradient(0deg, #ffa8ab, #fda0c9);
	border-top-left-radius: 35px;
	border-top-right-radius: 35px;
    background: linear-gradient(0deg, #ffa8ab, #fda0c9);
}
.tag-parall h2{
	font-size: 1.4rem;
	color: #ffffff;
	height: auto;
	text-indent: 0px;
	padding: 12px 12px 12px 12px;
	margin-bottom: 15px;
}
.tag-parall-form h2{
	font-size: 1.6rem;
	color: #ffffff;
	text-align: center;
	height: auto;
	text-indent: 0px;
	padding: 12px 12px 12px 12px;
	text-shadow: 2px 2px 12px #35220673;
}
.form_box{
	background: linear-gradient(180deg, #ffa8ab, #fce8c2);
	padding: 0 10px;
	border-bottom-right-radius: 35px;
	border-bottom-left-radius: 35px;
	min-height: 29vh;
}
.text-box{
	padding: 16px 18px 25px 18px;
	border-radius: 35px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.849) 100%);;
}
.main_canvas {
	position: relative;
	margin: 0 auto;
  }
.overlay-title {
	width: 50%;
	position: absolute;
	bottom: 30px;
    left: 13rem;
	color: #313131;
	padding: 12px 22px;
} 
#contact::before {
	content: "";
	background: url(../img/contact_line.jpg);
	background-size: contain;
    background-repeat: repeat-x;
    width: 100%;
    height: 120px;
    display: block;
    /* top: -120px; */
    position: relative;
}
#contact .contact_formbox {
    background-color: #f5f5f5a6;
	padding: 16px 10px;
	margin: 20px auto 50px;
    border-radius: 1rem;
	display: block;
    box-shadow: 2px 2px 10px 6px #2e2b3548;
}
#contact h3{
	font-size: 2.2rem;
	font-weight: 800;
	color: #175dc5;
	padding-bottom: 5px;
}
#contact p{
	font-size: 15px;
	padding: 0px 0px 20px 20px;
}
#contact .team-member iframe {
    position: relative;
    padding: 10px 0% 0px 0.5%;
    z-index: 96;
    max-width: 100%;
    min-height: 500px;
    border-radius: 8px;
}
.bg-contact {
    background-image: linear-gradient(to top, #fae2e2 0%, #ffffff 70%);
}
.footform{
	padding: 6px 8px;
	margin: 8px 8px;
	height: 430px;
}
/* Main END */
/* footer */
footer {
	margin: 0px;
    padding: 0px;
    text-align: center;
	background: transparent;
}
.logo_AMC_foot {
    position: absolute;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    background-color: #004a98;
}
#AMC_foot {
    width: 445px;
    height: 60px;
    margin-left: 0px;
    margin-top: -5px;
    margin-bottom: 8px;
}
#AMC_foot_web {
    width: 255px;
    height: 20px;
    margin-bottom: -5px;
}
.aos {
	opacity: 0;
	transition: opacity 1s;
}
.aos.ed {
	opacity: 1;
}

/* END footer */
#registration p.form_Box {
    width: 170px;
    height: 35px;
    padding: 2px 0px 0px 0px;
    float: left;
}
#registration select {
    border: solid 1px #CCC;
    font-size: 15px;
    width: 98%;
    padding: 5px 10px 5px 2px;
    color: #333;
    width: 170px;
}
#registration p.form_Box select {
    width: 25%;
    margin-left: -5px;
    margin-right: 10px;
}

@media (max-width:600px) {
	.col-xs-6 {
        flex: 0 0 auto;
        width: 50%;
    }
	.col-xs-2 {
		flex: 0 0 auto;
        width: 16.6%;
	}
	.offset-xs-4 {
        margin-left: 33.33333333%;
    }
	.offset-xs-3 {
        margin-left: 25%;
    }
	.offset-xs-2 {
        margin-left: 16.66666%;
    }
	.col-xs-3 {
        flex: 0 0 auto;
        width: 25%;
    }
	.col-xs-4 {
        flex: 0 0 auto;
        width: 33.222222%;
    }
	.logo_box {
		width: 128px;
		height: 80px;
	}
	.logo {
		width: 125px;
		height: auto;
	}
	/* footer */
	.tel_div p { display: none; }
	.tel_div ul { display: block; list-style-type:none; }
	/* END footer */
}
@media (max-width: 767px){
	header.top-header {
		padding: 0px 20px 5px 20px;
	}
	.header-mid {
		padding-right: 0px;
	}
	.banner {
		top: 120px;
	}
	header.top-header {
		padding: 0 0;
	}
	.round {
		width: 52px;
        height: 49px;
        border-radius: 50%;
        margin: 13px 10px 0px 0px;
        background-color: #2ca5dc;
	}
	.round img {
		padding: 2px 5px 2px 4px;
		width: 100%;
	}
	.line-icon {
    width: 49px;
    height: 49px;
	}
	#lineModal  .modal-content {
		padding: 20px;
	}
	.tag-parall-form h2{
		font-size: 1.4rem;
	    margin-bottom: 0px;}
	.form-block .fromtitle h2{
		font-size: 1.1rem;
	}
	section#contact h3 {
		font-size: 1.5rem;}
	/* footer */
	#AMC_foot{ width: auto; height: auto; max-width: 100%; max-height: 100%; margin-top: -5px; padding-left: 7px; }
	#AMC_foot_web { width: 300px; height: 24px; margin-top: -6px; margin-bottom: 10px; }
	/* END footer */
}

@media (min-width: 320px) and (max-width: 479px) {
	p {
		font-size: 1.1rem;
	}
	.form-block{
		margin: 0 auto 30px 0;
	}
	.form_box {
		margin-bottom: 20px;
		height: 52vh;
	}
	.form_iframe {
		min-height: 380px;
	}
	.video {
		padding: 40px 20px;
	}
	.video iframe{
		height: 250px;
	}
	.contact_form_iframe {
		min-height: 380px;
	}
	.tag-parall-form h2 {
        font-size: 1.25rem;
	}
	.overlay-title {
		font-size: 0.95rem;
		bottom: auto;
        left: 25%;
        top: 36%;
		padding: 4px 15px;
	}
	.overlay-block::after {
		top: 115%;
		left: 50%;
		margin-top: -17px;
		border-width: 25px;
		border-color: #21e7b9 #21e7b9 transparent transparent;
	}
	.overlay-block-2::before {
		top: -50px;
    	left: 50%;
		border-width: 25px;
	}
	#page1 {
		margin: 80px 0px 0px 0px;
		padding-bottom: 20px;
		background-size: auto;
	}
	#page1::before {
		height: 50px;
		top: -40px;
	}
	.monitor {
		position: relative;
		margin: 0 auto;
		width: 100%;
		height: 540px;
	}
	.monitor .img-monitor {
		height: 600px;
	}
	.sec1 h3, .monitor_txt h3 {
		font-size: 1.4rem;
	}
	.contact_formtitle h2 {
		font-size: 1.2rem;
	}
}
@media (min-width: 480px) and (max-width: 767px){
	.banner-title{
		width: 90%;
		margin: 0 auto;
	}
	.video iframe{
		height: 320px;
	}
	.monitor {
		position: relative;
		margin: 0 auto;
		width: 100%;
		height: 600px;
	}
	.monitor .img-monitor {
		height: 600px;
	}
	.overlay-title {
		bottom: auto;
        left: 25%;
        top: 42%;
		padding: 4px 15px;
	}
	.overlay-block::after {
		top: 110%;
		left: 50%;
		margin-top: -15px;
		border-width: 25px;
		border-color: #21e7b9 #21e7b9 transparent transparent;
	}
	.overlay-block-2::before {
		top: -50px;
    	left: 50%;
		border-width: 25px;
	}
	.form-block{
		margin: 0 auto 30px 0;
	}
	.form_box {
		margin-bottom: 20px;
	}
	.contact_form_iframe {
		min-height: 390px;
	}
	#page1::before {
		height: 60px;
		top: -50px;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.overlay-title {
		bottom: auto;
        left: 28%;
        top: 48%;
		padding: 4px 15px;
	}
	.overlay-block::after {
		top: 110%;
		left: 50%;
		margin-top: -15px;
		border-width: 25px;
		border-color: #21e7b9 #21e7b9 transparent transparent;
	}
	.overlay-block-2::before {
		top: -50px;
    	left: 50%;
		border-width: 25px;
	}
	.video iframe{
		height: 350px;
	}
	section#contact .container{
		min-height: 300px;
	}
	.tag-parall-form h2 {
		font-size: 1.3rem;
		padding: 4px 8px 4px 8px;
		margin-bottom: 0px;
	}
}
@media (min-width: 992px) and (max-width: 1200px) {
	.video iframe{
		height: 350px;
	}
	.contact_form_iframe {
		min-height: 350px;
	}
}
@media (min-width: 768px){
	#page1::before {
		top: -90px;
	}
	section#contact .team-member iframe {
        min-height: 600px;
    }
	section#contact .container{
		min-height: 230px;
	}	
}
@media (min-width: 992px){
	#page1::before {
		top: -90px;
	}
	section#contact .container{
		min-height: 235px;
	}
}
@media (min-width: 1200px){
	.header-Tel {
		margin-top: 0px;
        width: 100%;
	}
	#page1::before {
		content: "";
		background: url(../img/start_line.png);
		background-size: contain;
		background-repeat: repeat-x;
		width: 100%;
		height: 120px;
		display: block;
		top: -120px;
		position: relative;
	}
}

