/* スマホ閲覧時のハンバーガーメニュー */
#hanburger {
  display: none; /* チェックボックスを非表示 */
}
.menu_button { /* ボタンのスタイル */
  width: 50px; /* 幅 */
  height: 50px; /* 高さ */
  position: fixed;
  top: 20px;
  right: 20px;
  background: #3C4B96; /* 背景色 */
  border: 1px solid #FFF;
  z-index: 2000;
}
.menu_button::before { /* アイコンのスタイル */
  font-family: "Font Awesome 5 Free";
  content: "\f0c9"; /* アイコン「３本線」 */
  font-weight: 900;
  position: absolute;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#hanburger:checked + .menu_button::before { /* アイコンのスタイル（チェック済み） */
  content: "\f00d"; /* アイコン「×印」 */
}
.global_menu { /* メニュー全体のスタイル */
  visibility: hidden; /* メニューを非表示 */
  width: 100%;
  height: 100%;
  position: fixed;
  
  top: 0;
  left: 0;
  padding: 30px;
  color: #3F444E; /* 文字色 */
  background: #FFF; /* 背景色 */
  overflow-y: scroll;
  z-index: 1000;

}
.global_menu ul li {
  list-style: none;
}
.global_menu ul li ul li {
  background-color: #636784;
}
#hanburger:checked ~ .global_menu { /* メニュー全体のスタイル（チェック済） */
  visibility: visible; /* メニューを表示 */
}
.global_menu a:link, a:visited, a:active { /* 各項目のスタイル */
  width: 100%;
  text-decoration: none;
}
.global_menu a:hover { /* 各項目のスタイル（ホバー時） */
  background: #4F5474;
  display: block;
}
.menu > a { /* 親項目のスタイル */
  font-weight: bold;
}
.menu .menu01:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-bottom: solid 2px #3C4B96;
  border-right: solid 2px #3C4B96;
  transform: rotate(45deg);
  position: absolute;
  top: 0px;
  right: 5px;
  bottom: 0;
  margin: auto;
}
.child_menu {
  display: none;
}
    
.child_menu ul {
  list-style: none;
  background-color: #636784;
}
.child_menu > li > ul {
  padding: 10px 0px;
}
.child_menu > li a {
  color: #FFF;
  display: block;
  padding: 8px 20px;
}
.child_menu > li > ul > li a:link {
  background-color: #636784;
  color: #FFF;
  display: block;
  padding: 8px 20px;
}
.child_menu > li > ul > li a:hover { /* 各項目のスタイル（ホバー時） */
  background: #595D7C;
  display: block;
}
.child_menu p {
  background-color: #595D7C;
  position: relative;
  color: #FFF;
  border-bottom: none;
}
.child_menu p:after {
  content: '';
  width: 10px;
  height: 10px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #E5005A;
  position: absolute;
  left: 20px;
  top: 30px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
.child_menu p a {
  color: #FFF;
  width: 100%;
  border-bottom: 1px solid #4F5474;
  padding: 20px 40px;
  cursor: pointer;
  display: block;
  margin: 0px auto;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
.child_menu p a:hover {
  opacity: 0.5;
}
.toggle_title {
  font-weight: bold;
  line-height: 65px;
  margin: 0;
  padding: 0 0 0 0px;
  position: relative;
  cursor: pointer;
  border-bottom: 1px solid #E2E4EF;
}
.nav_indent {
    text-indent: 1em;
}
.home_pc {
  display: none;
}
.home_sp {
  display: block;
}

@media screen and (min-width: 1200px) {
  .menu_button {
    display: none; /* ハンバーガーメニューのボタンを非表示 */
  }
  .global_menu { /* メニュー全体のスタイル */
    position: relative;
    padding: 0;
    color: #3F444E; /* 文字色 */
    background: #FFF; /* 背景色 */
    visibility: visible;
    overflow-y: visible;
    z-index: 1000;
  }
  .global_menu a:hover { /* 各項目のスタイル（ホバー時） */
    background: none;
  }
  .global_menu ul.f_m {
    margin: 0px auto;
    width: 100%;
    text-align: center;
  }
  .menu, .child_menu > li {
    display: inline-block;
    text-align: left;
  }
  .menu:not(:last-child) {
    margin-bottom: 0;
  }
  .menu .menu01 {
    position: relative;
    padding: 15px 20px 15px 10px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #3F444E;
  }
  .child_menu { /* 下層メニューのスタイル */
    padding-inline: calc((100vw - 1200px) / 2);
    width: 100%;
    position: absolute;

    left: 0;
    color: #333; /* 文字色 */
    background-color: rgba(60, 75, 150, .9); /* 背景色 */
    visibility: hidden; /* 下層メニューを非表示 */
    opacity: 0;
    transition: 0.3s top, 0s opacity; /* アニメーション設定 */
    padding-top: 40px;
    padding-bottom: 40px;
    display: inline-flex;
    flex-wrap: wrap;
  }
  .menu:hover .child_menu { /* 下層メニューのスタイル（親項目ホバー時） */
    top: 100%; /* 定位置に戻す */
    opacity: 1;
    visibility: visible; /* 下層メニューを表示 */
  }
  .child_menu p {
    margin: 0px 0px 0px 0px;
    border-bottom: 1px dotted #FFF;
    background: none;
  }
  .child_menu p.bo_none{
    margin: 0px 0px 0px 0px;
    border-bottom: none;
    background: none;
  }
  .child_menu ul {
    padding: 0px 0px;
    background: none;
  }
  .global_menu ul li ul li {
    background: none;
  }
  .child_menu p a {
    padding: 20px 0px 20px 20px;
    border-bottom: none;
  }
  .child_menu p:after {
    left: 0px;
  }
  .child_menu > li > ul > li a:link {
    background: none;
    padding: 8px 0px;
  }
  .child_menu > li > ul > li a:hover { /* 各項目のスタイル（ホバー時） */
    opacity: 0.5;
  }
  .width {
    width: 275px;
    margin: 0px 10px;
  }
  .toggle_title {
    border-bottom: none;
  }
  .home_sp {
    display: none;
  }
}
@media screen and (min-width: 1260px) {
  .menu .menu01 {
    padding: 15px 20px 15px 20px;
  }
    }