@charset "UTF-8";

/*トップバナー　　-------------------------------------*/

.webimg {
  padding-top: 3.2rem;
  padding-bottom: 3rem;
  max-width: 100%;
  justify-content: center;
  background-image: url(../img/web.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.webimg h1 {
  font-style: italic;
  font-size: 40px;
  text-align: center;
  padding-bottom: 1.6rem;
}

.webimg p {
  font-size: 18px;
  font-weight: normal;
  text-align: center;
  min-width: 200px;
}

/*パンクズリスト　-------------------------------------*/
.breadcrumb {
  display: flex;
  gap: 0 20px;
  list-style: none;
  padding: 6px 0 6px 18px;
  border-radius: 3px;
  overflow: hidden;
  background-color: #f2f2f2;
  font-size: .9em;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 20px;
}

.breadcrumb li:not(:last-child)::before,
.breadcrumb li:not(:last-child)::after {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  content: '';
}

.breadcrumb li:not(:last-child)::before {
  right: 0;
  border-left: 10px solid #c6cdd3;
}

.breadcrumb li:not(:last-child)::after {
  right: 1px;
  border-left: 10px solid #f2f2f2;
}

.breadcrumb a {
  color: #0a679c;
  text-decoration: none;
}

/*コンテンツ箇所          -------------------------------------*/

.web {
  max-width: 1200px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 18px;
  display: block;
  background-color: #fff;
  border: 1px solid #ccc;
}

.midashi h2 {
  position: relative;
  background: rgb(17, 130, 164);
  background: linear-gradient(180deg, rgba(17, 130, 164, 1) 0%, rgba(47, 167, 180, 1) 100%);
  height: 5rem;
  padding-top: 18px;
  padding-left: 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 1px 2px 3px #6b6b6b;
}


.midashi h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 20px 0 20px;
  border-color: #2FA7B4 transparent transparent transparent;
  left: 16%;
  transform: translateX(-50%) translateY(100%);
}

.midashi h3 {
  color: #0a679c;
  padding: 3px;
  border-bottom: dashed 3px #c6d2d4;
}

.fag-midashi {
  color: #0a679c;
  padding: 3px;
  border-bottom: dashed 3px #c6d2d4;
}

.web-layout {
  display: flex;
}

.web-text {
  margin: 40px;
}

.web-text2 {
  margin: 40px;
  order: 2;
}

.web-text2 p,
.web-text p {
  margin-top: 20px;
  margin-bottom: 50px;
}

.web-img {
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 30px;
}

.web-img2 {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  margin: auto;
  display: block;
}


.web-img-left {
  order: 1;
  margin-top:16px ;
  padding: 18px;
}

.text-center { /*テキスト中央揃え　　-------*/
text-align: center;
}

/*モバイル1         ----------------------------------------------------------------*/
@media screen and (max-width: 880px) {

  .webimg h1 {
    /*ヘッダーボディコピー　　-------------------------------------*/
    font-style: italic;
    font-size: 30px;
    text-align: center;
    padding-bottom: 1.6rem;
  }

  webimg p {
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    min-width: 200px;
  }

  .web-layout {
    display: flex;
    flex-flow: column;
  }
  .midashi h2 {
    position: relative;
    background: rgb(17, 130, 164);
    background: linear-gradient(180deg, rgba(17, 130, 164, 1) 0%, rgba(47, 167, 180, 1) 100%);
    height: 4.6rem;
    padding-top: 18px;
    padding-left: 18px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    text-shadow: 1px 2px 3px #6b6b6b;
  }
  
  
  .web-img {
    padding-right: 0px;
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 10px;
  }

  .web-img2 {
    width: 100%;
    margin: auto;
    display: block;
  }

  .web-text2 {
    margin: 20px;
    order: 1;
  }

  .web-text2 p,
  .web-text p {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
  }

  .web-img-left {
    order: 2;
    width: 400px;
    padding-bottom: 16px;
    margin: auto;
  }

  .web-text3 {
    text-align: center;
    padding-bottom: 16px;
  }

  .display_none {
    display: none;
  }
}

/*モバイル2         ----------------------------------------------------------------*/
@media screen and (max-width: 400px) {

  .midashi h2 {

    position: relative;
    background: rgb(17, 130, 164);
    background: linear-gradient(180deg, rgba(17, 130, 164, 1) 0%, rgba(47, 167, 180, 1) 100%);
    height: 5rem;
    padding-top: 22px;
    padding-left: 18px;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    color: #fff;
    text-shadow: 1px 2px 3px #6b6b6b;
  }

  .img2 {
    width: 90%;
    margin-top: 0%;
    margin-bottom: 10px;
    display: block;
  }

  .web-img {
    margin: auto;
    padding-bottom: 4px;
  }

  .midashi h3 {
    color: #0a679c;
    padding: 3px;
    border-bottom: dashed 3px #c6d2d4;
    font-size: 18px;
  }

  .web-text {
    margin: 20px;
  }

  .web-text2 {
    margin: 20px;
    order: 1;
  }

  .web-text2 p,
  .web-text p {
    margin-top: 20px;
    margin-bottom: 10px;
  }

}