@charset "utf-8";
/* CSS Document */

/* PC時からハンバーガーメニューの場合は#sp_boxのみ削除  */
#open_menu,
#sp_box {
  display: none;
}

/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */

#spicon span {
  border-bottom: 2px solid #ffffff;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
#spicon:before {
  color: #ffffff;
}
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#spicon.m_active span:nth-child(1) {
  border-color: #436d15;
}
#spicon.m_active span:nth-child(3) {
  border-color: #436d15;
}
#spicon.m_active:before {
  /*color: #FFF;*/
}
#spicon.m_active {
  background-color: #f9f6ec;
}
/* 開閉後の背景の色 */
#center_box {
  background-color: #f9f6ec;
}

/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
  position: relative;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  width: 70px;
  height: 70px;
  z-index: 99999;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 18px;
  background-color: #436d15;
}

#spicon span {
  width: 100%;
  height: 2px;
  transition: all 0.4s;
}

/* ボタンを押した後のボタンのスタイル */
#spicon.m_active span:nth-child(1) {
  transform: translateY(12px) rotate(-35deg);
}

#spicon.m_active span:nth-child(2) {
  opacity: 0;
}

#spicon.m_active span:nth-child(3) {
  transform: translateY(-12px) rotate(-145deg);
}

/**************************************
	メニューオープン
***************************************/

#open_menu {
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  z-index: 9900;
  top: 0;
  left: 0;
  width: 100%;
}

#center_box {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
  height: 100vh;
  display: block;
  overflow-y: scroll;
  padding: 30px 0 180px;
  z-index: 9908;
}

#close {
  position: absolute;
  text-align: center;
  bottom: -20px;
  left: 0;
  width: 100%;
  color: #e68a00;
  font-size: 20px;
  z-index: 9990;
}

@media only screen and (max-width: 1300px) {
  #sp_box {
    display: block;
    margin-left: auto;
  }
  .m_width {
    max-width: 550px;
    min-width: 550px;
    margin: 0 auto;
  }
  .sp_menu_logo {
    width: 360px;
  }
  .page_link {
    border-top: 1px solid #d7d1b7;
  }
  .page_link > li {
    border-bottom: 1px solid #d7d1b7;
  }
  .page_link > li > a {
    display: block;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    line-height: 1.5;
    font-size: 1.9rem;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .page_link > li > a:has(+ ul) {
    padding-bottom: 15px;
  }
  .page_link > li > a::before {
    content: "-";
    color: #70943e;
    margin-right: 0.3em;
  }

  .page_link li ul {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
  }
  .page_link li ul li:nth-child(odd) {
    width: 48%;
  }
  .page_link li ul li a {
    display: block;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: 1.6rem;
    padding-left: 1em;
    line-height: 1.5;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    color: #707070;
  }

  .page_link li a:hover {
    opacity: 0.7;
  }
  .page_link_policy a {
    display: block;
  }
}
@media only screen and (max-width: 768px) {
  #spicon {
    position: fixed;
    top: 0;
    right: 0;
  }
}
@media only screen and (max-width: 480px) {
  .m_width {
    width: 90%;
    min-width: auto;
  }
}
