.visible-md {
  display: none;
}
@media only screen and (min-width: 768px){
  .visible-md {
      display: block;
  }
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.header,
.header * {
  box-sizing: border-box;
}

.header {
  height: 48px;
}

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

/* キーワード検索 */
/* 共通 input */
.keywords {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 5px 20px;
  font-size: 1rem;
  background: #FFFFFF;
  border: none;
  border-radius: 5px 0px 0px 5px;
}

.keywords:focus {
  outline: 0;
}

/* SP：白背景/PC：緑背景 */
.header-second {
  height: auto;
  font-size: 1rem;
  background: #05aa22;
  text-align: center;
  width: 100%;
}

.header-second .area-second {
  width: 100%;
  max-width: 1000px;
}

.header-second .area-second .header-lists {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #05aa22;
  box-sizing: border-box;
  clear: both;
  display: flex;
  flex-flow: wrap;
  height: 48px;
  justify-content: space-between;
  line-height: inherit;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.header-second .area-second .header-lists li {
  box-sizing: border-box;
  width: 12.8%;
  height: 100%;
  margin-left: auto;
  margin-right: 0;
  z-index: 1;
}

.header-second .area-second .header-lists li:first-child {
  display: flex;
  align-items: center;
  width: calc(48.8% - 48px);
  margin-left: 0;
  margin-right: auto;
}

.header-second .area-second .header-lists li.box-history {
  display: none;
}

.header-second .area-second .header-lists li.box-keywords_seach {
  margin-right: auto;
  margin-left: 0;
}

.header-second .area-second .header-lists li a {
  align-items: center;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  text-decoration: none;
  top: 0;
  width: 100%;
  height: 100%;
}

.header-second .area-second .header-lists li .blk-logo {
  display: flex;
  flex-direction: inherit;
  gap: 10px;
  justify-content: flex-start;
  margin-left: 10px;
}

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

.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;
}

.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;
}

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

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

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

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

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

.header-second .area-second .header-lists li a i {
  display: block;
  height: auto;
  line-height: 1;
  font-size: 24px;
  margin: 0 auto 3px;
}


/* ハンバーガーメニュー */
.area-menu {
  padding: 0;
}

/* トグルボタン */
#togglenav {
  display: none;
  position: relative;
}

#togglenav:checked+.togglenav-btn:before {
  background: #fff;
  border: solid 1px #ccc;
  border-radius: 4px;
  content: "\e5cd";
  font-family: Material Icons;
  font-size: 24px;
  height: 24px;
  line-height: 24px;
  position: fixed;
  right: 12px;
  text-align: center;
  top: 12px;
  width: 24px;
  z-index: 9999;
}

#togglenav:checked~.togglenav-bg {
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.togglenav-btn {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 9999;
  width: 48px;
  height: 48px;
  color: #666;
  line-height: 48px;
  text-align: center;
  -webkit-transition: background-color .6s, -webkit-transform .6s;
  transition: background-color .6s, transform .6s;
}

.togglenav-btn:before {
  content: "\e5d2";
  font-family: Material Icons;
  font-size: 28px;
}

/* トグルを押した際の背景 */
.togglenav-bg {
  cursor: pointer;
  position: fixed;
  top: 0px;
  right: 0px;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  transition: background-color .6s;
}

/* ドロワーメニュー */
.menu-drawer {
  overflow-y: scroll;
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  padding-top: 48px;
  max-height: 86%;
  background-color: white;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: -webkit-transform .2s;
  transition: transform .2s;
}

.menu-drawer h2 {
  background: #f5f5f5;
  color: #232b39;
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 6px 0 4px 24px;
  text-indent: -16px;
}

.menu-drawer h2.ttl-find::before {
  color: #232b39;
  content: "\e8b6";
  font-family: Material Icons;
  font-size: 18px;
  vertical-align: middle;
}

.menu-drawer li {
  align-items: center;
  border-bottom: solid 1px #efefef;
  box-sizing: border-box;
  display: flex;
  height: 48px;
  justify-content: flex-start;
  position: relative;
  text-align: left;
}

.menu-drawer li a {
  color: #232b39;
  display: block;
  height: 48px;
  line-height: 48px;
  padding-left: 12px;
  text-decoration: none;
  width: 100%;
}

.menu-drawer .drawer-menu .drawer-menu-item a:hover {
  background-color: #eee;
  color: #666;
}

.menu-drawer li a:after {
  color: #05aa22;
  content: "\e5cc";
  display: inline-block;
  font-family: Material Icons;
  font-size: 24px;
  font-weight: normal;
  position: absolute;
  right: 12px;
  top: 0;
}

#togglenav:checked~.menu-drawer {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.btn-docreq>a {
  border-radius: 4px;
  background-image: linear-gradient(45deg, #f19500 0%, #ff8501 100%);
  border: solid 1px #ff7700;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: normal;
  height: 48px;
  left: 8px;
  line-height: 1.3;
  margin: 4px auto;
  padding: 6px 0 8px;
  text-align: center;
  text-decoration: none;
  width: 240px;
}

.btn-docreq>a>strong {
  font-size: 16px;
}

/*common_responsive*/
.header-container {
  margin: 0;
  position: relative;
  line-height: 36px;
}

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

  /* 上部 白背景 */
  .header-top {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

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

  .header-lead p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
  }

  .header-lead p em {
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
  }

  .header-lead p span {
    font-size: 16px;
  }

  /* tel表示 */
  .header-telephone {
    margin-left: auto;
  }

  .header-telephone dl {
    display: flex;
    align-items: flex-start;
    width: auto;
  }

  .header-telephone dl .tel_leadtxt {
    color: #232b39;
  }

  .header-telephone dl dt {
    width: auto;
    padding: 5px 10px 3px 10px;
  }

  .header-telephone dl dt:before {
    position: absolute;
    top: 50%;
    right: -9px;
    transform: translateY(-50%);
  }

  .header-telephone dl dd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* キーワード検索 */
  /* SP用非表示 */
  .search__wrap--sp {
    display: none;
  }

  /* PC用設定 */
  .box-keywords_seach {
    flex: auto;
    width: 100%;
    max-width: 490px;
    margin-left: 0;
    margin-right: auto;
  }

  .box-keywords_seach .box-search {
    display: flex;
    margin: 0;
    padding: 9px 0;
  }

  .box-search p {
    margin: 0;
  }

  .box-search p:first-child {
    width: 100%;
    max-width: 440px;
    margin-right: 2px;
  }

  .box-search p input::-webkit-input-placeholder,
  .box-search p input::-moz-placeholder,
  .box-search p input:-ms-input-placeholder {
    color: #999999;
  }

  /* 検索ボタン */
  .btn-search {
    width: auto;
    height: auto;
    padding: 2px 9px;
    background-color: #ECF4E1;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-search>i {
    padding: 0;
    color: #05AA22;
    font-size: 30px;
  }

  /*LPではheader-secondを非表示にしている*/
  .header-second {
    display: none;
  }
  
  /* SP：白背景/PC：緑背景 */
  .header-second .area-second {
    margin: 0 auto;
  }

  .header-second .area-second .header-lists {
    position: relative;
    max-width: 1000px;
    height: auto;
    background: transparent;
    border-bottom: none;
  }

  .header-second .area-second .header-lists::after {
    display: none;
  }

  .header-second .area-second .header-lists li {
    width: auto;
    margin: 0;
  }

  .header-second .area-second .header-lists li.visible-md {
    height: auto;
  }

  .header-second .area-second .header-lists li:first-child {
    display: none;
  }

  .header-second .area-second .header-lists li.box-check {
    width: auto;
    margin: 0;
  }

  .header-second .area-second .header-lists li a {
    flex-direction: row;
    padding: 0 10px;
    font-size: 1.125rem;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
  }

  .header-second .area-second .header-lists li a i {
    vertical-align: top;
    color: #fff;
    font-size: 1.75rem;
    margin: 0 6px 0 0;
    display: inline-block;
  }

  /* ハンバーガーメニュー */
  /* トグルボタン */
  .togglenav-btn {
    display: none;
  }

  /*common_responsive*/
  .header-container {
    line-height: 1;
    margin: 0 auto 4px;
    max-width: 1000px;
  }

}