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

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

}
.footer{
  width: 90%;
  margin: 0 auto;

}
.item{
    padding: 10px;
  font-size: 16px;
  font-family: "Noto Serif JP", "MS 明朝", "Hiragino Mincho ProN", serif;
  border-radius: 10px;
  margin: 40px 0;
  display: flex;
  flex-direction: row-reverse;

}
.item .image{
    margin: 2% 0;
    width: 40%;
}
.item .desc{
  margin: 2%;
  box-sizing: border-box;
  width: 55%;
  margin-right: auto;
}
.item img{

width: 100%;
}


.footer p{
  text-indent: 1em;
  font-weight: 520;
  font-size: 13px;
  line-height: 1.3;
}
.footer .title{
    margin-bottom: 10px;
  color: #f82936;
  font-weight: 700;
}
.footer .title+p{
  margin-top: 0;
}





.bg1{
  /*background-color: #eed2af;*/
}
.bg2{
  /*background-color: #e6e5e1;*/
}

.font{
      /* writing-mode: sideways-rl;*/
      /*text-orientation: upright;*/
}
@media screen and (max-width: 768px) {
  .item img{
    float: none !important;
    margin: 10px 0 !important;
    max-width: 100%;
  }
    .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;

        justify-content: center;

        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;
        display: block;
    }
    .item .image{
    width: 100%;
}
.item .desc{
  padding: 2%;
  box-sizing: border-box;
  width: 100%;
}

    .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:282px;--decoration-height:318px;--decoration-mobile-height:112.766px}
