@charset "UTF-8";

/* 전체 Contact Form7 폰트 통일 */
.wpcf7 * {
    font-family: 'Pretendard', 'Noto Sans JP', sans-serif;
}

/* 입력 필드 스타일 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 0.8rem 1rem;
    font-size: 1.4rem;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}

/* 상단 4개 필드 2열 정렬 */
.wpcf7 .half-field {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wpcf7 .half-field .half {
    width: 50%;
}

/* 입력란 위 텍스트 */
.wpcf7 p {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: left;
    color: #565962;
}

/* 상단 텍스트 스타일 */
.wpcf7 h3 {
	margin-bottom: 1.7rem !important;
    color: #ff1612;
	font-size: 1.3rem;
	text-align: left;
	font-weight: 0 !important;
    margin-left: 0.3rem;
}

/* 필수 별표 스타일 */
.wpcf7 .required {
    color: red;
    font-weight: bold;
    margin-left: 0.3rem;
}

/* 폼 전체 중앙정렬 */
.wpcf7 form {
    text-align: center;
}

.wpcf7 .submit {
    background: #f3f3f3;
    border-radius: 30px;
    padding: 1.4rem 5rem !important;  /* 높이 + 너비 증가 */
    cursor: pointer;
    border: none;
    font-size: 1.6rem !important;      /* 폰트 조금 더 큼 */
    display: inline-block;
    color: #555;
    transition: all 0.3s ease;
}

/* 송신 버튼 마우스오버 */
.wpcf7 .submit:hover {
    background: #e0e0e0;
    color: #333;
}

/* 버튼 강제 중앙정렬 */
.wpcf7 input[type="submit"] {
    background: #f3f3f3;
    border-radius: 30px;
    padding: 1rem 4rem;
    cursor: pointer;
    border: none;
    font-size: 1.4rem;
    display: block;
    color: #555;
    transition: all 0.3s ease;
    margin: 2rem auto 0; /* margin auto로 좌우 중앙 */
}


/* Contact Form7 에러 메시지 회색으로 */
.wpcf7-not-valid-tip {
    color: #b2b2b2 !important;
    font-size: 1.3rem !important;
    margin-top: 0.3rem;
}
.wpcf7-response-output {
    border: 1px solid #FFC001 !important;
    background: #FFC001; /* 필요하면 배경 흰색 유지 */
    padding: 0.8rem 1.2rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #b95721; /* 폰트 컬러 */	
    text-align: center; /* 글씨 중앙정렬 */
    max-width: 100%;
    margin: 2rem auto 0; /* 상단 여백 + 중앙정렬 */
}

/* 모바일 600px 이하 한 줄 배치 */
@media screen and (max-width: 600px) {
    .wpcf7 .half-field {
        flex-direction: column;
    }

    .wpcf7 .half-field .half {
        width: 100%;
    }
	.wpcf7 h3 {
	margin-bottom: 1.7rem !important;
    color: #ff1612;
	font-size: 1.1rem !important;
	text-align: left;
	font-weight: 0 !important;
    margin-left: 0.3rem;
}
	.wpcf7-response-output {
    border: 1px solid #FFC001 !important;
    background: #FFC001; /* 필요하면 배경 흰색 유지 */
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #b95721; /* 폰트 컬러 */	
    text-align: center; /* 글씨 중앙정렬 */
    max-width: 100%;
    margin: 2rem auto 0; /* 상단 여백 + 중앙정렬 */
}
}