* {
  box-sizing: border-box;
}
.modal-header .close.custom {
  padding: 0.5rem 0.5rem;
}
.modal-header .close.custom span {
  display: inline-block;
  border: 1px solid #ccc;
  padding: 4px 8px;
}
.rec-link.reponsive-mobile {
  background: #eee;
}

.rec-link-item {
  padding: 24px 68px 72px 48px;
  text-align: center;
}

.rec-link-item:last-child {
  padding-bottom: 24px;
}

.rec-link-item:last-child a::before {
  background: none;
}

.rec-link-item a {
  font-family: Toyota Type;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
  color: #eb0a1e;
  border-bottom: 1px solid #eb0a1e;
  position: relative;
}

.rec-link-item a::before {
  content: "";
  width: 212px;
  height: 1px;
  background: #d1d1d1;
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
}

.rec-link-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
}

.rec-link-item h4 {
  font-family: Toyota Type;
  font-size: 21px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 24px;
}

.rec-contact-footer-item:first-child .rec-contact-footer-readmore a,
.rec-contact-footer-item:last-child .rec-contact-footer-readmore a {
  display: inline-flex;
  justify-content: center;
  height: 35px;
  width: 137px;
  background: #fff;
  align-items: center;
  border-radius: 17.5px;
  font-family: Toyota Type;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
}

.rec-contact-footer-item:last-child .rec-contact-footer-readmore a {
  background: #eb0a1e;
  color: #fff;
}

.rec-contact-footer-item:first-child .rec-contact-footer-readmore a:hover {
  color: #000;
}

.rec-contact-footer {
  display: flex;
  text-align: center;
  flex-direction: row;
}

.rec-contact-footer-item:first-child {
  background: #eb0a1e;
}

.rec-contact-footer-item:last-child .rec-contact-footer-title {
  font-family: Toyota Type;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 36px;
}

.rec-contact-footer-item:last-child .rec-contact-footer-content {
  font-family: Toyota Type;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 36px;
}

.rec-contact-footer-item {
    width: 50%;
}

.page-content-consulting {
    padding: 73px 0 63px 0;
    background-color: #F5F5F5;
}

.page-content-consulting-title {
    font-size: 25px;
    line-height: 201.5%;
    text-align: center;
    color: #000000;
    font-weight: 600;
}

.page-content-consulting-title a {
    color: #000000;
}

.page-content-consulting-descriiption {
    font-size: 16px;
    line-height: 201.5%;
    text-align: center;
    color: #000000;
    margin: 0;
}

.page-content-consulting-contact>img {
    width: 24px;
}

.page-content-consulting-contact>a {
    text-decoration: none;
    color: var(--primary-color);
    margin-left: 10px;
}


.rec-contact-footer-item:first-child .rec-contact-footer-title {
  font-family: Toyota Type;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 0em;
  text-align: center;
  color: #fff;
  margin-bottom: 36px;
}

.rec-contact-footer-item {
  padding: 144px 60px;
}

.unknown-text {
  padding: 80px 118px;
  text-align: center;
}

.rec-mess-content {
  flex: 1;
}

.rec-mess-image {
  height: 411px;
  width: 411px;
  /* background: #000; */
  border-radius: 50%;
  overflow: hidden;
  /* margin-left: 200px; */
  margin-bottom: 0;
}

.rec-mess-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

li.rec-message-item {
  /* height: 537px; */
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px 80px 20px 150px;
  column-gap: 133px;
}

li.rec-message-item:nth-child(odd) {
  background: #000;
}

li.rec-message-item:nth-child(odd) {
  color: #fff;
}

li.rec-message-item:nth-child(even) {
  background: #eee;
  color: #000;
}

li.rec-message-item:nth-child(even) .rec-mess-image {
  order: 2;
}

li.rec-message-item:nth-child(even) .rec-mess-content {
  order: 1;
}

ul.rec-mess-list {
  padding-left: 0;
  margin-bottom: 0;
}

.rec-list-active-readmore {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  bottom: 0;
}

.rec-list-active-readmore a {
  font-family: Toyota Type;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: 0em;
  text-align: left;
  text-transform: uppercase;
  position: relative;
  color: #000;
  justify-content: center;
  align-items: center;
  display: inline-block;
}

.rec-list-active-readmore a:hover {
  color: #000;
}

.rec-list-active-readmore a::before {
  position: absolute;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  right: -12px;
}

.rec-list-active-name p {
  font-family: Toyota Type;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 29px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 60px;
}
.rec-list-active-name h2 {
  font-family: Toyota Type;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 29px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 60px;
}
.rec-list-active-image {
  margin-bottom: 16px;
}

.rec-list-active-item {
  text-align: center;
  position: relative;
  width: calc(100% / 3);
  margin-bottom: 68px;
}

.rec-list-active {
  padding: 81px 80px 18px 80px;
  background: #f5f5f5;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  /* row-gap: 74px; */
}

.rec-why {
  /* margin-bottom: 80px; */
}

.rec-why-mask {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 120px;
}

.rec-why-mask p {
  font-family: Toyota Type;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 0em;
  text-align: center;
  color: #fff;
}

.rec-why-content {
  width: 100%;
  height: 532px;
  position: relative;
}

.rec-why-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rec-introduce {
  padding: 60px 118px 80px 118px;
}

.rec-introduce-number {
  font-family: Toyota Type;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 90px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 28px;
}

.rec-introduce-item {
  flex: 1;
  text-align: center;
  padding: 0 53px;
}

.rec-introduce-statistical {
  display: flex;
  justify-content: space-between;
  /* column-count: 3; */
  flex-wrap: wrap;
  flex-direction: row;
}

.page-content {
  width: 1440px;
}
p,
h1,
h2,
h3,
h4 {
  margin-bottom: 0;
}

.rec-mess-header {
  font-family: Toyota Type;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0em;
  text-align: center;
  /* color: #fff; */
  margin-bottom: 18px;
}

p {
}

.rec-contact-footer-item:first-child .rec-contact-footer-content {
  font-family: Toyota Type;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: center;
  color: #fff;
  margin-bottom: 36px;
}

.rec-mess-text-name {
  font-family: Toyota Type;
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: center;
  color: gray;
}

.rec-mess-text-personnel {
  font-family: Toyota Type;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0em;
  text-align: center;
  padding: 0;
  margin-bottom: 30px;
}

.rec-mess-text {
  font-family: Toyota Type;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: justify;
  padding: 0;
  margin-bottom: 20px;
}

.rec-why-title {
  font-family: Toyota Type;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 36px;
}

.rec-introduce-text {
  font-family: Toyota Type;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 64px;
}
.modal-backdrop.fade.show{
  z-index: 10000;
}
.modal.fade.show{
  z-index: 10001;
}
@media (max-width: 1160px) {
  .community-banner {
    margin-top: -10px;
  }
}
@media (max-width: 576px) {

    .rec-contact-footer-item{
        width: 100%;
    }
  .rec-introduce {
    padding: 60px 0px 39px 0px;
  }
  .rec-introduce-text {
    margin: 0 16px 60px 16px;
  }
  .rec-introduce-item {
    padding: 0 98px 24px 98px;
  }
  .rec-why-title {
    font-family: Toyota Type;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    margin: 0 16px 36px 16px;
  }
  .rec-why-content {
    height: 199px;
  }
  .rec-why-mask {
    padding: 23px 16px;
  }
  .rec-why-mask p {
    font-family: Toyota Type;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0em;
    text-align: center;
  }
  .rec-list-active {
    padding: 60px 16px 86px 16px;
    /* row-gap: 64px; */
  }
  .rec-list-active {
    padding: 60px 16px 0px 16px;
    /* row-gap: 64px; */
    /* column-gap: 8%; */
  }
  .rec-list-active-item {
    position: relative;
    width: 46%;
    margin-bottom: 68px;
  }
  #overview .rec-list-active .rec-list-active-item:nth-child(odd) {
    margin-right: 18px;
  }
  #overview .rec-list-active .rec-list-active-item:last-child {
    margin-right: 0;
  }
  .rec-list-active-name p {
    font-family: Toyota Type;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: center;
    margin-bottom: 46px;
  }
  .rec-list-active-name h2 {
    font-family: Toyota Type;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: center;
    margin-bottom: 46px;
  }
  .rec-list-active-item:last-child {
    width: 100%;
  }
  .rec-list-active-readmore {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    bottom: 0;
  }
  li.rec-message-item {
    padding: 22px 0;
    height: auto;
    flex-direction: column;
  }
  li.rec-message-item:nth-child(even) .rec-mess-image {
    order: 1;
  }
  .rec-mess-header {
    font-family: Toyota Type;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0em;
    text-align: center;
    margin-bottom: 24px;
  }
  .rec-mess-image {
    width: 169px;
    height: 169px;
    margin-bottom: 24px;
  }
  .rec-mess-text {
    font-family: Toyota Type;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: justify;
    padding: 0 16px;
  }
  .rec-mess-text-personnel {
    font-family: Toyota Type;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0em;
    text-align: center;
    padding: 0 16px;
    margin-bottom: 24px;
  }
  .unknown-text {
    padding: 60px 16px;
  }
  .rec-contact-footer {
    flex-direction: column;
  }
  .rec-contact-footer-item {
    padding: 65px 16px;
  }
  .rec-contact-footer-item:first-child .rec-contact-footer-title,
  .rec-contact-footer-item:last-child .rec-contact-footer-title {
    font-family: Toyota Type;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    margin-bottom: 32px;
  }
  .rec-contact-footer-item:last-child .rec-contact-footer-content {
    font-weight: 600;
  }
  .rec-contact-footer-item:last-child .rec-contact-footer-content,
  .rec-contact-footer-item:first-child .rec-contact-footer-content {
    margin-bottom: 14px;
  }
  .rec-mess-content{
    padding: 0 16px;
  }
}
