@charset "UTF-8";

/* ========================================
   売却相談ページ：スマホ用
   対象幅：770px以下
======================================== */
body {
    background: #f3f2ed;
    color: #0f1111;
    font-family: "Shippori Mincho", serif;
}


/* ========================================
   導入部分
======================================== */
.consult-intro {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 58vw;
    box-sizing: border-box;
    padding: 10vw 6vw;
    text-align: center;
}

.consult-intro p {
    margin: 0;
    font-size: clamp(15px, 4.2vw, 19px);
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.03em;
}


/* ========================================
   売却相談一覧
======================================== */
.consult-list {
    display: flex;
    flex-direction: column;
    gap: 15vw;
    width: 100%;
    padding-bottom: 18vw;
    box-sizing: border-box;
}

.consult-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5vw;
    width: 100%;
    box-sizing: border-box;
}

/* テキスト */
.consult-item_text {
    flex: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 7vw;
}

.consult-item_text h2 {
    margin: 0;
    padding-bottom: 2vw;
    border-bottom: 1px solid #0f1111;

    font-size: clamp(16px, 4.2vw, 20px);
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

.consult-item_text p {
    margin: 3vw 0 0;
    font-size: clamp(14px, 3.7vw, 17px);
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
}

/* 画像 */
.consult-item_image {
    flex: none;
    width: 100%;
    aspect-ratio: 2.5 / 1;
    min-width: 0;
    overflow: hidden;
}

.consult-item_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 各画像のトリミング位置 */
.consult-item:nth-child(1) .consult-item_image img { object-position: center 85%; }
.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-keypoint {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin-bottom: 10vw;
    box-sizing: border-box;

    color: #fff;
    background: #000;
}


/* ========================================
   相談内容一覧
======================================== */
.consult-keypoint_text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 12vw 8vw;
    box-sizing: border-box;
}

.consult-keypoint_list {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.consult-keypoint_list li {
    font-size: clamp(15px, 3.9vw, 18px);
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
}


/* ========================================
   背景模様・案内文
======================================== */
.consult-keypoint_visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 14vw 8vw;
    box-sizing: border-box;
    overflow: hidden;

    /* PC版の幾何学模様を維持 */
    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%,
        14vw 14vw;
}

/* 案内文 */
.consult-keypoint_message {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
}

.consult-keypoint_message p {
    margin: 0;
    font-size: clamp(14px, 3.7vw, 17px);
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
}

/* 黒背景から模様への境界を上から自然につなぐ */
.consult-keypoint_visual::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 10vw;

    background: linear-gradient(
        to bottom,
        #000 0%,
        rgba(0, 0, 0, 0.85) 25%,
        rgba(0, 0, 0, 0.45) 65%,
        transparent 100%
    );

    pointer-events: none;
    z-index: 1;
}
