@charset "utf-8";
/* CSS Document */
main {
  margin-bottom: 0;
}
.top-box h1 {
  margin: 0 15px;
}
.top-update-box {
  background-image: url(../images/new-bg.jpg);
  background-position: left top;
  background-size: contain;
  background-repeat: no-repeat;
  padding-top: calc(52.17% + 3rem);
}
#newsWrap a:link, #newsWrap a:active, #newsWrap a:visited {
  color: #333333;
  text-decoration: underline;
}
#newsWrap a:hover {
  text-decoration: none;
}
.up_ymd {
  padding: .1rem 1.5rem;
  font-size: 1.4rem;
  color: #EA5A82;
  width: 14em;
  background-image: url(../images/calendar-icon.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 12px auto;
}
.top-navi {
  background-color: #EBEBEB;
  padding-top: 3rem;
  padding-bottom: 1.6rem;
}
.top-navi .d-flex {
  flex-wrap: wrap;
  justify-content: center;
}
.top-navi li {
  width: 31.5%;
  margin-right: 2.7%;
  margin-bottom: 1rem;
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  text-align: center;
  color: #FFF;
  padding-bottom: 0.4rem;
}
.top-navi li:nth-of-type(3) {
  margin-right: 0
}
.top-navi li a {
  color: #FFF;
}
.top-navi li a:hover, .top-navi li a:active, .top-navi li a:visited {
  color: #FFF;
  text-decoration: none;
}
.carousel-inner {
  overflow-y: hidden;
}
/*新着情報*/
#newsWrap {
  margin-top: -8px;
}
ul#newsList {
  margin: 0 0 30px 0;
  padding: 0;
  height: 16em;
  overflow-y: auto;
}
ul#newsList li {
    font-size: 1.6rem;
    margin: 0;
    padding: 8px 0 4px;
    margin-bottom: 8px;
    border-top: 1px dashed #C1C1C1;
    list-style-type: none;
}
ul#newsList li .title {
  font-size: 1.4rem;
}
.catName {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 11px;
  line-height: 100%;
  margin: 0 2px;
}
.newMark {
  display: inline-block;
  border: 1px solid #F00;
  padding: 1px 4px;
  font-size: 11px;
  line-height: 100%;
  background: #F00;
  color: #fff;
  box-shadow: 1px 1px 1px #999;
  border-radius: 8px;
  font-style: italic;
}
.comment {
  display: block;
  padding: 3px 0;
  float: left;
  overflow: hidden;
  width: 500px; /* 本文部分の幅。ここは特に設置ページ合わせて変更下さい */
}
.thumbNailWrap {
  display: block;
  width: 110px;
  float: left;
  height: 80px;
  overflow: hidden;
}
.boxer-content {
  height: 650px;
  width: 700px;
}
#up_ymd {
  text-align: right;
  font-size: 1.4rem;
  margin: 5px 10px;
}
.detailUpfile {
  margin: 5px 0 35px;
  text-align: center;
}
.backORcloseBtn {
  text-align: center;
  line-height: 100%;
  margin-top: 15px;
}
.backORcloseBtn a {
  display: inline-block;
  padding: 4px 15px;
  border: 1px solid #aaa;
  color: #999;
  border-radius: 6px;
  text-decoration: none;
}
.detailUpfile img {
  max-width: 100%;
  height: auto;
}
.pNav {
  font-size: 11px;
}
.detailText {
  font-size: 1.6rem;
}
.news-body {
  padding: 3rem 1rem 6rem 1rem;
}
.news-body h2 {
  border-bottom: 2px #1F213B solid;
  text-align: center;
  background-color: #ECECEC;
  font-size: 1.8rem;
  padding: .8rem;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1.5;
  letter-spacing: .1em;
  margin-bottom: 2rem;
}
.news-body .pNav {
  display: none;
}
.dot-list {
  display: inline-block;
  color: #038760;
}
.nav-box {
  border: 3px solid #028760;
  border-radius: 3px;
  padding: 14px 20px 20px;
  color: #028760;
  background-color: #FFF;
}
.nav-box:first-of-type {
  margin-bottom: 20px;
}
.nav-box h2 {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.more {
  width: 63px;
  height: 10px;
}
.more a {
  height: 11px;
  display: block;
}
.child-box {
  margin-bottom: 5rem !important;
  background-image: url("../images/child-bg.jpg");
  background-position: center top;
  background-size: contain;
  padding-top: calc(52.17% + 3rem);
  background-repeat: no-repeat;

}
.trouble-box {
  margin-bottom: 5rem !important;
  background-image: url("../images/trouble-bg.jpg");
  background-position: center top;
  background-size: contain;
  padding-top: calc(52.17% + 2rem);
  background-repeat: no-repeat;
}
.insurance-box {
  margin-bottom: 5rem !important;
  background-image: url("../images/insurance-bg.jpg");
  background-position: center top;
  background-size: contain;
  padding-top: calc(52.17% + 2rem);
  background-repeat: no-repeat;
}
.insurance-inner {
  background-color: rgb(234 90 130 / .7);
}
.insurance-inner h2 {
  background-color: #EA5A82;
  color: #FFF;
  padding: 12px;
  font-size: 1.8rem;
  letter-spacing: .3em;
}
.insurance-contents {
  padding: 0 20px 20px;
  color: #FFF;
}
.insurance-contents ul {
  display: flex;
  justify-content: space-between;
  font-family: 'Kosugi Maru', sans-serif;
}
.insurance-contents ul li {
  background-color: #FFF;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 1.6rem;
  color: #ea5a81;
}
.gallery-box {
  padding-bottom: 40px;
}
.gallery-box ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.gallery-box ul li {
  width: 48%;
  margin-bottom: 10px;
}
/*************
/* ここからPC用
*************/
@media print, screen and (min-width: 992px) {
  .top-box h1 {
    position: absolute;
    top: 298px;
    left: calc(50% - 43vw);
  }
  .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100vh
  }
  .carousel-control-prev, .carousel-control-next {
    top: 120px;
  }
  .top-box h1 img {
    width: 372px;
  }
  .top-update {
    background-image: url(../images/new-bg-pc.jpg);
    background-position: center left;
    background-repeat: no-repeat;
  }
  .top-update-box {
    background: none;
    padding: 30px;
    background-color: rgb(243 243 230 / .8);
    margin: 100px 0 !important;
  }
	  #newsWrap {
  margin-top: 50px;
  }
  ul#newsList {
  height: 17em;
  margin: 0;
}

  ul#newsList li {
  padding: 16px 0 18px 0;
  margin-bottom: -4px;
}
ul#newsList li .title {
  font-size: 1.6rem;
}
ul#newsList li:first-child {
  border-top: 1px solid #CCC;
}
  .up_ymd {
    border-radius:3rem;
    padding: .3rem 1.5rem;
    font-size: 1.6rem;
    margin-right: 3rem;
    width:11em;
  }
  .child {
    background-image: url(../images/child-bg-pc.jpg);
    background-position: center right;
    background-repeat: no-repeat;
    padding: 100px 0;
  }
  .child-box {
    background: none;
    padding: 0;
    margin-bottom: 0 !important;
  }
  .child-box a:hover {
    text-decoration: none;
  }
  .nav-box {
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s;
  }
  .nav-box:hover {
    opacity: 0.6;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s;
  }
  .trouble {
    background-image: url(../images/trouble-bg-pc.jpg);
    background-position: center left;
    background-repeat: no-repeat;
  }
  .trouble-box {
    background: none;
    padding: 30px;
    background-color: rgb(243 243 230 / .8);
    margin: 100px 0 !important;
  }
  .insurance {
    background-image: url("../images/insurance-bg-pc.jpg");
    background-position: center right;
    background-repeat: no-repeat;
    padding: 100px 0;
  }
  .insurance .container {
    max-width: 100% !important;
    margin: 0;
    padding: 0;
  }
  .insurance-box {
    background: none;
    padding: 0;
    margin-bottom: 0 !important;
  }
  .insurance-inner {
    display: flex;
    flex-direction: row-reverse;
  }
  .insurance-inner h2 {
    width: 200px;
    height: 200px;
    margin: 0;
    padding: 0;
    font-size: 2.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .insurance-contents {
    padding: 0;
    color: #FFF;
    width: 590px;
    padding: 30px 50px 0 0;
  }
  .insurance-contents ul li {
    font-size: 1.9rem;
    padding: 3px 30px;
  }

  .gallery {
    margin: 100px auto;
  }
  .gallery .container {
    padding: 0;
    max-width: 100%;
  }
  .gallery-box ul li {
    width: 14.285%;
    margin-bottom: 0px;
  }
  #newsWrap {
    margin-top: 20px;
  }
  ul#newsList {
    height: 17em;
    margin: 0;
  }
  ul#newsList li {
    padding: 16px 0 18px 0;
    margin-bottom: -4px;
  }
  ul#newsList li:first-child {
    border-top: 1px solid #CCC;
  }
  .up_ymd {
    padding: .3rem 1.5rem;
    font-size: 1.6rem;
    margin-right: 1rem;
  }
  .nav-box {
    border: 3px solid #028760;
    border-radius: 3px;
    padding: 30px;
  }
  .nav-box h2 {
    font-size: 2.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: bold;
  }
  .nav-box p {
    font-size: 1.6rem !important;
  }
  .more {
    width: 82px;
    text-align: right;
    margin-left: auto;
  }
  .more a {
    text-align: right;
  }
  .trouble-box .headline2 {
    letter-spacing: 0.055em;
    font-weight: bold;
  }
  .dot-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .dot-list li {
    width: 45%;
    font-weight: bold;
  }
}
@media screen and (min-width:480px) and (max-width:1024px) {
  .pc-text-t {
    font-size: 1.65rem;
  }
}
@media screen and (min-width: 1025px) {
  main {
    padding-top: 0px;
  }
}