
/*　ハンバーガーボタン　*/
.menu_panel{
  width:930px;
  margin:0 auto;
  position: relative;
  overflow: hidden;
  margin-top:3em;
}
.menu_panel p{
  border-bottom:2px solid #cccccc;
  padding:0.8em 0;
}

.menu_panel_hidari{
  float: left;
  width:280px;
  margin-right:2em;
}
.menu_panel_migi{
  float: left;
  width:280px;
}
.hamburger {
  display : block;
  position: fixed;
  z-index : 10;
  right : 0px;
  top   : 0px;
  width : 50px;
  height: 50px;
  cursor: pointer;
  text-align: center;
  border:1px solid #111;
  background-color:#0b2846;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 10px;
  background : #fff;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 15px;
}
.hamburger span:nth-child(2) {
  top: 25px;
}
.hamburger span:nth-child(3) {
  top: 35px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 22px;
  left: 11px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 22px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp ul {
  background: #fff;
  margin: 0 auto;
  padding: 0 0 1em 0;
  width: 100%;
  border-bottom:1px solid #ccc;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0 0 0 1em;
  width: 100%;
  border-bottom: 1px solid #fff;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
nav.globalMenuSp ul li:hover{
  background :#ddd;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #000;
  padding: 0.5em 0 0.5em 1em;
  text-decoration :none;
}

/* mbだけのCSS */
@media screen and (max-width: 480px) {
  nav.globalMenuSp {
    position: fixed;
    z-index : 3;
    top  : 60;
    left : 0;
    color: #111;
    background: #fff;
    text-align: center;
    transform: translateX(100%);
    transition: all 0.6s;
    width: 100%;
    text-align:left;
    opacity : 0;
    height:100vh;
  }
  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    opacity : 1;
    transform: translateX(0%);
  }

}

/* PCだけのCSS */
@media screen and (min-width: 980px) {
  nav.globalMenuSp {
    position: fixed;
    z-index : 3;
    top  : 60;
    right : 0;
    color: #111;
    background: #fff;
    text-align: center;
    transition: all 0.6s;
    transform: translateX(100%);
    width: 400px;
    height:100vh;
    text-align:left;
    opacity : 0;
  }
  nav.globalMenuSp.active {
    opacity : 1;
    transform: translateX(0%);
  }
  .menu_width{
    width:250px;
  }
}



/* ーーーーーーーーーー */
/* アコーディオン */
/* ーーーーーーーーーー */
.accordion {
  max-width: 100%;
}

/*------------------------------

ここからアコーディオンのCSS

------------------------------*/
/* チェックボックスは非表示 */
.accordion-hidden{
  display: none;
}

/* Question部分 */
.accordion-batu {
  display: block;
  padding: 1.5em 10px 1.5em 2em;
  background: #ffffff;
  cursor: pointer;
  border-bottom:1px solid #ccc;
  margin: 5px 0;
  /* font-weight: 700; */
  position: relative;/* 変更部分 */
}
.accordion-open {
  display: block;
  padding: 10px 10px 10px 2em;
  background: #ffffff;
  cursor: pointer;
  border-bottom:1px solid #ccc;
  margin: 5px 0;
  /* font-weight: 700; */
  position: relative;/* 変更部分 */
}
/* 開閉状態を示すアイコン+の作成 */
.accordion-open::before,
.accordion-open::after {
  content: '';
  width: 20px;
  height: 2px;
  background: #ccc;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

/* 一本は縦にして+を作る */
.accordion-open::after {
  transform: translateY(-50%) rotate(90deg);
  transition: .5s;
}

/* アコーディオンが開いたら縦棒を横棒にして-にする */
.accordion-hidden:checked + .accordion-open:after {
  transform: translateY(-50%) rotate(0);
}

/* Answer部分 */
.accordion-close {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: 0.5s;/* 表示速度の設定 */
}

/* チェックボックスにチェックが入ったらAnswer部分を表示する */
.accordion-hidden:checked + .accordion-open + .accordion-close {
  height: auto;
  opacity: 1;
  padding: 10px;
  background: #fff;
  /* font-weight: 700; */
}
/* mbだけのCSS */
@media screen and (max-width: 480px) {

}

/* PCだけのCSS */
@media screen and (min-width: 980px) {
  .accordion-open {
    display: block;
    padding: 10px;
    background: #ffffff;
    cursor: pointer;
    border-bottom:1px solid #ccc;
    margin: 5px 0;
    /* font-weight: 700; */
    position: relative;/* 変更部分 */
  }

}
