@charset "UTF-8";

/* グラデーションの分岐点をアニメーションさせるためのカスタムプロパティ定義 */
@property --gradient-transparent-stop {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 67%;
}

/* ヒーローイメージ
-------------------------------------- */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffeb96;
}

.hero__slider {
    padding: min(14.00vw, 168px) 0;
}

.hero__slider .slick-list {
    padding-top: min(1.25vw, 15px);
    padding-bottom: min(1.25vw, 15px);
}

.hero__image {
    aspect-ratio: 560 / 448;
    width: min(46.67vw, 560px) !important;
    border-radius: var(--roundM);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 0 min(2.00vw, 24px);
}

.hero__image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* アニメーション */
/* @keyframes fuwa-fuwa-up {

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

    50% {
        transform: translateY(-16px);
    }
}

@keyframes fuwa-fuwa-down {

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

    50% {
        transform: translateY(16px);
    }
}

.hero__slider .slick-slide {
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.hero__slider .slick-slide:nth-child(odd) {
    animation-name: fuwa-fuwa-up;
}

.hero__slider .slick-slide:nth-child(even) {
    animation-name: fuwa-fuwa-down;
} */

@media (max-width: 575px) {

    .hero__slider {
        padding: min(14.00vw, 168px) 0;
    }

    .hero__slider .slick-list {
        padding-top: 24px;
        padding-bottom: 16px;
    }

    .hero__image {
        width: 300px !important;
        margin: 0 16px;
    }
}


/* 共通
-------------------------------------- */
.section-title {
    color: transparent;
    font-family: var(--enText);
    font-size: min(10.00vw, 12rem);
    font-weight: var(--weightB);
    text-align: center;
    -webkit-text-stroke: 1px #fff;
}

@media (max-width: 575px) {
    .section-title {
        font-size: 6rem;
    }
}


/* コンテンツ上部のあしらい
-------------------------------------- */
.top-contents {
    position: relative;
    margin-top: min(56.67vw, 680px);
    width: 100%;
    background-color: var(--keyColorB);
}

.top-contents::before {
    content: "";
    position: absolute;
    top: max(-11.67vw, -140px);
    left: 0;
    display: block;
    height: min(36.58vw, 439px);
    width: 100%;
    background: url(../img/top-contents-header.png) no-repeat left 70% center / cover;
}

.top-contents__copy {
    position: relative;
    bottom: 1vw;
    margin-left: 10vw;
    width: min(64.92vw, 779px);
    z-index: 1;
}

.top-contents__copy img {
    filter: drop-shadow(0px min(0.67vw, 8px) min(1.00vw, 12px) rgba(0, 0, 0, 0.1));
}

.top-contents__scroll-text-wrapper {
    width: 100%;
    overflow: hidden;
}

.top-contents__scroll-text {
    position: relative;
    margin-top: min(10vw, 120px);
    transform: rotate(-3deg);
    transform-origin: left center;
    width: calc(100% + 5px);
    color: var(--keyColorA);
    font-family: var(--enText);
    font-size: min(7.92vw, 9.5rem);
    font-weight: var(--weightB);
    z-index: 1;
}

.top-contents__scroll-text span {
    display: block;
}

.top-contents__scroll-text span::after {
    content: "";
    display: inline-block;
    margin: min(2.00vw, 24px) min(1.33vw, 16px);
    width: min(1.33vw, 16px);
    height: min(1.33vw, 16px);
    background-color: var(--keyColorA);
    border-radius: 100vh;
}

@media (min-width: 1500px) {
    .top-contents::before {
        top: -150px;
        background: url(../img/top-contents-header.png) no-repeat left 85% center / cover;
    }

    .top-contents__copy {
        bottom: 2vw;
    }
}

@media (max-width: 575px) {
    .top-contents {
        margin-top: 420px;
    }

    .top-contents::before {
        top: -140px;
        height: 220px;

    }

    .top-contents__copy {
        top: -60px;
        margin-left: 24px;
        width: 80vw;
    }

    .top-contents__scroll-text-wrapper {
        padding-top: 10px;
    }

    .top-contents__scroll-text {
        margin-top: 0;
        width: calc(100% + 5px);
        font-size: 4.5rem;
    }

    .top-contents__scroll-text span::after {
        margin: 10px 8px;
        width: 8px;
        height: 8px;
    }
}

/* コンセプト
-------------------------------------- */
.concept {
    position: relative;
    margin-top: min(10.00vw, 120px);
}

.concept__inner {
    width: 100%;
}

.concept__text {
    width: 50%;
    padding: min(6.00vw, 72px);
    background-color: #fff;
    border-radius: var(--roundM) 0 0 var(--roundM);
}

.concept__title {
    margin-bottom: min(2.00vw, 24px);
    color: var(--keyColorA);
    font-size: min(3.75vw, 4.5rem);
    font-weight: var(--weightB);
    letter-spacing: var(--lsWideA);
    line-height: 1.6;
}

.concept__image {
    width: 50%;
    overflow: hidden;
    border-radius: 0 var(--roundM) var(--roundM) 0;
}

.concept__image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.concept__btn {
    position: absolute;
    bottom: max(-3.33vw, -40px);
    left: 50%;
    transform: translateX(-50%);
}

.concept__illust {
    position: absolute;
    top: max(-14.17vw, -170px);
    right: max(-4.17vw, -50px);
    aspect-ratio: 515 / 259;
    width: min(42.92vw, 515px);
    z-index: 1;
}

@media (max-width: 575px) {
    .concept {
        margin-top: 64px;
    }

    .concept__text {
        width: 100%;
        padding: 40px 24px 24px;
        border-radius: var(--roundM) var(--roundM) 0 0;
    }

    .concept__title {
        margin-bottom: 16px;
        font-size: 2.4rem;
    }

    .concept__image {
        width: 100%;
        height: 320px;
        border-radius: 0 0 var(--roundM) var(--roundM);
    }

    .concept__image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .concept__btn {
        bottom: -32px;
    }

    .concept__illust {
        top: -80px;
        right: -16px;
        width: 240px;
    }
}


/* 事業案内
-------------------------------------- */
.business {
    margin-top: min(10.00vw, 120px);
}

.business__title {
    margin-bottom: min(6.67vw, 80px);
}

.business__inner {
    align-items: stretch;
    gap: min(4.00vw, 48px);
    height: min(53.33vw, 640px);
}

.business__item {
    position: relative;
    display: block;
    padding: min(2.67vw, 32px);
}

.business__item::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* カスタムプロパティを使用してグラデーションを定義 */
    background: linear-gradient(rgba(74, 178, 97, 0) 0%, rgba(74, 178, 97, 0) var(--gradient-transparent-stop), #4ab261 86%, #4ab261 100%);
    /* カスタムプロパティの変更をトランジションの対象にする */
    transition: --gradient-transparent-stop 0.3s ease;
}

.business__item--estate {
    width: 50%;
    height: min(53.33vw, 640px);
    background: url(../img/top-estate.jpg ) no-repeat center center / cover;
    border-radius: 0 var(--roundM) var(--roundM) 0;
}

.business__item--estate::before {
    border-radius: 0 var(--roundM) var(--roundM) 0;
}

.business__item-title {
    position: absolute;
    top: max(-4.33vw, -52px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    color: var(--keyColorA);
    font-weight: var(--weightB);
    text-align: center;
}

.business__item-title span {
    display: block;
}

.business__item-title span:first-child {
    margin-bottom: min(0.67vw, 8px);
    font-family: var(--enText);
    font-size: min(7.08vw, 8.5rem);
}

.business__item-title span:last-child {
    width: fit-content;
    margin: 0 auto;
    padding: min(1.00vw, 12px) min(1.83vw, 22px);
    font-size: min(1.67vw, 2rem);
    letter-spacing: var(--lsWideB);
    background-color: #fff;
    border-radius: 100vh;
}

.business__item-description {
    position: absolute;
    bottom: min(4.00vw, 48px);
    left: min(4.00vw, 48px);
    color: #fff;
    font-size: min(2.00vw, 2.4rem);
    font-weight: var(--weightB);
    letter-spacing: var(--lsWideA);
}

.business__item-description span {
    display: block;
}

.business__item-description span:first-child {
    margin-bottom: min(0.67vw, 8px);
    font-size: min(1.25vw, 1.5rem);
}

.business__btn {
    position: absolute;
    bottom: min(2.67vw, 32px);
    right: min(2.67vw, 32px);
}

.business__sub-group {
    display: flex;
    flex-direction: column;
    gap: min(4.00vw, 48px);
    width: 50%;
}

.business__item--parking,
.business__item--food {
    height: 50%;
    border-radius: var(--roundM) 0 0 var(--roundM);
}

.business__item--parking::before,
.business__item--food::before {
    border-radius: var(--roundM) 0 0 var(--roundM);
}

.business__item--parking {
    background: url(../img/top-parking.jpg ) no-repeat center center / cover;
}

.business__item--food {
    background: url(../img/top-food.jpg ) no-repeat center center / cover;
}

@media (hover: hover) and (pointer: fine) {
    .business__item:hover::before {
        /* ホバー時にカスタムプロパティの値を変更 */
        --gradient-transparent-stop: 30%;
    }
}

@media (max-width: 575px) {
    .business {
        margin-top: 80px;
    }

    .business__title {
        margin-bottom: 40px;
    }

    .business__inner {
        gap: 24px;
        padding: 0 24px;
        height: auto;
    }

    .business__item {
        padding: 24px;
    }

    .business__item--estate {
        width: 100%;
        height: 240px;
        border-radius: var(--roundM);
    }

    .business__item--estate::before {
        border-radius: var(--roundM);
    }

    .business__item-title {
        top: -28px;
    }

    .business__item-title span:first-child {
        margin-bottom: 8px;
        font-size: 4.5rem;
    }

    .business__item-title span:last-child {
        padding: 10px 18px;
        font-size: 1.5rem;
    }

    .business__item-description {
        bottom: 24px;
        left: 24px;
        font-size: 1.5rem;
    }

    .business__item-description span:first-child {
        margin-bottom: 8px;
        font-size: 1.17rem;
    }

    .business__btn {
        bottom: 12px;
        right: 12px;
    }

    .business__sub-group {
        gap: 48px;
        margin-top: 24px;
        width: 100%;
    }

    .business__item--parking,
    .business__item--food {
        height: 180px;
        border-radius: var(--roundM);
    }

    .business__item--parking::before,
    .business__item--food::before {
        border-radius: var(--roundM);
    }
}


/* CSR活動
-------------------------------------- */
.activity {
    position: relative;
    padding: min(10.00vw, 120px) 0 min(36.67vw, 440px);
    overflow: hidden;
    z-index: 0;
}

.activity__title {
    margin-bottom: min(3.33vw, 40px);
}

.activity__subtitle {
    margin-bottom: min(3.33vw, 40px);
    color: var(--keyColorA);
    font-size: min(3.75vw, 4.5rem);
    font-weight: var(--weightB);
    letter-spacing: var(--lsWideA);
    text-align: center;
}

.activity__description {
    margin: 0 auto min(3.33vw, 40px);
    width: min(41.67vw, 500px);
}

.activity__btn {
    margin: auto;
}

.activity__image {
    position: absolute;
    border-radius: var(--roundM);
    z-index: -1;
}

.activity__image--1 {
    top: min(20.00vw, 240px);
    left: max(-2.67vw, -32px);
    width: min(36.67vw, 440px);
}

.activity__image--2 {
    top: min(6.67vw, 80px);
    right: max(-2.67vw, -32px);
    width: min(33.33vw, 400px);
}

.activity__image--3 {
    bottom: min(13.33vw, 160px);
    right: min(10.00vw, 120px);
    width: min(40.00vw, 480px);
}

.activity__image--4 {
    bottom: 0;
    left: 8.57vw;
    width: min(40.00vw, 480px);
}


@media (max-width: 1300px) {
    .activity__image {
        transform: scale(0.9);
    }

    .activity__image--1 {
        transform-origin: top left;
    }

    .activity__image--2 {
        transform-origin: top right;
    }

    .activity__image--3 {
        transform-origin: top right;
    }

    .activity__image--4 {
        transform-origin: top left;
    }
}

@media (max-width: 575px) {
    .activity {
        padding: 200px 0 200px;
    }

    .activity__title {
        margin-bottom: 16px;
    }

    .activity__subtitle {
        margin-bottom: 16px;
        font-size: 2.4rem;
    }

    .activity__description {
        margin: 0 auto 32px;
        width: calc(100% - 48px);
    }

    .activity__image--1 {
        top: 90px;
        left: -10px;
        width: 50vw;
    }

    .activity__image--2 {
        top: 60px;
        right: -10px;
        width: 50vw;
    }

    .activity__image--3 {
        bottom: 70px;
        right: -10px;
        width: 50vw;
    }

    .activity__image--4 {
        bottom: 0;
        left: -10px;
        width: 50vw;
    }
}


/* お知らせ
-------------------------------------- */
.news {
    margin-top: min(10.00vw, 120px);
}

.news__inner {
    position: relative;
    align-items: stretch;
    gap: 8vw;
}

.news__title {
    position: sticky;
    top: min(10.00vw, 120px);
    left: 0;
    color: var(--keyColorA);
    align-self: flex-start;
    height: fit-content;
}

.news__title span {
    display: block;
}

.news__title span:first-child {
    margin-bottom: min(1.33vw, 16px);
    font-family: var(--enText);
    font-size: min(6.67vw, 8rem);
    font-weight: var(--weightB);
}

.news__title span:last-child {
    font-size: min(2.50vw, 3rem);
    font-weight: var(--weightB);
    letter-spacing: var(--lsWideA);
}

.news__list {
    display: flex;
    flex-direction: column;
    gap: min(4.00vw, 48px);
    margin-top: 32px;
}

.news__item-link {
    align-items: center;
    gap: min(4.00vw, 48px);
}

.news__item-figure {
    width: min(26.67vw, 320px);
    aspect-ratio: 320 / 240;
    overflow: hidden;
    border-radius: var(--roundS);
}

.news__item-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.news__item-body {
    flex: 1;
}

.news__item-date {
    display: block;
    margin-bottom: min(1.33vw, 16px);
    color: var(--keyColorA);
    font-family: var(--enText);
    font-size: min(1.67vw, 2rem);
    font-weight: var(--weightB);
    letter-spacing: var(--lsWideA);
}

.news__item-title {
    display: block;
    margin-bottom: min(1.33vw, 16px);
    color: var(--keyColorA);
    font-size: min(1.83vw, 2.2rem);
    font-weight: var(--weightB);
    letter-spacing: var(--lsWideA);
    line-height: 1.5;
}

.news__btn-wrapper {
    margin-top: min(6.67vw, 80px);
}

.news__btn {
    margin: auto;
}

@media (max-width: 575px) {
    .news {
        margin-top: 56px;
    }

    .news__inner {
        position: relative;
        align-items: stretch;
        gap: 8vw;
    }

    .news__title {
        position: relative;
        top: 0;
    }

    .news__title span:first-child {
        margin-bottom: 8px;
        font-size: 4rem;
    }

    .news__title span:last-child {
        font-size: 1.8rem;
    }

    .news__list {
        gap: 24px;
        margin-top: 0;
    }

    .news__item-link {
        gap: 16px;
    }

    .news__item-figure {
        width: 100%;
        border-radius: var(--roundM);
    }

    .news__item-date {
        margin-bottom: 8px;
        font-size: 1.5rem;
    }

    .news__item-title {
        margin-bottom: 8px;
        font-size: 1.8rem;
    }

    .news__btn-wrapper {
        margin-top: 40px;
    }
}