@charset "utf-8";
/*
  CSS のみのドロップダウンメニュー
  Copyright Rectus Inc, 2019
  https://www.rectus.co.jp/
 */

/* custom Def theme  */
#navi, .menu > li a {z-index: 9999;}
#navi, .menu > li a {
background: #3253f5; /* Old browsers */
background: -moz-linear-gradient(top, #3253f5 0%, #0034d8 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #3253f5 0%,#0034d8 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #3253f5 0%,#0034d8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3253f5', endColorstr='#FF0000',GradientType=0 ); /* IE6-9 */
}
.menu > li a:hover{
background: #3253f5; /* Old browsers */
background: -moz-linear-gradient(top, #3253f5 0%, #5c78ff 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #3253f5 0%,#5c78ff 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #3253f5 0%,#5c78ff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3253f5', endColorstr='#FF0000',GradientType=0 ); /* IE6-9 */
opacity:1;
}

#navi{border-bottom:0px solid #1c2b77;}
.menu > li a{padding: 20px 30px; color:#fff; font-weight: bold; border-right: 1px solid rgba(255,255,255,.3);}
.menu > li:first-child a{ border-left: 1px solid rgba(255,255,255,.3);}

@media screen and (max-width: 1000px) {
.menu > li a{font-size:13px; padding: 20px 15px;}
}
@media screen and (max-width: 768px) {
.menu > li a{font-size:11px; padding: 20px 10px; font-weight:normal;}
}

@media screen and (max-width: 500px) {
#navi{
background: rgba(0,0,0,.5) !important; /* Old browsers */
background: -moz-linear-gradient(top, #3253f5 0%, #0034d8 0%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #3253f5 0%,#0034d8 0%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #3253f5 0%,#0034d8 0%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3253f5', endColorstr='#0034d8',GradientType=0 ); /* IE6-9 */
}
#navi{border-bottom:0;}
.menu > li a{padding:15px; border-right:0; font-size:14px; font-weight: bold;}
.menu > li:first-child a{ border-left:0;}
.menu > li a:hover{opacity:1;}
}
    
#navi {
/*  background-color:#eee;*/
/*  position: fixed;
  top: 0;
  left: 0;
*/
    width: 100%;
/*
  height: 60px;
*/
    
}
/* チェックボックスを非表示 */
#navi input {
  display: none;
}
/* 左上ロゴ */
.menu-left {
/*
    float: left;
  line-height: 60px;
*/
}

.menu-left img {
/*  vertical-align: middle;
  margin-left: 10px;
*/}

/* 上部メニュー */
.menu {
    /*
  float: right;
  margin-right: 10px;
*/
    list-style:none;
    display: table;
    margin: 0 auto;
}
.menu > li {
    display: table-cell;
    /*
  float: left;
  margin-right: 30px;
  line-height: 60px;
  font-size: 17px;
  font-weight: bold;
  white-space: nowrap;
*/
}
.menu > li a{display:inline-block; line-height: 1; white-space: nowrap; text-decoration: none;}
/* パソコンでは V を非表示 */
.menu-parent .pd {
  display: none;
}
/* 上部メニューの最後の項目 */
.menu-parent:last-child {
  margin-right: 0px;
}

#menu-navibtn {
  display: none;
  cursor: pointer;
  cursor: hand;
}
@media screen and (max-width: 500px) {
  /* スマホの際に V を表示 */
  .menu-parent .pd {
    display: inline-block;
    width: 100%;
  }
  .menu {
    padding: 60px 0 0 0;
    display: inherit;
    display: none;
  }
  .menu > li {
    display: inherit;
    height: auto;
    width: 100%;
    padding: 0px; margin: 0;
    border-bottom: 1px solid #DDD;
  }
    .menu > li a{display:block; text-align: center;}
  .menu > li:first-child {
    border-top: 1px solid #DDD;
  }
/*
    .menu-parent i {
    padding: 0px 6px;
  }
*/
    /* メニューを移動させないため */
  #menu-navibtn:checked ~ #navi {
/*
      position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;

*/    height: 100%;
    }
}

/* ドロップダウンメニュー */
/*
.menu > li {
  position: relative;
}
*/
/*
.menu > li .menu-child {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  margin-left: -40px;
  width: auto;
  box-sizing: border-box;
  padding: 0px 20px;
  background-color: #FFF;
  border: 1px solid #000;
}
*/

#navi label{cursor: pointer;}

/* パソコン用 */
@media screen and (min-width: 500px) {
/*
    .menu-parent:hover .menu-child {
    visibility: visible;
    opacity: 1;
  }
*/
}
/* スマホ用 */
@media screen and (max-width: 500px) {
#navi{position: fixed; top:0;}
  /* ハンバーガーメニューがクリックされた時 */
  #menu-navibtn:checked ~ * .menu {
    display: block;
    opacity: 1;
  }
  #menu-navibtn:checked ~ * .menu-parent {
    max-height: inherit;
    overflow-y: visible;
  }
  #menu-navibtn:checked ~ * .menu-child {
    max-height: 0;
    overflow-y: hidden;
    visibility: hidden;
  }
  /* 子メニュー */
  .menu-parent .menu-child {
    border-top: 1px solid #DDD;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    position: relative;
    padding: 0 20px;
    opacity: 1;
    top: 0;
    margin-left: auto;
    left: auto;
    width: auto;
  }
  .menu-parent > label:hover {
    cursor: pointer;
    cursor: hand;
  }
  /* 子メニューがクリックされた時 */
  #navi input[type="checkbox"]:checked ~ .menu-child {
    max-height: inherit;
    overflow-y: visible;
    visibility: visible;
  }
  .angletoggle:before {
    content: "\f107";
  }
  #navi input[type="checkbox"]:checked ~ * .angletoggle:before {
    content: "\f106";
  }
}
/* 子メニュー */
.menu-child li {
  font-size: 14px;
  border-bottom: 1px solid #DDD;
}
/* 余分な最後の線を消去 */
.menu-child li:last-child {
  border: none;
}
.menu-child li i {
  margin-right: 3px;
}

/* ハンバーガー */
#navi #navibtn {
  display: none;
}
@media screen and (max-width: 500px) {
  #navi #navibtn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  #navibtn span {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #333;
  }
  #navibtn span span {
    display: block;
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  #navibtn span span::before,
  #navibtn span span::after,
  #navibtn span::after {
    position: absolute;
    left:10px;
    content:"";
    width: 20px;
    height: 3px;
    background-color: #FFF;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:19px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  /* 下の棒 */
  #navibtn span::after {
    bottom:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn > span::after {
    bottom:18px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  /* 中の棒 */
  #navibtn span span::after {
    top:18px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }
}


/*固定*/
.fix{position: fixed; top: 0px; z-index: 9999; width: 100%;}