body {
  background: #fff;
}
h2, h3, h4, p {
  margin: 0;
  color: #162866;
}


/*====================================================================
共通
====================================================================*/
.common_title {
  margin: 0 auto 50px;
  border-bottom: solid 1px #162866;
  max-width: 1000px;
}
.common_title p {
  font-size: 18px;
}
.common_title h3 {
  font-size: 36px;
  margin: 5px 0 25px;
  font-family: serif;
}


.common_subtitle_center {
  text-align: center;
  position: relative;
}
.common_subtitle_center p {
  margin-bottom: 10px;
  position: relative;
  z-index: 3;
}
.common_subtitle_center h3 {
  margin-bottom: 30px;
  font-size: 36px;
  font-family: serif;
  position: relative;
  z-index: 3;
}
.common_subtitle_center .bottom_border {
  width: 70px;
  height: 4px;
  display: block;
  margin: 0 auto;
  margin-bottom: 100px;
  position: relative;
  z-index: 3;
}
.common_subtitle_center .backimg {
  position: absolute;
  z-index: 2;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/*====================================================================
title
====================================================================*/
#title {
  margin-top: 100px;
  display: block;
  position: relative;
  height: 100vh;
}
.title_img {
  position: absolute;
  width: calc(100% - 100px);
  height: calc(80vh - 80px);
  background-image: url(../images/service/title_back.jpg);
  background-size: cover;
  background-position: 0px 10%;
  top: 0;
  right: 0;
}
.title_txt {
  position: absolute;
  width: 640px;
  height: 325px;
  background: #BFA02D;
  padding: 50px;
  top: calc(80vh - 150px);
  left: 0;
}
.title_txt p {
  color: #fff;
}
.title_txt h2 {
  font-size: 36px;
  margin: 15px 0 20px;
  font-family: serif;
  color: #fff;
}



/*====================================================================
about1
====================================================================*/
#about1 {
  padding: 150px 0 180px;
  position: relative;
}
#about1_2 {
  padding: 100px 0 380px;
  background: #F2F4F9;
  position: relative;
}
.about1_flex {
  margin: 0 auto;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about1_txt {
  display: block;
  width: 54%;
}
.about1_txt h3 {
  font-size: 28px;
  font-family: serif;
  margin-bottom: 20px;
}
.about1_img {
  display: block;
  width: calc(46% - 50px);
}
.about1_img img {
  width: 100%;
}

.about1_back {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  z-index: 1;
}
#about1_2 .about1_back {
  bottom: 80px;
}
.about1_back img {
  width: 100%;
}

.moveimg .scroll-infinity__item {
  width: 300px;
}
#about1 .scroll-infinity__item img {
  padding-right: 50px;
}


/*====================================================================
about2
====================================================================*/
#about2 {
  padding: 100px 0;
  background: #162866;
}
#about2 h4 {
  font-size: 28px;
  font-family: serif;
  margin: 0 auto 50px;
  padding-bottom: 5px;
  text-align: center;
  color: #fff;
  border-bottom: solid 2px #E11C1E;
  display: block;
  width: 400px;
}
.about2_flex {
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  max-width: 1000px;
  background: #fff;
  position: relative;
}
.about2_flex:after{
  content: "";
  position: absolute;
  right: 0;
  bottom: -30px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  border-width: 40px 60px 0 60px;
}
.about2_block {
  display: block;
  width: 200px;
  margin: 50px 0;
}
.about2_block img {
  max-width: 150px;
  max-height: 100px;
  margin: 0 auto;
}
.about2_block p {
  text-align: center;
  margin-top: 14px;
  font-weight: bold;
}
#about2 h3 {
  font-size: 40px;
  font-family: serif;
  margin: 50px auto 0px;
  text-align: center;
  color: #fff;
}


/*====================================================================
service
====================================================================*/
#service {
  padding: 100px 0;
}
.service_flex {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1000px;
  flex-wrap: wrap;
}
.service_block {
  display: block;
  width: calc(100% / 3 - 40px);
  margin-bottom: 40px;
}
.service_block img {
  width: 100%;
}
.service_block .service_title {
  margin: 20px 0 10px;
  font-weight: bold;
  font-family: serif;
  font-size: 24px;
}
.service_txt {
  height: 110px;
}
.service_btn {
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 30px;
  display: block;
  text-align: center;
  width: 100%;
  color: #fff;
  background: #162866;
  font-size: 18px;
  padding: 15px 0;
  position: relative;
}
.service_btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 9px solid transparent;
  border-right: 0 solid transparent;
  border-left: 12px solid #fff;
  border-bottom: 9px solid transparent;
  box-sizing: border-box;
}


/* モーダル表示部分 */
.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9500;
}
.modal__bg {
  background: rgba(0,0,0,0.7);
  height: 100vh;
  position: absolute;
  width: 100%;
}
.modal__content {
  left: 50%;
  position: absolute;
  top: 0px;
  transform: translate(-50%,0%);
  width: 85%;
}
.option_modal_back {
  max-width: 770px;
  padding: 30px;
  margin-top: 100px;
  position: relative;
  background: #fff;
}
.whitebtn_back_close {
  margin: 0 auto;
  position: absolute;
  top: -15px;
  right: -15px;
}
.js-modal-close-btn {
  background: #162866;
  color: #fff!important;
  padding: 5px;
  font-size: 36px;
  font-weight: 500;
  margin: 0;
  display: flex;
  border-radius: 90%;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  text-align: center;
  position: relative;
}
.modal_subtitle {
  margin-bottom: 20px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  font-family: serif;
}
.modal__content img {
  width: 300px;
  margin: 0 auto 20px;
}
.modal_txt {
  overflow-y: scroll;
  max-height: 300px;
}


/*====================================================================
price
====================================================================*/
#price {
  padding: 100px 0;
  background: #F2F4F9;
}
.price_p {
  max-width: 1000px;
  margin: 0 auto 15px;
  font-weight: bold;
  font-size: 26px;
}
.price_p span {
  color: #E11C1E;
}
.price_p_hosoku {
  max-width: 1000px;
  margin: 0 auto 30px;
  font-size: 16px;
}
.price_rank_block {
  max-width: 1000px;
  margin: 70px auto 0;
  background: #fff;
  padding: 50px;
}
.price_rank_block h3 {
  border-bottom: solid #162866 1px;
  padding-bottom: 10px;
  margin-bottom: 30px;
  font-size: 20px;
  font-family: serif;
}
.rank_flex {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}
.rank_flex img {
  width: 380px;
}

.price_flex {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto 30px;
}
.price_block {
  display: block;
  width: calc(50% - 20px);

}
.price_block_head {
  background: #162866;
  color: #fff;
  padding: 15px 0;
  text-align: center;
  font-size: 20px;
}
.price_block_txt {
  padding: 40px 0;
  background: #fff;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.price_block_txt p {
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
.price_block_txt_left p {
  display: block;
  line-height: 1.8;
}
.price_block_txt p span {
  font-size: 16px;
  font-weight: normal;
}
.price_block_txt p .small {
  font-size: 14px;
}
.price_block_txt p .red {
  color: #E11C1E;
  font-size: 36px;
  font-weight: bold;
  margin-right: 5px;
  margin-left: 10px;
}


/*====================================================================
step
====================================================================*/
#step {
  padding: 100px 0 20px;
  background: #F8FAFF;
}
.step_flex_subtitle {
  display: flex;
  margin: 0 auto;
  background: #fff;
  padding: 0 20px 10px;
  max-width: unset;
}
.backcolor {
  background: #F2F4F9;
}
.step_no_top,
.step_no {
  color: #fff;
  background: #162866;
  display: block;
  text-align: center;
  font-family: serif;
  position: relative;
  border-bottom: solid 1px #162866;
  width: 50px;
  height: 50px;
  padding: 5px;
  font-size: 14px;
  line-height: 1.2;
}
.step_no::before {
  position: absolute;
  content: "";
  display: block;
  background: #162866;
  width: 3px;
  height: 80px;
  top: -80px;
  left: 50%;
  transform: translate(-50%, 0%);
}
.step_no_top span,
.step_no span {
  display: block;
  font-size: 24px;
}
.step_title {
  display: flex;
  border-bottom: solid #162866 1px;
  align-items: center;
  font-family: serif;
  font-weight: bold;
  height: 50px;
  width: calc(100% - 50px);
  padding-left: 8px;
  font-size: 20px;
}
.step_flex_action {
  display: flex;
  justify-content: center;
  margin: 0 auto 80px;
  background: #fff;
  flex-wrap: nowrap;
  max-width: unset;
  padding: 0;
  margin-bottom: 0;
}
.action_block {
  display: block;
  width: 160px;
  height: 475px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
.action_block img {
  width: 100%;
}
.img_qr_block {
  margin: 0 auto;
}
.img_qr {
  margin: 0 auto;
  width: 170px!important;
}
.img_qr2 {
  margin: 0 auto;
  padding-bottom: 5px;
  width: 140px!important;
  padding-top: 5px;
}
.action_block p {
  font-size: 14px;
  margin-bottom: 10px;
  height: 130px;
}
.arrow_block {
  display: flex;
  width: 60px;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.hosoku {
  margin: 0 auto 30px;
  max-width: 1000px;
}
.step_area {
  margin-right: 30px;
}
.step_sp_scroll {
  overflow-x: scroll;
  margin: 0 auto;
  width: 1000px;
  padding: 20px 30px;
  margin-bottom: 50px;
  background: #fff;
}
.step_flex_action_all {
  width: 1750px;
}


/*====================================================================
family
====================================================================*/
#family {
  padding: 0 0;
}
.family_titleback {
  height: 350px;
  width: 100%;
  position: relative;
  background-image: url(../images/service/family_title.jpg);
  background-size: cover;
  background-position: 0px 37%;
  top: 0;
  left: 0;
}
.family_titleback .family_titleback_blue {
  position: absolute;
  width: 100%;
  height: 350px;
  left: 0;
  top: 0;
  background: rgba(22, 40, 102, 0.8);
  z-index: 1;
}
.family_titleback .family_titleback_txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 750px;
}
.family_titleback .common_subtitle_center p,
.family_titleback .common_subtitle_center h3 {
  color: #fff;
}
.family_titleback .bottom_border {
  margin-bottom: 0;
}

.family_txt {
  max-width: 1000px;
  margin: 100px auto 100px;
}
.family_txt .family_title {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  font-family: serif;
  font-weight: bold;
}
.family_img {
  position: relative;
  z-index: 1;
  display: block;
}
.family_img_area {
  max-width: 1000px;
  height: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.family_img1 {
  width: 700px;
  height: 400px;
  position: absolute;
  background-image: url(../images/service/family_img.jpg);
  background-size: cover;
  background-position: 0% 75%;
  top: 0;
  left: 140px;
  z-index: 2;
}
.family_img2 {
  width: 230px;
  height: 180px;
  position: absolute;
  background-image: url(../images/service/family_img2.png);
  background-size: cover;
  background-position: 55% 0%;
  bottom: -100px;
  left: 0;
  z-index: 3;
}
#family .scroll-infinity__item img {
  padding-right: 50px;
}



/*====================================================================
faq
====================================================================*/
#faq {
  padding: 100px 0;
  background: #F2F4F9;
}
.accordion_faq {
  max-width: 1000px;
  margin: 0 auto 20px;
  background: #fff;
}
.accordion_faq summary {
  list-style: none;
  padding: 20px 2em 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  color: #000000;
  font-weight: bold;
  cursor: pointer;
}
.accordion_faq summary::before, .accordion_faq summary::after {
  width: 3px;
  height: 16px;
  border-radius: 5px;
  background-color: #162866;
  content: '';
}
.accordion_faq summary::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}
.accordion_faq summary::after {
  transition: rotate .3s;
}
.accordion_faq[open] summary::after {
  rotate: 90deg;
}
.accordion_faq summary p {
}
.faq_block {
  padding: 20px;
  padding-top: 0;
  font-weight: bold;
}
.q {
  padding-right: 10px;
  font-size: 20px;
}
.a {
  padding-right: 10px;
  font-size: 20px;
  color: #E11C1E;
}


/*====================================================================
contact
====================================================================*/
#contact {
  padding: 100px 0;
  background: #F8FAFF;
}
.contact_flex {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 80px;
}
.contact_left {
  display: block;
  width: 450px;
  height: 280px;
  position: relative;
  background-image: url(../images/service/contact_left.jpg);
  background-size: cover;
  background-position: 0px 37%;
  top: 0;
  left: 0;
}
.contact_left .backcolor {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(138, 109, 37, 0.8);
  z-index: 1;
}
.contact_main {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 40px 30px;
  color: #fff;
}
.contact_left h3,
.contact_right h3 {
  font-size: 28px;
  text-align: center;
  color: #fff;
  font-family: serif;
  margin-bottom: 20px;
}
.contact_left .tel {
  text-align: center;
  color: #fff;
  font-family: serif;
  font-size: 46px;
  font-weight: bold;
  line-height: 1.5;
}
.contact_left .tel i {
  font-size: 40px;
  margin-right: 5px;
}
.contact_left .tel span {
  display: block;
  font-weight: normal;
  font-family: auto;
  font-size: 16px;
}

.contact_right {
  display: block;
  width: 450px;
  height: 280px;
  position: relative;
  background-image: url(../images/service/contact_right.jpg);
  background-size: cover;
  background-position: 0px 37%;
  top: 0;
  left: 0;
}
.contact_right .backcolor {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(22, 40, 102, 0.8);
  z-index: 1;
}
.line_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.line_flex .line_txt {
  width: 220px;
  font-size: 14px;
  line-height: 1.8;
}
.line_flex .line_txt img {
  width: 100%;
  margin-top: 15px;
}
.line_img2 {
  width: 130px;
}




/* /////////////////////// */
/* サイズの小さいPC */
/* /////////////////////// */
@media screen and (max-width:1050px){
  .common_title {
    max-width: 770px;
  }
  #title {
    height: calc(450px + 290px);
  }
  .title_txt {
    height: 290px;
    padding: 30px;
    top: 400px;
  }
  .title_img {
    height: 450px;
  }
  .about1_flex {
    max-width: 770px;
  }
  .about2_flex {
    max-width: 770px;
  }
  .about2_block {
    width: 170px;
  }
  .service_flex {
    max-width: 770px;
  }
  .service_block {
    width: calc(100% / 3 - 20px);
  }
  .service_block .service_title {
    font-size: 20px;
  }
  .service_txt {
    height: 140px;
  }
  .price_flex {
    max-width: 770px;
  }
  .price_p_hosoku {
    max-width: 770px;
  }
  .price_block_txt p {
    font-size: 20px;
  }
  .price_block_txt p .red {
    font-size: 32px;
  }
  .rank_flex img {
    width: 300px;
  }
  .step_sp_scroll {
    max-width: 750px;
  }
  .family_txt {
    max-width: 770px;
  }
  .family_img_area {
    max-width: 770px;
  }
  .family_img1 {
    width: 620px;
    height: 350px;
  }
  .family_img2 {
    bottom: -40px;
  }
  .accordion_faq {
    max-width: 770px;
  }

  .contact_flex {
    max-width: 770px;
  }
  .contact_left,
  .contact_right {
    width: 370px;
    height: 230px;
  }
  .contact_main {
    padding: 20px;
  }
  .contact_left h3, .contact_right h3 {
    font-size: 26px;
  }
  .contact_left .tel {
    font-size: 40px;
  }
  .contact_left .tel i {
    font-size: 32px;
  }
  .line_flex .line_txt img {
    width: 170px;
    margin-top: 10px;
  }
  .line_img2 {
    width: 100px;
  }
}

@media screen and (max-width:1000px){
  #title {
    margin-top: 90px;
  }
}


/* 高さが小さいPC対応 */
@media screen and (min-width:768px) and (max-height:850px){
  .modal_txt {
    max-height: 200px;
  }
  #title {
    height: calc(850px + 325px);
  }
  .title_img {
    height: 850px;
  }
  .title_txt {
    /*top: 850px;*/
    top: 800px;
  }
}


/* /////////////////////// */
/* レスポンシブ対応 */
/* /////////////////////// */
@media screen and (max-width:768px){
  .common_subtitle_center h3 {
    font-size: 26px;
  }

  .common_title {
    margin: 0 auto 30px;
  }
  .common_title p {
    font-size: 18px;
  }
  .common_title h3 {
    font-size: 26px;
    margin: 5px 0 10px;
  }
  .common_subtitle_center .backimg {
    height: 55px;
  }
  .common_subtitle_center .bottom_border {
    margin-bottom: 70px;
  }
  
  #title {
    margin-top: 70px;
    height: 850px;
  }
  .title_img {
    height: 450px;
    width: calc(100% - 40px);
    right: 20px;
    background-position: 55% 0;
    background-image: url(../images/service/title_back_sp.jpg);
  }
  .title_txt {
    width: calc(100% - 40px);
    height: unset;
    padding: 20px;
  }
  .title_txt h2 {
    font-size: 24px;
  }
  .title_txt .sub {
    font-size: 14px;
  }
  #about1 {
    padding: 70px 0 80px;
  }
  #about1_2 {
    padding: 70px 0 200px;
  }
  #about1_2 .about1_back {
    bottom: 30px;
  }
  .about1_flex {
    width: calc(100% - 40px);
    flex-wrap: wrap;
  }
  .about1_txt {
    width: 100%;
  }
  .about1_txt h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .about1_img {
    width: 100%;
    margin-top: 15px;
  }
  .moveimg .scroll-infinity__item {
    width: 200px;
  }
  #about1 .scroll-infinity__item img {
    padding-right: 30px;
  }


  #about2 {
    padding: 70px 20px;
  }
  #about2 h4 {
    font-size: 22px;
    width: 100%;
  }
  .about2_flex {
    width: 100%;
    flex-wrap: wrap;
  }
  .about2_block {
    width: calc(50% - 10px);
    margin: 20px 0;
  }
  .about2_block p {
    font-size: 16px;
  }
  #about2 h3 {
    font-size: 28px;
  }

  #service {
    padding: 70px 20px 30px;
  }
  .service_block {
    width: 100%;
  }
  .service_block .service_title {
    font-size: 24px;
  }
  .service_txt {
    height: unset;
  }
  /* モーダル */
  .option_modal_back {
    margin-top: 50px;
    padding: 20px;
  }
  .modal__content img {
    width: 100%;
  }
  .modal_subtitle {
    margin-top: 20px;
    font-size: 22px;
  }
  .modal_txt {
    max-height: 180px;
  }
  .js-modal-close-btn {
    width: 36px;
    height: 36px;
  }

  #price {
    padding: 70px 20px;
  }
  .price_flex {
    flex-wrap: wrap;
  }
  .price_block {
    width: 100%;
    margin-bottom: 30px;
  }
  .price_block_txt {
    padding: 20px 0;
    height: unset;
  }
  .price_block_txt p {
    display: block;
  }
  .price_block_txt p .red {
    font-size: 28px;
  }

  #step {
    padding: 70px 20px 20px;
  }
  .step_no_top, .step_no {
    width: 50px;
    height: 50px;
    padding: 5px;
    font-size: 14px;
    line-height: 1.2;
  }
  .step_sp_scroll {
    overflow-x: scroll;
    margin-bottom: 50px;
    width: 100%;
  }
  .step_flex_action {
    flex-wrap: nowrap;
    max-width: unset;
    padding: 0;
    margin-bottom: 0;
  }
  .step_no::before {
    height: 50px;
    top: -50px;
  }
  .step_flex_subtitle {
    padding-bottom: 10px;
    max-width: unset;
  }
  .step_no::before {
    height: 50px;
    top: -50px;
  }
  .step_flex_subtitle {
    padding-bottom: 10px;
  }
  .step_sp_scroll .hosoku {
    font-size: 14px;
    padding-bottom: 15px;
    background: #fff;
  }

  .family_titleback {
    height: 300px;
  }
  .family_titleback .family_titleback_blue {
    height: 300px;
  }
  .family_titleback .family_titleback_txt {
    left: 0;
    transform: translate(0%, -50%);
    width: 100%;
  }
  .family_titleback .bottom_border {
    margin-bottom: 0;
  }
  .family_txt {
    padding: 0px 20px;
    margin: 50px 0;
  }
  .family_txt .family_title {
    font-size: 28px;
  }
  .family_img_area {
    padding: 0px 20px;
    height: 230px;
  }
  .family_img1 {
    width: calc(100% - 40px);
    height: 200px;
    left: 40px;
  }
  .family_img2 {
    width: 160px;
    height: 135px;
    left: 20px;
    bottom: 0px;
  }
  #family .scroll-infinity__item img {
    padding-right: 30px;
  }

  #faq {
    padding: 70px 20px;
  }
  .accordion_faq summary {
    padding: 20px 1.5em 20px 20px;
  }
  .accordion_faq summary::before {
    right: 1.5em;
  }
  .q {
    font-size: 18px;
  }
  .a {
    font-size: 18px;
  }
  .accordion_faq summary p {
    padding-right: 5px;
  }

  #contact {
    padding: 70px 20px;
  }
  .contact_flex {
    flex-wrap: wrap;
  }
  .contact_left,
  .contact_right {
    width: 100%;
  }
  .contact_left {
    margin-bottom: 30px;
    height: 190px;
  }
  .contact_right {
    height: 400px;
  }
  .contact_left h3, .contact_right h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .contact_left .tel {
    font-size: 32px;
  }
  .contact_left .tel i {
    font-size: 28px;
  }
  .contact_left .tel span {
    margin-top: 5px;
  }
  .line_flex {
    display: block;
  }
  .line_flex .line_txt {
    text-align: center;
    margin: 0 auto;
    padding-top: 10px;
  }
  .line_img2 {
    width: 150px;
    margin: 20px auto;
  }
  .line_img1 {
    margin: 0 auto;
    width: 170px;
  }
}