@import url(./reset.css);
@import url(./fonts.css);
:root{
     /* 화면에 따른 수치 */
    --basic-font-pc:28px;
    --basic-font-tab:16px;
    --basic-font-mobile:14px;

    --font-main: '2uc-main-font', sans-serif;
    --font-point: '2uc-point-font', sans-serif;

    --main-color: #06311E;
    --point-color-1: #2C3333;
    --point-color-2: #476F91;
    --neutral-color: #FBFBFB;

    --font-size-pc: 18px;
    --font-size-pad: 16px;
    --font-size-mobile: 14px;

    --heading-1: 1.601rem;
    --heading-2: 1.423rem;
    --heading-3: 1.265rem;
    --heading-4: 1.125rem;
    --body-1: 1rem;
    --body-2: 0.875rem;
    --detail:0.765rem;     

    --bold-weight: 700;
    --medium-weight: 500;
    --light-weight: 300;

    --margin-top-pc:10rem;
    --gap-pc:1rem;
    --margin-main-text: 2rem;
    --margin-sub-text: 1rem;

}
.fw-100 { font-weight: 100; }
.fw-200 { font-weight: 200; }
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
html{
    font-family: var(--font-main);
    font-weight: var(--medium-weight); 
    line-height: 1.4;
    font-size: var(--font-size-pc);
}
body{
    padding-top: 80px;
    background-color: var(--neutral-color);
}

.common-frame{
    width: 1440px;
    margin: 0 auto;
}
img{
    display: block;
    max-width: 100%;  /* 부모 요소의 폭을 넘지 않게 함 */
    height: 100%;   
    object-fit: cover;
}
input::-ms-reveal,
input::-ms-clear {
    display: none;
}
button {
    background: none;
    border: none;
    padding: 0;
    
    font: inherit;
    color: inherit;
    
    outline: none;    
    box-shadow: none;
    border-radius: 0;
    
    cursor: pointer;
    
    vertical-align: middle;
}
legend {
    display: block;        /* 블록 요소로 변경 */
    width: 100%;           /* 너비 확보 */
    padding: 0;
    margin-bottom: 10px;   /* 텍스트와 아래 요소 사이 간격 (선택) */
    font-size: 1rem;
    font-weight: bold;
    border: 0;             /* 테두리 제거 */
    color: inherit;
}
select {
    /* 1. 브라우저 기본 스타일 제거 (가장 중요) */
    -webkit-appearance: none;  /* Safari, Chrome */
    -moz-appearance: none;     /* Firefox */
    appearance: none;          /* 표준 속성 */

    /* 2. 폰트 및 컬러 상속 */
    font-family: inherit;
    font-size: inherit;
    color: inherit;

    /* 3. 테두리 및 배경 초기화 */
    background-color: transparent;
    border: none;  /* 원하는 테두리 설정 */
    border-radius:none;      /* 둥근 모서리 제어 */
    
    /* 4. 여백 조정 */
    padding: 0px; /* 오른쪽은 화살표 들어갈 공간 확보 */
    margin: 0;
    
    /* 5. 레이아웃 관련 */
    display: block;
    /* width: 100%; */
    cursor: pointer;
    box-sizing: border-box;
}
.light{
    font-weight: var(--light-weight);
}
.medium{
    font-weight: var(--medium-weight);
}
.bold{
    font-weight: var(--bold-weight);
}
.body2{
    font-size: var(--body-2);
}
.detail{
    font-size: var(--detail);
}
.point{
    font-family: var(--font-point);
    font-weight: var(--medium-weight);
}
h1{
    font-size: var(--heading-1);
    font-weight: var(--bold-weight);
}
h2{
    font-size: var(--heading-2);
    font-weight: var(--bold-weight);
}
h3{
    font-size: var(--heading-3);
    font-weight: var(--bold-weight);
}
h4{
    font-size: var(--heading-4);
    font-weight: var(--bold-weight);
}
.flex{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.magin05{
    margin-bottom: .5rem;
}
.magin1{
    margin-bottom: 1rem;
}
.magin2{
    margin-bottom: 2rem;
}
.magin10{
    margin-bottom: 10rem;
}

.gray{
    color: #9C9C9C;
}
.main-color{
    color: var(--main-color);
}

/* 웹킷 계열의 브라우저 -> 크롬 엣지 사파리 */
::-webkit-scrollbar{
    width: 0px;
    height:0px;
}

::-webkit-scrollbar-thumb{
    background: inherit;
}

::-webkit-scrollbar-track{
    background-color:inherit;
}

/* 스와이퍼 공통 스타일 */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width:1440px){
    main{
        margin-top: 5rem;
    }
    html{
        font-size:var(--basic-font-tab);
    }
    .common-frame{
        width:auto;
        margin:0 2rem;
    }
    body{
        padding-top: 70px;
    }
    .mo{display: none;}
    .tab{display: block;}
    .pc{display: none;}
}
@media (max-width:768px){
    .tab{display: none;}
    .pc{display: none;}
    .mo{display: block;}
    html{
        font-size: var(--basic-font-mobile);
    }
    body{
        padding-top: 50px;
    }
    .common-frame{
        width:auto;
        margin:0 2rem;
    }
    .none-mo{
        display: none;
    }
}