@charset "utf-8";

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

body {
    isolation: isolate;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    display: none;
}

body.is-loading {
    overflow: hidden;
}

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

:root {
    --serif: "Noto Serif KR", serif;
    /* Background */
    --bg-main: #F7F4EF;

    /* Text */
    --point: #996441;
    --text-title: #1F1F1F;
    --text-body: #6A6A6A;

    /* Accent */
    --accent-primary: #ED6D1F;
    --accent-warm: #7A6759;

    /* Line / UI */
    --line-soft: #D8CFC6;
    --inline: 4.2%;
    --gap: 62vw;
    --header-h: 5rem;
}

h1,
h2,
h3 {
    font-family: var(--serif);
}

section {
    position: relative;
    width: 100%;
}

.title {
    overflow: hidden;
}

section .sec-title h3::before {
    color: #eee8e2;
    position: absolute;
    top: -100%;
    text-align: center;
    width: 100%;
    content: attr(data-title);
    opacity: 0.5;
    display: block;
    font-size: max(3rem, 4vw);
    font-weight: 900;
    z-index: -1;
}

main {
    overflow-x: hidden;
    background: var(--bg-main);
    position: relative;
    z-index: 1;
}

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

a {
    display: block;
    color: inherit;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 9;
    transition: 0.35s ease;
    opacity: 1;
    backdrop-filter: blur(7px);
}

header.hide {
    transform: translateY(-100%);
    opacity: 0;
}

header.hide .logo {
    filter: grayscale(1);
}

header .header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1rem;
    padding-inline: var(--inline);
}

header .header-wrap nav {}

header .header-wrap nav ul {
    display: flex;
    gap: 1rem;
}

header .header-wrap nav ul li {
    position: relative;
}

header .header-wrap nav ul li a {
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-title);
    transition: 0.3s;
}

header .header-wrap nav ul li a:hover {
    color: var(--accent-primary);
}

#M1 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#M1 .line {
    position: absolute;
    pointer-events: none;
    width: 1px;
    height: 10vh;
    left: auto;
    right: auto;
    bottom: 15vh;
    z-index: 9;
    background: var(--line-soft);
    transition: 0.3s;
    animation: move 3.2s ease-in-out infinite;
}

#M1 .main-title {
    position: absolute;
    color: #ffffff;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: 0.3s;
    width: 100%;
}

#M1 .main-title h2 {
    font-size: clamp(1.25rem, 5vw, 2.25rem);
    text-align: center;
    color: inherit;
    width: 100%;
    font-weight: 400;
    animation: slot 1.5s 1s forwards;
    transform: translateY(100%);
    position: relative;
}

#M1 .main-title h2::before {
    position: absolute;
    top: -100%;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    content: '오늘을 완성하는 인테리어';
    line-height: 1.35;
    vertical-align: middle;
    text-align: center;
    font-weight: 400;
    font-size: 1.625rem;
    color: #fff;
    background: #ED6D1F;
    padding-inline: 0.625rem;
    text-align: center;
    border-radius: 4px;
}

#M1 .vid-container {
    width: 100%;
    height: 100%;
}

#M1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    scale: 0.87;
    border-radius: 2rem;
}

#M2 {
    position: relative;
    height: 100vh;
    display: flex;
}

#M2 .desc {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    gap: var(--gap);
}

#M2 p {
    width: 1ch;
    opacity: 0;
    scale: 1.5;
    transform: translateX(100%);
    line-height: 1.7;
    font-weight: 600;
    color: var(--accent-warm);
    font-size: clamp(1.125rem, 1.458vw, 1.75rem);
    font-family: var(--serif);
    word-wrap: break-word;
}

#M2 .left {
    left: var(--gap);
}

#M2 .right {
    right: var(--gap);
}

#M2 p span {
    display: block;
}

#M2 .right span {
    transform: translateX(-100%);
}

#M3 {
    padding-top: 8rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-inline: 4.2%;
}

#M3 ul {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}


#M3 ul li {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 600px;
    border-radius: 14px;
}

#M3 ul li:nth-of-type(odd) {
    transform: translateY(15%);
}

#M3 ul li .imgbox {
    position: absolute;
    inset: 0;
    scale: 1;
    clip-path: inset(0 0 100% 0);
    opacity: 0.5;
}

#M3 ul li:hover .imgbox img {
    filter: brightness(0.9);
}

#M3 ul li .imgbox img {
    width: 100%;
    height: 110%;
    scale: 1.05;
    opacity: 0.2;
    transform: translateY(-20%);
    /* scale: 1.1; */
    object-fit: cover;
    transition: 0.5s;
}

#M3 ul li p {
    position: absolute;
    text-align: center;
    align-content: center;
    font-size: 1rem;
    height: 100%;
    width: 100%;
    opacity: 0;
    color: #fff;
    font-family: var(--serif);
    transform: translateY(5%);
    transition: 0.7s;
}

#M3 ul li:hover p {
    opacity: 1;
    transform: translateY(0);
}

#M3 .sec-title {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    gap: 7rem;
    padding-top: 25vh;
    opacity: 0.63;
}

#M3 .sec-title h3 {
    font-size: clamp(1.375rem, 1.667vw, 2rem);
    font-family: var(--serif);
    color: #241e12;
    font-weight: 400;
}

#M3 .sec-title p {
    display: block;
    text-align: left;
    padding-right: 3.5rem;
    line-height: 1.5;
    color: var(--text-body);
    font-size: 1rem;
}

#M4 {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    margin-top: 1rem;
    height: 100vh;
}

#M4 .m4-bg {
    width: 100%;
    height: 100%;
    opacity: 0;
    scale: 1.2;
}

#M4 img {
    width: 100%;
}

.clip-stack {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#M4 .bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4vw;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

#M4 .bg:not(:first-child) {
    border-radius: 2rem;
}

#M4 .bg>a {
    position: absolute;
    bottom: 5%;
    background: #17130c;
    color: #fff;
    aspect-ratio: 1;
    line-height: 1;
    overflow: hidden;
    /* display: flex; */
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2.75rem;
    font-weight: 100;
    transition: 0.5s;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

#M4 .bg>a:hover {
    scale: 0.94;
    rotate: 180deg;
}

#M4 .bg>a span {
    background: white;
    width: 2px;
    height: 2.25rem;
    position: absolute;
    display: block;
}

#M4 .bg>a span:nth-of-type(2) {
    width: 2.25rem;
    height: 2px;
}

.d-box {
    inset: 0;
    position: absolute;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

.d-box img {
    margin: 0 auto;
    max-width: 36vw;
    /* filter: brightness(0.5); */
}

.d-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
    min-height: 100vh;
    padding-block: 10rem 6rem;
    align-content: center;
    background: #241e12;
}

.d-section::after {
    pointer-events: none;
    position: absolute;
    content: '';
    display: none;
    inset: 0;
    opacity: 1;
    background: #241e12e5;
    backdrop-filter: blur(4px);
}

.d-section .title {
    position: absolute;
    display: flex;
    padding-inline: var(--inline);
    justify-content: space-between;
    width: 100%;
    top: 10%;
    left: 0;
    z-index: 3;
    color: #fff;
}

.d-section .title h3 {
    font-size: clamp(1.125rem, 1.458vw, 1.75rem);
    font-weight: 400;
    /* text-align: center; */
}

.d-section .title p {
    margin-top: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    font-size: 1rem;
    color: #fff;
}

.slide {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
}

.slide-after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.25);
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

.slide-after a {
    background: #ED6D1F;
    color: #fff;
    aspect-ratio: 1;
    padding: 1rem 2rem;
    border-radius: 55rem;
    align-content: center;
}

.slide:hover .slide-after {
    opacity: 1;
}

.slide ul {
    display: flex;
    gap: 2rem;
    width: max-content;
    will-change: transform;
    animation: slide 70s linear infinite;
    position: relative;
}

.slide::before,
.slide::after {
    background: linear-gradient(to right, #241e12, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 16%;
    z-index: 2;
}

.slide::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slide::before {
    left: 0;
    top: 0;
}

.slide ul li a {
    display: block;
    border-radius: 0.5rem;
    max-width: 20vw;
    overflow: hidden;
}

.slide ul li a img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.plus {
    transition: 0.6s;
    aspect-ratio: 1;
    height: 100%;
}

.plus:hover {
    rotate: 180deg;
    scale: 1.18;
}

#M5 {
    text-align: center;
    padding-inline: var(--inline);
    padding-block: 10rem;
}

#M5 .title {
    padding-block: 0 8rem;
    text-align: center;
}

#M5 .title h3 {
    font-size: clamp(1.25rem, 1.667vw, 2rem);
    font-family: var(--serif);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-title);
}

#M5 .title p {
    color: var(--text-body);
}

#M5 ul {
    display: flex;
    background: #ffffff;
    border-radius: 2rem;
    flex-direction: column;
    overflow: hidden;
}

#M5 ul a {
    display: block;
    width: 100%;
    color: inherit;
    font-size: 1rem;
    padding: 1.75rem;
    color: #fff;
    background: var(--accent-warm);
    transition: background 0.5s;
    clip-path: inset(0% 0% 100% 0%);
}


#M5 ul a:hover {
    background: #897364;
}

/* #M5 ul li:nth-of-type(1) {
    transform: translateX(70%);
}

#M5 ul li:nth-of-type(2) {
    transform: translateX(-100%);
}

#M5 ul li:nth-of-type(3) {
    transform: translateX(100%);
} */
#M5 ul li {
    display: flex;
    justify-content: space-between;
    padding-inline: 5%;
    width: 100%;
    margin: 0 auto;
    flex: 1;
    position: relative;
    padding-block: 10vh;
    border-bottom: 1px solid #ebebeb;
    gap: 5rem;
}

#M5 ul li .imgbox {
    overflow: hidden;
}

#M5 ul li .imgbox img {
    border-radius: 14px;
}

#M5 ul li .desc {
    text-align: left;
    display: flex;
    max-width: 55%;
    flex-direction: column;
    justify-content: space-between;
    padding-block: 1rem;
}

#M5 ul li .desc-title {}

#M5 ul li .desc-title span {
    display: block;
    margin-bottom: 1.25rem;
    color: #8f784b;
}

#M5 ul li .desc-title h3 {
    font-size: clamp(1.25rem, 1.667vw, 2rem);
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--text-title);
}

#M5 ul li .desc-title p {
    color: var(--text-title);
    font-weight: 500;
}

#M5 ul li .desc-p p {
    line-height: 1.7;
    color: var(--text-body)
}

#M5 ul li .desc-info {
    display: flex;
    gap: 5rem;
}

#M5 ul li .desc-info dt {
    margin-bottom: 1rem;
    color: var(--text-body);
}

#M5 ul li .desc-info dd {
    font-weight: 500;
    color: var(--text-title);
}

#M6 {
    display: flex;
    justify-content: space-between;
    padding-inline: var(--inline);
    align-items: center;
    width: 100%;
    background: url(../img/contact-bg.jpg) no-repeat center / cover;
    background-attachment: fixed;
}

#M6::before {
    position: absolute;
    content: '';
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.45), transparent);
}

#M6 .title {
    width: 100%;
    text-align: left;
    padding-left: 1rem;
}

#M6 h3 {
    font-size: clamp(1.125rem, 1.458vw, 1.75rem);
    font-family: var(--serif);
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 400;
}

#M6 p {
    line-height: 1.5;
    /* color: var(--text-body); */
    color: var(--bg-main);
    text-align: left;
    display: block;
}

#M6 .imgbox {
    width: 50%;
    height: 80vh;
    overflow: hidden;
}

#M6 .imgbox img {
    height: 100%;
    object-fit: cover;
}

#M6 a {
    display: inline-block;
    border-radius: 5rem;
    background: var(--accent-primary);
    color: #fff;
    padding: 0.75rem 1.875rem;
    margin-top: 2rem;
}

/* 가장 아래 */
.bg-1 {
    background: #F7F4EF;
    z-index: 1;
    background: url(../img/m4-bg1.jpg) no-repeat center / cover;
    background-attachment: fixed;
}

/* 위에 쌓이는 배경들 */
.bg-2 {
    background: #EDE8E1;
    z-index: 2;
    clip-path: inset(100% 0% 0% 0%);
    background: url(../img/m4-bg2.jpg) no-repeat center / cover !important;
    background-attachment: fixed;
}

.bg-3 {
    background: #E2DDD6;
    z-index: 3;
    clip-path: inset(100% 0% 0% 0%);
    background: url(../img/m4-bg4.jpg) no-repeat center / cover;
    background-attachment: fixed;
}

.bg-4 {
    background: #E2DDD6;
    z-index: 4;
    clip-path: inset(100% 0% 0% 0%);
    background: url(../img/m4-bg3.jpg) no-repeat center / cover !important;
    background-attachment: fixed;
}

.bg-5 {
    background: #E2DDD6;
    z-index: 4;
    clip-path: inset(100% 0% 0% 0%);
    background: url(../img/m4-bg5.jpg) no-repeat center / cover !important;
    background-attachment: fixed;
}

footer {
    position: relative;
    background: var(--accent-warm);
    color: #fff;
}

.footer-wrap {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: var(--inline);
}

.footer-wrap .f-left {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.footer-wrap .f-info p {
    line-height: 1.7;
    font-size: 14px;
    opacity: 0.9;
}

footer .family {
    position: relative;
}

footer .family button {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    justify-content: space-between;
    color: rgba(0, 0, 0, 0.4);
    width: 10rem;
    font-size: 14px;
    text-align: left;
    font-weight: 600;
    background: var(--bg-main);
    border-radius: 30px;
    border: none;
}

footer .family ul {
    position: absolute;
    top: -300%;
    left: 0;
    z-index: 3;
    background: var(--accent-primary);
    border-radius: 1rem;
    width: 100%;
    padding: 1rem;
    opacity: 0;
    transition: 0.3s;
    visibility: hidden;
}

footer .family ul.open {
    opacity: 1;
    visibility: visible;
}

footer .family ul li a {
    padding-block: 0.75rem;
    color: #fff;
}

footer .f-sns {
    display: flex;
    margin-top: 1.25rem;
    gap: 1rem;
    justify-content: center;
}

footer .f-sns li a {
    padding: 0.5rem;
    aspect-ratio: 1;
    max-width: 2.5rem;
    border: 1px solid var(--line-soft);
    border-radius: 5rem;
}

footer .copy {
    border-top: 1px solid var(--line-soft);
    text-align: center;
    padding: 8px var(--inline) 6px;
    font-size: 14px;
    font-weight: 300;
}

footer .copy p {
    color: #F7F4EF;
    font-weight: 200;
    font-size: 14px;
}

#A1 {
    padding-inline: var(--inline);
    width: 100%;
    padding-top: var(--header-h);
}

#A1 .banner {
    height: 62vh;
    border-radius: 1.5rem;
    overflow: hidden;
    width: 100%;
    background: url(../img/a-banner.jpg) no-repeat center / cover;
    animation: clipPath 1.7s ease forwards;
    clip-path: inset(0% 100% 0% 0%);
}


#A1 .desc {
    display: flex;
    align-items: center;
    gap: 6.75rem;
    overflow: hidden;
}

#A1 .desc .title {
    overflow: hidden;
    padding-block: 4.5rem;
    flex-basis: 60%;
    border-right: 1px solid #D9D2CB;
}

#A1 .desc .title span {
    overflow: hidden;
    animation: fadeup 1s 0.3s ease forwards;
    transform: translateY(100%);
    opacity: 0;
    color: var(--accent-primary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    display: block;
}

#A1 .desc .title h3 {
    overflow: hidden;
    animation: fadeup 1.2s 0.3s ease forwards;
    transform: translateY(70%);
    opacity: 0;
    line-height: 1.2;
    font-family: initial;
    font-weight: 500;
    color: var(--accent-primary);
    font-size: clamp(1.25rem, 2.25rem, 1.875vw);
}

#A1 .desc .title h4 {
    overflow: hidden;
    animation: fadeup 1s 0.5s ease forwards;
    transform: translateY(50%);
    opacity: 0;
    margin-bottom: 10px;
    line-height: 1.2;
    font-family: initial;
    font-weight: 100;
    color: var(--text-title);
    font-size: clamp(1.25rem, 2.25rem, 1.875vw);
}

#A1 .desc .title-p {
    overflow: hidden;
}

#A1 .desc .title-p p {
    overflow: hidden;
    animation: fadeup 1.3s 0.6s ease forwards;
    transform: translateY(50%);
    opacity: 0;
    padding-top: 2rem;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.52;
    color: #4A4A4A;
}

.circle-svg {
    overflow: visible;
}

#A2 {
    padding-inline: var(--inline);
    border-block: 1px solid #D9D2CB;
    padding-block: 4rem;
}

#A2 ul {
    display: flex;
}

#A2 ul::before {
    position: absolute;
    content: '';
    z-index: -1;
    left: 0;
    top: 50%;
    height: 1px;
    width: 100%;
    margin: 0 auto;
    background-color: #D9D2CB;
}

#A2 ul::after {
    height: 100%;
    background-color: #D9D2CB;
    position: absolute;
    left: 50%;
    content: '';
    display: none;
    width: 1px;
}

#A2 ul li {
    position: relative;
    z-index: 1;
}

#A2 h4 {
    color: var(--text-title);
    font-size: 1.25rem;
    font-weight: 400;
    position: absolute;
    inset: 0;
    align-content: center;
    text-align: center;
}

#A3 {
    display: flex;
    justify-content: space-between;
    padding-inline: var(--inline);
    padding-block: 5rem;
    /* background: url(../img/내부.jpg) no-repeat center / cover;
    background-attachment: fixed; */
}

#A3 .info {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 3rem;
    background: url(../img/contact\ \(1\).jpg) no-repeat center / cover;
    background-attachment: fixed;
    border-radius: 50rem;
}

#A3 .info .map {
    padding: 0;
}

#A3 .info p {
    color: #fff;
    font-size: 1.25rem;
}

#A3 .info>* {
    flex: 1;
    text-align: center;
}

@keyframes clipPath {
    to {
        clip-path: inset(0% 0% 0% 0%);
    }
}

@keyframes fadeup {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


@keyframes move {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30%);
    }

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

@keyframes slot {
    0% {
        transform: translateY(100%);
        color: var(--accent-primary);
    }

    100% {
        transform: translateY(0%);
        color: #fff;
    }
}

@keyframes slide {
    to {
        transform: translateX(calc(-1 * var(--loop-width)));
    }
}

@media all and (max-width:768px) {

    /* main */
    .logo {
        max-width: 22vw;
    }

    header {
        height: 68px;
    }

    header .header-wrap nav ul {
        gap: 0;
    }

    header .header-wrap nav ul li a {
        padding: 0.6rem;
        font-size: 13px;
    }

    #M1 video {
        scale: 1;
        border-radius: 0;
    }

    #M1 .main-title h2::before {
        display: none;
    }

    #M2 .desc {
        gap: 30rem;
        flex-direction: column;
    }

    #M2 p {
        width: 100%;
        transform: translate(0) !important;
        text-align: center;
    }

    #M2 .right span {
        transform: none;
    }

    #M3 {
        padding-top: 0;
    }

    #M3 ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    #M3 ul li {
        height: 400px;
    }

    #M3 ul li:nth-of-type(odd) {
        transform: translateY(0);
    }

    #M3 ul li .imgbox img {
        height: 120%;
    }

    #M3 .sec-title {
        flex-direction: column;
        gap: 1.25rem;
        padding-top: 3.5rem;
    }

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

    #M4 {
        margin-top: 5rem;
    }

    .d-section {
        padding-block: 0;
    }

    .d-section .title {
        gap: 2rem;
    }

    .plus {
        width: 2.5rem;
    }

    .d-section .title p {
        font-size: 14px;
        max-width: 92%;
    }

    .slide ul {
        gap: 1rem;
    }

    .slide ul li a {
        max-width: 64vw;
        aspect-ratio: 3 / 4;
    }

    .slide-after a {
        padding: 1rem 1.25rem;
        font-size: 14px;
    }

    #M5 {
        padding-top: 7rem;
    }

    #M5 .title {
        padding-bottom: 5rem;
    }

    #M5 .title p {
        font-size: 14px;
        padding-inline: 0.5rem;
        line-height: 1.55;
    }

    #M5 ul li {
        flex-direction: column-reverse;
        gap: 1.25rem;
    }

    #M5 ul li .desc {
        max-width: 100%;
    }

    #M5 ul li {
        padding: 3rem 2rem 4rem;
    }

    #M5 ul li .desc-title span {
        font-size: 14px;
        margin-bottom: 1rem;
    }

    #M5 ul li .desc-title p {
        font-weight: 400;
        font-size: 14px;
    }

    #M5 ul li .desc-p p {
        font-size: 14px;
        line-height: 1.8;
        margin-block: 2rem 2.75rem;
    }

    #M5 ul li .desc-info {
        font-size: 14px;
    }

    #M5 ul li .desc-info {
        gap: 0;
        justify-content: space-between;
    }

    #M5 ul a {
        font-size: 14px;
        padding: 1.25rem;
    }

    #M6 .title {
        text-align: center;
    }

    #M6 p {
        text-align: center;
        font-size: 14px;
        line-height: 1.64;
    }

    #M6 a {
        font-size: 14px;
    }

    /* about */
    :root {
        --header-h: 68px;
    }

    #A1 {
        margin-top: var(--header-h);
        /* height: calc(100vh - var(--header-h)); */
    }

    #A1 .desc {
        flex-direction: column;
        align-items: baseline;
        gap: 1.25rem;
        padding-bottom: 3.25rem;
    }

    #A1 .desc .title {
        border-right: none;
        padding-block: 2.5rem 0;
    }

    #A1 .desc .title h4 {
        margin-bottom: 4px;
    }

    #A1 .desc .title-p p {
        font-size: 14px;
        line-height: 1.6;
        padding-top: 0;
    }

    #A1 .desc .title span {
        font-size: 14px;
        margin-bottom: 1rem;
    }

    #A2 ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: relative;
    }

    #A2 ul::after {
        display: block;
    }

    #A2 ul li {
        padding: 0.5rem;
    }

    #A2 h4 {
        font-size: 1rem;
    }

    #A2 {
        padding: 0;
    }

    .circle-svg {
        width: 100%;
        height: auto;
    }

    #A3 {
        padding-block: 3.5rem;
        padding-inline: 0;
    }

    #A3 .info {
        flex-direction: column;
        border-radius: 0;
        gap: 1rem;
    }

    #A3 .info>div {
        width: 100%;
    }

    #A3 .info p {
        font-size: 14px;
        background: var(--accent-primary);
        padding: 0.25rem 0.6rem;
        border-radius: 4px;
    }

    /* sub */
    .sub-title .sec-title p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* footer */
    footer .f-logo {
        max-width: 100px;
    }

    .footer-wrap .f-left {
        gap: 1rem;
        flex-direction: column;
    }

    .footer-wrap {
        padding: 3rem 3rem 2.5rem;
        gap: 1.75rem;
        flex-direction: column;
    }

    .footer-wrap .f-info p {
        font-size: 12px;
        text-align: center;
    }

    footer .f-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    footer .f-sns {
        margin-top: 2rem;
    }

    footer .family button {
        font-size: 12px;
        width: auto;
        gap: 2rem;
        line-height: 0;
        padding: 0.55rem 1rem;
    }

    footer .family ul li a {
        font-size: 14px;
    }

    footer .copy p {
        font-size: 12px;
    }
}

/* From Uiverse.io by Yaya12085 */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    background-color: #fff;
    padding-block: 20px 10%;
    border-radius: 20px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.message,
.signin {
    color: rgba(88, 87, 87, 0.822);
    font-size: 14px;
}

.signin {
    text-align: center;
}

.signin a {
    color: royalblue;
}

.signin a:hover {
    text-decoration: underline royalblue;
}

.flex {
    display: flex;
    width: 100%;
    gap: 1rem;
}

.form label {
    position: relative;
    flex: 1;
}

.form label .input {
    width: 100%;
    border-radius: 1rem;
    padding: 10px 10px 20px 1rem;
    outline: 0;
    border: 1px solid #333;
}

.form label .input+span {
    position: absolute;
    left: 1rem;
    top: 15px;
    color: #333;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
}

textarea::placeholder {
    color: #333;
    font-size: 0.9rem;
    font-family: "Pretendard Variable", Pretendard, -apple-system,
        BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
        "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.form label .input:placeholder-shown+span {
    top: 15px;
    left: 1rem;
    font-size: 0.9em;
}

.form label .input:focus+span,
.form label .input:valid+span {
    top: 30px;
    left: 1rem;
    font-size: 0.7em;
    font-weight: 600;
}

.form label .input:valid+span {
    color: green;
}

.form textarea {
    color: #333;
    font-size: 0.9em;
    min-height: 300px;
    padding: 1rem;
    border-radius: 1rem;
}

.submit {
    border: none;
    outline: none;
    background-color: #333;
    padding: 10px;
    color: #fff;
    height: 60px;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 1rem;
}

.submit:hover {
    background-color: rgb(82, 82, 82);
}

#bo_list,
#bo_v {
    max-width: 1820px;
    /* padding-inline: min(20px, 2.5%); */
    margin: 0 auto;
    padding-bottom: 10rem;
}

/* sub */
.sub-title .sec-title {
    padding: 200px 1rem 0px;
    margin-bottom: 100px;
    overflow: hidden;
    text-align: center;
    position: relative;
    z-index: 1;
}

.sub-title .sec-title h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
    font-size: max(1.75rem, 2.25vw);
    color: var(--sub);
    font-weight: 500;
    opacity: 0;
}

.sub-title .sec-title p {
    opacity: 0;
}