  A { 
    text-decoration: none;
    color:inherit;
  }

  /* スマホ閲覧時のハンバーガーメニュー */ 
  #hanburger {
    display: none; /* チェックボックスを非表示 */
  }

@media screen and (max-width: 920px) {    /* スマホ閲覧時のハンバーガーメニュー */ 

  .menu_button { /* ボタンのスタイル */
    width: 50px; /* 幅 */
    height: 50px; /* 高さ */
    position: fixed;
    top: 0px;
    right: 20px;
    background: #7e252f;
    z-index: 10000;
  }
  
  .menu_button::before { /* アイコンのスタイル */
    font-family: "Font Awesome 6 Free";
    content: "\f0c9"; /* アイコン「３本線」 */
    font-weight: bold;
    position: absolute;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%); 
  }
    
  #hanburger:checked + .menu_button::before { /* アイコンのスタイル（チェック済み） */
    content: "\f00d"; /* アイコン「×印」 */  
  }
  
  .global_menu { /* メニュー全体のスタイル */
    visibility: hidden; /* メニューを非表示 */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 0px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    z-index: 10000;
    margin-top: -300px;
    margin-bottom: 0px;
    font-size: 14px;
  }
   
  #hanburger:checked ~ .global_menu { /* メニュー全体のスタイル（チェック済） */
    visibility: visible; /* メニューを表示 */
    margin-top: 20px;
    margin-bottom: 10px;

  }
   
  .global_menu a { /* 各項目のスタイル */
    display: block;
    width: 100%;
  }
   
  .global_menu a:hover { /* 各項目のスタイル（ホバー時） */
    color: #f4f4f9; /* 文字色 */
  }

  .menu1 {
    width: 300px;
    margin: 0 auto;
    padding: 0;
    display: block;
   }
  
   .menu1 li {
    list-style: none;
   }
    
   .menu1 li a {
    display: table;
    margin-top: 1px;
    padding: 14px 10px;
    width: 100%;
    background: #1db2c0;
    text-decoration: none;
    text-align: left;
    vertical-align: middle;
    color: #fff;
    overflow: hidden;
    transition:all .5s ease-out;
   }
    
   .menu1 > li:first-child a {
    margin-top: 0;
   }
    
   .menu1 li a:hover {
    transition:all .5s ease-out;
   }
    
   .menu1 li ul {
    margin: 0;
    padding: 0;
   }
    
   .menu1 li li a {
    display: block;
    margin-top: 0;
    padding: 0 10px;
    height: 0;
    background: #1db2c0;
    transition:all .5s ease-out;
   }
    
   .menu1 > li:hover li a {
    display: table;
    margin-top: 1px;
    padding: 10px;
    width: 100%;
    height: 1em;
    transition:all .5s ease-out;
   }
    
   .child_menu a:hover {
    color: #fdfdff;
  }
   
}


@media screen and (min-width: 921px) {         /* PC閲覧時*/
        
  .menu_button {
    display: none; /* ハンバーガーメニューのボタンを非表示 */
  }

  .menu1 input {
    display: none;
  }

  .global_menu {          /* メニュー全体のスタイル */
    width: 100%;
    height: 45px;
    top: 100px;
    left: 0;
    color: #fff; /* 文字色 */
    font-weight: bold;
    background: #1db2c0; /* 背景色 */
    text-align: center;
    font-size: 14px;
  }

  #hanburger:checked ~ .global_menu { /* メニュー全体のスタイル（チェック済） */
    visibility: visible; /* メニューを表示 */
  }
   
  .global_menu a { /* 各項目のスタイル */
    width: 100%;
  }

  .menu1 {
    display: flex;
    width: 1000px;
    padding: 0;
    margin: 0 auto;
    }
    
    .menu1 > li {
    width: 25%;
    }
    
    .menu1 li {
    position: relative;
    list-style: none;
    }
    
    .menu1 li a {
    padding: 0.8em 0em;
    text-decoration: none;
    background: #1db2c0;
    text-align: center;
    display: block;
    color: #ffffff;
    }
        
    .menu1 a:hover{
      background: #7e252f;
      color: #f4f4f8;
    }
    
    .child_menu li {
    height: 0;
    overflow: hidden;   
    transition: 0.3s;
    }
    .menu1 ul {
    padding: 0;
    }

    .menu1 li:hover > ul > li {
    height: 2.6rem;
    overflow: visible;
    } 

    /* 開いた状態のサブメニュー */
  .menu1 input:checked + ul {
    display: block;
  }

}

