@media (max-width: 460px) {

article.innerContentsWrap.viewMargin{
    margin-top: 0 !important;
}
article.innerContentsWrap.viewMargin .contentsWrap{
    padding:0 !important;
}
#wrapper .contentsWrap{
    padding-left:0 !important;
    padding-right:0 !important;
    padding-bottom:0 !important;
}
    .info-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
        padding: 20px 15px !important;
        margin-bottom: 20px !important;
    }
    .info-box img {
        width: 50% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto 20px auto !important;
    }
    .info-box .text {
        width: 100% !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
    .info-box h3 {
        margin: 0 !important;
        font-size: 20px !important;
        text-align: center !important;
    }
    .info-box p {
        margin: 8px 0 0 !important;
        font-size: 16px !important;
        text-align: center !important;
        word-break: keep-all !important;
    }
}
    .info-container {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        margin: 40px 0;
    }

    .info-box {
        display: flex;
        align-items: flex-start;
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 15px;
        width: 30%;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    }

    .info-box img {
        width: 125px;
        height: 125px;
        margin-right: 15px;
    }

    .info-box .text {
        flex: 1;
        text-align: left;
    }

    .info-box h3 {
        margin: 0;
        font-size: 18px;
        color: #4caf50;
    }

    .info-box p {
        margin: 5px 0 0;
        font-size: 14px;
        line-height: 1.6;
        color: #333;
    }

    .info-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #4caf50;

        margin-bottom: 10px;
    }

    /* 추가 정보 문단 스타일 */
    .additional-info p {
        margin: 5px 0;
        line-height: 1.8;
        font-size: 1rem;
        color: #333;
        text-align: left;
    }



    h1 {
        color: #333;
        font-size: 3rem;
    }
    h2 {
        text-align: center;
        color: #4caf50;
        text-decoration: underline;
        padding-top: 6rem;
        font-size: 2.2rem;
    }
    .container {
        padding: 20px;
    }
    .section-title {
        font-size: 18px;
        color: #333;
        font-weight: bold;
        margin: 20px 0;
    }

   .steps-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin: 20px 0 50px 0;
        row-gap: 20px;
        column-gap: 10px;
    }

    .step {
           text-align: center;
        width: 13rem;
        height: 13rem;
        background-color: #e8f5e9;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        color: #333;
        font-size: 2rem;
    }

    .arrow2 {
        font-size: 2rem;
        color: #333;
        margin: 0 10px;
    }

    .footer {
        text-align: center;
        margin-top: 40px;
    }
    .footer-button {
        background-color: #4caf50;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
    }

.side-by-side-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0 40px 0;
}

/* 왼쪽 섹션 스타일 */
.info-box-left,
.info-box-right {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}


.info-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4caf50;;
    margin-bottom: 15px;
    }


.info-box-left p,
.info-box-right p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

/* 팝업 내용 스타일 */
.modal-content {
    background-color: #fff;
    margin: 5% auto; /* 화면 중앙 */
    padding: 30px 40px;
    border-radius: 10px;
    width: 60%;
    max-width: 800px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);

    color: #333;
    line-height: 1.8;
    position:relative;
}

/* 닫기 버튼 스타일 */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* 제목 스타일 */
.popup-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #008000; /* 초록색 강조 */
    margin-bottom: 20px;
}

/* 강조된 박스 */
.info-box2 {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 20px 0;
}

/* 강조된 제목 박스 */
.popup-title-box {
    background-color: #daf5cc;
    border: 1px solid #ccc;
    padding: 10px 15px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 리스트 스타일 */
.modal-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.modal-content li {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* 링크 스타일 */
.modal-content a {
    color: #0080ff;
    text-decoration: underline;
}

.modal-content a:hover {
    color: #0056b3;
}

/* 주의사항 스타일 */
.modal-content p.important {
    font-style: italic;
    font-weight: bold;
    color: #444;
    margin: 10px 0;
}
/* FAQ 컨테이너 */
.faq-container {
width: 100%;
margin: 30px auto;
font-family: Arial, sans-serif;
}

/* 제목 스타일 */
.faq-title {
font-size: 1.8rem;
font-weight: bold;
margin-bottom: 20px;
color: #333;
}

/* 질문 버튼 스타일 */
.faq-question {
width: 100%;
padding: 15px;
font-size: 1rem;
text-align: left;
background-color: #e1e1e1;
border: 1px solid #ccc;
cursor: pointer;
outline: none;
transition: background-color 0.3s ease;
}

.faq-question:hover {
background-color: #e8f5e9;
}

/* 답변 스타일 */
.faq-answer {
display: none;
padding: 1.2rem;
border: 1px solid #ccc;
border-top: none;
background-color: #fafafa;
font-size: 1rem;
color: #333;
}

/* 활성화 시 답변 표시 */
.faq-answer.show {
display: block;
}

/* 링크 스타일 */
.faq-link {
margin-top: 20px;
font-size: 0.9rem;
color: #4caf50;
}

.faq-link .link-style {
color:#4caf50;
text-decoration: underline;
}

/* 모바일 반응형 스타일 */
@media screen and (max-width: 768px) {
.info-container {
flex-direction: column;
align-items: center;
}

.info-box {
width: 90%;
margin-bottom: 20px;
}

.steps-container {
flex-direction: column;
}

.step {
width: 10rem;
height: 10rem;
font-size: 1.5rem;
margin-bottom: 10px;
}

.arrow2 {
transform: rotate(90deg);
margin: 10px 0;
}

h2 {
font-size: 1.8rem;
padding-top: 3rem;
}

.side-by-side-container {
flex-direction: column;
}

.info-box-left, .info-box-right {
margin-bottom: 20px;
}

.faq-question {
font-size: 0.9rem;
padding: 12px;
}

.faq-answer p {
font-size: 0.9rem;
}

.popup-title {
font-size: 1.5rem;
}

.info-box2 ul li {
font-size: 1rem !important;
}

.modal-content {
width: 90%;
padding: 20px;
}
}

@media screen and (max-width: 480px) {
.info-box {
display: block;
padding: 10px;
}



.step {
width: 8rem;
height: 8rem;
font-size: 1.2rem;
}

h2 {
font-size: 1.5rem;
}

.section-title {
font-size: 16px;
}

.footer-button {
padding: 8px 15px;
font-size: 14px;
}

.modal-content {
padding: 15px;
}

.close {
top: 10px;
right: 15px;
}

.info_li {
font-size: 0.8rem;
}
}

@media (max-width: 852px) {
    .section-desc br {
        display: none;
    }
}

@media (max-width: 1280px) {
    .info-box.flex-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-box.flex-container .text,
    .info-box.flex-container .text h3,
    .info-box.flex-container .text p {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 890px) {
    .info-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .info-box.flex-container {
        width: 90%;
        margin-bottom: 0;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .info-box.flex-container .text,
    .info-box.flex-container .text h3,
    .info-box.flex-container .text p {
        text-align: left;
        width: auto;
    }
}

@media (max-width: 480px) {
    .info-box.flex-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-box.flex-container .text,
    .info-box.flex-container .text h3,
    .info-box.flex-container .text p {
        text-align: center;
        width: 100%;
    }
}

.info_li{
    font-size:1.2rem;
    list_style:disc;
}

/* 모바일 반응형 스타일 - iPhone 지원 추가 */
@media (max-width: 426px){
    .info_li{
        font-size: 0.8rem;
    }
    .modal-content{
        width: 90%;
        padding: 15px;
    }
}

/* iPhone X, 11, 12, 13 대응 */
@media screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3),
       screen and (min-device-width: 390px) and (max-device-width: 844px) and (-webkit-min-device-pixel-ratio: 3) {
    .modal-content {
        width: 90%;
        max-width: 350px;
        padding: 15px;
    }

    .info-container {
        flex-direction: column;
    }

    .info-box {
        width: 100%;
        display: block;
        margin-bottom: 15px;
    }



    .steps-container {
        flex-direction: column;
    }

    .step {
        width: 8rem;
        height: 8rem;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .arrow2 {
        transform: rotate(90deg);
        margin: 5px 0;
    }
}

/* iPhone 14, Pro, Pro Max 대응 */
@media screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3),
       screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3),
       screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
    .modal-content {
        width: 90%;
        max-width: 380px;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 10px;
    }

    .popup-title {
        font-size: 1.3rem;
    }

    .info-box2 ul li {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 888px) {
    .disclaimer-note br {
        display: none;
    }
}

@media (max-width: 400px) {
    .disclaimer-note {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

.steps-container .step {
    flex-shrink: 0;
}

@media (min-width: 1251px) and (max-width: 1600px) {
    .step {
        width: 10.4rem;
        height: 10.4rem;
        font-size: 1.6rem;
    }
}

@media (min-width: 1081px) and (max-width: 1250px) {
    .step {
        width: 8.32rem;
        height: 8.32rem;
        font-size: 1.28rem;
    }
}

@media (min-width: 897px) and (max-width: 1080px) {
    .step {
        width: 6.656rem;
        height: 6.656rem;
        font-size: 1.024rem;
    }
}

@media (max-width: 896px) {
    .steps-container {
        flex-direction: column;
    }

    .step {
        width: 10rem;
        height: 10rem;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .arrow2 {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

.steps-container .step,
.steps-container .arrow2 {
    flex-shrink: 0;
}
