/* =============================
header　下層ページカスタム
============================= */
.header {
    position: static;
}

.header-logo__txt {
    color: var(--primary-black);
}

/* nav初期表示 */
.header.active {
    position: sticky;
}

.header-nav {
    background-color: rgba(from var(--primary-light-gray) r g b / 0.8);
}

.blur-overlay {
    background-color: rgba(from var(--primary-light-gray) r g b / 0.2);
}

/* ハンバーガーメニュー */
.hamburger span {
    background-color: var(--primary-black);
}

/* nav active表示 */
.header-nav.active {
    box-shadow: 1px 1px 8px var(--primary-dark-gray);
}

body.menu-open main,
body.menu-open footer {
    filter: blur(4px);
    transition: filter 0.5s ease;
}

/* header pc */
@media screen and (min-width:769px) {
    .header-nav {
        background-color: transparent;
    }

    .header-nav__item a {
        color: var(--primary-black);
    }

    .header-nav__item a::before {
        background-color: var(--primary-black);
    }
} /* pc 769px */

/* =============================
service
============================= */
.service {
    padding: 40px 0 0;
}

.service-hero__copy {
    margin: 56px 0;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.08em;
    text-align: center;
}

.service-hero__copy span {
    font-size: 1.7rem;
}

.service-hero__img {
    display: block;
    width: 100vw;
    height: 160px;
    margin: 0 calc(50% - 50vw);
    object-fit: cover;
}

.section__scroll {
    width: 100vw;
    height: 200svh;
    margin: 0 calc(50% - 50vw);
    position: relative;
    overflow: clip;
}

.section__item {
    padding: 40px 0;
    width: 100%;
    height: fit-content;
    position: sticky;
    top: 0;
    overflow: visible;
    margin-bottom: -100svh;
}

.section__item--01 {
    background: linear-gradient(180deg, #FFF 0%, #EEE 100%);
    z-index: 2;
}

.section__item__inner {
    margin: 0 8.5%;
}

.section__item-title {
    display: inline-block;
    color: var(--primary-navy);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.16em;
    border-bottom: 1px solid var(--primary-navy);
}

.section__item-title span {
    font-size: 2.6rem;
    letter-spacing: 0;
    margin-right: 24px;
}

.ec-flex {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ec__photo {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;

}

.ec__photo img {
    display: block;
}

.section__txt {
    padding: 32px;
    background-color: var(--primary-white);
}

.section__txt-title {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 2;
    letter-spacing: 0.08em;
}

.section__txt-desc {
    margin-top: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
}

.ec-btn {
    margin-top: 32px;
}

.ec-btn a {
    padding: 4px 20%;
    display: block;
    background-color: var(--primary-white);
    border-radius: 4px;
    position: relative;
}

.ec-btn img {
    display: block;
    width: 172px;
    height: 40px;
    margin: 10px auto 0 ;
}

.ec-btn a::before {
    content: '公式オンラインストア';
    font-family: 'BIZ UDGothic', sans-serif;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.04em;
    position: absolute;
    top: 4px;
    left: 25%;
}

.ec-btn a::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url(../images/roundbtn-arrow.svg);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%) rotate(-45deg);
}

.section__item--02 {
    background-image: url(../images/realestate-background.jpg);
    background-position: center;
    z-index: 1;
    padding: 40px 0 72px;
    margin-bottom: 0;
    height: 100vh;
}

.section__item-title--02 {
    color: var(--primary-white);
    border-bottom: 1px solid var(--primary-white);
}

.realestate-flex {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.realestate__photo {
    margin-top: 56px;
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.realestate__photo img:first-child {
    display: block;
    width: 100%;
    height: 88px;
    object-fit: cover;
}

.realestate__photo img:last-child {
    display: block;
    width: 100%;
    height: 112px;
    object-fit: cover;
}

.section__txt--02 {
    background-color: rgba(from var(--primary-white) r g b / 0.8);
}

.scrolldown {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 3;
    transition: opacity 0.3s ease, color 0.3s ease;
    color: var(--primary-navy);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1;
    writing-mode: vertical-rl;
    text-transform: capitalize;
}

.scrolldown::before {
    content: '';
    width: 4px;
    height: 48px;
    background-color: var(--primary-navy);
    border-radius: 10px;
    position: absolute;
    top: 0;
    right: -9px;
    animation: scrolldown 2s infinite;
    transition: background-color 0.3s ease;
}

.scrolldown.over-section--02 {
    color: var(--primary-light-gray);
}

.scrolldown.over-section--02::before {
    background-color: var(--primary-light-gray);
}

@keyframes scrolldown {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
}

/* service pc */
@media screen and (min-width:769px) {
    .service {
        padding: 72px 0 0;
    }
    
    .service-hero__copy {
        margin: 72px 0 80px;
        font-size: 2.6rem;
        letter-spacing: 0.16em;
    }

    .service-hero__copy span {
        font-size: 2.5rem;
    }

    .service-hero__img {
        height: 400px;
    }

    .section__item {
        padding: 64px 0 144px;
    }

    .section__item__inner {
        margin: 0 10%;
    }

    .section__item-title {
        font-size: 2.8rem;
    }

    .section__item-title span {
        font-size: 4rem;
        margin-right: 40px;
    }

    .ec-flex {
        flex-direction: row;
        gap: 56px;
        margin-top: 96px;
        align-items: flex-end;
    }

    .ec__photo {
        margin-top: 0;
        gap: 16px;
        flex: 2;
    }

    .section__txt {
        padding: 40px;
        flex: 1;
        height: fit-content;
    }

    .section__txt-title {
        font-size: 2rem;
        letter-spacing: 0.16em;
    }

    .section__txt-desc {
        margin-top: 24px;
        font-size: 1.8rem;
    }

    .ec-btn {
        margin-top: 72px;
        text-align: right;
    }

    .ec-btn a {
        padding: 8px 15%;
        display: inline-block;
        max-width: 580px;
    }

    .ec-btn img {
        display: inline-block;
        width: 172px;
        height: 40px;
        margin: 12px auto 0;
    }

    .ec-btn a::before {
        font-size: 1.2rem;
        top: 8px;
        left: 34%;
    }

    .ec-btn a::after {
        width: 40px;
        height: 40px;
        right: 10%;
    }
    
    .section__item--02 {
        background-image: url(../images/realestate-background.jpg);
        background-position: center;
    }
    
    .realestate-flex {
        flex-direction: row-reverse;
        gap: 56px;
        align-items: flex-end;
        margin-top: 96px;
    }
    
    .realestate__photo {
        margin-top: 0;
        flex-direction: column;
        gap: 24px;
        align-items: flex-end;
    }
    
    .realestate__photo img:first-child {
        width: 300px;
        height: 180px;
    }
    
    .realestate__photo img:last-child {
        height: 240px;
    }

    .scrolldown {
        right: 4.5%;
        font-size: 1.6rem;
    }
    
    .scrolldown::before {
        height: 64px;
    }
}
/* pc 769px */








