/* ==========================================================================
   main.css — 뷰티어라인
========================================================================== */

/* ========================
   section1 : Hero
======================== */
.section1 {
    height: 250vh;
    position: relative;
    box-sizing: border-box;
}

.section1__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    padding-top: 180px;
    padding-bottom: 60px;
    box-sizing: border-box;
    overflow: hidden;
}

.section1__hero-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vmax;
    height: 100vmax;
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(0.3);
    z-index: -1;
    animation: heroZoom linear both;
    animation-timeline: scroll(root);
    animation-range: 0 150vh;
}

@keyframes heroZoom {
    0%   { transform: translate(-50%, -50%) scale(0.17); }
    55%  { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.2); }
}

.section1__hero-shape {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, #FFFF12 0%, #FFE362 40%, #FFFF12 70%);
    clip-path: polygon(15% 0, 100% 8%, 96% 78%, 78% 100%, 8% 92%, 0 28%);
    animation: heroShapeMorph linear both;
    animation-timeline: scroll(root);
    animation-range: 120vh 150vh;

}

.section1__image-mask {
    position: absolute;
    inset: 0;
    clip-path: polygon(15% 0, 100% 8%, 96% 78%, 78% 100%, 8% 92%, 0 28%);
    overflow: hidden;
    opacity: 0;
    animation: heroImgFade linear both, heroShapeMorph linear both;
    animation-timeline: scroll(root), scroll(root);
    animation-range: 30vh 90vh, 120vh 150vh;
}

@keyframes heroShapeMorph {
    0%   { clip-path: polygon(15% 0, 100% 8%, 96% 78%, 78% 100%, 8% 92%, 0 28%); }
    100% { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); }
}

@keyframes heroImgFade {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

.section1__photo-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
}

/* SCROLL DOWN 버튼 */
.section1__btn {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    z-index: 10;
}

.section1__scroll-cue-mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid currentColor;
    border-radius: 12px;
    position: relative;
    display: block;
}

.section1__scroll-cue-mouse::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 2px;
    height: 6px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollCueWheel 1.6s ease-in-out infinite;
}

@keyframes scrollCueWheel {
    0%   { transform: translate(-50%, 0); opacity: 1; }
    60%  { transform: translate(-50%, 8px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 0; }
}

/* 타이틀 fade-in */
.section1__top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 25px;
    opacity: 0;
    animation: sectionTopFadeIn linear both;
    animation-timeline: scroll(root);
    animation-range: 12.5vh 50vh;
}

@keyframes sectionTopFadeIn {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

.section1__title { line-height: 1.3; }

.section1__desc {
    text-align: center;
    margin-top: 35px;
}

/* 갤러리 롤링 */
.section1__gallery {
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 10;
}

.section1__gallery-track {
    margin-top: 30px;
    display: flex;
    gap: 16px;
    width: max-content;
    animation: galleryRoll 25s linear infinite;
}

.section1__gallery-track:hover {
    animation-play-state: paused;
}

@keyframes galleryRoll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.section1__gallery-item {
    position: relative;
    width: 450px;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 4px;
}

.section1__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.section1__gallery-item:hover img {
    transform: translateY(10px) scale(1.05);
}

.section1__gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section1__gallery-item:hover .section1__gallery-overlay { opacity: 1; }

.section1__gallery-scene { color: #fff; }

/* ========================
   Side Nav
======================== */
.side-nav {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.side-nav.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.side-nav__item {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    cursor: pointer;
}

.side-nav__label {
    color: #333;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.side-nav__item.active .side-nav__label { opacity: 1; }

.side-nav__num {
    font-size: 13px;
    color: #bbb;
    transition: color 0.3s;
}

.side-nav__item.active .side-nav__num { color: #30483B; }

.side-nav__line {
    display: block;
    width: 20px;
    height: 1.5px;
    background: #ddd;
    transition: background 0.3s, width 0.3s;
}

.side-nav__item.active .side-nav__line {
    background: #30483B;
    width: 30px;
}

/* ========================
   공통 section nav / body
======================== */
.section2__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.section2__nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #30483B;
}

.section2__nav-line  { color: #30483B; }
.section2__nav-total { color: #30483B; }
.section2__nav-right { color: #444; letter-spacing: 0.05em; }

.section2__body {
    display: flex;
    align-items: center;
    gap: 300px;
}

.section2__content { flex: 0 0 500px; }

.section2__label {
    color: #FF665A;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.section2__title {
    color: #30483B;
    line-height: 1.1;
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

.section2__title-highlight {
    background: linear-gradient(to top, #FFFF12 40%, transparent 40%);
    color: #30483B;
    display: inline;
    padding: 0;
}

.section2__desc {
    color: #444;
    line-height: 1.9;
    word-break: keep-all;
    white-space: nowrap;
}

.section2__media { flex: 1; }

.section2__media img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

/* ========================
   section2 · 3 · section4-diet
======================== */
.section2, .section3, .section4-diet {
    padding: 100px 0;
}

/* ========================
   section-banner
======================== */
.section-banner {
    background-image: url('/html/images/section5_back.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    overflow: hidden;
}

.section-banner__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 400px;
    padding: 0 80px;
}

.section-banner__content {
    flex: 0 0 50%;
    padding: 60px 0 60px 80px;
}

.section-banner__sub {
    color: #FF665A;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.section-banner__title {
    color: #111;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-banner__underline {
    position: absolute;
    bottom: -15px;
    left: 105px;
}

.section-banner__star {
    position: absolute;
    top: -30px;
    right: -55px;
}

.section-banner__desc {
    color: #555;
    line-height: 1.8;
    margin-bottom: 48px;
}

.section-banner__stats {
    display: flex;
    text-align: center;
    padding-top: 60px;
}

.section-banner__stat-item { flex: 1; }

.section-banner__stat-value {
    color: #111;
    line-height: 1;
    margin-bottom: 8px;
}

.section-banner__stat-label { color: #888; }

/* ========================
   section-viewra
======================== */
.section-viewra {
    padding: 80px 0 0;
    background-image: url('images/gradation.png');
    background-size: cover;
    background-position: center;
}

.section-viewra__top {
    text-align: center;
    margin-bottom: 30px;
}

.section-viewra__label {
    color: #FF665A;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.section-viewra__title {
    font-size: 48px;
    color: #111;
    line-height: 1.2;
}

/* 아코디언 */
.section-viewra__accordion {
    display: flex;
    height: 420px;
    gap: 10px;
}

.section-viewra__item {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: flex 0.5s ease;
}

.section-viewra__item:hover { flex: 5; }

/* 오버레이 */
.section-viewra__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(34, 34, 34, 0.6);
    transition: background 0.4s;
    z-index: 0;
    border-radius: 16px;
}

.section-viewra__item:hover::before {
    background: rgba(34, 34, 34, 0.35);
}

/* 닫힌 상태 */
.section-viewra__item-closed {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 0;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s;
}

.section-viewra__item:hover .section-viewra__item-closed {
    opacity: 0;
    pointer-events: none;
}

.section-viewra__dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFFF12;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.section-viewra__sub-title {
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* 열린 상태 */
.section-viewra__item-open {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s 0.2s, transform 0.4s 0.2s;
    pointer-events: none;
    display: flex;
    align-items: stretch;
    gap: 40px;
    padding: 28px 32px;
}

.section-viewra__item:hover .section-viewra__item-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.section-viewra__item-open-left {
    flex: 0.5;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* 왼쪽은 위에 */
    align-items: flex-start;
}

.section-viewra__item-open-right {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;    /* 오른쪽은 아래에 */
    align-items: flex-start;
}

.section-viewra__card-en {
    color: #FFFF12;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.section-viewra__card-title {
    color: #fff;
    margin-bottom: 0;
}

.section-viewra__card-desc {
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

/* 첫번째 카드 기본 열림 */
.section-viewra__item:first-child { flex: 5; }

.section-viewra__item:first-child .section-viewra__item-closed { opacity: 0; }

.section-viewra__item:first-child .section-viewra__item-open {
    opacity: 1;
    transform: translateY(0);
}

/* 아코디언 호버시 첫번째 접힘 */
.section-viewra__accordion:hover .section-viewra__item:first-child { flex: 1; }

.section-viewra__accordion:hover .section-viewra__item:first-child .section-viewra__item-closed { opacity: 1; }

.section-viewra__accordion:hover .section-viewra__item:first-child .section-viewra__item-open {
    opacity: 0;
    transform: translateY(10px);
}

/* 첫번째 카드 직접 호버 */
.section-viewra__accordion:hover .section-viewra__item:first-child:hover { flex: 5; }

.section-viewra__accordion:hover .section-viewra__item:first-child:hover .section-viewra__item-closed { opacity: 0; }

.section-viewra__accordion:hover .section-viewra__item:first-child:hover .section-viewra__item-open {
    opacity: 1;
    transform: translateY(0);
}

/* 롤링 텍스트 */
.rolling-text {
    width: 100%;
    height: 80px;
    background-image: url('/html/images/rolling_text.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    animation: rollingText 20s linear infinite;
}



@keyframes rollingText {
    0%   { background-position: 0 0; }
    100% { background-position: -100% 0; }
}

/* ========================
   section-prenatal
======================== */
.section-prenatal {
    position: relative;
    padding: 80px 0 120px;
    background-image: url('/html/images/s_b.png');
    background-size: cover;
    background-position: center;
}

.section-prenatal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
}

.section-prenatal .header_center {
    position: relative;
    z-index: 1;
}

.section-prenatal__top {
    text-align: center;
    margin-bottom: 60px;
}

.section-prenatal__label {
    color: #FF665A;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.section-prenatal__title {
    color: #30483B;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-prenatal__desc {
    color: #444;
    line-height: 1.8;
}

.section-prenatal__cards {
    display: flex;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-prenatal__card {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow:
            0px 0px 20px 0px rgba(255, 255, 255, 0.5),
            2px 6px 12px 0px rgba(221, 221, 221, 0.75);
}

.section-prenatal__dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.section-prenatal__dot--red  { background: #FF665A; }
.section-prenatal__dot--dark { background: #333; }

.section-prenatal__card-title {
    color: #111;
    margin-bottom: 20px;
}

.section-prenatal__card-desc {
    color: #666;
    line-height: 1.9;
}

/* ========================
   section-direction
======================== */
.section-direction {
    padding: 80px 0 120px;
}

.section-direction__top {
    text-align: center;
    margin-bottom: 60px;
}

.section-direction__label {
    color: #30483B;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.section-direction__title {
    color: #30483B;
}

.section-direction__body {
    display: flex;
    align-items: center;
    gap: 80px;
}

.section-direction__map { flex: 0 0 640px; }

.section-direction__map .root_daum_roughmap {
    width: 640px !important;
    border-radius: 8px;
    overflow: hidden;
}

.section-direction__info {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.section-direction__info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 40px;
    border-right: 1px solid #eee;
}

.section-direction__info-item:first-child { padding-left: 0; }
.section-direction__info-item:last-child  { border-right: none; }

.section-direction__divider { display: none; }

.section-direction__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.section-direction__info-title {
    color: #222;
    white-space: nowrap;
}

.section-direction__info-num {
    color: #30483B;
    white-space: nowrap;
}

.section-direction__info-desc {
    color: #444;
    line-height: 1.9;
    white-space: nowrap;
}

/* ========================
   Footer
======================== */
.sc-footer {
    padding: 48px 0;
    border-top: 1px solid #eee;
}

.sc-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sc-footer__left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sc-footer__brand {
    color: #111;
    margin-bottom: 4px;
}

.sc-footer__row { display: flex; align-items: center; }

.sc-footer__info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #444;
}

.sc-footer__key {
    color: #111;
    font-weight: 600;
}

.sc-footer__divider {
    color: #111;
    font-weight: 600;
    margin-left: 12px;
}

.sc-footer__val { color: #444; }

.sc-footer__copy {
    color: #888;
    margin-top: 4px;
}

/* 오른쪽 로고 텍스트 */
.sc-footer__right { flex-shrink: 0; }

.sc-footer__logo-text {
    font-size: 32px;
    color: #ccc;
    letter-spacing: 0.2em;
    font-family: serif;
    font-weight: 300;
}

.cont { display: none; }


/* ========================
   hero-logo : 다크/화이트 로고 크로스페이드
   (HTML에 img 2장 필요 — back1.png / back1_white.png)
======================== */
.section1__hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.section1__hero-logo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section1__hero-logo-img--dark {
    opacity: 1;
    animation: heroLogoFadeOut linear both;
    animation-timeline: scroll(root);
    animation-range: 240vh 300vh;
}

.section1__hero-logo-img--white {
    opacity: 0;
    animation: heroLogoFadeIn linear both;
    animation-timeline: scroll(root);
    animation-range: 240vh 300vh;
}

@keyframes heroLogoFadeOut {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes heroLogoFadeIn {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

.section1__hero-text {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #333;
    z-index: 3;
    white-space: nowrap;
    transition: color   0.3s ease;   /* 전환 애니메이션은 여기서 처리 */

}


.section1__hero-text.is-white .prt-medium{
    font-family: 'Pretendard-Bold', sans-serif !important;
    color: #fff;
}

.section1__hero-text .prt-medium {
    font-family: 'Pretendard-Light', sans-serif !important;
}


/* ==========================================================================
   responsive.css — 뷰티어라인 반응형
   태블릿: 768px ~ 1024px
   모바일: ~ 767px
========================================================================== */

/* ========================
   태블릿 (768px ~ 1024px)
======================== */
@media (max-width: 1024px) {

    .header_center {
        padding: 0 40px;
    }

    /* Side Nav */
    .side-nav {
        right: 20px;
    }

    /* section1 */
    .section1__desc {
        font-size: 16px;
    }

    .section1__gallery-item {
        width: 320px;
        height: 220px;
    }

    /* section2 공통 */
    .section2__body {
        gap: 60px;
    }

    .section2__content {
        flex: 0 0 360px;
    }

    /* section-banner */
    .section-banner__content {
        flex: 0 0 60%;
        padding: 40px 0 40px 40px;
    }

    .section-banner__title {
        font-size: 36px;
    }

    .section-banner__stat-value {
        font-size: 32px;
    }

    /* section-viewra */
    .section-viewra__accordion {
        height: 360px;
    }

    .section-viewra__card-title {
        font-size: 28px;
    }

    /* section-prenatal */
    .section-prenatal__cards {
        gap: 16px;
    }

    .section-prenatal__card {
        padding: 30px;
    }

    /* section-direction */
    .section-direction__body {
        gap: 40px;
    }

    .section-direction__map {
        flex: 0 0 400px;
    }

    .section-direction__map .root_daum_roughmap {
        width: 400px !important;
    }

    .section-direction__info-item {
        padding: 0 20px;
    }

    .section-direction__info-title,
    .section-direction__info-num,
    .section-direction__info-desc {
        white-space: normal;
    }
}

/* ========================
   모바일 (~ 767px)
======================== */
@media (max-width: 767px) {

    .header_center {
        padding: 0 20px;
    }

    /* Side Nav 숨김 */
    .side-nav {
        display: none;
    }

    /* section1 */
    .section1__gallery-item {
        width: 260px;
        height: 180px;
    }

    .section1__btn {
        bottom: 20px;
    }

    /* section2 공통 nav */
    .section2__nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 24px;
    }

    /* section2 공통 body */
    .section2__body {
        flex-direction: column;
        gap: 30px;
    }

    .section2__content {
        flex: 0 0 auto;
        width: 100%;
    }

    .section2__media {
        width: 100%;
    }

    /* section3 이미지 순서 변경 (이미지 위, 텍스트 아래) */
    .section3 .section2__body {
        flex-direction: column-reverse;
    }

    .section2__title {
        font-size: 36px !important;
    }

    .section2__desc {
        white-space: normal;
    }

    /* section2 · 3 · 4 패딩 */
    .section2, .section3, .section4-diet {
        padding: 60px 0;
    }

    /* section-banner */
    .section-banner {
        background-size: cover;
    }

    .section-banner__inner {
        flex-direction: column;
        justify-content: flex-end;
        padding: 0 20px;
        min-height: 500px;
    }

    .section-banner__content {
        flex: 0 0 auto;
        width: 100%;
        padding: 30px 0;
        border-radius: 12px;
        margin-bottom: 30px;
    }

    .section-banner__title {
        font-size: 28px;
    }

    .section-banner__stats {
        padding-top: 30px;
    }

    .section-banner__stat-value {
        font-size: 28px;
    }

    /* section-viewra */
    .section-viewra__accordion {
        flex-direction: column;
        height: auto;
        gap: 8px;
    }

    .section-viewra__item {
        height: 80px;
        flex: none !important;
        border-radius: 12px;
        transition: height 0.5s ease;
    }

    .section-viewra__item:hover {
        flex: 1;
        height: 300px;
    }

    .section-viewra__item:first-child {
        flex: 1;
        height: 300px;
    }

    .section-viewra__sub-title {
        writing-mode: horizontal-tb;
        font-size: 16px;
    }

    .section-viewra__item-closed {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 0 20px;
    }

    .section-viewra__item-open {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .section-viewra__item-open-left,
    .section-viewra__item-open-right {
        flex: none;
        white-space: normal;
    }

    .section-viewra__card-title {
        font-size: 24px;
    }

    .section-viewra__card-desc {
        font-size: 14px;
    }

    /* rolling text */
    .rolling-text {
        height: 50px;
    }

    /* section-prenatal */
    .section-prenatal {
        padding: 60px 0 80px;
    }

    .section-prenatal__cards {
        flex-direction: column;
        gap: 16px;
    }

    .section-prenatal__card {
        width: 100% !important;
        padding: 30px 20px;
    }

    .section-prenatal__title {
        font-size: 32px !important;
    }

    /* section-direction */
    .section-direction {
        padding: 60px 0 80px;
    }

    .section-direction__body {
        flex-direction: column;
        gap: 30px;
    }

    .section-direction__map {
        flex: 0 0 auto;
        width: 100%;
    }

    .section-direction__map .root_daum_roughmap {
        width: 100% !important;
    }

    .section-direction__info {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .section-direction__info-item {
        flex: none;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .section-direction__info-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .section-direction__info-title,
    .section-direction__info-num,
    .section-direction__info-desc {
        white-space: normal;
    }

    .section-direction__title {
        font-size: 32px;
    }

    /* footer */
    .sc-footer__inner {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .sc-footer__logo-text {
        font-size: 20px;
    }

    .sc-footer__addr,
    .sc-footer__operator {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .section1__hero-logo img{
        width: 100%;
    }
    .section1__photo-fill{
        background-size: cover;
    }
}