ul.tab{ border-top: none; }
ul.tab li:first-child a{ border-top: 1px solid #ddd; }
ul.tab li.active:first-child a{ border-top: 1px solid #806a5d; }
ul.tab {
  margin: 0 0 80px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

ul.tab.has-children {
  margin-bottom: 10px !important;
}

ul.tab > li {
  width: 100%;
}

ul.tab > li > a {
  display: block;
  height: 50px;
  overflow: hidden;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  color: #000;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-left: none;
}
ul.tab > li:first-child > a{ border-left:1px solid #ddd; }

ul.tab > li > a:hover,
ul.tab > li.active > a {
  text-decoration: none;
  color: #fff;
  background: #806a5d;
  border-top-color: #806a5d;
  border-bottom-color: #806a5d;
}

ul.tab-children-pc {
  display: none;
  margin: 0 auto 74px !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100%;
  max-width: 900px;
  font-size: 0;
  text-align: center;
}

ul.tab-children-pc li {
  display: inline-block;
  margin: 30px 0 0 0;
  border-left: 1px solid #ddd;
}

ul.tab-children-pc > li:first-child {
  border-left: none;
}

ul.tab-children-pc li a {
  display: block;
  padding: 0 30px;
  font-size: 14px;
  line-height: 2;
  color: #000;
  text-decoration: none;
}

ul.tab-children-pc li a:hover,
ul.tab-children-pc li.active a {
  color: #806a5d;
  text-decoration: none;
}

ul.tab .tab-children-mobile {
  display: none;
}

.tab-content {
  display: none;
}

ul.tab-children-pc.active,
.tab-content.active {
  display: block;
  -webkit-animation: fadeIn 1s ease both;
  -moz-animation: fadeIn 1s ease both;
  -ms-animation: fadeIn 1s ease both;
  -o-animation: fadeIn 1s ease both;
  animation: fadeIn 1s ease both;
}

.tab-content-header {
  margin: 80px 0 40px 0;
  padding: 24px 30px 20px 38px;
  border: 1px solid #ddd;
  border-left: 1px solid #806a5d;
  position: relative;
}

.tab-content-header:before {
  content: "";
  display: block;
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  border-left: 4px solid #806a5d;
}

.tab-content-header .headline {
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1.6;
  color: #806a5d;
  font-weight:bold;
}

.tab-content-header p {
  margin: 10px 0 0 0 !important;
}


@media only screen and (max-width: 767px) {
  ul.tab,
  ul.tab.has-children {
    margin: 0 0 30px 0 !important;
    display: block;
    border-top: 1px solid #ddd;
  }

  ul.tab > li {
    width: 100%;
  }

  ul.tab > li > a,
  ul.tab > li.active > a {
    display: block;
    padding: 0 42px 0 20px;
    height: 45px;
    line-height: 45px;
    text-align: left;
    border: 1px solid #ddd;
    border-top: none;
    position: relative;
  }
  ul.tab > li.active > a {
    border: 1px solid #806a5d;
    border-top: none;
  }
  ul.tab > li > a:hover {
    text-decoration: none;
    color: #fff !important;
    background: #806a5d !important;
    border-color: #806a5d;
  }

  ul.tab > li > a:after {
    content: "∨";
    display: inline-block;
    font-size: 13px;
    font-family: "design_plus";
    line-height: 45px;
    color: #000;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    width: 42px;
    height: 42px;
  }

  ul.tab > li.has-children.children-open > a:after {
    content: "∨;";
  }

  ul.tab > li.active > a:after,
  ul.tab > li > a:hover:after,
  ul.tab > li.has-children > a:hover:after {
    color: #fff;
  }

  ul.tab > li.has-children.active > a {
    color: #000;
    background: #f7f7f7;
    border-color:#ddd;
  }

  ul.tab > li.has-children.active > a:hover {
    border-color:#806a5d;
  }

  ul.tab > li.has-children > a:after {
    color: #000;
  }

  ul.tab-children-pc,
  ul.tab-children-pc.active {
    display: none;
  }

  ul.tab .tab-children-mobile {
    display: block;
    margin: 0 !important;
    width: 100%;
    max-width: initial;
    font-size: 12px;
    text-align: left;
    position: static;
  }

  ul.tab .tab-children-mobile li {
    display: block;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    height: 0;
    overflow: hidden;
  }

  ul.tab .tab-children-mobile li a {
    display: block;
    padding: 0 20px;
    font-size: 14px;
    line-height: 45px;
    border: 1px solid #ddd;
    border-top: none;
  }

  ul.tab .tab-children-mobile li a:hover,
  ul.tab .tab-children-mobile li.active a {
    color: #fff;
    background: #806a5d;
    border-color: #806a5d;
    text-decoration: none;
  }

  ul.tab > li.active .tab-children-mobile {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    -o-animation: none;
    animation: none;
  }

  ul.tab .tab-children-mobile li {
    -webkit-transition: height 0.5s ease;
    -moz-transition: height 0.5s ease;
    -ms-transition: height 0.5s ease;
    -o-transition: height 0.5s ease;
    transition: height 0.5s ease;
  }

  ul.tab .children-open .tab-children-mobile li {
    height: 46px;
  }

  .tab-content-header {
    margin: 0 0 24px 0;
    padding: 0;
    border: none;
  }

  .tab-content-header:before {
    display: none;
  }

  .tab-content-header .headline {
    font-size: 14px;
    line-height: 2.2;
    color: #806a5d;
    font-weight: bold;
  }

  .tab-content-header p {
    margin: 0 !important;
  }
}
