/* VITERRA SIGNATURE — main fullpage */
@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");

body.main-index {
    --header-h: 10rem;
    font-family: "SUIT Variable", SUIT, "Pretendard Variable", sans-serif;
    color: #222;
    background: #fff;
}

body.main-index #hd_login_msg,
body.main-index .hd_sch_wr,
body.main-index .hd_login {
    display: none !important;
}

/* Header */
body.main-index #header {
    top: 0;
    height: var(--header-h);
    padding: 0 10rem;
    background: transparent;
    border-bottom: 0;
}

body.main-index #header #logo {
    max-width: 22.9rem;
    min-width: 18rem;
    width: auto;
    aspect-ratio: auto;
}

body.main-index #header #logo img {
    width: 22.9rem;
    height: auto;
}

body.main-index #header.is-light .hd-cs img {
    filter: brightness(0);
}

body.main-index #header #gnb a {
    font-family: "SUIT Variable", SUIT, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    padding: 1.5rem 4rem;
    transition: color 0.45s ease, opacity 0.2s ease;
}

body.main-index #header .hd-cs {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    transition: color 0.45s ease;
}

body.main-index #header .hd-cs img,
body.main-index #header .hd-cs svg {
    width: 2.4rem;
    height: 2.4rem;
    display: block;
    flex-shrink: 0;
}

body.main-index #header .hd-cs img {
    filter: brightness(0) invert(1);
    transition: filter 0.45s ease;
}

body.main-index #header.is-light #gnb a,
body.main-index #header.is-light .hd-cs {
    color: #222;
}

html.fp-viewing-footer body.main-index #header.is-light #gnb a,
html.fp-viewing-footer body.main-index #header.is-light .hd-cs {
    color: #fff !important;
}

html.fp-viewing-footer body.main-index #header.is-light .hd-cs img {
    filter: brightness(0) invert(1);
}

/* Fullpage canvas */
#fullpage,
.fp-section,
.fp-slide,
.fp-tableCell {
    height: 100% !important;
}

.fp-section.fp-auto-height,
.fp-section.fp-auto-height .fp-tableCell,
.main-footer {
    height: auto !important;
}

.fp-section {
    position: relative;
    overflow: hidden;
}

.fp-section.fp-auto-height,
.main-footer {
    overflow: visible;
}

.main-intro {
    padding-top: calc(var(--header-h) + 10vh);
}

.main-contact {
    padding-top: calc(var(--header-h) + 7.5vh);
}

.main-location {
    padding-top: calc(var(--header-h) * 1);
}

.fp-watermark {
    display: none !important;
}

.visual-swiper {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: default;
    touch-action: pan-y;
}

.visual-swiper .swiper-wrapper {
    height: 100%;
    transform: none !important;
}

.visual-swiper .swiper-slide {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100%;
    opacity: 0;
    z-index: 0;
    pointer-events: auto;
    transform: none !important;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-swiper .swiper-slide.is-active {
    z-index: 2;
    opacity: 1;
}

.visual-dim,
.visual-moon,
.visual-copy,
.visual-opening {
    pointer-events: none;
}

.fade-el,
.fade-group {
    opacity: 0;
    transform: translateY(8rem);
    transition: opacity 1.45s cubic-bezier(0.22, 1, 0.36, 1), transform 1.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-section.is-shown .fade-el,
.fp-section.is-shown .fade-group {
    opacity: 1;
    transform: none;
}

.fp-section.is-shown .fade-el:nth-child(2) {
    transition-delay: 0.12s;
    box-shadow: 0 0 3rem rgba(0, 0, 0, 0.01);
}

.fp-section.is-shown .fade-el:nth-child(3) {
    transition-delay: 0.22s;
}

/* ① Visual */
.main-visual {
    background: #0b0b0d;
    color: #fff;
}

.visual-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    transform: scale(1);
}

.visual-bg.is-zoom {
    animation: visualZoom 12s linear infinite alternate;
}

@keyframes visualZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.visual-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.55) 72%, #000 100%);
    pointer-events: none;
}

.visual-moon {
    position: absolute;
    left: -11rem;
    top: 12vh;
    width: 46.6rem;
    height: 46.6rem;
    border-radius: 50%;
    border: 1px solid transparent;
    background:
        radial-gradient(circle at 72% 38%, rgba(255, 255, 255, 0.22), transparent 18%),
        radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 62%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    -webkit-mask: radial-gradient(circle, transparent 67%, #000 68%);
    mask: radial-gradient(circle, transparent 67%, #000 68%);
    pointer-events: none;
}

.visual-moon::after {
    content: "";
    position: absolute;
    inset: 3.2rem;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.visual-copy {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    padding: 28vh 0 0 20rem;
    max-width: 68rem;
}

.visual-eyebrow {
    font-weight: 200;
    font-size: 2.6rem;
    letter-spacing: 0.2em;
    line-height: 1.6;
}

.visual-logo {
    margin-top: 2.5rem;
}

.visual-logo img {
    width: 100%;
    height: auto;
}

.visual-divider {
    display: block;
    width: 13.8rem;
    height: 1px;
    margin: 5rem 0 3rem;
    background: linear-gradient(90deg, transparent, #fff 50%, transparent);
}

.visual-phrase {
    font-weight: 200;
    font-size: 3.8rem;
    line-height: 1.6;
}

.visual-phrase strong {
    font-weight: 800;
}

.visual-opening {
    position: absolute;
    right: 11rem;
    bottom: 10rem;
    z-index: 2;
    width: 19rem;
    aspect-ratio: 1/1;
}

.visual-opening svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: openingSpin 18s linear infinite;
}

.visual-opening text {
    fill: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    font-family: "SUIT Variable", SUIT, sans-serif;
}

.visual-opening strong {
    position: absolute;
    inset: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    padding-top: 0.25rem;
    color: #222;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
    text-align: center;
}

@keyframes openingSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ② Intro */
.main-intro {
    background: #fff;
    display: flex !important;
    flex-direction: column;
    padding-bottom: 10vh;
}

.intro-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 20rem 6vh;
}

.intro-copy {
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.6;
    color: #222;
}

.intro-copy strong {
    font-weight: 800;
}

.intro-brand img {
    max-width: 40rem;
    width: 100%;
    min-width: 20rem;
    height: auto;
}

.intro-visual {
    position: relative;
    flex: 1;
    margin: 0 5rem 0;
    overflow: hidden;
    clip-path: inset(0 50% 0 50%);
    transition: clip-path 1.35s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.4s;
}

.main-intro.is-shown .intro-visual {
    clip-path: inset(0 0 0 0);
}

.intro-visual img {
    width: 100%;
    height: 100%;
    min-height: 30rem;
    object-fit: cover;
    object-position: center 65%;
}

.intro-visual::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

.intro-note {
    position: absolute;
    left: 5rem;
    bottom: 2.4rem;
    z-index: 1;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    opacity: 0.5;
}

/* ③ Location */
.main-location {
    background: #fff;
}

.loc-body {
    position: absolute;
    top: calc(var(--header-h) * 1);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex !important;
    flex-direction: row;
    width: 100%;
    height: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(50vh);
    transition: opacity 0.96s cubic-bezier(0.4, 0, 0.2, 1), transform 0.96s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.96s;
}

.loc-intro {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
    pointer-events: none;
    transition: top 0.9s cubic-bezier(0.4, 0, 0.2, 1), left 0.9s cubic-bezier(0.4, 0, 0.2, 1), width 0.9s cubic-bezier(0.4, 0, 0.2, 1), height 0.9s cubic-bezier(0.4, 0, 0.2, 1), padding 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-intro-title {
    position: relative;
    font-size: 6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.25;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(50vh);
    transition: opacity 1.45s cubic-bezier(0.22, 1, 0.36, 1), transform 1.45s cubic-bezier(0.22, 1, 0.36, 1), font-size 0.9s cubic-bezier(0.4, 0, 0.2, 1), letter-spacing 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-intro-num {
    position: absolute;
    right: -4rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: Marcellus, serif;
    font-size: 12rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: rgba(34, 34, 34, 0.1);
    line-height: 1;
    pointer-events: none;
    transition: font-size 0.9s cubic-bezier(0.4, 0, 0.2, 1), right 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-location.is-loc-intro-in[data-loc-state="0"] .loc-intro-title {
    opacity: 1;
    transform: none;
}

.main-location:not([data-loc-state="0"]) .loc-intro {
    top: var(--header-h);
    left: 58.07%;
    width: 41.93%;
    height: 12rem;
    padding: 2.4rem 8rem 0 6rem;
}

.main-location:not([data-loc-state="0"]) .loc-intro-title {
    opacity: 1;
    transform: none;
    font-size: 2.6rem;
    letter-spacing: 0.05em;
}

.main-location:not([data-loc-state="0"]) .loc-intro-num {
    right: -2.4rem;
    font-size: 6.4rem;
}

.main-location:not([data-loc-state="0"]) .loc-body {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.main-location.is-loc-from-intro:not([data-loc-state="0"]) .loc-body {
    transition-delay: 0s;
}

.loc-visual {
    position: relative;
    flex: 0 0 58.07%;
    width: 58.07%;
    height: 100%;
    overflow: hidden;
    background: #111;
}

.loc-visual::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 0;
    z-index: 4;
    width: 60%;
    height: 160%;
    pointer-events: none;
    background: linear-gradient(105deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0.12) 46%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.12) 54%,
            transparent 80%,
            transparent 100%);
    mix-blend-mode: screen;
    opacity: 0;
    transform: translateX(-180%) rotate(16deg);
}

.loc-visual.is-shine::after {
    animation: locGlassShine 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes locGlassShine {
    0% {
        opacity: 0;
        transform: translateX(-180%) rotate(12deg);
    }

    18% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(320%) rotate(12deg);
    }
}

.loc-photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-photo.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

.loc-list {
    position: relative;
    width: 41.93%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8rem 0 6rem;
    background: #fff;
    transition: padding-top 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-item {
    position: relative;
    flex: 0 0 auto;
    min-height: 12.1rem;
    padding: 2.2rem 0 2.4rem;
    border-bottom: 1px solid #e9e9e9;
    overflow: hidden;
    cursor: pointer;
    transition: min-height 0.75s cubic-bezier(0.4, 0, 0.2, 1), padding 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-num {
    position: absolute;
    left: 0;
    top: 2.4rem;
    font-size: 6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgba(34, 34, 34, 0.1);
    line-height: 1.25;
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), top 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.loc-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 8rem;
    transition: margin-top 0.75s cubic-bezier(0.4, 0, 0.2, 1), min-height 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-title h3 {
    font-size: 4rem;
    font-weight: 600;
    font-variation-settings: "wght" 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    transition: font-size 0.75s cubic-bezier(0.4, 0, 0.2, 1), font-variation-settings 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-title img {
    width: 10rem;
    aspect-ratio: 1/1;
    object-fit: contain;
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-item p {
    max-width: 64.5rem;
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.6;
    color: #222;
    opacity: 0;
    max-height: 0;
    transform: translateY(1.2rem);
    word-break: keep-all;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.75s cubic-bezier(0.4, 0, 0.2, 1), margin 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-item.is-active {
    min-height: 28rem;
    padding: 3.5rem 0 4rem;
}

.loc-item.is-active .loc-num {
    top: 6rem;
    opacity: 1;
}

.loc-item.is-active .loc-title {
    margin-top: 9.5rem;
    min-height: 7.5rem;
}

.loc-item.is-active .loc-title h3 {
    font-size: 6rem;
    font-weight: 700;
    font-variation-settings: "wght" 700;
}

.loc-item.is-active .loc-title img {
    opacity: 1;
    transform: scale(1.04);
}

.loc-item.is-active p {
    opacity: 1;
    max-height: 8rem;
    transform: none;
    font-weight: 500;
    margin-top: 2rem;
}

/* ④ Contact */
.main-contact {
    background: #f6f6f6;
}

.contact-inner {
    width: min(150rem, 90%);
    margin: 0 auto;
    padding-top: 0;
}

.contact-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 6.5rem;
}

.contact-head h2 {
    margin: 0 0 4rem;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
}

.contact-heading {
    margin: 0 0 6rem;
    color: #111;
    font-family: "Pretendard Variable", Pretendard, "SUIT Variable", SUIT, sans-serif;
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.4;
    text-align: center;
    word-break: keep-all;
}

.contact-heading strong {
    font-size: 1.375em;
    font-weight: 700;
    color: #69087c;
}

.contact-logo img {
    display: block;
    width: 44rem;
    max-width: 100%;
    height: auto;
}

.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-card {
    width: min(72rem, 100%);
}

.contact-map {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #e8e8e8;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #d9d9d9;
}

.contact-map .map-line {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    box-sizing: content-box;
    background: none;
}

.contact-map .map-line-t {
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 1px solid #890e2d;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-map .map-line-r {
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-right: 1px solid #890e2d;
    transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-map .map-line-b {
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 1px solid #890e2d;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-map .map-line-l {
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 1px solid #890e2d;
    transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-map:hover .map-line-t,
.contact-map:hover .map-line-b {
    width: 100%;
}

.contact-map:hover .map-line-r,
.contact-map:hover .map-line-l {
    height: 100%;
}

.contact-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 7.5rem;
    background: #444;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.contact-tel img {
    width: 2.4rem;
    height: 2.4rem;
    filter: brightness(0) invert(1);
}

.contact-tel i {
    font-style: normal;
    font-weight: 400;
    opacity: 0.2;
}

.contact-tel strong {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ⑤ Footer */
.main-footer {
    background: #141416;
}

body.main-index #ft.site-footer {
    position: relative;
    height: auto;
    background: #141416;
    color: rgba(255, 255, 255, 0.6);
}

body.main-index #top_btn {
    position: absolute;
    top: 8rem;
    right: 10rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.6rem;
    height: 5.6rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: border-color 0.25s ease, opacity 0.25s ease;
}

body.main-index #top_btn:hover {
    border-color: #fff;
    opacity: 0.85;
}

body.main-index #ft .ft-inner {
    display: block;
}

.site-footer .ft-inner {
    display: block;
}

.ft-logo {
    width: 22.9rem;
    height: auto;
    margin-bottom: 3rem;
}

.ft-company,
.ft-legal,
.ft-copy {
    max-width: 160rem;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.6;
}

.ft-company {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.ft-company:nth-of-type(2) {
    margin-top:-3rem;
}

.ft-company li {
    position: relative;
}

.ft-company li:not(:last-child) {
    padding-right: 1.75rem;
    margin-right: 1.5rem;
}

.ft-company li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 1em;
    background-color: rgba(255, 255, 255, 0.15);
}

.ft-legal {
    margin-bottom: 3rem;
}

.ft-copy {
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1920px) {

    .intro-head,
    .site-footer {
        padding-left: 10rem;
        padding-right: 10rem;
    }

    .visual-copy {
        padding: 28vh 0 0 10rem;
        max-width: 50rem;
    }

    .visual-eyebrow {
        font-size: 2.4rem;
    }

    .visual-phrase {
        font-size: 3.2rem;
    }

    .main-intro {
        padding-top: calc(var(--header-h) + 5vh);
    }

    .main-contact {
        padding-top: calc(var(--header-h) + 5vh);
    }

    .intro-copy {
        font-size: 2rem;
    }

    .main-location:not([data-loc-state="0"]) .loc-intro {
        padding: 0 8rem 0 6rem;
    }

    .loc-num {
        font-size: 5rem;
    }

    .loc-title h3 {
        font-size: 3.2rem;
    }

    .loc-title img {
        width: 8rem;
    }

    .loc-item.is-active .loc-num {
        top: 4rem;
    }

    .loc-item.is-active .loc-title {
        margin-top: 7.5rem;
    }

    .loc-item.is-active .loc-title h3 {
        font-size: 4.8rem;
    }

    .loc-item.is-active p {
        margin-top: 2rem;
    }

    .contact-head {
        margin-bottom: 4rem;
    }

    .contact-head h2 {
        font-size: 5rem;
        margin-bottom: 3rem;
    }

    .contact-heading {
        font-size: 3.2rem;
        margin-bottom: 6rem;
    }
}

@media (max-width: 1440px) {

    body.main-index #header,
    .visual-copy {
        padding-left: 8rem;
    }

    body.main-index #header {
        padding: 0 5%;
    }

    body.main-index #header #gnb a {
        padding: 1.5rem 2.5rem;
    }

    .visual-copy {
        padding-right: 0;
    }

    .intro-head,
    .site-footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    body.main-index #top_btn {
        right: 8rem;
    }

    .loc-list {
        padding: 0 4rem 0 4rem;
    }

    .loc-item.is-active .loc-title h3,
    .contact-head h2 {
        font-size: 4.8rem;
    }

    .contact-map {
        height: auto;
    }

    .main-location[data-loc-state="0"] .loc-intro-title {
        font-size: 4.8rem;
    }

    .main-location:not([data-loc-state="0"]) .loc-intro {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 57.5%;
    }

    html.fp-responsive,
    html.fp-responsive body,
    body.fp-responsive {
        overflow: visible !important;
        height: auto !important;
    }

    html.fp-responsive body.nav-open,
    body.fp-responsive.nav-open,
    body.nav-open {
        overflow: hidden !important;
    }

    #fullpage,
    #fullpage .fp-section,
    #fullpage .fp-slide,
    #fullpage .fp-tableCell {
        height: auto !important;
        min-height: auto;
    }

    .fp-section {
        overflow: visible;
    }

    .main-visual,
    .main-visual .fp-tableCell {
        height: auto !important;
        min-height: 64rem !important;
        overflow: hidden;
    }

    .visual-copy {
        left: auto;
        padding: 20rem 0 0 5%;
    }

    .visual-eyebrow {
        font-size: 2.1rem;
    }

    .visual-phrase {
        font-size: 2.8rem;
    }

    .visual-opening {
        right: 3%;
        bottom: 5rem;
        width: 17rem;
    }

    .visual-opening strong {
        inset: 3.25rem;
    }

    .main-intro,
    .main-contact,
    .main-location {
        padding-top: 6rem;
    }

    .main-intro {
        min-height: 0;
    }

    .intro-visual {
        flex: none;
        margin: 0 5%;
    }

    .intro-note {
        left: 2rem;
        right: 2rem;
        font-size: 1.4rem;
        bottom: 1.75rem;
    }

    .intro-brand img,
    .visual-logo img {
        width: 32rem;
    }

    .loc-intro {
        position: relative;
        height: auto;
        padding: 0 4rem 3rem;
    }

    .main-location[data-loc-state="0"] .loc-intro-title,
    .main-location:not([data-loc-state="0"]) .loc-intro-title {
        font-size: 3.2rem;
        letter-spacing: 0;
        opacity: 1;
        transform: none;
        white-space: normal;
    }

    .main-location:not([data-loc-state="0"]) .loc-intro {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        padding: 0 4rem 3rem;
    }

    .loc-body {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        display: flex !important;
        flex-direction: column;
        height: auto;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .loc-visual,
    .loc-list {
        width: 100%;
        height: auto;
        flex: none;
    }

    .loc-visual {
        aspect-ratio: 1 / 0.3;
        min-height: 20rem;
    }

    .loc-list {
        padding: 0 5% 6rem;
        justify-content: flex-start;
        overflow: visible;
    }

    .loc-item:last-child {
        border-bottom: 0;
    }

    .loc-item,
    .loc-item.is-active {
        min-height: auto;
        padding: 3rem 0 3rem 5rem;
        overflow: visible;
        transition: none;
    }

    .loc-num,
    .loc-item.is-active .loc-num {
        top: 3rem;
        font-size: 3.6rem;
        opacity: 1;
        transition: none;
    }

    .loc-title,
    .loc-item.is-active .loc-title {
        min-height: 4.8rem;
        margin-top: 0;
        transition: none;
        padding-right: 8rem;
        position: relative;
    }

    .loc-title h3,
    .loc-item.is-active .loc-title h3 {
        font-size: 3.2rem;
        font-weight: 600;
        font-variation-settings: "wght" 600;
        transition: none;
    }

    .loc-title img,
    .loc-item.is-active .loc-title img {
        position: absolute;
        top: 0;
        right: 0;
        width: 7rem;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .loc-item p,
    .loc-item.is-active p {
        opacity: 1;
        max-height: none;
        margin-top: 0.5rem;
        transform: none;
        transition: none;
        text-align: left;
    }

    .contact-inner {
        width: 90%;
        padding-top: 0;
        padding-bottom: 8rem;
    }

    .contact-head h2 {
        font-size: 3.8rem;
        margin-bottom: 6rem;
    }

    .contact-heading {
        font-size: 3.4rem;
        margin-bottom: 8rem;
    }

    .contact-tel {
        height: 6.4rem;
        font-size: 2.2rem;
    }

    .contact-tel strong {
        font-size: 2.4rem;
    }

    .site-footer {
        padding: 8rem 4rem 0;
    }

    body.main-index #top_btn {
        right: 4rem;
    }

    #ft {
        text-align: left;
    }

    #ft .ft-logo {
        min-width: 17rem;
        width: 30%;
    }
}

@media (max-width: 1024px) {
    .ft-company:nth-of-type(2) {
        margin-top:-1rem;
    }
}

@media (max-width: 768px) {
    body.main-index #header {
        --header-h: 8rem;
        height: 8rem;
    }

    body.main-index #header #logo img {
        width: 16rem;
    }

    .visual-copy {
        padding-top: 15rem;
        max-width: 34rem;
    }

    .visual-eyebrow {
        font-size: 2rem;
    }

    .visual-divider {
        margin: 3.5rem 0 2rem;
    }

    .visual-phrase {
        font-size: 2.4rem;
    }

    .visual-opening {
        bottom: 2rem;
        width: 14rem;
    }

    .visual-opening strong {
        inset: 3rem;
        font-size: 1.8rem;
    }

    .intro-head,
    .loc-intro,
    .main-location:not([data-loc-state="0"]) .loc-intro,
    .loc-list,
    .site-footer {
        flex-wrap: wrap;
        justify-content: center;
        gap: 3rem;
        text-align: center;
    }

    .loc-visual {
        height: 28rem;
    }

    .contact-head h2 {
        font-size: 3.6rem;
        margin-bottom: 2rem;
    }

    .contact-heading {
        font-size: 2rem;
        margin-bottom: 4rem;
    }

    .contact-heading strong {
        display: block;
        margin-top: 1rem;
        line-height: 1.25;
    }

    .contact-logo img {
        width: 36rem;
    }

    .contact-tel {
        height: 5.6rem;
        gap: 1rem;
    }


}

@media (max-width: 640px) {

    .loc-list {
        gap: 0;
    }

    .loc-item,
    .loc-item.is-active {
        padding-left: 4rem;
    }

    .loc-num,
    .loc-item.is-active .loc-num {
        font-size: 2.8rem;
        top: 2.75rem;
    }

    .loc-title,
    .loc-item.is-active .loc-title {
        min-height: auto;
    }

    .loc-title h3,
    .loc-item.is-active .loc-title h3 {
        font-size: 2.4rem;
        font-weight: 800;
    }

    .loc-item p,
    .loc-item.is-active p {
        color: #666;
        padding-right: 8rem;
    }

    .loc-item p br {
        display: none;
    }
}

@media (max-width: 480px) {
    .visual-copy {
        max-width: 30rem;
    }

    .visual-eyebrow {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }

    .visual-phrase {
        font-size: 2.2rem;
    }

    .visual-opening {
        right: auto;
        left: 3%;
    }

    .visual-opening strong {
        font-size: 1.6rem;
    }

    .intro-copy {
        font-size: 1.8rem;
    }

    .intro-brand img,
    .visual-logo img {
        max-width: 28rem;
        width: 100%;
    }

    .intro-note {
        position: static;
        color: #444;
        margin-top: 2rem;
        word-break: keep-all;
    }

    .intro-visual::after {
        display: none;
    }

    .loc-intro-title {
        width: 50%;
        word-break: break-word;
        text-align: left;
        padding-left: 0.5rem;
        width: 17.5rem;
    }

    .main-location:not([data-loc-state="0"]) .loc-intro-num {
        right: -1.5rem;
        bottom: 3rem;
        font-size: 5.4rem;
    }

    .loc-item,
    .loc-item.is-active {
        padding-left: 3rem;
    }

    .loc-num,
    .loc-item.is-active .loc-num {
        font-size: 2.4rem;
        top: 3rem;
    }

    .loc-title h3,
    .loc-item.is-active .loc-title h3 {
        font-size: 2.2rem;
        padding-right: 7.5rem;
    }

    .loc-item p,
    .loc-item.is-active p {
        font-size: 1.6rem;
        padding-right: 7.5rem;
    }

    .loc-title img,
    .loc-item.is-active .loc-title img {
        width: 6rem;
    }

    .contact-head {
        margin-bottom: 4rem;
    }

    .contact-head h2 {
        font-size: 3.2rem;
        margin-bottom: 1.6rem;
    }

    .contact-heading {
        font-size: 2rem;
        margin-bottom: 4rem;
    }

    .contact-logo img {
        width: 28rem;
    }

    .contact-tel {
        font-size: 2rem;
    }

    .contact-tel img {
        width: 2rem;
        height: 2rem;
    }

    .contact-tel strong {
        font-size: 2rem;
    }

    #ft {
        padding: 6rem 5% 5rem;
    }

    #ft #top_btn {
        right: 5%;
        top: 6rem;
        width: 4rem;
        aspect-ratio: 1 / 1;
        height: auto;
        font-size: 1.6rem;
    }

    #ft .ft-company {
        flex-direction: column;
        text-align: left;
    }

    #ft .ft-company li {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    #ft .ft-company li::after {
        display: none;
    }

    .ft-company,
    .ft-legal,
    .ft-copy {
        font-size: 1.5rem;
    }
}