/* ヘッダーまわりはサイトに合わせて調整してください */
#nav-drawer {
  position: relative;
  margin-left: 1.5rem;
}

@media screen and (width<=1050px) {
  #nav-drawer {
    margin-left: 1rem;
  }
}

#nav-drawer2 {
  position: relative;
}

/* チェックボックス等は非表示に */
.nav-unshown {
  display: none;
}

.nav-unshown2 {
  display: none;
}

/* アイコンのスペース */
#nav-open {
  display: inline-block;
  width: 25px;
  height: 18px;
}

#nav-open2 {
  width: 100%;
}

/* ハンバーガーアイコンをCSSだけで表現 */
#nav-open span,
#nav-open span::before,
#nav-open span::after {
  content: '';
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  cursor: pointer;

  /* 線の太さ */

  /* 長さ */
}

#nav-open span::before {
  bottom: -8px;
}

#nav-open span::after {
  bottom: -16px;
}

#nav-open2 span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%; /* 線の太さ */

  /* 長さ */
}

/* 閉じる用の薄黒カバー */
#nav-close {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: 0.3s ease-in-out;

  /* はじめは隠しておく */

  /* 全体に広がるように */
}

#nav-close2 {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: 0.3s ease-in-out;

  /* はじめは隠しておく */

  /* 全体に広がるように */
}

/* 中身 */
#nav-content {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: #fff;
  max-width: 500px;
  overflow: auto;
  transform: translateX(-105%);
  transition: 0.3s ease-in-out;

  /* 最前面に */

  /* 隙間を作る（閉じるカバーを表示） */

  /* 背景色 */

  /* 滑らかに表示 */

  /* 左に隠しておく */
}

#nav-content2 {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: #fff;
  max-width: 500px;
  overflow: auto;
  transform: translateX(100%);
  transition: 0.3s ease-in-out;

  /* 最前面に */

  /* 隙間を作る（閉じるカバーを表示） */

  /* 背景色 */

  /* 滑らかに表示 */

  /* 左に隠しておく */
}

/* チェックが入ったらもろもろ表示 */
#nav-input:checked ~ #nav-close {
  display: block; /* カバーを表示 */
  opacity: 0.5;
}

#nav-input:checked ~ #nav-content {
  box-shadow: 6px 0 25px rgb(0 0 0 / 15%);
  transform: translateY(0%); /* 中身を表示（上へスライド） */
}

/* チェックが入ったらもろもろ表示 */
#nav-input2:checked ~ #nav-close2 {
  display: block; /* カバーを表示 */
  opacity: 0.5;
}

#nav-input2:checked ~ #nav-content2 {
  transform: translateX(0%); /* 中身を表示（上へスライド） */
}

.menu_btn2 {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: auto;
  font-size: 1em;
  color: dodgerblue;
  padding-top: 1%;
}

.menu_btn2::before {
  content: '\f002';
  display: inline-block;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  padding-right: 2%;
}

.css-cancel {
  position: fixed;
  z-index: 100;
  top: 5px;
  left: 505px;
  display: block;
  width: 4px;
  height: 20px;
  margin: 0 20px 0 7px;
  padding: 0;
  background: #fff;
  opacity: 1;
  transform: rotate(45deg);
}

.css-cancel::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  display: block;
  width: 20px;
  height: 4px;
  background: #fff;
  margin-top: -2px;
}

.css-cancel2 {
  position: fixed;
  z-index: 99;
  top: 5px;
  right: 505px;
  display: block;
  width: 4px;
  height: 20px;
  margin: 0 20px 0 7px;
  padding: 0;
  background: #fff;
  opacity: 1;
  transform: rotate(45deg);
}

.css-cancel2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  display: block;
  width: 20px;
  height: 4px;
  background: #fff;
  margin-top: -2px;
}

@media screen and (width <=854px) {
  #nav-drawer {
    display: inherit;
  } /* ヘッダーメニューが増えたらこの行を消す */
  .menu_btn {
    display: none;
  }

  .css-cancel {
    left: 71vw;
  }
}

.member_info {
  display: flex;
  flex-flow: column;
  gap: 0.25rem;
}

.member_class {
  display: inline-flex;
  align-items: center;
  align-self: center;
  font-size: 0.75rem;
  line-height: 1;
  padding-left: 0.25rem;
}

.-is-sp,
.-is-p,
.-is-regular {
  position: relative;
}

.-is-sp::before,
.-is-p::before,
.-is-regular::before {
  content: '';
  position: absolute;
  left: -20px;
  width: 20px;
  height: 20px;
}

.-is-sp::before {
  background: url('../img/index_new/crown_sp.png') no-repeat center;
  background-size: contain;
}

.-is-p::before {
  background: url('../img/index_new/crown_p.png') no-repeat center;
  background-size: contain;
}

.-is-regular::before {
  background: url('../img/index_new/crown_regular.png') no-repeat center;
  background-size: contain;
}

.member_name {
  align-self: center;
  font-size: 0.75rem;
  line-height: 1;
}

.member_name::before,
.member_name::after {
  font-size: 0.5rem;
}

.member_name::before {
  content: 'ようこそ';
  padding-right: 0.25rem;
}

.member_name::after {
  content: 'さま';
  padding-left: 0.25rem;
}

@media screen and (width<=930px) {
  .member_class {
    font-size: 0.625rem;
  }

  .member_name {
    display: inline-flex;
    flex-flow: column;
    font-size: 0.625rem;
  }

  .member_name::after {
    align-self: flex-end;
  }
}
