/** Custom Select **/
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  user-select: none;
}
  .custom-select-wrapper select {
    display: none;
  }
  .custom-select {
    position: relative;
    display: inline-block;
  }
    .custom-select-trigger {
      position: relative;
      cursor: pointer;
    width: 120px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6rem;
    font-size: 1.4rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    background: #333;
    color: #fff;
    line-height: 1;
    border-radius: 3px;
    }
      .custom-select-trigger:after {
        position: absolute;
        display: block;
        content: '';
        width: 10px; height: 10px;
        top: 50%; right: 7px;
        margin-top: -3px;
        border-bottom: 1px solid #fff;
        border-right: 1px solid #fff;
        transform: rotate(45deg) translateY(-50%);
        transition: all .4s ease-in-out;
        transform-origin: 50% 0;
      }
      .custom-select.opened .custom-select-trigger:after {
        margin-top: 3px;
        transform: rotate(-135deg) translateY(-50%);
      }
  .custom-options {
    position: absolute;
    display: block;
    top: 100%; left: 0;
    min-width: 80%;
    margin: 5px 0;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 2px 1px rgba(0,0,0,.07);
    background: #fff;
    transition: all .4s ease-in-out;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
  }
  .custom-select.opened .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }
    .custom-options:before {
      position: absolute;
      display: block;
      content: '';
      bottom: 100%; left: 25px;
      width: 7px; height: 7px;
      margin-bottom: -4px;
      border-top: 1px solid #b5b5b5;
      border-left: 1px solid #b5b5b5;
      background: #fff;
      transform: rotate(45deg);
      transition: all .4s ease-in-out;
    }
    .option-hover:before {
      background: #f9f9f9;
    }
    .custom-option {
      position: relative;
      display: block;
      padding: 0 22px;
      border-bottom: 1px solid #ddd;
      font-size: 16px;
      font-weight: 600;
      color: #000;
      line-height: 44px;
      cursor: pointer;
      transition: all .4s ease-in-out;
    }
    .custom-option:first-of-type {
      border-radius: 4px 4px 0 0;
    }
    .custom-option:last-of-type {
      border-radius: 0 0 4px 4px;
    }
    .custom-option:hover,
    .custom-option.selection {
      background: #f9f9f9;
    }
    
    /* ドロップダウン関連 */

    /* 通常時は非表示 */
.child_menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #bd202b;
  /* ドロップダウンメニューを透明化 */
  opacity: 0;
  /* 透明化だけではクリックできてしまうので以下も追記 */
  visibility: hidden;
  /* フェードで表示非表示される時間の指定 */
  transition: all 1s;
  width: 100%;
  white-space: nowrap;
  flex-flow: column;
  z-index: 1;
}
.dropdown {
    position: relative;
}
/* ナビゲーション下矢印部分 */
.dropdown::after {
  content: '';
  position: absolute;
  top: 43%;
  right: 10px;
  transform: rotate(135deg);
  width: 5px;
  height: 5px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.dropdown:hover+.dropdown_menu,
.dropdown_menu:hover {
  visibility: visible;
  opacity: 1;
}
.sub_nav_box ul.child_menu li{
  width: 100%;
}
.sub_nav_box ul.child_menu li:before{
  background: none;
}
.sub_nav_box ul.child_menu li:last-child:after {
    background: none;
}
.child_menu li {
  padding: 0;
}
.child_menu li a {
  display: block;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.5);
  color: #444;
  font-size: 14px;
  font-weight: bold;
}
.child_menu li a:hover {
  background-color: #acacac;
}
@media screen and (max-width:767px) {
	.custom-select-trigger {
		width: 120px;
		height: 22px;
		margin-right: 1rem;
	}
	.custom-option {
		font-size: 12px;
		padding: 8px 12px;
		line-height: 1.4;
	}
	.dropdown::after{
		display: none;
	}
}