@charset "utf-8";

.ceo-cont{
  padding: 4rem 0;
}

.ceo-cont-sec{
  background-color: #EBE7D3;
}

.ceo-cont-sec img{
  height: 120%;
}

.ceo-mes{
  display: flex;
  align-items: center;
  gap: 3rem;
  font-size: 1.125rem;
}

.ceo-mes img{
  width: 320px;
  height: auto;
}

.ceo-mes-text-name{
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 2rem;
}

.ceo-mes-text-name p{
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
}

.ceo-mes-text-name h3{
  font-size: 2rem;
  font-weight: bold;
}

.ceo-cont-item{
  position: relative;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ceo-cont-item img{
  width: 50%;
  height: auto;
}

.ceo-cont-item h3{
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.ceo-cont-item-sec{
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.ceo-cont-item-sec-car{
  position: absolute;
  right: -10%;
  bottom: -5rem;
  width: 60%!important;
  max-width: 800px;
}

.ceo-cont-item-sec-text{
  padding: 1.5rem 0;
  width: 50%;
}

.ceo-cont-item-sec img{
  width: 50%;
  height: auto;
}

.ceo-cont-item-sec-img{
  width: 50%;
  height: 120%;
}

.ceo-cont-item-sec h3{
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

@media screen and (max-width: 960px) {
  .ceo-mes{
    flex-direction: column;
    gap: 3rem;
    font-size: 1rem;
  }
  .ceo-mes-text-name p{
    text-align: center;
  }
  .ceo-mes-text-name h3{
    text-align: center;
  }
  .ceo-cont-item{
    flex-direction: column;
    gap: 2rem;
  }

  .ceo-cont-item img{
    width: 100%;
    position: relative;
  }
  .ceo-cont-item-sec{
    flex-direction: column;
    gap: 2rem;
  }
  .ceo-cont-item-sec-text{
    width: fit-content;
  }
  .ceo-cont-item-sec img{
    width: 100%;
  }
  .ceo-cont-item-sec-car{
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%!important;
    max-width: 50%;
    margin: 0 auto 0 0;
  }
}

@media screen and (max-width: 480px) {
  .ceo-mes img{
    width: 240px;
    height: auto;
  }
  .ceo-cont-item-sec-car{
    max-width: 80%;
    margin: 0 auto 0 0;
  }
}