@charset "UTF-8";
/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    共通//
_______________________________________________________*/
body{
    font-family: 'Noto Sans JP', sans-serif;
    background-image: url(/af17/img/body_bg.jpg);
}
.content_area{
    width: 100%;
    max-width:1000px;
    margin:0 auto;
    position:relative;
}
.content_ttl{
    background: linear-gradient(to bottom, rgba(255,186,0,1) 0%,rgba(255,223,0,1) 100%);
    padding: 2% 2%;
    box-sizing: border-box;
    margin: 0 auto 50px;
    text-align: center;
}
.flash{
    animation: border 1.5s linear infinite;
}
@keyframes border{
    0% {
        border: medium solid #be0622;
        color:#be0622;
    }
    100% {
        border: medium solid #efefef;
        color:#333;
    }
}

.pc{
    display: block;
}
.sp{
    display: none;
}

.btm01{margin-bottom:32px;}
.btm02{margin-bottom:40px;}
.btm03{margin-bottom:64px;}

@media screen and (max-width: 820px) {
    h2{
        font-size: 7vw;
        line-height: 1.4;
        color: #ffffff;
        margin-right: 0;
        margin-left: auto;
    }
    h2 span{
        font-size: 1.4em;
    }
    h3{
        font-size: 1.2em;
    }
    img{
        width: auto;
        max-width: 100%;
    }
    em{
        font-style: normal;
        font-weight: 500;
    }
    .bold{
        font-weight: bold;
    }
    .flex{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .flex_center{
        justify-content: center;
        align-items: center;
    }
    .content_ttl{
        background: linear-gradient(to bottom,  rgba(255,186,0,1) 0%,rgba(255,223,0,1) 100%);
        padding: 4% 2%;
        box-sizing: border-box;
        margin: 0 auto 7%;
    }
    .content_ttl img{
        padding: 0 10vw;
        text-align: center;
        display: block;
        max-width: 70%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .content_area{
        box-sizing: border-box;
    }
    .inner {
        padding: 3%;
    }
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
}
@media screen and (min-width: 821px) and (max-width: 1100px) {
    .content_area {
        width: 96%;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    FLEX
_______________________________________________________*/
.flex{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    /*align-items: flex-start;*/
}
.flex_align_center{
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 96%;
}
.flex_align_flexstart{
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    LINK
_______________________________________________________*/
a {
    color: #0066cc;
    text-decoration: underline;
}

a:visiteded {
    color: #0066cc;
    text-decoration: underline;
}

a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    Background
_______________________________________________________*/
.bg_white{
    background-color: #ffffff;
}
.stripe{
    background-image: url(/af17/img/stripe.png);
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 50px;
}
.stripe-inner{
    background-image: url(/af17/img/body_bg.jpg);
    color: #fff;
}
.stripe-inner h3{
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    display: block;
    font-size: 1.2em;
}
.stripe-inner h3 img{
    margin: 0 auto;
    display: block;
}
.stripe-inner{
    padding: 30px;
}
.stripe-inner em{
    color: #f7fa00;
}
/* Arrow */
.arrow{
    position: relative;
}
.arrow:before{
    content: '';
    position: absolute;
    border-top: 20px solid #ffde00;
    border-right: 25px solid transparent;
    border-left: 25px solid transparent;
    bottom: -20px;
    left: 0;
    right: 0;
    width: 0;
    height: 0;
    margin: 0 auto;
    display: block;
}

@media screen and (max-width: 820px) {
    .stripe{
        margin-bottom: 20px;
        background-size: 1.5%;
    }
    .stripe-inner h3{
        top: -15px;
        font-size: 5.5vw;
    }
    .arrow:before{
        border-top: 15px solid #ffde00;
        border-right: 20px solid transparent;
        border-left: 20px solid transparent;
        bottom: -10px;
    }
}

@media screen and (min-width: 500px) and (max-width: 820px) {
    .stripe-inner h3{
        font-size: 4vw;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    Box Style
_______________________________________________________*/
.box_shadow{
    box-shadow: 0 0 20px 0 rgb(255 235 0 / 40%) inset;
    background-color: #2152a8;
}
/* 吹き出し */
.box_style1 {
    position: relative;
    display: inline-block;
    background-color: transparent;
    border: solid 2px #ffffff;
    width: 100%;
    max-width: 700px;
    text-align: center;
}
.box_style1:not(:last-child){
    margin-bottom: 3em;
}
.box_style1:first-child{
    margin-top: 1em;
}
.box_style1:before,
.box_style1:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.box_style1:before {
    border: solid 12px transparent;
    border-top: solid 12px #ffffff;
}
.box_style1:after {
    border: solid 14px transparent;
    border-top: solid 14px #2152a8;
    margin-top: -5px;
}
.box_style1 p {
    margin: 0;
    padding: 0;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    HEADER
_______________________________________________________*/
header {
    padding: 0 0 5px;
    background-color: #fff;
}
header img{
    width: 200px;
}
header h1{
    font-size: 0.8em;
    font-weight: normal;
    color: #656565;
}
header h1 + div{
    width: 45%;
    text-align: right;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.4;
}
header h1 + div:before{
    content: '';
    display: inline-block;
    width: 20px;
    height: 30px;
    vertical-align: middle;
    background: url(/img/icon_smartphone_b.svg) no-repeat;
    background-size: contain;
}
header h1 + div p{
    font-size: 14px;
    font-weight: normal;
    margin-right: -10px;
}
header h1 + div p span{
    color: red;
}

@media screen and (max-width: 820px) {
    header{
        background-color: #ffffff;
        z-index: 10;
        height: 60px;
        width: 100%;
        top: 0;
        padding: 0;
    }
    header h1 {
        margin-top: 0.7em;
        position: relative;
    }
    header h1 span{
        display: block;
        font-size: 11px;
        font-weight: normal;
        position: absolute;
        right: 0;
        top: -1em;
        letter-spacing: -0.5px;
    }
    header .content_area {
        padding: 0 2%;
        height: 60px;
    }
    header .content_area h1 img {
        max-width: 160px;
        width: 42vw;
        margin-top: -3%;
    }
    header .content_area a{
        margin-right: 0;
        margin-left: auto;
        max-width: 170px;
        display: block;
        text-decoration: none;
        text-align: center;
        margin-top: 2px;
        font-size: 14px;
        padding: 8px 6vw 10px;
        font-weight: bold;
        background-color: #e21212;
        color: #ffffff;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    Main Visual
_______________________________________________________*/
.main{
    background-image: url(/af17/img/main_bg.jpg);
}
.main > .content_area {
    position: relative;
    max-width: 1110px;
    width: 100%;
}
.main > .content_area > img {
    display: block;
}

@media screen and (max-width: 820px) {
    .mv img {
        width: 100vw;
    }
}

@media screen and (min-width: 821px) and (max-width: 1100px) {
    .mv {
        margin: 0 auto;
        text-align: center;
    }
    .main_form {
    }
    .main > .content_area {
        text-align: center;
    }
    .main_form .arrow {
        font-size: 27px;
        width: 557px;
        margin: 0 auto 24px;
        line-height: 1.4;
    }
    .main_form .arrow span {
        font-size: 1.6em;
    }
    .main_form form {
        padding: 3% 18% 5%;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    CV
_______________________________________________________*/
.cv{
    padding-top: 50px;
}
.cv,
.cv a{
    text-align: center;
    color: #fff;
    font-size: 1.5em;
}
.cv > .content_area:nth-child(1){
    margin-bottom: 60px;
}
.cv > .content_area:nth-child(2){
    margin-bottom: 50px;
}
.cv h2 img{
    margin: 0 auto 20px;
    display: block;
}
.cv a.cv_web_btn{
    padding: 22px 0;
    margin: 16px auto;
    box-sizing: border-box;
    display: inline-block;
    max-width: 700px;
    width: 100%;
    font-size: 32px;
    font-weight: bold;
    border-radius: 3em;
    box-shadow: 0 15px 6px #33333373;
    transition: all 0.2s;
}
.cv a.cv_web_btn.orange{
    background: linear-gradient(to bottom,  #ff7400 0%,#ff5800 100%);
    text-decoration: none;
}
.cv a.cv_web_btn.blue{
    background: linear-gradient(to bottom,  rgba(0,155,255,1) 0%,rgba(0,121,255,1) 100%);
}
.cv a.cv_web_btn.green{
    background: linear-gradient(to bottom,  rgba(20,204,136,1) 0%,rgba(0,173,80,1) 100%);
}
.cv a.cv_web_btn.red{
    background: linear-gradient(to bottom,  rgba(237,47,82,1) 0%,rgba(221,0,3,1) 100%);
}
.cv a.cv_web_btn:hover{
    transform: scale(1.05, 1.05);
    box-shadow: 0 10px 10px #33333373;
}
.cv h3{
    background: #1f4da5;
    width: 400px;
}
.cv h3:before,
.cv h3:after{
    content: '';
    position: absolute;
    border-top: 46px solid #fff;
}
.cv h3:before{
    left: 10px;
    transform: rotate(-15deg);
    border-right: 0px solid transparent;
    border-left: 7px solid transparent;
}
.cv h3:after{
    right: 10px;
    transform: rotate(15deg);
    border-right: 7px solid transparent;
    border-left: 0px solid transparent;
}
.cv h3 + p{
    color: #f7fa00;
    font-weight: bold;
    font-size: 1.4em;
    line-height: 1.2;
}
.cv h3 + p em{
    font-size: 1.6em;
    letter-spacing: 2px;
}
.cv .cv_img{
    position: absolute;
    bottom: -50px;
    left: -6px;
}
.cv .cv_img img{
    width: 24vw;
    max-width: 260px;
}
.cv .cv_telicon{
    position: absolute;
    top: 20px;
    right: 45px;
    transform: rotate(10deg);
    width: 120px;
    height: 120px;
    color: #ff0000;
    background: #f7fa00;
    font-weight: bold;
    line-height: 1.2;
    font-size: 1.3em;
    padding: 25px 0 0 0;
    border-radius: 100px;
    box-sizing: border-box;
}
.cv .pc {
    display: inline-block;
}

@media screen and (max-width: 820px) {
    .cv {
        padding-top: 16px;
    }
    .cv,
    .cv a{
        text-align: center;
        color: #fff;
        font-size: 0.8em;
        overflow: hidden;
    }
    .cv > .content_area:nth-child(1){
        margin-bottom: 30px;
    }
    .cv > .content_area:nth-child(2){
        padding: 0 3% 0 3%;
        position: relative;
    }
    .cv a.cv_web_btn{
        font-size: 24px;
        padding: 16px 0;
        margin: 16px auto;
    }
    .cv .stripe-inner{
        padding: 20px 0 20px 0;
    }
    .cv h3{
        background: #1f4da5;
        max-width: 80vw;
    }
    .cv h3:before,
    .cv h3:after{
        content: '';
        top: 5px;
        position: absolute;
        border-top: 25px solid #fff;
    }
    .cv h3:before{
        left: 10px;
        transform: rotate(-15deg);
        border-right: 0 solid transparent;
        border-left: 4px solid transparent;
    }
    .cv h3:after{
        right: 10px;
        transform: rotate(15deg);
        border-right: 4px solid transparent;
        border-left: 0 solid transparent;
    }
    .cv h3 + p{
        color: #f7fa00;
        font-weight: bold;
        font-size: 0.8em;
        line-height: 1.2;
    }
    .cv h3 + p a{
        text-decoration: none;
    }
    .cv h3 + p em{
        font-size: 9.6vw;
        letter-spacing: 1px;
        font-weight: bold;
    }
    .cv .cv_img{
        position: absolute;
        bottom: 0;
        left: -0.5em;
        max-width: 90px;
        width: 20vw;
        z-index: 1;
    }
    .cv .cv_img img {
        width: 100%;
    }
    .cv .cv_telicon{
        position: absolute;
        top: 0;
        right: 2px;
        transform: rotate(10deg);
        width: 17vw;
        height: 17vw;
        max-width: 60px;
        max-height: 60px;
        color: #ff0000;
        background: #f7fa00;
        font-weight: bold;
        line-height: 1.2;
        font-size: clamp(14px, 3vw, 16px); /* 最小14px、最大24px */
        padding: 13px 0 0 0;
        border-radius: 100px;
        box-sizing: border-box;
    }
    .cv .content_area {
        padding: 0 3%;
    }
    .cv > .content_area:nth-child(2) {
        margin-bottom: 0;
    }
    .cv .pc {
        display: none;
    }
}

@media screen and (min-width: 501px) and (max-width: 820px) {
    .cv a.cv_web_btn {
        width: 460px;
    }
    .cv > .content_area:nth-child(2) {
        width: 500px;
    }
    .cv h3 {
        font-size: 28px;
    }
    .cv h3 + p em {
        font-size: 53px;
    }
    .cv .cv_img {
        top: 47px;
        max-width: 120px;
        width: 100%;
    }
    .cv .cv_img img {
        width: 100%;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    自動車税の案内
_______________________________________________________*/
.one_point_zei{
    border:solid 4px #c20211;
    background:#ffffff;
    text-align: center;
}
#one_point_zei_comment{
    background:#c20211;
    color:#ffffff;
    font-size:24px;
    font-weight:bold;
    padding:4px 4px 8px;
}
#common_zei_text{
    padding: 0.4em;
}
#common_zei_main_text{
    line-height: 1;
}
#common_zei_main_text2{
    font-weight: bold;
    display: inline;
    background: #fffc00;
    padding-left: 4px;
}
#common_zei_sub_text{
    font-size: 14px;
    color: #777777;
    padding: 0.5em 0 0;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    初めてのお客様へ
_______________________________________________________*/
@media screen and (min-width: 821px) {
    .forguest {
        margin-top: 85px;
    }
    .forguest .stripe-inner{
        padding: 30px 0 20px 40px;
    }
    .forguest h3 + div{
        width: 72%;
        font-size: 1.1em;
    }
    .forguest em{
        padding-top: 10px;
        display: inline-block;
        font-size: 1.2em;
    }
    .forguest_img{
        position: absolute;
        bottom: -50px;
        right: 30px;
    }
}

@media screen and (max-width: 820px) {
    .forguest .stripe-inner{
        padding: 1em;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    カーネクストが選ばれる理由
_______________________________________________________*/
@media screen and (min-width: 821px) {
    .reason{
        background-image: url(/af17/img/reason_bg_l.png),
        url(/af17/img/reason_bg_r.png);
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: left top,right top;
    }
    .reason .flex > div{
        text-align: center;
        color:#fff;
        padding: 2em 1em;
        box-sizing: border-box;
    }
    .reason .flex:nth-child(2) > div{
        width:49%;
        margin-bottom: 20px;
    }
    .reason .flex:nth-child(3) > div{
        width:32%;
    }
    .reason h3{
        font-size: 1.55em;
        padding-bottom: 10px;
    }
    .reason h3 img{
        display: block;
        margin: 0 auto 10px auto;
    }
    .reason h3 span{
        color: #f7fa00;
    }
    .reason .box_shadow h3 + div{
        padding: 0 1em 0 1em;
    }
}

@media screen and (max-width: 820px) {
    .reason{
        background-image: url(/af17/img/reason_bg_l.png),
        url(/af17/img/reason_bg_r.png);
        background-size: 20vw 100vh;
        background-repeat: no-repeat;
        background-position: left top,right top;
        background-attachment: fixed;
    }
    .reason .flex{
        display: block
    }
    .reason .content_ttl img{
        padding:0;
        max-width: 100%;
    }
    .reason .content_area{
        text-align: center;
        color:#fff;
        padding: 0 1em;
        box-sizing: border-box;
    }
    .reason .content_area:last-child{
        padding-bottom: 0.5em;
    }
    .reason .box_shadow{
        padding: 1em 1em 2em 1em;
        margin-bottom: 0.6em;
    }
    .reason h3{
        font-size: 5.8vw;
        padding-bottom: 10px;
    }
    .reason h3 img{
        display: block;
        margin: 0 auto 10px auto;
    }
    .reason h3 span{
        color: #f7fa00;
    }
    .reason .box_shadow h3 + div{
        padding: 0 1em 0 1em;
        text-align: left;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    流れ
_______________________________________________________*/
@media screen and (min-width: 821px) {
    .flow ol {
        text-align: center;
    }
    .flow li {
        color: #ffffff;
        position: relative;
        padding: 3em 2em 2em 2em;
        box-sizing: border-box;
    }

    .flow li .flex figure img:nth-of-type(1){
        position: absolute;
        top: 20px;
        left: 10px;
    }

    .flow li h3{
        background-color: #ffffff;
        font-size: 1.65em;
        color: #2152a8;
        position: absolute;
        top: -0.8em;
        margin: 0 auto;
        left: 0;
        right: 0;
        max-width: 280px;
        border-radius: 100px;
    }
    .flow li figcaption{
        text-align: left;
        padding: 0 0 0 2em;
    }
}

@media screen and (max-width: 820px) {
    .flow {
        padding-bottom: 16px;
    }
    .flow ol {
        text-align: center;
    }
    .flow .content_area {
        padding: 0 3%;
    }
    .flow li {
        color: #ffffff;
        position: relative;
        padding: 3em 1em 2em 1em;
        box-sizing: border-box;
    }

    .flow li h3{
        background-color: #ffffff;
        font-size: 1.4em;
        color: #2152a8;
        position: absolute;
        top: -0.8em;
        margin: 0 auto;
        left: 0;
        right: 0;
        max-width: 200px;
        border-radius: 100px;
    }
    .flow li figure{
        padding: 0 0 1em 0;
        margin-top: 0.5em;
    }
    .flow li figure img{
        max-width: 80%;
    }
    .flow li figure img:nth-of-type(1){
        position: absolute;
        top: 2em;
        left: 30px;
        max-width:25%;
    }
    .flow li figcaption{
        text-align: justify;
        padding: 0;
    }
    .flow .flex {
        display: block;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    事例
_______________________________________________________*/
/*タブのスタイル*/
@media screen and (min-width: 821px) {

    .tab_item {
        width: calc(100%/3 - 6.9px);
        height: 80px;
        background-color: transparent;
        line-height: 80px;
        font-size: 1.6em;
        text-align: center;
        color: #ffffff;
        display: block;
        float: left;
        font-weight: bold;
        transition: all 0.2s ease;
        border:2px solid #ffffff;
        border-bottom:none;
        box-sizing: border-box;
    }
    .tab_item:not(:last-of-type){
        margin-right: 10.3px;
    }
    .tab_item:hover {
        background-color: #cac8c84f;
    }

    /*ラジオボタンを全て消す*/
    input[name="tab_item"] {
        display: none;
    }

    /*タブ切り替えの中身のスタイル*/
    .tab_content {
        display: none;
        clear: both;
        overflow: hidden;
        padding-bottom: 20px;
    }

    .tab_content li.jirei-list{
        border: 4px solid #dedede;
        padding: 16px 40px;
        width: 95%;
        margin: 10px auto 0;
        box-sizing: border-box;
        text-align: center;
    }
    .tab_content .jirei-list div:nth-of-type(1){
    }
    .tab_content .jirei-list div:nth-of-type(2){
        width: 70%;
        padding-top: 20px;
        color: #2152a8;
    }
    .tab_content h3{
        font-weight: bold;
        font-size: 1.8em;
        text-align: center;
    }
    .tab_content .price{
        color: #dc0207;
        font-size: 2.65em;
        font-weight: bold;
        padding-bottom: 20px;
    }
    .tab_content .price:before{
        content: '買取価格';
        font-size: 0.5em;
        display: inline-block;
        color: #ffffff;
        background-color: #dc0207;
        padding: 0 5px 3px;
        vertical-align: middle;
        font-weight: normal;
        margin-right: 10px;
    }
    .tab_content .jirei-list li{
        display: inline-block;
        color: #979797;
    }
    .tab_content .jirei-list li:not(:last-child):after{
        content: '／';
    }

    /*選択されているタブのコンテンツのみを表示*/
    #kouka:checked ~ #kouka_content,
    #haisha:checked ~ #haisha_content,
    #koshou:checked ~ #koshou_content {
        display: block;
    }

    /*選択されているタブのスタイルを変える*/
    .tabs input:checked + .tab_item {
        color: #2152a8;
        background-color: #fff802;
    }
}

@media screen and (max-width: 820px) {
    .jirei {
        padding-bottom: 20px;
    }
    .jirei .content_area {
        padding: 0 3%;
    }
    .jirei .flex {
        display: block;
    }
    .tab_item {
        width: calc(100%/3);
        height: 70px;
        border: 2px solid #ffffff;
        border-bottom:none;
        background-color: transparent;
        font-size: 16px;
        text-align: center;
        color: #ffffff;
        display: block;
        float: left;
        font-weight: bold;
        box-sizing: border-box;
        transition: all 0.2s ease;
    }
    .tabs .tab_item:last-of-type{
        line-height: 70px;
    }
    .tabs .tab_item:not(:last-of-type){
        border-right: none;
        padding-top: 10px;
    }

    /*ラジオボタンを全て消す*/
    input[name="tab_item"] {
        display: none;
    }

    /*タブ切り替えの中身のスタイル*/
    .tab_content {
        display: none;
        clear: both;
        overflow: hidden;
    }

    .tab_content li.jirei-list{
        border: 2px solid #dedede;
        padding: 10px;
        width: 95%;
        margin: 10px auto 0;
        box-sizing: border-box;
    }
    .tab_content h3{
        font-weight: bold;
        font-size: 1.2em;
        text-align: center;
    }
    .tab_content .detail{
        text-align: center;
        margin-bottom: 10px;
    }
    .tab_content .detail:before{
        content: '（';
    }
    .tab_content .detail:after{
        content: '）';
    }
    .tab_content img{
        width: 90%;
        margin: 0 auto;
        display: block;
    }
    .tab_content .price{
        color: #f50200;
        text-align: right;
        font-size: 2em;
        font-weight: bold;
        position: relative;
    }
    .tab_content .price:before{
        content: '買取価格';
        font-size: 0.5em;
        display: inline-block;
        color: #ffffff;
        background-color: #f50200;
        padding: 0 5px;
        font-weight: normal;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(0%, -50%);
    }

    /*選択されているタブのコンテンツのみを表示*/
    #kouka:checked ~ #kouka_content,
    #haisha:checked ~ #haisha_content,
    #koshou:checked ~ #koshou_content{
        display: block;
    }

    /*選択されているタブのスタイルを変える*/
    .tabs input:checked + .tab_item{
        color: #2152a8;
        background-color: #fff802;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    FOOTER
_______________________________________________________*/
footer{
    border-top: 1px solid #ababab;
    text-align: center;
    padding: 20px 0 20px;
    color: #a2a2a2;
    background: #fff;
}
footer a{
    text-decoration: underline;
    color: #333;
}
footer li{
    display: inline-block;
    padding: 0 1em 0.5em;
}

/* 追加 */
/* 点滅 */
.target_item{
    border: 3px solid #f12;
    animation-name: borderFlashing;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}
@keyframes borderFlashing{
    0% {box-shadow: 0 0 0 0px #f12, 0 0 0 0px #fff, 0 0 0 1px #f12}
    100% {box-shadow: 0 0 0 0px #f12, 0 0 0 0px rgba(255,255,255,0), 0 0 0 5px rgba(100,164,134,0)}
}

/* 送信項目のエラーメッセージ */
.err_msg{
    color: #f00;
}

/* 送信ボタン後のloading画像 */
#loading_img{
    display: none;  /* 編集しないで下さい */
    /* サイズや位置は追記して変更してください。
    loading画像は /img/load.gif を読み込んでいますが、svgなど他の画像を使用、または全画面で表示したいなどがある場合は変更しますので言ってください */
}

/* レイヤー */
#laye{
    display: none;   /* 編集しないで下さい */
    position: fixed; /* 編集しないで下さい */
    width: 100%;     /* 編集しないで下さい */
    height: 100%;    /* 編集しないで下さい */
    top: 0;          /* 編集しないで下さい */
    left: 0;         /* 編集しないで下さい */
    z-index: 990;    /* 編集しないで下さい */
    background-color: #fff;
    opacity: 0.8;
}
.loading_img{
    display: none;  /* 編集しないで下さい */
    width: 10%;
}

@media screen and (max-width: 820px) {
    footer li{
        display: block;
        padding: 0 1em 0.1em;
    }
    .copyright{
        font-size: 12px;
        margin-top: 16px;
    }
}
