/* ヘッダー固定 */
header.pc_none {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 0 0 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  box-sizing:border-box;

}

/* ロゴ */
.sp_logo {
  display: block;
  width: 120px; /* ロゴサイズに調整 */
  height: auto;
  background-size: contain;
  background-repeat: no-repeat;
}
#navArea{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:100%;
}
/* ハンバーガー */
.toggle_btn {
  z-index: 10;
  width: 50px;
  position:relative;
  height: 50px;
  cursor: pointer;
  background-color: #0E1420;
  padding:0 5px;
}

.toggle_btn span {
  display: block;
  width:30px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  position:absolute;
  left:10px;
  transition: all 0.3s;
}
.toggle_btn span:first-child{
  top:15px;
}
.toggle_btn span:nth-child(2){
  top:25px;
}
.toggle_btn span:last-child{
  top:35px;
}
/* バツマークアニメーション */
body.open .toggle_btn span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 7px);
}

body.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}

body.open .toggle_btn span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -8px);
}

/* ナビゲーション */
#navArea nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 5;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  /* Flexboxの追加 */
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  justify-content: center; /* 横方向の中央揃え（お好みで。現在のコードではtext-align: center;で代替されているため不要かもしれません）*/
}

body.open #navArea nav {
  transform: translateX(0);
}

/* メニューリンク */
#navArea nav ul {
  display: flex;
  flex-direction: column;
  /* 既存のtransform: translateY(50%); を削除または上書き */
  transform: none; /* ← ここを修正 */
  padding: 0; /* 必要に応じてパディングをリセット */
  list-style: none; /* 必要に応じてリストのスタイルをリセット */
}

#navArea nav ul li {
  margin-bottom: 15px;
  text-align: center;
}
#navArea nav ul li.ta_l{
  display: block;
}
#navArea nav ul li ul{
  width:90%;
  margin:1rem auto 0;
}
#navArea nav ul li ul li{
  line-height:1.2;
  text-decoration: underline;
}
#navArea nav ul li ul li a{
  font-size:0.8em;
}

#navArea nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  cursor: pointer;
}
#navArea nav ul li a.sp_document{
  display: block;
  width:200px;
  height:40px;
  background-color: #4815BF;
  text-decoration: none;
  color:#fff;
  line-height: 40px;
  border-radius: 20px;
  margin:20px auto 0;
}
#navArea nav ul li a.sp_document.sp_contact{
  background-color: #FF5500;
  margin:0 auto;
}

/* ドロップダウン */
/* .sub-menu {
  display: none;
  flex-direction: column;
  margin-top: 5px;
  padding-left: 15px;
}

.sub-menu span a {
  font-weight: normal;
  font-size: 14px;
} */

/* マスク */
#mask {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100% - 60px);
  background: #fff;
  z-index: 0;
}

body.open #mask {
  display: block;
}

/* bodyスクロール禁止 */
body.open {
  overflow: hidden;
}