/* 조합장 인사말 */
.greeting{
    display:flex;
    gap: 8rem;
    margin-bottom: 3rem;
}
.greeting-txt h2, .greeting-txt h3 span{
    font-size: 4rem;
    letter-spacing:-.2rem;
    font-weight:600;
}
.greeting-txt h3 span{
    padding: 0 2rem;
}
.greeting-txt h3{
    font-size: 2.4rem;
    letter-spacing:-.2rem;
    font-weight:300;
}
.greeting-txt p{
    font-size: 1.6rem;
    letter-spacing:-.1rem;
    line-height: 2.8rem;
    margin: 3rem 0;
    color: var(--sub-color);;
}
/* 연혁 */
.history{
    display: flex;
    width:100%;
    padding: 2rem 0;
}
.year{
    width: 30%;
    text-align: center;
    padding: 1rem;
    border-right: 1px solid #e4e4e4;
    font-size: 5rem;
    font-weight: 400;
    font-family: "Roboto";
    color: #999;
}
.sub-wrap{
    width: 70%;
}
.sub-detail{
    display: flex;
    gap: 2.5rem;
    width: 100%;
    padding: 1rem 1rem 1rem 5rem;
    font-size: 1.6rem;
    color: #666;
}
.date{
    font-family: "Roboto";
    position: relative;
    top:0.5rem;
}
.txt{
    letter-spacing: -.1rem;
}

/* 지점안내 */
.application{
	display: grid;
	width: 100%;
	grid-template-columns: 0.4fr 1.6fr;
	gap: 7rem;
	row-gap: 6rem;
	margin: 3rem 0;
	/* background: #5C79FF; */
}
.application-title h2{
	font-size: 2.4rem;
	font-weight: 600;
	letter-spacing: -.2rem;
}
.application-title h2 span{
    position: relative;
    top: .3rem;
	margin-right: 1rem;
}
.application-title p{
	font-size: 1.4rem;	
	letter-spacing: -.1rem;
	margin-left: 3.5rem;
}
.list{
    width:100%;    
    display: flex;
    justify-content:center;
    flex-direction:column;
}
.tableList{
    display: table;
    border-collapse:collapse;
    font-size: 1.4rem;    
    color:var(--sub-color);
    text-align: center;
    width: 100%;
    height: 100%;
}
.tableList .row{
    display: table-row;   
}
.tableList .row:first-child{
    border-top: 1px solid #c4c4c4;
    border-bottom: 1px solid #e4e4e4;
    background: var(--primary-bg-color);    
}
.tableList .row:first-child .cell{
    padding: 1.8rem;
}
.tableList .row:first-child .cell:first-child{
    width: 30%;
}
.tableList .row:first-child .cell:nth-child(2){
    width: 40%;
}
.tableList .row:first-child .cell:last-child{
    width: 30%;
}
.tableList > div:first-child{    
    font-weight: 500;
    color: var(--primary-color);
}
.tableList .row:nth-child(n+2){
    border-bottom: 1px solid var(--line-color);
}
.tableList .cell {
    display: table-cell; 
    padding: 1.5rem;    
}
.cell.num{
    font-family: 'Roboto';
    letter-spacing: normal;
    word-break: break-all;
    word-wrap: break-word;
}


/* responsive */

@media(max-width: 1025px){
    /* 인사말 */
	.greeting img{
        width:30vw;
    }
    /* 지점안내 */
    .application{
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin: 0;
	}
	.application-title{
		display: flex;
		align-items: center;
	}
	.application-title h2{
		/* font-size: 1.8rem; */
		margin-top: 1rem;
	}
	.application-title p{		
		margin-left: 1.5rem;
		margin-top: 1.5rem;
	}
	.application-items{
		flex-wrap: wrap;
		gap: 1rem;
		margin-bottom: 2rem;
	}
}

@media(max-width: 769px){
     /* 인사말 */
    .greeting{       
        gap: 0;
        margin-bottom: 3rem;
    }
    .greeting img{
        display: none;
    }
    /* 지점안내 */
    .application{
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin: 0;
	}
	.application-title h2{
		font-size: 1.8rem;
		margin-top: 1rem;
	}
	.application-title p{
		display: none;
	}
	.application-items{
		padding: 1.5rem;
		width: 100%;
		flex-wrap: wrap;
		gap: 1rem;
		margin-bottom: 2rem;
	}
    /* 연혁	 */
    .year{
        font-size: 4rem;
    }
    .sub-detail{
        padding: 1rem 1rem 1rem 3rem;
        font-size: 1.4rem;  
    }   
}
@media(max-width: 480px){
    /* 연혁	 */
    .history{
        flex-direction: column;
        padding: 0;
    }
    .year{
        width: 100%;
        border: none;
        background: #f4f4f4;
        border-radius: 6px;
        font-size: 3.6rem;
    }
    .sub-wrap{
        width: 100%;
    }

    .sub-detail{
        font-size: 1.3rem;  
    }  
    .date{
        top:0.3rem;
    }
    .txt{
        letter-spacing: normal;
    }
}

@media(max-width: 401px){
     /* 인사말 */
    .greeting-txt h2, .greeting-txt h3 span{
        font-size: 3rem;
    }
    .greeting-txt h3 span{
        padding: 0 1rem;
    }
    .greeting-txt h3{
        font-size: 2rem;
    }
    .greeting-txt p{
        font-size: 1.4rem;
        line-height: 2.4rem;
        margin: 2rem 0;
    }
    /* 지점안내 */
    .tableList{
        font-size: 1.2rem;
        text-align: left;
    }
    .tableList .row:first-child .cell{
        padding: 1.2rem .5rem;
    }
    .tableList .cell {
        display: table-cell; 
        padding: 1rem .5rem;    
    }
    .tableList .row:first-child .cell:first-child{
        width: 25%;
    }
    .tableList .row:first-child .cell:nth-child(2){
        width: 45%;
    }
}