/*
学校について用CSS
*/
.sec-greeting .wrap-imgtxt .item-txt {
  width: 60%;
  line-height: 2;
}
.sec-greeting .wrap-imgtxt .item-img {
  width: calc(40% - 80px);
}
.sec-greeting .wrap-imgtxt .item-txt p {
  margin: 0 0 23px;
}
.wrap-imgtxt .item-txt p.name-greeting {
  text-align: right;
  font-size: 2.2rem;
  margin-bottom: 0;
}
/*教育理念*/
.sec-concept .wrap-blue-contents {
  padding-top: 40px;
}
.sec-concept .wrap-blue-contents.wrap-blue-contents-ikusei {
  padding-top: 0;
}
.wrap-blue-contents-ikusei .item-blue-contents {
  padding: 26px 32px;
}
.wrap-blue-contents-ikusei .txt-blue-contents-100 {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.wrap-blue-contents-ikusei .h3-blue {
  position: relative;
  display: inline-block;
  border-bottom: 0;
  margin: 0;
  padding: 0 15px 0 0;
  font-size: 2.8rem;
}
.txt-concept-ikusei {
  width: 100%;
  font-size: 1.8rem;
}
/*history*/
.sec-history .area-page-contents {
  row-gap: 50px;
}
/*access*/
.h2-acc {
  margin: 0;
  padding-bottom: 10px;
  font-size: 2.8rem;
}
.item-access .box-iframe {
  margin-top: 30px;
}
.item-access-flex {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.item-access-kikan {
  position: relative;
  display: block;
  width: calc(50% - 30px);
}
.h3-acc {
  position: relative;
  display: block;
  margin: 0 0 20px 0;
  font-size: 2.6rem;
  text-align: center;
}
.h3-acc span {
  padding: 5px 20px;
  background: #fff;
}
.h3-acc::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background: #AFAFAF;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: -1;
}
.box-acc-kikan {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.blue-acc-kikan {
  position: relative;
  display: block;
  width: calc(100% / 3 - 8px);
  background: #E8E6F3;
  border-radius: 8px;
  padding: 90px 5px 15px;
  color: #2A1D75;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}
.blue-acc-kikan::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  margin: auto;
  width: 80px;
  height: 60px;
  background: #fff;
}
.train-acc-kikan::before {
  background: url('../images/about/access/icn_train.png') no-repeat center / contain;
  height: 63px;
}
.bus-acc-kikan::before {
  background: url('../images/about/access/icn_bus.png') no-repeat center / contain;
}
.bicy-acc-kikan::before {
  background: url('../images/about/access/icn_bicycle.png') no-repeat center / contain;
  width: 81px;
}
.txt-acc-kikan-s {
  position: relative;
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}
.table-acc-kikan {
  position: relative;
  display: block;
  width: 100%;
  max-width: 365px;
  margin: 0 auto;
}
.table-acc-kikan table {
  width: 100%;
  border-collapse:collapse;
}
.table-acc-kikan table tr {
  border-bottom: 1px solid #A4A4A4;
}
.table-acc-kikan table th {
  background: #E8E6F3;
}
.table-acc-kikan table th,.table-acc-kikan table td {
  padding: 8px 8px 6px;
}
.table-acc-kikan table tr:nth-child(1),
.table-acc-kikan table tr th:nth-child(1),
.table-acc-kikan table tr td:nth-child(1) {
  border: none;
}
.table-acc-kikan table th, .table-acc-kikan table td {
  border-left: 1px solid #A4A4A4;
}
.table-acc-kikan table tr td:nth-child(2) ,.table-acc-kikan table tr td:nth-child(3)  {
  text-align: center;
}
.box-acc-businfo {
  padding-bottom: 20px;
}
.box-acc-businfo:last-of-type {
  padding-bottom: 0;
}
.h3-businfo {
  position: relative;
  display: block;
  padding-left: 23px;
  margin: 0 0 5px;
  font-size: 1.6rem;
}
.h3-businfo::before,
.txt-inner-map:before {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 22px;
  top: 2px;
  left: 0;
  margin: auto;
  background: url('../images/about/access/icn_exclude.png') no-repeat center / contain;
}
.item-acc-shuheninfo,.item-acc-groundinfo {
  margin-top: 15px;
}
.item-acc-traininfo .box-pale-blue {
  margin-top: 10px;
}
.item-acc-traininfo .box-pale-blue img,
.item-acc-traininfo .box-pale-blue .txt-cmn-16 {
  position: relative;
  display: block;
  max-width: 760px;
  margin: 0 auto;
}
.item-acc-shuheninfo .box-pale-blue img,
.item-acc-shuheninfo .box-pale-blue .txt-inner-map ,
.item-acc-shuheninfo .box-pale-blue .txt-cmn-16,
.item-acc-groundinfo .box-pale-blue img,
.item-acc-groundinfo .box-pale-blue .txt-inner-map ,
.item-acc-groundinfo .box-pale-blue .txt-cmn-16{
  position: relative;
  display: block;
  max-width: 725px;
  margin: 0 auto;
}
.item-acc-groundinfo .box-pale-blue img,
.item-acc-shuheninfo .box-pale-blue img,
.item-acc-traininfo .box-pale-blue img {
  padding: 10px 0;
}

.txt-inner-map {
  position: relative;
  display: block;
  padding-left: 23px;
  font-size: 1.8rem;
}
.item-acc-shuheninfo .box-pale-blue img.img-acc-shuhen-sp {
  display: none;
}
.item-access-child {
  padding-top: 40px;
}
#bus-info,#train-info,#shuhen-info,#ground-info { /*アンカーリンク用*/
  scroll-margin-top: 100px;
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  .sec-greeting .wrap-imgtxt .item-txt {
    width: 100%;
    order: 2;
  }
  .sec-greeting .wrap-imgtxt .item-img {
    width: 100%;
    order: 1;
  }
  .sec-greeting .wrap-imgtxt .item-img img {
    position: relative;
    display: block;
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 30px;
  }
  .wrap-imgtxt .item-txt p.name-greeting {
    font-size: 2rem;
  }
  .wrap-blue-contents-ikusei .item-blue-contents {
    padding: 24px 30px 22px;;
  }
  /*access*/
  .h2-acc {
    padding-bottom: 5px;
    font-size: 2.4rem;
  }
  .item-access-kikan {
    width: calc(50% - 15px);
  }
  .h3-acc {
    font-size: 2.2rem;
  }
  .txt-inner-map {
    font-size: 1.6rem;
  }
  .h2-cmn span.h2-small-yoko {
    font-size: 1.6rem;
  }
  .item-access-child {
    padding-top: 30px;
  }
  #bus-info,#train-info,#shuhen-info,#ground-info { /*アンカーリンク用*/
    scroll-margin-top: 10px;
  }
}
/*-------------------------------------------------
break point 800px SP
--------------------------------------------------*/
@media only screen and (max-width: 800px) {
  .item-access-flex {
    row-gap: 45px;
  }
  .item-access-kikan {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .table-acc-kikan {
    max-width: 500px;
  }
  .item-acc-traininfo .box-pale-blue,
  .item-acc-shuheninfo .box-pale-blue,
  .item-acc-groundinfo .box-pale-blue{
    padding: 0;
    background: none;
    margin: 0;
  }
  .item-acc-groundinfo .box-pale-blue img, .item-acc-shuheninfo .box-pale-blue img, .item-acc-traininfo .box-pale-blue img {
    padding-top: 0
  }
  .item-acc-shuheninfo, .item-acc-groundinfo {
    margin-top: 0;
  }
}
/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  .sec-greeting .wrap-imgtxt .item-txt{
    line-height: 1.8;
  }
  .wrap-imgtxt .item-txt p.name-greeting {
    font-size: 1.8rem;
  }
  .sec-greeting .wrap-imgtxt .item-img img {
    max-width: 200px;
    padding-bottom: 20px;
  }
  /*教育理念*/
  .sec-concept .wrap-blue-contents {
    padding-top: 25px;
  }
  .wrap-blue-contents-ikusei .item-blue-contents {
    padding: 18px 18px 16px;
  }
  .wrap-blue-contents-ikusei .txt-blue-contents-100 {
    flex-wrap: wrap;
  }
  .wrap-blue-contents-ikusei .h3-blue {
    width: 100%;
    font-size: 2.2rem;
  }
  .txt-concept-ikusei {
    font-size: 1.6rem;
  }
  .wrapper-page-history {
    overflow: hidden;
  }
  .sec-history .area-page-contents {
    row-gap: 35px;
  }
  /*access*/
  .h2-acc,.h3-acc {
    font-size: 2rem;
  }
  .h3-acc {
    margin: 0 0 10px 0;
  }
  .h3-acc::before {
    content: none;
  }
  .item-access-flex {
    row-gap: 35px;
  }
  .blue-acc-kikan {
    background: none;
    width: calc(100% / 3 - 3px);
  }
  .box-acc-kikan {
    background: #E8E6F3;
    border-radius: 8px;
    padding: 5px 15px 0;
  }
  .box-acc-kikan span.kikan-s-pconly {
    display: none;
  }
  .txt-acc-kikan-s .dis-inb {
    display: block;
  }
  .table-acc-kikan table th, .table-acc-kikan table td {
    font-size: 1.5rem;
  }
  .item-acc-shuheninfo .box-pale-blue img.img-acc-shuhen-pc {
    display: none;
  }
  .item-acc-shuheninfo .box-pale-blue img.img-acc-shuhen-pc {
    display: block;
  }
  .h2-cmn span.h2-small-yoko {
    font-size: 1.4rem;
  }
  .item-access-child {
    padding-top: 20px;
  }
}
/*-------------------------------------------------
break point 480px SP
--------------------------------------------------*/
@media only screen and (max-width: 480px) {
  .box-acc-img {
    width: 100%;
    overflow-x: auto;
  }
  .item-acc-groundinfo .box-pale-blue img, .item-acc-traininfo .box-pale-blue img {
    width: 480px;
  }
  .item-acc-shuheninfo .box-pale-blue img {
    width: 100%;
  }
  .item-acc-traininfo .h2-cmn {
    padding-bottom: 5px;
  }
  .item-acc-traininfo .scroll-notice {
    padding-top: 0;
  }
}