@charset "utf-8";

/* スマートフォン */
@media(max-width: 650px) {
  .menu-popup a {
    color: var(--msj-blue-color-dark);
    text-decoration: none;
  }
  .popup-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 11; /* メニューの上に表示 */
    width: 40px;
    height: 40px;
    background: var(--msj-blue-color);
    border: solid 1px var(--msj-blue-color-dark);
  }
  .popup-close i {
    font-size: 36px;
    color: #ffffff;
  }
  header .menu {
    display: none; /* メニューを非表示 */
  }
  header .hamburger {
    display: block; /* ハンバーガーを表示 */
    cursor: pointer;
    margin-right: 20px;
  }
  header .hamburger i {
    font-size: 36px;
    color: var(--msj-blue-color-dark);
  }
  .menu-popup ul {
    position: absolute;
    top: 0px;
    left: 0px;
    /*background: var(--msj-blue-color-light-grad);*/
    background: #ffffff;
    padding: 20px;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    overflow: hidden
  }
  .menu-popup ul li a {
    /*text-align: center;*/
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .menu-popup ul li ul {
    position: static;
    background: none;
    border: none;
    padding: 20px;
    gap: 10px;
    margin: 0px;
  }
  .menu-popup ul li ul li a {
    text-align: left;
    padding: 5px 0;
    
    font-size: 16px;
    font-weight: 400;
  }
  .menu-popup .popup-right-image {
    display: block;
  }
  .menu-popup .popup-right-image img {
    display: block;
    position: absolute;
    bottom: -50px; /* フッターの下端から10px */
    right: -15px; /* フッターの右端から10px */
    width: 200px; /* 小さくするサイズ（必要に応じて調整） */
    height: auto;
    opacity: 0.5;
    z-index: 0; /* 必要に応じて重ね順を調整 */
  }

  h1 {
    height: 200px; /* 高さ調整 */
  }
  h1 div {
    font-size: 2rem; /* フォントサイズ調整 */
  }
  h2 {
    font-size: 2rem; /* フォントサイズ調整 */
  }

}
