@charset "utf-8";

navi {
display: none;
box-sizing: border-box;
}
.navi_area ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 100%;
}
.navi_area ul li {
  font-weight: 500;
  font-size: clamp(0.5rem, calc(0.15vw + 1.0rem), 1.5rem);
  line-height: 1.3em;
  padding: 30px 0;
  text-align: center;
}
.navi_area ul li p {
  font-family: var(--font-en);
  font-size: clamp(0.5rem, calc(0.05vw + 0.6rem), 1.0rem);
}
.navi_area ul li a {
  color: #FFF;
}
.navi_area ul li.fuki_base {
position: relative;
}
.navi_area ul li.fuki_base .fukikidasi {
position: absolute;
width: 100%;
max-width: 99px;
top: -5px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
/*************************************************************
* -w850
*************************************************************/
@media screen and (max-width:850px){
navi {
display: block;
}
.navi_area ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 90%;
}
.navi_area ul li {
width: 25%;
}
}
/*************************************************************
* -w1470
*************************************************************/

@media screen and (max-width:470px){

.navi_area ul li.fuki_base .fukikidasi {
display: none;
position: absolute;
width: 100%;
max-width: 99px;
top: -5px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}


.navi_area ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 100%;
}
.navi_area ul li {
width: 33%;
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.3em;
  padding: 10px 0;
  text-align: center;
  margin-bottom: 0;
}
.navi_area ul li:nth-of-type(4) {
width: 100%;
}
.navi_area ul li:nth-of-type(5) {
width: 100%;
}
.navi_area ul li p {
  font-size: 0.6rem;
  font-family: var(--font-en);
}
.navi_area ul li a {
  color: #FFF;
}
}
/***************************************************************/
/* NAVI */
/***************************************************************/
nav {
	display: block;
	position: fixed;
	top: 0;
	right: -50vw;
	bottom: 0;
	/*  width: 300px;*/
	width: 50vw;
	background-color: rgba(195,208,225,1.0);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transition: all 0.5s;
	z-index: 3;
}
.open nav {
  right: 0;
  opacity: 1;
}
nav .inner {
  padding: 20px 50px;
}
nav .inner ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-flow: wrap;
  
}
nav .inner ul li {
  position: relative;
  margin: 0 0 0.5em;
  width: 100%;
	font-size: 16px;
	line-height: 1em;
}
nav .inner ul li h1 {
  margin: 0 0 0.5em;
  padding: 8px;
	font-size: 16px;
	line-height: 1em;
	background-color: #144586;
	color: #FFFFFF;
}
nav .inner ul li ul li.sm_child {
margin-left: 1em;
}
nav .inner ul li ul li.sm_grandson {
margin-left: 2em;
}
nav .inner ul li a {
  color: #333;
  padding: 0 0 0 0.5em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav .inner ul li p {
font-family: var(--font-en);
  font-weight: 500;
	font-size: clamp(0.8rem, calc(0.10vw + 1.0rem), 1.0rem);
	margin: 0;
}
nav .inner .bt_pp {
	font-size: clamp(1.0rem, calc(0.15vw + 1.0rem), 1.0rem);
	margin: 4rem 0 0;
	width: 40%;
	text-align: center;
	color: #fff;
}
nav .inner a {
	color: #fff;
}
/*************************************************************
* -w850
*************************************************************/
@media screen and (max-width: 850px) {
  nav {
    right: -100vw;
    width: 100vw;
  }
nav .inner {
  padding: 30px 50px;
}
nav .inner ul {
width: 80%;
margin: 0 auto;
}
nav .inner ul li {
  position: relative;
  margin: 0 0 0.5em;
  width: 100%;
	font-size: 16px;
	line-height: 1em;
}
nav .inner ul li h1 {
  width: 90%;
}
}
/*************************************************************
* -w470
*************************************************************/
@media screen and (max-width: 470px) {
nav .inner ul li h1 {
  width: 100%;
}
nav .inner {
  padding: 10px 50px;
}
  nav {
    right: -100vw;
    width: 100vw;
	padding-top: 50px;
box-sizing: border-box;
  }
nav .inner ul {
padding: 0;
width: 100%;
}
nav .inner ul li {
  position: relative;
  margin: 0 10px 0 0;
  width: 100%;
  font-size: 16px;
	line-height: 1.3em;
}
nav .inner ul li ul li {
	padding: 0 0 0.5em 1em;
}
nav .inner ul li p {
font-family: var(--font-en);
  font-weight: 500;
	line-height: 1.3em;
	margin: 0;
}
nav .inner .bt_pp {
	width: 100%;
	color: #fff;
	line-height: 1.3em;
}
}
/*============
.toggle_btn
=============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}
.toggle_btn span {
  display: block;
  position: absolute;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all .5s;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 14px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: #555555;
}
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(80px) rotate(-160deg);
  transform: translateY(10px) rotate(-160deg);
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}
.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-80px) rotate(160deg);
  transform: translateY(-10px) rotate(160deg);
}
/*============
#mask
=============*/
#mask {
  display: none;
  transition: all 0.5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
  z-index: 2;
  cursor: pointer;
}
/*************************************************************
* -w850
*************************************************************/
@media screen and (max-width: 850px) {
.toggle_btn {
  top: 35px;
}
}
/*************************************************************
* -w470
*************************************************************/
@media screen and (max-width: 470px) {

.toggle_btn {
  display: block;
  position: fixed;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}
}
