@charset "utf-8";

/* { 
    border: 1px  solid;
} */
html {
    font-size: 100%;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

img {
    max-width: 100%;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    
}

a:hover {
  opacity: 0.7;
}

#wrapper {
    max-width: 1080px;
    text-align: center;
    margin: auto;
}

.section-title {
    text-align: center;
    background-color: #13007d;
    color: #fff;
    padding: 10px 0 10px 0;
}

#header {
    background-color: #13007d;
   
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .btn {
  position: absolute;
  right: 50px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 999;
  display: none;
}

.btn span {
  display: inline-block;
  width: 50%;
  height: 2px;
  border-radius: 2px;
  background-color:#fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute; 
  transition: all .6s;
  display: none;
}

.btn span:nth-of-type(1) {
  top:15px;
  display: none;
}
.btn span:nth-of-type(2) {
  top: 23px;
  display: none;
}
.btn span:nth-of-type(3) {
  top: 31px;
  display: none;
}

#header  h1 {
    display: flex;
   
    text-align: center;
    margin: 0;
}

#header  h1 img {
    width: 300px;
    text-align: center;
}

#header .header-title {
    height: 100px;
    
}


#header nav {
    height: 50px;
}

#header .nav-menu {
    display: flex;
    justify-content: center;
}

#header .nav-menu li {
    margin: 0 20px 0 20px;
}

#header .nav-menu li a {
    color: #fff;
}

#header .nav-menu li a:hover {
    opacity: 0.7;
}

.nav-menu .author:hover .submenu {
  display: block;
}

.submenu {
  position: absolute;
  background-color: #13007d;
  padding: 10px 0;
  z-index: 100;
  display: none;
}

.submenu ul {
  display: block;
  padding-left: 0;
}

  .title {
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .describe {
    text-align: left;
    
  }

  .set {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
  }

  .set img {
      width: 50px;
    }

  .important {
    text-align: left;
    font-size: 0.9rem;
  }

  .describe img {
    width: 100px;
  }

  .main-img {
    margin-bottom: 60px;
  }

  .main-img p {
    text-align: left;
  }

  .main-img .comment {
    text-align: left;
    font-size: 0.9rem;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: flex-end;
    font-size: 0.7rem;
    margin-bottom: 20px;
    }

    .grid div {
        height: 320px;
    }

    .grid img {
        width: 300px;
        height: 200px;
        object-fit: contain;
        align-items: flex-end;
    }

   
    .grid-2 {
      display: grid;
      grid-template-columns: 260px 260px;
      grid-template-rows: repeat(1 1fr); 
      gap: 8px;
      align-items: flex-end;
      font-size: 0.7rem;
      margin-bottom: 20px;
    }

     .grid-2 li {
        height: 320px;
        width: 300px;
    }

    .grid-2 li img {
      width: 300px;
      height: 200px;
      object-fit: contain;
      align-items: flex-end;
    }

   

    .section-title-2 {
    text-align: center;
    background-color: #13007d;
    color: #fff;
    padding: 10px 0 10px 0;
    margin-bottom: 40px;
}

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      
      gap: 8px;
      align-items: flex-end;
      font-size: 0.7rem;
      margin-bottom: 20px;
    }

    .grid-3 div {
        height: 320px;
    }

    .grid-3 img {
        width: 300px;
        height: 200px;
        object-fit: contain;
        align-items: flex-end;
    }

    .grid-3 p {
        text-align: center;
    }


    footer p {
        text-align: center;
        padding: 20px 0;
        font-size: 0.9rem;
    }


    @media screen and (max-width: 780px) {

    #header {
      position: sticky;
      top: 0;
      height: 80px;
      z-index: 999;
    }

    #header .header-title {
      height: 80px;
      
  }

  
    #header .header-title img {
      width: 200px;
      
    }

    #header .header .btn {
      display: block;
      position: absolute;
      right: 10px;
    }

    .btn span {
      display: inline-block;
      width: 50%;
      height: 2px;
      border-radius: 2px;
      background-color:#fff;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      position: absolute; 
      transition: all .3s;
      display: block;
    }
    
    .btn span:nth-of-type(1) {
      display: block;
    }
    .btn span:nth-of-type(2) {
      display: block;
    }
    .btn span:nth-of-type(3) {
      display: block;
    }

    .btn.open span:nth-of-type(1) {
        transform: translate(-11px, 8px) rotate(-45deg);
        background-color: #111;
    }
    .btn.open span:nth-of-type(2) {
        display: none;
    }
    .btn.open span:nth-of-type(3) {
        transform: translate(-11px, -8px) rotate(45deg);
        background-color: #111;
    }

    #header nav {
        height: 100vh;
        background-color: floralwhite;
        width: 70%;
        font-weight: bold;
        font-size: 1rem;
        transition: .5s ease;
        position: fixed;
        transition: all .6s;
        top: 0;
        right: -100%;
        z-index: 10;
    }


    #header nav .submenu {
      font-size: 0.9rem;
      background-color: lightgray;
    }
    
    #nav.sp-open {
      right: 0;
      transition: .6s ease;
    }

    #nav .nav-menu {
        position: absolute;
        top: 30%;
        left: 50%;
        padding-left: 0;
        transform: translate(-50%, -50%);
        text-align: center;
        flex-direction: column;
    }

     #nav .nav-menu {
      width: 300px;
    }

  
    #nav  .nav-menu li a {
        display: block;
        color: #111;
        padding: 10px;
        
    }

    .section-title-2 {
      font-size: 0.7rem;
      align-items: center;
      height: 50px;
    }

   .set img {
      width: 100px;
    }

  
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    align-items: flex-end;
    font-size: 0.7rem;
}


.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    align-items: flex-end;
    font-size: 0.7rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    align-items: flex-end;
    font-size: 0.7rem;
}

  footer {
    font-size: 0.4rem;
  }

  footer p {
    padding: 10px 0;
  }

}