body {
  font-size: 14px;
  line-height: 1.6;
}

#main2 {
  font-size: 14px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1.6;
}

#contents {
  width: 960px;
  margin: 0 auto;
  float: none;
  padding-top: 20px;
}

h2 {
  margin-bottom: 50px;
}

.pagelink li {
  border: 1px solid #ccc;
  border-radius: 3px;
  float: left;
  margin-left: 11px;
  width: 108px;
}

.pagelink li:first-child {
  margin-left: 0;
}

.pagelink li .gakunen_name {
  background: #ccc;
  border-radius: 3px 3px 0 0;
  color: #fff;
  text-align: center;
  padding: 3px 0;
}

.pagelink li .seibetsu {
  padding: 15px 0 10px;
}

.pagelink li .seibetsu .danshi {
  border-right: 1px dotted #bbb;
  float: left;
  text-align: center;
  width: 53px;
}

.pagelink li .seibetsu .joshi {
  float: left;
  text-align: center;
  width: 54px;
}

.article-body h3 {
  background: #f7f7f7;
  border-left: 6px solid #ccc;
  font-size: 142%;
  margin-top: 50px;
  margin-bottom: 20px;
  padding: 10px 15px;
}

#sho1-d,
#sho1-j { border-color: #ff9913; }
#sho2-d,
#sho2-j { border-color: #66bb46; }
#sho3-d,
#sho3-j { border-color: #03a18a; }
#sho4-d,
#sho4-j { border-color: #39b6ea; }
#sho5-d,
#sho5-j { border-color: #315baf; }
#sho6-d,
#sho6-j { border-color: #8756b9; }
#chu1-d,
#chu1-j { border-color: #a4178b; }
#chu2-d { border-color: #f92989; }

#sho1 { border-color: #ff9913; }
#sho2 { border-color: #66bb46; }
#sho3 { border-color: #03a18a; }
#sho4 { border-color: #39b6ea; }
#sho5 { border-color: #315baf; }
#sho6 { border-color: #8756b9; }
#chu1 { border-color: #a4178b; }
#chu2 { border-color: #f92989; }

#sho1 .gakunen_name { background: #ff9913; }
#sho2 .gakunen_name { background: #66bb46; }
#sho3 .gakunen_name { background: #03a18a; }
#sho4 .gakunen_name { background: #39b6ea; }
#sho5 .gakunen_name { background: #315baf; }
#sho6 .gakunen_name { background: #8756b9; }
#chu1 .gakunen_name { background: #a4178b; }
#chu2 .gakunen_name { background: #f92989; }


.gakunen {
  margin-bottom: 50px;
}

.left {
  border-top: 1px solid #bbb;
  margin-top: 75px;
  padding-top: 75px;
}

.left:first-child {
  border: none;
  margin-top: 0;
  padding-top: 0;
}

.image_photo {
  float: left;
  height: 300px;
  margin-right: 20px;
  overflow: hidden;
  position: relative;
  width: 300px;
}

.image_photo:after {
  background: url(/jiyukenkyu/gallery/image/common/2013/icon_zoom.png) no-repeat left top;
  bottom: 10px;
  content: "";
  display: block;
  height: 30px;
  position: absolute;
  right: 10px;
  width: 30px;
}

.flame {
  clear: both;
  padding-top: 25px;
}

.book_title {
  font-weight: bold;
  font-size: 150%;
  margin-bottom: 25px;
}

#contents .mark01,
#contents .mark02,
#contents .mark03,
#contents .mark04,
#contents .mark05,
#contents .mark06 {
  background: #009d1a;
  border-radius: 12px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  width: 85px;
}

.green {
  color: #66bb46;
  font-weight: bold;
}

@media (min-width: 741px) {
  /* PC */

  #contents h1 {
    position: relative;
  }
  #contents h1 .h1-alt-txt {
    position: absolute;
    top: 28px;
    left: 204px;
    color: #fff;
    font-size: 23px;
  }
}
@media screen and (max-width: 740px) {
  #contents {
    width: auto;
  }

  #contents h1 {
    background: #0070cb;
    color: #fff;
    font-size: 114%;
    font-weight: normal;
    margin-bottom: 10px;
    text-align: center;
  }


  #contents h2 {
    margin-bottom: 25px;
  }

  .pagelink li {
    box-sizing: border-box;
    margin: 0 5% 10px 0;
    width: 30%;
  }

  .pagelink li:nth-child(3n) {
    margin-right: 0;
  }

  .image_photo {
    float: left;
    height: auto;
    margin-right: 0;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    width: 48%;
  }

  .image_photo:before {
    content: "";
    display: block;
    padding-top: 100%;
  }

  .image_photo a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }

  .image_photo:nth-child(2n) {
    float: right;
  }
}