/* _______________ 共通 _______________ */
* {
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
body {
    font-family:
            "Noto Sans JP", "ヒラギノ角ゴシック", "Hiragino Sans",
            "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", YuGothic, "Yu Gothic",
            "Yu Gothic UI", "Arial", sans-serif;
    color: #3e3e3e;
    font-size: 1.8rem;
    line-height: 1.7;
}
.text_red {
    font-size: 18px;
    font-style: normal;
    font-weight: bold;
    color: #ff2d20;
}
.inline_block {
    display: inline-block;
}
.inner_wide {
    width: min(1000px, 94%);
    margin-inline: auto;
}

@media (max-width: 960px) {
    body {
        font-size: 16px;
    }
    .text_red {
        font-size: 17px;
    }
}
.sp {
    display: none;
}

@media (max-width: 960px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}

/* _______________ ヘッダー _______________ */

header {
    width: 100%;
    border-top: 3px solid #00afec;
}
.header_inner {
    position: relative;
    width: min(1050px, 90%);
    margin-inline: auto;
}
.header_tab {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-size: 3.1rem;
    line-height: 1;
    padding: 4px 18px 10px;
    background-color: #00afec;
    border-radius: 0 0 6px 6px;
}
@media (max-width: 1100px) {
    header {
        padding: 1px 10px 5px;
        background-color: #00afec;
    }
    .header_inner {
        width: 97%;
    }
    .header_logo {
        width: 140px;
        height: auto;
    }
    .header_tab {
        top: 50%;
        transform: translateY(-50%);
        padding: initial;
        font-size: 18px;
    }
}

/* _______________ メインビジュアル _______________ */

.mv_top {
    background: url(../img/header_woman_img.png) no-repeat;
    background-position: right bottom -90px;
    position: relative;
    height: 523px;
    margin: 0 auto 20px;
}
.mv_catch {
    position: absolute;
    left: -40px;
    top: 0;
}
.mv_subcatch {
    position: absolute;
    bottom: 40px;
    z-index: 1;
}
.mv_box {
    display: flex;
    margin-inline: auto;
    width: min(1050px, 100%);
    background-color: #fff;
    justify-content: space-evenly;
}
.mv_box_in {
    position: relative;
    width: calc(100% / 3);
    margin: 24px auto;
    padding: 18px 10px 10px;
    color: #27579f;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 6px 0 #ccc;
    z-index: 0;
}
.mv_box::after {
    background-color: #27579f;
    background-position:
            0 0,
            12px 12px;
    background-size: 24px 24px;
    border-left: 2px dotted rgba(255, 255, 255, 0.9);
    border-right: 2px dotted rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
    content: "カーネクストが選ばれる理由";
    display: block;
    margin-inline: auto;
    padding: 3px 20px;
    width: min(444px, 100%);
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    position: absolute;
}
.mv_sp {
    display: none;
}
.mv_pc {
    width: min(1050px, 94%);
    margin-inline: auto;
}
.mv_sp img {
    width: 100%;
    height: auto;
}
@media (max-width: 1100px) {
    .mv_pc {
        display: none;
    }
    .mv_sp {
        display: block;
    }
}

/* _______________ タイトル _______________ */

.head_style {
    background: url(../img/bg_title_green.png) repeat-x;
    text-align: center;
    vertical-align: middle;
    display: block;
    margin-bottom: 40px;
}
.head_style img {
    padding: 20px;
}
@media (max-width: 960px) {
    .head_style {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: left top;
        background-image: url(../img/title_bg_sp.png);
        margin-bottom: 1.3em;
    }
    .head_style img {
        width: 430px;
        max-width: 98%;
        padding: 20px 30px;
        box-sizing: border-box;
    }
}

/* _______________ CVポイント _______________ */

.cv_point {
    padding-block: 40px 70px;
    text-align: center;
}
.cv_inner img {
    width: min(766px, 100%);
}
.cv_inner img:hover {
    opacity: 0.8;
}
.cv_sub {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: bold;
    position: relative;
    padding-inline: 32px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #0a459d;
}
.cv_sub::before,
.cv_sub::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    height: 100%;
    background-color: #0a459d;
    content: "";
}
.cv_sub::before {
    left: 17px;
    transform: rotate(-30deg);
}
.cv_sub::after {
    right: 17px;
    transform: rotate(30deg);
}

@media (max-width: 960px) {
    .cv_sub {
        padding-inline: 60px;
        font-size: 1.7rem;
    }
    .cv_sub::before,
    .cv_sub::after {
        top: auto;
        height: 80%;
    }
    .cv_sub::before {
        left: 37px;
    }
    .cv_sub::after {
        right: 37px;
    }
    .cv_point {
        padding-bottom: 40px;
    }
    .cv_inner img {
        width: 100%;
        height: auto;
    }
    .cv_btn_link_sp {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 15px 34px;
        text-decoration: none;
        font-size: 22px;
        font-weight: bold;
        color: #fff;
        background-color: #fd5c32;
        border-radius: 40px;
        border-bottom: solid 5px #953c22;
    }
    .cv_btn_link_sp::before {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 13px;
        content: "";
        background-color: #fff;
        clip-path: polygon(0 0, 0 100%, 100% 50%);
    }
    .cv_btn_link_sp .highlight {
        padding-inline: 5px;
        font-size: 16px;
        font-weight: inherit;
        color: #fd5c32;
        background-color: #fff;
        border-radius: 2px;
    }
}

/* _______________ どんな車も買い取ります _______________ */

.jirei_txt {
    text-align: center;
    margin-bottom: 60px;
}
.jirei_ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
    max-width: 850px;
    margin-inline: auto;
}
.jirei_ul li {
    font-size: 1.6rem;
    line-height: 1.3;
    position: relative;
}
.jirei_ul dl {
    border: 2px solid #bbb;
}
.jirei_ul li::before {
    content: "";
    width: 142px;
    height: 160px;
    display: inline-block;
    position: absolute;
    left: -20px;
    top: -25px;
    background-repeat: no-repeat;
    background-size: contain;
}
.jirei_ul li:nth-of-type(1)::before {
    background-image: url(../img/jirei_img1-2.png);
}
.jirei_ul li:nth-of-type(2)::before {
    background-image: url(../img/jirei_img2-2.png);
}
.jirei_ul li:nth-of-type(3)::before {
    background-image: url(../img/jirei_img3-2.png);
}
.jirei_ul li:nth-of-type(4)::before {
    background-image: url(../img/jirei_img4-2.png);
}
.jirei_ul li dl dt {
    margin-bottom: 10px;
}
.jirei_ul li dl dt img {
    width: 100%;
}
.jirei_ul li dl dd {
    padding-inline: 20px;
}
.jirei_ul li dl dd:nth-child(3) {
    text-align: right;
    position: relative;
    margin-bottom: 10px;
    font-size: 2.4em;
    font-weight: bold;
    color: #d34c1a;
}
.jirei_ul li dl dd:nth-child(3)::before {
    content: "買取価格";
    background: #d34c1a;
    padding: 2px 8px;
    color: #fff;
    position: absolute;
    font-size: 0.5em;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}
.jirei_ul li dl dd:last-child {
    background: #efefef;
    padding: 5px 20px;
}

.jirei_ul li dl dd b {
    display: block;
    font-size: 1.6em;
}
.jirei_ul li dl dd span {
    font-size: 0.7em;
}

@media (max-width: 960px) {
    .jirei_txt {
        margin-top: 25px;
        margin-bottom: 40px;
        text-align: left;
    }
    .jirei_ul {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .jirei_ul dl {
        width: 100%;
    }
    .jirei_ul li::before {
        width: 93px;
        height: 104px;
        left: -3px;
    }
    .jirei_ul li dl dd:nth-child(3) {
        font-size: 3.3rem;
    }
    .jirei_ul li dl dd:nth-child(3)::before {
        font-size: 1.5rem;
    }
    .jirei_ul li dl dd b {
        font-size: 2.2rem;
    }
}

/* _______________ 廃車を買い取れる理由 _______________ */

.reason_inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.reason_img {
    display: block;
    width: min(100%, 240px);
    max-width: 240px;
    height: 180px;
    margin: 0 auto 20px;
    object-fit: contain;
}
.reason_inner li h3 {
    background: #0b459d;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 15px;
}
.reason_inner li p {
    line-height: 1.7;
}

@media (max-width: 960px) {
    .reason_inner {
        grid-template-columns: 1fr;
    }
    .reason_inner li h3 {
        padding: 2px 20px 5px;
    }
    .reason_img {
        width: min(200px, 100%);
        height: auto;
    }
}

/* _______________ 他社比較表 _______________ */

.compare table {
    margin: 0 auto 0.5rem;
    box-shadow: 0 0 16px rgb(0 0 0 / 12%);
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #00afec;
    border-radius: 6px;
}
.compare table thead {
    border-bottom: 1px solid #adadad;
}
.compare table thead th {
    padding: 1rem;
    vertical-align: middle;
}
.compare table thead th img {
    max-width: 200px;
    height: auto;
    width: auto;
}
.compare table tbody tr:not(:last-child) {
    border-bottom: 1px dashed #adadad;
}
.compare table tbody td {
    line-height: 1.4;
    padding: 1rem 0;
    vertical-align: middle;
}
.compare table tbody td:nth-child(2) {
    font-size: 5.1rem;
    color: #ff2d20;
    background-color: #ffe75d;
}
.compare table tbody td:not(:first-child) {
    width: 35%;
}
.compare table tbody tr:nth-child(even) td:last-child {
    background-color: #efefef;
}
.compare .compare_cn {
    background-color: #ffe75d;
}
.compare table tr td:last-child {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    background-color: #fff;
}
.compare_s_txt {
    font-size: 2rem;
}
.compare_attention {
    display: block;
    font-size: 1.8rem;
    color: #333;
}
.compare_arrow {
    display: block;
    margin-inline: auto;
    padding-bottom: 20px;
}
.compare_txt_img {
    display: block;
    max-width: 90%;
    height: auto;
    margin-inline: auto;
}

@media (max-width: 960px) {
    .compare table {
        font-size: 1.3rem;
    }
    .compare table thead th img {
        max-width: 95px;
    }
    .compare_s_txt {
        font-size: 1.4rem;
    }
    .compare_attention {
        font-size: 1.4rem;
    }
    .compare table tr td:last-child {
        font-size: 2rem;
    }
    .compare table thead th {
        padding: 10px;
    }
    .compare table tbody td:nth-child(2) {
        font-size: 4.2rem;
    }
    .compare_txt_img {
        max-width: 85%;
        margin-top: 15px;
    }
}

/* _______________ 廃車にかかる費用 _______________ */

.cost_block {
    display: flex;
    align-items: center;
    gap: 40px;
}
.cost_block img {
    width: min(90%, 323px);
}

@media (max-width: 960px) {
    .cost_block {
        flex-direction: column;
        margin-top: 40px;
    }
}

/* _______________ 廢車手続き無料で代行 _______________ */

.daikou_block {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: center;
}
.daikou_woman {
    width: 200px;
}
.daikou_txt_img {
    display: block;
    margin: 0 auto 30px;
    width: min(985px, 80%);
    height: auto;
}
.daikou_ul li {
    list-style: initial;
    text-indent: -0.3rem;
    line-height: 1.8;
    font-size: 1.8rem;
}
.daikou_box {
    padding: 16px 20px 16px 40px;
    background-color: #fff;
    border: 2px solid #0a459d;
    border-radius: 4px;
    font-weight: bold;
}
.daikou_arrow {
    display: block;
    padding: 20px 0;
    margin-inline: auto;
}

@media (max-width: 960px) {
    .daikou_block {
        grid-template-columns: auto 1fr;
        align-items: flex-end;
    }
    .daikou_box {
        flex: 1;
        padding: 10px 10px 10px 30px;
    }
    .daikou_woman {
        width: 90px;
    }
    .daikou_ul li {
        line-height: 1.6;
        font-size: 1.3rem;
        font-weight: normal;
    }
    .daikou_arrow {
        padding: 10px 0;
        max-width: 100%;
    }
}

/* _______________ 還付金が受け取れる _______________ */

.kanpu_block {
    display: flex;
    gap: 40px;
    align-items: center;
}
.kanpu_bnr {
    background:
            url("../img/operator.png") left 6% bottom / auto no-repeat,
            url("../img/bg_dot_black.jpg") left top / auto repeat;
    border: #0b459d solid 2px;
    padding: 20px 50px 0;
    width: min(100%, 1000px);
    margin: 35px auto 0;
    border-radius: 6px;
}
.kanpu_bnr h3,
.kanpu_bnr p {
    margin-left: 21%;
}
@media (max-width: 960px) {
    .kanpu_block {
        flex-direction: column;
        gap: 20px;
    }
    .kanpu_img {
        width: min(80%, 319px);
    }
    .kanpu_logo {
        width: 100px;
    }
    .kanpu_bnr {
        width: 100%;
        padding: 20px;
        background-position:
                left 23px top 20px,
                left top;
        background-size:
                50px auto,
                auto;
    }
}

/* _______________ 自動車税バナー _______________ */

#common_zei_box {
    margin-left: 15%;
    padding-bottom: 18px;
}
#one_point_zei_comment span {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    background: url(../img/gozonjidesuka.png) no-repeat;
    height: 40px;
}

@media (max-width: 960px) {
    #common_zei_box {
        margin: 0;
        padding: 0;
    }
    #one_point_zei_comment {
        padding: 20px 20px 20px 70px;
    }
    #one_point_zei_comment span {
        background-size: contain;
    }
}

/* _______________ 廃車買取簡単４STEP _______________ */

.four_step_img {
    margin-inline: auto;
    display: block;
    max-width: 90%;
}

/* _______________ 初めての方もご安心ください _______________ */

.beginner_block {
    background: url(../img/bg_dot_y.jpg);
    padding-top: 50px;
}
.beginner_block > .inner_wide {
    background-image: url(../img/woman_img.png);
    background-repeat: no-repeat;
    background-position: right top;
}
.beginner_img {
    margin-bottom: 20px;
}
.beginner_txt_img {
    margin-bottom: 40px;
    width: min(616px, 93%);
}
.beginner_txt_img img {
    width: 100%;
    height: auto;
}
.beginner_txt_box {
    font-size: 2rem;
    padding-bottom: 32px;
}

@media (max-width: 900px) {
    .beginner_block > .inner_wide {
        background-size: 220px auto;
        background-position: right bottom;
    }
}

@media (max-width: 960px) {
    .beginner_block {
        padding-block: 30px;
    }
    .beginner_txt_img {
        margin: auto;
    }
    .beginner_block > .inner_wide {
        background-image: none;
    }
    .beginner_img {
        width: 100%;
        margin-bottom: 0;
    }
    .beginner_txt_box {
        font-size: 16px;
        padding: 10px 20px;
        margin-inline: auto;
        background-color: #fff;
    }
}

/* _______________ フッター _______________ */

footer {
    background: #004499;
    padding: 18px 0;
    text-align: center;
}
footer ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 5px;
}
footer li a {
    color: #fff;
    font-size: 1.4rem;
}
footer address {
    display: block;
    color: #fff;
    font-size: 1.4rem;
    font-style: normal;
}

/* _______________ 固定バナー _______________ */

.fixed_cv_point {
    display: none;
}

@media (max-width: 960px) {
    .fixed_cv_point {
        position: fixed;
        bottom: -100px; /* 初期は隠しておく */
        left: 0;
        display: block;
        width: 100%;
        background: linear-gradient(
                0deg,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, 0) 100%
        );
        transition: bottom 0.4s ease;
        z-index: 900;
    }
    .fixed_cv_point.show {
        bottom: 0; /* 表示 */
    }
    .fixed_cv_point .cv_btn_link_sp {
        box-sizing: border-box;
        padding: 14px 36px;
        margin: 8px auto;
        width: 94%;
        font-size: 20px;
    }
}