@charset "utf-8";

body {
  color: #231916;
  font-family: a-otf-futo-go-b101-pr6n, sans-serif;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
  background: #fff;
  min-width: inherit;
  min-height: inherit;
  max-height: 100%;
}
main {
  padding-bottom: 40px;
}
.quality-wrapper {
  margin: 0 auto;
  padding-bottom: 20px;
  width: 92%;
  max-width: 956px;
  border: 1px solid #ccc;
  border-top: 0;
}
.block {
  border: 1px solid #ccc;
  border-top: 0;
}
.eastboyquality-block > .note {
  background: url(/school/eastboyquality/img/bg.jpg) no-repeat;
  background-size: cover;
  font-size: 16px;
  color: white;
  padding: 88px 0 67px;
  margin-bottom: 69px;
}
.note .text-basic {
  padding: 0 135px;
  line-height: 1.9;
  margin-bottom: 88px;
}
.note .text-basic img {
  max-width: 433px;
}
.items .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin-bottom: 68px;
}
.items p {
  font-family: "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", Osaka, "Meiryo", "メイリオ",
    "MS Pゴシック", Arial, Helvetica, Verdana, sans-serif;
  text-align: justify;
}
.items .item .text-basic {
  width: 50%;
  padding: 0 30px;
  font-size: 12.5px;
  color: #616161;
  line-height: 1.6;
  text-align: justify;
  position: relative;
  bottom: -3px;
}
.items .item .text-basic .title {
  margin-bottom: 31px;
}
.items .item .text-basic .title-item {
  margin-bottom: 15px;
  display: block;
  position: relative;
}
.items .item .text-basic .title-item img {
  display: block;
  margin: 0 auto;
}
.items .item .text-basic .title-item:after {
  content: "";
  height: 5px;
  background: url(/school/eastboyquality/img/line.png) repeat-x;
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
}
.items .item .text-basic .note-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  color: #140700;
  margin-top: 10px;
}
.items .item .text-basic .note-item img {
  width: 155px;
  margin-left: 9px;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
}
.items .item .img {
  width: 50%;
}
.items .item .text-basic .note-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  color: #140700;
  margin-top: 5px;
}
.items .item .text-basic .note-item img {
  width: 155px;
  order: 2;
}
.items .item .text-basic .note-item span {
  display: block;
  text-align: right;
  letter-spacing: 2px;
  color: #616161;
}

#item-03 .text-basic,
#item-05 .text-basic,
#item-07 .text-basic {
  order: 2;
}
#item-03 .text-basic .title {
  margin-bottom: 63px;
}

#item-05 .text-basic .title {
  margin-bottom: 81px;
}
#item-06 .text-basic .title {
  margin-bottom: 84px;
}
#item-07 .text-basic .title {
  margin-bottom: 105px;
}

@media screen and (max-width: 640px) {
  .eastboyquality-block > .note {
    padding: 50px 0;
    margin-bottom: 50px;
  }
  .note .text-basic {
    margin-bottom: 40px;
    padding: 0 25px;
    text-align: center;
  }
  .note .text-basic img {
    max-width: 100%;
  }
  .items .item {
    margin-bottom: 40px;
  }
  .items .item .text-basic {
    width: 100%;
    margin-bottom: 15px;
    padding: 0 15px;
    font-size: 12px;
  }
  .items .item .text-basic .title {
    margin-bottom: 20px !important;
  }
  .items .item .img {
    width: 100%;
  }
  .items .item .text-basic .title img {
    width: auto;
    max-height: 44px;
  }
  .items .item .text-basic .title-item img {
    width: auto;
    max-height: 38px;
  }
  .items .item .text-basic .title-item:after {
    bottom: 12px;
    background-size: 100%;
  }
  .items .item .text-basic .note-item img {
    width: 95px;
    margin-left: 5px;
  }
  .items .item .text-basic .note-item span {
    font-size: 9px;
  }
  #item-03 .text-basic,
  #item-05 .text-basic,
  #item-07 .text-basic {
    order: 1;
  }
  #item-03 .img,
  #item-05 .img,
  #item-07 .img {
    order: 2;
  }
}
