/* 5/31 追加 */
/*** ID : next ***/

/* P1 */
#next .sp_only {
	display:none;
}
#next div.section {
	padding: 50px 0;
}
h1,h2,h3,h4,h5,p,ul,ol {
	margin:0;
	padding:0;
	background:none;
}

/*** component.css ***/
/***************************/
/**Color */
/***************************/
#next .co_red {
  color: #BA1A1A;
}

#next .co_blue {
  color: #036eb8;
}
/***************************/
/**bg */
/***************************/
/********************************************/
/* ttl */
/********************************************/
#next .fs26_ttl {
  margin-bottom: 1.5em;
  line-height: 1.5;
  font-size: 26px;
  
  /* P1 */
  color:#231815;
  background:none;
  padding:0;
  margin-top:0;
  margin-left:0;
  margin-right:0;
  border-radius:0;
}

#next .bg_blue_ttl {
  margin-bottom: 1em;
  padding: 0.5em 1em;
  background: #036eb8;
  color: #fff;
  font-size: 21px;
  /* P1 */
  line-height:28px;
}

#next .blue_ttl {
  position: relative;
  margin-bottom: 0.7em;
  padding-bottom: 0.7em;
  line-height: 1.5;
  color: #036eb8;
  font-size: 18px;
  /* P1 */
  padding-top:0;
  padding-left:0;
  padding-right:0;
  margin-top:0;
  margin-left:0;
  margin-right:0;
  border:none;
  
  
}
#next .blue_ttl:after {
  position: absolute;
  left: 0.15em;
  bottom: 0;
  content: "";
  width: 0.7em;
  height: 1px;
  background: #036eb8;
}

#next .check_ttl {
  position: relative;
  margin-bottom: 1em;
  padding-left: 60px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  color: #036eb8;
  
  /* p1 */
  padding-top:0;
  padding-bottom:0;
  padding-right:0;
  margin-top:0;
  margin-left:0;
  margin-right:0;
  border:none;
  
}
@media (max-width: 768px) {
  #next .check_ttl {
    padding-left: 40px;
  }
}
#next .check_ttl:before {
  position: absolute;
  top: -0.32em;
  left: 15px;
  content: "";
  width: 41px;
  height: 28px;
  background: url("../../../themes/theme847/images_ama/title_images/ico-check.svg") no-repeat center/100%;
}
@media (max-width: 768px) {
  #next .check_ttl:before {
    left: 5px;
    width: 32px;
    height: 23px;
  }
}

/********************************************/
/* btn */
/********************************************/
#next .border_btn a {
  position: relative;
  display: block;
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 0.8em 2em;
  background-color: #fff;
  border: solid 1px #231815;
  border-radius: 50px;
  color: #231815!important;
  line-height: 1.5;
  text-align: center;
  font-size: 1rem;/* P1 :: 1.6rem -> 1rem */
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
#next .border_btn a:after {
  position: absolute;
  top: calc(50% - 9px);
  right: 30px;
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 10px;
  border-top: 1px solid #231815;
  border-right: 1px solid #231815;
  transform: rotate(45deg);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
#next .border_btn a:hover {
  border-color: #036eb8;
  background-color: #036eb8;
  color: #fff!important;
  /* P1 */
  text-decoration:none;
}
#next .border_btn a:hover:after {
  border-color: #fff;
}

#next .bg_btn a {
  position: relative;
  display: block;
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 0.6em 0.8em;
  background-color: #3a663a;
  color: #fff!important;
  line-height: 1.5;
  text-align: center;
  font-size: 1rem;/* P1 :: 1.6rem -> 1rem */
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .bg_btn a {
    padding: 0.6em 1.8em;
  }
}
#next .bg_btn a:after {
  position: absolute;
  top: calc(50% - 7px);
  right: 30px;
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 10px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .bg_btn a:after {
    right: 5px;
  }
}
#next .bg_btn a:hover {
  opacity: 0.7;
  /* P1 */
  text-decoration:none;
}

/********************************************/
/* 追加 */
/********************************************/
#next .object_fit {
  position: relative;
}
#next .object_fit:after {
  content: "";
  display: block;
  padding-top: 100%;
}
#next .object_fit img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;"; /*IE対策*/
}

#next .marker_txt {
  position: relative;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}
#next .marker_txt:before {
  position: relative;
  content: "→";
  margin-right: 0.2em;
}
#next .marker_txt .marker {
  display: inline-block;
  padding: 0.2em;
  background-color: #FFF100;
  font-weight: bold;
  color: #231815;
}





/*** plus.css ***/

/********************************************/
/* re8_top_block */
/********************************************/
#next .re8_top_block .img {
  position: relative;
  margin-bottom: 50px;
}
#next .re8_top_block .img .blue_txt {
  position: absolute;
  left: -50px;
  bottom: 30px;
  padding: 40px 100px;
}
@media (max-width: 768px) {
#next   .re8_top_block .img .blue_txt {
    width: 100%;
    left: -15px;
    bottom: 15px;
    padding: 20px 15px 20px 30px;
  }
}
#next .re8_top_block .img .blue_txt:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: #036eb8;
  mix-blend-mode: multiply;
}
#next .re8_top_block .img .blue_txt p {
  position: relative;
  line-height: 1.75;
  color: #fff;
  font-size: 35px; /* clamp(1.7rem, 2.5vw, 3.47rem) */
  z-index: 3;
  /* P1 */
  margin:0;
  padding:0;
  
  
}
@media (max-width: 768px) {
  #next .re8_top_block .img .blue_txt p {
    line-height: 1.5;
  }
}
#next .re8_top_block .img .blue_txt .en {
  position: absolute;
  right: 0;
  bottom: 0;
  line-height: 1;
  color: #036eb8;
  font-size: 48px;
  font-family: "Century Gothic", sans-serif;
  z-index: 3;
}

#next .re8_philosophy_block .triangle_box {
  position: relative;
  /* P1 */
  margin:0;
}
#next .re8_philosophy_block .triangle_box:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to top right, rgba(255, 255, 255, 0) 50%, #fff 50.1%) no-repeat top left/100% 100%;
  z-index: 1;
}
#next .re8_philosophy_block .triangle_box li {
  padding: 25px 40px;
  /* P1 */
  list-style:none;
  margin-top:0;
}
@media (max-width: 768px) {
  #next .re8_philosophy_block .triangle_box li {
    padding: 25px 15px;
  }
}
#next .re8_philosophy_block .triangle_box li .inner {
  position: relative;
  z-index: 2;
}
#next .re8_philosophy_block .triangle_box .mission_box {
  background: #bbd2ed;
}
#next .re8_philosophy_block .triangle_box .vision_box {
  background: #d3dbef;
}
#next .re8_philosophy_block .triangle_box .value_box {
  background: #e9e3f1;
}
#next .re8_philosophy_block .triangle_box .ttl {
  margin-bottom: 1em;
  color: #036eb8;
  font-size: 21px;
  font-weight: bold;
  text-transform: none;
  /* P1 */
  background:none;
  margin-left:0;
  margin-top:0;
  mergin-right:0;
  padding:0;
}
@media (max-width: 768px) {
  .re8_philosophy_block .triangle_box .ttl {
    font-size: 1.8rem;
  }
}
#next .re8_philosophy_block .triangle_box .ttl::first-letter {
  font-size: 1.42em;
}

#next .txt_list {
  padding-left: 20px;
  /* P1 */
  margin-left:0;
  margin-top:0;
}
#next .txt_list li {
  list-style: disc;
  line-height: 1.5;
}
#next .txt_list li:not(:last-child) {
  margin-bottom: 1em;
}

#next .re8_philosophy_block .value_box .txt_list li {
  padding: 0;
  list-style: disc;
}
#next .re8_philosophy_block .value_box .txt_list li:not(:last-child) {
  margin-bottom: 0.4em;
}
#next .re8_philosophy_block .value_box .txt_list li .list_ttl {
  margin-bottom: 0.2em;
  line-height: 1.5;
  font-size: 1rem;/* P1 :: 1.6rem -> 1rem */
  font-weight: bold;
}
#next .re8_philosophy_block .value_box .txt_list li .list_ttl .en {
  display: inline-block;
  margin-left: 1em;
  font-size: 1em;
}
#next .re8_philosophy_block .value_box .txt_list li .list_ttl .txt_base {
  padding-left: 1em;
}

#next .re8_features_block .img {
  position: relative;
  margin-bottom: 45px;
  padding-bottom: 45px;
}
@media (max-width: 768px) {
  .re8_features_block .img {
    padding-bottom: 20px;
  }
}
#next .re8_features_block .img .blue_txt {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  max-width: 500px;
  color: #fff;
  text-align: center;
  font-size: 30px; /* clamp(1.8rem, 2.5vw, 3rem) */
  font-weight: bold;
}
#next .re8_features_block .img .blue_txt:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: #036eb8;
  mix-blend-mode: multiply;
}
#next .re8_features_block .img .blue_txt span {
  position: relative;
  display: inline-block;
  padding: 1.5em 1em;
  line-height: 1.5;
  z-index: 3;
}
@media (max-width: 768px) {
#next   .re8_features_block .img .blue_txt span {
    padding: 0.8em 1em;
  }
}

#next .re8_features_block > section:first-of-type {
  padding-top: 20px;
}

#next .re8_message_block .child_block {
  display: flex;
  justify-content: space-between;
  /* P1 */
  padding: 50px 0;
}
@media (max-width: 768px) {
#next   .re8_message_block .child_block {
    display: block;
  }
}
#next .re8_message_block .child_block:first-of-type {
  padding-top: 30px;
}
#next .re8_message_block .child_block .left_box {
  width: 35%;/* P1 :: 33 -> 35 */
}
@media (max-width: 768px) {
#next .re8_message_block .child_block .left_box {
    width: 100%;
    margin-bottom: 20px;
  }
}
#next .re8_message_block .child_block .left_box .img {
  margin-bottom: 20px;
}
#next .re8_message_block .child_block .right_box {
  width: 61%;/* P1 :: 63 -> 61 */
}
@media (max-width: 768px) {
#next   .re8_message_block .child_block .right_box {
    width: 100%;
  }
}
#next .re8_message_block .child_block .right_box .txt_list {
  margin-bottom: 10px;
}
@media (max-width: 768px) {
#next   .re8_message_block .child_block .right_box .txt_list {
    margin-top: 10px;
  }
}
#next .re8_message_block .child_block .right_box .txt_list li:not(:last-child) {
  margin-bottom: 0.6em;
}

#next .re8_media_block {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  padding: 6px;
  padding-left: 40px;
  background: #f5f3f2;
}
@media (max-width: 768px) {
#next   .re8_media_block {
    flex-flow: column-reverse;
    padding-left: 6px;
  }
}
#next .re8_media_block .left_box {
  width: 44%;
  padding-top: 15px;
}
@media (max-width: 768px) {
#next   .re8_media_block .left_box {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}
#next .re8_media_block .left_box .ttl {
  width: 96%;
  margin: 0 auto 10px;
}
#next .re8_media_block .left_box .txt_base {
  margin-bottom: 10px;
}
#next .re8_media_block .img_box {
  width: 52%;
}
@media (max-width: 768px) {
#next   .re8_media_block .img_box {
    width: 100%;
  }
}

#next .re8_contact_block .ttl {
  padding: 0.3em 1em;
  background: #036eb8;
  color: #fff;
  text-align: center;
  font-size: 27px;/* P1 :: 2.7rem -> 27px */
  font-weight: bold;
}
#next .re8_contact_block .bottom_box {
  padding: 20px 20px 30px;
  background: #d6e4eb;
  text-align: center;
}
#next .re8_contact_block .txt_base {
  margin-bottom: 10px;
}
#next .re8_contact_block .mail {
  width: 100%;
  max-width: 480px;
  margin: auto;
}


/********************************************/
/* @page internal */
/********************************************/
#next .re8_top_block .txt_list li {
  font-weight: bold;
}
#next .re8_top_block .txt_list li::marker {
  color: #036eb8;
}

#next .re8_top_block .fv_block.ver_height .img {
  margin-bottom: 50px;
}
@media (max-width: 768px) {
#next   .re8_top_block .fv_block.ver_height .img {
    padding-bottom: 60px;
  }
}
#next .re8_top_block .fv_block.ver_height .img .blue_txt {
  max-height: 182px;
  padding: 10px 40px;
}
@media (max-width: 768px) {
#next   .re8_top_block .fv_block.ver_height .img .blue_txt {
    bottom: 0;
    padding: 12px 15px 12px 20px;
  }
}
#next .re8_top_block .fv_block.ver_height .img .blue_txt p {
  line-height: 1.9;
}
#next .re8_top_block .fv_block.ver_height .img .blue_txt .txt {
  display: block;
  font-size: 35px;/* clamp(1.7rem, 2.5vw, 3.47rem)*/
  line-height: 1.4;
}

#next .re8_features_block .img {
  padding-bottom: 0;
}
#next .re8_features_block .feature_box:not(:last-of-type) {
  margin-bottom: 70px;
}
@media (max-width: 768px) {
#next   .re8_features_block .feature_box:not(:last-of-type) {
    margin-bottom: 55px;
  }
}
#next .re8_features_block .feature_box .inner {
  padding: 0 60px;
}
@media (max-width: 768px) {
#next   .re8_features_block .feature_box .inner {
    padding: 0 15px;
  }
}

#next .re8_merit_block .gray_box {
  padding: 35px 40px;
  background-color: #EEECEB;
}
@media (max-width: 768px) {
#next   .re8_merit_block .gray_box {
    padding: 27px 22px;
  }
}
#next .re8_merit_block .gray_box .txt_list {
  padding-left: 0;
}
#next .re8_merit_block .gray_box .txt_list li {
  position: relative;
  padding-left: 1.5em;
  text-indent: -1.5em;
  font-size: 18px;
  list-style: none;
}
#next .re8_merit_block .gray_box .txt_list li:before {
  content: "●";
  margin-right: 0.5em;
  color: #036eb8;
}

#next .re8_merit_block .merit_box:not(:last-of-type) {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
#next   .re8_merit_block .merit_box:not(:last-of-type) {
    margin-bottom: 40px;
  }
}
#next .re8_merit_block .merit_box .square_ttl_box {
  width: 85%;
  max-width: 850px;
  margin: 0 auto 60px;
  text-align: center;
}
@media (max-width: 768px) {
#next   .re8_merit_block .merit_box .square_ttl_box {
    margin: 0 auto 40px;
  }
}
#next .re8_merit_block .merit_box .square_ttl_box .txt {
  position: relative;
  left: 4px;
  margin: 0 auto;
  padding: 0.7em 1em;
  background-color: #036eb8;
  border: 1px solid #036eb8;
  font-size: 29px; /* clamp(1.8rem, 2.5vw, 2.9rem) */
  font-weight: bold;
  line-height: 1.5;
  color: #fff;
}
#next .re8_merit_block .merit_box .square_ttl_box .txt:before {
  position: absolute;
  right: -8px;
  bottom: -8px;
  content: "";
  width: 100%;
  height: 100%;
  border: 1px solid #00A0E9;
  z-index: 2;
}


#next .txt_base p {
  line-height: 1.68;
  font-size: 1em;
}
#next .txt_base p:not(:last-child) {
  margin-bottom: 1em;
}

#next .center {
  margin: auto;
  text-align: center;
  line-height: 180%;
}

#next .mb10 {
  margin-bottom: 10px;
}

#next .mb20 {
  margin-bottom: 20px;
}

#next .mb30 {
  margin-bottom: 30px;
}

#next .mb40 {
  margin-bottom: 40px;
}

#next .mb60 {
  margin-bottom: 60px;
}

#next .tel_link,
#next .tel_link a {
  color: inherit;
  font-size: 1em;
}
#next .co_blue {
  color: #036eb8;
}
#next .f_bold {
  font-weight: bold;
}

.re8_features_block > div:first-of-type {
	padding-top:20px;
}