.main-article:after { display:none; }

#describe { margin: 0 auto; width: 960px; }
#describe article { margin: 50px 0; }

form , fieldset { margin: 0; padding: 0; border: 0; }
form .list { padding: 20px 30px; border-top: 1px solid #e1e1e1; }
form .list p { overflow: hidden; font-size: 16px; }
form .list p label { margin-top: 5px; float: left; width: 180px; display: inline-block; }
form .list p strong { margin-left: 4px; padding: 2px 5px; background: #fd1515; border-radius: 5px; text-shadow: 0 0 1px #510a0a; line-height: 100%; font-size: 14px; color: #fff; vertical-align: unset; }
form .list p input , form .list p textarea { padding: 5px; width: calc(100% - 194px); background: #ebebeb; display: inline-block; font-size: 16px; line-height: 150%; }
form .code p #Checknum { width: 80px; }
form .last p { text-align: center; }
form .last p input { width: 150px; background: #2a91c9; border-radius: 5px; text-shadow: 0 0 1px #031f2e; text-align: center; font-size: 15px; color: #fff; cursor: pointer; }

/* order */
.orderStyle { padding: 20px; }
#order .orderWrap { margin-bottom: 15px; }
#order .orderWrap .orderList { overflow: hidden; position: relative; padding: 10px 0; border-bottom: 1px #8e8e8e dashed; }
#order .orderWrap .orderList p { float: left; width: 15%; }
#order .orderWrap .orderList p:first-child { width: 35%; }
#order .orderWrap .orderList p label { padding-bottom: 5px; border-bottom: 2px #005f5e solid; display: none; text-align: center; }
#order .orderWrap .orderList:first-child p label { display: block; }
#order .orderWrap .orderList p b { margin: 5px 20px; display: block; line-height: 100px; text-align: center; }
#order .orderWrap .orderList p:first-child b { text-align: left; }
#order .orderWrap .orderList p b a { color: #000; }
#order .orderWrap .orderList p b img { margin-right: 15px; height: 100px; }
#order .orderWrap .orderList p input[type="text"] { padding: 0 10px; width: 30px; border: 1px #ddd solid; font-size: 16px; }
#order .orderWrap .orderList p input[type="button"] { margin-left: 0; padding: 5px 10px; background: #ec3939; border-color: #901c1c; font-weight: normal; font-size: 14px; color: #fff; }
#order .orderWrap .orderList p input[type="button"]:hover { background: #901c1c; }
#order #orderTotal p { margin: 10px 0; text-align: right; }
#order .button { margin: 15px 0 30px; text-align: center; }
#order .button p.link { text-align: right; }
#order .button p { width: 49%; display: inline-block; }
#order .button p a { padding: 10px 20px; background: #8c7d68; display: inline-block; font-weight: normal; color: #fff; }
#order .button p.link a { background: #e17b60; }
#order .button p a i { vertical-align: initial; }
#order .button p a:hover { opacity: .7; }

/* questionnaire */
form #questionnaire .list.question p label { margin: 0 10px 0 0; width: auto; }
form #questionnaire .list.question ul { margin-top: 10px; }
form #questionnaire .list.question ul li { margin-bottom: 5px; }
form #questionnaire .list.question ul li:last-child { margin-bottom: 0; }
form #questionnaire .list.question ul li input { margin-right: 10px; }
form #questionnaire .list.question ul li input[type="text"] { margin-top: 3px; padding: 5px; width: calc(100% - 10px); background: #ebebeb; display: none; font-size: 16px; line-height: 150%; }
form #questionnaire .list.question p textarea { margin-top: 10px; width: calc(100% - 10px); }
form #questionnaire .list.title { margin-top: 20px; border-top: 0; }
form #questionnaire .list.last.send { border-top: 0; }



/* ================= 佈局與模組作用域 (#coonactboox) ================= */
#coonactboox { padding: 50px 20px; width: 100%; display: flex; justify-content: center; min-height: 100vh; }
#coonactboox .workframe {width: 100%;max-width: 1024px;background: #ffffff;border-radius: 20px;box-shadow: 0 10px 40px rgba(0,107,179,0.08);padding: 50px;border: 1px solid rgba(0,0,0,0.03);}
#coonactboox article { margin-bottom: 35px; font-size: 16px; color: #5a6c7d; line-height: 1.6; text-align: center; }
#coonactboox fieldset { border: none; padding: 0; margin: 0; }
/* ================= 地圖區塊美化 ================= */
#coonactboox .map-container { width: 100%; height: 350px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); margin-bottom: 40px; border: 1px solid #edf2f7; transition: all 0.3s cubic-bezier(0.165,0.84,0.44,1); }
#coonactboox .map-container:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,107,179,0.15); border-color: #bbd6ee; }
#coonactboox .map-container iframe { width: 100%; height: 100%; display: block; border: none; }
/* ================= 表單元素與排版 ================= */
#coonactboox .list { margin-bottom: 25px; }
#coonactboox .list p { display: flex; flex-direction: column; gap: 10px; margin: 0; }
#coonactboox .list label { font-size: 15px; font-weight: 600; color: #1a2b3c; display: flex; align-items: center; gap: 10px; }
/* 必填標籤美化 */
#coonactboox .list label strong {font-size: 12px;color: #ffffff;background: #0072ba;padding: 4px 10px;border-radius: 6px;border: 1px solid #4fb6e5;font-weight: 600;letter-spacing: 0.5px;text-shadow: unset;}
/* 文字輸入框與文字區塊 */
#coonactboox .list input[type="text"],#coonactboox .list textarea { width: 100%; padding: 15px 18px; border: 1px solid #cbd5e0; border-radius: 10px; font-size: 15px; outline: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); background: #fcfcfc; color: #1a2b3c; }
#coonactboox .list input[type="text"]:focus,#coonactboox .list textarea:focus { border-color: #006bb3; box-shadow: 0 0 0 4px rgba(0,107,179,0.12); background: #ffffff; transform: translateY(-1px); }
#coonactboox .list textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
/* ================= 驗證碼專區佈局 ================= */
#coonactboox .code p { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 15px; }
#coonactboox .code label { width: 100%; margin-bottom: 2px; }
#coonactboox .code input { flex: 1; min-width: 180px; max-width: 250px; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; text-align: center; }
#coonactboox .code img {height: 35px;border-radius: 8px;box-shadow: 0 2px 10px rgba(0,0,0,0.06);object-fit: contain;background: #fff;padding: 4px;border: 1px solid #e2e8f0;transition: all 0.3s;cursor: pointer;}
#coonactboox .code img:hover { transform: scale(1.05); border-color: #006bb3; box-shadow: 0 5px 15px rgba(0,107,179,0.15); }
/* ================= 提交按鈕設計 ================= */
#coonactboox .last { margin-top: 45px; }
#coonactboox .send { display: flex; justify-content: center; width: 100%; }
#coonactboox .btn-submit { background: #006bb3; color: white; border: none; padding: 16px 50px; font-size: 18px; font-weight: 700; border-radius: 12px; cursor: pointer; transition: all 0.3s cubic-bezier(0.165,0.84,0.44,1); box-shadow: 0 6px 20px rgba(0,107,179,0.3); width: 100%; max-width: 350px; letter-spacing: 1.5px; }
#coonactboox .btn-submit:hover { background: #005599; transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,107,179,0.4); }
#coonactboox .btn-submit:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(0,107,179,0.2); }


@media screen and (max-width:1280px) {
	#describe { width: 100%; }
}
@media (max-width:768px) {
  #coonactboox { padding: 20px 15px; }
  #coonactboox .workframe { padding: 35px 20px; border-radius: 16px; }
  #coonactboox .map-container { height: 250px; margin-bottom: 25px; }
  #coonactboox .btn-submit { max-width: 100%; }
  #coonactboox .code input { max-width: 100%; }
}
@media screen and (max-width:640px) {
	form .list { padding: 10px; }
	#describe article { margin: 35px 0; }
	#order .orderList p , #order .orderWrap .orderList p:first-child , #order .orderWrap .orderList p { width: 100%; text-align: left; }
	#order .orderList p label , #order .orderList:first-child p label , #order .orderWrap .orderList:first-child p label { width: 50%; display: inline-block; }
	#order .orderWrap .orderList p b { margin-left: -4px; width: calc(49% - 44px); display: inline-block; line-height: initial; text-align: center; vertical-align: top; }
	#order .orderWrap .orderList p:first-child b { margin-right: 0; }
	#order .orderWrap .orderList p b a { height: auto; text-align: center; }
	#order .orderList p:nth-child(3) { text-align: left; }
}
@media screen and (max-width:480px) {
	form .list p label { margin-bottom: 10px; width: 100%; }
	form .list p input , form .list p textarea { width: calc(100% - 10px); }
	#order .orderList p , #order .orderList p:nth-child(3) { text-align:left !important; }
}