#main-contents .kv_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 769px) {
  #main-contents .kv_section {
    height: max(min(40vw, 560px), 400px);
    padding: 30px 0 0;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_section {
    height: 146vw;
    padding: 0 0 14.134%;
  }
}
#main-contents .kv_bg {
  position: absolute;
  bottom: 0;
  overflow: hidden;
}
@media (min-width: 769px) {
  #main-contents .kv_bg {
    left: 0;
    right: 0;
    top: 30px;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_bg {
    width: 92.934%;
  }
}
#main-contents .kv_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#main-contents .kv_image {
  position: absolute;
}
@media (min-width: 769px) {
  #main-contents .kv_image {
    width: 100%;
    top: 0;
    bottom: 0;
  }
}
#main-contents .kv_image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#main-contents .kv_left {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
}
@media (min-width: 769px) {
  #main-contents .kv_left {
    border-radius: 0 0 50px 0;
    width: calc(50% - min(1.072vw, 15px));
    bottom: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_left {
    height: 44.658%;
    right: 0;
  }
}
@media (min-width: 769px) {
  #main-contents .kv_left .kv_bg {
    border-radius: 0 50px 50px 0;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_left .kv_bg {
    border-radius: 0 25px 25px 0;
  }
}
@media (min-width: 769px) {
  #main-contents .kv_left .kv_image {
    aspect-ratio: 1/1;
    right: -1px;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_left .kv_image {
    width: 49.334%;
    left: 18.667%;
  }
}
#main-contents .kv_left .kv_image img {
  object-position: right bottom;
}
#main-contents .kv_right {
  position: absolute;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
@media (min-width: 769px) {
  #main-contents .kv_right {
    border-radius: 0 0 0 50px;
    width: calc(50% - min(1.072vw, 15px));
    top: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_right {
    height: 51.142%;
    left: 0;
  }
}
@media (min-width: 769px) {
  #main-contents .kv_right .kv_bg {
    border-radius: 50px 0 0 50px;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_right .kv_bg {
    border-radius: 25px 0 0 25px;
    right: 0;
    top: 0;
    bottom: auto;
  }
}
@media (min-width: 769px) {
  #main-contents .kv_right .kv_image {
    aspect-ratio: 33/28;
    left: -1px;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_right .kv_image {
    width: 79.734%;
    right: 6.667%;
  }
}
#main-contents .kv_right .kv_image img {
  object-position: left bottom;
}
#main-contents .kv_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #cc0022;
  margin: 0 auto;
}
@media (min-width: 769px) {
  #main-contents .kv_box {
    aspect-ratio: 120/67;
    border-radius: 20px;
    width: min(34.286vw, 480px);
    min-width: 320px;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_box {
    border-radius: 11.5px 11.5px 0 0;
    width: 71.734%;
    padding: 7.867% 0 3.6%;
  }
}
@media (min-width: 769px) {
  #main-contents .kv_copy {
    width: 81.25%;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_copy {
    width: 79.554%;
  }
}
#main-contents .kv_logo {
  line-height: 0;
}
@media (min-width: 769px) {
  #main-contents .kv_logo {
    width: 63.334%;
    margin-top: 4.167%;
  }
}
@media (max-width: 768px) {
  #main-contents .kv_logo {
    width: 65.056%;
    margin-top: 4.09%;
  }
}
#main-contents .kv_lead {
  background: #fff;
  position: relative;
  margin: 0 auto;
  line-height: 0;
  text-align: center;
}
@media (min-width: 769px) {
  #main-contents .kv_lead {
    border-radius: 20px;
    width: min(62.286vw, 872px);
    min-width: 600px;
    margin-top: min(2.643vw, 37px);
  }
}
@media (max-width: 768px) {
  #main-contents .kv_lead {
    border-radius: 0 0 11.5px 11.5px;
    width: 71.734%;
    padding: 4.667% 10.467%;
  }
}
#main-contents .message_section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 769px) {
  #main-contents .message_section {
    padding: 65px 0 0;
  }
}
#main-contents .message_inner {
  position: relative;
  margin: 0 auto;
}
@media (min-width: 769px) {
  #main-contents .message_inner {
    max-width: 948px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_inner {
    max-width: 77.334%;
  }
}
#main-contents .message_bg {
  position: relative;
}
#main-contents .message_bg::before {
  content: "";
  position: absolute;
  width: 100vw;
  top: 0;
  bottom: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  #main-contents .message_bg::before {
    min-width: 990px;
  }
}
#main-contents .message_bg.top {
  z-index: 2;
}
@media (min-width: 769px) {
  #main-contents .message_bg.top {
    padding: 97px 0 87px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_bg.top {
    padding: 20.69% 6.897% 12.069% 0;
  }
}
#main-contents .message_bg.top::before {
  background: #fff;
}
@media (min-width: 769px) {
  #main-contents .message_bg.top::before {
    border-radius: 0 100px 100px 0;
    right: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .message_bg.top::before {
    border-radius: 0 25px 25px 0;
    right: -6.034%;
  }
}
#main-contents .message_bg.bottom {
  color: #fff;
}
@media (min-width: 769px) {
  #main-contents .message_bg.bottom {
    margin: -769px 0 0 169px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_bg.bottom {
    margin: -274.137% 0 0;
  }
}
#main-contents .message_bg.bottom::before {
  background: #cc0022;
}
@media (min-width: 769px) {
  #main-contents .message_bg.bottom::before {
    border-radius: 100px 0 0 100px;
    left: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .message_bg.bottom::before {
    border-radius: 25px 0 0 25px;
    left: -6.034%;
  }
}
#main-contents .message_head {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
@media (min-width: 769px) {
  #main-contents .message_head {
    gap: 40px 20px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_head {
    gap: 21.5px 25px;
  }
}
#main-contents .message_head p {
  line-height: 1;
}
@media (min-width: 769px) {
  #main-contents .message_head p {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_head p {
    font-size: 12px;
  }
}
#main-contents .message_head p.col1 {
  color: #cc0022;
}
#main-contents .message_head h1 {
  width: 100%;
  font-weight: 700;
  color: #cc0022;
}
@media (min-width: 769px) {
  #main-contents .message_head h1 {
    line-height: 1.5;
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_head h1 {
    line-height: 1.5;
    font-size: 21px;
  }
}
#main-contents .message_lead {
  font-weight: 700;
}
@media (min-width: 769px) {
  #main-contents .message_lead {
    margin-top: 27px;
    line-height: 1.522;
    font-size: 23px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_lead {
    margin-top: 16.5px;
    line-height: 1.5;
    font-size: 15px;
  }
}
@media (min-width: 769px) {
  #main-contents .message_text {
    margin-top: 45px;
    line-height: 1.945;
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_text {
    margin-top: 26px;
    line-height: 1.75;
    font-size: 12px;
  }
}
#main-contents .message_prof {
  position: relative;
}
@media (min-width: 769px) {
  #main-contents .message_prof {
    padding: 822px 0 127px 90px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_prof {
    padding: 283.621% 0 28.276%;
  }
}
@media (min-width: 769px) {
  #main-contents .message_prof_position {
    line-height: 1.625;
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_prof_position {
    line-height: 1.75;
    font-size: 12px;
  }
}
@media (min-width: 769px) {
  #main-contents .message_prof_name {
    width: 178px;
    margin-top: 21px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_prof_name {
    width: 40.173%;
    margin-top: 6.035%;
  }
}
#main-contents .message_prof_image {
  position: absolute;
  bottom: 0;
  z-index: 3;
}
@media (min-width: 769px) {
  #main-contents .message_prof_image {
    width: 500px;
    left: 184px;
  }
}
@media (max-width: 768px) {
  #main-contents .message_prof_image {
    width: 85%;
    right: -15.241%;
  }
}
#main-contents .philosophy_section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 769px) {
  #main-contents .philosophy_section {
    padding: 130px 0 0;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_section {
    padding: 18% 0 0;
  }
}
#main-contents .philosophy_inner {
  position: relative;
  margin: 0 auto;
}
@media (min-width: 769px) {
  #main-contents .philosophy_inner {
    max-width: 948px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_inner {
    max-width: 77.334%;
  }
}
#main-contents .philosophy_bg {
  position: relative;
}
#main-contents .philosophy_bg::before {
  content: "";
  position: absolute;
  width: 100vw;
  top: 0;
  bottom: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  #main-contents .philosophy_bg::before {
    min-width: 990px;
  }
}
#main-contents .philosophy_bg.top {
  color: #fff;
}
@media (min-width: 769px) {
  #main-contents .philosophy_bg.top {
    margin-right: 169px;
    padding-bottom: 796px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_bg.top {
    padding-bottom: 130.518%;
  }
}
#main-contents .philosophy_bg.top::before {
  background: #cc0022;
}
@media (min-width: 769px) {
  #main-contents .philosophy_bg.top::before {
    border-radius: 0 100px 100px 0;
    right: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_bg.top::before {
    border-radius: 0 25px 25px 0;
    right: -6.034%;
  }
}
@media (min-width: 769px) {
  #main-contents .philosophy_bg.bottom {
    margin-top: -796px;
    padding: 100px 0 167px 166px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_bg.bottom {
    margin-top: -130.517%;
    padding: 18.621% 0 32.759% 8.621%;
  }
}
#main-contents .philosophy_bg.bottom::before {
  background: #fff;
}
@media (min-width: 769px) {
  #main-contents .philosophy_bg.bottom::before {
    border-radius: 100px 0 0 100px;
    left: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_bg.bottom::before {
    border-radius: 25px 0 0 25px;
    left: -6.034%;
  }
}
#main-contents .philosophy_head {
  display: flex;
  align-items: center;
  position: relative;
}
@media (min-width: 769px) {
  #main-contents .philosophy_head {
    height: 209px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_head {
    padding: 14.138% 0 14.138% 3.449%;
  }
}
#main-contents .philosophy_head h1 {
  font-weight: 700;
}
@media (min-width: 769px) {
  #main-contents .philosophy_head h1 {
    line-height: 1.5;
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_head h1 {
    line-height: 1.5;
    font-size: 21px;
  }
}
#main-contents .philosophy_items {
  display: flex;
  flex-direction: column;
}
@media (min-width: 769px) {
  #main-contents .philosophy_items {
    row-gap: 105px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_items {
    row-gap: 35px;
  }
}
#main-contents .philosophy_item_head {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid;
  color: #cc0022;
}
@media (min-width: 769px) {
  #main-contents .philosophy_item_head {
    column-gap: 25px;
    padding-bottom: 12px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_item_head {
    column-gap: 17px;
    padding-bottom: 3.397%;
  }
}
#main-contents .philosophy_item_head p {
  line-height: 1;
}
@media (min-width: 769px) {
  #main-contents .philosophy_item_head p {
    font-size: 30px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_item_head p {
    font-size: 19px;
  }
}
#main-contents .philosophy_item_head h3 {
  line-height: 1;
}
@media (min-width: 769px) {
  #main-contents .philosophy_item_head h3 {
    font-size: 23px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_item_head h3 {
    font-size: 15px;
  }
}
@media (min-width: 769px) {
  #main-contents .philosophy_item_body {
    padding-top: 30px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_item_body {
    padding-top: 25px;
  }
}
#main-contents .philosophy_checks {
  display: flex;
  flex-direction: column;
}
@media (min-width: 769px) {
  #main-contents .philosophy_checks {
    row-gap: 42px;
    padding-top: 12px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_checks {
    row-gap: 33px;
    padding-top: 10px;
  }
}
#main-contents .philosophy_check {
  display: flex;
  align-items: flex-start;
}
@media (max-width: 768px) {
  #main-contents .philosophy_check {
    flex-direction: column;
  }
}
#main-contents .philosophy_check dt {
  display: flex;
  flex-direction: column;
  color: #cc0022;
}
@media (min-width: 769px) {
  #main-contents .philosophy_check dt {
    row-gap: 9px;
    width: 126px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_check dt {
    row-gap: 7.5px;
  }
}
#main-contents .philosophy_check dt h4 {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 700;
}
@media (min-width: 769px) {
  #main-contents .philosophy_check dt h4 {
    column-gap: 18px;
    font-size: 30px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_check dt h4 {
    font-size: 18px;
  }
}
#main-contents .philosophy_check dt h4::before {
  content: "";
  display: block;
  aspect-ratio: 1/1;
  background-image: url(../img/icon_check_r.svg);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 0.8em;
}
#main-contents .philosophy_check dt p {
  line-height: 1;
}
@media (min-width: 769px) {
  #main-contents .philosophy_check dt p {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_check dt p {
    font-size: 12px;
  }
}
#main-contents .philosophy_check dd {
  flex-shrink: 0;
}
@media (min-width: 769px) {
  #main-contents .philosophy_check dd {
    padding-top: 6px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_check dd {
    padding-top: 11px;
  }
}
@media (min-width: 769px) {
  #main-contents .philosophy_lead {
    line-height: 1.522;
    font-size: 23px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_lead {
    line-height: 1.6;
    font-size: 15px;
  }
}
@media (min-width: 769px) {
  #main-contents .philosophy_text {
    line-height: 1;
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  #main-contents .philosophy_text {
    line-height: 1.75;
    font-size: 12px;
  }
}
#main-contents .overview_section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 769px) {
  #main-contents .overview_section {
    padding: 130px 0 0;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_section {
    padding: 19.067% 0 0;
  }
}
#main-contents .overview_inner {
  position: relative;
  margin: 0 auto;
}
@media (min-width: 769px) {
  #main-contents .overview_inner {
    max-width: 948px;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_inner {
    max-width: 77.334%;
  }
}
#main-contents .overview_bg {
  position: relative;
}
#main-contents .overview_bg::before {
  content: "";
  position: absolute;
  width: 100vw;
  top: 0;
  bottom: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  #main-contents .overview_bg::before {
    min-width: 990px;
  }
}
#main-contents .overview_bg.top {
  color: #fff;
}
@media (min-width: 769px) {
  #main-contents .overview_bg.top {
    margin-left: 169px;
    padding-bottom: 796px;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_bg.top {
    padding-bottom: 130.518%;
  }
}
#main-contents .overview_bg.top::before {
  background: #cc0022;
}
@media (min-width: 769px) {
  #main-contents .overview_bg.top::before {
    border-radius: 100px 0 0 100px;
    left: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_bg.top::before {
    border-radius: 25px 0 0 25px;
    left: -6.034%;
  }
}
#main-contents .overview_bg.bottom {
  z-index: 2;
}
@media (min-width: 769px) {
  #main-contents .overview_bg.bottom {
    margin-top: -796px;
    padding: 67px 166px 145px 0;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_bg.bottom {
    margin-top: -130.517%;
    padding: 10.863% 8.621% 28.276% 0;
  }
}
#main-contents .overview_bg.bottom::before {
  background: #fff;
}
@media (min-width: 769px) {
  #main-contents .overview_bg.bottom::before {
    border-radius: 0 100px 100px 0;
    right: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_bg.bottom::before {
    border-radius: 0 25px 25px 0;
    right: -6.034%;
  }
}
#main-contents .overview_head {
  display: flex;
  align-items: center;
  position: relative;
}
@media (min-width: 769px) {
  #main-contents .overview_head {
    height: 209px;
    padding: 0 0 0 120px;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_head {
    padding: 14.138% 0 14.138% 12.069%;
  }
}
#main-contents .overview_head h1 {
  font-weight: 700;
}
@media (min-width: 769px) {
  #main-contents .overview_head h1 {
    line-height: 1.5;
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_head h1 {
    line-height: 1.5;
    font-size: 21px;
  }
}
#main-contents .overview_table {
  display: grid;
  position: relative;
}
@media (min-width: 769px) {
  #main-contents .overview_table {
    grid-template-columns: 169px 1fr;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_table {
    grid-template-columns: 25.284% 1fr;
  }
}
#main-contents .overview_table dt {
  border-top: 1px solid #f0f0f0;
  color: #cc0022;
}
@media (min-width: 769px) {
  #main-contents .overview_table dt {
    padding: 34px 0;
    line-height: 1.522;
    font-size: 23px;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_table dt {
    padding: 33.209% 0;
    letter-spacing: -0.02em;
    line-height: 1.5;
    font-size: 15px;
  }
}
#main-contents .overview_table dt:first-of-type {
  border-top: 0;
}
#main-contents .overview_table dd {
  border-top: 1px solid #f0f0f0;
}
@media (min-width: 769px) {
  #main-contents .overview_table dd {
    padding: 34px 0;
    line-height: 1.945;
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  #main-contents .overview_table dd {
    padding: 9.978% 0;
    letter-spacing: -0.03em;
    line-height: 1.917;
    font-size: 12px;
  }
}
#main-contents .overview_table dd:first-of-type {
  border-top: 0;
}
#main-contents .overview_table dd ul > li {
  list-style: none;
  padding-left: 1em;
  text-indent: -1em;
}
#main-contents .service_section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 769px) {
  #main-contents .service_section {
    padding: 130px 0 0;
  }
}
@media (max-width: 768px) {
  #main-contents .service_section {
    padding: 19.067% 0 0;
  }
}
#main-contents .service_inner {
  position: relative;
  margin: 0 auto;
}
@media (min-width: 769px) {
  #main-contents .service_inner {
    max-width: 948px;
  }
}
@media (max-width: 768px) {
  #main-contents .service_inner {
    max-width: 77.334%;
  }
}
#main-contents .service_bg {
  position: relative;
}
#main-contents .service_bg::before {
  content: "";
  position: absolute;
  width: 100vw;
  top: 0;
  bottom: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  #main-contents .service_bg::before {
    min-width: 990px;
  }
}
#main-contents .service_bg.top {
  color: #fff;
}
@media (min-width: 769px) {
  #main-contents .service_bg.top {
    margin-right: 169px;
    padding-bottom: 346px;
  }
}
@media (max-width: 768px) {
  #main-contents .service_bg.top {
    padding-bottom: 96.035%;
  }
}
#main-contents .service_bg.top::before {
  background: #cc0022;
}
@media (min-width: 769px) {
  #main-contents .service_bg.top::before {
    border-radius: 0 100px 100px 0;
    right: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .service_bg.top::before {
    border-radius: 0 25px 25px 0;
    right: -6.034%;
  }
}
#main-contents .service_bg.bottom {
  z-index: 2;
}
@media (min-width: 769px) {
  #main-contents .service_bg.bottom {
    margin-top: -346px;
    padding: 97px 0 145px 166px;
  }
}
@media (max-width: 768px) {
  #main-contents .service_bg.bottom {
    margin-top: -96.034%;
    padding: 10.863% 0 28.276% 8.621%;
  }
}
#main-contents .service_bg.bottom::before {
  background: #fff;
}
@media (min-width: 769px) {
  #main-contents .service_bg.bottom::before {
    border-radius: 100px 0 0 100px;
    left: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .service_bg.bottom::before {
    border-radius: 25px 0 0 25px;
    left: -6.034%;
  }
}
#main-contents .service_head {
  display: flex;
  align-items: center;
  position: relative;
}
@media (min-width: 769px) {
  #main-contents .service_head {
    height: 209px;
  }
}
@media (max-width: 768px) {
  #main-contents .service_head {
    padding: 14.138% 0 14.138% 3.449%;
  }
}
#main-contents .service_head h1 {
  font-weight: 700;
}
@media (min-width: 769px) {
  #main-contents .service_head h1 {
    line-height: 1.5;
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  #main-contents .service_head h1 {
    line-height: 1.5;
    font-size: 21px;
  }
}
#main-contents .service_text {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}
@media (min-width: 769px) {
  #main-contents .service_text p {
    line-height: 1.945;
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  #main-contents .service_text p {
    line-height: 1.917;
    font-size: 12px;
  }
}
#main-contents .service_text p small {
  display: inline-block;
}
@media (min-width: 769px) {
  #main-contents .service_text p small {
    font-size: 0.778em;
  }
}
@media (max-width: 768px) {
  #main-contents .service_text p small {
    font-size: 0.834em;
  }
}
#main-contents .service_list {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  margin-top: 15px;
}
#main-contents .service_list > li {
  list-style: none;
}
@media (min-width: 769px) {
  #main-contents .service_list > li a {
    line-height: 1.5;
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  #main-contents .service_list > li a {
    line-height: 1.917;
    font-size: 12px;
  }
}
#main-contents .group_section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 769px) {
  #main-contents .group_section {
    padding: 130px 0 0;
  }
}
@media (max-width: 768px) {
  #main-contents .group_section {
    padding: 19.067% 0 0;
  }
}
#main-contents .group_inner {
  position: relative;
  margin: 0 auto;
}
@media (min-width: 769px) {
  #main-contents .group_inner {
    max-width: 948px;
  }
}
@media (max-width: 768px) {
  #main-contents .group_inner {
    max-width: 77.334%;
  }
}
#main-contents .group_bg {
  position: relative;
}
#main-contents .group_bg::before {
  content: "";
  position: absolute;
  width: 100vw;
  top: 0;
  bottom: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  #main-contents .group_bg::before {
    min-width: 990px;
  }
}
#main-contents .group_bg.top {
  color: #fff;
}
@media (min-width: 769px) {
  #main-contents .group_bg.top {
    margin-left: 169px;
    padding-bottom: 496px;
  }
}
@media (max-width: 768px) {
  #main-contents .group_bg.top {
    padding-bottom: 130.518%;
  }
}
#main-contents .group_bg.top::before {
  background: #cc0022;
}
@media (min-width: 769px) {
  #main-contents .group_bg.top::before {
    border-radius: 100px 0 0 100px;
    left: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .group_bg.top::before {
    border-radius: 25px 0 0 25px;
    left: -6.034%;
  }
}
#main-contents .group_bg.bottom {
  z-index: 2;
}
@media (min-width: 769px) {
  #main-contents .group_bg.bottom {
    margin-top: -496px;
    padding: 97px 166px 145px 0;
  }
}
@media (max-width: 768px) {
  #main-contents .group_bg.bottom {
    margin-top: -130.517%;
    padding: 10.863% 8.621% 28.276% 0;
  }
}
#main-contents .group_bg.bottom::before {
  background: #fff;
}
@media (min-width: 769px) {
  #main-contents .group_bg.bottom::before {
    border-radius: 0 100px 100px 0;
    right: 0;
  }
}
@media (max-width: 768px) {
  #main-contents .group_bg.bottom::before {
    border-radius: 0 25px 25px 0;
    right: -6.034%;
  }
}
#main-contents .group_head {
  display: flex;
  align-items: center;
  position: relative;
}
@media (min-width: 769px) {
  #main-contents .group_head {
    height: 209px;
    padding: 0 0 0 120px;
  }
}
@media (max-width: 768px) {
  #main-contents .group_head {
    padding: 14.138% 0 14.138% 12.069%;
  }
}
#main-contents .group_head h1 {
  font-weight: 700;
}
@media (min-width: 769px) {
  #main-contents .group_head h1 {
    line-height: 1.5;
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  #main-contents .group_head h1 {
    line-height: 1.5;
    font-size: 21px;
  }
}
#main-contents .group_list {
  display: grid;
}
@media (min-width: 769px) {
  #main-contents .group_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (max-width: 768px) {
  #main-contents .group_list {
    flex-direction: column;
    gap: 10px;
  }
}
#main-contents .group_list > li {
  list-style: none;
}
@media (min-width: 769px) {
  #main-contents .group_link {
    line-height: 1.5;
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  #main-contents .group_link {
    line-height: 1.917;
    font-size: 12px;
  }
}