@media screen and (min-width: 1220px) {
  body {
    margin: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .head {
    display: flex;
    flex-direction: row;
    height: 45px;
    width: 100%;
    position: fixed;
    background-color: white;
  }

  .head a {
    text-decoration: none;
    color: black;
  }


  .title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;

  }

  .title h1 {
    font-size: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
  }

  /* ナビゲーション */
  .navigation {
    display: flex;
    flex-direction: row;
    width: 85%;
    justify-content: end;

  }

  .navigation a {

    width: 15%;


  }

  .nav1-all {
    width: 15%;
  }

  .nav1 {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .nav1 a {
    width: 100%;
    display: flex;
    justify-content: center;

  }

  .nav1-all:hover {
    color: #64b6dd;

  }

  .options {

    display: none;
    flex-direction: column;
    width: 100%;

    align-items: center;

    background-color: #fafafa;

  }

  .options a {
    width: 100%;
    padding: 10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;

  }

  .options a:hover {
    color: #64b6dd;
    text-decoration: underline;
  }

  .upper {
    border-bottom: black 1px solid;
  }

  .nav1:hover+.options {
    display: flex;

  }

  .options:hover {
    display: flex;
  }


  .nav-child {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
  }

  .nav-child:hover {
    color: #64b6dd;
    text-decoration: underline;
  }

  .hamburger {
    display: none;
  }
  .off-screen-menu{
    display: none;
  }
}

/* モバイル用 */
@media screen and (max-width: 1220px) {
  body {
    margin: 0px;
  }

  .head {
    display: flex;
    flex-direction: row;
    height: 45px;
    width: 100%;
    position: fixed;
    background-color: white;
  }

  .head a {
    text-decoration: none;
    color: black;
  }


  .title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 70%;
    padding-left: 20px;
    
  }

  .title h1 {
    font-size: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
  }

  .navigation {
    display: none;
  }

  /*  ハンバーガー */

  .off-screen-menu {
    background-color: #a3d4eb;
    height: 90vh;
    width: 100%;
    
    position: fixed;
    top: 0;
    right: -1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
  }

  .off-screen-menu.active {
    right: 0;
  }
  .off-screen-menu h1{
    font-size: 20px;
    margin: 0px;
    
    
  }
.off-screen-menu h5{
  margin:0px;
  margin-bottom: 10px;
  margin-top: 20px;
  font-size: 18px;

}
  .off-screen-menu a{
    font-size: 16px;
    margin-bottom: 14px;
    text-decoration: underline;
  }

  .hamburger {

    height: 30px;
    width: 50px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: 10px;
    position: relative;
    
  }

  .hamburger span {

    height: 5px;
    width: 100%;
    background-color: #6F86FF;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;


  }

  .hamburger span:nth-child(1) {
    top: 25%;
  }

  .hamburger span:nth-child(3) {
    top: 75%;
  }

  .hamburger.active span {
    background-color: white;
  }

  .hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  
}