.container{
  width: 100%;
  max-width: 900px;
  background-color: #f7f7f2;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}

 .top-zw img{
  height: 100%;
 }

.top{
  padding: 30px 30px 0;

  justify-content: space-between;
}
.top .nav{
  margin-left: auto;
}
.bottom{
  margin-top: 60px;
  padding:  30px 30px 0;

  flex-direction: row-reverse;
  justify-content: space-between;
}
.bottom .nav{
  /* margin-bottom: 200px; */
  margin-bottom: -50px;
}
.bottom-zw{
  /* margin-bottom: -20px; */
  display: flex;
  justify-content: flex-end;
  right: 0;
}
.nav{
  width: 50%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;

}
.nav p{
  cursor: pointer;
  font-size: 23px;
  font-family: "Noto Serif JP", "MS 明朝", "Hiragino Mincho ProN", serif;
  writing-mode: vertical-lr;
  letter-spacing: 1rem;
}
.top .content{
  font-size: 20px;
  font-family: "Noto Serif JP", "MS 明朝", "Hiragino Mincho ProN", serif;
  font-weight: bold;
}

.content-box{
    max-width: 790px;
  margin: 0 auto 45px;
}
.content-box img{
  width: 100%;

}
.footer{

  background-image: url(/files/images/footer-bg.png);
      background-repeat: no-repeat;
}
.footer .item{
  display: flex;
  padding: 100px 50px 30px;
  justify-content: space-between;
  box-sizing: border-box;
}
.footer .item .item-images{
 max-width: 750px;
}

.footer .item .item-desc{
width: 50%;
  text-align: center;
  font-size: 20px;
  font-family: "Noto Serif JP", "MS 明朝", "Hiragino Mincho ProN", serif;
  font-weight: bold;
}
.footer .item .item-desc .text{
    font-size: 35px;
  margin-top: 70px;
}
.footer .item .item-desc .btn{
  margin: 60px auto 0;
  border: 3px solid #020202;
  max-width: 180px;
  padding: 10px 0px;
  cursor: pointer;
}
 .tip{
  margin: 0 auto 10px;
  font-size: 15px;
  box-sizing: border-box;
  width: 90%;
  font-family: "Noto Serif JP", "MS 明朝", "Hiragino Mincho ProN", serif;
  /* font-weight: bold; */
  text-align: center;
  /* padding-bottom: 70px; */
    /* text-shadow: 
    -2px -2px 0 #fff,  
     2px -2px 0 #fff,
    -2px -2px 0 #fff,
     2px  2px 0 #fff; */
}
.font{
      /* writing-mode: sideways-rl;*/
      /*text-orientation: upright;*/
}
@media screen and (max-width: 768px) {
    .container {
        width: 100%;

        max-width: 100%; 
    }

    .top {
        padding: 0 ;
        align-items: center;
        /* text-align: center; */
        /* margin-bottom: 30%; */
    }
    .top-zw{
      /* margin-top: 50px; */
    }
    .bottom{
      padding: 0;
      margin-top: 0;
    }
    .bottom .nav{
      padding: 20px;
      gap: 20px;
    }
  
    .top-zw img{
      width: 100px;
    }
      .bottom-zw img{
      width: 100px;
    }
    .top .nav{
      padding: 10px 10px;
      margin-bottom: -18%;
    }

    .nav {
      align-items: flex-start;
        /* width: 100%; */
        /* flex-direction: row;  */
        flex-wrap: wrap;   
        justify-content: center;
        /* margin-top: 20px; */
        gap: 15px;         
    }

   .nav p {
        /* writing-mode: horizontal-tb;  */
        letter-spacing: 0.1rem;     
        font-size: 18px;  
        margin-top: 0;
        margin-bottom: 0;          
    }

    .content-box {
        width: 90%;
        margin-bottom: 20px;
    }

    .footer .item {
        flex-direction: column !important; 
        align-items: center;
        padding: 40px 20px;
    }

    .footer .item .item-image img {
        max-width: 100%;
        height: auto;
    }

    .footer .item .item-desc {
        width: 100%;
    }

    .footer .item .item-desc .text {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.5;
    }

    .footer .item .item-desc .btn {
        margin-top: 30px;
    }

     .tip {
      width: 100%;
        margin-top: 0;
        font-size: 8px; 
        padding: 0 10px 10px;
    }
    .font{
       /* writing-mode: rl;
      text-orientation: upright; */
}
}

/* Keep decoration in its original display area when replacing artwork. */
.container{--decoration-width:174px;--decoration-height:213px;--decoration-mobile-height:122.414px}
