@charset "utf-8";

.com-message{
  margin: 0 auto 5rem;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.com-message img{
  border-radius: 10px;
  max-width: 460px;
  max-height: 360px;
  object-fit: cover;
}

.com-message-text{
  margin-top: 3rem;
}

.com-message-text h2{
  font-size: 3rem;
  margin-bottom: 4rem;
  font-weight: bold;
}

.com-message-name{
  display: flex;
  gap: 1rem;
  width: fit-content;
  margin: 2rem 0 2rem auto;
  align-items: center;
}

.com-message-name p:nth-child(2){
  font-size: 1.5rem;
  font-weight: bold;
}

.com-policy{
  margin: 5rem auto;
}

.com-policy-title{
  margin: 0 auto 3rem;
  position: relative;
  font-size: 2.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
  font-weight: bold;
}

.com-policy-title:before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 80px;
  height: 8px;
  background-color: #FD5B50;
  font-weight: bold;
  border-radius: 8px;
}

.com-policy-cont{
  display: flex;
  gap:1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.com-policy-item{
  width: 280px;
  height: 280px;
  border-radius: 500px;
  border: 3px solid #FD5B50;
  text-align: center;
  overflow: hidden;
  font-size: 12px;
}

.com-policy-item-title{
  width: 30%;
  color: #fff;
  font-size: 2.5rem;
  text-align: center;
  background-color: #FD5B50;
  padding: 0.5rem;
  width: 100%;
  line-height: 1;
}

.com-policy-item-head{
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.com-policy-item-text{
  margin: 2rem auto;
}

.com-policy-item-text h3{
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

.com-info-cont{
  display: flex;
  gap: 5%;
  justify-content: center;
}

.com-info-text{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 50%;
}

.com-info-text-item h3{
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px #DEDEDE solid;
  font-size: 1rem;
}

.com-info-text-item p{
  font-size: 14px;
  padding-left: 1.5rem;
}

.com-info-img{
  display: flex;
  flex-direction: column;
  gap: 2rem
}

.com-info-img img{
  height: auto;
  border-radius: 10px;
  max-height: 50%;
  object-fit: cover;
}

.com-info-cont iframe{
  width: 500px;
  height: 320px;
}

@media screen and (max-width: 1024px) {
  .com-message{
    margin: 0 auto 3rem;
    flex-direction: column;
    width: 90%;
    align-items: center;
  }
  
  .com-info-text{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .com-info-cont iframe{
    width:100%;
    height: 320px;
  }
}

@media screen and (max-width: 768px) {
  .com-message{
    margin: 0 auto 3rem;
    flex-direction: column;
    width: 90%;
    align-items: center;
  }
  .com-message img{
    border-radius: 10px;
    max-width: 460px;
    max-height: 360px;
    object-fit: cover;
  }

  .com-message-text{
    margin-top: 2rem;
  }

  .com-message-text h2{
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
  }

  .com-policy{
    margin: 3rem auto;
  }

  .com-policy-title{
    margin: 0 auto 3rem;
    position: relative;
    font-size: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
  }

  .com-policy-title:before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80px;
    height: 8px;
    background-color: #FD5B50;
    font-weight: bold;
    border-radius: 8px;
  }

  .com-policy-cont{
    display: flex;
    gap:1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .com-policy-item{
    width: 240px;
    height: 240px;
    border-radius: 500px;
    border: 3px solid #FD5B50;
    text-align: center;
    overflow: hidden;
    font-size: 12px;
  }

  .com-policy-item-title{
    width: 100%;
    color: #fff;
    font-size: 1.75rem;
  }
  .com-policy-item-text{
    margin: 1rem auto;
  }
  .com-policy-item-text h3{
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  

  .com-info-text{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .com-info-text-item h3{
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px #DEDEDE solid;
    font-size: 1rem;
  }

  .com-info-text-item p{
    font-size: 14px;
    padding-left: 1.5rem;
  }

  .com-info-img{
    display: flex;
    flex-direction: column;
    gap: 2rem
  }

  .com-info-img img{
    height: auto;
    border-radius: 10px;
    max-height: 50%;
    object-fit: cover;
  }
    .com-info-cont{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
     width: 90%;
    margin: 0 auto;
  }

  .com-info-cont iframe{
    width:100%;
    height: 320px;
  }
}

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

}