@charset "utf-8";
/* CSS Document */
.tss_wrap{overflow: inherit;}

#adminBox, .acms-admin-box,
.tss_comprehensiveHead{
  position: relative;
  z-index: 100;
}

img{max-width: 100%;}
a{text-decoration: none;}

.ngf_body{
  line-height: 1.5;
  padding: 24px clamp(8px,2vw,56px);
  background-color: #61C3F2;
}


.ngf_bg{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ngf_bgdeco {
  position: absolute;
  left: 50%;
  top: 0;
  max-width: 1844px;
  min-width: 1280px;
  width: 96%;
  transform: translateX(-50%);
}
.ngf_bgdeco picture {
  display: block;
  margin: auto;
  aspect-ratio: 461 / 271;
  pointer-events:none;
}
.ngf_bgdeco picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events:none;
}
.ngf_decoil{
  position: fixed;
}


.ngf_header{
  position: sticky;
  background-color: rgba(255,255,252,0.8);
  top: 0;
  width: 100%;
  height:6vw;
  min-height: 110px;
  z-index:100;
}
.ngf_headersp{display:none;}
.ngf_header div.ngf_headerwrap{
  display: flex;
  max-width: 1820px;
  width: calc(100% - 32px);
  margin: auto;
  padding-top: 30px;
  align-items: center;
}
.ngf_header div.ngf_headerwrap>.ngf_navitop{
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.ngf_lowerheader{
  margin-top:12px;
}
.ngf_lowerheader h2{
  color:#935B34;
  font-size:2.25em;
  font-weight:bold;
  text-align:center;
}

.ngf_logo{
  max-width: 550px;
  width: 28%;
  padding-right: 2%;
}
.ngf_logo img{max-width: 100%;}


.ngf_childhead{
  position: relative;
  z-index: 1;
}
.ngf_child_headline1{
  text-align: center;
  margin-bottom: 16px;
}
.ngf_child_nav{
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: end;
  margin-bottom: 40px;
}
.ngf_child_nav li{width: 190px;}
.ngf_child_nav li a{
  display: flex;
  align-items: flex-end;
  height: 40px;
}
.ngf_child_nav li a img{width: 100%;}
.ngf_child_nav li.ngf_comson{filter: grayscale(100%);}
.ngf_child_nav li.ngf_comson a{
  pointer-events: none;
  background-color: #FFFFFF;
  border-radius: 40px;
}
.ngf_child_nav li.ngf_comson a img{opacity: 0.75;}

.ngf_child_headline2{
  margin-bottom: 40px;
  text-align: center;
}
.ngf_child_headline2 img{width: 400px;}


/* .ngf_contenttab h1{
  text-align: center;
  margin-bottom: 32px;
} */
/* .ngf_contenttab h2{
  text-align: center;
  margin-bottom: 24px;
} */
.ngf_main{
  position: relative;
  z-index: 1;
}
.ngf_contents{
  max-width: 1200px;
  width: calc(100% - 32px);
  margin:0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.ngf_cmngsoon{
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 10px solid #d18e4a;
  min-height: 440px;
  width:100%;
}

.ngf_cmngsoon p{
  max-width: 378px;
  width: 64%;
}
.ngf_cmngsoon p img{max-width: 100%;}

.ngf_headerwrap>.ngf_navitop{width: 70%;}
.ngf_headerwrap>.ngf_navitop>li>a{
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFF;
  border-radius: 8px;
  max-width: 200px;
  width: 100%;
  padding: 12px 8px;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.39);
}

.ngf_headerwrap>.ngf_navitop>li>a:hover{
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.39);
}

.ngf_headerwrap>.ngf_navitop>li:nth-of-type(2)>a:hover,
.ngf_headerwrap>.ngf_navitop>li:nth-of-type(5)>a:hover{
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.39);
  cursor: default;
}

.ngf_headerwrap>.ngf_navitop>li img{
  max-width: 100%;
}
.ngf_headerwrap>.ngf_navitop>li{
  margin: 0 4px;
  position: relative;
}

.ngf_headerwrap>.ngf_navitop > li:nth-of-type(2) ul,
.ngf_headerwrap>.ngf_navitop > li:nth-of-type(5) ul{
  position: absolute;
  top: 40px;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  transition: all .2s ease;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.39);
}

.ngf_headerwrap>.ngf_navitop > li:nth-of-type(2):hover ul,
.ngf_headerwrap>.ngf_navitop > li:nth-of-type(5):hover ul{
  top: 40px;
  visibility: visible;
  opacity: 1;
  background-color: #FFF;
  border-radius: 0 0 8px 8px;
  padding:8px 0;
}

.ngf_headerwrap>.ngf_navitop > li:nth-of-type(2) ul li,
.ngf_headerwrap>.ngf_navitop > li:nth-of-type(5) ul li{
  padding:0 8px;
}

.ngf_headerwrap>.ngf_navitop li:nth-of-type(2) li a,
.ngf_headerwrap>.ngf_navitop li:nth-of-type(5) li a{
  display: block;
  padding: 8px 0;
  position: relative;
}


.ngf_headerwrap>.ngf_navitop li:nth-of-type(2) li a::after,
.ngf_headerwrap>.ngf_navitop li:nth-of-type(2) a::after,
.ngf_headerwrap>.ngf_navitop li:nth-of-type(5) li a::after,
.ngf_headerwrap>.ngf_navitop li:nth-of-type(5) a::after{
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #f08a1c;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;   /*変形の時間*/
}
.ngf_headerwrap>.ngf_navitop>li:last-of-type>a{
  background-color: #CC2525;
}

.ngf_headerwrap>.ngf_navitop>li>a:hover{
  background: #f2b959;
}

.ngf_headerwrap>.ngf_navitop>li:nth-of-type(2)>a:hover,
.ngf_headerwrap>.ngf_navitop>li:nth-of-type(5)>a:hover{
  background: #fff;
}

.ngf_headerwrap>.ngf_navitop>li:last-of-type>a:hover{background-color: #f08a1c;}
.ngf_headerwrap>.ngf_navitop li:nth-of-type(2) li a:hover::after,
.ngf_headerwrap>.ngf_navitop li:nth-of-type(5) li a:hover::after{
  transform: scale(0.5, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}

.ngf_back{
  padding: 2em 0 6em;
  min-height: 188px;
  text-align: center;
}

.ngf_back a{
  max-width: 200px;
  width: 100%;
  margin: auto;
}
.ngf_back a img{max-width:100%;}



/*-- ドロワーメニュー --*/
.ngf_headspcontainer {
	inset: 0;
	overflow: auto;
  display:flex;
  position:relative;
}
.contents {
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* :::::: toggle button :::::: */
#drawer {
	display: none;
}
label {
	cursor: pointer;
  position:absolute;
}
.ngf_headspopen {
	z-index: 2;
	top: 14px;
	right: 8px;
	width: 40px;
	height: 40px;
	border-radius: 48px;
	transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  border:solid 3px #000;
}
.ngf_headspopen::before,
.ngf_headspopen::after {
	content: "";
}
.ngf_headspopen span,
.ngf_headspopen::before,
.ngf_headspopen::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 30%;
	width: 40%;
	border-bottom: 3px solid #000;
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.ngf_headspopen::before {
	transform: translateY(-8px);
}
.ngf_headspopen::after {
	transform: translateY(8px);
}
.ngf_headspclose {
	z-index: 1;
	inset: 0;
	pointer-events: none;
	transition: background .6s;
}
#drawer:checked + .ngf_headspopen {
	border: solid 3px #000;
}
#drawer:checked + .ngf_headspopen span {
	transform: scaleX(0);
}
#drawer:checked + .ngf_headspopen::before {
	transform: rotate(135deg) scaleX(1.2);
  border-bottom: 3px solid #000;
}
#drawer:checked + .ngf_headspopen::after {
	transform: rotate(-135deg) scaleX(1.2);
  border-bottom: 3px solid #000;
}
#drawer:checked ~ .ngf_headspclose {
	pointer-events: auto;
	background: rgba(0,0,0,.3);
}

/*-- 右部ボタン --*/
.grm_rightbtn{
  position:fixed;
  right:0;
  bottom: 40px;
  z-index:300;
}
.grm_rightbtn ul{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.tss_gotop{
  right:10%;
}

.modaal-image .modaal-inner-wrapper {
  padding-left:120px;
  padding-right:120px;
}
 
/*-- 上書き --*/
.tss_footer {
  position: relative;
  background-color: #008129;
}



@media screen and (min-width:801px){
  .ngf_child_nav li a:hover img{
    transform: scale(0.95);
    transform-origin: center bottom;
  }

  .ngf_back a:hover{opacity: 0.7;}
}

@media screen and (max-width:820px){
  .ngf_child_nav li a{height: 4.878vw;}
}
@media screen and (max-width:800px){
  .ngf_body{padding-bottom: calc(17.5vw + 120px);}

  .ngf_decoil{display: none;}


  .ngf_contents{
    margin-top:24px;
  }
  .ngf_header{display: none;}
  .ngf_headersp{
    display:block;
    width:100%;
    background-color:#FFF;
    position:sticky;
    z-index:2;
    top:0;
    left:0;
    height:16vw;
  }
  .ngf_headersp .ngf_headspcontainer p{
    width: 100%;
    background-color: #FFF;
    padding:8px 20% 8px 0;
  }
  .ngf_headersp .ngf_headspcontainer p img{
    width:100%;
  }
  .ngf_lowerheader h2{
    font-size:1.25em;
  }
  
  /*-- 右部ボタン --*/
  .grm_rightbtn{
    position:fixed;
    right:0;
    bottom: 120px;
    z-index:300;
  }
  .grm_rightbtn ul{
    display:flex;
    flex-direction:column;
    gap:8px;
  }

  
  .tss_gotop a{
    display:none;
  }
  
}

@media screen and (max-width:640px){/*デザイン依存*/
  .ngf_child_nav{flex-wrap: wrap;}
  .ngf_child_nav li{width: 48.5%;}
  .ngf_child_nav li a{height: 9.375vw;}
}


@media screen and (max-width:430px) {
  .ngf_contents{
    width: 100%;
    margin-bottom: 0;
  }

  #tss_gototop{
   bottom: 96px;
   z-index: 20;
  }
}
