@charset "utf-8";
/* ヘッダー */
.seta_header_container {
  position: relative;
  color: #000000;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2.2rem;
  z-index: 100;
}
.seta_header_content {
  max-width: 124rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.seta_header_gap {
  max-width: 124rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.seta_header_icon {
  width: 11.407rem;
}

.seta_header_list {
  display: flex;
  gap: 1.5rem;
  margin-right: 1.4rem;
  margin-bottom: 1.7rem;
}
.header_list_item_link {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: calc(25 / 16);
}
.header_list_item_link.link_top {
  color: #F27B2D;
}

/* サイドメニュー */
.seta_side_menu {
  position: fixed;
  /* top:  calc(50% - 24rem); */
  /* top: 27rem; */
  bottom: 0;
  left: 0;
  width: 19rem;
  padding: 8rem 0 2.8rem;
  border-radius: 9rem 9rem 0 0;
  background-color: #ffffff;
  transition: all .5s;
  opacity: 1;
  visibility: visible;
  z-index: 100;
}
.side_menu_hidden {
  opacity: 0;
  visibility: hidden;
}

.seta_menu_container {
  display: flex;
  flex-direction: column;
  gap: 2.1rem;
  margin-left: 1rem;
}
.seta_side_menu_item {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: calc(24 / 16);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* タイトル横緑丸 */
.seta_side_menu_item::before {
  display: inline-block;
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #01A47D;
}
.side_item_active::before {
  background-color: #F27B2D;
}

.seta_side_menu_item:nth-child(3) {
  flex-direction: column;
  align-items: flex-start;
}
.seta_side_menu_item:nth-child(3)::before {
  display: none;
}
.seta_menu_item_title {
  margin-bottom: 0.5rem;
}
.side_menu_item_text {
  font-size: 1.5rem;
  width: 11.2rem;
  margin-left: 2rem;
  line-height: calc(21 / 15);
}


.seta_header_hmb,
.header_hmb_menu,
.header_hmb_mask {
  display: none;
}


/* // ======== footerで止める ======== // */
.floating_box {
  position: fixed;
}

/* フッターに入った時に適用するクラス */
.floating_box.is-stop {
  position: absolute;
  bottom: auto; /* bottomを解除 */
  top: auto; /* 初期化 */
}

@media screen and (max-width:699.98px) {
  .seta_header_list {
    display: none;
  }
  .seta_side_menu {
    display: none;
  }

  .seta_header_container {
    /* position: fixed; */
    padding-bottom: 1.6rem;
  }
  .seta_header_content {
    max-width: 34.4rem;
  }

  .seta_header_gap {
    max-width: 34.4rem;
  }
  .seta_header_icon {
    width: 10.456rem;
  }



  /* ハンバーガーボタン */
  .seta_header_hmb {
    position: relative;
    display: block;
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
    background-color: #1B5233;
    cursor: pointer;
  }

  .seta_hmb_border {
    position: absolute;
    display: inline-block;
    width: 3rem;
    height: 0.1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #ffffff;
    transition: all .5s;
  }
  .seta_hmb_border:first-child {
    top: calc(50% - 0.9rem);
  }
  .seta_hmb_border:nth-child(2) {
    top: 50%;
  }
  .seta_hmb_border:last-child {
    top: calc(50% + 0.9rem);
  }
  .open_menu .seta_hmb_border:first-child {
    transform: translateY(0.9rem) rotate(-35deg);
  }
  .open_menu .seta_hmb_border:nth-child(2) {
    transform: translateX(300%);
  }
  .open_menu .seta_hmb_border:last-child {
    transform: translateY(-0.9rem) rotate(35deg);
  }


  .header_hmb_mask {
    display: block;
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #FFF5DA;
    opacity: 0;
    visibility: hidden;
    transition: all .5s;
    z-index: 99;
  }
  .header_hmb_mask.open_menu {
    opacity: 1;
    visibility: visible;
  }


  /* ハンバーガーメニュー */
  .humber_following{
    position: fixed;
    right: 1.5rem;
  }
  .header_hmb_menu {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    width: 32.5rem;
    margin: 9.098rem auto 0;
    border-radius: 3rem;
    padding: 3rem 0 7.7rem;
    background-color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: all .5s;
    z-index: 100;
  }
  .header_hmb_menu.open_menu {
    opacity: 1;
    visibility: visible;
    position: fixed;
    top: 0;
    left: 0;
    max-height: calc(100vh - 9.098rem); /* 画面の高さに固定 */
    /* --- スクロールさせるためのポイント --- */
    overflow-y: auto; /* はみ出たらスクロール */
    -webkit-overflow-scrolling: touch; 
  }
  .seta_header_container.open_menu {
    position: fixed;
  }

  .hmb_menu_content {
    width: 28.5rem;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 1rem;
  }
  .hmb_menu_item {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: calc(26 / 18);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .hmb_menu_link_gap {
    gap: 1rem;
  }
  .hmb_menu_item:nth-child(3) {
    flex-direction: column;
    align-items: flex-start;
  }
  /* タイトル横緑丸 */
  .hmb_menu_item::before {
    display: inline-block;
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: #01A47D;
  }
  .hmb_menu_item:nth-child(3)::before {
    display: none;
  }

  .hmb_menu_item_text {
    font-size: 1.6rem;
    line-height: calc(24 / 16);
    margin-left: 2.3rem;
  }
}