@charset "UTF-8";
/*基本の青*/
/*薄いグレー*/
/*薄いグレー*/
/*スマホメニューの色*/
/*スマホメニューの色*/
.mainimg {
  background-color: #08294C;
  margin-bottom: 120px;
}
.mainimg .mainimginner {
  background: url(../images/mainimg.jpg) center center no-repeat;
  background-size: cover;
  height: 400px;
  width: 1024px;
  margin: 0 auto;
  position: relative;
}
.mainimg .imgbox {
  margin: 0 auto;
  padding-top: 80px;
  text-align: left;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.readtext {
  font-seize: 1.8em;
  line-height: 2.4;
}

#contents01 {
  margin-bottom: 120px;
}
#contents01 .itembox {
  width: 31.25%;
  background-color: #08294C;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
#contents01 .itembox .deco {
  position: absolute;
  top: -50px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 40px;
  border: 1px #08294C solid;
  z-index: 2;
  background-color: #fff;
  font-size: 30px;
  color: #08294C;
  padding-top: 20px;
}
#contents01 .itembox p {
  color: #fff;
  font-size: 26px;
}

#contents02 .borderbox {
  border: 1px #08294C solid;
  padding: 60px 120px 40px 120px;
}
#contents02 .borderbox h2 {
  margin-top: -80px;
  margin-bottom: 40px;
}
#contents02 .borderbox h2 span {
  background-color: #fff;
  color: #08294C;
  padding: 10px 40px;
  font-weight: bold;
  font-size: 2.2em;
}
#contents02 .borderbox ul {
  text-align: left;
}
#contents02 .borderbox ul li {
  font-size: 1.6em;
  margin-bottom: 20px;
}
#contents02 .borderbox ul li:before {
  content: "\f14a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #08294C;
  margin-right: 10px;
}

/* -------------------------------sp--------------------------------------------- */
@media screen and (max-width: 1024px) {
  .mainimg .mainimginner {
    width: 100%;
  }
}
@media screen and (max-width: 840px) {
  .mainimg .imgbox {
    width: 90%;
  }

  #contents01 {
    margin-bottom: 60px;
  }
  #contents01 .itembox {
    width: 100%;
    margin-bottom: 70px;
  }
  #contents01 .itembox:last-child {
    margin-bottom: 0px;
  }

  #contents02 .borderbox {
    padding: 10px;
  }
  #contents02 .borderbox h2 {
    margin-top: -20px;
  }
  #contents02 .borderbox h2 span {
    font-size: 1.4em;
  }
  #contents02 .borderbox ul {
    margin-left: 0;
  }
  #contents02 .borderbox ul li {
    font-size: 1.2em;
    margin-bottom: 20px;
    padding-left: 1.5em;
    text-indent: -1.5em;
  }
}