/* public/css/satei.css */

/* -----------------------------
   共通
----------------------------- */
.section-white {
    padding: 100px 0;
    background: #fff;
}

.section-gray {
    padding: 100px 0;
    background: #f8fafc;
}

.section-blue {
    padding: 100px 0;
    background: var(--main);
}

.note-mark {
    font-size: 0.8rem !important;
    vertical-align: super;
    color: #aaa;
}

.note-mark-white {
    font-size: 0.8rem !important;
    vertical-align: super;
    color: #fff;
}


.cta-btn-container {
    text-align: center;
    padding: 20px;
}

.cta-btn {
    display: inline-block;
    background: #ff8c00;
    color: #fff;
    padding: 18px 40px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    transition: .25s;
}

.cta-btn span {
    padding: 5px 10px;
    border-radius: 6px;
    background-color: #fff;
    color: #ff8c00;
    font-size: 2rem;
    margin-right: 20px;
}


.cta-btn:hover {
    transform: translateY(-4px);
}

/* -----------------------------
   査定方法
----------------------------- */

.method-section {
    background: #fff;
    padding: 100px 0;
}

.method-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.method-card {
    width: 260px;
    padding: 30px 25px;

    background: #fff;
    border-radius: 18px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);

    transition: .4s;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.step-badge, .step-badge-red {
    display: inline-block;

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    padding: 6px 16px;
    border-radius: 50px;

    margin-bottom: 10px;
}

.step-badge {
    background: var(--main);
}

.step-badge-red {
    background: var(--accent);
}

.method-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.method-img-box {
    margin-bottom: 15px;
}

.method-img-box img {
    width: 100%;
    border-radius: 12px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);

    transition: .4s;
}

.method-card:hover img {
    transform: scale(1.05);
}

.method-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.method-cta {
    margin-top: 70px;
}

/* ===============================
   選ばれる理由（LP完成版）
=============================== */

.reason-list {
    max-width : 1100px;
    margin : 0 auto;
    margin-top: -100px;
}

/* カード */
.reason-item {
    display : grid;
    grid-template-columns : 1fr 420px;
    gap : 40px;
    align-items : center;
    padding : 50px;
    border-bottom: 1px solid #eee;

}

/* 偶数行反転 */
.reason-item:nth-child(even) {
    grid-template-columns : 420px 1fr;
}

.reason-item:nth-child(even) .reason-text {
    order : 2;
}

.reason-item:nth-child(even) .reason-image {
    order : 1;
}


/* テキスト */
.reason-text {
    position : relative;
}


/* 番号 */
.reason-number {
    position : absolute;
    top : -50px;
    left : 50px;
    font-size : 25rem;
    font-weight : 800;
    letter-spacing: -1.5rem;
    line-height : 1;
    color : rgba(0,0,0,0.05);
    z-index : 0;
}


/* タイトル */
.reason-title {
    position : relative;
    z-index : 1;
    font-size : 3rem;
    margin-bottom : 8px;
}


/* サブタイトル */
.reason-sub-title {
    font-size : 2rem;
    margin-bottom : 16px;
    color : #555;
}


/* 本文 */
.reason-txt {
    font-size : 1.4rem;
    line-height : 1.9;
    color : #333;
}


/* 画像 */
.reason-image {
    display : flex;
    justify-content : center;
    align-items : center;
}

.reason-image img {
    max-width : 320px;
    max-height: 320px;
    width : auto;
    height : auto;
}

/* -----------------------------------------
    他社との違い
----------------------------------------- */

.hikaku-tbl {
    table-layout: fixed;
    width: 60%;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: center;
}

.hikaku-tbl thead tr {
    background: #eee;
}

.hikaku-tbl th:first-child {
    width: 20%;
    background: #eee;
}

.hikaku-tbl th,
.hikaku-tbl td {
    border: 1px solid #ddd;
    padding: 36px 12px;
    font-size: 1.4rem;
}

.emphasis {
    font-weight: 600;
}

.hikaku-tbl th:nth-child(n+2),
.hikaku-tbl td:nth-child(n+2) {
    width: 30%;
}

.hikaku-tbl thead th:nth-child(2),
.hikaku-tbl tbody td:nth-child(2) {
    background: #f2f8ff;
}

.hikaku-tbl-logo {
    width: 200px;
}

.hikaku-notes-area {
    width: 60%;
    margin: 0 auto;
    text-align: right;
}

.hikaku-notes {
    display: inline-block;
    text-align: left;
    font-size: 1rem;
    color: #999;
    margin-top: 8px;
    line-height: 1.6;
}

.hikaku-bottom-area {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    text-align: center;
}

.lexend-zetta-900 {
    font-family: "Lexend Zetta", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--main);
    letter-spacing: 0.3em;
}

.hikaku-bottom-text {
    margin-left: 20px;
    font-size: 2rem;
    font-weight: 500;
}

.hikaku-text-logo {
    width: 25%;
    height: auto;
    padding-right: 10px;
}

/* -----------------------------------------
   お客様の声
----------------------------------------- */
.voice-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.voice-track {
    overflow: hidden;
}

/* ===== スライダー基本 ===== */

.voice-cards {
    display: flex;
    gap: 25px;
    transition: transform 0.4s ease;
    align-items: stretch; /* ← これで高さ統一 */
}

.voice-card {
    flex: 0 0 calc((100% - 50px) / 3);
    background: #fff;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;
}

/* コメント部分を伸縮対象にする */
.voice-comment-wrapper {
    flex: 1;                 /* ← ここが重要 */
    position: relative;
}

/* 4行でカット */
.voice-comment {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 展開時 */
.voice-card.expanded .voice-comment {
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* 続きを読む */
.voice-more {
    display: none;
    font-size: 1.2rem;
    color: #0077cc;
    cursor: pointer;
    text-align: left;
}

/* 矢印 */
.voice-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.voice-arrow.prev { left: -20px; }
.voice-arrow.next { right: -20px; }

.voice-arrow:hover {
    background: #f5f5f5;
}

.voice-section {
    padding: 60px 20px;
    background: white;
    text-align: center;
}
.voice-company {
    text-align: left;
    font-size: 1.8rem;
    font-weight: 500;
}

.score-area {
    margin-top: 10px;
    margin-bottom: 20px;
}

.voice-stars {
    text-align: left;
    font-size: 1.2rem;

}

.voice-user {
    margin-top: 20px;
    font-size: 1.2rem;
}


.voice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.12);
}

.voice-card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.voice-note {
    text-align: center;
    font-size: 1rem;
    color: #999;
    margin-top: 8px;
    line-height: 1.6;
}


/* --------------------------------------------------
   FAQ
-------------------------------------------------- */

.faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 30px 0;
}

.faq-q {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-a {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #555;
}


/* --------------------------------------------------
   信頼ブロック
-------------------------------------------------- */

.cta-trust {
    text-align: center;
    background: #f8fafc;
}

.cta-trust-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
}

/* --------------------------------------------------
   売却までの流れ
-------------------------------------------------- */

.flow-section {
    text-align: center;
    margin-bottom: 0;
    padding: 100px 0;
    background: var(--main);
}

.flow-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.flow-step {
    width: 240px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.flow-number {
    margin: 0 auto 15px;
    background: var(--main);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

.flow-step h3 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.flow-step p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

.floating-cta{
    display: none;
}


/* =====================================
タブレット
===================================== */

@media (max-width: 1024px) {

    .voice-card {
        flex: 0 0 calc((100% - 25px) / 2);
    }

    .reason-card {
        width: 85%;
    }

    .reason-item {
        grid-template-columns: 1fr 350px;
        gap: 40px;
    }

}


/* =====================================
    スマホ
===================================== */

@media (max-width: 768px) {

    /* ===============================
       共通
    =============================== */
    
    /* CTA */
    .cta-btn {
        width: 100%;
        text-align: center;
        font-size: 1.5rem;
        padding: 16px 20px;
    }

    .cta-btn span {
        font-size: 1.2rem;
        margin-right: 10px;
    }

    /* ===============================
    選ばれる理由
    =============================== */

    .reason-list {
        margin-top: 0;
        padding: 0 20px;
    }

    /* カード */
    .reason-item {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 0;
        text-align: center;
    }

    /* PC用の並び替えを完全リセット */
    .reason-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .reason-item:nth-child(even) .reason-text {
        order: 0;
    }

    .reason-item:nth-child(even) .reason-image {
        order: 0;
    }

    /* テキスト */
    .reason-text {
        padding: 0;
    }

    /* 番号 */
    .reason-number {
        position: static;
        font-size: 3rem;
        font-weight: 700;
        display: block;
        margin-bottom: 10px;
        letter-spacing: normal;
        color: #ccc;
    }

    /* タイトル */
    .reason-title {
        font-size: 2rem;
        margin-bottom: 6px;
    }

    /* サブタイトル */
    .reason-sub-title {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    /* 本文 */
    .reason-txt {
        text-align: left;
        font-size: 1.2rem;
        line-height: 1.8;
    }

    /* 画像 */
    .reason-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .phone-mypage {
        max-width: 140px;
    }


/* =====================================
    比較テーブル（スマホ完全版）
===================================== */
    .hikaku-tbl {
        width: 100% !important;
        margin: 0;
        table-layout: auto; /* ←これ重要 */
        padding: 0 20px;
    }

    .hikaku-tbl thead {
        display: none;
    }

    .hikaku-tbl,
    .hikaku-tbl tbody,
    .hikaku-tbl tr,
    .hikaku-tbl th,
    .hikaku-tbl td {
        display: block;
        width: 100% !important;
    }

    .hikaku-tbl tr {
        margin-bottom: 16px;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
    }

    .hikaku-tbl th {
        background: #f7f7f7;
        padding: 14px;
        font-size: 1.5rem;
        text-align: left;
    }

    .hikaku-tbl td {
        position: relative;
        padding: 14px 12px 14px 110px;
        border-top: 1px solid #eee;
        font-size: 1.1rem;
        text-align: center;
    }

    .hikaku-tbl td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        top: 14px;
        font-weight: bold;
        font-size: 1.3rem;
        color: #555;
    }

    /* URUTRAだけスタイル変更 */
    .hikaku-tbl td[data-label="URUTRA"]::before {
        color: var(--main);
        font-family: "Lexend Zetta", sans-serif;
        font-weight: 600;
        font-size: 1.3rem;
    }

    /* ロゴ調整 */
    .hikaku-tbl-logo {
        width: 120px;
    }

    .hikaku-notes-area {
        width: 100%;
        padding: 0 20px;
    }

    .hikaku-notes {
        display: inline-block;
        text-align: left;
    }

    .hikaku-bottom-area {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 50px 0;
        text-align: center;
        line-height: 1;
    }

    .hikaku-bottom-logo {
        width: 120px;
        height: auto;
    }

    .hikaku-bottom-text {
        margin-left: 5px;
        font-size: 1.4rem;
        font-weight: 500;
        color: var(--main);
    }

    .hikaku-bottom-text span {
        font-size: 1.5rem;
        color: var(--main);
    }

    .lexend-zetta-900 {
        font-family: "Lexend Zetta", sans-serif;
        font-weight: 700;
        letter-spacing: 0.3em;
    }

    /* =====================================
        お客様の声
    ===================================== */
    .voice-slider {
        width: 85%;
        margin-top: -50px;
    }

    .voice-card {
        flex: 0 0 100%;
    }

    .voice-card img {
        width: 150px;
        height: 150px;
    }

    .voice-text {
        font-size: 1.2rem;
    }

    /* =====================================
        FAQ
    ===================================== */
    .faq-list {
        padding: 0 20px;
    }

    .faq-q {
        font-size: 1.5rem;
    }

    .faq-a {
        font-size: 1.2rem;
    }

    /* =====================================
        信用
    ===================================== */

    .cta-trust-title {
        font-size: 1.6rem;
    }

    .cta-trust-sub {
        font-size: 1.4rem;
    }

    .cta-trust-points {
        display: block;
        max-width: 900px;
        margin-bottom: -50px;
    }

    .cta-trust-item {
        margin: 20px auto;
        width: 80%;
        font-size: 1.5rem;
    }

    .cta-trust-item p {
        font-size: 1.5rem;
    }


    /* =====================================
        フロー
    ===================================== */
    .flow-section {
        margin-top: 100px;
    }

    .flow-step {
        width: 100%;
        max-width: 320px;
    }


/* =====================================
   固定CTA（スマホ）
===================================== */

    .floating-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;

        background: #ff8c00;
        padding: 16px;

        text-align: center;
        z-index: 9999;

        transform: translateY(100%);
        transition: transform .3s;

        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .floating-cta.show{
        transform: translateY(0);
    }

    .floating-cta a{
        display: block;
        color: #fff;
        font-weight: 700;
        font-size: 1.6rem;
        text-decoration: none;
    }

    .floating-cta span{
        background: #fff;
        color: #ff8c00;
        padding: 4px 8px;
        border-radius: 4px;
        margin-right: 8px;
    }
}

