/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*以上為CSS Reset*/

input {
  -webkit-appearance: none;
  /* Safari 和 Chrome，常用於iOS下移除內建樣式 */
  -moz-appearance: none;
  /* FireFox */
  appearance: none;
}
/*input,button Reset  Start---------------------------------*/

input, label, select, button, textarea {
  margin: 0;
  border: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  background: none;
  line-height: 1;
  /*font-size:13px;*/
  font-size: 3.5vmin;
  font-family: Arial;
}
/* Remove the stupid outer glow in Webkit*/

input:focus {
  outline: 0;
}
/* Box Sizing Reset*/

/* All of our custom controls should be what we expect them to be */

input, textarea {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
/* These elements are usually rendered a certain way by the browser */

button, input[type=reset], input[type=button], input[type=submit], input[type=checkbox], input[type=radio], select {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* Text Inputs */

input[type=date], input[type=datetime], input[type=datetime-local], input[type=email], input[type=month], input[type=number], input[type=password], input[type=range], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week] {}
/* Button Controls */

input[type=checkbox], input[type=radio] {
  width: 13px;
  height: 13px;
}
/* File Uploads */

input[type=file] {}
/* Search Input*/

/* Make webkit render the search input like a normal text field */

input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
}
/* Turn off the recent search for webkit. It adds about 15px padding on the left */

::-webkit-search-decoration {
  display: none;
}
/* Buttons */

button, input[type="reset"], input[type="button"], input[type="submit"] {
  /* Fix IE7 display bug */
  overflow: visible;
  width: auto;
}
/* IE8 and FF freak out if this rule is within another selector */

::-webkit-file-upload-button {
  padding: 0;
  border: 0;
  background: none;
}
/* Textarea */

textarea {
  /* Move the label to the top */
  vertical-align: top;
  /* Turn off scroll bars in IE unless needed */
  overflow: auto;
}
/* Selects */

select {}
select[multiple] {
  /* Move the label to the top */
  vertical-align: top;
}
/*input,button Reset  End---------------------------------*/

button:focus {
  outline: none;
}
button::-moz-focus-inner {
  border: 0;
}
/*以上為input Reset*/

/*固定頁頭 Start 參考資料 Fixed固定天地方式 https://blog.xuite.net/xiaolian/blog/318085558--------------*/

#fixed-header-slide {
  width: 100%;
  height: 70px;
  /* 視情況而定(本例依圖片高度而設定) */
  position: fixed;
  top: 0px;
  z-index: 2;
}
#fixed-header-wrap {
  width: 100%;
  height: 70px;
  /* 視情況而定(本例依圖片高度而設定) */
  position: absolute;
  bottom: 0px;
}
header {
  width: 100%;
  height: 70px;
  /* 視情況而定(本例依圖片高度而設定) */
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/*固定頁頭 End----------------*/

/*固定頁尾 Start--------------*/

#fixed-footer-wrap {
  width: 100%;
  /*  height: 50px; 視情況而定 */
  position: fixed;
  bottom: 0px;
  z-index: 3;
  overflow: visible;
}
.footer_mobile {
  background: #b8c7ac;
  width: 100%;
  margin: 0 auto;
}
/*固定頁尾 End--------------*/

/*固定頁頭 Start 參考資料 Fixed固定天地方式 結束*/

/*全域控制 Start*/

body {
  font-size: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #313131;
  background: #f5f5f5;
}
img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 499px) {
  .h-less {
    display: none;
  }
}
@media (min-width: 500px) {
  .h-more {
    display: none;
  }
}
/*全域控制 End*/

/*header Start*/

header {
  margin: 0 0 20px 0;
  background-color: #f5f5f5;
  border-bottom: 1px solid #9a9a9a;
}
.navContainer {
  width: 986px;
  height: 70px;
  margin: 0 auto;
  padding: 0 15px;
  font-size: 0.8rem;
  color: #696969;
  position: relative;
}
.logo {
  width: 205px;
  position: absolute;
  top: 15px;
}
.logo a {
  display: block;
  background: url(../img/ibon-logo.png);
  width: 205px;
  height: 39px;
  text-indent: -9999px;
}
/*header End*/

/*橫幅大banner Start*/

.half {
  max-width: 1100px;
  /*height: 375px;*/
  margin: 0 auto;
  margin-top: 70px;
}
/*@media (max-width: 1400px) {
    .half {
        height: 300px;
    }
}
@media (max-width: 992px) {
    .half {
        height: 275px;
    }
}
@media (max-width: 768px) {
    .half {
        height: 225px;
    }
}
@media (max-width: 560px) {
    .half {
        height: 180px;
    }
}*/

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}
.carousel-item {
  height: 100%;
  min-height: 350px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.carousel-item.active {
  display: block;
}
@media (max-width: 560px) {
  .half .carousel-item {
    min-height: 180px;
  }
}
.fill {
  width: 100%;
  height: 100%;
  /*background-position: center center;
    background-size: cover;*/
}
.topimg-Half-ckeck {
  background-image: url(../img/D21-0590_001.png) !important;
}
@media screen and (max-width: 576px) {
  .topimg-Half-ckeck {
    background-image: url(../img/D21-0590_002.png) !important;
  }
}
/*橫幅大banner End*/

/*gridContainer Start*/

.gridContainer {
  max-width: 1100px;
  clear: none;
  float: none;
  margin-left: auto;
  margin-right: auto;
  background-size: cover;
  margin-bottom: 100px;
}
.container-fluid {
  /*width: 100%;*/
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.mainArea {
  padding-top: 25px;
  padding-bottom: 10px;
}
.container {
  /*width: 100%;*/
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /*margin-right: -15px;
    margin-left: -15px;*/
  width: 100%;
}
.guide {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.guide hr {
  margin-bottom: 30px;
}
.guide h2 {
  font-size: 1.8rem;
  line-height: 2.7rem;
  color: #676564;
}
.guide h3 {
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: #408cc2;
}
.divider-input input {
  font-size: 1.45rem;
  color: #313131;
}
/*.divider-input input:focus {
    outline: 1px solid #f00;
    border-radius: 90px;
}*/

::placeholder {
  /* CSS 3 標準 */
  color: #9e9e9f;
}
::-webkit-input-placeholder {
  /* Chrome, Safari */
  color: #9e9e9f;
}
::-ms-input-placeholder {
  /* IE 10+ */
  color: #9e9e9f;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #9e9e9f;
  opacity: 1;
}
.divider-input {
  max-width: 400px;
  margin: 0 auto;
}
.divider-input input[type="text"], .divider-input input[type="number"], .divider-input input[type="tel"] {
  width: 100%;
  height: 44px;
  border: 1px solid #bcbbc1;
  border-radius: 90px;
  background: #fff;
  padding: 5px 5px 5px 30px;
  margin-bottom: 15px;
  box-sizing: border-box;
}
button {
  background: #408cc2;
  color: #FFF;
  border-radius: 90px;
  font-size: 1.3rem;
  padding: 10px 30px;
}
@media screen and (max-width: 386px) {
  button {
    font-size: 1.3rem;
    padding: 10px 15px;
  }
}
button:hover {
  background: #183549;
}
.guide table {
  border-spacing: 0;
}
.guide tr td {
  vertical-align: top;
}
.guide .tb {
  position: relative;
  /*max-width: 774px;*/
  width: 50%;
  margin: 0 auto;
}
@media screen and (max-width: 965px) {
  .guide .tb {
    width: 70%;
  }
}
@media screen and (max-width: 695px) {
  .guide .tb {
    width: 85%;
  }
}
@media screen and (max-width: 576px) {
  .guide .tb {
    width: 100%;
  }
}
.guide .tl {
  /*width: 163px;*/
  width: 30%;
  background: rgb(121, 121, 121);
  color: rgb(227, 227, 227);
  text-align: right;
  line-height: 18px;
  padding: 20px 6px;
}
.guide .c {
  /*width: 561px;*/
  width: 70%;
  padding: 18px 20px;
  background: #eeeeef;
  text-align: left;
}
@media screen and (max-width: 576px) {
  .guide .tl {
    width: 40%;
  }
  .guide .c {
    width: 60%;
  }
}
@media screen and (max-width: 375px) {
  .container {
    padding-right: 0;
    padding-left: 0;
  }
  .guide .tl {
    width: 50%;
  }
  .guide .c {
    width: 50%;
  }
}
.guide .suT {
  line-height: 24px;
}
.guide .ln {
  height: 1px;
  background: #eeeeef;
}
.guide .lf {
  height: 0px;
  /*width: 175px;*/
  width: 30%;
  background: rgb(121, 121, 121);
}
.guide .rg {
  /*width: 557px;*/
  /*width: 70%;*/
  display: block;
  width: calc(100% - 40px);
  margin-left: 20px;
  height: 0px;
  border-top: 1px solid rgb(153, 153, 153);
}
.btn {
  width: 100%;
  margin-top: 30px;
}
.remark {
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: left;
}
@media screen and (min-width: 1098px) {
  .remark {
    text-align: center;
  }
}
.remark hr {
  margin: 30px 0 15px 0;
}
.flexboxes {
  display: flex;
  /*justify-content: space-evenly;*/
  place-content: stretch space-between;
  flex-wrap: wrap;
  /*width: 85%;
                height: 80%;*/
}
.search-bar {
  display: flex;
  flex-flow: row nowrap;
  place-content: stretch flex-start;
  align-items: flex-start;
  margin-bottom: 20px;
}
.search-bar input {
  border: 1px solid #bcbbc1;
  background: #fff;
  font-size: 1rem;
  padding: 3px;
  border-radius: 6px;
  margin-right: 10px;
}
.search-bar button {
  color: #FFF;
  border-radius: 6px;
  font-size: 1rem;
  padding: 5px 15px;
}
.search-bar .mT {
  font-size: 1rem;
  line-height: 1.5rem;
}
.bg-gray {
  background: #aaaaaa;
}
.bg-green {
  background: #8ec31e;
}
.search-bar button:hover {
  background: #183549;
}
.search-bar-L {
  width: 62.5%;
  display: flex;
  flex-flow: row nowrap;
  place-content: stretch flex-start;
  align-items: flex-start;
}
.search-bar-R {
  width: 37.5%;
  display: flex;
  flex-flow: row nowrap;
  place-content: stretch flex-end;
  align-items: flex-start;
}
.flexboxes .item {
  width: -moz-calc(25% - 20px);
  width: -webkit-calc(25% - 20px);
  width: -o-calc(25% - 20px);
  width: calc(25% - 20px);
  /*height: 280px;*/
  margin: 0 0 2.5% 0;
  font-size: 1.45rem;
  font-weight: 400;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  background: #fff;
  /*border: 1px solid #bcbbc1;
            
            /*background: linear-gradient(180deg, #a6aebd 5%, #8a90ae);
            */
  box-shadow: 0 1px 6px 0 #d4dbec;
  border-radius: 12px;
  line-height: 1.875rem;
  padding: 0;
}
.item:last-child:nth-child(4n - 1) {
  margin-right: calc(25% + 30px / 4);
}
.item:last-child:nth-child(4n - 2) {
  margin-right: calc(50% + 60px / 4);
}
/*.item:last-child:nth-child(4n - 1) {
                margin-right: calc(239px + 30px / 4);
            }
            .item:last-child:nth-child(4n - 2) {
                margin-right: calc(478px + 60px / 4);
            }*/

@media (max-width: 992px) {
  .flexboxes .item {
    width: -moz-calc(50% - 20px);
    width: -webkit-calc(50% - 20px);
    width: -o-calc(50% - 20px);
    width: calc(50% - 20px);
  }
}
@media (max-width: 414px) {
  .flexboxes .item {
    width: 100%;
    margin: 0 0 5% 0;
  }
  .item:last-child:nth-child(1n - 1) {
    margin-right: calc(0% + 0px / 4);
  }
}
.flexboxes .item img {
  border-radius: 12px 12px 0 0;
  box-sizing: border-box;
  border: 6px solid #fff;
  width: 100%;
}
/*.flexboxes .straight-img img {
            width: auto;
            height: 42.68%;
            height: calc(100% / 1.5％);
        }*/
.flexboxes .item p {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #313131;
  text-align: left;
  padding: 0 6px 6px 6px;
}
/*gridContainer End*/

/*footer Start*/

.footerContainer {
  max-width: 986px;
  font-size: 0.8rem;
  line-height: 3.2rem;
  color: #4d5a40;
  text-align: center;
  margin: 0 auto;
}
footer a {
  color: #4d5a40;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 414px) {
  .footerContainer {
    line-height: 1.2rem;
    padding: 10px 0px;
  }
}
@media screen and (min-width: 414px) {
  .footerContainer br {
    display: none;
  }
}
/*footer End*/

/*alert Start*/

.alert-bg {
  display: block;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.alert-content {
  display: flex;
  flex-flow: row nowrap;
  place-content: stretch center;
  align-items: center;
  height: 100vh;
}
.alert-box {
  max-width: 680px;
  min-height: 100px;
  background: #fff;
  box-shadow: 0px 0px 6px 5px rgba(0%, 0%, 0%, 0.1);
  border-radius: 6px;
  padding: 15px;
  text-align: center;
}
.alert-box p {
  text-align: left;
}
.alert-box input {
    border: 1px solid #bcbbc1;
    background: #fff;
    font-size: 1rem;
    padding: 3px;
    border-radius: 6px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

.alert-indata {
  display: flex;
  flex-flow: row nowrap;
  place-content: stretch space-between;
  align-items: flex-start;
  margin-bottom: 5px;
}

.alert-content .btn button {
  padding: 10px 60px;
  margin: 0 10px;
}

.btn-upload {
  color: #FFF;
    border-radius: 6px;
    font-size: 1rem;
    padding: 5px 15px;
}
.btn-upload:hover {
    background: #183549;
}

.straight-img {
  width: 42.5%;
}

@media (max-width: 500px) {
  .straight-img {
    width: 50%;
  }
  .alert-content .btn button {
    padding: 10px 30px;
  }  
}

@media (max-width: 320px) {
  .alert-content .btn button {
    padding: 10px 15px;
  }  
}
@media (max-width: 720px) {
  .alert-box {
    margin: 0 15px;
  }
}
.alert-box p {
  font-size: 1rem;
  line-height: 1.8rem;
}
.alert-box .btn {
  text-align: center;
}
/*alert End*/