@charset "UTF-8";
/* 変数定義 */
#side_contents {
  width: 271px;
  height: auto;
  background-color: #fff;
  margin-left: 10px;
}
@media screen and (max-width: 560px) {
  #side_contents {
    position: fixed;
    top: 130px;
    right: -100%;
    width: 91vw;
    height: calc(100vh - 130px); /* スマホのヘッダー高さを引く */
    background-color: #fff;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    overflow-y: auto; /* スクロール可能 */
    overflow-x: hidden; /* 横スクロールを無効化 */
    -webkit-overflow-scrolling: touch; /* iOSスムーズスクロール */
    /* メニューに影を追加 */
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
    /* 初期状態では非表示だが、displayは常にblock */
    display: block;
  }
  #side_contents.open {
    right: 0; /* openクラスが付与されたら表示 */
  }
}
#side_contents #navigation {
  background-color: #ffffff;
}
@media screen and (max-width: 560px) {
  #side_contents #navigation {
    height: auto; /* スマホでは自動調整 */
    min-height: calc(100vh - 130px); /* 最小高さをビューポートに合わせる */
  }
}
#side_contents #navigation ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
@media screen and (max-width: 560px) {
  #side_contents #navigation ul {
    height: auto; /* 自動調整 */
    overflow: visible; /* overflowを削除 */
    padding-bottom: 80px; /* 下部に余白を増やす（ブラウザメニュー対策） */
  }
}
#side_contents #navigation li {
  list-style: none;
  padding-left: 0;
  width: 270px;
  height: auto; /* 固定高さを削除 */
  min-height: 60px; /* 最小高さのみ指定 */
  position: relative;
}
@media screen and (max-width: 560px) {
  #side_contents #navigation li {
    width: 90vw;
  }
}
#side_contents #navigation nav {
  font-size: 14px;
  letter-spacing: 1.4px;
  line-height: 45px;
  color: #656565;
  font-weight: 500;
}
@media screen and (max-width: 560px) {
  #side_contents #navigation nav {
    height: auto; /* 高さを自動に */
    overflow: visible; /* overflowを削除 */
    -webkit-overflow-scrolling: unset; /* 削除 */
  }
}
#side_contents #navigation nav img {
  width: 45px;
  height: 45px;
  margin: 8px 12px 8px 12px;
  flex-shrink: 0; /* 縮小を防ぐ */
}
#side_contents #navigation nav a {
  font-size: 14px;
  letter-spacing: 1.4px;
  line-height: 60px;
  color: #656565;
  font-weight: 400;
  font-family: "游教科書体", "BIZ UDPゴシック", "UD デジタル 教科書体 NP", "游ゴシック", sans-serif;
  text-decoration: none;
  display: flex; /* flexに変更 */
  align-items: center; /* 縦方向中央揃え */
  width: 100%;
  min-height: 60px; /* 最小高さ */
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 560px) {
  #side_contents #navigation nav a {
    touch-action: manipulation; /* タッチ操作を最適化 */
  }
}
#side_contents #navigation nav a:hover {
  text-decoration: none;
  cursor: pointer;
  opacity: 0.7;
}
#side_contents #navigation nav a::after {
  content: "\f105";
  font-family: FontAwesome;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 200;
}
#side_contents #navigation nav a .sub {
  font-size: 9px;
  letter-spacing: 0.9px;
  font-weight: 300;
  font-family: "游教科書体", "BIZ UDPゴシック", "UD デジタル 教科書体 NP", "游ゴシック", sans-serif;
}
#side_contents #category_banner {
  width: 100%;
  height: 200px;
  background-color: #999999;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  border: solid 1px #000;
  margin: 5px auto;
}
@media screen and (max-width: 560px) {
  #side_contents #category_banner {
    display: none;
  }
}
#side_contents #power_push_brand_banner {
  width: 100%;
  height: 200px;
  background-color: #999999;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  border: solid 1px #000;
  margin: 5px auto;
}
@media screen and (max-width: 560px) {
  #side_contents #power_push_brand_banner {
    display: none;
  }
}
#side_contents #customer_voice_banner {
  width: 100%;
  height: 200px;
  background-color: #999999;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  border: solid 1px #000;
  margin: 5px auto;
}
@media screen and (max-width: 560px) {
  #side_contents #customer_voice_banner {
    display: none;
  }
}
#side_contents #original_contents_banner {
  width: 100%;
  height: 200px;
  background-color: #999999;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  border: solid 1px #000;
  margin: 5px auto;
}
@media screen and (max-width: 560px) {
  #side_contents #original_contents_banner {
    display: none;
  }
}

@media screen and (max-width: 560px) {
  body.menu-open {
    overflow: hidden; /* スクロールを無効化（heightは設定しない） */
    touch-action: none; /* タッチスクロールを無効化 */
  }
}/*# sourceMappingURL=side_contents.css.map */