/*----------------------------------------*/
header{
	display: flex;
	justify-content: space-between;
	width: 100%;
  padding: 0 0;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: var(--color-white);
  transition: .5s;
}
/*上スクロール表示、下スクロール非表示用*/
header.scroll{
  transform: translateY(-100%);
}
/*----------------------------------------*/
.l-logo{
  display: flex;
  align-items: center;
  padding: 0 var(--rp40);
}
.l-logo > a:hover{
  text-decoration: none;
}
.l-logo__img{
  display: flex;
  align-items: center;
  gap: 12px;
}
.l-logo__img .text_area{
  flex: 1;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
}
.l-logo__img .tx{
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 18px;
  line-height: calc(1em + 8px);
}
.l-logo__img .en{
  font-family: var(--mincho);
  font-size: 12px;
  line-height: calc(1em);
}
.l-logo__img .nm{
  font-size: 12px;
  line-height: calc(1em);
  border: 1px solid var(--color-gray02);
  padding: 4px;
}
@media screen and (max-width: 1340px) {
  .l-logo__img .text_area{
    flex: initial;
    width: 200px;
  }
}
@media screen and (max-width: 1080px) {
  .l-logo{
    padding-right: 80px;
  }
  .l-logo__img .text_area{
    width: initial;
  }
}
@media screen and (max-width: 560px) {
  .l-logo__img{
    gap: 8px;
  }
  .l-logo__img img{
    width: 28vw;
  }
  .l-logo__img .tx{
    font-size: 3.2vw;
  }
  .l-logo__img .en{
    font-size: 2vw;
  }
  .l-logo__img .nm{
    font-size: 2vw;
  }
}
/*----------------------------------------*/
.l-gnav__bg{
  display: flex;
}
.l-gnav{
	display: flex;
  gap: 24px;
}
@media screen and (max-width: 1080px) {
  .l-gnav {
    display: none;
    position: fixed;
    width: 100vw;
    max-width: 560px;
    height: calc(100vh - var(--header-hight));
    max-height: 100vh;
    background-color: var(--color-tertiary);
    top: var(--header-hight);
    right: 0;
    padding: 20px;
    overflow-y: auto;
    background: var(--color-white);
    font-size: 16px;
  }
}
@media screen and (max-width: 560px) {
  .l-gnav {
    display: none;
    position: fixed;
    width: 100vw;
    height: auto;
    max-height: 100dvh;
    background-color: var(--color-tertiary);
    top: var(--header-hight);
    right: initial;
    left: 0;
    padding: 20px;
    overflow-y: auto;
    background: var(--color-white);
    font-size: 16px;
  }
}
/*----------------------------------------*/
.l-gnav__main{
	display: flex;
  gap: 24px;
}
.l-gnav__item{
  font-weight: 600;
}
.l-gnav__item a:hover{
  text-decoration: none;
}
.l-gnav__main .l-gnav__item a{
  display: block;
}
.l-gnav__main .l-gnav__item > a{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.l-gnav__main .l-gnav__item > a::after{
  content: "";
  width: 0;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  bottom: -1px;
  transition: all .3s;
}
.l-gnav__main .l-gnav__item > a:hover::after{
  width: 100%;
}
.l-gnav__btn{
  display: flex;
}
.c-gnav__btn01{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: var(--color-primary);
  color: var(--color-white) !important;
  font-weight: 700;
  padding: 24px;
}
.c-gnav__btn02{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: var(--color-accent02);
  color: var(--color-white) !important;
  font-weight: 700;
  padding: 24px;
}
@media screen and (max-width: 1080px) {
  .l-gnav__main{
    display: block;
  }
  .l-gnav__item {
    display: block;
    margin: 15px 0;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 10px;
  }
  .l-gnav__main .l-gnav__item > a{
    height: auto;
  }
  .l-gnav__main .l-gnav__item > a:hover::after{
    display: none;
  }
  .l-gnav__btn{
    gap: 20px;
  }
  .l-gnav__btn > div{
    flex: 1;
  }
}
/*----------------------------------------*/
.l-gnav__current.current{
  font-weight: 700;
  color: var(--color-primary) !important;
}
.l-gnav__main .l-gnav__item > a.l-gnav__current.current::after{
  width: 100%;
}
@media screen and (max-width: 1080px) {
  .l-gnav__main .l-gnav__item > a.l-gnav__current.current::after{
    width: 0;
  }
}
/*----------------------------------------*/
.l-gnav__sub{
	display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.l-gnav__sub > li{
	font-size: 0.8em;
}
.l-gnav__sub > .l-gnav__item{
  display: flex;
  align-items: center;
}
@media screen and (max-width: 1080px) {
  .l-gnav__sub{
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 20px 0 0 0;
  }
  .l-gnav__sub > li{
    font-size: 0.9em;
  }
  .l-gnav__sub > .l-gnav__item{
    width: calc(50% - 10px);
    border-right: 1px solid var(--color-secondary);
    padding-right: 1em;
    margin-right: 20px;
  }
  .l-gnav__sub > .l-gnav__item:nth-child(2n){
    margin-right: 0;
  }
  .l-gnav__sub > .l-gnav__item a{
    display: block;
    width: 100%;
  }
  .l-gnav__sub > .l-gnav__item:has( > .p-sns__link){
    border: none;
    margin-right: 0;
    width: 100%;
  }
  .l-gnav__sub > .l-gnav__item:has( > .p-search__area){
    border: none;
    margin-right: 0;
    width: 100%;
  }
}
/*----------------------------------------*/
.l-dropmenu01{
  cursor: pointer;
  padding-right: 1.2em;
  position: relative;
  display: block;
}
.l-dropmenu01::before{
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: .4em;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-primary);
  border-right: 1px solid var(--color-primary);
  transform: rotate(135deg);
}
.l-dropmenu01::after{
  content: "";
  width: 0;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  bottom: -1px;
  transition: all .3s;
}
.l-dropmenu01:hover::after{
  width: 100%;
}
.l-dropmenu01.is-active::after{
  content: "";
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  bottom: -1px;
  transition: all .3s;
}
.l-dropmenu01__bg{
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  padding: 20px;
  background: var(--color-white);
}
.l-dropmenu01__close__area{
  position: absolute;
  top: 10px;
  right: 10px;
}
.l-dropmenu01__close{
  cursor: pointer;
  position: relative;
  font-size: 40px;
  line-height: 1;
  display: inline-block;
  font-weight: 400;
  color: var(--color-primary);
}
.l-dropmenu01__close:hover{
  text-decoration: none;
  opacity: .6;
}
@media screen and (max-width: 1080px) {
  .l-dropmenu01__bg{
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    background: var(--color-tertiary);
  }
  .l-dropmenu01:hover::after{
    display: none;
  }
  .l-dropmenu01::before{
    content: "＋";
    position: absolute;
    right: 0;
    top: 0;
    bottom: .4em;
    margin: auto;
    font-size: 20px;
    display: inline-block;
    line-height: 1;
    width: 20px;
    height: 20px;
    border-top: none;
    border-right: none;
    transition: all .6s;
    transform: rotate(0deg);
    color: var(--color-primary);
  }
  .l-dropmenu01.is-active::before{
    content: "－";
    transform: rotate(180deg);
  }
}
.l-dropmenu__list{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.l-dropmenu__list > li{
  margin: 0 20px;
}
@media screen and (max-width: 1080px) {
  .l-dropmenu__list > li{
    width: 100%;
    margin: 5px 0;
  }
}
/*----------------------------------------*/
#navbtn {
  display: none;
}
@media screen and (max-width: 1080px) {
  #navbtn {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    outline: none;
    border: none;
    background: none;
    width: var(--header-hight);
    height: var(--header-hight);
    cursor: pointer;
    display: inline-block;
    z-index: 999;
    transition: .3s;
    padding: 0 20px;
  }
  #navbtn:before, #navbtn:after {
    content: "";
    display: block;
    height: 2px;
    background-color: var(--color-primary);
    transform: translateY(6px);
    transition: 0.3s ease-in-out;
  }
  #navbtn:before {
    transform: translateY(-8px);
    box-shadow: 0 8px var(--color-primary);
  }
  #navbtn > span {
    position: absolute;
    right: 0;
    left: 0;
    bottom: -1.5em;
    margin: auto;
    font-size: 0.8em;
    line-height: 1;
    text-align: center;
    display: none;
  }
}
@media screen and (max-width: 1080px) {
  .menuopen {
    overflow: hidden;
  }
  .menuopen body {
    overflow: hidden;
  }
  .menuopen #navbtn:before {
    transform: rotate(-45deg);
    box-shadow: none;
  }
  .menuopen #navbtn:after {
    transform: translateY(-2px) rotate(45deg);
    box-shadow: none;
  }
}
#menu__overlay {
  display: none;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
}