@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 {
	
/* 1st Level */

.gnav-area{
	width:100%;
	border-radius:100vw;
	box-shadow: 0px 0px 12px -5px #c0b4b4;
  max-width:1450px;
	margin:0 auto;
}

.global-nav__list {
  display: flex;
  align-items: center;
  margin:25px 0 0 100px;
	background:#fff;
	border-radius:100vw 0 0 100vw;
}

@media screen and (max-width: 1290px) {
#header .global-nav__list {
  margin:30px auto 0!important;
}
 }
	
.global-nav__list > li {
  width:auto;
  height: 70px;
  display:flex;
  justify-content:center;
}
.global-nav__list > li:first-child{
	width:6%;
}
	
.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: #333;
	font-weight:bold;
		z-index:0;
	padding:0 15px;
	background:#fff;
}

.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{
	border-radius:100vw 0 0 100vw;
}
.global-nav__list > li.global-nav__list__item00 > a span{
	display:flex;
	align-items:center;
	justify-content:center;
	padding:8px!important;
	background:#eaeaea;
	color:#333;
	border-radius:100vw;
	width:60px;
	height:60px;
}
	
.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: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;
}

.global-nav__list > li.active > a span,	
.global-nav__list > li:hover > a span{
	color:#0079de;
}
	
.global-nav__list > li.active > a:after,	
.global-nav__list > li:hover > a::after{
	display:block;
	position:absolute;
	content:'';
	bottom:0;
	width:100%;
	height:9px;
	background:#0079de;
	border-radius:100vw 100vw 0 0;
}
.global-nav__list > li.global-nav__list__item00.active > a::after,	
.global-nav__list > li.global-nav__list__item00:hover > a::after{
	display:none;
}
	.global-nav__list > li.global-nav__list__item00:hover > a span,
.global-nav__list > li.global-nav__list__item00.active > a span{
	background:#0079de;
	color:#fff;
}
	

/* 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: 165px;
  left: 40px;
  right:0;
  margin:auto;
  width: 80%;
  background-color: #fff;
	border-radius:1vw;
}

.global-nav__list__inner:after{
	display:block;
	position:absolute;
	content:'';
	bottom:0px;
	left:0;
	right:0;
	margin:auto;
	width:94%;
	height:9px;
	background:#0079de;
	border-radius:100vw 100vw 0 0;
}
	
#header.fixed .global-nav__list__inner {
  top: 150px;
}


.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/arrow-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: #333;
  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 {
	color:#0079de;
}

.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: #f9f6f1;
  }
.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 #0079de;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
	text-decoration:none;
  }
.global-nav__list__2nd a br{
	display:none;
}
	
.sp .global-nav__list__2nd a:hover {
    background-color: #f9f6f1;
  }
.sp .global-nav__list__2nd a::before {
    position: absolute;
    top: 18px;
    left: 5px;
    content: "";
    display: block;
    height: 5px;
    width: 5px;
    border-top: 2px solid #3092E4;
    border-right: 2px solid #3092E4;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  /* SP Nav */
  .sp-nav {
    display: block;
    z-index: 2;
    position: absolute;
    top: 5px;
    right:10px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
    text-decoration: none;
  }
  .sp-nav {
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    background-color: #0079de;
	border-radius:100vw;
  }
  .sp-nav * {
    box-sizing: border-box;
  }
  .sp-nav span {
    position: absolute;
    left: 50%;
    width: 50%;
    height: 2px;
    background-color: #ffffff;
    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;
  }
    
    
}
