.container{
  width: 100%;
  max-width: 900px;
  background-color: #f7f7f2;
  margin: 0 auto;
  /* background: url(/view/type/images/type-bg.png); */
  position: relative;
  z-index: 0;
}
.text p{
  margin: 0;
  text-indent: 0;
}
.text .desc-title{
  text-indent: 0em;
  margin-bottom: 10px;
}
 .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;
}
.content-box{
    max-width: 790px;
  margin: 0 auto 45px;
}
.content-box img{
  width: 100%;

}
.desc-title{
  margin-bottom: 20px;
  font-size: 25px;
}
.footer .item{
  display: flex;
  padding: 70px 50px 30px;
  justify-content: space-between;
  box-sizing: border-box;
}
.footer .item .item-images{
 max-width: 750px;
}

.footer .item .item-desc{
  width: 55%;
  font-size: 18px;
  font-family: "Noto Serif JP", "MS 明朝", "Hiragino Mincho ProN", serif;
  font-weight: bold;
}
.footer .item .item-desc .text{
  margin-top: 70px;
}
.footer .item .item-desc .btn{
  text-align: center;
  margin: 60px auto 0;
  border: 3px solid #020202;
  max-width: 180px;
  padding: 10px 0px;
  cursor: pointer;
}
    .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;
    }
    .desc-title{
  margin-bottom: 10px;
}

    .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;
    }

    .footer .tip {
        margin-top: 50px;
        font-size: 18px; 
        padding: 0 20px 40px;
    }
       .font{
      /* writing-mode: rl;*/
      /*text-orientation: upright;*/
}
}
/* Keep decoration in its original display area when replacing artwork. */
.container{--decoration-width:227px;--decoration-height:299px;--decoration-mobile-height:131.718px}
