/*------------------------------SP用------------------------------*/
@media screen and (max-width: 414px) {
  #pcHead {
    display: block;
    position: fixed;
    height: 50px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  }

  /* メガメニュー */
  .global_menu_container {
    display: none;
  }

    /* ハンバーガーSNS */
  .SNS {
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
  }
  .SNS a {
    display: inline-block;
  }
  .SNS img {
    width: 30px;
    height: auto;
  }
}

/*------------------------------Tab用------------------------------*/
@media screen and (min-width: 415px) and (max-width: 959px) {
  #pcHead {
    display: block;
    position: fixed;
    height: 70px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }

  /* メガメニュー tabはHMに統一*/
  .global_menu_container {
    display: none;
  }

  /* メガメニュー 使う場合はコメントアウトを解除*/
  /* .global_menu_container {
    position: relative;
    background-color: #6d5f52;
  } */

  .global_menu {
    /* メニュー全体のスタイル */
    font-size: 0.8rem;
    width: 100%;
    margin: auto;
    color: #f8f8f8; /* 文字色 */
    text-align: center;
    /* display: flex;
    flex-wrap: nowrap;
    justify-content: space-around; */
    display: table;
  }

  .global_menu > li {
    display: table-cell;
    margin: auto 0;
  }

  .global_menu > li > a {
    /* 各項目のスタイル */
    font-size: 0.8rem;
    color: #fff;
    display: block;
    padding: 10px;
    white-space: nowrap;
  }

  .menu:hover > a {
    color: #222222;
    background: #e1dedb;
  }

  /* 子項目 */
  .child_menu > li {
    display: inline-block;
  }
  .child_menu > li > a {
    /* 子項目のスタイル */
    color: #222222;
    font-size: 0.8rem;
    padding: 10px 15px;
  }
  .child_menu > li > a:hover {
    /* 子項目のスタイル（ホバー時） */
    color: #222222;
    text-decoration: underline;
  }

  .child_menu {
    /* 下層メニューのスタイル */
    width: 100%;
    position: absolute;
    top: 100%; /* 親項目の直下に配置 */
    left: 0;
    padding: 20px;
    color: #333; /* 文字色 */
    background: #e1dedb; /* 背景色 */
    display: none;
    z-index: 99;
  }
  .child_menu li.top a::before {
    font-family: "Font Awesome 5 Free";
    content: "";
    font-weight: 900;
    margin-right: 10px;
  }
  .menu:hover .child_menu {
    /* 下層メニューのスタイル（親項目ホバー時） */
    display: block;
  }
}

/*------------------------------ PC用 ------------------------------*/
@media screen and (min-width: 960px) {
  #pcHead {
    display: block;
    position: fixed;
    height: 115px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
  }

  /* メガメニュー */
  .global_menu_container {
    position: relative;
    background-color: #6d5f52;
  }
  .global_menu {
    /* メニュー全体のスタイル */
    display: flex;
    justify-content: space-around;
    font-size: 0.8rem;
    width: 100%;
    max-width: 1100px;
    margin: auto;
    color: #f8f8f8; /* 文字色 */
    text-align: center;
  }

  .global_menu li {
    display: inline-block;
    margin: auto;
  }

  .global_menu > li > a {
    /* 各項目のスタイル */
    font-size: 0.85rem;
    color: #fff;
    display: block;
    padding: 10px 20px;
  }

  .menu:hover > a {
    color: #222222;
    background: #e1dedb;
  }

  .child_menu > li > a {
    /* 子項目のスタイル */
    color: #222222;
    padding: 10px 20px;
  }
  .child_menu > li > a:hover {
    /* 子項目のスタイル（ホバー時） */
    color: #222222;
    text-decoration: underline;
  }

  .child_menu {
    /* 下層メニューのスタイル */
    width: 100%;
    position: absolute;
    top: 100%; /* 親項目の直下に配置 */
    left: 0;
    padding: 30px;
    color: #333; /* 文字色 */
    background: #e1dedb; /* 背景色 */
    display: none;
    z-index: 99;
  }
  .child_menu li.top a::before {
    font-family: "Font Awesome 5 Free";
    content: "";
    font-weight: 900;
    margin-right: 10px;
  }
  .menu:hover .child_menu {
    /* 下層メニューのスタイル（親項目ホバー時） */
    display: block;
  }

  /* --------------------------- */

  .global_menu label {
    display: block;
    font-size: 0.85rem;
    padding: 10px 20px;
    cursor: pointer;
  }
  .global_menu label.open,
  .global_menu label:hover {
    color: #222222;
    background: #e1dedb;
  }
  .child-menu > li > a {
    /* 子項目のスタイル */
    color: #222222;
    padding: 10px 20px;
  }
  .child-menu > li > a:hover {
    /* 子項目のスタイル（ホバー時） */
    color: #222222;
    text-decoration: underline;
  }

  .child-menu {
    /* 下層メニューのスタイル */
    width: 100%;
    position: absolute;
    top: 100%; /* 親項目の直下に配置 */
    left: 0;
    padding: 30px;
    color: #333; /* 文字色 */
    background: #e1dedb; /* 背景色 */
    display: none;
    z-index: 99;
  }
  .child-menu li.top a::before {
    font-family: "Material Icons";
    content: ">";
    font-weight: 500;
    margin-right: 10px;
  }
  /* .menu:hover .child_menu { */
  .check:checked + .men-label + .child-menu {
    /* 下層メニューのスタイル（親項目ホバー時） */
    display: block;
  }
}
