@charset "UTF-8";

/* ========================================
   売却相談ページ
   PC基準幅：1920px
   数値指定は vw を基本とする
======================================== */
body {
    background: #f3f2ed;
    color: #0f1111;
    font-family: "Shippori Mincho", serif;
}


/* ========================================
   導入部分
======================================== */
.consult-intro {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 72vw;
    box-sizing: border-box;
    padding: 0 5vw;
    text-align: center;
}

.consult-intro p {
    font-size: 1vw;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.03em;
}


/* ========================================
   売却相談一覧
======================================== */
.consult-list {
    display: flex;
    flex-direction: column;
    gap: 10.4vw;
    width: 100%;
    padding-bottom: 8.8vw;
    box-sizing: border-box;
}

.consult-item {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}


/* ========================================
   テキスト
======================================== */
.consult-item_text {
    flex: 0 0 50%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 5.5vw 0 13.6vw;
}

.consult-item_text h2 {
    font-size: 1.4vw;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.04em;
    padding-bottom: 0.6vw;
    border-bottom: 1px solid #0f1111;
}

.consult-item_text p {
    margin: 0;
    font-size: 1vw;
    font-weight: 400;
    line-height: 2.1;
    letter-spacing: 0.03em;
    white-space: pre-line;
}


/* ========================================
   画像
======================================== */
.consult-item_image {
    flex: 0 0 50%;
    width: 50%;
    aspect-ratio: 3.3 / 1;
    min-width: 0;
    overflow: hidden;
}

/* トリミング位置を調整 */
.consult-item_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: center; */
}

/* 各画像 */
.consult-item:nth-child(1) .consult-item_image img { object-position: center 85%; }     /* object-position: 横方向 縦方向 */
.consult-item:nth-child(2) .consult-item_image img { object-position: center 85%; }
.consult-item:nth-child(3) .consult-item_image img { object-position: center 55%; }
.consult-item:nth-child(4) .consult-item_image img { object-position: center 8%; }


/* ========================================
   左右交互のレイアウト
======================================== */
/* 偶数番目：画像を左、テキストを右へ */
.consult-item:nth-child(even) { flex-direction: row-reverse; }

/* 右側に配置されたテキストの余白 */
.consult-item:nth-child(even) .consult-item_text { padding: 0 5.5vw 0 2.6vw; }


/* ========================================
   売却相談：相談案内セクション
======================================== */
.consult-keypoint {
    display: grid;
    grid-template-columns: 47fr 53fr;   /* 左右背景の表示比(47：53) */
    width: 100%;
    height: 90vh;
    color: #fff;
    background: #000;
    box-sizing: border-box;

    margin-bottom: 5vw;
}

/* ========================================
   左側：相談内容一覧
======================================== */
.consult-keypoint_text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 5vw 2vw;
    box-sizing: border-box;
}

.consult-keypoint_list {
    display: flex;
    flex-direction: column;
    gap: 0.7vw;
    /* width: 45%; */
    margin-left: 10vw;
    padding: 0;
    list-style: none;
}

.consult-keypoint_list li {
    font-size: 1.1vw;
    font-weight: 400;
    line-height: 2.1;
    letter-spacing: 0.03em;
}

/* ========================================
   右側：幾何学模様と案内文
======================================== */
.consult-keypoint_visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 5vw 2vw;
    box-sizing: border-box;
    overflow: hidden;

    /* 暗い多面体模様をCSSで表現 */
    background-color: #1b1b1b;
    background-image:
        linear-gradient(
            135deg,
            transparent 0 24%,
            rgba(0, 0, 0, 0.35) 24.2% 49%,
            transparent 49.2% 74%,
            rgba(255, 255, 255, 0.025) 74.2%
        ),
        repeating-conic-gradient(
            from 15deg at 50% 50%,
            #242424 0deg 30deg,
            #171717 30deg 60deg,
            #303030 60deg 90deg,
            #1d1d1d 90deg 120deg
        );

    background-size:
        100% 100%,
        8vw 8vw;
}

/* 案内文の幅と配置 */
.consult-keypoint_message {
    margin-left: 10vw;

    /* 案内文はグラデーションより手前に表示 */
    position: relative;
    z-index: 2;
}

.consult-keypoint_message p {
    margin: 0;
    font-size: 1vw;
    font-weight: 400;
    line-height: 2.1;
    letter-spacing: 0.03em;
}

/* 背景画像の境界線の指定 */
/* 左の黒背景から右の幾何学模様へ自然につなぐ */
.consult-keypoint_visual { position: relative; }

/* 境界をぼかすグラデーション */
.consult-keypoint_visual::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 8vw; /* 境界のグラデーション幅 */
    background: linear-gradient(
        to right,
        #000 0%,
        rgba(0, 0, 0, 0.85) 25%,
        rgba(0, 0, 0, 0.45) 65%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}
