* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    color: #222222;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 헤더 */
.header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
}

.header-container {
    width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
}

.main-nav a:hover {
    color: #c8102e;
}

.util-nav {
    display: flex;
    gap: 15px;
}

.util-nav a {
    font-size: 13px;
    color: #9f9f9f;
}

.util-nav a:hover {
    color: #222222;
}

/* 서브 헤더 배너 4 */
.sub-header_4 {
    width: 3000px;
    margin: 0 auto;
    height: 280px;
    background: linear-gradient(135deg, rgba(74, 95, 157, 0.0) 0%, rgba(91, 114, 176, 0.0) 100%), url('img/ibita_sub_bg_4.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sub-header_4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%);
    background-size: 100px 100px;
}

.sub-header_4-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.sub-header_4-content h1 {
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.sub-header_4-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 5px;
}

.sub-header_4-en {
    font-size: 14px !important;
    font-style: italic;
    opacity: 0.9;
}


/* 서브 헤더 배너 7 */
.sub-header_7 {
    width: 3000px;
    margin: 0 auto;
    height: 280px;
    background: linear-gradient(135deg, rgba(74, 95, 157, 0.0) 0%, rgba(91, 114, 176, 0.0) 100%), url('img/ibita_sub_bg_7.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sub-header_7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%);
    background-size: 100px 100px;
}

.sub-header_7-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.sub-header_7-content h1 {
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.sub-header_7-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 5px;
}

.sub-header_7-en {
    font-size: 14px !important;
    font-style: italic;
    opacity: 0.9;
}
/* 메인 콘텐츠 */
.main-content {
    background: #fff;
    padding: 80px 0 100px;
}

.content-container {
    width: 1200px;
    margin: 0 auto;
}

/* 인사말 섹션 */
.greeting-section {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 왼쪽: 타이틀 영역 */
.greeting-title-area {
    width: 220px;
    flex-shrink: 0;
}

.greeting-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    color: #222222;
}

/* 오른쪽: 본문과 사진 영역 */
.greeting-content-area {
    flex: 1;
}

.greeting-text {
    width: 100%;
}

.greeting-message {
    margin-bottom: 25px;
}

.greeting-message p {
    font-size: 16px;
    line-height: 1.9;
    color: #222222;
    margin-bottom: 3px;
}

.greeting-message:first-of-type p {
    font-weight: 500;
}

.greeting-image {
    width: 200px;
    flex-shrink: 0;
    float: right;
    margin-left: 50px;
    margin-bottom: 30px;
}



.greeting-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

#tab_4 {position:relative; clear:both;width: 1200px;}
#tab_4 ul li {float:left; width:14%; height:43px; margin-left:-1px; text-align:center;background:#f7f7f7;}
#tab_4 ul li.first {margin-left:0;}
#tab_4 ul li a {display:block; line-height:43px;border:1px solid #ccc;}
#tab_4 ul li a.tab_on {background:#3f5aa5; color:#fff;border:1px solid #3f5aa5;}


.bbs1 { color:#424242; font-size: 12pt; font-family: "Dotum", "Arial", "Gulim"; letter-spacing: -0.0em; line-height: 140%;padding: 10px 0 10px 0}
.bbs2 { color:#424242;border-top:2px #666666 solid; border-bottom:2px #666666 solid; font-size: 12pt; font-family: "Arial", "Gulim", "援대┝", "Helvetica"; letter-spacing: -0.0em; line-height: 140%; font-weight:bold;padding: 10px 0 10px 0}
.bbs3 { color:#424242; font-size: 12px; font-family: "Dotum"; letter-spacing: -0.00em;padding: 10px 0 10px 0}
.bbs4 { color:#959595; font-size: 11px; font-family: "Arial", "Dotum";padding: 10px 0 10px 0}
.bbs5 { color:#424242; font-size: 12pt;font-weight:400; font-family: "Arial", "Gulim", "Dotum", "Helvetica"; letter-spacing: -0.0em; line-height: 140%;padding: 10px 0 10px 0}
.bbs6 { color:#424242; font-size: 12px; font-family: "Tahoma";padding: 10px 0 10px 0}
.bbs7 { color:#606060; font-size: 12pt; font-family: "Arial", "Tahoma", "Gulim"; letter-spacing: -0.0em; line-height: 140%;padding: 10px 0 10px 0}
.bbs8 { color:#888888; font-size: 12pt; font-family: "Arial", "Gulim", "굴림", "Helvetica"; letter-spacing: -0.0em; line-height: 140%; font-weight:bold;padding: 10px 0 10px 0}
.bbs_input { background-color:#ffffff; border:solid 0 ffffff; font-family:"tahoma", "援대┝"; font-size:9pt; letter-spacing: -0.0em;}
.bbs_notice { color:#888888; font-size: 9pt; font-family: "Arial", "Tahoma", "援대┝";}
.bbs_newsA { font-size: 10pt; font-family: "Arial", "Gulim", "援대┝", "Helvetica"; text-decoration:underline; letter-spacing: -0.0em; line-height: 140%; font-weight:bold;}
.bbs_newsB { color:#5F5F5F; font-size: 9pt; font-family: "Arial", "Tahoma", "Gulim"; letter-spacing: -0.0em; line-height: 140%}
.photoD { color:#D1D1D1; font-size: 9px; font-family: "Tahoma"; letter-spacing: -0.0em;}
.main_bbs { color:#606060; font-size: 9pt; font-family: "Dotum", "????", "Gulim"; letter-spacing: -0.0em; font-weight:bold;}

/* 반응형 */
@media (max-width: 3000px) {
    .sub-header_4 {
        width: 100%;
    }
	.sub-header_7 {
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .header-container,
    .content-container,
    .footer-container {
        width: 95%;
    }
}

@media (max-width: 968px) {
    .greeting-section {
        flex-direction: column;
        gap: 40px;
    }
    
    .greeting-title-area {
        width: 100%;
    }
    
    .greeting-content-area {
        flex-direction: column;
    }
    
    .greeting-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 30px;
        float: none;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .sub-header_4-content h1 {
        font-size: 32px;
    }
    
    .sub-header_4-content p {
        font-size: 14px;
    }
	 .sub-header_7-content h1 {
        font-size: 32px;
    }
    
    .sub-header_7-content p {
        font-size: 14px;
    }
}
