/* ==========================
front-page
========================== */
.home .school {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.home .school__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.home .school__wrap a {
  position: relative;
  display: block;
  width: calc(50% - 18px);
  max-width: 532px;
}
.home .school__wrap a:hover {
  opacity: 1;
}
.home .school__wrap a:hover .viewBtn {
  background: #FFF;
  color: #000;
}
.home .school__wrap--cnt {
  position: absolute;
  top: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 42.23%;
  height: 100%;
  padding: 4.7%;
}
.home .school__wrap--cnt.jhs {
  background: #33B495;
}
.home .school__wrap--cnt.hs {
  background: #A7484D;
}
.home .school__wrap--cnt picture {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .home .school__wrap--cnt picture {
    height: calc(92% - 26px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.home .school__wrap--cnt img {
  width: 100%;
}
.home .school__wrap--cnt .viewBtn {
  margin-top: auto;
}
@media screen and (min-width: 1000px) {
  .home .school__wrap--cnt .viewBtn {
    padding: 15px 5px;
  }
}
@media screen and (max-width: 768px) {
  .home .school__wrap--cnt .viewBtn {
    margin: 0;
    position: absolute;
    bottom: 8%;
  }
}
.home .examinee {
  width: 90%;
  max-width: 856px;
  margin-right: auto;
  margin-left: auto;
}
.home .examinee__ttl {
  font-size: 4rem;
  letter-spacing: 0.12em;
  text-align: center;
}
.home .examinee__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 30px;
}
.home .examinee__wrap--blk {
  width: calc(50% - 18px);
  text-align: center;
}
.home .examinee__wrap--blk.jhs li {
  background: #33B495;
}
.home .examinee__wrap--blk.hs li {
  background: #A7484D;
}
.home .examinee__wrap--blk .title {
  font-size: 2.6rem;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
}
.home .examinee__wrap--blk ul {
  font-size: 2.3rem;
  line-height: 1.4;
}
.home .examinee__wrap--blk ul li {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: 9px;
}
.home .examinee__wrap--blk ul li.pamphlet {
  background: #FFF;
  height: auto;
}
.home .examinee__wrap--blk ul li.pamphlet .examinee__wrap--blk--imgOn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
}
.home .examinee__wrap--blk ul li.pamphlet:before {
  display: none;
}
.home .examinee__wrap--blk ul li.pamphlet a {
  height: auto;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.home .examinee__wrap--blk ul li.pamphlet a:hover {
  opacity: 1;
}
.home .examinee__wrap--blk ul li.pamphlet a:hover .examinee__wrap--blk--img {
  opacity: 1;
}
.home .examinee__wrap--blk ul li.pamphlet a:hover .examinee__wrap--blk--imgOn {
  opacity: 1;
}
.home .examinee__wrap--blk ul li:before {
  position: absolute;
  content: "";
  top: calc(50% - 7px);
  right: 13px;
  width: 13px;
  height: 13px;
  border-top: 1px solid #FFF;
  border-right: 1px solid #FFF;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.home .examinee__wrap--blk ul a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  color: #FFF;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.home .movie {
  width: 94%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.home .movie a {
  display: block;
}
.home .movie a:nth-of-type(n+2) {
  margin-top: 50px;
}

.home .blog {
  width: 94%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media only, screen and (max-width: 768px) {
  .home .school__wrap {
    display: block;
  }
  .home .school__wrap a {
    width: 100%;
  }
  .home .school__wrap a:nth-of-type(n+2) {
    margin-top: 20px;
  }
  .home .school__wrap--img {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
  }
  .home .school__wrap--cnt {
    position: relative;
    width: 50%;
    height: 58.5vw;
    padding: 0 8%;
    z-index: 1;
    margin: 0 0 0 auto;
  }
  .home .examinee__ttl {
    font-size: 2.5rem;
  }
  .home .examinee__wrap {
    display: block;
    margin-top: 10px;
  }
  .home .examinee__wrap--blk {
    width: 100%;
    text-align: center;
  }
  .home .examinee__wrap--blk:nth-of-type(n+2) {
    margin-top: 20px;
  }
  .home .examinee__wrap--blk .title {
    font-size: 1.8rem;
    letter-spacing: 0.2em;
    padding-left: 0.2em;
  }
  .home .examinee__wrap--blk ul {
    font-size: 1.6rem;
    line-height: 1.4;
  }
  .home .examinee__wrap--blk ul li {
    width: 100%;
    height: 50px;
    margin-top: 3px;
  }
  .home .examinee__wrap--blk ul li.pamphlet a {
    padding: 0;
  }
  .home .examinee__wrap--blk ul li.pamphlet .examinee__wrap--blk--img {
    width: 100%;
    height: auto;
  }
  .home .examinee__wrap--blk ul li.pamphlet .examinee__wrap--blk--imgOn {
    display: none;
  }
  .home .examinee__wrap--blk ul li:before {
    top: calc(50% - 3px);
    right: 13px;
    width: 7px;
    height: 7px;
  }
  .home .examinee__wrap--blk ul a {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    padding: 0 8px;
  }
  .home .examinee__wrap--blk--img {
    width: 74px;
  }
  .home .examinee__wrap--blk--cnt {
    width: calc(100% - 74px);
  }
  .home .movie a:nth-of-type(n+2) {
    margin-top: 20px;
  }
  .home .blog {
    margin-top: 30px;
  }
  .home .topics__wrap--blk--hs {
    margin-top: 50px;
  }
}
/* ==========================
archive
========================== */
.hmaster-blog .page__h1 {
  background: url(../img/hmaster-blog/h1_bg.jpg) no-repeat center/cover;
}
.hmaster-blog .mt40 {
  margin-top: 40px;
}
.hmaster-blog .cat-list a:hover {
  background-color: #FFFCD6;
}
.hmaster-blog h2 {
  font-size: 3.6rem;
  letter-spacing: 0.2em;
}
.hmaster-blog dl {
  border-bottom: 1px solid #2B2827;
  margin-top: 30px;
  padding-bottom: 30px;
  font-size: 1.8rem;
  letter-spacing: 0.2em;
}
.hmaster-blog dl .new:after {
  content: "NEW";
  color: #E60012;
  margin-left: 15px;
}
.hmaster-blog dl dd a:hover {
  text-decoration: underline;
}
@media only, screen and (max-width: 768px) {
  .hmaster-blog h2 {
    display: none;
  }
  .hmaster-blog dl dt {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }
  .hmaster-blog dl dd {
    font-size: 1.4rem;
  }
}

/* ==========================
page
========================== */
.privacy .page__cnt li {
  text-indent: -1.7em;
  margin-left: 1.7em;
}
@media screen and (min-width: 769px) {
  .privacy .flxbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .privacy .flxbox__blk {
    width: 50%;
  }
}

.access .viewBtnBold {
  max-width: 380px;
}
.access .page__btn {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.access .page__btn--blk {
  position: relative;
  width: 47.5%;
  border: 1px solid #000;
  cursor: pointer;
}
.access .page__btn--blk.active {
  border: none;
  background: #FFD900;
}
.access .page__btn--blk.active:after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background: #FFD900;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 50%) rotate(45deg);
          transform: translate(-50%, 50%) rotate(45deg);
}
.access .disNone {
  display: none;
}
@media only, screen and (max-width: 768px) {
  .access .page__btn--blk.active:after {
    width: 16px;
    height: 16px;
  }
  .access iframe {
    height: 160px;
  }
}

.news .page__h1 {
  background: url(../img/news/h1_bg.jpg) no-repeat center/cover;
}
.news__wrap {
  margin-top: 30px;
}
.news .article {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.news .article li {
  width: 31%;
}
.news .article li:not(:nth-of-type(3n)) {
  margin-right: 3.5%;
}
.news .article li .article__date.new:after {
  content: "NEW";
  color: #E60012;
  margin-left: 15px;
}
.news .article li:nth-of-type(n+4) {
  margin-top: 60px;
}
.news .article__date {
  font-size: 1.2rem;
}
.news .article__text {
  margin-top: 10px;
}
.news .single__mv {
  margin-bottom: 25px;
}
.news .cat-list a:hover {
  background-color: #FFFCD6;
}
@media screen and (min-width: 769px) {
  .news section {
    margin-top: 50px;
  }
  .news .singleBlk {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 60px;
  }
  .news .singleBlk > * {
    width: 48%;
  }
  .news .singleBlk.RGT {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
}
@media only, screen and (max-width: 768px) {
  .news section {
    margin-top: 25px;
  }
  .news .singleBlk {
    margin-bottom: 25px;
  }
  .news .singleBlk img {
    height: auto;
    margin-bottom: 25px;
  }
  .news .singleBlk.RGT {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
  .news .article {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .news .article li {
    width: 48%;
  }
  .news .article li:not(:nth-of-type(3n)) {
    margin-right: 0;
  }
  .news .article li:nth-of-type(odd) {
    margin-right: 4%;
  }
  .news .article li:nth-of-type(n+3) {
    margin-top: 30px;
  }
  .news .article__date {
    font-size: 1.3rem;
  }
  .news .article__text {
    font-size: 1.4rem;
  }
}

.sitemap section {
  margin-top: 60px;
}
.sitemap__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  max-width: 840px;
  font-size: 1.8rem;
  line-height: 1.45;
  letter-spacing: 0.2em;
}
@media only, screen and (max-width: 840px) {
  .sitemap__list {
    font-size: 1.6rem;
  }
}
.sitemap__list * {
  width: 48.5%;
  padding: 12px 20px;
  border-width: 1px;
  border-color: #2B2827;
  border-bottom-style: solid;
}
.sitemap__list h3 {
  border: none;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  padding: 2px 15px;
  margin-bottom: 20px;
}
.sitemap__list h3.jhs {
  border-left: 20px solid #33B495;
}
.sitemap__list h3.hs {
  border-left: 20px solid #A7484D;
}
.sitemap__list .arw {
  position: relative;
}
.sitemap__list .arw:before {
  position: absolute;
  content: "";
  top: calc(50% - 6px);
  left: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 6px;
  height: 6px;
  border: 6px solid transparent;
  border-left: 6px solid #666666;
}
.sitemap__list .line {
  position: relative;
}
.sitemap__list .line:before {
  position: absolute;
  content: "";
  top: calc(50% - 6px);
  left: 20px;
  width: 8px;
  height: 8px;
  border-bottom: 1px solid #666666;
  border-left: 1px solid #666666;
}
.sitemap__list.dot * {
  padding-left: calc(1em + 20px);
  border-bottom-style: dotted;
}
@media screen and (min-width: 769px) {
  .sitemap__list.row *:nth-of-type(even) {
    margin-left: 3%;
  }
  .sitemap__list.column3 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-height: 180px;
  }
  .sitemap__list.column3 *:nth-of-type(n+4) {
    margin-left: 3%;
  }
  .sitemap__list.column4 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-height: 245px;
  }
  .sitemap__list.column4 *:nth-child(n+5) {
    margin-left: 3%;
  }
  .sitemap__list.column5 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-height: 270px;
    margin-top: 80px;
  }
  .sitemap__list.column5 *:nth-child(n+6) {
    margin-left: 3%;
  }
	
	
	  .sitemap__list.column6 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-height: 325px;
  }
  .sitemap__list.column6 *:nth-child(n+7) {
    margin-left: 3%;
  }
	
	
  .sitemap__list.full * {
    width: 100%;
  }
}
@media only, screen and (max-width: 768px) {
  .sitemap section {
    margin-top: 40px;
  }
  .sitemap section:first-of-type {
    margin-top: 25px;
  }
  .sitemap__list {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
  }
  .sitemap__list * {
    width: 100%;
    display: block;
    padding: 15px;
  }
  .sitemap__list h3 {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    padding: 0 10px;
    margin: 25px 0 15px;
  }
  .sitemap__list h3.jhs {
    border-left: 10px solid #33B495;
  }
  .sitemap__list h3.hs {
    border-left: 10px solid #A7484D;
  }
  .sitemap__list .arw:before {
    top: calc(50% - 5px);
    width: 5px;
    height: 5px;
    border: 5px solid transparent;
    border-left: 5px solid #666666;
  }
  .sitemap__list .line:before {
    top: calc(50% - 6px);
  }
  .sitemap__list.dot * {
    border-bottom-style: solid;
  }
  .sitemap__list.column5 {
    margin-top: 30px;
  }
}


@media print {
  .privacy .flxbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .privacy .flxbox__blk {
    width: 50%;
  }
	  .news section {
    margin-top: 50px;
  }
  .news .singleBlk {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 60px;
  }
  .news .singleBlk > * {
    width: 48%;
  }
  .news .singleBlk.RGT {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
	  .sitemap__list.row *:nth-of-type(even) {
    margin-left: 3%;
  }
  .sitemap__list.column3 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-height: 180px;
  }
  .sitemap__list.column3 *:nth-of-type(n+4) {
    margin-left: 3%;
  }
  .sitemap__list.column4 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-height: 245px;
  }
  .sitemap__list.column4 *:nth-child(n+5) {
    margin-left: 3%;
  }
  .sitemap__list.column5 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-height: 270px;
    margin-top: 80px;
  }
  .sitemap__list.column5 *:nth-child(n+6) {
    margin-left: 3%;
  }
	
	  .sitemap__list.column6 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-height: 340px;
  }
  .sitemap__list.column6 *:nth-child(n+7) {
    margin-left: 3%;
  }
	
	
  .sitemap__list.full * {
    width: 100%;
  }
	
	.access .honkou, .access .shiroyama{
		display: block !important;
	}
	
}




.home .examinee__wrap--blk.jhs li,
.home .school__wrap--cnt.jhs {
  background: #20a751;
}
.home .examinee__wrap--blk.hs li,
.home .school__wrap--cnt.hs {
  background: #a6484d;
}
.home section.blog ,
.home .movie a:nth-of-type(n+2) {
  margin-top: 20px;
}

@media not all, screen and (max-width: 768px) {
  .home .school__wrap--img {
    position: static;
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}




.sitemap__list_n {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: nowrap;
    max-width: 840px;
    font-size: 1.8rem;
    line-height: 1.45;
    letter-spacing: 0.2em;
flex-direction:row;
justify-content:space-between ;
}

.sitemap__list_n > div{
    width:48.5%;
display: flex;


        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
}

.sitemap__list_n a{
    width: 100%;
    padding: 12px 20px;
    border-width: 1px;


    padding-left: calc(1em + 20px);
    border-bottom-style: dotted;
}


.sitemap__list_n .line {
    position: relative;
}

.sitemap__list_n .line:before {
    position: absolute;
    content: "";
    top: calc(50% - 6px);
    left: 20px;
    width: 8px;
    height: 8px;
    border-bottom: 1px solid #666666;
    border-left: 1px solid #666666;
}






@media not all, screen and (max-width: 768px) {


.sitemap__list_n {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: nowrap;
    max-width: 840px;
    font-size: 14px !important;
    line-height: 1.45;
    letter-spacing: 0.2em;
flex-direction:column;
justify-content:space-between ;
}


.sitemap__list_n > div{
    width:100%;
display: flex;


        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
}


}




@media not all, screen and (max-width: 840px) {

		.sitemap__list_n {

    font-size: 1.6rem;
}



}















