@charset "utf-8";

/*---------------------------------------------------------------------------------
문서 설명 수정일: 2022-12-14 

[문서 설명]
  1. 반응형 관련 코드를 관리합니다.
---------------------------------------------------------------------------------*/

/*---------- 가로 사이즈 대응: 375px 이하 ----------*/
@media screen and (max-width: 375px) {
	/* Button */
	button {
		font-size: 1.7rem;
	}
	.buttons button:last-of-type {
		margin-left: 10px;
	}
	.buttons button:first-of-type {
		margin-left: 0;
	}

	/* Typography */
	p.tip {
		font-size: 1.3rem;
	}
	.text-with-label {
		font-size: 1.4rem;
	}

	/* 상단 탭 버튼 */
	.btn-tab-top .tab {
		padding: 10px;
		font-size: 1.6rem;
		margin-left: 4px;
	}
	.btn-tab-top.small .tab {
		margin-left: 0;
	}

	/* Table */
	table.plain th,
	table.plain td {
		font-size: 1.4rem;
	}
	table.information-box th,
	table.information-box td {
		font-size: 1.3rem;
	}

	/* 안내·설명 화면 & 비밀번호 입력 화면 */
	.account-password .title-wrap {
		margin-top: 40px;
	}
	.notice .title-wrap h2 {
		font-size: 2.3rem;
	}
	.account-password .tip {
		margin-top: 10px;
	}
	.private-number {
		margin-top: 20px;
	}
	.private-number.pattern {
		margin-top: 30px;
	}
	.private-number.ca .dot {
		margin-left: 4px;
	}
	.account-password .info-wrap {
		margin-top: 20px;
	}
	.notice .title-wrap .sub-message {
		font-size: 1.6rem;
	}

	/* Modal 공통 */
	.modal.bottom .header {
		padding: 20px 20px 0;
	}
	.modal.bottom .header .btn-close {
		top: 10px;
		right: 10px;
	}
	.modal.bottom .contents {
		margin: 0 20px;
	}
	.modal .contents.has-border {
		margin-top: 20px;
	}
	.modal.bottom .buttons {
		margin: 20px 20px 40px;
	}
	.modal.bottom.event .buttons {
		padding: 0 10px;
	}
	.modal .options {
		margin-bottom: 20px;
	}
	.modal .options li {
		padding: 16px 20px;
	}
	.modal .contents.full .input-options {
		padding: 0 20px 20px;
	}
	.modal .btn-tab-top {
		margin: 0 20px;
	}

	/* 공동 인증서 */
	.ca::before {
		margin-right: 10px;
	}
	.ca .row .label {
		width: 45px;
	}

	/* 은행증권사 선택 팝업 */
	.wrap.modal_select-bank .contents ul li {
		font-size: 1.5rem;
	}
	.wrap.modal_select-bank .contents ul li img {
		width: 20px;
		height: 20px;
	}

	/* 계좌 선택 팝업 */
	.wrap.modal_select-account .header {
		padding-bottom: 10px;
	}
	.wrap.modal_select-account .btn-tab-secondary {
		padding: 0 20px;
	}
	.btn-tab-secondary div {
		font-size: 1.7rem;
		margin-left: 14px;
	}
	.modal .receive-account {
		padding: 14px 0;
	}
	.modal .receive-account:last-of-type {
		margin-bottom: 0;
	}
	.receive-account .receiver,
	.receive-account .main-text {
		font-size: 1.6rem;
	}
	.receive-account img {
		margin-right: 10px;
	}

	/* 홈 */
	.fic-level-summary .text-wrap .exp {
		font-size: 1.6rem;
	}
	.fic-level-info-wrap .exp-bar .step p {
		font-size: 1.1rem;
	}

	/* 홈 - 픽레벨 */
	.table-fic-level-ranking td {
		font-size: 1.3rem;
	}
	.table-fic-level-ranking img {
		width: 30px;
		height: 15px;
		margin-right: 4px;
	}
	.table-fic-level-ranking-other {
		font-size: 1.3rem;
		padding: 10px 8px;
	}

	/* 메뉴 - 쿠폰함 */
	.wrap.coupon .coupon-detail .coupon-img img {
		width: 180px;
		height: 180px;
		margin-bottom: 12px;
	}
	.wrap.coupon .coupon-detail .coupon-info .coupon-name {
		font-size: 2.4rem;
		margin: 2px 0;
	}
	.coupon-detail .coupon-info .validity {
		font-size: 15px;
	}
	.wrap.coupon .coupon-detail .barcode img {
		max-width: 198px;
	}

	/* 모든 계좌 */
	.account-list .account .account-number,
	.account-list .account .expire-date,
	.account-list .account .balance-loan {
		font-size: 1.3rem;
	}

	/* 이체하기 > 이체계좌 선택 */
	.receive-account .account-info span {
		display: block;
	}

	/* 이체 완료 */
	.round-border-box .text-with-label {
		margin-bottom: 14px;
		font-size: 1.4rem;
	}

	/* 다른금융 이용안내 */
	.wrap.introduce.other-bank .introduce-slider .text-wrap {
		margin-bottom: 8vh;
	}
	.wrap.introduce.other-bank .introduce-slider .dots {
		bottom: 48vh;
	}
	.wrap.introduce.other-bank .introduce-slider .img-container {
		height: 45vh;
	}

	/* 금융몰 */
	.wrap.products .slider .slide .title {
		font-size: 2.3rem;
	}
}

/*---------- 가로 사이즈 대응: 320px 이하 ----------*/
@media screen and (max-width: 320px) {
	/* Button */
	.btn-tab-card div {
		font-size: 1.4rem;
	}

	/* Main */
	.wrap.simple-certification_register .title-wrap,
	.wrap.simple-certification_register_explanation .title-wrap,
	.wrap.simple-certification_register_explanation .explanation:last-of-type {
		margin-bottom: 34px;
	}
	main .title-wrap h2 {
		font-size: 2.2rem;
	}

	/* Input & Forms */
	.btn-tab label {
		font-size: 1.5rem;
	}
	table.formal.border tr th,
	table.formal.border tr td {
		font-size: 1.3rem;
		padding: 8px 3px;
	}

	/* Modal 공통 */
	.modal {
		padding-bottom: 10px;
	}
	.modal .header .btn-close {
		right: 4px;
	}
	.modal .contents {
		padding: 30px 10px 0;
	}
	.modal p,
	.modal li,
	.modal .description,
	.modal.bottom.modal-notice .description {
		font-size: 1.4rem;
	}
	.modal .buttons {
		padding: 0 10px;
	}

	/* 홈 */
	.banner.continue .btn-continue-open-account::before {
		margin-right: 10px;
	}
	.banner.continue .btn-continue-open-account .title {
		font-size: 1.6rem;
	}
	.banner.continue .btn-continue-open-account .title + .description {
		font-size: 1.3rem;
		margin-top: 2px;
	}
	.fic-level-info-wrap .medal-img {
		width: 40px;
		min-width: 40px;
		height: 40px;
		background-size: 40px !important;
	}
	.fic-level-summary .text-wrap .exp {
		font-size: 1.2rem;
	}
	.fic-level-summary .text-wrap .exp span {
		font-size: 1.5rem;
	}
	.wrap.home .banner.event img {
		margin-right: 10px;
	}
	.wrap.home .banner.event .text-wrap .title {
		font-size: 1.6rem;
	}

	/* 홈(비회원) */
	.wrap.none-member .card {
		margin-top: 10px;
	}
	.wrap.none-member .card img {
		width: 74px;
	}
	.wrap.none-member .title {
		font-size: 1.6rem;
	}

	/* 홈 > 나의 픽레벨 */
	.wrap.ficlevel .fic-level-info-wrap .medal-img {
		width: 150px;
		height: 150px;
		background-size: 150px !important;
	}
	.ranking .tooltip-wrap {
		top: 40px;
		right: 0;
		font-size: 1.3rem;
	}
	.table-fic-level-ranking {
		margin-top: 36px;
	}

	/* 본인인증 */
	.input-credit-card input {
		padding: 0 9px;
	}

	/* 모든계좌(비회원) */
	.wrap.accounts.none-member .card {
		padding: 18px;
	}
	.wrap.accounts.none-member .card img {
		width: 70px;
		height: 70px;
	}

	/* 모든 계좌 > 계좌 조회 */
	.account-main-info .row {
		margin-bottom: 4px;
	}

	/* 모든 계좌 > 거래내역 */
	.account-summary table th,
	.account-summary table td {
		font-size: 1.4rem;
	}
	.list-header .filtering,
	.trade-list-wrap .btn-view-statement {
		font-size: 1.4rem;
	}

	/* 이체하기 > 이체계좌 선택 */
	.transfer .amount-to-send {
		font-size: 3.2rem;
	}

	/* 인증/보안 */
	.img-group-row .ico-more {
		margin: 0 7px;
	}

	/* 친환경 동참 서약서 */
	.wrap.products_detail.eco-pledge .product-detail-summary {
		padding-bottom: 200px;
	}
	.wrap.products_detail.eco-pledge .product-detail-summary .title {
		font-size: 2.6rem;
	}
	.wrap.products_detail.eco-pledge .product-detail-summary img {
		width: 160px;
		right: 20px;
	}
}

/*---------- 세로 사이즈 대응: iPhone 5, SE ----------*/
@media screen and (max-height: 568px) {
	/* Layout */
	footer .buttons {
		padding-bottom: 20px;
	}
	footer::after {
		padding-bottom: 60px;
	}

	/* Form */
	form button[type="submit"] {
		margin-bottom: 20px;
	}

	/* 홈(비회원) */
	.wrap.none-member .card img {
		width: 60px;
		height: 60px;
	}

	/* OX 퀴즈 */
	.quiz-box {
		margin-bottom: 0;
	}

	/* Modal */
	.modal.bottom footer::after {
		padding-bottom: 20px;
	}
	.modal.bottom .buttons {
		margin-bottom: 20px;
	}
	.modal .buttons + a {
		margin-top: -10px;
	}
	.modal.bottom .contents .buttons {
		margin-bottom: 20px;
	}
	.modal.event .header {
		height: 40px;
		padding-top: 0;
	}
	.modal.event .slide-wrap {
		height: 280px;
	}
	.modal .modal_center_event .slide-wrap {
		height: auto;
	}
	.modal.event .buttons {
		margin-top: 20px;
	}
	.modal.event.full .header {
		height: 0;
	}

	/* 안내·설명 화면 & 비밀번호 입력 화면 */
	.notice .title-wrap,
	.password .title-wrap {
		margin: 16px 0;
	}
	.notice .info-wrap.has-border {
		margin-top: 20px;
	}
	.notice .tip,
	.password .tip {
		margin-top: 10px;
	}
	.password .description {
		font-size: 1.3rem;
		margin-top: 10px;
	}
	.password .description li {
		font-size: 1.2rem;
	}
	.password .info-wrap a {
		font-size: 1.2rem;
	}
	.table-secure-card-number {
		margin-top: 10px;
	}

	/* keypad */
	.keypad .quick-button-wrap {
		margin-bottom: 10px;
	}
	.keypad.has-quick-buttons .number {
		font-size: 2.1rem;
	}
	.keypad .submit-button {
		margin-bottom: 0;
	}

	/* 검색 화면 */
	.address-card {
		font-size: 1.5rem;
	}
	main .nodata {
		padding: 10vh 0;
	}

	/* 이체 */
	.transfer .withdrawal-account-wrap .balance {
		margin-top: 0;
	}

	/* 이체 완료 */
	.transfer_fin .info-wrap {
		bottom: 90px;
	}

	/* 다른금융 이용안내 */
	.wrap.introduce.other-bank .introduce-slider {
		margin-bottom: 60px;
	}
	.wrap.introduce.other-bank .introduce-slider .text-wrap {
		margin-bottom: 34px;
	}
	.wrap.introduce.other-bank .introduce-slider .text-wrap h3 {
		font-size: 2rem;
	}
	.wrap.introduce.other-bank .introduce-slider .dots {
		bottom: calc(40vh + 14px);
	}
	.wrap.introduce.other-bank .introduce-slider .img-container {
		height: 40vh;
	}
}

/*---------- 세로 사이즈 대응: iPhone 4 ----------*/
@media screen and (max-height: 480px) {
	/* Header */
	header.main {
		min-height: 44px;
	}

	/* Nav */
	nav {
		min-height: 59px;
		padding: 8px 0 2px;
	}
	nav div img {
		width: 22px;
		height: 22px;
	}
	nav div p {
		margin-top: 0;
	}

	/* 홈 */
	.btn-go-top.show {
		bottom: 64px;
	}

	/* 홈(비회원) */
	.wrap.home.none-member main {
		padding-top: 10px;
		padding-bottom: 59px;
	}

	/* Button */
	button {
		height: 45px;
		min-height: 45px;
	}
	.search-input-block button {
		height: 50px;
		min-height: 50px;
	}
	.account-summary-wrap .buttons button {
		height: 50px;
	}

	/* Keypad */
	.keypad .quick-button-wrap {
		margin-bottom: 0;
	}
	.keypad .quick-button-wrap button {
		height: 26px;
		font-size: 1.4rem;
	}

	/* 앱 소개 */
	.introduce-slider .slide .text-wrap {
		margin-bottom: 30px;
	}
	.introduce-slider .slide .title {
		font-size: 2rem;
	}
	.introduce-slider .slide .description {
		font-size: 1.4rem;
		margin-top: 4px;
	}
	.introduce-slider .dots {
		position: absolute;
		bottom: calc(56vh + 8px);
	}

	/* 이체 */
	.transfer .withdrawal-account-wrap .account-type {
		font-size: 1.4rem;
	}
	.transfer .withdrawal-account-wrap .balance {
		margin-top: 0;
	}
	.transfer .description {
		font-size: 1.3rem;
	}
	.transfer .description a {
		font-size: 1.3rem;
	}

	/* 이체 완료 */
	.transfer_fin .info-wrap {
		bottom: 80px;
	}
	.round-border-box {
		padding: 15px;
	}
	.round-border-box .text-with-label {
		margin-bottom: 6px;
	}
	.round-border-box .header {
		margin-bottom: 6px;
	}
}

/*---------- 비율 대응: 가로 화면인 경우 ----------*/
@media screen and (orientation: landscape) {
	.wrap.home.none-member.fit {
		display: block;
		overflow-y: auto;
	}
	.btn-go-join {
		margin: 5vw 0;
	}
}

/*---------- 가로 사이즈 대응: 태블릿 이상 ----------*/
@media screen and (min-width: 768px) {
	/* Header */
	header.main .logo {
	  height: 36px;  /* height로 태블릿 이상일 때의 로고 사이즈 조정 */
	}
  }
  