@charset "UTF-8";

/* ---- header_navi_wrapper ------- */
header .header_navi_wrapper {
  background: #333333;
  font-style: normal;
  box-shadow: 0px 1px 1px 0 rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 40px;
}

@media screen and (max-width: 950px) {
  header .header_navi_wrapper {
    display: none;
  }
}

/* ---- header .header_navi_wrapper .navi ------- */
header .header_navi_wrapper .navi {}

header .header_navi_wrapper .navi ul {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  gap: 4rem;
}

header .header_navi_wrapper .navi ul ul {
  display: block;
}

header .header_navi_wrapper .navi ul>li {
  list-style: none;
  color: #fff;
  font-size: 90%;
}

header .header_navi_wrapper .navi ul>li a {
  color: #fff;
}

header .header_navi_wrapper .navi li .hover-box {
  width: 100%;
  height: 100%;
  display: table;
  position: relative;
}

header .header_navi_wrapper .navi ul li .hover-box {
  text-decoration: none;
  transition: all .3s;
  display: table-cell;
  vertical-align: middle;
  font-weight: bold;
}

header .header_navi_wrapper .navi ul>li:last-child .hover-box a {
  font-size: 85%;
  letter-spacing: 0em;
}

header .header_navi_wrapper .navi ul li a:hover {
  color: #F0E68C;
}

/*2階層目以降の画像設定*/
header .header_navi_wrapper .navi ul li .hover-box {
  height: 40px;
  list-style: none;
  text-align: center;
}

header .header_navi_wrapper .navi ul li .hover-box:hover::after {
  visibility: visible;
  bottom: 0px;
  opacity: 1;
}

header .header_navi_wrapper .navi li.has-child ul {
  position: absolute;
  left: 0;
  top: 40px;
  z-index: 4;
  background: #f5f5f5;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  padding: 40px 0 40px;
  margin: 0 calc(50% - 50vw);
  /*width: 100vw;*/
  width: 100vw;
  /*全体はみ出し応急処置*/
  box-sizing: border-box;
}

header .header_navi_wrapper .navi li.has-child:hover>ul {
  visibility: visible;
  opacity: 1;
  box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
}

header .header_navi_wrapper .navi li.has-child ul .menu_box {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

header .header_navi_wrapper .navi li.has-child ul .menu_box h3 {
  color: #00AB84;
  font-size: 2rem;
  margin-bottom: 10px;
}

.menu_box h4 {
  font-size: 1.8rem;
  margin-top: 10px;
  font-weight: 900;
  color: #209cff;
}

header .header_navi_wrapper .navi li.has-child ul .menu_box p {
  margin: 0 0 40px 0;
  font-size: 1.4rem;
  color: #333333;
}

.menu_box_wrap {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.menu_box_wrap a {
  font-weight: bold;
  color: #333 !important;
  padding: 0rem 0rem 1rem 0rem;
  border-bottom: 1px dotted #333333;
}

.menu_box_wrap a:hover {
  color: #00AB84 !important;
  border-bottom: 1px dotted #00AB84;
}

/*　-- Gnavi --　*/
@media screen and (max-width: 950px) {
  .switch_contents {
    overflow: scroll;
    padding: 0 2rem;
  }

  .sub_title {
    color: #fff;
  }

  .switch_cate_title {
    border-bottom: 0.5px solid #fff;
    position: relative;
    cursor: pointer;
    width: 100%;
    text-align: left;
  }

  .switch_cate_title a {
    width: 100%;
    color: #fff;
    padding: 20px 30px 20px 0;
    display: block;
  }

  .plus_link {
    margin: 0px 0 0 auto;
    cursor: pointer;
  }

  .switch_btn {
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    display: block;
    width: 16px;
    height: 16px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 50%;
  }

  .switch_btn:before,
  .switch_btn:after {
    display: block;
    content: '';
    background-color: #fff;
    position: absolute;
    width: 16px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s;
  }

  .switch_btn:before {
    width: 1px;
    height: 20px;
  }

  .plus_link.selected .switch_btn:before {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .sub_cont {
    display: none;
    background: #F4F4F4;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
  }
  .sub_cont h3{
    color: #00AB84;
    font-weight: bold;
  }

  .sub_cont h4{
    color: #00AB84;
    padding: 2rem 0rem 1rem 0rem;
    border-bottom: 1px dotted #333;
  }
  .sub_cont_list {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
  }

  .sub_cont p {
    text-align: justify;
    color: #333;
    line-height: 1.6;
    margin: 1rem auto 1rem auto;
  }

  .sub_cont_list a {
    width: 100%;
    color: #333 !important;
    font-weight: bold;
    text-align: left;
    font-size: 1.4rem;
    padding: 1rem 0rem;
    border-bottom: 1px dotted #333;
    position: relative;
  }
  .sub_cont_list a::before {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 3px);
    right: 0px;
    width: 15px;
    height: 3px;
    border: none;
    border-right: 2px solid #333;
    border-bottom: 1px solid #333;
    transform: skew(45deg);
    transition: .3s;
  }

  .sub_cont_list a:hover::before {
    right: 0px;
    width: 20px;
    border-right: 2px solid #333;
    border-bottom: 1px solid #333;
  }
  .arrowbtn_navilist::before {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 3px);
    right: 0px;
    width: 15px;
    height: 3px;
    border: none;
    border-right: 2px solid #fff;
    border-bottom: 1px solid #fff;
    transform: skew(45deg);
    transition: .3s;
  }

  .arrowbtn_navilist:hover::before {
    right: 0px;
    width: 20px;
    border-right: 2px solid #fff;
    border-bottom: 1px solid #fff;
  }
}

.modal {
  display: none;
}
.modal__btn {
  margin-top: .15rem;
  text-align: center;
  font-family: din-2014, sans-serif;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .25em;
}
