/*  header */
#js-header {
    height: 100px;
    line-height: 100px;
    position: relative;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
}
.l-header__inner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 100%;
}
.header_img {
    line-height: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    overflow: hidden;
    word-wrap: break-word;
    width: 27%;
    position: relative;
    margin: 0 5px;
}






/*========= header 上部固定させるためのCSS ===============*/
#js-header.fixed {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    animation: DownAnime 0.5s forwards;
    box-shadow: 0 0 15px #ebebeb;
}

@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}


#js-header.fixed .p-global-nav li a {
    color: #000;
    text-shadow: unset;
}


/* header_logo */
.header_logo {
    display: block;
    max-width: 280px;
    padding: 0 0 0 3%;
    width: 40%;
    position: absolute;
}
.header_logo a {
    position: relative;
    display: block;
}
.header_logo img {
    vertical-align: middle;
    width: 100%;
    height: auto;
}

 /*** global nav*/

.p-global-nav {
    padding: 13px 25px 9px;
    background: rgb(255 255 255 / 85%);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;}




#js-header.fixed .p-global-nav {
	display:block;
}


.p-global-nav > li {
    flex: 0 0 auto;
    position: relative;
    line-height: 27px;
    font-weight: 700;
    padding: 0 20px;
}

.p-global-nav li.menu-item-has-children:hover > .sub-menu { top: 100%; }


.p-global-nav > li > a,
.nav-accordion {
  display: block;
  padding: 2px 0px;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}



.p-global-nav > li:last-child span:before{
    display: none;
}


.p-global-nav > li span {
    display: block;
    position: relative;
    font-family: cantarell, sans-serif;
    font-size: 75%;
    letter-spacing: 0.05em;
    font-weight: 700;
}

span.gspa01 {
    color: #ebb839;
}
span.gspa02 {
    color: #49c056;
}
span.gspa03 {
    color: #6eaaff;
}
span.gspa04 {
    color: #ff6cc2;
}
span.gspa05 {
    color: #cca2ff;
}
span.gspa06 {
    color: #e9a1a1;
}
span.gspa07 {
    color: #ebb839;
}

.sub-menu {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scaleY(0.9);
  transform-origin: top center;
  width: 240px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.35s ease;
      border-radius: 20px;
}

.sub-menu li a {
    display: block;
    padding: 19px 0px 16px 4px;
    border-bottom: 1px solid #d5d5d5;
    color: #3C2A2A;
    font-weight: 700;
}

.sub-menu li {
    width: 84%;
    margin: 0 auto;
}

.sub-menu li:last-child a {
  border-bottom: none;
}

.has-child.is-open .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scaleY(1);
}



.p-global-nav > li img {
    width: auto;
    position: relative;
    height: 18px;
    vertical-align: middle;
}


/* p-global-nav hover 設定-調整*/
@media only screen and (min-width: 768px) {
    .p-global-nav li a:after, .nav-accordion:after {
        position: absolute;
        content: '';
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
		background: #ffcbab;
        transition: all 0.3s ease 0s;
        right: 0;
        margin: 0 auto;
    }
    .p-global-nav li a:hover:after, .nav-accordion:hover:after {
        width: 30px;
    }
.p-global-nav li a:hover {
    cursor: pointer;
}
.p-global-nav .sub-menu a:after {
display: none;}
}

/*submenu 着地点調整*/
.p-global-nav .menu-item-has-children {
    position: relative;
    padding-bottom: 15px;
}


/***ヘッダースクロール***/

@media screen and (min-width: 768px) {
  #js-header.is-fixed-pc {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    animation: headerFadeDown 1s ease forwards;
            background: rgb(255 255 255 / 95%);
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.12);
  }

  #js-header.is-fixed-pc .l-header__inner {
    animation: headerInnerFade 1s ease forwards;
  }

  @keyframes headerFadeDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes headerInnerFade {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.is-fixed-pc .p-global-nav {
    background: unset;
}


#js-header.is-fixed-pc {
    height: 90px;
    line-height: 90px;
}



/* sp_menu */
/*
#g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background: rgb(251 248 193);
    transform: translateX(100%);
    transition: transform 0.6s ease;
    margin: 0 !important;
}
#g-nav.panelactive {
    transform: translateX(0);
}

*/

#g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    margin: 0 !important;
}
#g-nav.panelactive {
    opacity: 1;
    visibility: visible;
}

#g-nav #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.g-navul {
    position: relative;
    font-family: "Shippori Mincho B1", serif;
    display: table;
    width: 100%;
}

.g-navul li {
    list-style: none;
    position: relative;
    line-height: 3;
    color: #fff;
    font-size: 110%;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.g-navul li span {
    position: relative;
    display: inline-block;
    padding: 0 5px 0 25px;
    transition: transform 0.3s ease;
}

.g-navul li a::before {
    content: "";
    position: absolute;
    top: 1.5em;
    left: 0;
    width: 12px;
    height: 1px;
    background: #ffffff;
}

.g-navul li a {
    text-decoration: none;
    display: block;
    position: relative;
    color: #fff;
}
.g-navul li a:hover span {
    transform: translateX(5px);
}


.g-nav-list_block01 {
    background: #fff;
    position: relative;
    padding: 15px 5% 50px;
}

#g-nav_flex {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    align-items: stretch;
    display: flex;
    justify-content: space-between;
}
#g-nav_flex_right {
    width: 70%;
    background: #B01218;
}
#g-nav_flex_left {
    width: 30%;
}
#g_flex_left_inner {
    position: relative;
    padding: clamp(100px, 32vh, 300px) 5% 0;
}
#g_flex_right_inner {
    padding: clamp(100px, 20vh, 180px) 7% 0;
    position: relative;
}
#gr_inner_flex {
    display: flex;
    align-items: stretch;
    gap: 50px;
}
#gr_menu01 {
    flex: 3;
}
#gr_menu02 {
    flex: 3.5;
}
#gr_menu03 {
    flex: 3.5;
}

.g_menu_txt {
    font-family: "Shippori Mincho B1", serif;
    line-height: 3;
    font-size: 110%;
    color: #fff;
    border-bottom: solid 1px #fff;
    letter-spacing: 0.1em;
}

.g-navul_sub {
    position: relative;
    font-family: "Shippori Mincho B1", serif;
    display: table;
    width: 97%;
    margin: 20px 0 0 auto;
    letter-spacing: 0.1em;
}

.g-navul_sub li {
    line-height: 2.5;
    margin-bottom: 5px;
    position: relative;
    font-size: 110%;
}

.g-navul_sub li::before {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    background: #fff;
    top: 1.2em;
    left: 0;
    border-radius: 100px;
}

.g-navul_sub li a {
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    color: #fff;
    padding: 0 5px 0 15px;
    transition: transform 0.3s ease;
}

.g-navul_sub li a:hover {
    transform: translateX(5px);
}



.g_menu_right {
    position: relative;
    font-family: "Shippori Mincho B1", serif;
    width: 100%;
    margin: 40px 0 0 auto;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.g_menu_right li {
    line-height: 2.5;
    position: relative;
    font-size: 110%;
    margin: 0 30px 0 0;
}
.g_menu_right li a {
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
    position: relative;
    color: #fff;
    padding: 0 5px 0 15px;
}
.g_menu_right li:before {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    background: #fff;
    top: 1.1em;
    left: 0;
    border-radius: 100px;
}


.g_menu_right li a:hover {
    transform: translateX(5px);
}


.spgnav_logo {
    width: 80%;
    margin: 0 auto 40px;
    max-width: 440px;
}
.sp_post {
    line-height: 1.5;
    text-align: center;
    font-size: 100%;
    font-family: "Shippori Mincho B1", serif;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.sp_address {
        letter-spacing: 0.05em;
    font-family: "Shippori Mincho B1", serif;
    line-height: 1.8;
    font-size: 110%;
    text-align: center;
}





/***ハンバーガー―メニュー***/
.openbtn {
    position: relative;
    z-index: 9999;
    top: 10px;
    right: 3%;
    cursor: pointer;
    width: 80px;
    height: 80px;
    transition: all 0.4s ease;
    background: #000;
    margin: 0 0 0 auto;
}
.openbtn_line {
    width: 40%;
    float: right;
    position: relative;
}
.openbtn_txt {
    width: 60%;
    float: left;
    position: relative;
}
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    height: 1px;
    border-radius: 2px;
    background-color: #fff;
    width: 50px;
    right: 0;
    left: 15px;
}


.openbtn.active {
    position: fixed;
}

.openbtn span:nth-of-type(1) {
	top:25px;	
}

.openbtn span:nth-of-type(2) {
top: 40px;
    width: 30px;
}

.openbtn span:nth-of-type(3) {
    top: 55px;
    width: 38px;
}

.openbtn.active span:nth-of-type(1) {
    transform: translateY(15px) rotate(-35deg);
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    transform: translateY(-15px) rotate(35deg);
    top: 55px;
    width: 50px;
}







.gnav_logotxt {
    width: 70%;
    margin: 0 auto 20px;
    max-width: 320px;
    line-height: 1;
}
.g_txt {
    font-size: 95%;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    width: 80%;
    margin: 0 auto 18px;
}
span.sggt:hover {
    opacity: 0.7;
}
span.sggt {
    color: #333;
    border: solid 1px #333;
    padding: 2px 12px 7px;
    font-size: 90%;
    transition: all 0.3s ease 0s;
}
.g_txt a {
    position: relative;
}
span.short {
    font-size: 95%;
    margin-right: 10px;
}
.g_txt01 span {
    font-family: "Jost", sans-serif;
}

.g_txt01 {
    width: 80%;
    margin: 0 auto 7px;
    line-height: normal;
    color: #fff;
}
.icoul02 li img {
    width: 24px;
    height: auto;
    vertical-align: middle;
}
.icoul02 li {
    width: 16%;
    margin: 0 2%;
    float: left;
    line-height: normal;
    text-align: center;
}
.icoul02 {
    width: 80%;
    display: table;
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
}


.gnav_logo {
    margin: 0 auto 18px;
}
.gnav_tel a {
    display: block;
    position: relative;
}

.gnav_tel img {
	width: 50%;
}
.gnav_tel {
    width: 80%;
    margin: 13px auto 20px;
    line-height: normal;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;

    z-index: 999;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
}

/**
#js-header.is-fixed-pc {
  animation: none;
  transform: none;
}

#js-header.is-fixed-pc .l-header__inner {
  animation: none;
  transform: none;
}
**/

.is-fixed-pc .openbtn {
    top: 5px;
}






@media screen and (min-width: 768px) {
  #js-header.is-fixed-pc {
    animation: headerFadeOnly 1s ease forwards;
    transform: none;
  }

  #js-header.is-fixed-pc .l-header__inner {
    animation: none;
    transform: none;
  }

  @keyframes headerFadeOnly {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

@media screen and (max-width: 1600px) {
.g-navul li, .g-navul_sub li, .g_menu_right li{
    font-size: 105%;
}
}

@media screen and (max-width: 1400px) {
#g_flex_right_inner {
    padding: clamp(100px, 20vh, 180px) 4% 0;
}
#g-nav_flex_left {
    width: 25%;
}
#g-nav_flex_right {
    width: 75%;}
.g-navul li, .g-navul_sub li, .g_menu_right li{
    font-size: 100%;
}
}


@media screen and (max-width: 1200px) {
#gr_inner_flex {
    gap: 25px;}
}

@media screen and (max-width: 1000px) {
.openbtn {
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
}
.openbtn span:nth-of-type(3) {
    top: 50px;
    width: 40px;
}
.openbtn span:nth-of-type(2) {
    top: 35px;
    width: 31px;
}
.openbtn span:nth-of-type(1) {
    top: 20px;
    width: 40px;
}
.openbtn.active span:nth-of-type(3) {
    transform: translateY(-15px) rotate(35deg);
    top: 50px;
    width: 40px;
}
#js-header {
    height: 70px;
    line-height: 70px;
}
.header_logo {
    max-width: 225px;
    padding: 0 0 0 12px;
}
#gr_inner_flex {
    display: table;
    width: 100%;
}
.g_menu_right {
    justify-content: flex-start;
}
#gr_menu01 {
    flex: unset;
    width: 100%;
}
    #g_flex_right_inner {
        padding: clamp(70px, 8vh, 150px) 7% 50px;
    }
#gr_menu02:last-child {
    margin-left: 8%;
}
#gr_menu02 {
    flex: unset;
    width: 46%;
    float: left;
}
.openbtn {
    position: fixed;
}
}



@media screen and (max-width: 767px) {
#g-nav_flex {
    display: block;
}
.header_logo {
    max-width: 210px;
    width: 60%;
}
    #g-nav_flex_left {
        width: 100%;
    }
#g_flex_left_inner {
    padding: 70px 5% 30px;
    max-width: 400px;
    margin: 0 auto;
}
    #g-nav_flex_right {
        width: 100%;
    }
.spgnav_logo {
    max-width: 200px;
    margin: 0 auto 20px;
}
.g-navul li a::before {
    top: 1.2em;
    width: 8px;
}
.g_menu_txt {
    margin-top: 10px;
    font-size: 100%;
    line-height: 2;
}
.g-navul_sub {
    margin: 7px 0 0 auto;
}
#gr_menu02:last-child {
        margin-left: 0;
    }
#gr_menu02 {
    width: 100%;
    float: unset;
}
.sp_address {
    font-size: 90%;
}
.g-navul li span {
    padding: 0 5px 0 17px;
}
#g_flex_right_inner {
    padding: 30px 7% 50px;
}
.g-navul li, .g-navul_sub li, .g_menu_right li {
    font-size: 95%;
    line-height: 2.5;
}
.sp_post {
    font-size: 85%;
    margin-bottom: 0;
}
}