@charset "UTF-8";
/* ///// gnav ///////////////////////////////// */
#gnav_wrap {
 position: sticky;
 top: 0;
 left: 0;
 z-index: 100;
}

#gnav_cont {
 display: flex;
 align-items: center;
 justify-content: space-between;
 width: 100%;
 height: 80px;
 background-color: #ffffff;
 filter: drop-shadow(0px 0px 5px rgba(104, 73, 161, .5254901961));
}

#gnav_cont ul {
 display: flex;
}

.p_nav_menu {
 padding: 0 5%;
 width: 80%;
}

.p_nav_menu li:not(:last-child) {
 margin-right: 5%;
}

.p_nav_menu li {
 display: flex;
 align-items: center;
 height: 3rem;
}

.p_nav_menu li a {
 color: #003c37;
 text-decoration: none;
 word-break: keep-all;
 font-weight: bold;
 font-size: min(30px, 7vw);
 font-family: serif;
}

@media (min-width: 769px) {
 .p_nav_menu li:not(:last-child) {
  padding-right: 5%;
  border-right: 1px solid #000000;
 }
}
.nav_link {
 justify-content: space-between;
 padding-right: 4%;
 width: 8%;
}

.nav_link li {
 width: 46%;
 height: auto;
}
@media (max-width: 769px) {
 .nav_link li {
  width: 24%;
 }
}

section[id^=n_] {
 scroll-margin-top: 80px;
}

/* ///////////////////////////// */
/* sp */
#gnav_input ,
#gnav_close {
 display: none;
}

@media (max-width: 900px) {
 #gnav_wrap {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 50px;
  background: #ffffff;
  background-size: cover;
  background-repeat: repeat-y;
 }
 #gnav_open:hover {
  opacity: .7;
  cursor: pointer;
 }
 /*アイコンのスペース*/
 #gnav_open {
  display: inline-block;
  position: absolute;
  top: 5px;
  right: 0;
  z-index: 99999999;
  margin: 10px 5px 0 10px;
  width: 30px;
  height: 22px;
  vertical-align: middle;
 }
 /*ハンバーガーアイコン*/
 #gnav_open span ,
 #gnav_open span:before ,
 #gnav_open span:after {
  display: block;
  position: absolute;
  width: 25px;
  height: 4px;
  border-radius: 3px;
  background: #000000;
  content: "";
  cursor: pointer;
 }
 #gnav_open span:before {
  bottom: -8px;
 }
 #gnav_open span:after {
  bottom: -16px;
 }
 /*閉じる用の薄黒カバー*/
 #gnav_close {
  display: none;
  position: fixed;
  top: 0;
  /*全体に広がるように*/
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
 }
 /*中身*/
 #gnav_cont {
  position: fixed;
  top: 0;
  right: 0;
  left: unset;
  z-index: 9999;
  overflow: auto;
  flex-direction: column;
  /*最前面に*/
  width: 200px;
  /*右側に隙間を作る（閉じるカバーを表示）*/
  height: 100%;
  transition: .3s ease-in-out;
  /*滑らかに表示*/
  transform: translateX(105%);
 }
 /*チェックが入ったらもろもろ表示*/
 #gnav_input:checked ~ #gnav_close {
  display: block;
  /*カバーを表示*/
  opacity: .5;
 }
 #gnav_input:checked ~ #gnav_cont {
  /*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
  transform: translateX(0%);
 }
 /* コンテンツ */
 #gnav_cont ul {
  align-items: center;
  flex-direction: column;
  width: 95%;
 }
 #gnav_cont .nav_link {
  flex-direction: row;
  justify-content: center;
  margin-bottom: 25%;
 }
 #gnav_cont .nav_link li:first-child {
  margin-right: 5%;
 }
 .p_nav_menu {
  padding: 35% 3% 0;
 }
 .p_nav_menu li {
  height: 1.5rem;
 }
 .p_nav_menu li:not(:last-child) {
  margin-right: 0;
  margin-bottom: 15%;
 }
}


/* ///////////////////////////// */
input {
 display: none;
}

#nav-content ul li:not(:last-child) {
 /* border-right: 1px solid #000000; */
}

#nav-drawer {
 position: sticky;
 top: 0;
 right: 0;
 z-index: 1;
 background-color: #ffffff;
}

#nav-content {
 display: flex;
 overflow: hidden;
 align-items: flex-start;
 flex-direction: row;
 justify-content: space-between;
 padding: 0;
 width: 100%;
 height: 100%;
}

.logo {
 padding: 0 0 0 0;
 width: 100%;
 text-align: center;
}

#nav-content .logo ul {
 display: flex;
 align-items: flex-end;
 flex-direction: row;
 justify-content: flex-end;
 padding: 1.5% 0;
 background: #c4d700;
}

#nav-content ul li {
 display: flex;
 align-items: flex-start;
 flex-direction: column;
 justify-content: flex-start;
 padding: 0 1.5%;
}

#nav-content ul li a {
 color: #003c37;
 text-decoration: none;
 word-break: normal;
 font-weight: bold;
 font-style: italic;
 /* font-size: clamp(14px, 1.7vw, 20rem); */
 font-size: clamp(14px, 1.3vw, 20rem);
 line-height: 100%;
 font-family: "Poppins";
}

#nav-content ul li:last-child {
    width: 0;
}

.presents a img {
 margin: 0 10px 45px;
 height: auto;
}

.opacity:hover {
 opacity: .7;
}

/*ソーシャルボタン*/
.social {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: row;
    justify-content: space-evenly;
    width: 30%;

}



.social a {
 display: block;
 margin: 0 1%;
 width: 33%;
 flex-grow: -9.5;
}

.social a img {
 width: 100%;
}

.social a:hover {
 opacity: .7;
}


@media screen and (max-width:1000px) {
 #nav-drawer {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 50px;
  background: #c4d700;
  background-size: cover;
  background-repeat: repeat-y;
 }

 #nav-content .logo ul {
  flex-direction: column;
  margin: 40% 5% 0;
  align-items: baseline;
 }

 #nav-content ul li a {
  font-size: 16px;
  text-align: start;
  padding: 5px;
 }

 .social{
  bottom: 2%;
  justify-content: center;
  flex-flow: column;
  margin: 0 6%;
  width: 100%;
 }
 #nav-open:hover {
  opacity: .7;
  cursor: pointer;
 }

 /*チェックボックス等は非表示に*/
 .nav-unshown {
  display: none;
 }

 /*アイコンのスペース*/
 #nav-open {
  display: inline-block;
  position: absolute;
  top: 5px;
  right: 0;
  z-index: 99999999;
  margin: 10px 5px 0 10px;
  width: 30px;
  height: 22px;
  vertical-align: middle;
 }

 .mainlogo_sp {
  width: auto;
  height: 100%;
 }
 #nav-content ul li:not(:last-child) {
  /* border-right: 0 solid #000000; */
 }

 /*ハンバーガーアイコンをCSSだけで表現*/
 #nav-open span ,
 #nav-open span:before ,
 #nav-open span:after {
  display: block;
  position: absolute;
  width: 25px;
  height: 4px;
  border-radius: 3px;
  background: #000000;
  content: "";
  cursor: pointer;
 }

 #nav-open span:before {
  bottom: -8px;
 }

 #nav-open span:after {
  bottom: -16px;
 } /*閉じる用の薄黒カバー*/
 #nav-close {
  display: none;
  /*はじめは隠しておく*/
  position: fixed;
  top: 0;
  /*全体に広がるように*/
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
 }

 /*中身*/
 #nav-content {
  position: fixed;
  top: 0;
  right: 0;
  left: unset;
  z-index: 9999;
  overflow: auto;
  /*最前面に*/
  width: 40%;
  /*右側に隙間を作る（閉じるカバーを表示）*/
  height: 100%;
  transition: .3s ease-in-out;
  /*滑らかに表示*/
  transform: translateX(105%);

  /*左に隠しておく*/
 }

 /*チェックが入ったらもろもろ表示*/
 #nav-input:checked ~ #nav-close {
  display: block;
  /*カバーを表示*/
  opacity: .5;
 }

 #nav-input:checked ~ #nav-content {
  background: #c4d700;
  /*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
  transform: translateX(0%);
 }
 .conts {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 0 0;
 }

 #nav {
  display: none;
 }
}
