@charset "UTF-8";

:root {
    --main-color: #006E42;
    --white-color: #FFFFFF;

    /* テキストフォント */
    /* 日本語ベース */
    --font-base-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    /* 英語見出し */
    --font-base-family-en: 'Josefin Sans', 'Noto Sans JP', sans-serif;
    --font-base-size: 1rem; /* 16px */
    --font-base-weight-medium: 500;
    --font-base-weight-regular: 400;
    --font-base-weight-semibold: 600;
    --font-base-weight-bold: 700;
    --font-base-weight-black: 900;
    --font-base-line-height: 1.8;

    /* テキストカラー */
    --base-text-color: #000000;
    --white-text: #FFFFFF;
}

/* ===========================================================================
*  ヒーローエリア
=========================================================================== */
/* ヒーローエリア z-index整理 */
/* .kv-images { z-index:0; } */
/* .kv::before { z-index:1; } */ /* 緑 */
/* .kv::after { z-index:2; } /* /* 黒 */
/* .kv-text-wrap { z-index:3; } */

.kv {
    position: relative;
    height: 57.29411vw; /* 1700px幅のデザイン上での974px 974 ÷ 1700 × 100 = 57.29411... */
    max-height: 974px;
    color: var(--white-text);
    background-color: var(--white-color);
}

/* 三角形グリーンオーバーレイ */
.kv::before {
    content: "";
    position: absolute;
    z-index: 1;

    background: #006E42;
    opacity: 0.62;

    clip-path: polygon(
        0 0,
        60% 0,
        100% 50%,
        60% 100%,
        0 100%
    );

    pointer-events: none;
}

/* ===============================
*  PC
=============================== */

.kv::before {
    top: 0;
    left: 0;
    width: 42.5%;
    height: 100%;
}

/* 黒オーバーレイ */
.kv::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;

    background: #000000;
    opacity: 0.09;

    pointer-events: none;
}

.kv-images {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 画像にアニメーションを適用 */
.kv-images picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transform: scale(1);
    filter: blur(1.5px);

    animation: kvAnimation 21s infinite;
    animation-timing-function: cubic-bezier(0.35, 0.05, 0.15, 1);

    will-change: opacity, transform, filter;
}

/* 画像ごとにアニメーションの開始をずらす */
/* 7秒ずつずらす */
.kv-images picture:nth-child(1) img { animation-delay: 0s; }
.kv-images picture:nth-child(2) img { animation-delay: 7s; }
.kv-images picture:nth-child(3) img { animation-delay: 14s; }

@keyframes kvAnimation {

    /* ===== フェードイン（1.3秒） ===== */
    0% {
        opacity: 0;
        transform: scale(1);
        filter: blur(1.5px);
    }

    6.19% { /* 1.3秒 / 21秒 */
        opacity: 1;
        transform: scale(1.005);
        filter: blur(0px);
    }

    /* ===== ズーム（滑らか） ===== */
    33% {
        opacity: 1;
        transform: scale(1.06);
        filter: blur(0px);
    }

    36% {  /* フェードアウトとズームが重なる開始 */
        opacity: 0.5;
        transform: scale(1.065);
        filter: blur(0.75px);
    }

    /* ===== フェードアウト完了（ズームも同時） ===== */
    39.52% {
        opacity: 0;
        transform: scale(1.075);
        filter: blur(1.5px);
    }

    100% {
        opacity: 0;
        transform: scale(1.075);
        filter: blur(1.5px);
    }
}

/* キービジュアル前面テキスト全体位置 */
.kv-text-wrap {
    position: absolute;
    top: 0;
    left: clamp(0px, 6.47vw, 110px);

    /* 右側が親からはみ出さないように */
    width: calc(100% - clamp(0px, 6.47vw, 110px));
    /* height: 100vh; */
    height: 100%;

    z-index: 3;
}

/* 緑オーバーレイ前面のテキストエリア */
.kv-side-text {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;

    text-align: center;
}

/* 緑オーバーレイ前面テキスト 1 と 3 */
.kv-side-text .sub {
    font-size: clamp(0.625rem, 0.109rem + 1.07vw, 1.25rem); /* 10~20px */
    font-weight: var(--font-base-weight-bold);
    line-height: 1.65;
}

.kv-side-text .main {
    padding-top: 0.1777em;
    padding-bottom: 0.1777em;

    font-size: clamp(1.25rem, -0.041rem + 2.69vw, 2.813rem); /* 30px~45px */
    font-weight: var(--font-base-weight-black);
    line-height: 1.24;
}

/* 緑オーバーレイ前面テキスト 2 */
.kv-side-text .en-text {
    font-size: clamp(0.75rem, 0.44rem + 0.64vw, 1.125rem); /* 12px~18px */
    font-weight: var(--font-base-weight-medium);
    line-height: 1;

    padding-bottom: 1.555em;
}

.kv-side-text img {
    width: clamp(11.25rem, 1.958rem + 19.33vw, 22.5rem); /* 180px~360px */
    height: auto;
}

/* 緑オーバーレイ前面テキスト 切替 */
.switching-wrap{
    position: relative;

    display: grid;
}
.switching {
    grid-area: 1 / 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    opacity: 0;

    animation: kvTextAnimation 21s infinite;
    animation-timing-function: cubic-bezier(0.35, 0.05, 0.15, 1);
    will-change: opacity, transform, filter;
}

/* アニメーションの開始をずらす */
/* 7秒ずつずらす */
.switching:nth-child(1) { animation-delay: 0s; }
.switching:nth-child(2) { animation-delay: 7s; }
.switching:nth-child(3) { animation-delay: 14s; }

@keyframes kvTextAnimation {

    /* ===== フェードイン（1.3秒） ===== */
    0% {
        opacity: 0;
    }

    6.19% { /* 1.3秒 / 21秒 */
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    /* ===== フェードアウト開始（kvAnimation と同期） ===== */
    36% {
        opacity: 0.5;
    }

    39.52% { /* フェードアウト完了 */
        opacity: 0;
    }

    /* ===== 非表示を維持 ===== */
    100% {
        opacity: 0;
    }
}

.kv-side-text .common-button > a {
    margin-top: 2.14em;

    font-size: clamp(0.625rem, 0.419rem + 0.43vw, 0.875rem); /* 10px~14px */
    font-weight: var(--font-base-weight-bold);
    line-height: 2.357;

    padding: 0.5714em 1.1428em 0.6428em 1.4285em;

    background-color: transparent;
    border: 1.5px solid #FFFFFF;
}

/* キービジュアル全体の前面テキストエリア */
.kv-copy {
    position: absolute;
    bottom: clamp(0.625rem, -1.801rem + 5.05vw, 3.563rem);
    /* bottom: 57px; */

    display: flex;
    flex-direction: column;
    gap: clamp(0.625rem, -0.407rem + 2.15vw, 1.875rem);
    /* gap: 30px; */
}

.kv-copy-main {
    font-size: clamp(2.5rem, -0.081rem + 5.37vw, 5.625rem); /* 20px~90px */
    line-height: 0.84;
    font-weight: var(--font-base-weight-black);
    white-space: nowrap;

    margin: 0;
}

.kv-copy-sub {
    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 25px;
    
    font-size: clamp(1.563rem, 0.014rem + 3.22vw, 3.438rem); /* 10px~55px */
    line-height: 1.38;
    font-weight: var(--font-base-weight-black);
}

/* アルファベットテキスト */
.kv-copy-sub .en-text {
    display:flex;
    align-items:center;
    padding: 0.283em 0.366em 0.183em 0.316em;
    font-size: clamp(2.188rem, 0.897rem + 2.69vw, 3.75rem);
    font-family: var(--font-base-family-en);
    font-weight: var(--font-base-weight-semibold);
    line-height: 1;
    
    letter-spacing: -0.07em;

    border: 3px solid #FFFFFF;
}

/* ===========================================================================
*  メッセージ エリア
=========================================================================== */

.main-content-1 {
    padding: 3.5625rem 6.25rem 7.8125rem 6.25rem;
    text-align: center;
    background-color: #F5F5F5;
}

.main-content-1 .infomation {
    display: flex;
    flex-direction: column;
    text-align: center;

    width: fit-content;
    margin: 0 auto;
    
    gap: 1.6875em;

    padding: 2.0625em 9.375em;

    border: 1px solid #006E42;

    font-size: clamp(0.75rem, 0.44rem + 0.64vw, 1.125rem); /* 12px~18px */
    line-height: 2.111;
}

.main-content-1 .infomation .title {
    font-size: clamp(1.063rem, 0.908rem + 0.32vw, 1.25rem); /* 17px~20px */
    font-weight: var(--font-base-weight-bold);
    line-height: 1;
    color: var(--main-color);
}

.main-content-1 .message h3 {
    font-size: 2.8125rem;
    font-weight: var(--font-base-weight-bold);
    line-height: 1.6888;
    color: var(--main-color);
}

.main-content-1 .message {
    display: flex;
    flex-direction: column;
    gap: 1.2333em;

    padding-top: 3.5625rem;

    font-size: 1.875rem;
    font-weight: var(--font-base-weight-bold);
    line-height: 1.833;
}

/* ===========================================================================
*  お知らせ & トピックス エリア
=========================================================================== */

.main-content-2 {
    padding-top: 8.0625rem;
    padding-bottom: 6.25rem;

    display: flex;
    flex-direction: row;

    border-top: 1px solid #CBCBCB;
    border-bottom: 1px solid #CBCBCB;

    gap: 5.375rem;
}

.main-content-2 .title-button {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    flex: 0 0 auto;

    gap: 3.125rem;
}

.main-content-2 .h3-en {
    font-size: 3.125rem;
    line-height: 1;
}

.main-content-2 h3 {
    gap: 1.375em;
}

/* & だけ小さく */
.main-content-2 .h3-en .amp {
    font-size: 1.5625rem;
}

.main-content-2 .information-area {
    flex: 1;
}

.main-content-2 .item-wrap .item .content-wrap {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.8125em;

    padding: 1.8125em 1.75em 1.8125em 0;

    border-bottom: 1px dashed rgba(0, 0, 0, 0.43);
}

.main-content-2 .item-wrap .item:first-child .content-wrap {
    padding-top: 0.3125em;
}

.main-content-2 .item-wrap .item:last-child .content-wrap {
    padding-bottom: 0;
    border-bottom: none;
}

.main-content-2 .item-wrap .item .content-wrap .meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    gap: 0.8125em;
    
    font-size: 0.9375rem;
    line-height: 1;
}

.main-content-2 .item-wrap .item .content-wrap .category {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 23px;
    /* padding: 0.538em 2.615em; */
    border-radius: 5px;
    font-size: 0.8125rem;
    line-height: 1;
    color: var(--white-text);
    background: var(--main-color);
}

@media (any-hover: hover) {

    .item-wrap a:hover {
        opacity: 0.8;
    }
}

/* ===========================================================================
*  売却査定バナー エリア
=========================================================================== */

.main-content-3 {
    padding-top: 6.25rem;
}

.main-content-3,
.main-content-3 .h3-en {
    color: var(--white-text);
}

.main-content-3 .banner-wrap {
    position: relative;
    border-radius: 20px 20px 0 20px;
    overflow: hidden;
}

.main-content-3 .banner-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -380px;
    right: 0;

    background: linear-gradient(90deg, #006E42 39.5%, rgba(0, 110, 66, 0) 98.32%);

    border-radius: 0;

    z-index: 1;
}

.main-content-3 .banner-wrap .text-wrap,
.main-content-3 .banner-wrap .common-button {
    z-index: 2;
}

.main-content-3 img {
    display: block;
    width: 100%;
    height: auto;
}

.main-content-3 .banner-wrap .text-wrap {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 3.4375em;
}

.main-content-3 h3 {
    font-size: clamp(0.938rem, 0.576rem + 0.75vw, 1.375rem); /* 15px~22px */
    font-weight: var(--font-base-weight-bold);
    gap: 1.625em;
}

.main-content-3 .h3-en {
    font-size: clamp(1.875rem, 0.584rem + 2.69vw, 3.438rem); /* 30px~55px */
    font-weight: var(--font-base-weight-semibold);
    line-height: 1;
}

.main-content-3 .text {
    padding-top: clamp(0.938rem, -0.25rem + 2.47vw, 2.375rem); /* 15px~38px */
}

.main-content-3 .banner-wrap .common-button {
    position: absolute;
    bottom: 0;
    right: 0;
}

.main-content-3 .banner-wrap .common-button > a {
    border-radius: 10px 0 0 0;
    font-size: 1.125rem;
    line-height: 1.111;
    padding: 1.1666em 1.5555em 1em 1.5em;

    gap: 1.1111em;

    background-color: rgba(0, 110, 66, 0.9);
}

/* ===========================================================================
*  私たちが選ばれる エリア
=========================================================================== */

.main-content-4 {
    position: relative;

    padding-top: 7.5rem;
    padding-bottom: 7.75rem;

    border-bottom: 1px solid #CBCBCB;
}

.values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 2.06em;

    max-width: 1500px;
    margin: 0 auto;
    counter-reset: value-number;
}

.values .value {
    position: relative;
    
    display: grid;
    grid-template-rows:
        auto   /* icon */
        auto   /* h4 */
        1fr;   /* text */

    justify-items: center;

    width: 346px;
    padding: 4.9375em 1.625em 3.4375em 1.625em;

    background: #F5F5F5;

    font-size: var(--font-base-size);
    font-weight: var(--font-base-weight-regular);
    line-height: 1.875;
}

.value h4 {
    display: flex;
    justify-content: center; /* 横中央 */
    align-items: center;
    text-align: center;
    
    font-size: 1.3125rem;
    font-weight: var(--font-base-weight-bold);

    margin-top: 3.3333em;
    margin-bottom: 1.9em;

    line-height: 1.4285;

    height: 75px; /* テキストエリア固定 */
}

/* カウンター */
/* 2つ目以降 */
.values .value:not(:first-child) {
    counter-increment: value-number;
}

.values .value:not(:first-child)::after {
    content: counter(value-number, decimal-leading-zero);
    position: absolute;
    top: 18px;
    left: 19px;

    font-size: 1.875rem;
    font-weight: var(--font-base-weight-semibold);
    font-family: var(--font-base-family-en);
    line-height: 1;
    color: var(--main-color);
}

/* 1つ目のエリア */
.values .value:first-child {
    justify-content: center;
    
    background: none;
    padding: 0;

    gap: 5.25em;
}
.values .value:first-child .common-button {
    width: 100%;
}

.value-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 139px; /* アイコンエリア固定 */
}

.values .value img {
    display: block;
}

/* 1つ目はアイコンなし */
/* 2つ目のアイコン */
.values .value:nth-child(2) img {
    width: 125px;
    height: auto;
}
/* 3つ目のアイコン */
.values .value:nth-child(3) img {
    width: 125px;
    height: auto;
}
/* 4つ目のアイコン */
.values .value:nth-child(4) img {
    width: 195px;
    height: auto;
}
/* 5つ目のアイコン */
.values .value:nth-child(5) img {
    width: 209px;
    height: auto;
}
/* 6つ目のアイコン */
.values .value:nth-child(6) img {
    width: 131px;
    height: auto;
}
/* 7つ目のアイコン */
.values .value:nth-child(7) img {
    width: 153px;
    height: auto;
}
/* 8つ目のアイコン */
.values .value:nth-child(8) img {
    width: 191.68px;
    height: auto;
}

/* ===========================================================================
*  販売中物件 エリア
=========================================================================== */

.main-content-5 {
    padding: 7.875rem 0 6.6875rem 0;
    border-bottom: 1px solid #CBCBCB;
}
.main-content-5 .title-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 90px;
    
    padding: 0 6.25rem;
}

.main-content-5 .title-wrap h3 {
    gap: 1.25em;
}

.main-content-5 .title-wrap .for-businesses {
    display: flex;
    flex-direction: row;
    align-items: end;

    gap: 10px;

    font-weight: var(--font-base-weight-regular);
}

.main-content-5 .title-wrap .for-businesses .common-button > a {
    gap: 0.625em;
}

.yajirushi-wrap {
    display: flex;
    flex-direction: row;
    justify-content: end;

    padding: 0 100px;

    gap: 14px;
}

/* ボタン本体 */
.yajirushi-wrap .slider-arrow {
    position: relative;

    width: 55px;
    height: 55px;

    background-color: transparent;
    border: 1px solid var(--main-color);

    cursor: pointer;
    transition: 0.3s;
}

/* 矢印（疑似要素） */
.yajirushi-wrap .slider-arrow::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 20px;
    height: 24px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 左矢印 */
.yajirushi-wrap .prev::before {
    background-image: url("../../image/top/yajirushi-hidari.webp");
}

/* 右矢印 */
.yajirushi-wrap .next::before {
    background-image: url("../../image/top/yajirushi-migi.webp");
}

/* hover できるデバイス（PCなど）だけ hover を適用 */
@media (any-hover: hover) {
    .yajirushi-wrap .slider-arrow:hover {
        opacity: 0.8;
    }
}

.construction-wrapper {
    width: 100%;

    margin: 0 auto;
    padding: 3.75em 0 4.25em 0;

    overflow: hidden;
}

.construction-track {
    display: flex;
    flex-direction: row;

    gap: 3.125em;

    transition: transform 1s ease;
}

.construction-track .property {
    display: flex;
    flex-direction: column;
    line-height: 1;

    flex: 0 0 289px;
}

.construction-track .property img {
    border-radius: 20px;
}

.construction-track .property h4 {
    font-size: 1.25rem;
    font-weight: var(--font-base-weight-bold);

    padding: 0.95em 0 0.75em 0;
}

.construction-track .property .property-information {
    font-size: 0.9375rem;
}

.construction-track .property .price {
    font-size: 1.875rem;
    font-weight: var(--font-base-weight-bold);
    color: var(--main-color);
    line-height: 1;

    padding-top: 0.6em;
}

.construction-track .property .price span {
    font-size: 1.25rem;
}

/* ===========================================================================
*  事業内容 エリア
=========================================================================== */

.main-content-6 {
    position: relative;
    padding-top: 8.375em;
    padding-bottom: 6.6875em;

    border-bottom: 1px solid #CBCBCB;
}

.business-content {
    display: flex;
    flex-direction: column;
    gap: 5.875em;

    padding-top: 6.0625em;
}

.business-content .image {
    position: relative;
}

.business-content .image:nth-child(2) {
    text-align: end;
}

.business-content img {
    width: 62.4705vw;
    height: auto;
}

.business-content .text-wrap {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    
    padding: 4.375em 3em 3.4375em 3em;
    width: 548px;

    background: rgba(245, 245, 245, 0.8);
    backdrop-filter: blur(7.55px);

    font-weight: var(--font-base-weight-regular);
    line-height: 1.875;
}

/* 1つ目のテキストエリア */
.business-content .image:nth-child(1) .text-wrap {
    right: 0px;
}

/* 2つ目のテキストエリア */
.business-content .image:nth-child(2) .text-wrap {
    left: 0px;
}

.business-content .text-wrap h4 {
    font-size: 1.875rem;
    font-weight: var(--font-base-weight-bold);
    line-height: 1.3666;
}

.business-content .text-wrap .text {
    text-align: start;
}

.business-content .image:nth-child(1) .text-wrap .text {
    padding-top: 1.25em;
    padding-bottom: 1.25em;
}

.business-content .image:nth-child(2) .text-wrap .text-item-wrap {
    padding-top: 1.875em;
    padding-bottom: 1.25em;
}

.business-content .text-wrap .text-item-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: fit-content;

    gap: 0.625em;
}

.business-content .text-wrap .text-item {
    border: 1px solid var(--main-color);
    border-radius: 10px;

    padding: 0.625em 3.125em;

    font-weight: var(--font-base-weight-regular);
    line-height: 1;
    text-align: center;
}

/* ===========================================================================
*  施工事例 エリア
=========================================================================== */

.main-content-7 {
    padding: 0;
    padding-top: 6rem;
    padding-bottom: 10.9375rem;
}

.main-content-7 .title-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 90px;

    padding: 0 6.25rem;
}

.main-content-7 .title-wrap .instagram {
    display: flex;
    flex-direction: row;
    align-items: end;

    font-weight: var(--font-base-weight-medium);

    gap: 10px;
}

.main-content-7 .construction-track .property .img-wrap {
    position: relative;
    width: fit-content;
    height: max-content;
}

.main-content-7 .construction-track .property img {
    border-radius: 0;
}

.main-content-7 .construction-track .property .currentlylisted-instagram {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 30px;
    font-size: 0.8125rem;
    color: var(--white-text);
    line-height: 1;
    background: rgba(0, 110, 66, 0.8);
}

.main-content-7 .construction-track .property .currentlylisted-instagram::before {
    content: "";

    flex-shrink: 0;

    width: 18px;
    height: 18px;

    background-image: url("../../image/top/instagram-icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.main-content-7 .title-wrap .instagram .common-button > a::after {
    width: 32px;
    height: 32px;
    mask-image: url(../../image/top/instagram-icon.svg);
}

.main-content-7 .action-area {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    padding: 0 6.25em;
}

.main-content-7 .yajirushi-wrap {
    padding: 0;
}

@media screen and (max-width: 1200px) {

    /* ===========================================================================
    *  販売中物件 エリア
    =========================================================================== */

    .main-content-5 .title-wrap .for-businesses,
    .main-content-7 .title-wrap .instagram {
        flex-direction: column;
    }

    /* ===========================================================================
    *  事業内容 エリア
    =========================================================================== */
    .main-content-6 {
        padding-bottom: 25em;
    }
    
    .business-content img {
        width: 100%;
    }

    .business-content {
        gap: 25em;
    }

    .business-content .image:nth-child(1) .text-wrap {
        right: 50%;
        transform: translateX(50%);
    }
    
    .business-content .image:nth-child(2) .text-wrap {
        left: 50%;
        transform: translateX(-50%);
    }

}

@media screen and (max-width: 1100px) {

    /* ===========================================================================
    *  お知らせ & トピックス エリア
    =========================================================================== */

    .main-content-2 {
        flex-direction: column;
        gap: 3.125rem;
    }
}

/* ▼ ～768px：スマホ～タブレット */
@media screen and (max-width: 768px) {

    /* ==========================================================================
    *  見出し、アルファベットテキスト
    ===========================================================================*/
    h3 {
        gap: 1.3076em;
        font-size: 0.9286rem;
        text-align: center;
    }

    .h3-en {
        font-size: 2.8571rem;
        line-height: 1.1;
        white-space: normal;
    }

    .h3-en.pc {
        display: none;
    }

    .h3-en.sp {
        display: block;
        text-align: center;
    }

    /* ===========================================================================
    *  ヒーローエリア
    =========================================================================== */

    .kv {
        height: 147.014925vw; /* 402px幅のデザイン上での591px 591 ÷ 402 × 100 = 147.014925 */
    }

    .kv-images picture img {
        max-width: none;
        width: 135%;
        height: 100%;
        object-fit: cover;
        animation: kvAnimationSp 21s infinite;
    }

    @keyframes kvAnimationSp {
        /* フェードイン */
        0% {
            opacity: 0;
            transform: translateX(0%);
            filter: blur(1.5px);
        }

        6.19% {
            opacity: 1;
            transform: translateX(0%);
            filter: blur(0);
        }

        /* 左 → 右に流れる見え方 */
        33.33% {
            opacity: 1;
            transform: translateX(-20%);
            filter: blur(0);
        }

        /* フェードアウト */
        39.52% {
            opacity: 0;
            transform: translateX(-20%);
            filter: blur(1.5px);
        }

        100% {
            opacity: 0;
            transform: translateX(-20%);
            filter: blur(1.5px);
        }
    }

    /* 三角形グリーンオーバーレイ */
    .kv::before {
        width: 100%;
        height: 88.3084577vw;   /* 355px */

        left: 50%;
        bottom: 0;
        top: auto;

        transform: translateX(-50%);

        clip-path: polygon(
            0 27%,
            50% 0,
            100% 27%,
            100% 100%,
            0 100%
        );
    }

    .kv-text-wrap {
        left: 0;
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .switching-wrap{
        position: relative;
        display: block; /* grid解除 */
    }

    /* 3つを重ねる */
    .switching{
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);

        width: max-content;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .switching.second {
        margin-top: -25px;
    }

    .kv-side-text .sub {
        font-size: clamp(0.875rem, -0.223rem + 4.37vw, 1.875rem); /* 14px~30px */
        line-height: 1.42;

         /* 0px~30px */
        /* padding-top: clamp(0rem, -2.059rem + 8.2vw, 1.875rem); */
    }

    .kv-side-text .main {
        font-size: clamp(1.438rem, -0.073rem + 6.01vw, 2.813rem); /* 23px~45px */
        line-height: 1.17;
        
        padding-top: clamp(0.25rem, -1.878rem + 8.47vw, 2.188rem); /* 4px~35px */
        padding-bottom: 0;
    }

    .kv-side-text .switching:nth-child(3) .main {
        padding-bottom: 20px;
    }

    .kv-side-text .en-text.sp img {
        width: clamp(8.406rem, -2.956rem + 45.22vw, 18.75rem); /* 134.49px~300px */
    }

    .kv-side-text img {
        width: clamp(12.5rem, 0.573rem + 50.89vw, 25rem); /* 175px~350px */
    }

    .kv-side-text .en-text.second {
        padding-bottom: clamp(0.938rem, -0.435rem + 5.46vw, 2.188rem); /* 15px~35px */
    }

    .kv-side-text .common-button > a {
        margin-top: clamp(0.625rem, -0.405rem + 4.1vw, 1.563rem); /* 10px~25px */
        font-size: clamp(0.75rem, -0.142rem + 3.55vw, 1.563rem); /* 12px~25px */
        line-height: 1;
        padding: 0.5em 0.91666em;
        background-color: transparent;
        border: 1px solid #FFFFFF;
        gap: 0.5em;
    }

    .kv-side-text .common-button > a::after {
        width: 19px;
        height: 15px;
    }

    .kv-copy {
        bottom: clamp(1.25rem, -0.466rem + 6.83vw, 2.813rem); /* 20px~45px */
        gap: 0.64285em;
    }

    .kv-copy-main {
        display: flex;
        flex-direction: row;
        font-size: clamp(2.5rem, 0.441rem + 8.2vw, 4.375rem); /* 40px~70px */
        /* font-size: clamp(3.75rem, 3.333rem + 0.87vw, 4.375rem); */
        line-height: 1;
    }

    .kv-copy-main .sp {
        display: flex;
        flex-direction: column;
        gap: 0.125em;
        letter-spacing: 0.17em;
    }

    .kv-copy-main .sp .row {
        display: flex;
        flex-direction: row;
        gap: 0;
    }

    .kv-copy-main .en-text.sp {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.183em 0.35em;
        border: 3px solid #FFFFFF;
    }

    .kv-copy-main .en-text.sp img {
        width: clamp(0px, 24.5249vw, 98.59px);
        max-width: none;
    }

    .kv-copy-sub {
        gap: 0;
        font-size: clamp(1.375rem, 0.002rem + 5.46vw, 2.625rem); /* 22px~42px */
        text-align: center;
        letter-spacing: 0.13em;
        line-height: 1;
    }

    .kv-copy-sub .en-text.pc {
        display: none;
    }

    /* ===========================================================================
    *  メッセージ エリア
    =========================================================================== */

    .main-content-1 {
        padding: 2.4286rem 1.4286rem;
    }

    .main-content-1 .infomation {
        gap: 1.6875em;
        padding: 2.0714em 1.428em;
    }

    .main-content-1 .infomation .title {
        font-size: 1.2857rem;
    }

    .main-content-1 .infomation .content {
        font-size: 1rem;
        line-height: 2.1428;
        text-align: left;
    }

    .main-content-1 .message h3 {
        font-size: 2.5rem;
        font-weight: var(--font-base-weight-black);
        line-height: 1.2285;
        text-align: center;
    }

    .main-content-1 .message {
        gap: 0.75em;
        font-size: 1.4286rem;
        line-height: 1.8;
    }

    /* ===========================================================================
    *  お知らせ & トピックス エリア
    =========================================================================== */

    .main-content-2 {
        flex-direction: column;

        padding-top: 4rem;
        padding-bottom: 2.6428rem;

        gap: 0;
    }

    .main-content-2 .h3-en {
        font-size: 2.8571rem;
    }

    .main-content-2 h3 {
        gap: 1.1538em;
        text-align: left;
    }

    .main-content-2 .h3-en .amp {
        font-size: 1.4286rem;
    }

    .main-content-2 .item-wrap {
        margin: 2.5em 0 3em;
    }

    .main-content-2 .item-wrap .item .content-wrap {
        flex-direction: column;
        gap: 0.5714em;
        padding: 1.0714em 1.75em 1.4285em 0;
    }

    /* 1行目の上部余白を消す */
    .main-content-2 .item-wrap .item:first-child .content-wrap {
        padding-top: 0;
    }

    .main-content-2 .item-wrap .item .content-wrap .meta {
        gap: 0.5em;
        font-size: 1rem;
    }

    .main-content-2 .item-wrap .item .content-wrap .category {
        width: 103px;
        height: 16;
        /* padding: 0.25em 1.75em; */
        font-size: 0.8571rem;
    }

    .main-content-2 .item-wrap .item .content-wrap .text {
        font-size: 1.0714rem;
    }

    .main-content-2 .title-button .common-button.pc {
        display: none;
    }

    .common-button.sp {
        display: block;
    }

    /* ===========================================================================
    *  売却査定バナー エリア
    =========================================================================== */

    .main-content-3 {
        padding-top: 3.0714rem;
    }

    .main-content-3 .banner-wrap::before {
        left: 0px;
        /* background: linear-gradient(90deg, #006E42 50%, rgba(0, 110, 66, 0) 98.32%); */
        background: linear-gradient(90deg, #006E42 35%, rgba(0, 110, 66, 0) 98.32%);
        border-radius: 0;
        z-index: 1;
    }

    .main-content-3 img {
        border-radius: 20px;
    }

    .main-content-3 .banner-wrap .text-wrap {
        left: 1.21428em;
    }

    .main-content-3 .h3-en {
        font-size: 2.8571rem;
        line-height: 1.025;
    }

    .main-content-3 h3 {
        font-size: 1.0714rem;
        font-weight: var(--font-base-weight-medium);
        text-align: left;
        gap: 1.5333em;
    }

    .main-content-3 .text {
        font-weight: var(--font-base-weight-regular);
        line-height: 1.6428;
        padding: 0.7142em 0;
    }

    .main-content-3 .banner-wrap .common-button {
        position: static;
    }

    .main-content-3 .banner-wrap .common-button > a {
        border-radius: 10px;
        background: var(--white-color);
        color: var(--main-color);
        gap: 1em;
        font-size: 0.8571rem;
        padding: 0.846em 0.916em 0.846em 1.3333em;
        opacity: 1;
    }

    .main-content-3 .banner-wrap .common-button > a::after {
        background-color: var(--main-color);
    }

    /* ===========================================================================
    *  私たちが選ばれる エリア
    =========================================================================== */

    .main-content-4 {
        padding-top: 5.7857rem;
        padding-bottom: 2.9286rem;
    }

    .values {
        gap: 1.7857em;
    }

    .values .value:first-child {
        text-align: center;
        gap: 0;
    }
    
    .values .value:first-child .common-button {
        padding-top: 1.7857em;
        padding-bottom: 0.4285em;
    }

    .values .value:not(:first-child)::after {
        top: 28px;
        left: 27px;
        font-size: 2.1429rem;
    }

    .value h4 {
        font-size: 1.3571rem;
        margin-top: 2em;
        margin-bottom: 1.1052em;
        line-height: 1.5789;
        height: 75px;
    }

    /* ===========================================================================
    *  販売中物件 エリア
    =========================================================================== */

    .main-content-5 {
        padding: 3.3571rem 0 4.1429rem 0;
    }

    .main-content-5 .title-wrap {
        flex-direction: column;
        gap: 1.785em;
        padding: 0 1.4286rem;

        text-align: center;
    }

    .main-content-5 .title-wrap .for-businesses {
        flex-direction: column;
        align-items: center;
        gap: 1.2857em;
    }
    
    .main-content-5 .title-wrap .for-businesses .sp {
        font-weight: var(--font-base-weight-medium);
    }

    .main-content-5 .title-wrap .for-businesses .common-button > a {
        gap: 1em;
    }

    .construction-wrapper {
        max-width: 100%;
    }

    .construction-track .property {
        flex: 0 0 255px;
    }

    .main-content-5 .yajirushi-wrap {
        display: none;
    }

    /* ===========================================================================
    *  事業内容 エリア
    =========================================================================== */

    .main-content-6 {
        padding-top: 3.3571rem;
        padding-bottom: 28.571rem;
        border-bottom: 1px solid lightgray;
    }

    .business-content {
        gap: 425px;
        padding-top: 2em;
    }

    .business-content img {
        width: 100%;
    }
    
    /* 1つ目と2つ目のテキストエリア */
    /* 共通中央寄せ */
    .business-content .text-wrap {
        left: 50%;
        top: 90%;
        transform: translateX(-50%);

        width: 336px;
        text-align: center;

        padding: 2.5em 1.4285em 2.285em 1.4285em;
    }

    /* 1つ目のテキストエリアのPC指定を打ち消し */
    .business-content .image:nth-child(1) .text-wrap {
        right: auto;
        transform: translateX(-50%);
    }

    /* 2つ目のテキストエリアのPC指定を打ち消し */
    .business-content .image:nth-child(2) .text-wrap {
        left: 50%;
    }

    .business-content .text-wrap h4 {
        font-size: 1.3571rem;
        line-height: 1.5789;
    }

    .business-content .image:nth-child(1) .text-wrap .text {
        padding-top: 1.285em;
        padding-bottom: 0.857em;
    }

    .business-content .image:nth-child(2) .text-wrap .text-item-wrap {
        padding-top: 1.714em;
        padding-bottom: 0.785em;
    }

    .business-content .image:nth-child(2) .text-wrap .text-item {
        font-weight: var(--font-base-weight-medium);
    }

    .business-content .text-wrap .text-item-wrap {
        gap: 0.5714em;
    }

    /* ===========================================================================
    *  施工事例 エリア
    =========================================================================== */

    .main-content-7 {
        padding: 4.3571rem 0 6.3571rem 0;
    }

    .main-content-7 .title-wrap {
        flex-direction: column;
        gap: 1.785em;
        padding: 0 1.4286rem;
        text-align: center;
    }

    .main-content-7 .title-wrap .instagram {
        flex-direction: column;
        align-items: center;
        gap: 1.2857em;
    }

    .main-content-7 .construction-wrapper {
        padding-bottom: 3.3571rem;
    }

    .main-content-7 .title-wrap .instagram .common-button > a::after {
        width: 22px;
        height: 22px;
    }

    .main-content-7 .action-area {
        position: relative;

        justify-content: center;
        
        padding-top: 1.1428em;
    }

    .main-content-7 .action-area::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;

        width: 90%;
        height: 1px;

        background: lightgray;

        transform: translateX(-50%);
    }

    .main-content-7 .action-area .yajirushi-wrap {
        display: none;
    }

}
