@charset "UTF-8";

.g-footer {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .g-footer {
    margin-top: 40px;
  }
}

/*======================================================================
 * ファミリーガイド レイアウト
======================================================================*/
.hero {
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .hero {
    margin: 0 -5.5vw;
  }
}

.hero img {
  width: 100%;
}

/*  */
.hero+.l-page-title {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding: 0;
  margin-top: 24px;
}

@media screen and (max-width: 768px) {
  .hero+.l-page-title {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 15px;
  }
}

.l-page-title+.lead {
  margin-top: 10px;
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

@media screen and (max-width: 768px) {
  .l-page-title+.lead {
    margin-top: 15px;
    font-weight: 500;
    margin-bottom: 20px;
  }
}

.guide-tab {
  margin-bottom: 26px;
}

@media screen and (max-width: 768px) {
  .guide-tab {
    margin-bottom: 15px;
  }
}

.guide-tab ul {
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .guide-tab ul {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.guide-tab ul li {
  position: relative;
  width: 100%;
  margin-right: 7px;
  font-size: 1.4rem;
  border-radius: 5px;
  background: #F4F4F4;
}

@media screen and (max-width: 768px) {
  .guide-tab ul li {
    width: calc(50% - 5px);
    min-height: 50px;
    margin-right: 0;
  }

  .guide-tab ul li:nth-child(n+3) {
    margin-top: 20px;
  }
}

.guide-tab ul li:last-child {
  margin-right: 0;
}

.guide-tab ul li.-current {
  position: relative;
  background: #FF8387;
}

.guide-tab ul li.-current:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  width: 0;
  height: 0;
  margin: auto;
  border: 6px solid transparent;
  border-top: 10px solid #FF8387;
}

.guide-tab ul li.-current a {
  color: #ffffff;
  font-weight: bold;
}

.guide-tab ul li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 23px 10px;
  color: #000;
  text-decoration: none;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .guide-tab ul li a {
    padding: 15px 10px;
    font-size: 1.2rem;
  }
}

.guide-heading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  position: relative;
  padding-bottom: 8px;
  color: #FF8B8B;
  font-weight: normal;
}

.guide-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: currentColor;
  border-radius: 5px;
}

.guide-heading .icon {
  width: 45px;
  height: 45px;
  margin-left: 12px;
  margin-right: 16px;
  display: flex;
  align-items: flex-end;
}

.guide-heading .icon img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .guide-heading .icon {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

.guide-heading .text {
  font-size: 2.2rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------
  * 共通
------------------------------------------------------------ */
.plain-text {
  margin: -8px 0 28px;
}

.plain-text p {
  font-size: 1.5rem;
  line-height: 1.8;
}

.link-button-group {
  margin-top: 30px;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .link-button-group {
    margin-bottom: 0;
  }
}

.link-text {
  margin: -10px 0 50px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .link-text {
    margin: -13px 0 50px;
  }
}

.link-text a {
  color: #FF8B8B;
  font-size: 1.2rem;
  text-decoration: none;
}

@media screen and (max-width: 330px) {
  .link-text a {
    font-size: 1.1rem;
  }
}

.link-button.-pink {
  color: #FF8B8B;
  border-color: #FF8B8B;
}

.link-button.-pink:after {
  background-image: url(../images/family_guide/btn-arrow-pink.svg);
}

.link-button.-pdf.-pink:after {
  background: url("../images/family_guide/icon-pdf-pink.svg") no-repeat center/contain;
}

/* ------------------------------------------------------------
  * サービス
------------------------------------------------------------ */
.facilities-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  max-width: 680px;
  margin: 48px auto 40px;
}

@media screen and (max-width: 768px) {
  .facilities-block {
    margin: 36px auto 0;
  }
}

.facilities-block .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: calc(50% - 10px);
}

.facilities-block .item:nth-child(n+3) {
  margin-top: 20px;
}

.facilities-block .item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  border: 1px solid #FF8B8B;
  border-radius: 16px;
  background: rgba(255, 139, 139, 0.2);
  overflow: hidden;
}

.facilities-block .item .image {
  text-align: center;
}

.facilities-block .item .image img {
  max-width: 150px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .facilities-block .item .image img {
    max-width: none;
  }
}

.facilities-block .item .text {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
  padding: 20px 32px 20px 36px;
  background: #FF8B8B;
}

.facilities-block .item .text::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  margin: auto;
  border: 1px solid #fff;
  border-width: 1px 1px 0 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.facilities-block .item .text p {
  letter-spacing: -1px;
  font-size: 1.6rem;
  font-weight: 500;
}

@media screen and (max-width: 768px) {

  .facilities-block .item .text {
    padding: 2px 12px 2px 7px;
    min-height: 62px;
    display: flex;
    align-items: center;
  }

  .facilities-block .item .text::after {
    right: 10px;
  }

  .facilities-block .item .text p {
    font-size: 1.4rem;
  }
}