@charset "utf-8";

/* gnavi-top.css
 * おまかせプラン ver.7 - v1.0.0
 * 2024-07-23
 * **************************************************
 * Global Nav
 * Global Nav スマホ
 * **************************************************
 */

/* Header（height 170px）
------------------------------------------------------------------- */
#header {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  padding: 15px 0 15px 0;
  width: 100%;
  height: 226px;
  -webkit-transition: height 0.3s ease;
  transition: height 0.3s ease;
	background:#fff;
}

.header__inner {
  margin: 0 auto;
  padding:0 auto;
}
#header .logo {
	margin-left:20px;
}
#header .logo img {
  width: 472px;
  height: auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (max-width: 1200px) {
  #header {
   /* position: static; */
	min-width: 1200px;
  }
}

@media screen and (max-width: 1260px) {
#header .logo img {
  width: 372px;
}
}

.navigation-area{
  max-width: 1450px;
  position:relative;
	margin:0 auto;
}
/* utility
------------------------------------------------------------------ */
#header .utility {
  display: flex;
  justify-content: flex-end;
	position: absolute;
	top:0px;
	right:20px;
}

/* sizeChange（文字サイズ）
------------------------------------------------------------------ */
.font-size {
  display: flex;
  align-items: center;
}
.sizeChange li {
  min-width: 5em;
  padding: 4px 10px;
  background-color: #fff;
	border:1px solid #830051;
  color: #830051;
  border-radius: 100vh;
  text-align: center;
  font-size: 1.4em;
  cursor: pointer;
  font-weight:bold;
  transition: 0.3s;
}
.sizeChange li:hover,
.sizeChange li.active {
  background-color: #830051;
  color: #fff;
}
.sizeChange li + li {
  margin-inline-start: 4px;
}
/* Search */
.header__search {
  transition: .3s;
  margin-left:10px;
}
.header__search form {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header__search input[type="text"] {
  padding: 8px 10px;
  width: 255px;
  border: none;
  border-radius: 100vh;
  font-size: 1.5em;
	border:1px solid #830051;
}
.header__search input[type="text"]::placeholder {
  color: #868686
}
.header__search input[type="submit"] {
  position: absolute;
  right: 10px;
  border: none;
  color: #fff;
  height: 18px;
  width: 18px;
  overflow: hidden;
  text-indent: -70px;
  background: url(../images/common/icon-search.png) no-repeat center/contain;
  -webkit-appearance: none;
}

.header__search input[type="submit"]:hover {
  cursor: pointer;
}
/* Header Nav */
.header-nav{
  position:absolute;
  top:45px;
  right:20px;
	padding:0px 0 15px;
}

.header-nav__list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header-nav__list a {
  font-size: 1.4em;
  position:relative;
  display: block;
  padding: 0 0 0 1.8em;
  text-decoration: none;
  font-weight:bold;
  color: #333333;
  transition: 0.3s;
}

.header-nav__list a:before{
    position: absolute;
  left:0px;
  top:0px;
  bottom:0;
	margin:auto;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
	background:url(../images/common/arrow-under.svg)no-repeat center center/100%;
}

.header-nav__list .h-nav07 a:before{
    height: 13px;
    width:20px;
	background:url(../images/global-nav/contact-img.svg)no-repeat center center/100%;
}

.header-nav__list .active a,
.header-nav__list a:hover {
  color:#830051;
}
.header-nav__list > li + li {
  margin: 0 5px;
}

/* 1st Level */
.global-nav{
	width:100%;
	margin:20px auto 0;
	background:#830051;
}
.global-nav__list {
  display: flex;
  align-items: center;
	justify-content:space-between;
  max-width:1260px;
	margin:0 auto;
}
.global-nav__list > li {
  width:calc(100%/6);
  height:100px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}

.global-nav__list > li.global-nav__list__item00{
	width:130px;
}

.global-nav__list > li:first-child,
.global-nav__list > li + li {
	border-left:1px solid #cccccc;}

.global-nav__list > li:last-child{
	border-right:1px solid #cccccc;}

.global-nav__list > li > a {
  text-decoration: none;
  color: #fff;
  z-index:0;
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.6em;
  line-height: 1.2;
	font-weight:bold;
}
.global-nav__list> li > a > span{
  position: relative;
  display: flex;
  align-items:end;
  justify-content:center;
  width: 100%;
  height: 100%;
  text-align:center;
  background:no-repeat center 15px /40px;
  transition: 0.3s;
	padding-bottom:10px;
}

.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 > a span,	
.global-nav__list > li:hover > a span{
	position:relative;
	background-color:#f0ab00;
}

.global-nav__list > li.hover > a::after{
	z-index:15;
	position:absolute;
	width:25px;
	height:13px;
	content:url(../images/global-nav/gnavi-arrow.svg);
	font-size:1.2em;
	bottom:-9px;
	left:0;
	right:0;
	margin:auto;
	color:#fbfaf5;}


.global-nav__list > li.hover > a::before{
	position:absolute;
	bottom: -25px;
	left:0px;
	right:0;
	margin:auto;
	display: block;
	width:100%;
	height:25px;
	content: '';
	background:url(../images/global-nav/f_blank.png);
	background-repeat:repeat-x;
}
	
	
/* Open
.global-nav__list > li.hover .global-nav__list__inner {
  display: block;
}
 */
/* 2nd Level（Dropdown Position） */
.global-nav__list__inner {
  z-index:15;
  display: none;
  position: absolute;
  top:238px;
  left:0;
  right:0;
  margin:auto;
  width: 87%;
  background-color: #fff;
  border-radius:1vw;
  border:3px solid #830051;
  padding-bottom: 120px;
}
.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: 1350px;
  min-height: 50px;
  padding: 30px 30px 40px 30px;
}
.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{
	position:relative;
	display:block;
	padding-left:30px;
}

.global-nav__list__2nd li span:before{
    position: absolute;
  left:0px;
  top:0px;
	margin:auto;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
	background:url(../images/common/arrow-under.svg)no-repeat center center/100%;
}
.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 15px;
  font-size: 1.4em;
  color: #333;
  line-height: 1.4;
  background:none!important;
  justify-content:start;
  text-decoration:none;
  font-weight:bold;
  border-bottom: 1px solid #cecece;
}
.global-nav__list__2nd a:hover {
	color:#830051;
}
.global-nav__list__2nd a::after{
	display:none;
}

/* Fixed（height 190px）
------------------------------------------------------------------ */	
#header.fixed  {
  padding: 5px 0 10px 0;
  height: 135px;
}

#header.fixed .header-nav{
  top:35px;
}
#header.fixed .logo img {
  width:350px;
}

#header.fixed .global-nav__list {
	margin-top:20px;
}
#header.fixed .header-nav__list a {
  font-size: 1.3em;
}

#header.fixed .global-nav__list__inner {
  top: 175px;
}
#header.fixed .global-nav__list > li {
  height: 70px;
}
#header.fixed .global-nav__list > li > a {
	font-size:1.4em;	
}
#header.fixed .global-nav__list > li.hover > a::after{
	bottom:-10px;
}

#header.fixed .global-nav__list> li > a > span{
	background-size:30px;
	background-position:center 8px;
	padding-bottom:5px;
}

#header.fixed .utility {
transform: scale(0.9);}

/* タブレット
------------------------------------------------------------------ */
@media (orientation: landscape) and (max-width: 1320px) {
.global-nav__list__inner {
  width: 95%;
}
.global-nav__list > li > a {
	font-size:1.4em;
}
.global-nav__list > li.hover > a::after{
	bottom:-16px;}
}
@media (orientation: portrait) and (max-width: 1320px) {
.global-nav__list__inner {
  width: 100%;
}
.global-nav__list > li > a {
	font-size:1.2em;
}
.global-nav__list > li.hover > a::after{
	bottom:-17.8px;}

#header.fixed .global-nav__list > li > a {
	font-size:1.2em;}
#header.fixed .global-nav__list > li.hover > a::after{
	bottom:-18px;}
}


@media screen and (max-width: 767px) {
  /* Header
  ------------------------------------------------------------------- */
  #header {
    padding: 0px 0 0px 0;
    min-width: auto;
    height: 60px;
  }
 #home #header{
  background:url(../images/home/bg-header-sp.png)no-repeat top center/100%;
 }

#home #header:before{
	display:none;
}
	
	
  .header__inner {
	  background:#fff;
	  border-bottom:2px solid #830051;
    display: block;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
    padding: 0 10px;
    max-width: none;
    height:60px;
  }
  #header .logo {
    margin-left:0px;
  }
  #header .logo img {
    margin-top: 9px;
    width: 220px;
    height: auto;
  }

  /* Header Nav */
    .header__search,
    .font-size,
    .header-nav__list {
    display: none!important;
	}
    
  /* Global Nav */
  /* SP Btn */
  .sp .global-nav__list > li {
    position: relative;
	width:100%;
	  height:auto;
	  display:block;
  }
 .sp .global-nav__list > li::after {
    position: absolute;
    right: 0;
	top:0;
	margin:auto;
	padding:16px 0 11px;
    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%;
  }
  .global-nav__list > li:nth-child(n+7) > a {
    width: 100%;
  }
    
  /* SP Nav */
  .sp-nav {
    display: block;
    z-index: 2;
    position: absolute;
    top: 3px;
    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: #830051;


	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(9px) 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(-9px) rotate(135deg);
  }
  .global-nav .search__inner{
    padding:20px 10px;
  }

  .global-nav input[type="text"] {
    width: 70%!important;
    font-size: 1.6em;
  }
    

  /* 1st Level */
  .global-nav__list {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
    left: 0;
    top:57px;
    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;
  }
.global-nav__list > li{
	max-width:100%;
}
	
.global-nav__list > li:first-child {
    border-top: 1px solid #dadada;
  }
.global-nav__list > li + li {
    border-top: 1px solid #dadada;
  }

.global-nav__list > li:first-child,
.global-nav__list > li + li {
	border-left:none;}

.global-nav__list > li:last-child{
	border-right:none;}
	
.global-nav__list > li.search {
    border-bottom: 1px solid #dadada;
	margin-top:0px;
    margin-bottom: 50px;
  }
.global-nav__list > li > a {
	display:block;
    padding:15px;
    font-size: 1.6em;
	text-decoration:none;
	font-weight:bold;
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  }
.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;
  }
.global-nav__list> li > a > span{
  display: block;
  justify-content:normal;
  align-items:normal;
  width: 100%;
  height: 100%;
  text-align:left;
  padding:0;
  background:none!important;
	color:#000;
}
.global-nav__list > li.active > a span,	
.global-nav__list > li:hover > a span{
	color:#000;
}
	
.global-nav__list > li.active > a span:before,	
.global-nav__list > li:hover > a span:before{
	display:none;
}
	
  /* 2nd Level */
.global-nav__list__inner {
    z-index: 5;
    display: none;
    position: relative;
    top: 0!important;
    left: 0!important;
	right:auto;
    width: 100%;
    background-color: #6e767e;
	border-radius:0;
	border:none;
	padding-bottom:0;
  }
.global-nav__list__inner::after {
	display:none;
}
	
.global-nav__list > li:hover > .global-nav__list__inner {
    box-shadow: none;
	z-index:0;
  }
	
.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;
  }

.global-nav__list__2nd::after {
	display:none;
}
	
.global-nav__list__2nd li {
    display: block;
    width : auto;
  }
.global-nav__list__2nd li span{
	padding-left:0;
}
	
.global-nav__list__2nd li:first-child,
.global-nav__list__2nd li + li {
    margin-right: 15px;
	margin-bottom:0;
  }

.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;


	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  }
.global-nav__list__2nd a br{
	display:none;
}
.global-nav__list__2nd a:hover {
    background-color: #595c5f;
  }
.global-nav__list__2nd a::before {
    position: absolute;
    top: 18px;
    left: 5px;
    content: "";
    display: block;
    height: 5px;
    width: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

.global-nav__list__2nd li span:before{
	display:none;
}

    
    
}

