/* CSS_ID_AI_card_company */

.card_company_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  justify-items: center;
}

.card_company_caption {
  color: white;
}

.card_company_img {
  border-radius: 8px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.card_company_p1 {
  position: absolute;
  left: 50%;
  width: 76%;
  top: 17%;
  transform: translateX(-50%);
  font-size: 1.75rem;
  font-weight: bold;
}

.card_company_p2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 34%;
  display: inline-block;
  font-size: 1rem;
  line-height: 200%;
  width: 76%;
  font-weight: lighter;
}

.card_company_p3 {
  position: absolute;
  font-size: 1rem;
  font-weight: bold;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  bottom: 13%;
  width: 76%;
}

.card_company_p3::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  background: white;
}

.card_company_p3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 20px;
  height: 1px;
  background: white;
  transform: rotate(35deg);
}

.card_company_item {
  position: relative;
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media screen and (max-width: 1580px) {
  .card_company_p1 {
    top: 13%;
    font-size: 1.5rem;
  }
  .card_company_p2 {
    top: 30%;
  }
  .card_company_p3 {}
  .card_company_p3::before {}
  .card_company_p3::after {}
}

@media screen and (max-width: 1200px) {
  .card_company_p1 {
    top: 10%;
    font-size: 1.25rem;
  }
  .card_company_p2 {
    top: 25%;
  }
}


@media screen and (max-width: 700px) {
  .card_company_container {
    display: grid;
    grid-template-columns: 1fr;
  }
  .card_company_item {
    aspect-ratio: 4/2;
  }
}

@media screen and (max-width: 470px) {
  .card_company_container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 360px) {
  .card_company_item {
    aspect-ratio: 4/3;
  }
}


/* --------------ホバー時設定-------------- */

.card_company_img:hover {
  border-radius: 8px;
  height: 100%;
}

.card_company_item .card_company_mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.card_company_item:hover .card_company_mask {
  background-color: rgba(0, 0, 0, 0.4);
}


/* CSS_ID_AJ_banner_top */

.banner_top_items {
  position: relative;
  text-align: center;
}

.banner_top_items--img {
  align-items: center;
}

.banner_top_items h1 {
  position: absolute;
  top: 25%;
  right: 5%;
  color: black;
  font-size: 40px;
  font-weight: 500;
  line-height: initial;
}

.banner_top_p1 {
  position: absolute;
  bottom: 40%;
  right: 10%;
  font-size: 16px;
  font-weight: bold;
}

.banner_top_p2 {
  position: absolute;
  bottom: 15%;
  right: 15%;
  font-size: 24px;
  font-weight: bold;
}


/* CSS_ID_AK_table_a */

.table_a {
  margin: auto;
  min-width: initial;
  max-width: 100%;
}

.table_a_tr {
  line-height: 20px;
}

.table_a_td_blue {
  background: #005EB8!important;
  color: white;
  font-size: 1rem;
  line-height: normal;
}

.table_a_td {
  background: white!important;
  font-size: 1rem;
  line-height: normal;
}

@media(max-width: 768px) {
  .table_a_tr {
    display: flex;
    flex-direction: column;
  }
  .table_a_td_blue {
    padding: 15px 10px;
  }
  .table_a_td {
    padding: 10px;
  }
}

.fixed_table {
    overflow-x: scroll;
}
.fixed_table .table_a {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

/* CSS_ID_AK'_table_b */

.table_b {
  margin: auto;
  min-width: initial;
  max-width: 100%;
}

.table_b_tr {
  line-height: 20px;
  width: 100%;
}

.table_b_td_blue {
  background: #005EB8!important;
  color: white;
  font-size: 1rem;
  line-height: 1.8;
  width: 30%;
}

.table_b_td {
  background: white!important;
  font-size: 1rem;
  line-height: 1.8;
}

@media(max-width: 768px) {
  .table_b_tr {
    display: flex;
    flex-direction: column;
  }
  .table_b_td_blue {
    width: 100%;
    padding: 15px 10px;
  }
  .table_b_td {
    padding: 10px;
  }
}


/* CSS_ID_W'_head2_c */

.head2_c {
  position: relative;
  padding: 12px 7px;
  font-size: 26px;
  font-weight: bold;
  border-left: 3px solid #005EB8;
  margin-left: 15px;
}

.head2_c:before {
  position: absolute;
  left: 10px;
  border-left: 8px solid #005EB8;
}


/* bussiness_list */

.bussiness_list {
  width: 100%;
  margin: 0 auto;
}

.bussiness_list_container {
  display: flex;
  min-height: 150px;
  object-fit: cover;
}

.bussiness_list_item {
  margin-bottom: 2rem;
}

.bussiness_list_img {
  border-radius: 8px;
  width: 25%;
  object-fit: contain;
}

.bussiness_list_bluetext {
  font-size: 1rem;
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
}

.bussiness_list_textbox {
  line-height: normal;
  padding: 20px;
  padding-left: 40px;
  width: 50%;
}

.bussiness_list_bluetext:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #005EB8;
  position: absolute;
  top: 6px;
  left: 0px;
}

.bussiness_list a{
 font-size: 0.75rem;
}

.bussiness_list_textp li a {
  font-size: 1rem;
}

@media(max-width: 480px) {
  .bussiness_list_container {
    flex-direction: column;
  }
  .bussiness_list_img {
    width: 100%;
  }
  .bussiness_list_textbox {
    padding-left: 0px;
    width: 100%;
  }
}


/* CSS_ID_AQ_ head4 */

.head4 {
  display: flex;
}

.head4_text {
  font-size: 20px;
  position: relative;
  padding: 40px;
}

.head4_text:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #005EB8;
  position: absolute;
  top: 43px;
  left: 15px;
}


/* CSS_ID_AO_ head3 */

.head3_text1 {
  display: flex;
}


/* リッチテキストのcss使いまわし*/

.richtext_title_decoration1 {
  background: transparent;
  border-left: solid 5px #005eb8;
  margin-right: 2px;
}

.richtext_title_decoration2 {
  background: transparent;
  border-left: solid 2px #005eb8;
  margin-right: 12px;
}

.head3_text1 h3, .head3_text1 h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-right: 50px;
  line-height: 1.6;
}

@media(max-width:768px) {
  .head3_text1 h3, .head3_text1 h2 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-right: 50px;
    line-height: 1.6;
  }
}


/* CSS_ID_AP_nav_in_page */

.nav_in_page {
  display: flex;
  line-height: 1.5;
  margin: 0 auto;
  flex-wrap: wrap;
}

.nav_in_page_item {
  margin: 10px;
}

.nav_in_page_a {
  color: #215FB2;
  font-size: 16px;
}

.date_text {
  max-width: 100%;
  margin: 0 auto;
  text-align: right;
}


/*table_c_css*/

.table_c {
  margin: auto;
  min-width: initial;
  max-width: 100%;
}

.table_c_tr {
  line-height: 20px;
  width: 100%;
}

.table_c_tr_blue {
  line-height: ３０px;
  width: 100%;
}

.table_c_td_blueleft {
  background: #005EB8!important;
  color: white;
  font-size: 16px;
  width: 60%;
  line-height: normal;
}

.table_c_td_blueright {
  background: #005EB8!important;
  color: white;
  font-size: 16px;
  width: 40%;
  line-height: normal;
}

.table_c_td_left {
  background: white!important;
  font-size: 16px;
  line-height: normal;
  width: 60%;
}

.table_c_td_right {
  background: white!important;
  font-size: 16px;
  line-height: normal;
  width: 40%;
}

/*------------リッチテキストの画像・テキスト横並び-----------*/
.text_image {
  display: flex;
}

.text_image__text {
  margin-right: 20px;
  width: 70%;
}

.text_image__image {
  width: 30%;
}

@media(max-width: 720px) {
  .text_image {
    flex-direction: column!important;
  }

  .text_image__text {
    margin-right: 0px!important;
    width: 100%!important;
  }

  .text_image__image {
    width: 100%!important;
    margin-bottom: 10px!important;
  }
}