@charset "utf-8";

.main_content {
  display: flex;
  gap: 4.0rem;
  justify-content: center;
  margin-top: 4.944rem;
}

.about_img {
  width: 40rem;
  height: 40rem;
  object-fit: cover;
  vertical-align: bottom;
}

.about_content {
  display: flex;
  border-bottom: #B62035 0.1rem solid;
  width: 43.65rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
}

.about_content2 {
  display: flex;
  width: 43.65rem;
}

.about_name {
  width: 10.0rem;
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 2.0rem;
  line-height: calc(29em / 20);
  color: #000;
  margin-right: 1.5rem;
}

.about_description {
  width: 27.1rem;
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 2.0rem;
  line-height: calc(29em / 20);
  color: #000;  
}

.about_address {
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 2.0rem;
  line-height: calc(29em / 20);
  color: #000;  
  width: 28.1rem;
}

.about_list {
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(24em / 16);
  color: #000;  
  width: 30.4rem;
  padding-bottom: 0.36rem;
}

.greeting_content {
  margin-top: 7.2rem;
  display: flex;
  justify-content: center;
  gap: 2.7rem;
  padding: 3.5rem 4.5rem;
  border-top: 5.0rem solid #B62035;
  border-bottom: 5.0rem solid #B62035;
  border-right: 14.0rem solid #B62035;
  border-left: 14.0rem solid #B62035;
}

.greeting {
  margin-top: -1rem;
  width: 59.2rem;
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: calc(45em / 15);
  color: #000;  
}

.about_ceo_name {
  width: 22.5rem;
  height: 5.0rem;
  object-fit: cover;
  vertical-align: bottom;
  margin-left: 34.2rem;
  margin-top: 1.6rem;
}

.ceo_img {
  width: 29.1rem;
  height: 34.0rem;
  object-fit: cover;
  vertical-align: bottom;
}

.company_content {
  background-color: #BBBBBB;
}

.company_title {
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1em;
  color: #000;
  text-align: center; 
  padding-top: 4.0rem;
  margin-bottom: 3.0rem;   
}

.company_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  justify-content: center;
  padding-bottom: 4.0rem;
  margin-bottom: 15.0rem;
}

.company_outer {
  width: 20.0rem;
  height: fit-content;
  text-align: center;
}

.company_img {
  width: 20.0rem;
  height: 10.4rem;
  object-fit: cover;
  vertical-align: bottom;
}

.company_name {
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 1.8rem;
  color: #000;      
}

@media screen and (max-width:699.98px) {

  .main_content {
    display: flex;
    flex-direction: column-reverse;
    gap: 4.0rem;
    justify-content: center;
    margin-top: 2.2rem;
  }
  
  .about_img {
    width: 100%;
    height: 18.8rem;
    object-fit: cover;
    vertical-align: bottom;
  }

  .about_content_wrapper {
    margin: 0 auto;
  }
  
  .about_content {
    display: flex;
    border-bottom: #B62035 0.1rem solid;
    width: 35.5rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
  }
  
  .about_content2 {
    display: flex;
    width: 35.5rem;
  }
  
  .about_name {
    width: 7.5rem;
    font-family: var(--NotoSans);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: calc(21em / 15);
    color: #000;
    margin-right: 1.35rem;
  }
  
  .about_description {
    width: 20.4rem;
    font-family: var(--NotoSans);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: calc(21em / 15);
    color: #000;  
  }
  
  .about_address {
    font-family: var(--NotoSans);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: calc(21em / 15);
    color: #000;  
    width: 20.4rem;
  }
  
  .about_list {
    font-family: var(--NotoSans);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: calc(20em / 14);
    color: #000;  
    width: 26.6rem;
    padding-bottom: 0.9rem;
  }
  
  .greeting_content {
    margin-top: 0rem;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 1.5rem;
    padding: 0rem 0rem;
    border-top: 2.0rem solid #B62035;
    border-bottom: 2.0rem solid #B62035;
    border-right: 1.0rem solid #B62035;
    border-left: 1.0rem solid #B62035;
  }

  .greeting_outer {
    margin: 0 auto;
  }
  
  .greeting {
    margin-top: -0.3rem;
    width: 33.2rem;
    font-family: var(--NotoSans);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: calc(30em / 15);
    color: #000;  
  }
  
  .about_ceo_name {
    width: 22.5rem;
    height: 5.0rem;
    object-fit: cover;
    vertical-align: bottom;
    margin-left: 10.8rem;
    margin-top: 2.0rem;
    margin-bottom: 2.3rem;
  }

  .ceo_img_outer {
    margin: 0 auto;
  }
  
  .ceo_img {
    width: 29.1rem;
    height: 34.0rem;
    object-fit: cover;
    vertical-align: bottom;
    margin-top: 2.0rem;
  }
  
  .company_content {
    background-color: #BBBBBB;
  }
  
  .company_title {
    font-family: var(--NotoSans);
    font-weight: 500;
    font-size: 2.0rem;
    line-height: 1em;
    color: #000;
    text-align: center;
    padding-top: 8.5rem;  
    margin-bottom: 3.9rem;  
  }
  
  .company_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.0rem;
    row-gap: 1.5rem;
    justify-content: center;
    padding-bottom: 8.5rem;
    margin-bottom: 10.0rem;
  }
  
  .company_outer {
    width: 10.8rem;
    height: fit-content;
    text-align: center;
  }
  
  .company_img {
    width: 10.3rem;
    height: 5.3rem;
    object-fit: cover;
    vertical-align: bottom;
    padding-bottom: 0.5rem;
  }
  
  .company_name {
    font-family: var(--NotoSans);
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1em;
    color: #000; 
    text-align: left;     
  }


}