@charset "utf-8";

#PCmode {
  display: block;
}
#SPmode {
  display: none;
}
@media screen and (max-width:768px) {
  #PCmode {
      display: none;
  }
  #SPmode {
      display: block;
  }
}
/* SPnav -----------------------------------------------------------------------*/
.p-header {
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1); /* 下方向のシャドウ */
}

.p-header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  height: inherit;
  position: relative;
}
.p-header__title {
  z-index: 997;
}
.p-header__title a {
  text-decoration: none;
  color: #FFFFFF;
}
.p-header__nav {
  position: absolute;
  left: 0; /* ← ここを変更 */
  top: 0;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  transform: translateX(-100%); /* ← ここを変更 */
  background-color: rgb(253,173,35);
  transition: ease .4s;
  z-index: 999;
}
.p-header__nav.active {
  transform: translateX(0);
}
/* .p-header-title a img {
  height: 50px;
  width: auto;
} */
.p-header__nav-items {
  padding-top: 200px;
}
.p-header__nav-item {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
/* .p-header__nav-item a {
  color: #FFFFFF;
  display: inline-block;
  text-align: center;
  margin-bottom: 24px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
} */
.p-header__nav-item:last-child a {
  margin-bottom: 0;
}

.p-header__hamburger {
  /* width: 24px; */
  width: 40px;
}
.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  cursor: pointer;
}
.hamburger span {
  width: 36px;
  height: 3px;
  /* width: 24px; */
  /* height: 1px; */
  background-color: #000;
  position: relative;
  transition: ease .4s;
  display: block;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  /* margin: 8px 0; */
  margin: 10px 0;
}
.hamburger span:nth-child(3) {
  top: 0;
}
.p-header__nav.active {
  transform: translateX(0);
}
/* .hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
} */
 /* ☓マークに変化するときの調整 */
.hamburger.active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
  background-color: #FFFFFF;
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* 中央のバーを消す */
}

.hamburger.active span:nth-child(3) {
  top: -17px;
  transform: rotate(-45deg);
  background-color: #FFFFFF;
}
.p-header__nav-box-mask.active {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 998;
  background: rgba(0,0,0,0.55);
  transition: ease .4s;
}
.logo {
  width: 200px;
  margin-left: 30px;
}
.logo img {
  width: 200px;
  height: auto;
}

/*リストのレイアウト設定*/
  /*ナビゲーション*/
#js-nav ul {
  width: 100%;
  max-width: 300px;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  box-sizing: border-box;
}
#js-nav li{
  list-style: none;
    text-align: center; 
    box-sizing: border-box;
}
#js-nav li a{
  /* color: #333; */
  text-decoration: none;
  /* height: 50px; */
  padding:10px;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  text-transform: uppercase;
  letter-spacing: 0px;
  font-weight: bold;
  box-sizing: border-box;
}
.nav_logo {
  height: 45px;
  display: flex;
  justify-content: end;
  align-items: end;
}
.nav_logo img{
  width: 100px;
  height: auto;
}
.botline_out {
  position: relative;
  width: 60%;
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid #fff;
}
.vew_acce {
  position: absolute;
  bottom: 2px;
  right: 0;
  font-size: 12px;
  white-space: nowrap;
  padding: 2px 5px;
  color: rgb(253, 173, 35);
  background-color: #fff;
}
.header-icon {
  position:fixed;
  top:10px;
  right: 10px;
  width: 50px;
  height:50px;
}
@media screen and (max-width:768px) {
  .hamburger span {
    width: 28px;
    height: 2px;
    background-color: #000;
    position: relative;
    transition: ease .4s;
    display: block;
  }
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  .hamburger span:nth-child(3) {
    top: 0;
  }
  .hamburger.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: -10px;
  transform: rotate(-45deg);
}
}