
/* ==================================== */
/* 買取査定ページ
/* ==================================== */

.purchase-hero {
    width: 100%;
    line-height: 0;
    position: relative;
}

.purchase-hero-inner {
    position: relative;
    width: 100%;
}

.purchase-hero-img {
    width: 100%;
    height: auto;
    min-height: 260px; /* スマホでの高さ確保 */
    object-fit: cover;
}

.purchase-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(0, 0, 0, 1),   /* 芯 */
        0 0 40px rgba(0, 0, 0, 0.8), /* 中間 */
        0 0 60px rgba(0, 0, 0, 0.6); /* 外側への広がり */
    line-height: 1.4;
    z-index: 5;
}

.hero-main-copy {
    font-size: 42px; 
    font-weight: 700;
    margin-bottom: 40px; 
    letter-spacing: 0.1em;
}

.hero-sub-copy {
    font-size: 26px;
    font-weight: 500;
}

.purchase-reason {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.purchase-section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #000;
    text-align: center;
}

/* 3カラムのグリッド */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* 各ボックスの設定 */
.reason-box {
    border: 1px solid #333;
    padding: 60px 30px 40px;
    position: relative;
    text-align: center;
    background-color: #fff;
}

/* 青い数字バッジ */
.reason-num {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #559785;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}

.reason-box-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 30px;
    color: #000;
    text-align: center;
}

.reason-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    text-align: left; /* 文章は左寄せで見やすく */
}

.purchase-store-contact {
    padding: 100px 0;
    background-color: #f9f9f9; /* 少し背景色を変えて区切りを明確に */
    text-align: center;
}

.store-contact-lead {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #333;
}

.store-contact-lead span {
    font-size: 13px;
    display: block;
    margin-top: 5px;
}

/* グリッド設定（PC版） */
.store-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.store-contact-box {
    background-color: transparent;
}

.store-img {
    width: 100%;
    margin-bottom: 20px;
    line-height: 0;
}

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

.store-contact-box .store-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    text-shadow: none;
}

.store-location {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/* 電話ボタン */
.btn-store-tel {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #559785;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 10px;
    border-radius: 30px; /* 丸みのあるボタン */
    transition: background-color 0.3s;
    font-size: 16px;
    width: fit-content; 
    min-width: 230px;
    max-width: 300px; 
    margin: 0 auto;
}

.btn-store-tel:hover {
    background-color: #467d6e;
}

.store-business-hours {
    font-size: 13px !important; /* 他の情報より少し小さく */
    line-height: 1.6 !important;
    color: #666 !important;
    margin-top: 15px !important; /* ボタンとの隙間 */
    text-align: center !important;
    font-weight: normal;
}


.purchase-form-section {
    padding: 80px 0;
    background-color: #fff;
}

.form-lead-area {
    text-align: left; /* 画像に合わせて左寄せ */
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 15px;
    line-height: 1.8;
}

.peugeot-page .sirius-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 2px;
    font-size: 16px;
    line-height: 1.6;
    background-color: rgb(255, 255, 255);
    resize: vertical;
    min-height: 150px;
}

/* --- 買取査定ページ専用：車検有効期限の横並び設定 --- */

.peugeot-page .form-input-inline-purchase {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* 年・月の入力ボックス幅を限定 */
.peugeot-page .form-input-inline-purchase input[name="expiry-year"] {
    width: 160px !important;
    text-align: left !important;
}

.peugeot-page .form-input-inline-purchase input[name="expiry-month"] {
    width: 160px !important;
    text-align: left !important;
}

/* 単位（年・月）のスタイル */
.peugeot-page .form-input-inline-purchase .input-unit {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333 !important;
}




@media (max-width: 1000px) {


    /*買取ページ*/

    .hero-main-copy {
        font-size: 30px; 
        margin-bottom: 20px;
    }
    .hero-sub-copy {
        font-size: 17px;
    }
    .purchase-hero-text {
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.9); /* スマホ用は影を少しタイトに */
    }

    .purchase-reason {
        padding: 60px 0;
        background-color: #fff;
        text-align: center;
    }
    .purchase-section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .reason-box {
        padding: 50px 20px 30px;
    }

    .reason-grid {
        grid-template-columns: repeat(2, 1fr); /* 基本を2列にする */
        gap: 30px 20px;
    }

    /* 3つ目のボックス（「安心の取引」）を下の段で中央に配置する */
    .reason-box:nth-child(3) {
        grid-column: 1 / 3; /* 2列分を占有させる */
        justify-self: center; /* 自身を中央寄せ */
        width: calc(50% - 10px); /* 上の段の1つ分と同じ幅にする */
    }

    .purchase-section-title {
        font-size: 28px;
        margin-bottom: 50px;
    }
    .store-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    .store-contact-box:nth-child(3) {
        grid-column: 1 / 3;
        justify-self: center;
        width: calc(50% - 10px);
    }

}


@media (max-width: 768px) {


/*買取ページ*/
    .hero-main-copy {
        font-size: 24px; /* スマホで1〜2行に収まるサイズ */
        margin-bottom: 20px;
    }
    .hero-sub-copy {
        font-size: 18px;
    }
    .purchase-hero-text {
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.9); /* スマホ用は影を少しタイトに */
    }

    .reason-grid {
        grid-template-columns: 1fr !important; /* 強制的に1列にする */
        gap: 40px;
    }

    /* 3つ目のボックスの設定をリセットして全幅にする */
    .reason-box:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }

    .purchase-section-title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .reason-box {
        padding: 50px 20px 30px;
    }

    .store-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .store-contact-box:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }
    
    .purchase-store-contact {
        padding: 60px 0;
    }

    .peugeot-page .form-input-inline-purchase {
/*
        display: block !important;
        */


    }

    .peugeot-page .form-input-inline-purchase input[name="expiry-year"],
    .peugeot-page .form-input-inline-purchase input[name="expiry-month"] {
        width: 100% !important; /* 横幅を他の項目と統一 */
        margin-bottom: 10px;    /* 下に隙間を作る */
        text-align: left !important;
    }

    /* 「年」「月」の文字をラベルのように調整、または非表示にする場合 */
    .peugeot-page .form-input-inline-purchase .input-unit {
        display: block;
        margin-bottom: 15px;
        font-size: 14px !important;
        color: #666 !important;
        text-align: right; /* 右に寄せて区切りを明確にする */
    }
}


@media (max-width: 650px) {
    .topics-list,
    .special-list,
    .approved-list {
        grid-template-columns: 1fr !important; /* 強制的に1列 */
        padding: 0 30px;
    }

    .full-width-img {
        height: 120px;
    }

    .peugeot-page .store-specially-selected .special-list {
        grid-template-columns: 1fr !important; /* スマホ1列 */
    }

    .hero-main-copy {
        font-size: 22px; /* スマホで1〜2行に収まるサイズ */
        margin-bottom: 20px;
    }
    .hero-sub-copy {
        font-size: 16px;
    }
    .purchase-hero-text {
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.9); /* スマホ用は影を少しタイトに */
    }


}

@media (max-width: 480px) {



/*買取ページ*/

    .purchase-hero-img {
        width: 100%;
        height: auto;
        min-height: 170px;
        object-fit: cover;
    }

    .hero-main-copy {
        font-size: 24px; /* スマホで1〜2行に収まるサイズ */
        margin-bottom: 18px;
    }
    .hero-sub-copy {
        font-size: 14px;
    }
    .purchase-hero-text {
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.9); /* スマホ用は影を少しタイトに */
    }

    /* 電話ボタン */
    .btn-store-tel {
        display: flex;
        justify-content: center;
        align-items: center;
       background-color: #559785;
        color: #fff !important;
        text-decoration: none;
        font-weight: bold;
        padding: 15px 10px;
        border-radius: 30px; /* 丸みのあるボタン */
        transition: background-color 0.3s;
        font-size: 16px;
        width: fit-content; 
        min-width: 230px;
        max-width: 300px; 
        margin: 0 auto;
    }

    .store-business-hours {
        font-size: 12px !important;
        margin-top: 10px !important;
    }



}


