@font-face {
    font-family: 'GmarketBold';
    src: url(../font/GmarketSansTTFBold.ttf);
}

@font-face {
    font-family: 'GmarketMedium';
    src: url(../font/GmarketSansTTFMedium.ttf);
}

@font-face {
    font-family: 'GmarketLight';
    src: url(../font/GmarketSansTTFLight.ttf);
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 800,
  'GRAD' 0,
  'opsz' 24;
  color:#00A35B;
  font-size: 32px;
}

* {
    margin: 0;
    padding: 0;
    color: #2B2B2B; 
}

body {
    font-family: 'GmarketLight';
}

.shrikhand-regular {
  font-family: "Shrikhand", serif;
  font-weight: 400;
  font-style: normal;
}

#wrap {
    min-width: 1280px;
    background-color: #FFF9F0;
}

a:any-link {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    vertical-align: top;
}

address {
  font-style: normal;
}

/* 텍스트 스타일 */

h1 {
    font-family: 'Shrikhand';
    font-size: 120px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    padding: 40px 0;
    color: #D12027;
}

h2 {
    font-family: 'Shrikhand';
    font-size: 48px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #D12027;
}

h3 {
    font-size: 24px;
    padding: 20px 0;
}

.square h3 {
    font-family: 'GmarketBold';
    font-size: 36px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

/* 디자인 */

#header {
    width: 100%;
    height: 80px;
}

#lnb {
    width: 1280px;
    height: 80px;
    margin: 0 auto;
    display: flex; /* grid → flex로 변경 */
    align-items: center;
    justify-content: space-between;
}

#lnb_home {
    display: flex;
    justify-content: flex-start; /* 왼쪽 끝 */
}

#lnb1 {
    display: flex;
    justify-content: center; /* 정중앙 */
}

#lnb2 {
    display: flex;
    justify-content: flex-end; /* 오른쪽 끝 */
}

#lnb1 > ul {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 30px;
}

#lnb2 > ul {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 10px;
}

#lnb1 a {
    color: #00A35B;
}

#lnb2 a {
    padding: 0 20px;
    color: #00A35B;
}


#lnb1>ul>li {
    font-size: 20px;
    width: 160px;
    text-align: center;
}

#lnb > ul > li > a {
    display: block;
    font-family: 'GmarketBold';
    padding: 10px 0;
}

#lnb1 li {
    position: relative;
}

#lnb1 a {
    font-family: 'GmarketBold';
}

#lnb .sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    background-color: #00A35B;
    width: 100%;
    text-align: center;
    height:0;
    overflow: hidden;
    transition: all 0.2s;
    margin-top: 10px;
}

#lnb .sub > li > a {
    font-family: 'GmarketMedium';
    font-size: 20px;
    display: block;
    padding: 10px 20px;
    line-height: 30px;
    color: #FFF9F0;
}

#lnb1 > ul > li:hover > .sub {
    height: 150px;
}

#lnb .sub, 
#lnb .notice {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    background-color: #00A35B;
    width: 200px;
    text-align: center;
    height:0;
    overflow: hidden;
    transition: all 0.2s;
    margin-top: 10px;
    box-sizing: border-box;
}

#lnb .sub > li > a,
#lnb .notice > li > a {
    font-family: 'GmarketMedium';
    font-size: 20px;
    display: block;
    padding: 10px 0px;
    line-height: 30px;
    color: #FFF9F0;
    white-space: nowrap;
    box-sizing: border-box;
}

#lnb1 > ul > li:hover > .notice {
    height: 150px;
}

.wave {
    width: 100%;
    height: 60px;
    overflow: hidden;
    background-color: #FFF9F0;
}

.wave svg {
    width: 200%;
    height: 100%;
}

.wave-path {
    fill: none;
    stroke: #D12027;
    stroke-width: 8;
    stroke-linecap: round;

    animation: waveMove 12s linear infinite;
}

@keyframes waveMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}



#footer {
    background-color: #222222;
    width: 100%;
    height: 200px;
    margin-top: 160px;
}

#footer_box {
    width: 1280px;
    height: 200px;
    margin: 0 auto;
    display: flex;
}

#footer h2 {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer_right {
    width: 1080px;
    height: 200px;
    display: flex;
}

#fnb_left {
    width: 460px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#fnb_left h5 {
    text-align: center;
    padding: 10px 0;
    color: #F9F7F2;
}

#fnb_left ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 10px 0 0 0;
}

#fnb_left ul li {
    display: flex;
    align-items: center;
}

#fnb_left ul li:not(:last-child)::after {
    content: " | ";
    margin: 0 8px;
    color: #F9F7F2;
}

#fnb_left ul li a {
    display: inline-block;
    color: #F9F7F2;
}

#fnb_right {
    width: 620px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fnb_right address {
    line-height: 1.5;
    color: #F9F7F2;
}

.scroll-handle {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 120px;
    height: 120px;
    z-index: 999;
    cursor: pointer;
}

.scroll-handle img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.handle {
    transform-origin: center;
    transition: transform 0.1s linear;
}
