@charset "utf-8";

/* 親メニュー - Parent nav */
.topGmenu {
  /* width: 1200px; */
  /* margin: 0 auto; */
}

/*  */
nav>ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5rem;
}

header nav>ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4rem;
  flex-direction: column;
}

nav>ul li {
  position: relative;
}

.menu-item-has-children {
  text-align: center;
  flex: 0 0 auto;
}

.menu-item-has-children {
  flex: 1 0 auto;
}

li.menu-item-has-children a {
  color: #FFF;
  font-size: 2rem;
  text-decoration: none;
  display: block;
  position: relative;
}

li.menu-item-has-children a::after {
  content: "";
  width: 21px;
  height: 14px;
  background: url(/img/furusato/white_arrow.png) no-repeat;
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.5s;
}

nav>ul>li>a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5rem 2rem 0;
  line-height: 1;
  border-right: solid 1px #FFF;
  border-bottom: solid 1px #FFF;
  letter-spacing: 0;
  font-size: 1.1em;
}

a#nav01 {
  border-left: solid 1px #222;
}

nav>ul>li>a::before {
  /* content: url(/img/r2022/i-arrow.png); */
  /* margin-right: 7px; */
}

.gMenu>li {
  position: relative;
}

/* 子メニュー - .sub-menu */

nav .sub-menu {
  position: absolute;
  width: 500px;
  background-color: #fffaff;
  opacity: 0;
  visibility: hidden;
  transition: .5s;
  list-style: none;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border: solid 2px #b676b6;
}

nav .sub-menu li {
  width: 50%;
}

nav .sub-menu strong,
nav .sub-menu a {
  position: relative;
  color: #222;
  padding: 8px 14px 7px 35px;
  width: 100%;
  display: block;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: 13px 12px;
  text-align: left;
  background-size: 8px auto;
  transition: background 0.5s;
}

nav .sub-menu a:before {
  display: inline-block;
  content: '';
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  left: 1em;
  background-image: url(/img/kankou/list-arrow.png);
  background-size: contain;
  width: 15px;
  height: 15px;
}

nav .sub-menu a:hover {
  color: #FFF;
  background-image: none;
}

nav .sub-menu a:hover:before {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

li.menu-item-has-children:nth-child(4)>ul:nth-child(3),
li.menu-item-has-children:nth-child(5)>ul:nth-child(3),
li.menu-item-has-children:nth-child(6)>ul:nth-child(3) {
  right: 0;
}

/* ホバー＆フォーカスで子メニュー表示 */
/* Display sub menu by hover & focus */

nav .menu-item-has-children:hover ul,
nav .menu-item-has-children ul.focused {
  opacity: 1;
  visibility: visible;
  z-index: 9999;
}

nav li.menu-item-has-children li a:hover,
nav li.menu-item-has-children li a:focus {
  background-color: #a74da7;
}

nav .menu-item-has-children:hover>a:nth-child(1)::after {
  right: 7px;
  transition: 0.5s;
}


/* グロナビ（下層）ここまで */


/* ハンバーガーメニュー */
.humberger {
  display: block;
  height: 100px;
  position: fixed;
  z-index: 9999;
  width: 100px;
  border: none;
  background-color: #FFF;
  top: 0;
  right: 0;
  padding: 0;
}

.humberger.-active .humberger__line {
  background-color: transparent;
}

.humberger.-active .humberger__line::before {
  top: 0;
  transform: rotate(45deg);
  background-color: #FFF;
}

.humberger.-active .humberger__line::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: #FFF;
}

.humberger.-active .humberger__text {
  color: #FFF;
}

.humberger__line {
  display: block;
  height: 6px;
  position: absolute;
  top: 37px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  background-color: #413422;
  transition: 0.5s;
}

.humberger__line:before,
.humberger__line:after {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  background-color: #413422;
  transition: inherit;
}

.humberger__line:before {
  top: -18px;
}

.humberger__line:after {
  top: 18px;
}

.humberger__text {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-weight: 600;
  letter-spacing: 1px;
}

.header {
  display: block;
  width: 100%;
}

.header__nav-area {
  position: fixed;
  top: 0;
  right: -650px;
  z-index: 9998;
  height: 100vh;
  width: 100%;
  max-width: 650px;
  visibility: hidden;
  padding-top: 140px;
  background: url(/img/furusato/header_bg.png) repeat;
  transition: 1.5s;
  padding-left: 8rem;
  padding-right: 8rem;
  box-sizing: border-box;
}

.header__nav-area.-active {
  right: 0;
  visibility: visible;
  overflow-y: scroll;
  transition: 1.5s;
}

.global-navigation {
  padding-top: 40px;
  padding-right: 25px;
  padding-bottom: 120px;
  padding-left: 25px;
}

.global-navigation__list>li {
  padding-bottom: 20px;
  border-bottom: 2px solid #e7e9ee;
}

.global-navigation__list>li+li {
  margin-top: 20px;
}

.global-navigation__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #172e59;
  font-weight: 900;
  transition: color 0.5s;
  font-size: 0.875rem;
}

.global-navigation__link.-accordion {
  position: relative;
  background: none;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 0;
}

.global-navigation__link.-accordion::after {
  content: '';
  display: block;
  height: 12px;
  position: absolute;
  top: 50%;
  right: 5px;
  width: 2px;
  background-color: #ed3242;
  transform: translateY(-50%);
  transition: transform 0.5s;
}

.global-navigation__link.-accordion::before {
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  background-color: #ed3242;
  transform: translateY(-50%);

}

.global-navigation__link.-active::after {
  transform: translateY(-50%) rotate(-90deg);
}

.accordion {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.5s;
}

.accordion.-active {
  height: auto;
  padding-top: 30px;
  visibility: visible;
}

.accordion__list li {
  font-size: 0.75rem;
}

.accordion__list li+li {
  margin-top: 21px;
}

.accordion__link {
  color: #172e59;
}


/* スマホ */
@media (max-width:1024px) {
  .header {
    display: block;
    width: 100%;
  }

  .header__nav-area {
    height: 100vh;
    overflow-y: scroll;
  }

  /* グロナビ */
  ul.gMenu {
    padding: 0;
    margin: 20px 10px 150px;
  }

  ul.gMenu li {
    list-style: none;
  }



  ul.sub-menu li a,
  ul.sub-menu li strong {
    text-align: left;
    font-size: 1.2rem;
    padding: 7px 10px 5px;
  }

  ul.sub-menu li strong {
    display: flex;
    justify-content: flex-start;
  }

  .gMenu>li:after {
    display: none;
  }

  /* レスポンシブアコーディオン用 */
  .gMenu .acc_title_wrap {
    position: relative;
  }

  .gMenu .acc_title {
    position: relative;
    transition: all .5s;
  }

  .gMenu .acc_title>label {
    display: block;
    cursor: pointer;
    padding: 0px;
    width: 100%;
  }

  .gMenu .acc_title+input[id*="acc_ttl_label"]+* {
    display: none;
  }

  .gMenu .acc_title+input[id*="acc_ttl_label"]:checked+* {
    display: block;
  }

  .gMenu .no_acc_title label[for*="acc_ttl_label"] {
    background: none;
  }

  .gMenu .acc_title:hover {
    background: #f5e4f5;
  }

}

.humberger.-active {
  background-color: transparent;
}

.header_inner img:nth-child(2) {
  display: none;
}


/* スマホ対応 */
/* ヘッダー */
@media (max-width: 1740px) {
  div#header nav>ul {
    gap: 3rem;
  }

  div#header li.menu-item-has-children a {
    font-size: 1.6rem;
  }
}

@media (max-width: 1540px) {
  div#header nav>ul>li>a {
    padding: 0 0 0.5rem 0;
    border-right: none;
  }

  div#header li.menu-item-has-children a::after {
    content: none;
  }
}

@media (max-width: 1280px) {
  div#header {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 0;
  }

  div#header .header_inner img {
    max-width: 350px;
  }
}

@media (max-width: 1024px) {
  div#header>.topGmenu {
    display: none;
  }

  div#header .header_inner img {
    max-width: 480px;
    width: 100%;
  }
}

@media (max-width: 650px) {
  div#header {
    padding-right: 7rem;
  }

  .header__nav-area {
    padding-top: 7.5rem;
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .gMenu .acc_title {
    padding-right: 0;
  }

  header .headLogo {
    margin-bottom: 0;
  }
}

@media (min-width: 561px) {
  .header__nav-area a img:nth-child(2) {
    display: none;
  }
}

@media (max-width: 560px) {
  div#header {
    width: 100%;
    height: 80px;
    padding-right: 6rem;
  }

  .humberger {
    width: 60px;
    height: 80px;
  }

  .humberger__line {
    height: 4px;
    top: 29px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
  }

  .humberger__line:before {
    top: -11px;
  }

  .humberger__line:after {
    top: 11px;
  }

  .humberger__text {
    font-size: 1.2rem;
    bottom: 11px;
  }

  .header_inner img:nth-child(1) {
    display: none;
  }

  .header_inner img:nth-child(2) {
    display: block;
  }

  .humberger.-active {
    right: 0;
  }

  .header__nav-area a img:nth-child(1) {
    display: none;
  }

  .header__nav-area a img:nth-child(2) {
    max-width: 250px;
  }

  .header__nav-area {
    padding-top: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.header__nav-area a img {
  width: 100%;
}