/* 作成者名　中尾*/

/* 使用カラー */
:root {
  --black: #333333;
  --purple: #634b6d;
  --red: #bb4747;
}

/* 使用フォント */
:root {
  --ZenKaku: "Zen Kaku Gothic New", sans-serif;
}
/* header↓ */
.header_wrapper {
  margin-top: 2.6rem;
  font-family: var(--ZenKaku);
}
.header_flex {
  display: flex;
  justify-content: space-between;
}
.h_logo {
  width: auto;
  height: 6rem;
  padding-left: 3rem;
}
.h_nav_flex {
  display: flex;
  margin-right: 12rem;
  width: 64rem;
  justify-content: space-between;
}
.nav_flex_a {
  font-weight: 700;
  font-size: 2rem;
  color: #333333;
}
/* header↑ */

.h_title_area {
  font-family: var(--ZenKaku);
  position: relative;
  text-align: center;
}

.h_title1 {
  margin: 8rem 0 10.8rem;
  display: inline-block;
  color: #634b6d;
  border-bottom: 0.2rem solid #634b6d;
  font-size: 4.5rem;
  font-weight: 700;
  padding: 0 1rem 1rem;
}
.h_title1::after {
  content: "";
  background-image: url("../img/violet1.png");
  position: absolute;
  width: 20rem;
  height: 19.4rem;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  top: 4rem;
  right: 33rem;
}
.nav_flex_a {
  font-family: var(--ZenKaku);
}
.decoration_img {
  width: 56.5rem;
  height: 57.6rem;
  position: absolute;
  top: -12rem;
  left: 0;
  z-index: -1;
}
.sp_only {
  display: none;
}
.sp-nav {
  display: none;
}

@media screen and (max-width: 699.98px) {
  /* header↓ */
  .header_wrapper {
    margin-top: 1.5rem;
    position: relative;
  }
  .h_logo {
    width: auto;
    height: 5rem;
    position: relative;
    z-index: 300;
    padding-left: 1rem;
  }
  #logo-area.is-show {
    position: fixed;
    top: 1.5rem;
    left: 0;
  }
  .pc_only {
    display: none;
  }
  #js-fixed.is-fixed {
    /*メニューを開いたとき背景スクロールを無効化する*/
    overflow: hidden;
    height: 100%;
  }
  /* header↑ */

  .h_title1 {
    font-size: 3.4rem;
    margin: 1rem 0 5.9rem;
    padding: 0 3.4rem;
  }
  .h_title1::after {
    width: 6.5rem;
    height: 6.6rem;
    top: 4rem;
    right: 3rem;
  }
  .decoration_img {
    width: 28.3rem;
    height: 28.8rem;
    top: -6rem;
    left: -8rem;
  }
  .sp_only {
    display: block;
    width: 12.9rem;
    height: 13.1rem;
    position: absolute;
    right: 0;
    z-index: -1;
    bottom: 2.5rem;
  }

  /* ハンバーガーメニュー↓ */
  /* 
hamburger(ハンバーガーアイコン)
=================================== */
  .hamburger {
    position: fixed;
    right: 1.5rem;
    top: 1.5rem;
    width: 4.5rem;
    height: 4.5rem;
    cursor: pointer;
    z-index: 300;
    background-color: #fff;
    opacity: 0.5;
  }
  .hamburger_box {
    height: 2.2rem;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }
  .hamburger__line {
    position: absolute;
    width: 3.5rem;
    height: 0.2rem;
    right: 0;
    background-color: #634b6d;
    transition: all 0.5s;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
  }
  .hamburger__line2 {
    top: 0.9rem;
  }
  .hamburger__line3 {
    top: 1.8rem;
  }

  /*ハンバーガーがクリックされたら*/
  .open .hamburger__line1 {
    transform: rotate(-45deg);
    top: 1rem;
  }

  .open .hamburger__line2 {
    opacity: 0;
  }

  .open .hamburger__line3 {
    transform: rotate(45deg);
    top: 1rem;
  }

  /* 
sp-nav(ナビ)
=================================== */
  .sp-nav {
    display: block;
    position: fixed;

    top: -100vh; /*ハンバーガーがクリックされる前はWindow上部に隠す*/
    left: 0;
    width: 100%; /* 出てくるスライドメニューの幅 */
    height: 100vh;
    background-color: #fff;
    transition: all 0.5s;
    z-index: 200;
    overflow-y: auto;
    overflow: hidden;
    text-align: center;
  }
  .hamburger_list_flex {
    display: flex;
    gap: 5rem;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: fit-content;
    padding-top: 5rem;
  }
  .hum_justify_center {
    justify-content: center;
  }
  /*ハンバーガーがクリックされたら上からスライド*/
  .open .sp-nav {
    top: 0;
  }

  /* 
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
  .black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 100;
  }

  /*ハンバーガーメニューが開いたら表示*/
  .open .black-bg {
    opacity: 0.3;
    visibility: visible;
  }

  /* ハンバーガーメニュー背景画像 */
  .ham_backimg1 {
    position: absolute;
    width: 24.4rem;
    height: 23.3rem;
    bottom: 0.8rem;
    right: 0.6rem;
    z-index: -1;
  }
  .ham_backimg2 {
    position: absolute;
    width: 56.5rem;
    height: 57.6rem;
    top: -10rem;
    left: -20rem;
    z-index: -1;
  }
  .ham_backimg3 {
    position: absolute;
    width: 13.2rem;
    height: 12.9rem;
    right: 0;
    bottom: 2.1rem;
  }
  /* ハンバーガーメニュー↑ */
}
