main header nav>div:nth-child(2) img {
  filter: brightness(0);
}

.backgrounds {
  width: 100%;
  height: 250px;
  margin-top: 17%;
  position: relative;
}

.backgrounds img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 3%;
  filter: brightness(0.5);
}

.backgrounds div {
  width: 100%;
  padding: 0 7%;
  text-align: center;
  position: absolute;
  top: 130px;
  color: white;
}

/*--article--*/

.faq {
  margin: 50px 0 40%;
  padding: 0 7%;
  text-align: center;
}

.faq input[type="search"] {
  margin-top: 20px;
  background: #f0f0f0 url('images/common/icon_search.svg') no-repeat;
  background-position: 95% 60%;
}

.faq .tab-menu {
  margin: 20px 0;
  flex-wrap: wrap;
}

.faq .tablink {
  width: 33%;
  padding: 12px 0;
  border: 1px solid #ddd;
}

.faq .w3-red {
  background: #c80a1e;
  border: 1px solid #c80a1e;
  color: white;
}

.faq .tablink:nth-child(3n+2) {
  width: 34%;
  border-left: 0px;
  border-right: 0px;
}

.faq .tablink:nth-child(4), .faq .tablink:nth-child(5), .faq .tablink:nth-child(6) {
  border-top: 0px;
  border-bottom: 0px;
}

.faq h5 {
  margin: 40px 0 10px;
  text-align: right;
}

.faq> div:first-of-type {
  display: none;
}

.faq .tab-menu-item-list {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.faq .accordion-toggle {
  height: 5rem;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

.faq .accordion-toggle:nth-of-type(12n+1) {
  border-top: 0px;
}

.faq .accordion-toggle span {
  width: 100px;
  text-align: center;
}

.faq .accordion-toggle div {
  width: 100%;
  margin-left: 10px;
  text-align: left;
}

.faq .accordion-toggle div p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: normal;
}

.faq .accordion-toggle div p:last-child {
  margin-top: 4px;
  color: #999;
}

.faq .accordion-toggle> p {
  display: none;
}

.faq .accordion-content {
  padding: 28px;
  background: #eee;
  font-size: 0.9rem;
  text-align: left;
  display: none;
}

.faq .accordion-content :first-child {
  margin-bottom: 28px;
}

.faq #tab8, .faq #tab9 {
  padding: 28px;
  background: #eee;
}

.faq #tab8 h4, .faq #tab9 h4 {
  font-weight: normal;
}

.faq #tab8 button, .faq #tab9 button {
  width: 100%;
  margin-top: 20px;
  background: white;
}

@media screen and (min-width:1366px) {
  main header {
    height: 100px;
  }

  main header>div:first-child {
    height: 100px;
    background: white;
    border-bottom: 1px solid #ebe1d7;
  }

  main header nav {
    background: white;
    border-bottom: 1px solid #ebe1d7;
  }

  .backgrounds {
    width: 100%;
    height: 600px;
    margin-top: 0;
  }

  .backgrounds div {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 450px;
  }

  .faq {
    width: 1000px;
    margin: 80px auto 200px;
    padding: 0;
  }

  .faq input[type="search"] {
    margin-top: 0px;
  }

  .faq .tab-menu {
    margin: 40px 0;
    justify-content: flex-start;
  }

  .faq .tablink {
    width: 200px;
    height: 4rem;
    padding-top: 20px;
    transition: .2s;
  }

  .faq .tablink:hover {
    background: #c80a1e;
    border: 1px solid #c80a1e;
    color: white;
    transition: .2s;
  }

  .faq .tablink:nth-child(3n+2) {
    width: 200px;
    border-left: 0px;
    border-right: 0px;
  }

  .faq .tablink:nth-child(5) {
    border-right: 1px solid #ddd;
  }

  .faq .tablink:nth-child(4), .faq .tablink:nth-child(5), .faq .tablink:nth-child(6) {
    border-top: 1px solid #ddd;
    border-bottom: 1px  solid #ddd;
  }

  .faq .tablink:nth-child(1n+6) {
    border-top: 0px;
  }

  .faq .tablink:nth-child(3), .faq .tablink:nth-child(7) {
    border-right: 0px;
  }

  .faq .tablink:nth-child(7) {
    border-left: 0px;
  }

  .faq .tablink:nth-child(6) {
    border-right: 1px solid #ddd;
  }

  .faq .tablink:nth-child(8) {
    border-left: 1px solid #ddd;
  }

  .faq> div:first-of-type {
    padding: 15px 20px;
    border-top: 2px solid #ddd;
    display: flex;
    justify-content: space-between;
  }

  .faq> div:first-of-type p:first-of-type {
    margin-left: 40px;
  }

  .faq> div:first-of-type p:nth-of-type(2) {
    width: 490px;
  }

  .faq> div:first-of-type p:last-of-type {
    width: 70px;
  }

  .faq .accordion-toggle span {
    width: 200px;
    transition: .2s;
  }

  .faq .accordion-toggle:hover span {
    color: black;
    transition: .2s;
  }

  .faq .accordion-toggle div {
    display: flex;
  }

  .faq .accordion-toggle div> p:first-child {
    width: 600px;
    transition: .2s;
  }

  .faq .accordion-toggle:hover div> p:first-child {
    color: #c80a1e;
    transition: .2s;
  }

  .faq .accordion-toggle div p:last-child {
    margin-top: 0px;
    transition: .2s;
  }

  .faq .accordion-toggle:hover div> p:last-child {
    color: black;
    transition: .2s;
  }

  .faq .accordion-toggle> p {
    width: 150px;
    display: block;
  }

  .faq .accordion-content {
    padding: 28px 60px;
  }

  .faq #tab8 div, .faq #tab9 div {
    display: flex;
    justify-content: space-between;
  }

  .faq #tab8 h4, .faq #tab9 h4 {
    width: 500px;
    text-align: left;
  }

  .faq #tab8 button, .faq #tab9 button {
    width: 250px;
    margin-top: 0px;
  }
}
