main{background: linear-gradient(to top, #f5f5f5 , #fff);position: relative; }      
main::after {content: "";  width: 30%; height: 100%; position: absolute;  z-index: 0; left: 0; top: 17vw; background: url("../images/index/line.svg") no-repeat left top;  background-size: 100% auto ; opacity: .15 }
@media (max-width: 1280px) {
main::after { top: 23vw; }    
}
@media (max-width: 1024px) {
main::after { top: 30vw; }    
}
.main-content {margin:0px; padding:50px 0px 100px 0px; }
.main-contact{ margin:0px; padding:0px; }
.contact-wrap{width: 100%;  margin: auto; display: flex; flex-wrap: wrap; justify-content: space-between;   position: relative; }
.contact-detail{width:100%; padding: 10px; margin:0px auto;  display: flex; flex-wrap: wrap;  justify-content: flex-end  }
.contact-detail-txt {width:100%;   margin:auto 0;   }
.contact-detail-txt p{font-size:1.125rem;  font-size: min(max(3.5vw, .875rem), 1.125rem); line-height:2rem; font-weight:400;  margin-bottom: 10px;   }
.contact-map{width: 40%; margin:0;padding:60px 30px 0px 30px;  overflow: hidden }
.contact-map iframe{width: 100%; min-height:40vh;margin: auto; border-radius:0px 50px 0px 50px; }

.contact-box{ width:100%; max-width: 900px; padding-top: 60px; margin: auto; }
.contact-line{ width: 100%; display: flex; flex-wrap: wrap; margin: 1% auto; padding:5px 10px 10px 10px;font-size: 1rem; border-bottom: solid 1px #fff; align-content: center; align-items: center; }
.contact-title{ width: 25%; font-size: 1rem; font-weight: 700; color: #000;  }
.contact-name{ width: 75%; font-size:1rem; font-weight: 400; line-height: 1.75rem;   }
.contact-name a{color: #000;}
@media (max-width: 1024px) {
.contact-detail-txt{  max-width: 100%; padding:10px 20px 50px 20px;  }

}

@media (max-width: 992px) {
.contact-box{ width:100%;   }
.contact-detail{width:100%; } 
.contact-map{width: 100%;  border-radius:40px 40px 0px 0px;}	
.contact-map iframe{width: 100%; min-height:20vh; }
}
@media (max-width: 768px) {
.contact-detail-txt p{font-size:.9rem; }
.contact-map{ padding:20px 0px 0px 0px; }		
}
@media (max-width: 767.98px) {
.contact-detail{width:100%;  padding:0px;  }
.contact-box{ width:100%; }
.contact-detail-txt{  padding:10px 0px;  }
}
 
/*----------------------------------------/
title樣式5
----------------------------------------*/
.title-h2-sub{  margin: auto;}
.title-h2-sub h2{ color:#004098;font-size: 1.75rem;  font-size: min(max(3.5vw, 1.125rem), 1.75rem);  line-height: 130%;font-weight: 700; letter-spacing: 3px; margin-bottom: 20px; text-transform:uppercase}
.title-h2-sub span{ display: block; margin:10px auto 30px auto;font-size: 1.5rem;font-size: min(max(3.5vw, 1rem), 1.5rem); line-height: 130%;font-weight: 700; color: #555; text-transform:uppercase  }
.title-h2-sub p{ font-size:1.125rem;  font-size: min(max(3.5vw, 1rem), 1.125rem); line-height:1.75rem; font-weight:700; color: #000;}
 @media (max-width: 998px) {
.title-h2-sub{text-align: left; padding-left: 20px;} 
}
 @media (max-width: 768px) {
.title-h2-sub{ padding-left: 0px;} 
}
 
/*----------------------------------------/
form
----------------------------------------*/
.contact-form{width: 100%; margin:30px auto; padding:20px 20px 80px 30px; background: #fff; border-radius: 15px; }
.contact-form input, .contact-form option, .contact-form select, .contact-form textarea { font-size: 1.15rem;background: #fff; border: 1px solid #929292;  border-radius:5px;}
.contact-form select, .contact-form input, .contact-form option, .contact-form textarea, .contact-form input[type=radio] + label, .contact-form input[type=checkbox] + label {font-size: 1rem;transition: all 0.5s; box-sizing: border-box;outline: none;}
.contact-form ul {width: 100%; margin:auto;  padding:0px; display: flex; flex-wrap: wrap; list-style: none; }
.contact-form ul li { width: calc(100%/2 - 10px); margin: 5px 10px 5px 0px; font-size: 1rem; font-weight: 400; position: relative; }
 
.contact-form ul li input { padding: 0 10px;width: 100%;height: 42px;   }
.contact-form ul li input::placeholder, .contact-form ul li textarea::placeholder,.contact-form ul li textarea { color:#b3b3b3; font-size:.9rem;  }
.contact-form ul li select {  padding: 0 0 0 5px;  width: 100%; height: 42px; line-height: 40px;font-weight:400; color:#b3b3b3;}
.contact-form ul li select:focus option {color: #666;}
.contact-form ul li option { padding: 5px 10px;}
.contact-form ul li textarea { width: 100%;height: 100px;line-height: 20px; padding: 5px 10px;}
.contact-form ul li input:focus, .contact-form ul li textarea:focus {background:#dcdcdc;color: #000;}
.contact-form ul li input:focus::placeholder, .contact-form ul li textarea:focus::placeholder {  color: #000;}
.contact-form ul li.width-full {  width: calc(100% - 10px); margin-right: 0px !important;}
.contact-form ul li span{ display: block; margin-bottom: 8px; font-weight: 700 }
.red{position: relative}
.red:after{content:"*";color:#ed6d34; font-size: 1.25rem; font-weight: 700; padding-right: 3px;position: absolute; left:0px; top:0px; }

.must{position: relative; padding:0px 0px 0px 15px; }
.must:after{content:"*";color:#ed6d34; font-size: 1.25rem; font-weight: 700; padding-right: 3px;position: absolute; left:0px; top:-5px; }
.contact-form ul li select{  min-height: 42px; width: 100%!important;}
.contact-form ul li .form-checkbox{ width:calc(100%/3 - 10px); margin: auto 5px; display: flex; flex-wrap: wrap; align-items: flex-start;}
.contact-form ul li .formTd input[type=checkbox]{width:18px; height: 18px; margin-top: 6px!important; }
.contact-form ul li .formTd label{width:calc(100% - 18px); min-height: 48px;  word-break:normal; word-wrap: normal;  margin: 0px;padding-top: 3px;  padding-left: 8px; line-height: 1.375rem; }
.contact-form ul li .formTd{width: calc(100% - 15px);  display: flex; flex-wrap: wrap;  }  
.contact-form ul li.th-row .formTd select{ height: 30px; }  
.formTh label{font-weight: 700; }


.contact-form input[type="file"] { background: #f6ebeb; border: dotted 2px #555}
 
@media (max-width: 840px) {
.contact-form ul li .form-checkbox{ width:calc(100%/2 - 10px); }    
}
@media (max-width: 768px) {
.contact-form ul  {width: 100%; margin: 15px 0px;padding: 0px 20px; }
.contact-form ul li {width: 100%; margin: 15px 0px;padding: 0px;}  
.contact-form ul li.width-full { width:100%;}
.contact-form ul li .form-checkbox{  width:100%; flex-wrap: nowrap;  }  
.contact-form .btn-btnbox .btn-send {width: 80%}
}
@media (max-width: 767.98px) {
.contact-form{ padding:0px 0px 80px 0px;  background-color: transparent}
.contact-form ul{ padding: 0px; }
.contact-form ul li {margin:5px 0px; }   
}
@media (max-width: 320px) {
.contact-form ul{ padding: 0px; }
.contact-form ul li .form-checkbox{ width:100%; }    
.contact-form ul li .formTd label{min-height:auto;  }
}


/* --------store--------*/
 .store-content-box {   margin: 0 auto; text-align:left;}
.store-seaerch-section { padding:15px 80px; margin-bottom: 20px;  background-color: #fff;border: solid 1px #1a1a1a;border-radius:15px;}
.store-seaerch-section .store-content-box { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;  }
.store-seaerch-section .store-content-box > div { }
.store-seaerch-section .store-content-box > div:nth-of-type(1) { width: 110px; font-weight: 400;  }
.store-seaerch-section .store-content-box > div:nth-of-type(2), .store-seaerch-section .store-content-box > div:nth-of-type(3), .store-seaerch-section .store-content-box > div:nth-of-type(4) { width: calc((100% - 110px) / 3 - 20px); padding-left:20px;  }
.store-seaerch-section .store-content-box > div select{ margin: 0 0 0px 0;  width:100%; background-image: url(../images/icon/product-select.png); background-repeat: no-repeat; background-position: calc(100% - 10px) 18px; background-size: 9px 7px; -webkit-appearance: none; -moz-appearance: none; appearance: none;   background-color: #fff;  font-size: 16px; border:solid 1px #1a1a1a; color:#333;  padding:0px 50px 0 18px;  line-height: 100%; border-radius: 0px;height: 40px; font-weight: 500;}
.store-seaerch-section .store-content-box > div option { padding:1px 5px; background:#fff;border:solid 1px #1a1a1a; }
.store-seaerch-section .store-content-box > div select::-ms-expand {display: none;}

.store-result-section { padding-top: 15px; padding-bottom: 30px;}
.aFull {font-size: 0; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100;}
.store-map-section { margin-bottom: 20px; display: flex; flex-direction: row; flex-wrap:wrap;}
.store-map-section > div { height: 250px;}
.store-map-section > div:nth-of-type(1) { width: 32%;}
.store-map-section > div:nth-of-type(1) img { object-fit: cover; width: 100%; height: 100%;}
.store-map-section > div:nth-of-type(2) { width: 68%;}
.store-map-section > div:nth-of-type(2) iframe { object-fit: cover; width: 100%; height: 100%; border-width: 0;}

.stores { margin:10px auto; padding: 30px;  background-color: #fff;border: solid 1px #1a1a1a; border-radius:15px; overflow: hidden }
.stores .stores_in { display: flex; flex-flow: wrap; margin:0px 0 30px 0;  }
.stores .stores_in > div { position: relative; width: 47%; margin: 0 6% 10px 0; padding: 55px 20px; display: flex; flex-flow: wrap; align-items: center; z-index: 1; transition: all 0.25s ease 0s;}
.stores .stores_in > div:nth-child(2n+2) { margin-right: 0;}
.stores .stores_in > div::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: #d4d4d4;}
.stores .stores_in > div:last-child:after{display: none}

.stores .stores_in > div:nth-child(2n+1)::before { content: ''; position: absolute; top: 10%; bottom: 5%; right: -6.5%; width: 1px; background: #d4d4d4;}
.stores .stores_in > div:nth-child(1) a::before, .stores .stores_in > div:nth-child(2) a::before {    /*content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: #d4d4d4;*/}


.stores .stores_in > div .s_left { width: 40%; display: flex; flex-flow: column; align-items: center; line-height: 1.65rem; color: #333; transition: all 0.25s ease 0s;}
.stores .stores_in > div .s_left > div { position: relative; padding-left: 35px;}
.stores .stores_in > div .s_left > div::before { content: ''; position: absolute; top: 50%; transform: translateY(-50%); left: 0; width: 18px; height: 25px; background: url("../images/icon/icon_address_02.svg") no-repeat center / contain; transition: all 0.25s ease 0s;}
.stores .stores_in > div .s_right { width: 60%; padding-left: 5%; color: #333; transition: all 0.25s ease 0s;}
.stores .stores_in > div .s_right .p_call { color: #333!important;}
.stores .stores_in > div:hover { background: #1a1a1a; color: #fff;}
.stores .stores_in > div:hover .s_left { color: #fff;}
.stores .stores_in > div:hover .s_right { color: #fff;}
.stores .stores_in > div:hover .s_right .p_call { color: #fff!important;}
.stores .stores_in > div:hover .s_left > div::before { background-image: url("../images/icon/icon_address_01.svg");}
 
@media only screen and (max-width:1400px){
    .stores { margin: 3.5% 0 7% 0;}
    .stores .stores_in > div { padding: 50px 20px;}
    .stores .stores_in > div .s_left > div { padding-left: 30px;}
    .stores .stores_in > div .s_right { padding-left: 3%;}  
}

@media only screen and (max-width:1200px){
    .stores { margin: 30px 0 70px 0;}
    .stores .stores_in > div { padding: 45px 10px;}
   
}
@media only screen and (max-width:992px){
    .stores .stores_in > div { padding: 30px 10px 35px 10px;}
    .stores .stores_in > div .s_left { width: 100%; align-items: flex-start; margin: 0 0 10px 0;}
    .stores .stores_in > div .s_left > div { display: flex; flex-flow: wrap; padding-left: 23px;}
    .stores .stores_in > div .s_left > div::before { width: 15px; height: 21px;}
    .stores .stores_in > div .s_left .company { margin-right: 5px;}
    .stores .stores_in > div .s_right { width: 100%; padding-left: 0;}
}
@media only screen and (max-width:840px){
    .store-seaerch-section { padding:15px; }
    .stores { margin: 30px 0 50px 0;}
    .store-seaerch-section .store-content-box > div:nth-of-type(2), .store-seaerch-section .store-content-box > div:nth-of-type(3){ width: calc((100% - 110px) / 2 - 20px); padding-left:20px;  }
}
@media only screen and (max-width:576px){
    .stores { padding: 20px;}
    .store-seaerch-section .store-content-box { flex-wrap: wrap;flex-direction: column;}
    .store-seaerch-section .store-content-box > div:nth-of-type(1) { width: 80px; margin: auto}
    .store-seaerch-section .store-content-box > div:nth-of-type(2), .store-seaerch-section .store-content-box > div:nth-of-type(3){  width: 100%; margin:5px auto; padding-left: 0px; }
    .store-seaerch-section .store-content-box > div select{  padding:0px 30px 0 18px; font-size: 0.9rem; }
    .stores .stores_in { margin: 15px 0 0 0;}
    .stores .stores_in > div { width: 100%; margin: 0 0 10px 0; padding: 20px 10px 25px 10px;}
    .stores .stores_in > div:nth-child(2) a::before { display: none;}
    .stores .stores_in > div:nth-child(2n+1)::before { display: none;}
    .stores .stores_in > div .s_left { width: 100%;}
    .stores .stores_in > div .s_right { width: 100%;}
}
@media only screen and (max-width:430px){
    .stores { margin: 30px 0 30px 0;}
    .stores .stores_in > div { padding: 20px 10px;}    
}
@media only screen and (max-width:350px){
    .stores { margin: 20px 0;}
    .stores .stores_in > div { padding: 10px 0;}
    .stores .stores_in > div .s_left { margin: 0 0 5px 0;}
    .stores .stores_in > div .s_left > div { padding-left: 18px;}
    .stores .stores_in > div .s_left > div::before { top:13px; width: 12px; height: 18px;}
}
 