@charset "UTF-8";

:root {
  --header_bg: #fff;
  --nav_color: #61208B;
  --nav_color_hover: #AC69D8;
  --nav_font: 1.8rem;
  --nav_gap: 3rem;
  --gnav-position: fixed;
}

main {
  padding-top: 0px;
  /* ↑ headerの高さに合わせて調整 */
  padding-bottom: 5rem;
  /* ↑ footerの高さに合わせて調整 */
  overflow: hidden;
  min-height: calc(100vh - 4.5rem);
}

.custom-nav .menu-item a {
  color: unset;
}

.custom-nav .menu-item a:hover {
  color: unset;
}

.custom-nav .menu-item a:visited {
  color: unset;
}

.header .custom-nav .menu-item {
  font-weight: 500;
}

.footer-nav {
  background: #fff;
  border-top: 1px solid var(--c-main);
}



/**************************************
ヘッダー
**************************************/
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: fixed;
  width: 100%;
  max-height: 200px;
  padding: 0;
  top: 0;
  z-index: 100;
}

.header-logo {
  width: 11vw;
  height: 11vw;
  pointer-events: painted;
  cursor: pointer;
  transition: opacity .3s;
  position: relative;
}

.header-log:hover {
  opacity: 0.8;
  transition: opacity .3s;
}

.header-logo a.img {
  width: 9vw;
  height: 9vw;
  max-width: 150px;
  max-height: 150px;
  min-width: 120px;
  min-height: 120px;
  margin-top: 1rem;
  margin-left: 1rem;
  border-radius: 10px;
  overflow: hidden;
  position: absolute;
  z-index: 10;
}

.header-logo a img {
  opacity: 1;
}

.header-logo:hover a img,
.header-logo:hover a.img {
  opacity: 1;
}

.header-logo:visited a img,
.header-logo:visited a.img {
  opacity: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  padding: 2rem 4rem 2rem 5rem;
}

/* .header:after {
  content: "";
  width: 100%;
  height: 80px;
  background: var(--header_bg);
  border-bottom: 1px solid rgb(103 103 103 / 10%);
  opacity: 1;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
} */
#page-top .header:after {
  opacity: 0.8;
}

@media screen and (max-width: 960px) {
  .header {
    max-height: 70px;
  }

  .header:after {
    height: 70px;
  }

  .header-logo a.img {
    margin-top: 1rem;
    margin-left: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .header-logo a.img {
    min-width: 80px;
    min-height: 80px;
    margin-left: 1rem;
    margin-top: 0.5rem;
    width: 24vw;
    height: 24vw;
  }
}


/**************************************
グロナビ
**************************************/
.custom-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  color: var(--nav_color);
  position: relative;
  z-index: 100;
}

.custom-nav .menu-item {
  display: inline-flex;
  align-items: center;
  height: 40px;
  color: var(--nav_color);
  font-size: var(--nav_font);
  line-height: 1;
  transition: transform 0.3s ease-out, color 0.3s;
  transform: translate(0, 0);
  position: relative;
}

.header .custom-nav .menu-item:hover {
  transition: 1s color;
  color: var(--nav_color_hover);
  transition: transform 0.3s ease-out, color 0.3s;
  transform: translate(0, -5px);
}

.custom-nav .menu-item.tab {
  display: none;
}

/* ホバー時下線*******************************/
.menu>.menu-item>a::after {
  content: '';
  width: 100%;
  height: 1px;
  bottom: 0;
  transform: scale(0, 1);
  transform-origin: center top;
  /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: 0.5s transform, 0.3s opacity;
  position: absolute;
  left: 0;
}

.menu>.menu-item:hover>a::after {
  background: var(--nav_color_hover);
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
}

.menu>.menu-item.no-line:hover>a::after {
  background: none !important;
}

/* メニュー間の仕切り線*******************************/
.menu>.menu-item.shikiri:after {
  content: "";
  height: 100%;
  border-right: 1px solid var(--nav_color);
  position: absolute;
  right: calc(var(--nav_gap) / -2);
}

@media screen and (max-width: 960px) {
  .menu>.menu-item.shikiri:after {
    display: none;
  }
}


/**************************************
ハンバーガーメニューに切り替えるスタイル
切り替え幅によってメディアクエリ変更
**************************************/
@media screen and (max-width: 960px) {
  .custom-navi {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility .5s ease;
    position: relative;
    z-index: 8;
  }

  .custom-navi.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility .5s ease;
  }

  .custom-nav .menu-item.tab {
    display: block;
  }

  /**************************************
ハンバーガーメニュー中身
**************************************/
  .custom-navi.active .custom-nav {
    transition-timing-function: ease-in-out;
    transition: right .5s;
    right: 0;
  }

  .custom-nav {
    flex-direction: column;
  }

  .custom-nav {
    display: block;
    width: 45%;
    max-width: 45%;
    height: 100vh;
    margin-left: auto;
    padding: 92px 5% 150px;
    background: #f3e9fa;
    overflow: auto;
    transition: right .5s;
    position: fixed;
    top: 0;
    right: -100%;
  }

  .custom-nav .menu-item {
    display: inline-block;
    width: 100%;
    padding: 0 1rem;
    height: auto;
    pointer-events: painted;
    position: relative;
    color: var(--nav_color);
    line-height: 3;
    border-bottom: 1px solid var(--nav_color);
  }

  .custom-nav .menu-item a {
    display: flex;
    width: 100%;
    height: 100%;
    pointer-events: painted;
  }

  .menu>.menu-item {
    border-bottom: 1px solid #ffffff;
  }

  .menu>.menu-item:first-child {
    border-top: 1px solid #ffffff;
  }

  .custom-nav .menu-item.tab {
    display: inline-block;
  }

  .custom-nav .menu-item:hover {
    transform: translate(0, 0);
  }

  .custom-nav>.menu-item>a br {
    display: none !important;
  }
}

@media screen and (max-width: 600px) {
  .custom-navi.active .custom-nav {
    transition-timing-function: ease-in-out;
    transition: right .5s;
    right: 0;
  }

  .custom-navi.active .custom-nav {
    height: 100svh;
    margin-top: 0;
    padding: 120px 15% 0;
    width: 100%;
    max-width: 100%;
    right: -100%;
    transition: right .5s;
  }

  .custom-navi .custom-nav a {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    height: 11vh;
    max-height: 60px;
    padding: 0;
    padding-bottom: 2px;
  }

  .custom-navi .custom-nav {
    right: -100%;
    top: 0;
    transition: right 0.2s;
  }

  .custom-navi.active .custom-nav {
    right: 0;
    top: 0;
    transition: right 0.2s;
  }
}


/**************************************
ハンバーガーボタン
切り替え幅によってメディアクエリ変更
**************************************/
.hamburger-btn {
  display: none;
}

@media screen and (max-width: 960px) {
  .hamburger-btn {
    display: block;
    width: 70px;
    height: 70px;
    pointer-events: painted;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
  }

  .hamburger-btn p {
    display: none;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
  }

  .hamburger {
    display: inline-block;
    margin: 0;
    padding: 23px;
    /* ここで高さ調整 */
    font: inherit;
    transition-timing-function: linear;
    transition-duration: .15s;
    transition-property: opacity, filter;
    text-transform: none;
    color: inherit;
    border: 0;
    background-color: transparent;
    overflow: visible;
    cursor: pointer;
    pointer-events: painted;
  }

  .menubtn-box {
    display: flex;
    justify-content: center;
    width: 40px;
    height: 24px;
    position: relative;
  }

  .menubtn-inr {
    top: 50%;
    display: block;
    margin-top: -2px;
  }

  .menubtn-inr:after,
  .menubtn-inr:before {
    display: block;
    content: "";
  }

  .menubtn-inr:before {
    top: -10px;
  }

  .menubtn-inr:after {
    bottom: -10px;
  }

  .menubtn-inr,
  .menubtn-inr:after,
  .menubtn-inr:before {
    width: 30px;
    /* ハンバーガー幅変更 */
    height: 4px;
    transition-timing-function: ease;
    transition-duration: .15s;
    transition-property: transform;
    position: absolute;
    background-color: var(--nav_color);
    /* border-radius: 4px; */
  }

  .hamburger--squeeze .menubtn-inr {
    transition-timing-function: cubic-bezier(.55, .055, .675, .19);
    transition-duration: 75ms;
  }

  .hamburger.is-active .menubtn-inr,
  .hamburger.is-active .menubtn-inr:after,
  .hamburger.is-active .menubtn-inr:before {
    background-color: var(--nav_color);
  }

  .hamburger--squeeze.is-active .menubtn-inr {
    transition-delay: .12s;
    transition-timing-function: cubic-bezier(.215, .61, .355, 1);
    transform: rotate(45deg);
  }

  .hamburger--squeeze .menubtn-inr:before {
    transition: top 75ms ease .12s, opacity 75ms ease;
  }

  .hamburger--squeeze.is-active .menubtn-inr:before {
    top: 0;
    transition: top 75ms ease, opacity 75ms ease .12s;
    opacity: 0;
  }

  .hamburger--squeeze .hamburger-inner:after {
    transition: bottom 75ms ease .12s, transform 75ms cubic-bezier(.55, .055, .675, .19);
  }

  .hamburger--squeeze.is-active .menubtn-inr:after {
    bottom: 0;
    transition: bottom 75ms ease, transform 75ms cubic-bezier(.215, .61, .355, 1) .12s;
    transform: rotate(-90deg);
  }
}

@media screen and (max-width: 600px) {
  .hamburger {
    /* padding: 18px; */
    /* ここで高さ調整 */
  }
}

/**************************************
グロナビ調整
**************************************/
.menu>.menu-item.bg_aqua {
  margin-left: -1rem;
  padding: 0 2rem;
  color: #fff;
  border-radius: 70px;
}

.menu>.menu-item.bg_aqua>a::after {
  display: none;
}

.menu>.menu-item.bg_aqua a {
  color: #fff;
}

.menu>.menu-item.bg_aqua a:visited {
  color: #fff;
}

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

  /* #main-nav>.menu-item{
    padding: 0 1rem;
  } */
  .menu>.menu-item.bg_aqua {
    display: none;
  }

  .custom-nav {
    max-width: 28rem;
  }
}

@media screen and (max-width: 600px) {
  #main-nav .menu-item.bg_aqua {
    display: none;
  }
}

/**************************************
スマホ固定ナビ
**************************************/
@media screen and (max-width: 960px) {
  #fix-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 7rem;
    margin: 0 auto;
    box-shadow: 0px 0px 15px -5px #777777;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }

  #fix-nav .btn02 {
    margin-right: 8rem;

    font-size: 2rem;
    box-shadow: 0px 0px 10px -5px #000000;
  }

  .btn02 a {
    padding: 2% 0;
  }


}


/**************************************
footer
**************************************/
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.footer-nav {
  width: 100%;
}

.footer-nav #main-navi {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.cnt_footer-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 4rem 3rem 3rem; */
  padding: 1rem 3rem 1rem;
}

.cnt_footer-info .p32.serif {
  display: flex;
  align-items: center;
}

.cnt_footer-info .p32.serif .img {
  padding: 4px 1rem 0;
}

.cnt_footer-info .cnt_left {
  line-height: 1.7;
}

.cnt_footer-info .cnt_right {
  line-height: 2;
}

.cnt_footer-info .cnt_right .cnt_contact {
  display: flex;
  justify-content: flex-start;
}

.cnt_footer-info a:link,
.cnt_footer-info a:visited {
  color: #fff;
}

.cnt_footer-info .description {
  line-height: 1.8;
}

.cnt_footer-info .description a {
  text-decoration: underline;
}

@media screen and (max-width: 960px) {
  .cnt_footer-info {
    flex-direction: column;
    /* padding: 6rem 5rem; */
    padding: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .cnt_footer-info .txt.p16 {
    font-size: 1.45rem;
  }

  .cnt_footer-info dt {
    flex-shrink: 0;
  }


}

@media screen and (max-width: 600px) {
  .cnt_footer-info {
    /* padding: 6rem 2rem; */
    padding: 1rem;
  }

  .cnt_footer-info .p14 {
    font-size: max(3vw, 12px);
  }
}

/**************************************
パンくず
**************************************/
.bred {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: calc(100% - 4rem);
  max-width: 1200px;
  margin: 0 auto;
  position: absolute;
  top: -3rem;
  left: 0;
  right: 0;
}

#page-top .bred {
  display: none;
}


/**************************************
右サイド インデックスボタン
**************************************/
.btn_contact01 {
  display: block;
  width: 4.5rem;
  height: auto;
  color: #fff;
  background: #693f88;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  transition: right .3s;
  position: fixed;
  right: -0.5rem;
  top: 150px;
  z-index: 100;
  pointer-events: painted;
}

.btn_contact01:hover {
  right: 0;
  transition: right .3s;
}

.btn_contact01 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1.5rem 0.2rem 1.5rem 0;
  color: unset;
}

@media screen and (max-width: 960px) {
  .btn_contact01 {
    top: 100px;
  }
}

@media screen and (max-width: 600px) {
  .btn_contact01 {
    font-size: 1.6rem;
    top: 90px;
  }
}

/*-------------------------------------------------
TOPへ戻る
-------------------------------------------------*/
#to-top {
  font-size: 12px;
  line-height: 1.2;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
}

#to-top a:before {
  content: "";
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #1b1364;
  border-right: 2px solid #1b1364;
  -webkit-transform: translateX(-50%) rotate(-135deg);
  -ms-transform: translateY(-50%) rotate(-135deg);
  transform: translateX(-50%) rotate(-135deg);
  position: absolute;
  top: 10px;
  left: 50%;
}

#to-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  padding: 15px 5px 0;
  font-weight: 600;
  color: #1b1364;
  text-align: center;
  line-height: 1.2;
  text-decoration: none;
  background: #fff;
  border: 1px solid #1b1364;
  border-radius: 70%;
  position: relative;
}

@media screen and (max-width: 960px) {
  #to-top {
    bottom: 1rem;
    right: 1rem;
  }

  #to-top a {
    width: 50px;
    height: 50px;
    padding: 12px 5px 0;
    line-height: 1;
  }

  #to-top a:before {
    border-bottom: 1.5px solid #1b1364;
    border-right: 1.5px solid #1b1364;
    top: 9px;
  }

  #to-top.move {
    bottom: 3rem;
  }
}

/**************************************
footer固定ボタン
**************************************/
.btn_contact02 {
  display: block;
  height: 120px;
  width: 100%;
  background-image: linear-gradient(0deg, rgba(173, 129, 206, 1), rgba(81, 38, 110, 1));
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
}

.cnt_upper {
  margin-left: 1.5rem;
  height: 50px;
}

.btn_contact02 .cnt_lower {
  display: flex;
  align-items: center;
  line-height: 1;
}

.btn_contact02 .cnt_lower .oswald {
  padding-bottom: 1rem;
  font-size: 3.8rem;
}

.btn_contact02 .clm_left .img {
  width: 490px;
  height: 180px;
  position: absolute;
  bottom: 0;
}

@media screen and (max-width: 1420px) {
  .btn_contact02 .clm.clm_lr.w1200 {
    max-width: calc(100% - 14rem);
    margin-right: 10rem;
  }
}

@media screen and (max-width: 960px) {
  .header-nav {
    padding: 0 10rem 0 0;
    height: 70px;
  }

  .header-nav .contact-btn_area.tab {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 10;
  }

  .header-nav .contact-btn_area .icon {
    width: 50px;
    height: 50px;
  }

  .btn_contact02 {
    height: 20vw;
    max-height: 95px;
  }

  .btn_contact02 .clm_left .img {
    width: 89%;
    max-width: 400px;
    height: auto;
    left: 1%;
  }

  .btn_contact02 .clm_right {
    display: none;
  }

}

@media screen and (max-width: 600px) {
  .header-nav {
    padding: 0 7rem 0 0;
  }

  .header-nav .contact-btn_area.tab {
    gap: 1rem;
  }
}
