body {
  margin: 0;
  padding: 20px;
  font-family: 'Playfair Display', serif;
}

.main{
  margin: 0 5rem 0 1rem;
}

/*hedder*/
.nav ul{
  list-style: none;

}

li{
  margin: 0;
  padding: 10px;
  border: 0;
  font-size: 100%;
}


ul li{
  font-size: 11px;
  margin: 45px auto;
  background-color: rgb(93, 93, 93);
}

#nav_pc{
  width: 60px;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9000;
  background-color: #cbcbcb;
  display: table;
}

.menuLst{
  padding: 0;
  margin: 0;
  display:table-cell;
  vertical-align: middle;
}

.menuLst li a{
  padding: 2px;
  color: #ffffff;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.menuLst li a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #777777;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

.menuLst li a:hover::after {
  transform: scale(1, 1);
}

.back{
  background-color: rgb(255, 255, 255);
}

.back a img{
  width:26px;
}

.sns{
  padding: 0;
  margin:0;
  height: 16px;
  width:16px;
  position: absolute;
  display: block;
  left: 25px;
  bottom: 30px;
  list-style: none;
}



.fb a img{
  width:26px;
}





/*top縦書き*/
.top{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: 1.7em auto 1.7em 9em;
  max-width: 960px;
  padding: 4.8rem 2rem;
}

.top h1{

  font-style: normal;
  text-align: center;
  margin: 3rem auto 3rem auto;
  font-size: 1.7em;
  letter-spacing: 0.3em;
}



.box {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 60px;
}

.text{
  width:50%;
}

.text h2,h3,p{
  text-align: left;
}

h2{
  background-color: rgba(228, 228, 228, 0.63);
  padding:0.2em 1em;
}

h3 {
  font-size: 1.2em;
  margin-top: 1rem;
}

.pict {
  position: relative;
  width: 50%;
  margin:auto;
}

.pict::after{
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: -1px;
  right: -1px;
  box-shadow: inset 0 0 15px 15px  white;
}

.pict img {

  width: 100%;
  height:auto;
}

.box:nth-child(even) {
  flex-direction: row-reverse;
}
.box:nth-child(even) .text {
  text-align: right;
}
.box:nth-child(even) .pict {
  margin-left: 0;
  margin-right: 3%;
}




/*戻るボタンcss*/
.btn-horizontal-border {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 12px 0 8px;
  text-decoration: none;
  color: #272d30;
  transition: .4s;
}

.btn-horizontal-border:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  top:100%;
  left: 0;
  background:#272d30;
  transition: .2s;
}

.btn-horizontal-border:after {
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  top:0;
  left: 0;
  background:#272d30;
  transition: .2s;
}

.btn-horizontal-border:hover:before {
  top: -webkit-calc(100% - 3px);
  top: calc(100% - 3px);
}

.btn-horizontal-border:hover:after {
  top: 3px;
}

.modoru{
  width:7rem;
  margin: 0 auto;
}

@@media (max-width:1025px) and (min-width: 765px){

}

@media (max-width:765px) {

  .main{
    margin: 0 auto;
  }

  header{
    display:none;
  }

  .box {
    flex-direction: column;
  }
  .box:nth-child(even) {
    flex-direction: column;
  }
  .text {
    text-align: center;
  }
  .box:nth-child(even) .text {
    text-align: center;
  }
  .pict {
    width:100%;
    margin-left: 0;
    text-align: center;
  }
  .box:nth-child(even) .pict {
    margin-left: 0;
    margin-right: 0%;
  }
  .pict img {
    width:100%;
    height:auto;
  }
}


@media all and (max-width: 480px){

  .top{
    margin: 1.7em auto 1.7em auto;
  }

  .text{
    width:100%;
  }

  .pict{
    width:100%;
  }
}
