#pageSection{
 background: url(../img/history/page.jpg) center center;
 background-size: cover;
}
#sec1 .historyText{
 background: url(../img/history/bg1.jpg) no-repeat center center;
 background-size: contain;
}
#sec2 .historyText{
 background: url(../img/history/bg2.jpg) no-repeat center center;
 background-size: contain;
}
#sec3 .historyText{
 background: url(../img/history/bg3.jpg) no-repeat center center;
 background-size: contain;
}
#sec4 .historyText{
 background: url(../img/history/bg4.jpg) no-repeat center center;
 background-size: contain;
}
#sec5 .historyText{
 background: url(../img/history/bg5.jpg) no-repeat center center;
 background-size: contain;
}
#sec6 .historyText{
 background: url(../img/history/bg6.jpg) no-repeat center center;
 background-size: contain;
}
#sec7 .historyText{
 background: url(../img/history/bg7.jpg) no-repeat center center;
 background-size: contain;
}
#btmSection{
 display: flex;
 width: 100%;
 background: #EFE5DC url(../img/history/bg8.jpg) no-repeat center center ;
 color: #40220F;
 padding: 100px 15px;
 margin-top: 90px;
 box-sizing: border-box;
}
#btmSection .text{
 height: 350px;
 margin-left: auto;
 margin-right: auto;
 font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.pageSection,
.pageSection2{
 position: relative;
 max-width: 1920px;
 margin-left: auto;
 margin-right: auto;
 padding-top: 100px;
 margin-top: -50px;
}
.pageSection>.img,
.pageSection2>.img{
 position: absolute;
 top: 0px;
}
.pageSection>.img{
 left: 0px;
}
.pageSection2>.img{
 right: 0px;
}
.pageSection>.text,
.pageSection2>.text{
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 15px;
 padding-right: 15px;
 display: flex;
}
.pageSection>.text{
 justify-content: flex-end;
}
.pageSection>.text .inner,
.pageSection2>.text .inner{
 position: relative;
 z-index: 2;
 background: #EFE5DC;
 color: #40220F;
 padding: 30px;
 width: 80%;
 display: flex;
 justify-content: space-around;
 flex-direction: row-reverse;
 box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
 height: 450px;
 font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.pageSection>.text .inner.reverse,
.pageSection2>.text .inner.reverse{
 flex-direction: row;
}
.pageSection>.text .inner .historyText,
.pageSection2>.text .inner .historyText{
 display: flex;
 flex-direction: row-reverse;
 width: 52%;
}
.pageSection>.text .inner .historyImg,
.pageSection2>.text .inner .historyImg{
 width: 48%;
 padding: 0 15px;
 box-sizing: border-box;
}
.textV{
 -ms-writing-mode: tb-rl;
 writing-mode: vertical-rl;
}
.number{
 -webkit-text-combine: horizontal;
 text-combine-upright: all;
}

/*
===================================================
        pc small
===================================================
*/
@media screen and (max-width: 1300px) {
 .pageSection>.text .inner,
 .pageSection2>.text .inner{
  width: 85%;
 }
}
@media screen and (max-width: 1200px) {
 #btmSection .text{
  max-width: 70%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
 }
 .pageSection,
 .pageSection2{
  padding-top: 20px;
  margin-top: 0px;
 }
 .pageSection>.img,
 .pageSection2>.img{
  display: none;
 }
 .pageSection>.text .inner,
 .pageSection2>.text .inner{
  padding: 30px;
  width: 100%;
  height: auto;
 }
 .pageSection>.text .inner .historyText,
 .pageSection2>.text .inner .historyText{
  display: block;
 }
 .pageSection>.text .inner .historyImg,
 .pageSection2>.text .inner .historyImg{
  width: 60%;
  text-align: center;
 }
 .textV{
  -ms-writing-mode: tb-lr;
  writing-mode: horizontal-tb;
 }
}

/*
===================================================
        sp
===================================================
*/
@media screen and (max-width: 768px) {
 #sec5 .historyImg{
  display: flex;
 }
 #btmSection{
  padding: 50px 35px;
  margin-top: 50px;
 }
 #btmSection .text{
  max-width: none;
  height: auto;
  margin-left: auto;
  margin-right: auto;
 }
 .pageSection,
 .pageSection2{
  padding-top: 20px;
  margin-top: 0px;
 }
 .pageSection>.img,
 .pageSection2>.img{
  display: none;
 }
 .pageSection>.text .inner,
 .pageSection2>.text .inner{
  display: block;
  padding: 30px;
  width: 100%;
  height: auto;
 }
 .pageSection>.text .inner .historyText,
 .pageSection2>.text .inner .historyText{
  display: block;
  width: 100%;
 }
 .pageSection>.text .inner .historyImg,
 .pageSection2>.text .inner .historyImg{
  width: 100%;
  text-align: center;
  margin-top: 20px;
 }
}