/* max-width 960px
   height auto

   【スマホ切り替え】
   ヘッダー、ナビ、フッター　768px
   メイン　600px

	 z-index
   1  body .site

*/

/************** トップエリア **************/
#content .top-area .frame {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 6rem;
  margin-bottom: 3rem;
}
#content .top-area .frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  background-color: #5ce6ff;
  border-radius: 0 30px 30px 0;
  z-index: -1;
}
#content .top-area .frame .title div:first-of-type {
  width: 430px;
  padding-top: 1rem;
  position: relative;
}
#content .top-area .frame .title div:first-of-type:before {
  content: "";
  position: absolute;
  top: 0;
  left: -2rem;
  width: 127px;
  height: 127px;
  background-color: #ffc47d;
  border-radius: 50%;
}
#content .top-area .frame .title div h2 {
  font-size: 71px;
  font-weight: normal;
  line-height: 110%;
  border-bottom: 1px solid #000;
}
#content .top-area .frame .title div p {
  font-size: 20px;
  text-align: right;
}
@media screen and (min-width: 768px) {
  #content .top-area .frame .title {
    position: relative;
  }
}
@media screen and (max-width: 767px) {
  #content .top-area .frame {
    padding-top: 6rem;
    padding-bottom: 1rem;
  }
  #content .top-area .frame .title {
    margin-bottom: 2rem;
  }
  #content .top-area .frame .title div:first-of-type {
    width: 280px;
    margin-left: 2rem;
  }
  #content .top-area .frame .title div:first-of-type::before {
    width: 107px;
    height: 107px;
  }
  #content .top-area .frame .title div h2 {
    font-size: 40px;
  }
  #content .top-area .frame .title div p {
    top: 2rem;
  }
}

/************** 取り組み **************/
.emergency {
  text-align: center;
  padding-bottom: 2rem;
}
.emergency p {
  text-align: center;
  margin-bottom: 3rem;
}
.emergency .font-bold {
  font-weight: bold;
}
.emergency h4 {
  margin: 0 auto;
  margin-bottom: 2rem;
  font-size: 34px;
  display: inline-block;
  padding: 0 4rem;
  position: relative;
}
.emergency h4::before,
.emergency h4::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45px;
  height: 45px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  background-color: #a2f1d9;
  border-radius: 50%;
}
.emergency h4::before {
  left: 0;
}
.emergency h4::after {
  right: 0;
}

.anchor {
  background-color: #a2f1d9;
  padding: 2rem 0;
}
.anchor ul {
  flex-wrap: wrap;
  max-width: 550px;
  width: auto;
  margin: 0 auto;
}
.anchor ul li a {
  background-color: #fff;
  border-radius: 30px;
  padding: 0.5rem 1rem;
  padding-right: 1.5rem;
  display: inline-block;
  margin: 0.5rem 0;
  position: relative;
}
.anchor ul li a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-bottom: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(45deg);
  margin: 0.2rem 0;
  margin-left: 0.7rem;
}
.anchor ul li a:hover::after {
  margin-bottom: 0;
}

.emergency .frame h4::before,
.emergency .frame h4::after {
  background-color: #5ce6ff;
}
.emergency-box {
  margin-top: 5rem;
}
.emergency-box .box {
  text-align: justify;
  margin-top: 2rem;
}
.emergency-box .box h5 {
  font-size: 20px;
  background-color: #a2f1d9;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.3rem;
  display: inline-block;
}
.emergency-box .box ul {
  list-style-type: disc;
  list-style-position: inside;
  text-indent: -1em;
  margin-left: 1em;
}
.emergency-box .box ul li span {
  color: #f23f5e;
}
.emergency-box .box ol {
  list-style-type: decimal;
  list-style-position: inside;
  text-indent: -1.1em;
  margin-left: 1.1em;
}
#emergency01 .img div {
  flex-basis: 48%;
}
#emergency02 .img {
  max-width: 700px;
  width: auto;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .emergency h4 {
    font-size: 23px;
    padding: 0 3rem;
  }
  .emergency h4::before,
  .emergency h4::after {
    width: 35px;
    height: 35px;
  }
  .anchor ul {
    display: block;
  }
  .emergency .frame {
    margin: 0 2rem;
  }
  #emergency02 p,
  #emergency03 p,
  #emergency04 p {
    text-align: justify;
  }
  #emergency01 .img {
    display: block;
  }
  #emergency01 .img div:first-of-type {
    margin-bottom: 1rem;
  }
  .emergency-box .box h5 {
    font-size: 18px;
  }
}
