:root {
  --main: #01573E;
  --second: #F08200;
  --danger: #FF0000;
  --space: 8px;
}

/*------------------------------------*\
  reset
\*------------------------------------*/
body, div, ul, ol, li, h1, h2, h3, h4, h5, h6, form, input, select, textarea, label, p, blockquote, th, td, iframe, button, a, header, footer {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font: inherit;
  color: inherit;
}
body {
  font-family: 'Microsoft JhengHei', Helvetica, sans-serif;
  line-height: 1.5em;
  color: #000;
  background-color: #fff;
  scroll-behavior: smooth;
}
html {
  -webkit-text-size-adjust: 100%; /*safari內網頁的字體不會無緣無故變大*/
  -webkit-overflow-scrolling: touch; /*safari內網頁滑動起來不會卡卡的*/
  overflow-scrolling: touch;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  background: none;
  outline: none;
  cursor: pointer;
}
table {
  width: auto;
  border-collapse: collapse;
  border-spacing: 0;
}
input, button, textarea, select {
  font: inherit;
}
img {
  image-rendering: -webkit-optimize-contrast; /*防止chrome將圖片縮放時平滑化處理*/
}
img, picture, svg, video, canvas {
  max-width: 100%;
  height: auto;
}






/*------------------------------------*\
  frame
\*------------------------------------*/
.pagesize { max-width: 1040px; padding: 0 20px; margin-left: auto; margin-right: auto; }

.container { padding-bottom: 60px; }

/* header */
header {
  padding: 15px 0;
}
header .pagesize { 
  display: flex;
  justify-content: space-between;
}
header .info {
  display: flex; align-items: self-start; gap: 0 10px;
}
header .phone {
  line-height: 25px;
  padding-right: 25px;
  background: url(../images/tel-icon.png) right center no-repeat;
  border: solid 1px #00573D;
}
header .phone .text {
  color: #ac8739;
  padding: 10px;
}
header .social {
  display: flex;
  gap: 0 5px;
  padding-left: 10px;
  border-left: solid 1px #ac8739;
}
header .social-item {
  display: block;
  width: 27px; height: 27px;
}
.headLogo {
  display: block;
}
.headLogo img {
  display: block;
  width: 182px; height: 62px;
}


/* footer */
footer {
  padding: 40px 0;
  background: #F5F6EC;
}

.footer-links, .footer-info {
  border-bottom: solid 1px #dddad2;
}

.footer-links {
  display: flex; flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 24px;
}
.footer-links a {
  flex: 0 0 auto;
  display: block;
  font-size: 13px; line-height: 25px;
}

.footer-info {
  position: relative;
  padding: 24px 110px 24px 0;
}
.footer-info-title {
  font-weight: 700;
  margin-bottom: 5px;
}
.footer-info .infoText {
  max-width: 700px;
  display: grid; grid-template-columns: 1fr; gap: 5px 0;
  font-size: 13px; line-height: 20px; color: #7b7974;
  margin-bottom: 20px;
}
.footer-info .infoText p {
  display: flex; flex-wrap: wrap;
  gap: 5px 0;
}
.footer-info .infoText .word {
  position: relative;
  display: inline-block;
}
.footer-info .infoText .word::after { content: "｜"; }
.footer-info .infoText .word:last-child:after { content: none; }

.footer-spot {
  display: flex; gap: 0 16px; 
  font-size: 15px; line-height: 24px;
}
.footer-spot-title { flex: 0 0 auto; color: var(--main); }
.footer-spot-links {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
}
.footer-spot a { 
  color: #B4873C; 
  padding-right: 16px;
  background: url(../images/mapArrow.png) right center no-repeat;
}
.footer-spot .word { border-bottom: solid 1px; }

.footer-declare {
  font-size: 14px; line-height: 24px;
  padding-top: 24px;
}

.footer-twca {
  width: 100px;
  position: absolute; top: 30px; right: 0; z-index: 10; }
.footer-twca-link {
  position: relative;
  display: block;
}
.footer-twca-link .mark {
  position: absolute;
  top: 100%;
}
.footer-twca-hide {
  display: none;
  width: 200px;
  position: absolute; right: 0;
  font-size: 12px; text-align: left; color: #fff;
  background: #006;
  padding: 5px;
  border: solid 1px #c0a080;
}
.footer-twca:hover .footer-twca-hide,.footer-twca:focus .footer-twca-hide {
  display: block;
}




/*------------------------------------*\
  container
\*------------------------------------*/

.color-second { color: var(--second); }
.color-danger { color: var(--danger); }

/* text */
.tB { font-weight: 700; }


.tC { text-align: center; }

.fs-m { font-size: 14px; line-height: 20px; }

/* space */
.mb-2x { margin-bottom: calc(var(--space) * 2); }
.mb-3x { margin-bottom: calc(var(--space) * 3); }

.d-inblock {
  display: inline-block;
}


/* li */
.list-ul, .list-ol { padding-left: calc(var(--space) * 3); }



/* input */
/* text */
.inputBox input, .inputBox select {
  width: 100%; min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: solid 1px #e1e1e1;
  outline-color: var(--main);
}
.inputBox input::placeholder {
  colo: #999;
}
.inputBox select {
  appearance: none;
  background: #fff url(../images/input-select.png) right 10px center no-repeat;
  padding-right: 40px;
}
.inputBox select:has(option:disabled:checked) {
  color: #999;
}
.inputBox option {
  color: #000;
}

/* chk */
.checkbox {
  display: none;
	position: absolute;	
}
.checkbox + label {
	position: relative;
	display: block;
	padding-left: 28px;
	vertical-align: middle;
}
.checkbox + label:before {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	width: 20px;
	height: 20px;
	content: "";
	border: 1px solid #ccc;
}
.checkbox + label:after {
	content: "";
	position: absolute;
	display: none;
	top: 3px;
	left: 8px;
	box-sizing: border-box;
	width: 7px;
	height: 12px;
	transform: rotate(45deg);
	border-width: 2px;
	border-style: solid;
	border-color: var(--main);
	border-top: 0;
	border-left: 0;
}
.checkbox:checked + label:before {
  /* background: #3e97eb; */
}
.checkbox:checked + label:after {
	display: block;
}
.checkbox[disabled] + label {
	cursor: not-allowed;
	/* color: #e4e4e4; */
}
.checkbox[disabled] + label:hover,
.checkbox[disabled] + label:before,
.checkbox[disabled] + label:after {
	/* cursor: not-allowed; */
}
.checkbox:checked[disabled] + label:before {
	background: #f3f3f3;
}



/* link */
.a-link { 
  color: var(--main);
  transition: opacity 0.2s ease-in-out;
}
.a-link:hover, .a-link:focus { opacity: 0.75; }

.a-line { color: #414141; border-bottom: solid 1px;
  transition: color 0.2s ease-in-out;
}
.a-line:hover, .a-line:focus { color: var(--main); }

/* btn */
.btnBox { display: flex; justify-content: center; gap: 0 10px; }
.btn {
  font-weight: 700; text-align: center;
  display: block;
  box-sizing: border-box;
  border-radius: 4px;
  transition: opacity 0.2s ease-in-out;
}
.btn:hover, .btn:focus {
  opacity: 0.8;
}

.btn.d-inblock { display: inline-block; }
.btn.ty-chk, .btn.ty-cancle {
  min-width: 200px;
  padding: 13px;
}

.btn.h-m {
  height: 40px;
  min-width: 100px;
  padding: 7px 19px;
}

.btnBox .btn {
  min-width: 200px;
}

.btn.ty-chk {
  color: #fff;
  background-color: var(--second);
  border: solid 1px #d87602;
}
.btn.ty-chk .icon-goto {
  background: url(../images/btn-chk-goto.jpg) left center no-repeat;
}

.btn.ty-main {
  color: #fff;
  background-color: var(--main);
}

.btn.ty-cancle {
  color: #414141;
  background-color: #F0F0F0;
  border: solid 1px #D4D4D4;
}
.btn.ty-cancle .icon-goto {
  background: url(../images/btn-cancle-goto.jpg) left center no-repeat;
}
.btn .icon-goto {
  padding-left: 20px;
}

.btn.ty-dele {
  color: #fff;
  background-color: #999;
}
.btn.ty-dele .icon {
  padding-left: 20px;
  background: url(../images/btn-dele.png) left center no-repeat;
}

.btn.disable {
  color: #999;
  background-color: #F0F0F0;
  border: solid 1px #D4D4D4;
  cursor: not-allowed;
}


/* title */
.bnTitle-inner {
  display: flex; align-items: center;
  height: 150px;
  padding: 0 50% 0 42px;
  background: var(--main) url(../images/bnTitle.jpg) right center no-repeat;
  background-size: auto 100%;
}
.bnTitle h2 {
  font-size: 30px; line-height: 1.5em; font-weight: 700; letter-spacing: 1.5px;
  color: #fff;
}

.stepResult {
  text-align: center; font-size: 24px; line-height: 1.5em; font-weight: 700; color: var(--main);
  padding: 40px 0;
}

.hr-line {
  border-top: solid 1px #e1e1e1;
  margin: 15px 0;
}



/* breadcrumbs */
.breadcrumbs {
  display: flex;
  font-size: 11px;
  line-height: 20px;
  padding: 10px 0 9px;
  border-bottom: solid 1px #327763;
  margin-bottom: 20px;
}
.breadcrumbs a {
  position: relative;
  font-weight: 100;
}
.breadcrumbs a:after { content: ">"; padding: 0 3px; }
.breadcrumbs a:last-child::after { content: none; }



/* step */
.steplist {
  list-style: none;
  display: flex; gap: 0 8px;
  margin-bottom: 24px;
}
.steplist li {
  flex: 1 1 20%;
  position: relative;
  text-align: center; font-weight: 700; line-height: 40px; color: #fff;
  background-color: #A3B3AE;
  padding: 0 0 0 8px;
}
.steplist .now ~ li {
  color: #969696;
  background-color: #ededed;
}
.steplist li::before,
.steplist li::after {
  content: "";
  position: absolute; top: 0;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 20px 0 20px 16px;
  
}
.steplist li::before {
  left: 0;
  border-color: transparent transparent transparent #fff;
}
.steplist li::after {
  left: 100%;
  z-index: 2;
  border-color: transparent transparent transparent #A3B3AE;
}
.steplist li:first-child {
  padding-right: 8px;
}
.steplist li:first-child::before {
  content: none;
}
.steplist li:last-child::after {
  content: none;
}
.steplist .now ~ li::after {
  border-color: transparent transparent transparent #ededed;
}
.steplist .now {
  background-color: var(--main);
}
.steplist .now::after {
  border-color: transparent transparent transparent var(--main);
}



/* img */
.imgbox img {
  display: block;
  max-width: 100%;
}
.imgbox.tC img {
  margin: 0 auto;
}



/* bgArea */
.bgArea {
  padding: 10px;
  background-color: #F2F2F2;
  border: solid 1px #e1e1e1;
}


/* formList */
.formList {
  list-style: none;
}
.formList li {
  display: flex;
  gap: 0 16px;
}
.formList-title {
  flex: 0 0 auto;
  width: 20%;
  display: flex; align-items: center;
  background-color: #dddab1;
  padding: 10px;
  font-weight: 700;
}
.formList-title .icon-fill {
  padding-right: 12px;
  background: url(../images/icon-fill.png) right center no-repeat;
}

.formList-inner {
  flex: 1 1 auto;
}
.formList-input {
  padding: 5px 0;
}

.formList .inputBox.short { max-width: calc(33% - 4px); }

.inputRow {
  display: flex;
  gap: 0 8px;
}
.inputRow-item {
  flex: 1 1 33%;
}
.inputRow.row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.inputRow-item.d-flex {
  display: flex;
  align-items: center;
  gap: 0 4px;
}
.inputRow-item.d-flex .inputBox {
  flex: 1 1 auto;
}
.inputRow-item.d-flex .flex-0 {
  flex: 0 0 auto;
}



/* table */
.formTable {
  width: 100%;
  background-color: #fff;
}
.formTable thead {
  background-color: #DDDAB1;
}
.formTable thead th {
  font-weight: 700;
  padding: 13px 5px;
}
.formTable td {
  height: 50px;
  padding: 5px;
  vertical-align: middle;
}



/* caution */
.cautionBox-title {
  font-weight: 700; color: var(--second);
}






@media screen and (max-width: 920px) {

}



@media screen and (max-width: 768px) {
/*------------------------------------*\
  frame
\*------------------------------------*/
  .pagesize { padding: 0 10px; }

  /* header */
  header {
    padding: 11px 0;
  }
  header .phone {
    display: none;
  }
  header .social {
    padding-left: 0;
    border-left: none;
  }

  .headLogo img {
    width: 150px; height: 48px;
  }

  /* footer */
  footer { padding: 24px 0 30px; }
  .footer-links a {
    flex: 0 0 calc(50% - 16px);
  }
  .footer-info {
    padding-right: 0;
  }
  .footer-info-title {
    padding: 0 80px 16px 0;
  }
  .footer-info-title span {
    display: block;
  }
  .footer-info .infoText p {
    gap: 0;
  }
  .footer-twca {
    width: 68px;
    top: 24px;
  }
  .footer-twca-link .mark {
    top: 24px; left: 50px;
  }




/*------------------------------------*\
  container
\*------------------------------------*/

  .container { padding-bottom: 40px; }

  /* btn */
  .btnBox {
    display: flex;
    flex-direction: column;
    gap: 24px 0;
  }
  .btn.d-inblock { display: block; }


  /* title */
  .bnTitle .pagesize { padding: 0; }
  .bnTitle-inner {
    padding: 0 45% 0 10px;
    background: var(--main) url(../images/bnTitle-m.jpg) right center no-repeat;
    background-size: auto 100%;
  }
  .bnTitle h2 {
    font-size: 24px; letter-spacing: 0.5px;
  }

  
  /* step */
  .steplist {
    flex-direction: column; gap: 0;
  }
  .steplist li { padding: 8px; }
  .steplist li::before { content: none; }
  .steplist li::after {
    top: 100%;
    left: calc(50% - 8px);
    border-width: 6px 8px 0 8px;
    border-color: #A3B3AE transparent transparent transparent;
  }
  .steplist .now::after {
    border-color: var(--main) transparent transparent transparent;
  }


  /* formList */
  .formList li {
    display: block;
    margin-bottom: 10px;
  }
  .formList li:last-child { margin-bottom: 0; }
  .formList-title {
    width: 100%;
  }
  .formList .inputBox.short {
    max-width: 100%;
  }
  .inputRow {
    flex-direction: column;
    padding: 0;
  }
  .inputRow-item {
    padding: 5px 0;
  }
  .inputRow.row-3 {
    grid-template-columns: 1fr;
  }

  /* caution */
  .cautionBox {
    font-size: 14px; line-height: 20px;
  }

  /* table */
  .rwd--tr,
  .rwd--tr tbody,
  .rwd--tr tr,
  .rwd--tr td,
  .rwd--th,
  .rwd--th tbody,
  .rwd--th tr {
    display: block;
  }
  .rwd--tr thead {
    display: none;
  }
  .rwd--tr {
    background-color: transparent;
  }
  .rwd--tr tr {
    background-color: #fff;
    margin-bottom: 10px;
  }
  .rwd--tr tr:last-child { margin-bottom: 0; }
  .rwd--tr tr::before {
    content: attr(data-tr);
    display: block;
    text-align: center; font-weight: 700;
    background-color: #DDDAB1;
    padding: 13px;
  }
  .rwd--tr.m-bg-none tr {
    background-color: transparent;
  }
  .rwd--tr td {
    padding: 5px 0;
  }

  .rwd--th td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 10px;
  }
  .rwd--th td.text {
    height: auto;
    min-height: 50px;
    padding: 5px 10px;
    text-align: right;
  }
  .rwd--th td::before {
    content: attr(data-th)"：";
    display: block;
    flex: 0 0 auto;
  }



}



/* < 375 */
@media screen and (max-width: 374.9px) {
  
  .footer-spot { gap: 0 8px; }
  .footer-spot-links { gap: 8px; }



}


































