@charset "UTF-8";

/* -------------------------------------------------- */
/* 共通ヘッダー  */
/*-------------------------------------------------- */
@media (min-width: 769px) {
  header:not(.fixed) {
    padding: 17px 0 25px 0;
  }
}

header:not(.fixed) h1 .fixLogo {
  display: none;
}

header {
  padding: 14px 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 20;
  width: 100%;
  position: absolute;
}

header .none {
  display: none;
}

header a {
  font-weight: 500;
  color: #333;
}

header a:visited {
  color: #333;
}

span.sub_catch {
  font-size: 1.4rem;
  line-height: 1.2;
  padding-top: 13px;
}

.pc_nav {
  display: block;
}

.sp_nav {
  display: none;
}

/*header.sp_nav.fixed {
  max-width: 96%;
}*/

@media screen and (max-width: 1000px) {
  .pc_nav {
    display: none !important;
  }

  .sp_nav {
    display: block !important;
  }
}

@media (min-width: 769px) {
  header a:hover {
    color: #333;
    opacity: 0.6;
    transition-duration: 0.5s;
  }
}

@media (min-width: 769px) and (max-width: 768px) {
  header {
    margin: 16px auto 16px;
  }
}

@media (min-width: 769px) {
  header .navi_title {
    display: flex;
    align-items: center;
  }

  header .flex {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
  }

  header .flex .flex2 {
    height: 100%;
  }

  header .flex .flex2.no1 {
    display: flex;
    align-items: center;
    gap: 16px;
    /*width: 200px;*/
    /* style */
  }

  header .flex .flex2.no2 {
    z-index: 1;
    /*width: calc(100% - 200px);*/
    right: 0;
    margin-left: auto;
  }

  header .navi {
    font-weight: 500;
    height: 100%;
    position: relative;
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
    padding-top: 5px;
  }

  header .navi>ul {
    display: flex;
    height: 100%;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
  }

  header .navi>ul .contact_btn_wrap a,
  header .navi>ul .contact_btn_wrap a:visited {
    padding: 10px 23px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    position: relative;
    color: #fff;
    background-color: #d01c97;
    border: 1px solid #d01c97;
    line-height: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    font-size: 1.9rem;
  }
}

@media (min-width: 769px) and (min-width: 769px) {

  header .navi>ul .contact_btn_wrap a:hover,
  header .navi>ul .contact_btn_wrap a:visited:hover {
    background-color: #fff;
    color: #d01c97;
    border: 1px solid #d01c97;
    transition-duration: 0.5s;
  }
}

@media (min-width: 769px) {
  header .navi>ul>li {
    position: relative;
    font-size: 15px;
    font-size: 1.6rem;
    line-height: 1.1em;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 47px;
  }

  header .navi>ul>li a:hover {
    transition-duration: 0.5s;
  }

  header .navi>ul>li a .image {
    width: 50px;
    margin: auto;
    height: 50px;
    display: flex;
    margin-bottom: 4px;
    justify-content: center;
    align-items: center;
  }

  header .navi>ul>li a .image img {
    margin: auto;
  }

  header .navi>ul>li a>div {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 769px) {
  #nav_toggle {
    display: none;
  }
}

/*--------------------------------------------------- */
/* レスポンシブ */
/*--------------------------------------------------- */
@media (max-width: 768px) {
  header {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    align-items: center;
  }

  header .flex {
    align-items: center;
    justify-content: space-between;
  }

  header .navi_title img {
    max-width: 200px;
  }
}

@media (max-width: 768px) and (max-width: 480px) {
  header .navi_title img {
    max-width: 140px;
  }
}

@media (max-width: 768px) {
  header .flexChild {
    display: none;
  }
}

header.fixed {
  position: fixed;
  background-color: rgba(255, 255, 255, 1);
  margin: 0;
  width: 100%;
  max-width: initial;
  z-index: 100;
}

header.fixed .none {
  display: block;
}

header.fixed .navi_title {
  display: flex;
  align-items: center;
}

header.fixed .navi_title .normalLogo {
  display: none;
}

@media (min-width: 769px) {
  header.fixed nav a {
    color: #333;
  }

  header.fixed nav a:visited {
    color: #333;
  }

  header.fixed nav a:hover {
    color: #828282;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  header.fixed nav a {
    color: #333;
  }

  header.fixed nav a:visited {
    color: #333;
  }

  header.fixed nav a:hover {
    color: #aaa;
  }
}

header.fixed #nav_toggle span {
  background: #333;
}

@media (min-width: 769px) {
  header.fixed {
    padding: 0;
  }

  header.fixed .flex {
    margin: auto;
  }

  header.fixed .flex .flex3 {
    height: 100%;
  }

  header.fixed .flex .flex3.no1 {
    display: flex;
    align-items: center;
    /* style */
  }

  header.fixed .flex .flex3.no2 {
    z-index: 1;
    right: 0;
    margin-left: auto;
  }

  header.fixed .flex .flex3.no3 {
    width: 100%;
  }

  header.fixed .flexChild {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  header.fixed .flexChild>div {
    display: flex;
    align-items: center;
  }

  header.fixed .flexChild .num1 {
    display: none;
  }

  header.fixed .flexChild .num2 {
    width: 50%;
    max-width: 202px;
    margin-right: 24px;
  }

  header.fixed .flexChild .num2 img {
    margin-left: auto;
  }

  header.fixed .flexChild .num3 {
    width: 50%;
    max-width: 162px;
  }

  header.fixed .flexChild .num3 img {
    margin-left: auto;
  }

  header.fixed .navi {
    padding: 24px 0;
  }

  header.fixed .navi>ul>li:after {
    height: 20px;
  }

  header.fixed .navi>ul>li:nth-of-type(1):before {
    height: 20px;
  }
}

@media screen and (max-width: 768px) {
  span.sub_catch {
    display: none;
  }
}

@media (max-width: 768px) {
  header.fixed .btnFlex {
    display: none;
  }

  header.fixed .flex .flex2.no3 {
    margin-top: 0;
  }
}

@media (min-width: 769px) {
  header.fixed .navi_title {
    margin-left: 0;
  }
}

header .navi_title {
  position: relative;
}

@media (min-width: 769px) {
  header .navi_title {}
}


@media (max-width: 768px) {
  header.fixed nav {
    top: 72px;
  }
}

@media (max-width: 768px) and (max-width: 480px) {
  header.fixed nav {
    top: 58px;
  }
}

@media (max-width: 768px) and (max-width: 480px) {
  header.fixed #nav_toggle {
    margin-top: 3px;
  }
}


@media (max-width: 768px) and (max-width: 480px) {
  header nav {
    top: 56px;
  }
}

@media (min-width: 769px) {
  header nav {
    display: block !important;
  }


}


/*-------------------------------------------*/
/*メガメニュー*/
/*-------------------------------------------*/

.has-megamenu {
  position: relative;
  /* fixedで親関係なくなるのでrelativeでもOK */
}

.has-megamenu a {
  position: relative;
}

.has-megamenu a:after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  bottom: 6px;
  margin: auto;
  color: #000000;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  -webkit-transform: translateX(-25%) rotate(135deg);
  transform: translateX(-25%) rotate(135deg);
}


.megamenu {
  position: fixed;
  top: 97px;
  /* ←ヘッダーの高さに合わせて調整 */
  left: 0;
  right: 0;
  width: 100vw;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  /*transform: translateY(10px);*/
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
  background: #fff;
  border-top: 1px dotted #d4d4d4;
}

.megamenu.megamenu--visible {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  /*transform: translateY(0);*/
  z-index: 1000000;
}




/*.has-megamenu:hover .megamenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}*/

/* メガメニュー内のレイアウト */
.megamenu-inner {
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
  padding: 35px 70px;
}


.megamenu_contents.flex {
  justify-content: flex-start;
  position: relative;
}

.megamenu_contents.flex:after {
  position: absolute;
  content: "";
  width: 1px;
  height: 81px;
  background-color: #b1409b;
  left: 31%;
}

.megamenu_heading {
  width: 40%;
}

.megamenu_list {
  display: flex;
  flex-wrap: wrap;
  width: 51%;
  gap: 20px 86px;
}

.megamenu .megamenu_list a {
  width: 32%;
  position: relative;
}

.megamenu .megamenu_list a:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  color: #000000;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  -webkit-transform: translateX(-25%) rotate(45deg);
  transform: translateX(-25%) rotate(45deg);
}

.megamenu .megamenu_list a:nth-child(2):after {
  right: -40px;
}

.megamenu .megamenu_list a:nth-child(4):after {
  right: -40px;
}

header.fixed .megamenu {
  top: 97px;
  box-shadow: 0 10px 12px -14px rgba(0, 0, 0, 0.15);
}

.has-megamenu>a {
  position: relative;
  z-index: 1;
}

.has-megamenu a::before {
  content: "";
  position: absolute;
  top: -30px;
  bottom: -37px;
  left: -20px;
  right: -20px;
  z-index: 0;
}


@media screen and (max-width: 1000px) {
  .megamenu-inner {
    padding: 35px 70px;
  }

  .megamenu_heading {
    width: 40%;
  }

  .megamenu_list {
    width: 60%;
    gap: 20px 66px;
  }

  .megamenu .megamenu_list a {
    width: 40%;
  }
}

/*-------------------------------------------*/
/*SPヘッダー*/
/*-------------------------------------------*/
@media (max-width: 1000px) {
  header .flex2.no2 {
    position: relative;
  }

  #g-nav {
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transition: all 0.3s;
  }

  #g-nav:not(.panelactive) {
    pointer-events: none;
  }

  #g-nav.panelactive {
    opacity: 1;
    z-index: -1;
    background: rgba(255, 255, 255, 1);
    /*0.95*/
    visibility: visible;
  }

  #g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #g-nav.panelactive .navFlex {
    display: block;
  }

  #g-nav .navFlex {
    display: none;
    position: absolute;
    z-index: 99;
    top: calc(30% - 100px);
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .panelactive #g-nav .navFlex {
    display: block;
  }

  #g-nav .navFlex li {
    list-style: none;
    text-align: center;
  }

  #g-nav .navFlex a {
    color: #333;
    text-decoration: none;
    padding: 15px 10px;
    display: block;
    /* text-transform: uppercase; */
    letter-spacing: 0.1em;
    font-weight: bold;
    text-align: left;
    font-size: 1.5rem;
    border-bottom: 1px dotted #dcdcdc;
    font-family: "游ゴシック", sans-serif;
  }

  #g-nav .navFlex li:first-child a {
    border-top: 1px dotted #dcdcdc;
  }

  .openbtn1 {
    position: absolute;
    z-index: 9999;
    top: 0;
    right: -10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    bottom: 0;
    margin: auto;
  }

  .openbtn1 span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

  .openbtn1 span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn1 span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn1 span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    -webkit-transform: translateY(6px) rotate(-45deg);
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn1.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    -webkit-transform: translateY(-6px) rotate(45deg);
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  .panelactive li.sp_contact_block {
    display: block !important;
    margin-top: 25px;
  }

  .panelactive .sp_contact_block .btnarea .btn_wrap a {
    background-color: #e3c28d;
    color: #fff !important;
    border-radius: 50px;
    /* display: flex; */
    /* justify-content: center; */
    width: 100%;
    margin: 0 auto;
    /*padding: 15px 10px 15px 10px !important;*/
    max-width: 220px;
  }

  .panelactive .sp_contact_block .btnarea {
    margin-bottom: 20px;
  }

  .panelactive .sp_contact_block .btnarea:nth-of-type(2) .btn_wrap a {
    background-color: #9ba7b3;
  }

  li.contact_btn_wrap {
    background-color: #d01c97;
    border-radius: 50px;
    width: 100%;
    margin-top: 30px;

  }

  #g-nav .contact_btn_wrap a {
    color: #fff;
    text-align: center;
    border-bottom: none;
  }

  /*-------------------------------------------*/
  /*アコーディオン*/
  /*-------------------------------------------*/
  .ac-parent {
    position: relative;
    cursor: pointer;
    transition: .3s;
  }

  .ac-parent:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    /*横線*/
    width: 16px;
    height: 2px;
    background: #333;
  }

  .ac-parent:after {
    content: "";
    position: absolute;
    top: 50%;
    /* 8px+12px-1px(幅2pxの半分) */
    right: 19px;
    transform: translateY(-50%);
    transition: all .3s;
    /*縦線*/
    width: 2px;
    height: 16px;
    background: #333;
  }

  /* 縦線（after）だけ縦回転させる */
  .ac-parent.open:after {
    top: 25%;
    transform: rotate(90deg);
    opacity: 0;
  }

  #g-nav .navFlex p {
    color: #333;
    text-decoration: none;
    padding: 15px 10px;
    display: block;
    /* text-transform: uppercase; */
    letter-spacing: 0.1em;
    font-weight: bold;
    text-align: left;
    font-size: 1.5rem;
    border-bottom: 1px dotted #dcdcdc;
    margin-bottom: 10px;
  }

  .ac-child {
    display: flex;
    flex-wrap: wrap;
  }

  #g-nav .navFlex .ac a {
    font-size: 1.2rem;
    border: none;
    display: block;
    width: 50%;
    font-feature-settings: "palt";
  }

  header.fixed:has(.panelactive) {
    background: none;
    transition: all 1.5s;
  }
}


@media screen and (max-width: 1000px) {

  .no-scroll {
    overflow: hidden;

    touch-action: none;

  }


}