body{
  font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  position: relative;
}

h1,p,footer{
    margin-top: 0px;
    margin-bottom: 0px;
}

.header{
  display: flex;
  justify-content: center;
  align-items: top;
  flex-direction: row;
  padding: 18px 0;
  text-align: center;
  font-size: 38px;
}

.contact-button{
  position: fixed;
  bottom: 60px;
  right: 50px;
  text-align: center;
  z-index: 100;
}

.contact-box{
  opacity: 0;
  position: fixed;
}

.container{
  padding-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  z-index: 50;
}

.content img{
  height: 158px;
}

.description,.bottom{
  background-color: white;
  opacity: 0.728;
  font-size: 15px;
  margin: 30px 0;
}

.bottom{
    margin-bottom: 80px;
}

.privacy-policy{
    background-color: white;
    opacity: 0.862;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    font-size: 8px;
    padding: 5px;
    padding-bottom: 6.2px;
    text-align: center;
}

@media (min-width: 612px){
  body{
    position: relative;
  }
  
  .header{
    padding: 28px;
    font-size: 52px;
  }
  
  .main_body{
    display: flex;
    flex-direction: row;
  }
  
  .contact-box{
    background-color: white;
    opacity: 0.728;
    height: 378px;
    width: 182px;
    margin: 15px 0 15px -8px;
    font-size: 20px;
    position: fixed;
  }

  .contact-box img{
    opacity: 1;
    position: relative;
  }

  .contact-button{
    opacity: 0;
  }
  
  .container{
    padding-left: 172px;
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  @media (max-width: 1042.06px) {
    .container{
      grid-template-columns: 1fr;
    }
  }
  
  @media (min-width: 1042.08px) and (max-width: 1492.08px) {
    .container{
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .content{
    padding: 40px 40px 10px 10px;
  }
  
  .content img{
    height: auto;
    transition: box-shadow 0.15s;
  }
  
  .content img:hover{
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
  }
  
  .content img:active{
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
  }
  
  .description,.bottom{
    width: 162ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 390px;
    margin-left: 5.03px;
  }
  
  @media (min-width: 842.06px) and (max-width: 1042.06px) {
    .description,.bottom{
      margin-left: 72px;
    }
  }
  
  @media (min-width: 1292.06px) and (max-width: 1492.08px) {
    .description,.bottom{
      margin-left: 72px;
    }
  }
  
  .bottom{
    margin-bottom: 100px;
  }
}
