/*-----------------------------------------------------------

	content setting

-----------------------------------------------------------*/
#content {
  width: 1050px;
  overflow: hidden;
  padding: 0 0 0 0;
  margin: 0 auto;
}

#content .mv {
  position: relative;
  line-height: 0;
}

#content .mv h2 {
  position: absolute;
  top: 60px;
  left: 35px;
}

#content .mv h2.chapter2 {
  position: absolute;
  right: 42px;
  bottom: 53px;
  top: auto;
  left: auto;
}

#content .mv img {
  width: 100%;
  height: auto;
}

#content .txtWrap {
  width: 100%;
  min-width: 1050px;
  overflow: hidden;
  margin: 60px auto 0 auto;
}

#content .txtBox {
  width: 970px;
  overflow: hidden;
  margin: 0 auto 0 auto;
}

#content .txt {
  width: 490px;
  float: left;
  font-size: 16px;
  line-height: 1.6;
}

#content .txt h3 {
  font-size: 23px;
  font-weight: bold;
  margin: 0 0 25px 0;
}

#content .txt p {
  width: 475px;
  padding: 0 0 40px 0;
  margin: 0;
  text-align: justify;
}

#content .txt p span {
  font-weight: bold;
}

#content .ph {
  width: 430px;
  float: right;
  padding: 0 0 0 30px;
}

#content .ph p {
  width: 430px;
  padding: 0 0 5px 0;
  line-height: 1.6;
  font-size: 14px;
  text-align: justify;
}

#content .ph p.txt {
  margin: 0 0 90px 0;
}

#content .ph p.profile {
  padding: 0 0 0 0;
  margin: 0;
}

#content .ph p.profile .name {
  line-height: 1.8;
  font-size: 16px;
}

#content .ph p.profile .cap {
  font-size: 10px;
  color: #333333;
}

#content .cont_gr {
  overflow: visible;
}

#content #gallery {
  width: 1050px;
  padding: 0 0 0 0;
  margin: 4px auto 0 auto;
}

#content #gallery h2 {
  width: 247px;
  text-align: center;
  margin: 50px auto 0 auto;
}

#content #gallery .thumbs {
  width: 1060px;
  overflow: hidden;
  margin: 25px auto 40px auto;
}

#content #gallery .thumbs li {
  position: relative;
  float: left;
  width: 203px;
  height: 135px;
  line-height: 0;
  padding: 0 9px 9px 0;
  overflow: hidden;
}

#content #gallery .thumbs li a {
  display: block;
  position: relative;
}

#content #gallery .thumbs li a img {
  width: 100%;
  z-index: 1;
}

#content #gallery .thumbs li .cr {
  position: absolute;
  display: none;
  width: 203px;
  height: 135px;
  left: 0;
  top: 0;
}

#content #gallery .thumbs li a {
  display: inline-block;
  text-decoration: none;
}

#content #gallery .thumbs li a.btn {
  position: relative;
}

#content #gallery .thumbs li span {
  position: absolute;
  width: 203px;
  height: 135px;
  top: 0;
  left: 0;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  border: 0px solid rgba(200, 200, 200, 0.6);
}

#content #gallery .thumbs li:hover span {
  width: 187px;
  height: 119px;
  border: 8px solid rgba(200, 200, 200, 0.6);
  -webkit-transition: all .2s ease-in-out 0s;
  transition: all .2s ease-in-out 0s;
}

@media screen and (max-width: 640px) {
  #content {
    width: 100%;
    margin: 0 0 0 0;
  }
  #content.fix {
    padding: 45px 0 0 0;
  }
  #content .mv {
    width: 100%;
  }
  #content .mv h2 {
    width: 68.5%;
    top: 12%;
    left: 4%;
  }
  #content .mv h2 img {
    width: 100% !important;
    height: auto !important;
  }
  #content .mv h2.chapter2 {
    width: 66.4%;
    position: absolute;
    right: 4%;
    bottom: 12%;
    left: auto;
    top: auto;
  }
  #content .readBox {
    width: 100%;
    font-size: 10px;
    line-height: 1.6;
    color: #333333;
    margin: 0 0 5% 0;
  }
  #content .readBox p {
    margin: 0 auto 0 auto;
    font-size: 9px;
    width: 90%;
  }
  #content .txtWrap {
    width: 100%;
    min-width: 100%;
    margin: 5% auto 0 auto;
  }
  #content .txtBox {
    width: 100%;
  }
  #content .txt {
    width: 90%;
    float: none;
    font-size: 12px;
    margin: 0 auto 0 auto;
  }
  #content .txt h3 {
    font-size: 14px;
    margin: 0 0 4% 0;
  }
  #content .txt p {
    width: 100%;
    padding: 0 0 4% 0;
  }
  #content .ph {
    width: 90%;
    margin: 0 auto 0 auto;
    padding: 0 0 0 0;
    float: none;
  }
  #content .ph p {
    width: 100%;
    margin: 2% 0 0 0;
    font-size: 10px;
  }
  #content .ph p.txt {
    width: 100%;
    margin: 0 auto 8% auto;
    font-size: 11px;
  }
  #content .ph p img {
    width: 100% !important;
    height: auto !important;
  }
  #content .ph p.profile {
    font-size: 11px;
  }
  #content .ph p.profile .name {
    font-size: 12px;
  }
}

/*---gallery---*/
.btn:hover::after, .btn:hover::before {
  width: 100%;
  width: calc(100% + 3px);
}

.btn:hover .btn_in::after, .btn:hover .btn_in::before {
  height: 100%;
  height: calc(100% + 3px);
}

@media screen and (max-width: 640px) {
  #content #gallery {
    width: 100%;
    margin: 0 0 0 0;
  }
  #content #gallery h2 {
    width: 32.9%;
    margin: 8% auto 0 auto;
  }
  #content #gallery h2 img {
    width: 100%;
    height: auto;
  }
  #content #gallery .galleryPh ul img {
    width: 100% !important;
    height: auto !important;
  }
  #content #gallery .thumbs {
    width: 90%;
    margin: 0 0 5% 0;
    padding: 5% 0 0 5%;
  }
  #content #gallery .thumbs li {
    width: 19%;
    height: auto;
    margin: 0 1% 4px 0;
    padding: 0 0 0 0;
  }
  #content #gallery .thumbs li a {
    width: 100%;
    height: auto;
  }
  #content #gallery .thumbs li img {
    width: 100% !important;
    height: auto !important;
  }
}

/*---pageNavi---*/
#content .pageNavi {
  width: 1050px;
  margin: 0px auto 75px auto;
  overflow: hidden;
  font-size: 1px;
  text-align: center;
}

#content .pageNavi .pageNum {
  position: relative;
  width: 200px;
  margin: 0 auto;
  font-size: 25px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #000;
}

#content .pageNavi .pageNum .backBtn {
  position: absolute;
  top: 0;
  right: 200px;
  letter-spacing: 0;
}

#content .pageNavi .pageNum .backBtn a {
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  opacity: 1;
  filter: alpha(opacity=100);
}

#content .pageNavi .pageNum .backBtn a:hover {
  -webkit-transition: all .5s;
  transition: all .5s;
  opacity: .5;
  filter: alpha(opacity=50);
}

#content .pageNavi .pageNum .nextBtn {
  position: absolute;
  top: 0;
  left: 200px;
  letter-spacing: 0;
}

#content .pageNavi .pageNum .nextBtn a {
  text-decoration: none;
  font-size: 25px;
  font-weight: bold;
  color: #000;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  opacity: 1;
  filter: alpha(opacity=100);
}

#content .pageNavi .pageNum .nextBtn a:hover {
  -webkit-transition: all .5s;
  transition: all .5s;
  opacity: .5;
  filter: alpha(opacity=50);
}

.btn_top {
  width: 100px;
  margin: 0 auto;
  font-size: 25px !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  opacity: 1;
  filter: alpha(opacity=100);
}

.btn_top:hover {
  -webkit-transition: all .5s;
  transition: all .5s;
  opacity: .5;
  filter: alpha(opacity=50);
}

.btn_top a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

.to_ch1 {
  width: 350px;
  text-align: right;
}

.to_ch2 {
  width: 350px;
  text-align: left;
}

@media screen and (max-width: 640px) {
  #content .pageNavi {
    width: 100%;
    padding-bottom: 40px;
    margin: 20px auto 0 auto;
    overflow: hidden;
    text-align: center;
  }
  #content .pageNavi .pageNum {
    position: relative;
    width: 90px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #000;
  }
  #content .pageNavi .pageNum .backBtn {
    position: absolute;
    top: 0;
    right: 90px;
  }
  #content .pageNavi .pageNum .backBtn a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #000;
  }
  #content .pageNavi .pageNum .nextBtn {
    position: absolute;
    top: 0;
    left: 90px;
  }
  #content .pageNavi .pageNum .nextBtn a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #000;
  }
  #content .pageNavi .gr {
    width: 45px;
  }
  #content .pageNavi .gr .backBtn {
    right: 45px;
  }
  #content .pageNavi .gr .nextBtn {
    left: 45px;
  }
  #content .pageNavi .link_btn {
    width: 200px;
    top: 5px !important;
    left: 80px !important;
    text-align: left;
    font-size: 11px;
    line-height: 1.2em;
    letter-spacing: 1px;
  }
  #content .pageNavi .link_btn:after {
    content: "";
    position: absolute;
    top: -2px;
    left: 102px;
    width: 13px;
    height: 11px;
    background: url(../img/chapter2/icon_link.png) top center no-repeat;
    -webkit-background-size: 13px 11px;
            background-size: 13px 11px;
    z-index: 1;
  }
  #content .pageNavi .link_btn a {
    font-size: 12px !important;
  }
  .btn_top {
    font-size: 16px !important;
  }
  .btn_top a {
    text-decoration: none;
    font-weight: bold;
    color: #000;
  }
  .to_ch1 {
    top: 5px !important;
    right: 80px !important;
    width: 112px;
    line-height: 1.1;
    text-align: right;
  }
  .to_ch1 a {
    font-size: 14px !important;
    text-align: left;
  }
  .to_ch2 {
    top: 4px !important;
    left: 80px !important;
    width: 112px;
    line-height: 1.1em;
    text-align: left;
  }
  .to_ch2 a {
    font-size: 14px !important;
  }
}

.cr_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: skew(-17deg);
      -ms-transform: skew(-17deg);
          transform: skew(-17deg);
  background: rgba(255, 255, 255, 0.15);
}

#gNav ul li .hover_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all .5s;
  transition: all .5s;
  -webkit-transform: skew(-17deg);
      -ms-transform: skew(-17deg);
          transform: skew(-17deg);
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  filter: alpha(opacity=0);
}

#gNav ul li:hover .hover_bg {
  -webkit-transition: all .5s;
  transition: all .5s;
  opacity: 1;
  filter: alpha(opacity=100);
}

.alpha_btn {
  opacity: 0.3;
  filter: alpha(opacity=30);
}

.link_btn {
  width: 700px;
  text-align: left;
}

.link_btn:after {
  content: "";
  position: absolute;
  top: 9px;
  left: 410px;
  width: 13px;
  height: 11px;
  background: url(../img/chapter2/icon_link.png) top center no-repeat;
  -webkit-background-size: 13px 11px;
          background-size: 13px 11px;
  z-index: 1;
}

.link_btn a {
  font-size: 23.5px !important;
}
