/* Import files */
/* Variables */
/* Fonts */
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,500,700,900&subset=japanese");
@font-face {
  font-family: 'HuiFont29';
  src: url("./fonts/HuiFont29.woff2") format("woff2"), url("./fonts/HuiFont29.woff") format("woff");
}
/**
 * Childcare
 * @date 21 Dec 2018
 */
#childcare {
  font-family: 'Noto Sans JP', sans-serif;
  background: #f8f6e9;
  padding: 40px 0 0;
  position: relative;
  z-index: 1;
}
#childcare h1, #childcare h2, #childcare h3, #childcare h4, #childcare h5, #childcare h6 {
  font-weight: 700;
  color: #4a8eda;
  margin: 0 0 20px;
}
#childcare h1, #childcare h2 {
  font-size: 2rem;
  line-height: 1.2;
}
#childcare h3, #childcare h4 {
  font-size: 1.4rem;
  line-height: 1.42;
}
#childcare p, #childcare ul, #childcare ol, #childcare dl, #childcare table, #childcare figcaption {
  font-size: 1rem;
  line-height: 1.572;
  margin: 0 0 20px;
}
#childcare ul, #childcare ol {
  padding-left: 1rem;
  list-style: disc;
}
#childcare ul li, #childcare ol li {
  margin: 5px 0;
}
#childcare ul li:first-child, #childcare ol li:first-child {
  margin-top: 0;
}
#childcare ul li:last-child, #childcare ol li:last-child {
  margin-bottom: 0;
}
#childcare ul li ul, #childcare ul li ol, #childcare ol li ul, #childcare ol li ol {
  margin: 5px 0;
  list-style: circle;
}
#childcare ul .ttl, #childcare ol .ttl {
  list-style: none;
  margin: 0 0 10px -2rem;
}
#childcare ol {
  list-style: decimal;
}
#childcare table {
  font-size: 1rem;
  line-height: 1.572;
  border-collapse: collapse;
  margin: 0 0 20px;
}
#childcare table th {
  font-weight: normal;
}
#childcare figure {
  margin: 0 0 20px;
}
#childcare figcaption {
  margin: 5px 0;
}
#childcare img {
  vertical-align: bottom;
}
#childcare a {
  color: #333;
  text-decoration: underline;
}
#childcare a:hover {
  text-decoration: none;
}
#childcare strong {
  font-weight: normal;
}
#childcare .attentions {
  font-size: 1rem;
  line-height: 1.42;
  list-style: none;
  padding: 0;
}
#childcare .attentions li {
  text-indent: -1rem;
  padding-left: 1rem;
  margin: 5px 0;
}
#childcare .center {
  text-align: center;
  margin: 0 auto;
}
#childcare .headline {
  font-family: 'HuiFont29';
  background: none;
  padding: 0;
}
#childcare .headline.headline-large {
  font-weight: 700;
  text-align: center;
  background: url(../img/childcare_ul_h2.png) no-repeat center bottom;
  padding-bottom: 20px;
}
#childcare .headline.headline-effect::before, #childcare .headline.headline-effect::after {
  content: '';
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-position: center top;
  -moz-background-size: auto 50px;
  -webkit-background-size: auto 50px;
  background-size: auto 50px;
  display: inline-block;
  vertical-align: middle;
}
#childcare .headline.headline-effect::before {
  background-image: url(../img/childcare_headline_effect_left.png);
}
#childcare .headline.headline-effect::after {
  background-image: url(../img/childcare_headline_effect_right.png);
}
#childcare .headline.headline-effect.headline-effect-color::before {
  background-image: url(../img/childcare_headline_effect_color_left.png);
}
#childcare .headline.headline-effect.headline-effect-color::after {
  background-image: url(../img/childcare_headline_effect_color_right.png);
}
#childcare .headline.headline-leaf::before, #childcare .headline.headline-leaf::after {
  content: '';
  width: 60px;
  height: 40px;
  vertical-align: -12px;
  background-repeat: no-repeat;
  background-position: center center;
  -moz-background-size: 40px auto;
  -webkit-background-size: 40px auto;
  background-size: 40px auto;
  display: inline-block;
}
#childcare .headline.headline-leaf::before {
  background-image: url(../img/childcare_illust_09_lt.png);
}
#childcare .headline.headline-leaf::after {
  background-image: url(../img/childcare_illust_09_rt.png);
}
#childcare .summary-and-fig,
#childcare .fig-and-summary {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: center;
  align-items: center;
}
#childcare .summary-and-fig .fig,
#childcare .summary-and-fig .summary,
#childcare .fig-and-summary .fig,
#childcare .fig-and-summary .summary {
  width: 50%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#childcare .summary-and-fig .fig.summary-flag,
#childcare .summary-and-fig .summary.summary-flag,
#childcare .fig-and-summary .fig.summary-flag,
#childcare .fig-and-summary .summary.summary-flag {
  position: relative;
}
#childcare .summary-and-fig .fig.summary-flag::before, #childcare .summary-and-fig .fig.summary-flag::after,
#childcare .summary-and-fig .summary.summary-flag::before,
#childcare .summary-and-fig .summary.summary-flag::after,
#childcare .fig-and-summary .fig.summary-flag::before,
#childcare .fig-and-summary .fig.summary-flag::after,
#childcare .fig-and-summary .summary.summary-flag::before,
#childcare .fig-and-summary .summary.summary-flag::after {
  content: '';
  width: 120px;
  height: 80px;
  display: block;
  position: absolute;
  top: 0;
}
#childcare .summary-and-fig .fig.summary-flag::before,
#childcare .summary-and-fig .summary.summary-flag::before,
#childcare .fig-and-summary .fig.summary-flag::before,
#childcare .fig-and-summary .summary.summary-flag::before {
  left: 0;
  background: url(../img/childcare_illust_04_left.png) no-repeat 0 0;
}
#childcare .summary-and-fig .fig.summary-flag::after,
#childcare .summary-and-fig .summary.summary-flag::after,
#childcare .fig-and-summary .fig.summary-flag::after,
#childcare .fig-and-summary .summary.summary-flag::after {
  right: 0;
  background: url(../img/childcare_illust_04_right.png) no-repeat 0 0;
}
#childcare .summary-and-fig .fig,
#childcare .fig-and-summary .fig {
  text-align: center;
  margin: 0;
}
#childcare .summary-and-fig .fig img,
#childcare .fig-and-summary .fig img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
#childcare .summary-and-fig .fig.inview,
#childcare .fig-and-summary .fig.inview {
  opacity: 0;
  transform: translateY(20px);
  transition: all 400ms ease-in-out 400ms;
}
#childcare .summary-and-fig .fig.inview.inviewed,
#childcare .fig-and-summary .fig.inview.inviewed {
  opacity: 1;
  transform: translateY(0);
}
#childcare .summary-and-fig .summary p:last-child,
#childcare .fig-and-summary .summary p:last-child {
  margin: 0;
}
#childcare .summary-and-fig .fig {
  -ms-flex-order: 2;
  -webkit-order: 2;
  order: 2;
}
#childcare .summary-and-fig .summary {
  padding: 40px;
  -ms-flex-order: 1;
  -webkit-order: 1;
  order: 1;
}
#childcare .fig-and-summary .fig {
  -ms-flex-order: 1;
  -webkit-order: 1;
  order: 1;
}
#childcare .fig-and-summary .summary {
  padding: 40px;
  -ms-flex-order: 2;
  -webkit-order: 2;
  order: 2;
}
#childcare .schedule {
  width: 100%;
  color: #4a8eda;
  text-align: center;
}
#childcare .schedule th, #childcare .schedule td {
  text-align: center;
  padding: 10px;
  border-top: 2px dotted #4a8eda;
  background: #fff;
}
#childcare .schedule th {
  background: #eaf5fb;
}
#childcare .schedule thead th {
  background: #c1e8fe;
  border: none;
}
#childcare .schedule.end {
  margin: 0;
}
#childcare .schedule .marker {
  font-family: 'HuiFont29', sans-serif;
  font-size: 1.6rem;
  background: linear-gradient(transparent 50%, rgba(255, 254, 128, 0.8) 50%);
  padding: 0 10px;
  display: inline-block;
}
#childcare .overview th, #childcare .overview td {
  padding: 1px 0;
}
#childcare .overview th {
  white-space: nowrap;
  text-align: left;
  vertical-align: top;
}
#childcare .dotted {
  border-collapse: separate;
  border-spacing: 0;
  border: 2px dotted #aaa;
}
#childcare .dotted.fixed {
  table-layout: fixed;
}
#childcare .dotted th, #childcare .dotted td {
  text-align: center;
  vertical-align: middle;
  padding: 5px 10px;
  border: 2px dotted #aaa;
  border-width: 2px 2px 0 0;
  background: #fff;
}
#childcare .dotted th {
  white-space: nowrap;
  background: #f5f5f5;
}
#childcare .dotted th:last-child,
#childcare .dotted td:last-child {
  border-right-width: 0;
}
#childcare .dotted thead th {
  background: #e5e5e5;
  border-top-width: 0;
}
#childcare .separator {
  width: 100%;
  height: 8px;
  border: none;
  background: url(../img/childcare_line.png) repeat-x 0 0;
  display: block;
  margin: 30px 0;
}
#childcare .breadcrumb {
  max-width: 1080px;
  margin: 0 auto 40px;
}
#childcare .breadcrumb a {
  text-decoration: none;
}
#childcare .breadcrumb a::after {
  content: '>';
  margin: 0 5px 0 10px;
}

#childcare-greeting {
  max-width: 1080px;
  padding: 40px 0;
  margin: 0 auto;
}
#childcare-greeting p {
  font-size: 1rem;
  line-height: 1.82;
}
#childcare-greeting .summary {
  padding: 80px 40px 40px !important;
}
#childcare-greeting .summary .headline {
  text-align: center;
}

#childcare-purpose {
  width: 100%;
  background: url(../img/childcare_bg_purpose.png) repeat center top;
  padding: 40px 0;
  position: relative;
}
#childcare-purpose::before, #childcare-purpose::after {
  content: '';
  width: 320px;
  height: 100%;
  display: block;
  position: absolute;
  z-index: 1;
}
#childcare-purpose::before {
  background: url(../img/childcare_illust_01.png) repeat-y center top;
  -moz-background-size: 320px auto;
  -webkit-background-size: 320px auto;
  background-size: 320px auto;
  left: 0;
  top: 0;
}
#childcare-purpose::after {
  background: url(../img/childcare_illust_02.png) repeat-y center top;
  -moz-background-size: 320px auto;
  -webkit-background-size: 320px auto;
  background-size: 320px auto;
  right: 0;
  top: 0;
}
#childcare-purpose #childcare-purpose-inner {
  width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
#childcare-purpose #childcare-purpose-inner h2, #childcare-purpose #childcare-purpose-inner h3, #childcare-purpose #childcare-purpose-inner h4, #childcare-purpose #childcare-purpose-inner p, #childcare-purpose #childcare-purpose-inner ul, #childcare-purpose #childcare-purpose-inner ol {
  color: #fff;
}

#childcare-direction {
  text-align: center;
}
#childcare-direction .slogan {
  width: 100%;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.32;
  color: #4a8eda !important;
  text-align: center;
  background: #fff;
  border-radius: 40px;
  padding: 20px 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(1, 1);
  transform-origin: bottom center;
  margin: 20px 0 30px;
  display: inline-block;
}
#childcare-direction .slogan.inviewed {
  animation: anime-slogan 1s ease 1s forwards;
}
#childcare-direction .read {
  color: #fff;
  text-align: left;
  margin: 0 auto;
}

#childcare-event .events {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
#childcare-event .events .event {
  width: 50%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#childcare-event .events .event:nth-child(odd) {
  padding-right: 20px;
}
#childcare-event .events .event:nth-child(even) {
  padding-left: 20px;
}
#childcare-event .events .event .fig {
  text-align: center;
}
#childcare-event .events .event .fig img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#childcare-facilities {
  width: 100%;
  max-width: initial;
  max-width: none;
  padding: 40px 0;
  background: url(../img/childcare_bg_book.png) repeat 0 0;
}
#childcare-facilities h2, #childcare-facilities h3, #childcare-facilities h4 {
  margin: 0 0 10px;
}
#childcare-facilities h2 {
  text-align: center;
  margin: 0 0 20px;
}
#childcare-facilities p, #childcare-facilities ul, #childcare-facilities ol, #childcare-facilities table {
  margin: 0 0 10px;
}
#childcare-facilities .headline {
  text-align: center;
  margin: 0 0 20px;
}
#childcare-facilities .childcare-name {
  font-size: 2rem;
}
#childcare-facilities .cinfos {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  background: url(../img/childcare_border_dotted.png) repeat-x 0 0;
  -moz-background-size: 120px auto;
  -webkit-background-size: 120px auto;
  background-size: 120px auto;
  position: relative;
}
#childcare-facilities .cinfos.separate::before {
  content: '';
  width: 6px;
  height: auto;
  background: url(../img/childcare_border_dotted_vt.png) repeat-y center top;
  -moz-background-size: 6px auto;
  -webkit-background-size: 6px auto;
  background-size: 6px auto;
  display: block;
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 20px;
}
#childcare-facilities .cinfos .cinfo {
  width: 100%;
  padding: 40px 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}
#childcare-facilities .cinfos .cinfo.cinfo-left {
  width: 50%;
  padding-right: 40px;
}
#childcare-facilities .cinfos .cinfo.cinfo-right {
  width: 50%;
  padding-left: 40px;
}
#childcare-facilities #childcare-facilities-inner {
  width: 960px;
  padding: 40px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: #fff;
  margin: 0 auto;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}
#childcare-facilities #childcare-facilities-about {
  margin: 0 0 20px;
}

@media screen and (max-width: 768px) {
  #childcare {
    padding: 40px 0 0;
  }
  #childcare h1, #childcare h2 {
    font-size: 1.6rem;
    letter-spacing: 0;
  }
  #childcare h3, #childcare h4 {
    font-size: 1.2rem;
    letter-spacing: 0;
  }
  #childcare p, #childcare ol, #childcare ul, #childcare table {
    font-size: 1rem;
  }
  #childcare .headline.headline-large {
    background: url(../img/childcare_ul_h2.png) no-repeat center bottom;
    -moz-background-size: auto 8px;
    -webkit-background-size: auto 8px;
    background-size: auto 8px;
    margin: 0;
  }
  #childcare .headline.headline-leaf::before, #childcare .headline.headline-leaf::after {
    content: '';
    width: 24px;
    height: 24px;
    -moz-background-size: 24px auto;
    -webkit-background-size: 24px auto;
    background-size: 24px auto;
    vertical-align: -8px;
  }
  #childcare .summary-and-fig .fig,
  #childcare .summary-and-fig .summary,
  #childcare .fig-and-summary .fig,
  #childcare .fig-and-summary .summary {
    width: 100% !important;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
  }
  #childcare .summary-and-fig .fig,
  #childcare .fig-and-summary .fig {
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
  }
  #childcare .summary-and-fig .fig.inview,
  #childcare .fig-and-summary .fig.inview {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
  #childcare .summary-and-fig .fig.inview.inviewed,
  #childcare .fig-and-summary .fig.inview.inviewed {
    opacity: 1;
    transform: translateY(0);
  }
  #childcare .summary-and-fig .summary,
  #childcare .fig-and-summary .summary {
    padding: 20px 0 !important;
  }
  #childcare .summary-and-fig .summary.summary-flag,
  #childcare .fig-and-summary .summary.summary-flag {
    padding-top: 40px !important;
  }
  #childcare .summary-and-fig .summary.summary-flag::before, #childcare .summary-and-fig .summary.summary-flag::after,
  #childcare .fig-and-summary .summary.summary-flag::before,
  #childcare .fig-and-summary .summary.summary-flag::after {
    width: 60px;
    height: 40px;
    background-position: center top;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    background-size: contain;
  }
  #childcare .separator {
    height: 5px;
    -moz-background-size: auto 5px;
    -webkit-background-size: auto 5px;
    background-size: auto 5px;
  }
  #childcare .breadcrumb {
    max-width: initial;
    max-width: none;
    font-size: .8rem;
    margin: 0 20px 40px;
  }

  #childcare-greeting {
    max-width: initial;
    max-width: none;
    padding: 40px 20px;
  }
  #childcare-greeting h2 {
    text-align: center;
  }
  #childcare-greeting .summary {
    padding: 40px !important;
  }

  #childcare-purpose {
    width: 100%;
    padding: 40px 0;
    position: relative;
  }
  #childcare-purpose::before, #childcare-purpose::after {
    display: none;
  }
  #childcare-purpose #childcare-purpose-inner {
    width: auto;
    padding: 0 20px;
  }

  #childcare-direction .slogan {
    width: 100%;
    font-size: 1.1rem;
    border-radius: 20px;
    padding: 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 20px 0;
  }

  #childcare-event h3 {
    text-align: center;
  }
  #childcare-event .events .event {
    width: 100%;
    padding: 0 !important;
  }

  #childcare-dailyprogram h3 {
    text-align: center;
  }

  #childcare-facilities {
    width: 100%;
    padding: 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  #childcare-facilities h2, #childcare-facilities h3, #childcare-facilities h4 {
    margin: 0 0 10px;
  }
  #childcare-facilities h2 {
    text-align: center;
  }
  #childcare-facilities p, #childcare-facilities ul, #childcare-facilities ol, #childcare-facilities table {
    margin: 0 0 10px;
  }
  #childcare-facilities .headline {
    margin: 0 0 20px;
  }
  #childcare-facilities .headline.headline-effect::before, #childcare-facilities .headline.headline-effect::after {
    width: 40px;
    height: 30px;
    -moz-background-size: auto 30px;
    -webkit-background-size: auto 30px;
    background-size: auto 30px;
  }
  #childcare-facilities .childcare-name {
    font-size: 1.4rem;
  }
  #childcare-facilities .cinfos.separate::before {
    display: none;
  }
  #childcare-facilities .cinfos .cinfo {
    width: 100%;
    padding: 40px 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
  }
  #childcare-facilities .cinfos .cinfo.cinfo-left {
    width: 100%;
    padding-right: 0;
  }
  #childcare-facilities .cinfos .cinfo.cinfo-right {
    width: 100%;
    padding-left: 0;
    background: url(../img/childcare_border_dotted.png) repeat-x 0 0;
    -moz-background-size: 120px auto;
    -webkit-background-size: 120px auto;
    background-size: 120px auto;
  }
  #childcare-facilities .cinfos .dotted th, #childcare-facilities .cinfos .dotted td {
    padding: 5px;
  }
  #childcare-facilities .cinfos .dotted th {
    white-space: normal;
  }
  #childcare-facilities .cinfos .fig {
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
    padding: 0;
  }
  #childcare-facilities .cinfos .summary {
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
    padding: 0;
  }
  #childcare-facilities #childcare-facilities-inner {
    width: auto;
    padding: 20px;
  }
  #childcare-facilities #childcare-facilities-about {
    margin: 0 0 40px;
  }
  #childcare-facilities #childcare-facilities-about .headline-effect {
    margin: 0 0 40px !important;
  }
}
/* Animation */
@keyframes anime-slogan {
  0% {
    opacity: 0;
    transform: scale(1, 1);
  }
  40% {
    transform: scale(1.1, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale(0.9, 1.1);
  }
  80% {
    opacity: 1;
    transform: scale(1.06, 0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1, 1);
  }
}
/* With illust */
.with-illust {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: center;
  align-items: center;
}
.with-illust .summary,
.with-illust .fig {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.with-illust .summary {
  -webkit-flex: 1;
  flex: 1;
  padding-right: 20px;
}
.with-illust .fig {
  width: 240px;
  text-align: center;
  margin: 0;
}
.with-illust .fig img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

@media screen and (max-width: 768px) {
  .with-illust .summary,
  .with-illust .fig {
    width: 100% !important;
  }
  .with-illust .summary {
    padding: 20px 0;
  }
  .with-illust .fig img {
    width: 160px;
  }
}
