@charset "utf-8";

/* -------------------------------------------------- */
/* PC*/
/* -------------------------------------------------- */
.errForm {
    background-color: #F3BCBF !important;
}

.errorMessage {
    color: #B01C0F !important;
}

/* ------------------------------------ */
/* 査定 */
/* ------------------------------------ */
#contactformWrap {
    padding: 100px 0 120px;
    background-color: #bfbfbf;
}

/* タブ部分 */
.tabSwitch {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.tabSwitchItem {
    width: 49%;
    padding: 15px 10px;
    background-color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

/* タブ中身 */
.tabContent {
    margin-top: -3px;
}

.tabContentItem {
    padding: 40px;
    position: relative;
    background-color: #ffffff;
}

.tabContentInner {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

/* タブ切り替え */
[data-tab-switch].is-open {
    z-index: 1;
}

[data-tab-content] {
    display: none;
}

[data-tab-content].is-open {
    display: block;
}

/* かんたん事前査定
------------------------------------ */
#tabForm {
    color: #b01c0f;
    border: 3px solid #b01c0f;
    border-bottom: transparent;
}

#form {
    border: 3px solid #b01c0f;
}

.formTtl {
    margin-bottom: 30px;
    color: #b01c0f;
    font-size: 3.4rem;
    font-weight: 700;
    text-align: center;
}

.formTxtCaution {
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.formTxtCaution span {
    display: inline-block;
    border-bottom: 1px solid #333333;
}

.formTxt {
    margin-bottom: 30px;
    font-size: 1.6rem;
    text-align: center;
}

/* フォーム */
#contactform {
    margin-bottom: 30px;
}

.contactItem {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.contactItem:last-child {
    margin-bottom: 0;
}

.contactItemTit {
    width: 200px;
    padding-right: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.375;
    text-align: right;
}

.contactItemTit .txtSm {
    font-size: 0.875em;
}

.formInput {
    width: calc(100% - 200px);
}

.formInput input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 12px 14px;
    color: inherit;
    background: #eeeeee;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-family: inherit;
}

.formInput select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 260px;
    padding: 12px 14px;
    color: inherit;
    background: #eeeeee url(../..//img/icon_select.svg) no-repeat center right 10px/16px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-family: inherit;
}

.formInput select::-ms-expand {
    display: none;
}

.formInput textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 130px;
    padding: 12px 14px;
    color: inherit;
    background: #eeeeee;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 3px;
    font-size: 16px;
    font-family: inherit;
    resize: none;
}

.formUpload label {
    margin-bottom: 10px;
    padding: 5px 15px;
    display: inline-block;
    position: relative;
    background: #ffffff;
    font-size: 14px;
    border: 1px solid #959595;
    border-radius: 5px;
    cursor: pointer;
}

.formUpload label .fileInput {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: -1;
}

.formUploadName {
    font-size: 1.6rem;
}

::-webkit-input-placeholder {
    color: #888787;
}

::-moz-placeholder {
    color: #888787;
}

:-ms-input-placeholder {
    color: #888787;
}

::-ms-input-placeholder {
    color: #888787;
}

::placeholder {
    color: #888787;
}

.errForm {
    background: #fdc5c5 !important;
}

.errorMessage {
    margin: 5px 0;
    font-size: 1.3rem;
    color: #ff0000;
}

/* プライバシーポリシー */
#ppAnchor {
    margin-top: -80px;
    padding-top: 80px;
}

#ppBox {
    width: 100%;
    height: 250px;
    position: relative;
    margin-bottom: 20px;
    padding: 15px 15px 15px 30px;
    border: 1px solid #aaaaaa;
}

#ppBoxInner {
    width: 100%;
    height: 220px;
    margin: 0px auto;
    padding: 10px 40px 0 0;
    position: relative;
    overflow: auto;
}

#ppTit {
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
}

.ppSubTit {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #535353;
}

.ppTxt {
    margin-bottom: 20px;
}

.ppTxt.last {
    text-align: right;
    font-size: 1.6rem;
}

/* スクロールバー */
.ps__rail-y {
    opacity: 1 !important;
    width: 3px;
}

.ps--active-x>.ps__rail-x,
.ps--active-y>.ps__rail-y {
    background-color: #d2d2d2;
}

.ps__rail-y:hover>.ps__thumb-y,
.ps__rail-y:focus>.ps__thumb-y,
.ps__rail-y.ps--clicking .ps__thumb-y {
    width: 3px;
    right: 0;
    background-color: #707070;
    border-radius: 0;
}

.ps__thumb-y {
    width: 3px;
    right: 0;
    background-color: #707070;
    border-radius: 0;
}

/* チェックボックス */
.contactCheck {
    margin-bottom: 15px;
    text-align: center;
}

.formCheckbox {
    display: none;
}

.formCheckbox+span {
    cursor: pointer;
    display: inline-block;
    padding: 0 0 0 30px;
    position: relative;
    font-size: 1.6rem;
    font-weight: 700;
}

.formCheckbox+span::before,
.formCheckbox+span::after {
    content: "";
    display: block;
    position: absolute;
}

.formCheckbox+span::before {
    width: 22px;
    height: 22px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border: 2px solid #bfbfbf;
}

.formCheckbox+span::after {
    width: 8px;
    height: 14px;
    border-right: 2px solid #333333;
    border-bottom: 2px solid #333333;
    top: 2px;
    left: 8px;
    transform: rotate(45deg);
    opacity: 0;
}

.formCheckbox:checked+span::after {
    opacity: 1;
}

.contactBtn {
    width: 320px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 25px;
    display: block;
    background: #b01c0f url(../../img/icon_arrow.svg) no-repeat center right 20px / 20px auto;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* フォーム確認画面 */
#contactformWrap.confirm,
#contactformWrap.complete {
	height: 100vh;
    padding-top: 120px;
}

#contactConfirmWrap .contactItem {
    padding: 15px;
    border-bottom: 1px solid #aaaaaa;
}

#contactConfirmWrap {
    margin-bottom: 40px;
}

#contactConfirmWrap .contactItemTit {
    text-align: left;
}

#contactprev {
    width: 320px;
    margin: 10px auto 0;
}

/* フォーム完了画面 */
#contactEndLink {
    text-align: center;
}

#contactEndLink a {
    width: 320px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 25px;
    display: block;
    background: #b01c0f;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* LINE査定
------------------------------------ */
#tabLine {
    color: #1cb720;
    border: 3px solid #1cb720;
    border-bottom: transparent;
}


#lineHead {
    width: 49%;
    margin-bottom: 40px;
}

.lineHeadTxt1 {
    padding-bottom: 10px;
    font-size: 3rem;
    text-align: center;
    border-bottom: 1px solid #1cb720;
}

.lineHeadTxt1::before {
    content: "";
    width: 52px;
    height: 50px;
    margin-right: auto;
    margin-left: auto;
    display: block;
    background: transparent url(../../img/icon_line_color.png) no-repeat center center / contain;
}

.lineHeadTxt2 {
    margin-bottom: 10px;
    font-size: 2rem;
    text-align: center;
}

.lineHeadTxt2 span {
    color: #1cb720;
    font-size: 1.3em;
    font-weight: 700;
}

.lineHeadImg {
    margin-bottom: 20px;
    text-align: center;
}

.lineHeadImg img {
    max-width: 100%;
}

.lineHeadTxt3 {
    padding: 10px;
    background-color: #ffffff;
    font-size: 1.7rem;
    letter-spacing: 0.025em;
    text-align: center;
}

/* ------------------------------------ */
/* ホバーエフェクト */
/* ------------------------------------ */
@media screen and (min-width: 1025px) {
    #headerLogo {
        transition: 0.3s ease-in-out;
    }

    #headerLogo:hover {
        opacity: 0.7;
    }

    #headerNavList a {
        transition: 0.3s ease-in-out;
    }

    a.headerBtnLink {
        transition: 0.3s ease-in-out;
    }

    a.headerBtnLink:hover {
        opacity: 0.8;
    }

    .tabSwitchItem {
        transition: 0.3s ease-in-out;
    }

    #tabForm:not(.is-open):hover {
        color: #ffffff;
        background-color: #b01c0f;
    }

    #tabLine:not(.is-open):hover {
        color: #ffffff;
        background-color: #1cb720;
    }

}

/* -------------------------------------------------- */
/* TAB&SP */
/* -------------------------------------------------- */
@media screen and (max-width: 1024px) {

    /* ------------------------------------ */
    /* 査定 */
    /* ------------------------------------ */
    .tabContentItem {
        padding: 30px;
    }
}

/* -------------------------------------------------- */
/* SP(調整) */
/* -------------------------------------------------- */
@media screen and (max-width: 767px) {

    /* ------------------------------------ */
    /* 査定 */
    /* ------------------------------------ */
    #contactformWrap {
        padding: 40px 0;
    }

    .tabSwitchItem {
        font-size: 1.5rem;
    }

    .tabContentItem {
        padding: 30px 20px;
    }

    /* かんたん事前査定
	------------------------------------ */
    .formTtl {
        font-size: 3rem;
    }

    .contactItemTit {
        width: 100%;
        margin-bottom: 5px;
        text-align: left;
    }

    .formInput {
        width: 100%;
    }

    .formUpload label {
        margin-bottom: 5px;
    }

    .formUploadName {
        margin-bottom: 10px;
        display: block;
    }

    .formInput textarea {
        height: 180px;
    }

    #ppBox {
        padding: 15px;
    }

    #ppBoxInner {
        padding-right: 20px;
    }

    .formCheckbox+span {
        font-size: 1.3rem;
    }

    .formCheckbox+span::after {
        top: 0;
    }

    /* LINE査定
	------------------------------------ */
    #lineHead {
        width: 100%;
        margin-bottom: 0;
    }

    #lineHead::after {
        content: "";
        width: calc(100% + 40px);
        height: 50vw;
        margin-top: -60px;
        display: block;
        background: transparent url(../..//img/line_bg.jpg) no-repeat center center / cover;
        transform: translateX(-20px);
    }

    .lineHeadTxt1 {
        margin-bottom: 5px;
        font-size: 2.4rem;
    }

    .lineHeadTxt2 {
        font-size: 1.3rem;
    }

    .lineHeadTxt3 {
        position: relative;
        background-color: transparent;
        font-size: 1.4rem;
        text-align: left;
        z-index: 1;
    }

    .lineHeadImg img {
        margin: auto;
    }
}


@media screen and (max-width: 374px) {
    html {
        font-size: 2.667vw;
    }
}

.contactItemCont img,
.contactItemCont video {
    width: 300px;
    height: auto;
}

#preview {
    width: 300px;
}

#bk_img {
    width: 300px;
}

#bk_img img,
#bk_img video,
#preview img,
#preview video {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 767px) {

    .contactItemCont img,
    .contactItemCont video {
        width: 100%;
        height: auto;
    }

    #preview {
        width: 100%;
    }

    #bk_img {
        width: 100%;
    }
}