@charset "utf-8";

/* gnavi-top.css
 * おまかせプラン ver.7 - v1.0.0
 * 2024-07-23
 * **************************************************
 * Global Nav
 * Global Nav スマホ
 * **************************************************
 */

@media screen and (min-width: 768px),print {

.global-nav{
}

/* Site Search */
.search form {
	position: absolute;
	top:10px;
	right:40px;
	margin: 0px auto 0 auto;
	padding: 3px 0 0 10px;
    height: 30px;
    width: 350px;
	background-color: #f1f7fe;
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;
}
.search input[type="text"] {
	padding: 3px 0px 3px 5px !important;
    height: 22px !important;
    width: 300px !important;
	border:none !important;
	font-size: 1.3em;
	background-color:#f1f7fe!important;
}
.search input[type="text"]:focus {
    outline: 0;
}
.search input[type="submit"] {
	position:absolute;
	top: 2px;
	right:2px;
	overflow:hidden;
    height: 25px;
	width: 25px;
	text-indent: -70px;
	border: 0 none;
	background: url("../images/common/icon-search.png") no-repeat center/70%;
	-webkit-appearance: none;
	cursor:pointer;
}
	
/* 1st Level */

.gnav-area{
	width:100%;
	border-radius:100vw;
	background:#fff;
	box-shadow: 0px 0px 12px -5px #c0b4b4;
  max-width:1450px;
	margin:0 auto;
}

.global-nav__list {
  display: flex;
  align-items: center;
  margin:42px auto 0;
}

@media screen and (max-width: 1290px) {
#header.fixed .global-nav__list {
  margin:30px auto 0!important;
}
 }
	
.global-nav__list > li {
  width: calc(100% / 6);
  height: 70px;
  display:flex;
  justify-content:center;
}
.global-nav__list > li:first-child{
	width:13%;
}
	
.global-nav__list > li span:before{
   content:"";
   display:block;
   width:1px;
   height:55%;
   background-color:#e0e0e0;
   position:absolute;
   left:0px;
   top:0px;
   bottom:0;
	margin:auto;
}
.global-nav__list> li:first-child span:before{
	display:none;
}
	
.global-nav__list > li > a {
  position: relative;
  display: flex;
  justify-content: center;
	align-items:center;
  text-decoration: none;
  width: 100%;
  height: 100%;
  font-size: 1.5em;
  line-height: 1.2;
  transition: 0.3s;
  color: #005aac;
	font-weight:bold;
		z-index:0;
	padding:0 5px;
}

.global-nav__list> li > a > span{
  padding:20px 0px 20px 35px;
  background:no-repeat 0px center /31px;
}

.global-nav__list > li.global-nav__list__item00 > a span{
  background-image: url("../images/global-nav/gnavi00.svg");}
.global-nav__list > li.global-nav__list__item01 > a span{
  background-image: url("../images/global-nav/gnavi01.svg");}
.global-nav__list > li.global-nav__list__item02 > a span{
  background-image: url("../images/global-nav/gnavi02.svg");}
.global-nav__list > li.global-nav__list__item03 > a span{
  background-image: url("../images/global-nav/gnavi03.svg");}
.global-nav__list > li.global-nav__list__item04 > a span{
  background-image: url("../images/global-nav/gnavi04.svg");}
.global-nav__list > li.global-nav__list__item05 > a span{
  background-image: url("../images/global-nav/gnavi05.svg");}
.global-nav__list > li.global-nav__list__item06 > a span{
  background-image: url("../images/global-nav/gnavi06.svg");}
	
.global-nav__list > li.active,
.global-nav__list > li:hover{
	background:#f1f7fe;
}
.global-nav__list > li.active:first-child,
.global-nav__list > li:first-child:hover{
	border-top-left-radius: 100vw;
	border-bottom-left-radius: 100vw;
}
.global-nav__list > li.active:last-child,
.global-nav__list > li:last-child:hover{
	border-top-right-radius: 100vw;
	border-bottom-right-radius: 100vw;
}


/* Open
.global-nav__list > li.hover .global-nav__list__inner {
  display: block;
}
 */
/* 2nd Level（Dropdown Position） */
.global-nav__list__inner {
  z-index: 5;
  display: none;
  position: absolute;
  top: 192px;
  left: 0;
  right:0;
  margin:auto;
  width: 95%;
  background-color: #fbfaf5;
	border-radius:1vw;
}
#header.fixed .global-nav__list__inner {
  top: 133px;
}

.global-nav__list .hover a::after{
	z-index:1;
	position:absolute;
	width:50px;
	height:20px;
	content:url(../images/global-nav/gnavi-arrow.svg);
	font-size:1.2em;
	bottom:-26px;
	left:0;
	right:0;
	margin:auto;
	color:#fbfaf5;}

.global-nav__list > li:hover > .global-nav__list__inner {
	box-shadow: 0px 0px 12px -5px #c0b4b4;
	z-index:-1;
}
.global-nav__list__2nd {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  position: relative;
  margin: 0 auto;
  width: -webkit-calc(100% - 40px);
  width: calc(100% - 10px);
  max-width: 1150px;
  min-height: 50px;
  padding: 30px 30px 40px 30px;
}
.global-nav__list__2nd::after {
	position:absolute;
	top: -30px;
	left:-400px;
	right:0;
	margin:auto;
	display: block;
	width:200%;
	height:30px;
	content: '';
	background-repeat:repeat-x;
	background-size:100%;
}

.global-nav__list__2nd li {
  display: inline-block;
  width : -webkit-calc(100% / 4 - 10px);
  width : calc(100% / 4 - 10px);
  -webkit-box-shadow:none;
          box-shadow:none;
}
	
.global-nav__list__2nd li  span:before{
  position: absolute;
  margin:auto;
  left: 0px;
  top:0px;
  bottom:0;
  content: "";
  display: block;
  background:url(../images/common/grass-icon.svg)no-repeat center center/contain;
	width:17px;
	height:20px;
}

.global-nav__list__2nd li:first-child,
.global-nav__list__2nd li + li {
  margin-right: 10px;
  margin-bottom:10px;
}
.global-nav__list__2nd a {
	display:block;
  position: relative;
	height:auto;
  margin-top: 10px;
  padding: 5px 0px 5px 25px;
  font-size: 1.4em;
  color: #005aac;
  line-height: 1.4;
  background:none!important;
  justify-content:start;
  text-decoration:none;
  font-family: 'Trebuchet MS',"ヒラギノ丸ゴ ProN W4","ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic ProN","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO", Meiryo, Arial, sans-serif;
  font-weight:bold;
  border-bottom: 1px solid #cecece;
}

.global-nav__list__2nd a:hover {
	text-decoration:underline;
}

.global-nav__list__2nd a::after{
	display:none;
}
}



@media screen and (max-width: 767px) {
    /* Global Nav */
  /* SP Btn */
  .sp .global-nav__list > li {
    position: relative;
  }
 .sp .global-nav__list > li::after {
    position: absolute;
    right: 0;
	top:0;
	margin:auto;
	padding:15px 0;

    content: "開く";
    display:block;
    width: 50px;
    height:auto;
    border-left: 1px solid #dadada;
    background: #fff;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
  }
  .sp .global-nav__list > li.open::after {
    content: "閉じる"; 
  }
  /* 開くボタン非表示（申請書ダウンロード、個人情報保護方針、マイナンバー制度、よくある質問、リンク集、サイトマップ、アクセス） */
  .sp .global-nav__list > li:nth-child(1)::after,
  .sp .global-nav__list > li:nth-child(5)::after,
  .sp .global-nav__list > li:nth-child(n+8)::after {
    display: none;
    width: 0;
    height: 0;
    border: none;
  }
	.sp .global-nav__list > li:not(:nth-child(1)) > a,
	.sp .global-nav__list > li:not(:nth-child(1)) > a {
		width:100%;
  }
  .sp .global-nav__list > li:nth-child(n+7) > a {
    width: 100%;
  }

  /* 1st Level */
  .global-nav__list {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
    left: 0;
    top: 60px;
    display: block;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: -webkit-calc(100% - 50px);
    height: calc(100% - 50px);
    transition: 0.2s;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .global-nav__list.open {
    opacity:1;
    visibility: visible;
    z-index: 99999;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    background-color: #fafafa;
  }
.sp .global-nav__list > li:first-child {
    border-top: 1px solid #dadada;
  }
	
.sp .global-nav__list > li + li {
    border-top: 1px solid #dadada;
  }
.sp .global-nav__list > li.search {
    border-bottom: 1px solid #dadada;
	margin-top:0px;
    margin-bottom: 50px;
  }
.sp .global-nav__list > li > a {
	display:block;
    padding:12px 15px 12px 15px;
    font-size: 1.6em;
	text-decoration:none;
	color:#0b5faa;
	font-weight:bold;
  }
.sp .global-nav__list > li > a::before {
    bottom: 0;
    width: 0;
    height: 0;
    background-color: transparent;
    -webkit-transition: unset;
    transition: unset;
    transform: none;
    transform-origin: 50% 50%;
  }
  .global-nav__list > li:hover > a::before {
    transform: none;
  }
  .global-nav__list > li.active > a::before {
    -webkit-transition: unset;
    transition: unset;
    transform: none;
  }
  /* 2nd Level */
.sp .global-nav__list__inner {
    z-index: 5;
    display: none;
    position: relative;
    top: 0!important;
    left: 0;
    width: 100%;
    background-color: #6e767e;;
  }
.sp .global-nav__list > li:hover > .global-nav__list__inner {
    box-shadow: none
  }
	
.sp .global-nav__list__2nd {
    display: block;
    flex-wrap: nowrap;
    justify-content: flex-start;
    position: relative;
    margin: 0;
    padding: 10px 0px 30px 20px;
    min-height: none;
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 20px);
    max-width: none;
  }
.sp .global-nav__list__2nd li {
    display: block;
    width : auto;

  }
.sp .global-nav__list__2nd li:first-child,
.sp .global-nav__list__2nd li + li {
    margin-right: 15px;
  }
.sp .global-nav__list__2nd a {
    display: block;
    position: relative;
    margin-top: 10px;
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid #505050;
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
	text-decoration:none;
  }
.global-nav__list__2nd a br{
	display:none;
}
	
.sp .global-nav__list__2nd a:hover {
    background-color: #595c5f;
  }
.sp .global-nav__list__2nd a::before {
    position: absolute;
    top: 18px;
    left: 5px;
    content: "";
    display: block;
    height: 5px;
    width: 5px;
    border-top: 2px solid #00bddc;
    border-right: 2px solid #00bddc;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  /* SP Nav */
  .sp-nav {
    display: block;
    z-index: 2;
    position: absolute;
    top: 0px;
    right:0px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
    text-decoration: none;
  }
  .sp-nav {
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
  }
  .sp-nav * {
    box-sizing: border-box;
  }
  .sp-nav span {
    position: absolute;
    left: 50%;
    width: 50%;
    height: 2px;
    background-color: #231f20;
    border-radius: 4px;
    transform: translateX(-50%);
    transition: all .4s;
  }
  .sp-nav span:nth-of-type(1) {
    top: 15px;
  }
  .sp-nav span:nth-of-type(2) {
    top: 24px;
  }
  .sp-nav span:nth-of-type(3) {
    top: 33px;
  }
  .sp-nav.active span:nth-of-type(1) {
    transform: translateX(-50%) translateY(6px) rotate(-135deg);
  }
  .sp-nav.active span:nth-of-type(2) {
    opacity: 0;
  }
  .sp-nav.active span:nth-of-type(3) {
    width: 50%;
    transform: translateX(-50%) translateY(-11.5px) rotate(135deg);
  }
  .global-nav .search__inner{
    padding:20px 10px;
  }

  .global-nav input[type="text"] {
    width: 70%!important;
    font-size: 1.6em;
  }
    
    
}
