/*
Theme Name: irodori_cssmix
Theme URL: http://wordpress.hitsuji.me
Description: Wordpress sample theme for training.
Author: ujidesign
Version: 1.0
*/
@charset "UTF-8";

/* ========================================
   共通設定
======================================== */

.cf::before, .cf::after {
  content: " ";
  display: table;
}
.cf::after {
  clear: both;
}
.cf {
  *zoom: 1;
}

/* ========================================
   園名・エリア名表示
======================================== */

.nurseryname_box {
  display: block;
  position: relative;
  height: auto;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.nurseryname_box h2 {
  text-align: center;
  font-size: 1.4rem;
  line-height: 2rem;
}

.nurseryname_box p {
  text-align: center;
  font-size: 1.0rem;
}

.nursery_name,
.area_name {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
}

.area_name {
  margin-top: 0.4rem;
  margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
  .nurseryname_box h2 {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
  .nurseryname_box p {
    font-size: 1.0rem;
  }
}

/* ========================================
   小見出し・横並び用ラッパー
======================================== */

.subheading_box {
  display: flex;
  justify-content: center;
}

.subheading_nursery {
  display: inline-block;
  position: relative;
  margin-bottom: 2em;
  font-size: 20px;
  line-height: 1.6em;
  font-weight: bold;
}

.subheading_nursery::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 20px;
  height: 2px;
  background-color: #00479D;
  transform: translateX(-50%);
}

/* PC横並び設定 */
@media screen and (min-width: 768px) {
  .content-wrapper {
    display: flex !important;
    align-items: stretch;
    gap: 20px;
  }
  .subheading_box {
    width: 12em;
    display: flex;
    align-items: center;
    text-align: center;
  }
  .box {
    flex: 1;
    display: flex;
    align-items: center;
  }
}

/* ========================================
   汎用ボックス
======================================== */

.box {
  position: relative;
  width: 100%;
  height: auto;
  margin: 20px auto 100px;
}

@media only screen and (min-width: 960px) {
  .box {
    float: right;
    width: calc(100% - 220px);
    padding-bottom: 100px;
  }
}

@media screen and (min-width: 1201px) {
  .box {
    width: 760px;
  }
}

/* ========================================
   施設ブロック
======================================== */

.box_facility {
  display: block;
  clear: both;
  margin: 30px auto 10px;
}

.list_facility_sp,
.list_facility_pc {
  float: left;
  width: 46%;
  margin-right: 11.5px;
  margin-bottom: 20px;
}

.list_facility_sp p,
.list_facility_pc p {
  line-height: 1.25em;
  text-align: center;
}

.list_facility_sp a,
.list_facility_pc a {
  text-decoration: none;
  text-decoration-color: #00479D;
}

.wapper_facility {
  margin-top: 50px;
}

/* ========================================
   施設紹介テーブル
======================================== */

.box table {
  margin-bottom: 20px;
  border-collapse: collapse;
}

.box tr {
  height: 3em;
  border-bottom: solid 1px #00479D;
  vertical-align: middle;
  font-size: 0.9em;
}

.box th {
  width: 75px;
  text-align: center;
  font-weight: bold;
  vertical-align: middle;
  line-height: 1.2em;
}

.box td {
  vertical-align: middle;
  line-height: 1.5em;
  padding: 1em 0 1em 1em;
}

/* クラス編成表のカスタムデザイン */
.classtable th {
  background-color: #00479D;
  color: #fff;
  border-right: solid 1em #fff;
  padding: 0 1em;
  text-align: center;
  line-height: 1em;
  vertical-align: middle;
}
.classtable td {
  padding: 0 1em;
  text-align: center;
  vertical-align: middle;
  line-height: 1em;
}
.classtable {
  margin-bottom: 0;
}
.box > table > tbody > tr > td > .classtable tr {
  border-bottom: none;
}

/* テキストドットリスト用 */
table.text_dot {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

table.text_dot th {
  width: 30px;
  padding: 10px;
  vertical-align: top;
  font-weight: normal;
}

table.text_dot td {
  width: 100%;
  padding: 10px;
  vertical-align: top;
}

/* その他 */
dt {
  text-decoration: underline;
  text-underline-position: under;
  margin-bottom: 26px;
  font-size: 18px;
}
dl {
  margin-bottom: 28px;
}
.br_rp {
  display: none;
}