@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.5;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    word-break: keep-all;
}

html {
    scroll-behavior: smooth;
}

:root {
    --header: 90px;
    /* 폰트 */
    --gb: "Gowun Batang", serif;
    --tg: "The Glorious", sans-serif;

    /* 텍스트 */
    --primary: #1a1a1a;
    --secondary: #3d3d3d;
    --body: #4a4a4a;
    --text-accent: #ffb6c1;
    --unaccess: #6b6b6b;

    /* 메인 */
    --main-color: #ffb6c1;

    /* padding */
    --pd: 5%;
}

body {
    font-family: "Pretendard Variable", Pretendard, -apple-system,
        BlinkMacSystemFont, system-ui, Roboto, "The Glorious", sans-serif,
        "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR",
        "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

span {
    display: block;
}

section {
    position: relative;
}

a {
    display: inline-flex;
    align-items: center;
}

.flex-wrap {
    display: flex;
}

.sub .flex-wrap {
    max-width: 1720px;
    margin: 0 auto;
}

.sec-title {}

.sec-title span {
    font-size: 1.5rem;
    color: #ad8282;
    font-family: var(--tg);
    display: block;
    font-weight: 400;
}

.sec-title h3 {
    font-family: var(--gb);
    font-size: clamp(1.75rem, 2.083vw, 2.5rem);
    line-height: 1.5;
    font-weight: normal;
}

.sec-title>p {
    margin-top: 1.2rem;
    color: var(--secondary);
}

/* motion */
.motion a {
    padding: 0.375rem 1rem;
    overflow: hidden;
    color: #fff;
    position: relative;
    text-align: left;
    overflow: hidden;
}

.motion a img {
    cursor: pointer;
}

.motion:hover a {
    border: 1px solid #fff;
    border-radius: 5rem;
    background: rgba(0, 0, 0, 0.28);
}

.motion a span {
    display: block;
    font-family: var(--tg);
    text-align: left;
    width: 0;
    transition: 0.5s;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    text-wrap: nowrap;
}

.motion:hover a span {
    transition: 0.65s cubic-bezier(0.7, 0.3, 0.2, 1);
    transform: translateX(0);
    width: 135px;
    padding-left: 0.875rem;
    opacity: 1;
    overflow: hidden;
}

/* bt */
.bt {
    position: relative;
    z-index: 1;
    border-radius: 50%;
    border: 1px solid var(--secondary);
    padding: 1.125rem 2.25rem;
    transition: 0.3s;
    font-family: var(--tg);
    line-height: 1;
}

.bt.arrow i {
    font-style: normal;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 80%;
    z-index: -1;
}

.bt:hover {
    background: var(--secondary);
    color: #fff;
}

/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    height: var(--header);
    width: 100%;
    background: transparent;
    color: #fff;
    z-index: 9;
}

header .header-wrap {
    display: flex;
    position: relative;
    z-index: 9;
    background: transparent;
    align-items: center;
    padding-block: 1rem;
    padding-inline: var(--pd);
    justify-content: space-between;
}

header .header-wrap .menu {
    display: flex;
    gap: 2.2vw;
}

header .header-wrap .menu li a {
    width: 100%;
    font-weight: 600;
    height: 100%;
    padding: 1rem;
    transition: 0.3s;
    background-image: linear-gradient(45deg, #ffb6c1, transparent);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 97%;
}

header .header-wrap .menu li a:hover {
    background-size: 100% 2px;
}

header .header-wrap .ham {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.3rem;
    height: 100%;
    padding: 0.9rem 0;
    padding-right: 0;
}

header .header-wrap .ham .ham-line {
    display: block;
    background-color: #fff;
    border-radius: 50rem;
    width: 2rem;
    height: 2px;
    transition: 0.3s;
}

header .ham-bt {
    overflow: hidden;
}

#ham-toggle:checked~.ham .ham-line:first-child,
#ham-toggle:checked~.ham .ham-line:last-child {
    transform: translateX(-200%);
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

/* main */
.m1 {
    height: 90dvh;
    background: url(../1x/m1-bg.jpg) no-repeat center / cover;
    background-attachment: fixed;
    transition: 1s;
    /* animation: 5s scaledown ease forwards; */
}

@keyframes scaledown {
    0% {
        background-size: 110%;
    }

    100% {
        background-size: 100%;
    }
}

.m2 {
    position: relative;
    background: url(../1x/m2-bg.jpg) no-repeat center / cover;
    text-align: center;
    margin: 0 auto;
    min-height: 620px;
}

.main-circle {
    max-width: 300px;
    margin: 0 auto;
    opacity: 0;
    position: relative;
    z-index: 1;
    transform: translateY(-50%);
    align-content: center;
    animation: show 1.5s 0.7s ease forwards;
}

@keyframes show {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.main-circle h2 {
    font-family: var(--tg);
    font-weight: 400;
    color: var(--primary);
    font-size: clamp(1.75rem, 1.98vw, 2.375rem);
    position: absolute;
    align-content: center;
    inset: 0;
    text-align: center;
}

.main-circle .circle {
    transform-origin: center;
    display: flex;
    z-index: -1;
    inset: 0;
    animation: rotate 25s infinite linear;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.main-circle .circle img {
    margin: 0 auto;
}

.m2 .line {
    position: absolute;
    margin: 0 auto;
    width: 1px;
    background: var(--secondary);
    height: 100px;
    transform: translateY(-100%);
    left: 50%;
}

.m2>p {
    color: var(--secondary);
    font-size: 1.125rem;
    margin-block: 2.25rem 2.75rem;
    line-height: 1.62;
}

.m3 .box {
    width: 100%;
    position: relative;
    z-index: 1;
    align-content: center;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
    height: 610px;
    margin-bottom: 10rem;
}

.m3 .box:hover {
    color: #2a2a2a;
    text-shadow: 4px 4px 10px #0000002b;
    transition: 0.2s;
}

.m3 .box .bg {
    position: absolute;
    background: linear-gradient(320deg, rgb(227, 195, 194), #ffffff);
    inset: 0;
    z-index: -1;
    display: block;
    opacity: 0;
    transition: 0.25s;
}

.m3 .box:hover .bg {
    opacity: 1;
}

.m3 .box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(221, 202, 202, 0.08);
    /* background: linear-gradient(rgba(221, 202, 202, 0.2), rgba(221, 202, 202, 0.3)); */
    transition: 0.3s ease;
}

.m3 .box:hover::before {
    opacity: 0;
}

.m3 .box1 {
    background-image: url(../1x/m3-bg1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.m3 .box2 {
    background-image: url(../1x/m3-bg2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.m3 .box h4 {
    position: relative;
    font-family: var(--gb);
    font-weight: 700;
    font-size: clamp(1.625rem, 1.98vw, 2.375rem);
    line-height: 1.65;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.m3 .box h4::before {
    position: absolute;
    content: "";
    display: block;
    bottom: 0;
    background-color: #fff;
    width: 100%;
    height: 1px;
}

.m3 .box:hover h4::before {
    background: #484848;
}

.m3 .box p {
    line-height: 1.6;
    letter-spacing: -0.2px;
    opacity: 0;
    height: 0;
    transition: 0.5s;
}

.m3 .box:hover p {
    opacity: 1;
    padding-bottom: 2rem;
    height: auto;
}

.m4 {
    padding-left: var(--pd);
    padding-bottom: 11rem;
}

.m4-swiper {
    margin-top: 4rem;
    padding-left: 0.3rem;
    border-top: 1px solid #ad8282;
}

.m4-swiper .swiper-slide {
    cursor: grab;
    margin-right: 40px;
}

.m4-swiper .desc span {
    position: relative;
    text-indent: -0.2vw;
    font-family: var(--tg);
    color: #ad8282;
    padding-block: 1rem 0.65rem;
    font-size: clamp(1rem, 1.667vw, 2rem);
}

.m4-swiper .desc span::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 200%;
    height: 1px;
    background: #ad8282;
}

.m4-swiper .desc .line {
    position: relative;
    width: 1px;
    background: #ad8282a6;
    height: 100px;
    margin-left: 2px;
}

.m4-swiper .desc .line::before {
    position: absolute;
    top: -4px;
    content: "";
    transform: translateX(-50%);
    display: block;
    left: 1px;
    width: 8px;
    aspect-ratio: 1;
    border-radius: 50rem;
    background: #ad8282;
}

.m4-swiper .desc h4 {
    font-family: var(--gb);
    color: var(--secondary);
    text-indent: -0.08vw;
    font-weight: 400;
    font-size: clamp(1.375rem, 1.667vw, 2rem);
    line-height: 1.5;
    margin-block: 0.45rem 0.7rem;
}

.m4-swiper .desc p {
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: -0.2px;
    margin-bottom: 2.25rem;
}

.m5 {
    position: relative;
    background: #f9eded;
    height: 100vh;
    /* padding-block: 6rem; */
    overflow: hidden;
    z-index: 1;
}

.m5-before {
    position: absolute;
    left: 0;
    bottom: -5%;
    z-index: -1;
}

.m5 .flex-wrap {
    height: 100%;
    align-items: center;
}

.m5 .sec-title {
    width: 35%;
    padding-left: var(--pd);
    padding-bottom: 10%;
}

.m5 .sec-title>span {
    position: relative;
    display: inline;
    padding-bottom: 0.375rem;
}

.m5 .sec-title>span::before {
    position: absolute;
    bottom: 0;
    width: 200%;
    left: -100%;
    content: "";
    display: block;
    height: 1px;
    background: #ad8282;
}

.m5 .sec-title>h3 {
    margin-top: 0.85rem;
}

.m5 .sec-title>p {
    color: var(--body);
    margin-block: 2rem 2.5rem;
    line-height: 1.58;
    letter-spacing: -0.1px;
}

.m5-swiper {
    flex: 1;
    min-width: 65%;
    /* position: absolute; */
    /* transform: translateX(20%); */
}

.m5-swiper .swiper-slide {
    border-radius: 50rem 0 0 0;
    transform: translateX(90%);
    overflow: hidden;
    transition: 0.8s;
    transform-origin: bottom right;
}

.m5-swiper .swiper-slide img {
    scale: 0.6;
    width: 100%;
    transition: 0.2s ease-out;
    opacity: 0;
    aspect-ratio: 4 / 5;
    transform-origin: bottom right;
}

/* .m5-swiper .swiper-slide img {
                aspect-ratio: 3 / 4;
            } */
.m5-swiper .swiper-slide:not(.swiper-slide-active) img {
    border-radius: 50rem 0 0 0;
    overflow: hidden;
    transition: 0.5s ease-out;
}

.m5-swiper .swiper-slide-active {
    border-radius: 150rem 150rem 0 0;
}

.m5-swiper .swiper-slide-active img {
    scale: 1;
    opacity: 1;
    transition: 0.7s;
}

.m5-swiper .swiper-slide-prev img {
    scale: 0.6;
    opacity: 1;
    border-radius: 50rem 0 0 0;
    overflow: hidden;
}

.m5-prev {
    position: absolute;
    left: 5%;
    bottom: 0;
    z-index: 9;
    cursor: pointer;
}

.m5-next {
    position: absolute;
    right: 1rem;
    bottom: 0;
    z-index: 9;
    cursor: pointer;
}

/* .m5-swiper .swiper-slide-next {
                opacity: 0;
            } */
.m6 {
    position: relative;
    z-index: 1;
    text-align: center;
    align-content: center;
    background: url(../1x/m6-bg.jpg) no-repeat center / cover;
    background-attachment: fixed;
    min-height: 82dvh;
}

.m6::before {
    position: absolute;
    content: "";
    inset: 1rem;
    display: block;
    border-image: url(../1x/border-pat.png);
    z-index: -1;
    border-image-slice: 100;
    border-image-width: 100px;
    pointer-events: none;
}

.m6 .sec-title {
    color: #fff;
}

.m6 .sec-title span {
    color: var(--main-color);
}

.m6 .sec-title p {
    color: #fff;
    margin-top: 1.5rem;
    line-height: 1.75;
}

.m6 .bt {
    margin-top: 2.5rem;
    border: 1px solid var(--main-color);
    background: rgba(0, 0, 0, 0.05);
    color: var(--main-color);
    font-weight: 700;
    letter-spacing: 0.45px;
}

.m6 .bt:hover {
    background: var(--main-color);
    color: #fff;
}

/* sub */
.sub-title {
    padding-top: var(--header);
}

.sub-title h2 {
    line-height: 1.8;
    padding-top: 5px;
    width: 100%;
    border-top: 1px solid var(--secondary);
    border-bottom: 1px solid var(--secondary);
    font-family: var(--tg);
    font-weight: normal;
    color: var(--secondary);
    font-size: clamp(1.5rem, 1.667vw, 2rem);
    text-align: center;
}

.s1 .sub-title {
    background: #f9eded;
}

.s1-1 {
    background: #f9eded;
}

.s1-1 .flex-wrap {
    justify-content: space-between;
    padding-left: var(--pd);
    align-items: center;
}

.s1-1 .flex-wrap .sec-title h3 {
    color: #ad8282;
    font-family: var(--tg);
}

.s1-1 .flex-wrap .sec-title p {
    line-height: 1.75;
    margin-block: 1.5rem 2.5rem;
}

.s1-1 .flex-wrap .imgbox {
    min-width: 60%;
    background: bisque;
    height: min(82.54vh, 780px);
    background: url(../1x/s1-1-bg.jpg) no-repeat center / cover;
}

.s1-2 {
    background: url(../1x/m2-bg.jpg) no-repeat center / cover;
    padding-bottom: 5.5rem;
}

.s1-2-swiper {
    overflow: visible;
}

.s1-2 .swiper-slide {
    padding-left: var(--pd);
}

.s1-2 .swiper-slide .flex-wrap {
    align-items: center;
}

.s1-2 .swiper-slide .cer {
    min-width: 38%;
}

.s1-2 .swiper-slide .cer img {
    transform: translateY(-8%);
}

.s1-2 .swiper-slide .desc {
    position: relative;
}

.s1-2 .swiper-slide .desc p {
    line-height: 1.7;
    color: var(--secondary);
    letter-spacing: -0.15px;
    margin-top: 2rem;
}

.swiper-bt {
    margin-top: 1.25rem;
    display: flex;
}

.swiper-bt>div {
    cursor: pointer;
    padding: 0.75rem;
}

.s1-3 {
    padding-block: 10rem;
    background: linear-gradient(#fcf6f2 80%, transparent);
    border-radius: 100% 100% 0 0;
}

.s1-3 .sec-title {
    text-align: center;
    margin: 0 auto;
}

.s1-3 .sec-title h3 {
    position: relative;
    color: #ad8282;
    display: inline-block;
}

.s1-3 .sec-title h3::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ad8282;
}

.s1-3 .sec-title p {
    margin-top: 2rem;
    line-height: 1.6;
}

.s1-3 ul {
    padding-top: 7rem;
    display: flex;
    justify-content: center;
    max-width: 1720px;
    margin: 0 var(--pd);
    margin: 0 auto;
}

.s1-3 ul li .imgbox {
    z-index: 1;
    position: relative;
}

.s1-3 ul li .imgbox::before {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    top: 50%;
    margin: 0 auto;
    opacity: 0.5;
    left: 0;
    background: #3d3d3d;
    z-index: -1;
    transform: translateY(-50%);
    height: 1px;
}

.s1-3 ul li {
    flex: 1;
    text-align: center;
    color: var(--secondary);
}

.s1-3 ul li img {
    margin: 0 auto;
}

.s1-3 ul li p {
    margin-top: 1.75rem;
}

.s1-3 ul li span {
    display: inline-block;
    font-size: 1.125rem;
    color: #ad8282;
    font-weight: bold;
    font-family: var(--tg);
    transform: translate(-50%);
    font-style: italic;
}

.s1-4 {
    padding-left: var(--pd);
    scroll-behavior: smooth;
    margin-block: 7rem 7.25rem;
}

.history {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    width: 100%;
    margin-top: 2rem;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-marker-group: after;
    /* 터치/드래그 스크롤을 위한 추가 속성 */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-color: #ad8282 #f0f0f0;
    /* 썸(thumb) 색상, 트랙(track) 색상 */
    scrollbar-width: auto;
    /* auto, thin, none 중 선택 */
    scroll-behavior: smooth;
}

.history::-webkit-scrollbar {
    height: 10px;
}

.history::-webkit-scrollbar-track {
    background: #f0f0f0;
    /* 트랙(배경) 색상 */
    border-radius: 10px;
}

.history::-webkit-scrollbar-thumb {
    background: #ad8282;
    /* 썸(드래그하는 부분) 색상 */
    border-radius: 10px;
}

.history::-webkit-scrollbar-thumb:hover {
    background: #8b6969;
    /* 호버 시 색상 */
}

.history::scroll-button(right),
.history::scroll-button(left) {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 2.75rem 0.75rem;
    content: "";
    cursor: pointer;
    height: 36px;
    width: 60px;
    border: none;
    background: url(../1x/s1-2-next.png) no-repeat center / contain;
}

.history::scroll-button(left) {
    background: url(../1x/s1-2-prev.png) no-repeat center / contain;
}

.history::scroll-marker-group {
    display: flex;
    gap: 2.4em;
    place-content: center;
    background: blue;
}

.history li::scroll-marker {
    display: none;
    /* display: inline-block; */
    content: "";
    border: 10px solid red;
    border-radius: 50rem;
    overflow: hidden;
}

.history li::scroll-marker:target-current {
    background: red;
}

.history li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 2rem;
}

.history li h4 {
    color: #ad8282;
    font-family: var(--tg);
    font-size: clamp(1.75rem, 2.083vw, 2.5rem);
    font-weight: normal;
}

.history li p {
    color: var(--secondary);
}

.s1-5 {
    height: 300px;
    background: url(../1x/s1-5-bg.jpg) no-repeat center / cover;
    background-attachment: fixed;
}

.s1-6 {
    background: url(../1x/s1-6-bg.png) no-repeat center / cover;
    padding-inline: var(--pd);
    padding-block: 12.5rem 10rem;
}

.s1-6 .flex-wrap {
    align-items: center;
    justify-content: space-between;
}

.s1-6 .sec-title {
    padding-bottom: 10%;
}

.s1-6 .sec-title p {
    line-height: 1.6;
}

.s1-6 .news {
    display: flex;
    gap: 2.8rem;
}

.s1-6 .news .item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 490px;
    height: 530px;
    border-radius: 2rem;
    overflow: hidden;
    transition: 0.5s;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
}

.s1-6 .news .item:hover {
    transform: translateY(-20px);
}

.s1-6 .news .item::before {
    position: absolute;
    z-index: -1;
    transition: 0.3s;
    inset: 0;
    content: "";
    background: rgb(0, 0, 0, 0.2);
}

.s1-6 .news .item:hover::before {
    opacity: 0;
}

.s1-6 .news .item:nth-of-type(even) {
    margin-top: 15%;
}

.s1-6 .news .item1 {
    background: url(../1x/s1-6-1.jpg) no-repeat center / cover;
}

.s1-6 .news .item2 {
    background: url(../1x/s1-6-2.jpg) no-repeat center / cover;
}

/* sub2 */
/* .s2 .sub-title {
    background: #867f7f;
} */

.s2 .sub-title>h2 {
    background: #fff;
}

.s2>section .flex-wrap {
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.s2-2 a,
.s2-3 a,
.s2-4 a {
    font-family: "Pretendard Variable", "Pretendard", var(--gb), sans-serif;
}

.s2-1 {
    padding: var(--pd);
    background: url(../1x/s2-1-bg.jpg) no-repeat center / cover;
}

.s2-1 .flex-wrap .imgbox {
    min-width: 50%;
}

.s2-1 .sec-title {
    padding-bottom: 3rem;
}

.s2-1 .sec-title>h3 {
    color: #ad8282;
}

.s2-1 .sec-title>p {
    line-height: 1.72;
    margin-bottom: 2rem;
}

.s2-2 {
    padding-inline: var(--pd);
    background: #f9eded;
}

.s2-2 .flex-wrap .imgbox img {
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.2);
}

.s2-2 .desc {
    margin: 0 auto;
}

.s2-2 .imgbox {
    min-width: 50%;
    border-right: 1px solid #3d3d3d;
    padding-block: 10rem;
}

.s2-2 .sec-title {
    margin-top: 3rem;
}

.s2-2 .sec-title h3 {
    line-height: 1;
}

.s2-2 .sec-title p {
    margin-top: 1.5rem;
    line-height: 1.7;
    letter-spacing: -0.2px;
}

.s2-2 .sec-title a {
    margin-top: 1.75rem;
}

.s2-3 {
    background: url(../1x/s2-3-bg.png) no-repeat center / cover;
    border-bottom: 1px solid #ad8282;
}

.s2-3 .imgbox {
    border: none;
}

.s2-4 {
    background: white;
}

.s2-4 .flex-wrap .imgbox {
    border: none;
}

.s2-4 .flex-wrap .desc {
    margin: 0;
}

.anchor {
    position: absolute;
    top: auto;
    right: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ad8282;
}

.anchor li {
    flex: 1;
    align-content: center;
    border-bottom: 1px solid #ad8282;
}

.anchor li:last-child {
    border-bottom: none;
}

.anchor a {
    text-align: center;
    align-content: center;
    height: 100%;
    display: block;
    width: 100%;
    padding: 2rem;
    transition: 0.3s;
    opacity: 0.5;
    color: #ad8282;
    font-family: var(--tg);
    font-size: 1.25rem;
}

.anchor a:hover {
    transition: 0.3s;
    background: #ad8282;
    color: white;
}

.anchor a:hover,
.anchor a.on {
    opacity: 1;
}

/* sub3 */
.s3 {
    overflow: hidden;
}

.s3 .flex-wrap {
    max-width: 1580px;
    justify-content: space-between;
}

.s3 .flex-wrap .desc .sec-title {
    margin-top: 5rem;
}

.s3 .flex-wrap .desc .sec-title>h3 {
    line-height: 1;
}

.s3 .flex-wrap .desc .sec-title>p {
    margin-top: 1.5rem;
    line-height: 1.62;
    letter-spacing: -0.2px;
}

.s3 .flex-wrap .desc .sec-title a {
    margin-top: 2rem;
}

.s3 section {
    padding-inline: var(--pd);
}

.s3-1 {
    padding-block: 2rem 6rem;
    text-align: center;
    margin: 0 auto;
}

.s3-1 img {
    margin: 2.75rem auto;
}

.s3-1 .sec-title>h3 {
    color: #ad8282;
}

.s3-1 .sec-title>p {
    line-height: 1.75;
}

.s3-2,
.s3-3,
.s3-4,
.s3-5 {
    padding-block: 5rem;
    background: #f4ede9;
}

.tab {
    background: #f4ede9;
    max-width: 100%;
}

.tab-menu {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #ad8282;
}

.tab-menu li {
    position: relative;
    flex: 1;
    background: #f4ede9;
    z-index: 1;
}

.tab-menu li::before {
    position: absolute;
    display: block;
    content: "";
    background: linear-gradient(to right, #efdad0, #f4ede9);
    inset: 0;
    width: 100%;
    opacity: 0;
    transition: 0.3s;
    z-index: -1;
}

.tab-menu li:hover::before {
    opacity: 1;
}

.tab-menu li a {
    text-align: center;
    display: block;
    width: 100%;
    padding: 2rem;
    font-family: var(--gb);
    font-size: 1.5rem;
}

.tab-menu li a span {
    display: inline-block;
    color: #ad8282;
    margin-right: 1.25rem;
    font-size: 1.75rem;
    font-family: var(--tg);
}

.s4-1 {
    background: url(../1x/s2-1-bg.jpg) no-repeat center / cover;
    padding-bottom: 8rem;
}

.s4-1 .flex-wrap {
    width: 100%;
    max-width: 100%;
    align-items: flex-end;
    padding-left: 0;
    gap: 5%;
    justify-content: stretch;
}

.s4-1 .flex-wrap .imgbox {
    background: url(../1x/s4-1-bg.jpg) no-repeat center / cover;
    height: min(82.54vh, 780px);
}

.s4-1 .flex-wrap .sec-title {
    margin-bottom: 4rem;
}

.s4-2 {
    background: #f4ede9;
    padding-block: 8rem;
}

.s4-2 .flex-wrap {
    position: relative;
    gap: 3rem;
    align-items: flex-end;
}

.s4-2 .sec-title {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
}

.s4-2 .sec-title h3 {
    color: #ad8282;
}

.s4-2 .sec-title p {
    color: var(--secondary);
    line-height: 1.7;
}

.s4-2 .swiper {
    width: 50%;
}

.s4-2 .s4-swiper img {
    border-radius: 3rem;
    overflow: hidden;
}

.s4-2 .swiper-slide {
    overflow: hidden;
    border-radius: 3rem;
}

.s4-2 .s4-thumb {
    width: 50%;
}

.s4-3 {
    padding-block: 8rem 10rem;
    background: url(../1x/s4-3-bg.jpg) no-repeat center/ cover;
}

.s4-3 .sec-title {
    text-align: center;
    margin: 0 auto;
}

.s4-3 .sec-title h3 {
    color: #ad8282;
}

.s4-3 .goods {
    padding-top: 4.5rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.s4-3 .goods li a {
    border: 1px solid #a5a5a5;
    padding: 1rem;
    display: block;
    color: var(--secondary);
}

.s4-3 .goods li .desc h5 {
    font-size: 1.35rem;
    margin-top: 1rem;
    font-weight: 500;
    color: #1a1a1a;
}

.s4-3 .goods li .desc p {
    margin-top: 0.375rem;
}

.s4-3 .goods .imgbox {
    overflow: hidden;
}

.s4-3 .goods .imgbox img {
    transition: 0.3s ease-out;
}

.s4-3 .goods li:hover img {
    scale: 1.08;
}

.s6 .sec-title h3 {
    color: #ad8282;
}

.s6 .sec-title h4 {
    font-size: 1.2rem;
    font-weight: 500;
}

.s6 .sec-title p {
    letter-spacing: -0.12px;
    line-height: 1.7;
}

.s6-1 {
    padding-block: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url(../1x/s1-6-bg.png) no-repeat center / cover;
}

.s6-1 .sec-title h3 {
    color: #ad8282;
    font-family: var(--tg);
}

.s6-1 .main-circle {
    scale: 0.8;
    margin-block: 5rem 2rem;
    transform: translate(0);
}

.s6-1 .down-arrow {
    transform: translateY(0);
    animation: down 2.1s linear infinite;
}

.s6-2 {
    padding-block: 10rem;
    background: url(../1x/s6-2-bg.png) no-repeat center / cover;
}

.s6-2 .flex-wrap {
    justify-content: space-around;
    align-items: center;
}

.s6-2 .sec-title {
    color: var(--secondary);
}

.s6-2 .sec-title h3 {
    color: #ad8282;
    line-height: 1.32;
}

.s6-2 .sec-title h4 {
    margin-top: 1.375rem;
}

.s6-2 .sec-title p {
    margin-top: 0.6rem;
    line-height: 1.7;
    padding-bottom: 2rem;
}

.s6-3 {
    padding-block: 8rem 5rem;
    background: #f4ede9;
}

.s6-3 .sec-title {
    text-align: center;
    color: var(--secondary);
}

.s6-3 .sec-title h3 {
    font-family: var(--tg);
}

.s6-3 .sec-title h4 {
    margin-top: 0.875rem;
}

.s6-3 .sec-title p {
    margin-top: 1.25rem;
    line-height: 1.72;
}

.s6-3 .gall {
    width: 100%;
    padding-block: 4rem;
    overflow: hidden;
    margin: 0 auto;
}

.s6-3 .gall img {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.18);
}

/* footer */
.footer {
    background: #f4ede9;
    display: block;
}

.footer-wrap {
    display: flex;
    padding-inline: var(--pd);
    justify-content: space-between;
    align-items: center;
    padding-block: 5rem 3.5rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    justify-self: baseline;
    color: var(--secondary);
    letter-spacing: -0.25px;
    font-weight: 300;
    font-size: 15px;
}

.footer .f-copy {
    text-align: center;
    margin: 0 auto;
    border-top: 1px solid #cbcbcb;
    padding-block: 0.5rem;
    font-size: 12px;
    color: var(--unaccess);
    font-weight: 300;
}

.footer .flex-wrap {
    gap: 4rem;
    align-items: center;
}

.footer .go-top {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #ad8282;
    width: 7vw;
    border-radius: 50%;
    aspect-ratio: 1;
    align-content: center;
    text-align: center;
    font-family: var(--tg);
    color: #fff;
    font-size: 1.5rem;
}

/* mob */
.mob {
    position: fixed;
    z-index: 8;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #ffffff;
    padding: 2rem;
    transform: translateY(-200%);
    transition: 0.8s;
}

.mob.show {
    transform: translateY(0%);
    transition: 0.5s;
}

.mob ul {
    padding-top: 8rem;
}

.mob ul li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.625rem 1rem;
    font-size: 1.25rem;
    color: #111;
    font-weight: 500;
}

@keyframes rotate {
    100% {
        rotate: 360deg;
    }
}

@keyframes down {
    0% {
        opacity: 0;
        transform: translateY(-25%);
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes blur {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

/* aos */
[data-aos="blur"] {
    opacity: 0;
}

[data-aos="blur"].aos-animate {
    animation: blur 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@media all and (min-width: 1024px) {
    header:hover .header-wrap {
        background: #fff3f4;
        color: var(--primary);
        transition: color 0.25s, all 0.3s;
    }

    header:hover .logo img {
        -webkit-filter: grayscale(100%) brightness(0);
        filter: grayscale(100%) brightness(0);
    }

    header:hover .header-wrap .ham .ham-line {
        background: #1a1a1a;
    }
}

@media all and (max-width: 1024px) {
    .mob ul li a {
        text-align: left;
    }

    header {
        height: auto;
    }

    .header-wrap {
        background: #fff3f4;
    }

    header .logo img {
        max-width: 5rem;
        -webkit-filter: grayscale(100%) brightness(0);
        filter: grayscale(100%) brightness(0);
    }

    header:hover {
        color: #111;
        transition: none;
    }

    header .header-wrap nav {
        display: none;
    }

    header .header-wrap .ham .ham-line {
        background: #1a1a1a;
    }

    .main-circle .circle {
        max-width: 70%;
    }

    .m2>p {
        font-size: 14px;
        padding-inline: 2rem;
        line-height: 1.7;
    }

    .sec-title span {
        font-size: 14px;
    }

    .flex-wrap {
        flex-direction: column;
    }

    .bt {
        font-size: 14px;
        padding: 1rem 1.75rem;
    }

    .motion:hover a span {
        font-size: 14px;
        width: 110px;
    }

    .m3 .box {
        height: 420px;
        margin-bottom: 0;
        padding: 1.5rem;
    }

    .m3 .box p {
        font-size: 14px;
    }

    .m4 {
        padding-block: 7.5rem;
    }

    .m5 {
        padding-block: 5rem;
        height: auto;
    }

    .m4-swiper .desc p {
        font-size: 14px;
        min-height: 108px;
    }

    .m4-swiper .desc p br {
        display: none;
    }

    .m4-swiper .desc h4 {
        font-weight: 600;
    }

    .m5 .flex-wrap {
        align-items: flex-start;
    }

    .m5 .sec-title {
        width: 100%;
    }

    .m5 .sec-title>p {
        font-size: 14px;
    }

    .m5-swiper {
        position: static;
        transform: translateX(0);
        width: 100%;
    }

    .m5-prev,
    .m5-next {
        display: none;
    }

    .m6 .sec-title p {
        font-size: 14px;
        padding-inline: 2.5rem;
    }

    .footer .footer-wrap {
        align-items: flex-start;
    }

    .footer .flex-wrap {
        gap: 3rem;
        align-items: flex-start;
    }

    .footer .f-logo {
        max-width: 8rem;
    }

    .footer ul li {
        font-size: 13px;
    }

    .footer .go-top {
        border-radius: 0;
        width: 4rem;
        font-size: 14px;
    }

    /* sub */
    .sub-title {
        padding-bottom: 5rem;
    }

    .sec-title {
        padding-inline: var(--pd);
    }

    .sec-title p {
        font-size: 14px;
    }

    .s1-1 .flex-wrap .sec-title p {
        font-size: 14px;
    }

    .s1-1 .flex-wrap {
        flex-direction: column-reverse;
        gap: 3rem;
        padding-inline: var(--pd);
        padding-bottom: 10rem;
    }

    .s1-1 .flex-wrap .imgbox {
        width: 100%;
        padding: 0;
        height: 420px;
    }

    .s1-2 .swiper-slide {
        padding-inline: var(--pd);
    }

    .s1-2 .swiper-slide .desc p {
        font-size: 14px;
    }

    .s1-2 .swiper-slide img {
        max-width: 80%;
    }

    .s1-2 .swiper-slide .cer img {
        margin: 0 auto;
    }

    .s1-3 {
        border-radius: 0;
        border-bottom: 1px solid #eee;
    }

    .s1-3 ul {
        flex-direction: column;
        gap: 3rem;
    }

    .s1-3 ul li p {
        font-size: 14px;
    }

    .s1-3 ul li img {
        max-width: 66%;
    }

    .history li p {
        font-size: 14px;
    }

    .s1-6 {
        padding-block: 10rem;
    }

    .s1-6 .news {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding-top: 1.25rem;
    }

    .s1-6 .news .item {
        width: 100%;
        height: auto;
        max-width: 360px;
        aspect-ratio: 1;
    }

    .s2>section .flex-wrap {
        gap: 3rem;
    }

    .s2-1 {
        padding-bottom: 10rem;
    }

    .s2-1 .sec-title>p {
        margin-bottom: 3rem;
    }

    .s2-2 {
        padding-block: 0rem 10rem;
    }

    .s2-2 .imgbox {
        max-width: 100%;
        border: none;
        padding-top: 10rem;
    }

    .anchor {
        display: none;
    }

    .s2-2 .imgbox {
        padding-bottom: 0;
    }

    .s2-2 .desc img {
        display: none;
    }

    .s2-2 .sec-title {
        margin-top: 1rem;
    }

    .s2-2 .sec-title a {
        margin-top: 2.5rem;
    }

    .s2-3 .flex-wrap {
        flex-direction: column-reverse;
    }

    .tab {
        display: none;
    }

    .s3 .flex-wrap .desc .sec-title {
        margin-top: 3rem;
    }

    .s3 .flex-wrap .desc .sec-title a {
        margin-top: 2.5rem;
    }

    .s3 .flex-wrap .desc .sec-title>p {
        line-height: 1.7;
    }

    .s3-2,
    .s3-3,
    .s3-4 {
        border-bottom: 1px solid #ccc;
    }

    .s3-2 .imgbox,
    .s3-3 .imgbox,
    .s3-4 .imgbox,
    .s3-5 .imgbox {
        display: none;
    }

    .s3-5 {
        padding-bottom: 10rem;
    }

    .s4-1 {
        padding-bottom: 0;
    }

    .s4-1 .flex-wrap {
        flex-direction: column;
    }

    .s4-2 {
        padding-block: 8rem 10rem;
    }

    .s4-2 .sec-title {
        position: static;
    }

    .s4-2 .flex-wrap {
        padding-inline: var(--pd);
        align-items: flex-start;
    }

    .s4-2 .swiper {
        width: 100%;
    }

    .s4-thumb {
        display: none;
    }

    .s4-3 {
        padding-block: 10rem;
        padding-inline: var(--pd);
    }

    .s4-3 .goods {
        gap: 3rem;
    }

    .s4-3 .goods li .desc p {
        font-size: 14px;
    }

    .s6-1 {
        padding-top: 0;
    }

    .s6-1 .main-circle {
        margin-block: 2.5rem 0;
    }

    .s6 .sec-title h4 {
        font-size: 1rem;
    }

    .s6-1 .down-arrow img {
        max-height: 5rem;
    }

    .s6-2 .sec-title p {
        padding-bottom: 2.5rem;
    }

    .s6-2 .sec-title h3 {
        font-size: 1.5rem;
    }

    .s6-2 .flex-wrap {
        flex-direction: column-reverse;
        gap: 3rem;
    }
}