@charset "utf-8";

/* PC View */
@media print, screen and (min-width:650px) {
  #sp_bottom_menu {
    display: none;
  }
}
/* Smart Phone View */
@media only screen and (max-width: 649px) {
  #sp_bottom_menu {
    border-top: solid 1px #cccccc; 
    background-color: #ffffff;
    color: #333333;
    font-weight: bold;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2000;
    padding-bottom: env(safe-area-inset-bottom);
  }
  #sp_bottom_menu ul.sp_bottom_menu_list {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #sp_bottom_menu .sp_bottom_menu_list li {
    flex: 1;
    height: auto;
    list-style: none;
  }
#sp_bottom_menu .sp_bottom_menu_list li a {
    font-family: 'Zen Maru Gothic', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px; /* 指定通り60pxに固定 */
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 1.0rem; /* 文字を小さく調整（必要に応じて0.9remや1.1remに微調整してください） */
    font-weight: bold;
    text-decoration: none;
    color: #333333;
    box-sizing: border-box;
    gap: 4px; /* 画像と文字の隙間を適度に設定 */
  }
  #sp_bottom_menu .sp_bottom_menu_list li a:visited {
    color: #333333;
  }
  #sp_bottom_menu .sp_bottom_menu_list li a i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    margin-bottom: 0;
  }
  #sp_bottom_menu .sp_bottom_menu_list li img {
    width: 25px; /* 50pxから24pxへ大幅に縮小 */
    padding-bottom: 0; /* gapで隙間を作るため、ここは0にします */
    height: auto;
  }
  #sp_bottom_menu .sp_bottom_menu_list li a span {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    transform: none !important; /* scale(0.9)による縮小を解除し、はっきりと表示させます */
  }
  .accordion-open a {
  pointer-events: none !important;
  }
}