/* ----- ヘッダー ----- */
.header-second>.area-second>ul {
  background: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  top: 0;
  line-height: inherit;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
}

.header {
  height: 48px;
}

.header-logo {
  margin: 0 0 0 10px;
  height: auto;
  width: 78px;
}

.header-second>.area-second>ul>li:first-child {
  align-items: center;
  display: flex;
  width: 64%;
}

.header-second>.area-second>ul>li {
  box-sizing: border-box;
  margin-right: 10px;
  width: auto;
  z-index: 5;
}

.header-second>.area-second>ul>li>a {
  color: #333;
  display: block;
  width: 100%;
  position: relative;
  top: 0;
}

.header-second>.area-second>ul>li>a>i,
.search__wrap--sp i {
  color: #05aa22;
  margin: 0 auto;
  display: block;
  line-height: 1;
}

.header-second>.area-second>ul>li>a>i {
  font-size: 24px;
  margin: 4px auto 3px;
}

.search__wrap--sp i {
  font-size: 24px;
  height: 24px;
  margin: 4px auto 4px;
}

.header-second>.area-second>ul>li>a>em,
.search__wrap--sp em {
  font-size: 12px;
  line-height: 1;
  position: relative;
  display: block;
}

.search__wrap--sp em {
  top: 0;
  display: block;
  text-align: center;
}

.header-second>.area-second>ul>li:last-child>a>em {
  display: block;
  text-align: center;
}

.header-second>.area-second>ul>li>a>.number-check {
  background: #03aa22;
  color: #fff;
  display: block;
  margin: 6px auto;
  font-size: 12px;
  font-weight: normal;
  height: 20px;
  line-height: 20px;
  position: static;
  width: 20px;
}

.header-second>.area-second>ul>li.box-check {
  padding-right: 0;
}

.header-second>.area-second .blk-logo {
  display: flex;
  gap: 10px;
  margin-left: 10px;
}

.header-second>.area-second .logo-main {
  max-width: 78px;
  object-fit: contain;
}

.header-second>.area-second .logo-no1 {
  max-width: 120px;
  object-fit: contain;
}

.heading-container .blk_ttl h1 {
  margin-bottom: 5px;
}

.searchlead-box {
  margin: 16px 0 20px 0;
}

@media only screen and (min-width: 768px) {
  .header {
    height: auto;
  }

  .header-logo {
    width: 140px;
    margin: 0;
  }

  .header-top .blk-logo {
    align-items: baseline;
    display: flex;
    gap: 10px;
  }

  .header-top .logo-main {
    max-width: 140px;
    object-fit: contain;
  }

  .header-top .logo-no1 {
    max-width: 140px;
    object-fit: contain;
  }

  .searchlead-box {
    margin: 28px 0 2px;
  }

  .header-second>.area-second>ul {
    background: #03aa22;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .header-second>.area-second>ul>li,
  .header-second>.area-second>ul>li:first-child {
    width: 160px;
  }

  .header-second>.area-second>ul>li>a {
    color: #fff;
    border-left: none;
  }

  .header-second>.area-second>ul>li>a>i {
    color: #fff;
    font-size: 30px;
    margin: 0 6px 0 0;
    display: inline-block;
    line-height: 48px;
  }

  .header-second>.area-second>ul>li>a>.number-check {
    background: #fff;
    color: #e83c60;
    display: inline-block;
    position: absolute;
    top: 5px;
    margin-left: 6px;
    left: auto;
    font-size: 13px;
    height: 28px;
    line-height: 28px;
    width: 28px;
  }

  .header-second>.area-second>ul>li.box-check {
    padding-right: 28px;
  }

  .header-second>.area-second .blk-logo {
    display: none;
  }
  .heading-container .blk_ttl h1 {
    margin-bottom: 10px;
  }

  .header-container .search-form {
    position: absolute;
    right: 320px;
  }
}

/* ----- SP用検索 ----- */
.search__sp {
  line-height: 1;
  padding: 10px 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: #05aa22;
}

.search__sp .box-search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.search__sp .box-search input {
  height: 40px;
  width: 80%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 10px;
  border: none;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
  outline: none;
}

.search__sp .box-search p {
  color: #05aa22;
  width: 60px;
  height: 40px;
  line-height: 40px;
  margin: 0 0 0 10px;
  border: #aaa solid 1px;
  border-radius: 4px;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
  background: -o-linear-gradient(#fff, #ddd);
  background: linear-gradient(#fff, #ddd);
}

.search__sp .box-search p i {
  color: #fff;
  font-size: 30px;
  position: relative;
  top: 3px;
}

.search__wrap--sp {
  border-bottom: 1px solid #05aa22;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  width: 100%;
}

.search__wrap--sp label {
  display: block;
  height: 48px;
  position: absolute;
  right: 10%;
  top: -1px;
  width: 12.8%;
}

.search__wrap--sp input[type="checkbox"] {
  visibility: hidden;
  margin: 0;
  height: 48px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.search__wrap--sp .search__wrap--sp--inr {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.search__wrap--sp em.txt_search {
  display: block;
}

.search__wrap--sp .icon_clear,
.search__wrap--sp em.txt_close {
  display: none;
}

.search__wrap--sp input[type="checkbox"]:checked~.btn_close {
  background: #05aa22;
  color: #fff;
}

.search__wrap--sp input[type="checkbox"]:checked~.btn_close i.icon_search {
  display: none;
}

.search__wrap--sp input[type="checkbox"]:checked~.btn_close .txt_search {
  display: none;
}

.search__wrap--sp input[type="checkbox"]:checked~.btn_close i.icon_clear,
.search__wrap--sp input[type="checkbox"]:checked~.btn_close .txt_close {
  color: #fff;
  display: block;
}

.search__wrap--sp input[type="checkbox"]:checked~.search__wrap--sp--inr {
  height: auto;
  opacity: 1;
  position: absolute;
  display: block;
  width: 100%;
  top: 48px;
  left: 0;
  z-index: 1;
}

@media only screen and (min-width: 768px) {
  .search__wrap--sp {
    display: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1040px) {
  .header-container .search-form {
    display: none;
  }
}