/*--------------------------------------------------------------------------------
 *
 *
 *
 *
 * 教室投稿ページ（single-school.php）
 *
 *
 *
 *
--------------------------------------------------------------------------------*/
.kv_school {
  background-color: #ffefda;
  background-image: url(img/school/bg-school.png);
  /* height: 350px; */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.kv_school .inner {
  padding: 30px 0;
}
.kv_school .ttl-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}
.kv_school .ttl-wrapper .txt-wrapper {
  flex-basis: 65%;
}
.kv_school .ttl-wrapper .txt-wrapper h1 {
  text-align: left;
  margin: 0;
}
.kv_school .ttl-wrapper .img-wrapper {
  overflow: hidden;
  /* flex-basis: 32%; */
  /* height: 290px; */
  flex-basis: 380px;
  height: 100%;
}
.kv_school .ttl-wrapper .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-school h2.post-ttl {
  border-bottom: 2px solid transparent;
  border-image: url(img/common/border-crayon.png) 30 / 1 / 0 repeat;
  position: relative;
  padding: 0 0 15px 50px;
  margin-bottom: 30px;
text-align: left;
font-size: 30px;
}
.post-school .content {
  /* max-width: 800px; */
  margin: 0 auto;
}
.post-school .content img {
  margin-bottom: 20px;
}
.post-school h2.post-ttl::before {
  content: '';
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  background-repeat: no-repeat;
}
.post-school h2.post-ttl-flower::before {
  background-image: url(img/common/list-flower-orange.png);
  width: 39px;
  height: 41px;
  top: 33%;
  left: 0%;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}
.post-school h2.post-ttl-clover::before {
  background-image: url(img/common/icon-clover.png);
  width: 39px;
  height: 49px;
  top: 42%;
  left: 0%;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}
.post-school h2.post-ttl-flag::before {
  background-image: url(img/common/icon-flag.png);
  width: 33px;
  height: 51px;
  top: 42%;
  left: 0%;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

.post-school .thumbnail-wrapper {
  margin: 50px 0;
}
.post-school .thumbnail-wrapper ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3%;
}
.post-school .thumbnail-wrapper ul > li {
  flex-basis: 31%;
  border-radius: 10px;
  overflow: hidden;
}

section.school-contents-wrapper {
  padding: 40px 0;
}

table.school-information {
  width: 100%;
  border: 1px solid #f7931e;
}
table.school-information tr:not(:last-of-type)  {
  border-bottom: 1px solid #cccccc;
}

table.school-information th {
  padding: 20px;
  background-color: #feecd8;
  width: 25%;
  vertical-align: middle;
  line-height: 1.5;
}
table.school-information td {
  padding: 20px;
  width: 75%;
  background-color: #fff;
  line-height: 1.5;
}
table.school-information td dl {
  display: flex;
  padding: 5px 0;
}
table.school-information td dl dt {
  margin: 0 20px 0 0;
}
table.school-information td dl dd {
  padding: 0;
}

table.school-opening-class {
  width: 100%;
  border: 1px solid #f7931e;
}
table.school-opening-class th {
  padding: 20px;
  background-color: #feecd8;
  width: calc(100% / 6);
  vertical-align: middle;
  border: 1px solid #cccccc;
  vertical-align: middle;
}
table.school-opening-class td {
  padding: 20px;
  background-color: #fff;
  border: 1px solid #cccccc;
  text-align: center;
  vertical-align: middle;
}

.post-school .map iframe {
  width: 100%;
  height: 600px;
}


ul.post_same-area {
  display: flex;
  gap: 2.6%;
  flex-wrap: wrap;
}
ul.post_same-area li {
  flex-basis: 23%
}
ul.post_same-area li img {
  margin-bottom: 20px;
}
ul.post_same-area li h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: normal;
}

@media screen and (max-width: 766px) {
  .kv_school {
    height: auto;
  }
  .kv_school .ttl-wrapper .txt-wrapper {
    flex-basis: 100%;
  }
  .kv_school .ttl-wrapper .img-wrapper {
    display: none;
  }
  .post-school h2.post-ttl {
    font-size: 5vw;
  }
  
  
  table.school-information th {
    padding: 20px 2vw;
  }
  
  
  table.school-information td dl {
    flex-wrap: wrap;
  }
  table.school-information td dl dt {
    margin-bottom: 2vw;
  }
  table.school-opening-class th {
    padding: 20px 1vw;
  }
  
 
  .post-school .map iframe {
    height: 55vw;
  }
  ul.post_same-area {
    justify-content: space-between;
  }
  
  ul.post_same-area li {
      flex-basis: 48%;
  }
}