/*  內頁header------------------------------------- */
.haeader{
	padding: 30px 0 20px 0;
    text-align: center;
}
.haeader .inside_title{
	width: 250px;	
}
.haeader .inside_pic1{
	position: absolute;
	left: 200px;
	top: 0;
}
.haeader .inside_pic2{
	position: absolute;
	left:725px;
	top: 108px;
}
/*  內頁------------------------------------- */
section{
    width: 100%;
    padding-bottom: 16px;
    z-index: 1;
}
.allbox{
    position: relative;
    width: 100%;
}
.allbox::after{
    content: '';
    display: block;
    width: 100%;
    background: url(../images/bg_yellow.jpg) repeat;
    height: 85px;
    margin-top: -85px; 
    pointer-events:none;
}
.allbox::before{
    content: '';
    display: block;
    width: 1220px;
    height: 252px;
    background: url(../images/inside_bpic.png) center;
    position: absolute;
    bottom: -70px;
    z-index: 3;
    pointer-events:none;
    left: 50%;
    transform: translateX(-53%);
}
.firepic{
    content: '';
    display: block;
    width: 1301px;
    height: 192px;
    background: url(../images/inside_bpic2.png) center;
    position: absolute;
    bottom: 100px;
    pointer-events:none;
    left: 50%;
    transform: translateX(-48%);
}
section .boxbg{
	background: url(../images/bg_pink.jpg) repeat;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	border-radius: 18px;
	-webkit-box-shadow: 0 1px 9px rgba(125,51,33,0.75);
	-moz-box-shadow: 0 1px 9px rgba(125,51,33,0.75);
	box-shadow: 0 1px 9px rgba(125,51,33,0.75);
    padding-bottom: 40px;
}
section .boxbg .eventtt,section .boxbg .eventtt2{
	height: 53px;
	background: url(../images/bg_tbg.jpg) repeat;
	-webkit-border-top-left-radius: 18px;
	-webkit-border-top-right-radius: 18px;
	-moz-border-radius-topleft: 18px;
	-moz-border-radius-topright: 18px;
	border-top-left-radius: 18px;
	border-top-right-radius: 18px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
section .boxbg .eventtt img,section .boxbg .eventtt2 img{
	margin: 15px;
}
section .boxbg .eventtt::before{
	content: '';
	display: block;
	width: 37px;
	height: 42px;
	background: url(../images/event1_icon.png);
}
section .boxbg .eventtt2::before{
	content: '';
	display: block;
	width: 36px;
	height: 41px;
	background: url(../images/event2_icon.png);
}
input[type="text"]{
    background: none;
	border: 2px solid #753939;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	outline: none;
}
input:focus{
	outline:none
}
/*	表格-----------------------      */
.formtitle{
    width: 850px;
	background: #ffac9e;
	position: relative;
	height: 40px;
	margin: 30px auto;
}
.formtitle h4{
	color: #753939;
	font-size: 20px;
	line-height: 40px;
	padding-left: 82px;
}
.formtitle h4 span{
	font-size: 14px;
}
.formtitle h4::before{
	content: '';
	display: block;
	width: 66px;
	height: 47px;
	background: url(../images/event_ft.png);
	position: absolute;
	left: 0;
	top: -10px;
}
.form{
	display: flex;
	align-items:flex-start;
	justify-content: center;
	width: 850px;
	margin: 0 auto;
}
.form .left{
	flex: 0 0 490px;
	border-right: 2px dashed #753939;
}
.form .left input[type="text"] {
    display: flex;
    align-content: center;
    align-items: baseline;
    padding: 8px 20px 8px 120px;
    width: 450px;
    font-size: 18px;
}
.fromBox {
    position: relative;
	padding: 5px 0;
	margin-bottom: 20px;
}
.fromBox.name::before {
    content: '姓　名：';
}
.fromBox.mobile::before {
    content: '手　機：';
}
.fromBox.email::before {
    content: '電子郵件：';
}
.fromBox::before {
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    display: block;
	width: 110px;
	font-size: 18px;
	font-weight: 500;
    color: #753939;
    text-align: right;
    white-space: nowrap;
}
.form .right{
	padding-left: 30px;
	padding-right: 5px;
}
.form .right p{
	font-size: 15px;
	line-height: 24px;
	color: #753939;
	font-weight: 500;
}
.form .right .fromConsentBox{
	display: flex;
	justify-content:flex-start;
	align-items: center ;
}
.form .right label{
	font-size: 18px;
	line-height: 24px;
	color: #753939;
	font-weight: 700;
	display: inline-block;
	margin-top: -4px;
    text-align: left;
}
.fromConsentBox [type="radio"]:first-of-type {
    margin-left: 0;
}
.fromConsentBox [type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0 5px 10px 15px;
}
.form .right a{
	display: block;
	background: #b8342b;
	width: 100px;
	height: 30px;
	color: #ffffff;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	text-align: center;
	line-height: 30px;
    margin: 8px 0;
    cursor: pointer;
}
.boxbg .btn_b{
	display: block;
    width:300px;
    height:60px;
    background: #3786fa;
    color: #ffffff;
    line-height:60px;
    font-size: 24px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    margin: 15px auto 0;
    -webkit-box-shadow: 0 4px 0 #92beff;
    -moz-box-shadow: 0 4px 0 #92beff;
	box-shadow: 0 4px 0 #92beff;
	border: none;
	text-align: center;
	margin-bottom: 10px;
}

.seletboxflex .foodbox a:hover,.boxbg .btn_b:hover,.event1_result .btnbox a:hover,.event2_step1 .btnbox a:hover{
    background: #1974f8;
    -webkit-box-shadow: 0 4px 0 #a4c9ff;
    -moz-box-shadow: 0 4px 0 #a4c9ff;
    box-shadow: 0 4px 0 #a4c9ff;
}
.event1_result .btnbox a:last-child:hover,.event2_step1 .btnbox a:last-child:hover{
    background: #b42319;
    -webkit-box-shadow: 0 4px 0 #ff8e86;
    -moz-box-shadow: 0 4px 0 #ff8e86;
    box-shadow: 0 4px 0 #ff8e86;
}
.event1_result .btnbox a.end,.event2_step1 .btnbox a.end,.event1_result .btnbox a.end:hover,.event2_step1 .btnbox a.end:hover{
    background: #94999d;
    -webkit-box-shadow: 0 4px 0 #b2b2b2;
    -moz-box-shadow: 0 4px 0 #b2b2b2;
    box-shadow: 0 4px 0 #b2b2b2;
}

@media (max-width: 1400px) {
    .firepic{
        display: none;
     }
}

@media (max-width: 1110px) {
	
    .allbox::before {
        width: 100%;
        transform: translateX(-50%);
    }
    section {
        width: 96%;
        margin: 0 auto;
    }
    .haeader .inside_pic2 {
        left:68%;
    }
}
@media (max-width: 1000px) {
    .formtitle {
        width: 94%;
        margin-top: 0;
    }
   .form {
        width: 94%;
    }
    .form .left {
        flex: 0 0 60%;
    }
    .form .left input[type="text"] {
        width:96%;
    }
    .haeader .inside_pic1 {
        width: 15%;
    }
    
}
@media (max-width: 760px) {
    .haeader .inside_title {
       max-width:  65%;
    }
    .haeader{
        padding-top: 15vw;
    }
    .haeader .inside_pic1 {
        left:28vw;
        top: 0;
        width: 20%;
    }
    .haeader .inside_pic2{
        display: none;
    }
    .form {
        width:96%;
        flex-direction: column;
    }
    .fromBox {
        margin-bottom:0;
    }
    .fromBox {
    margin-bottom: 0;
}
.form .right a{
    display: inline-block;
    margin: 0 5px;
}.form .left {
    flex: 0 0 96%;
    border-right: 0;
}.form .left input[type="text"] {
    width:90%;
    margin: 0 auto;
    padding: 8px 20px 8px 24vw;
}
.fromBox::before {
    width: 23vw;
    font-size: 4vw;
    left: 5vw;
}
.formtitle h4 span {
    font-size: 13px;
    display: block;
    padding-top: 5px;
}.formtitle {
    height: auto;padding: 5px;
    margin-bottom: 10px;
}
.formtitle h4{
    line-height: 20px;margin: 0;
    padding-left: 50px;
}
.formtitle h4::before {
    width: 40px;
    height: 28px;
    top:50%;
    background: url(../images/event_ft.png);
    background-size: 100% 100%;
    transform: translateY(-50%);
    left: 5px;
}
.boxbg .btn_b {
    width: 80%;
    height: 14vw;
    font-size: 6vw;
    line-height: 14vw;
}
section .boxbg{
    padding-bottom: 20px;
}.form .right p {
    font-size: 13px;
    line-height: 20px;
}
.form .right {
    padding:0 8px;
    text-align: center;
}
.form .right .fromConsentBox {
    justify-content:center;
}
}