@charset "UTF-8";

/*----------------------------------------
	メニュー方式
----------------------------------------*/
.nav_test {
  /* 閉じている状態 */
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  /* 閉じるアニメーション */
  transition:
    line-height .3s ease-out,
    opacity     .1s linear,
    visibility  .1s linear;
}

.nav_test.is-open {
    /* 開いている状態 */
  line-height: 1.5;
  opacity: 1;
  visibility: visible;
  /* 開くアニメーション */
  transition:
    line-height .3s ease-out,
    opacity     .1s linear .1s,
    visibility  .1s linear .1s;
}

/*----------------------------------------
	Hamburger
----------------------------------------*/
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 60px;
  height: 60px;
  padding: 10px;
  background: #509422;
  border: 0;
  color: #fff;
  cursor: pointer;
}
/*三本線*/
.hamburger__line {
  position: relative;
  top: 12px;
  width: 30px;
  height: 2px;
  background: #fff;
}
.hamburger__line::before,
.hamburger__line::after {
  position: absolute;
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
.hamburger__line::before {
  top: -8px;
}
.hamburger__line::after {
  bottom: -8px;
}
/*ボタンテキスト*/
.hamburger__txt {
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
}

/*OPEN時スタイル*/
.hamburger.is-open .hamburger__line{
  background: transparent;
}
.hamburger.is-open .hamburger__line::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger.is-open .hamburger__line::after {
  bottom: 0;
  transform: rotate(-45deg);
}
@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/*----------------------------------------
	Gnav
----------------------------------------*/
@media screen and (max-width: 959px) {
  .gnav {
    display: none;
    position: fixed;
    top: 61px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    padding: 50px 20px;
    background: #dbe7db;
    text-align: center;
    overflow-y: auto;
  }
  .gnav__list {
    border-top: 1px dashed #aaa;
  }
  .gnav__item {
    border-bottom: 1px dashed #aaa;
  }
  .gnav__link {
    display: block;
    padding: 20px;
    color: #000;
    font-weight: bold;
  }
}
@media screen and (min-width: 960px) {
  .gnav {
    display: block !important;
  }
  .gnav__list {
    display: flex;
  }
  .gnav__item {
    margin: 0 1em;
  }
  .gnav__link {
    position: relative;
    display: block;
    padding: 1em 0;
    color: #000;
    font-weight: bold;
  }
  .gnav__link::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 4px;
    background: #509422;
    transition: transform 0.3s;
    transform: scale(0,1);
  }
  .gnav__link:hover::before {
    transform: scale(1,1)
  }
}


/* 表示/非表示切替 */
.toggleElement {
  display: none;
  transition: display 0.5s ease; /* opacityの値を0.5秒かけて変化 */
}


/* アコーディオン　jquery  投稿フォームに適用 */
/* jquery用 */

/* 必須 */

.accordion-content {
  display: none;
}


/* 装飾用 */
/* body {
  font-family: 'Noto Sans JP', sans-serif;
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto;
  background: #75E1D6;
  } */
  
.accordion {
  border-bottom: 1px dashed #ccc;
}

.accordion-header {
  background-color: #FFF;
  padding: 15px 45px 15px 0;
  /* padding: 12px 45px 10px 20px; */
  /* margin: 10px 0 0; */
  transition: background .3s ease;
  cursor: pointer;
  position: relative;
}

.accordion-header:not(:first-child) {
  border-top: 1px dashed #ccc;
  /* border-bottom: 1px dashed #ccc; */
}

.accordion-header::before,
.accordion-header::after{
  position:absolute;
  content:'';
  top:1px;
  right:20px;
  bottom:0;
  width:12px;
  height:2px;
  margin:auto;
  background:#151E2F;
}
.accordion-header::after{
  transform:rotate(-90deg);
  transition:transform 0.3s;
}
.accordion-header.active::after{transform:rotate(0deg);}

.accordion-content {
  background-color: #FFF;
  /* padding: 12px 20px 10px; */
  border-bottom: 1px dashed #ccc;
}

.accordion-header span,
.accordion-content span{
  padding-left: 0;
  /* padding-left: 25px; */
  position: relative;
}

/* .accordion-header span::before{
  position: absolute;
  content:"Q";
  top: 2px;
  left: 0;
  color: #151E2F;
  font-size: 17px;
} */

/* .accordion-content span::before{
  position: absolute;
  content:"A";
  top: 3px;
  left: 0;
  color: #151E2F;
  font-size: 17px;
} */

/* hover */
.accordion-header:hover {
  background-color: #F2F2F2;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}