/* ===========================
   Column
=========================== */
.col {
    position: relative;
    float: left;
    margin-right: 2%;
}
.col.one       { width: 100%; }
.col.one-half  { width: 49%; }
.col.one-third { width: 30.666%; }
.col.one:first-child,
.col.one-half:last-child,
.col.one-third:last-child { margin-right: 0; }

@media only screen and (max-width: 768px) {
    .col.one-half,
    .col.one-third {
        float: none;
        width: 100%;
    }
}

/* ===========================
   Table
=========================== */
/* Price table */
.price-table td { text-align: right; }

/* Form table */
.form-table th,
.form-table td { border: 1px solid #ddd !important; }
.form-table th { background: #eee; }
.form-table tr:last-child td {
    border: none !important;
    text-align: center;
}

/* Inquiry table */
.inquiry-table .zip1,
.inquiry-table .zip2 {
    width: 60px !important;
}
.inquiry-table .zip1,
.inquiry-table .zip2,
.inquiry-table .prefecture_id,
.inquiry-table .city,
.inquiry-table .block,
.inquiry-table .building {
    margin-bottom: 10px;
}
.inquiry-table input[type=radio] {
    height: auto !important;
}

.privacy-table { border: 1px solid; }
.privacy-table th,
.privacy-table td,
.privacy-table tr {
    border: 1px solid; 
    padding: 10px;
}

/* ===========================
   List
=========================== */
/* Error message list */
.error_msg li,
.errorlist li {
    color: #cc0000;
    text-align: center;
}

/* ===========================
   Buttons
=========================== */
/* Button common styles */
.btn { transition: all 0.3s cubic-bezier(0, 0, 0.7, 1); }
.btn:active,
.btn:focus { outline: 0 none !important; }
.btn.active,
.btn:active { box-shadow: none; }

/* Regist button */
.btn-rgst {
    border: 1px solid #ddd;
    background: #fafafa;
    box-shadow: 1px 1px 1px #eee;
    font-size: 12px;
}
.fa-star,
.fa-bell { color: #666; }
.fa-star.active,
.fa-bell.active { color: #ffd700; }

@media (max-width: 480px) {
    .btn-rgst abbr { display: none; }
    .reload abbr { display: none; }
}

.btn-bit {
    width: 200px;
    border-bottom: 5px solid #aa0000;
    background: rgba(204, 102, 102, 1);
    color: #fff;
    font-size: 18px;
}
.btn-bit:hover,
.btn-bit:focus { color: #fff; }

/* ===============================================
   Page styles
=============================================== */
/* ===========================
   Top page
=========================== */
/* Main visual */
.main-visual {
    display: table;
    position: relative;
    width: 100%;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../../../img/sp/front/da/top/main-visual.png');
    background-size: cover;
}
.main-visual .heading {
    display: table-cell;
    vertical-align: middle;
}
.main-visual .fukidashi {
    position: absolute;
    top: 11%;
    left: 69%;
    height: auto;
}

.main-visual .movie {
    position: relative;
    width: 90%;
    padding-top: 56.25%;
}
.main-visual .movie iframe {
    position: absolute;
    top: 11%;
    right: 40%;
    width: 55% !important;
    height: 49.7% !important;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1500px) {
    .main-visual .heading {
        display: block;
        position: absolute;
        bottom: 10%;
    }
    .main-visual .fukidashi img {
        width: 250px;
        min-width: 250px;
        height: auto;
    }
}
@media (max-width: 991px) {
    .main-visual .fukidashi {
        top: 10%;
        left: auto;
        right: 10%;
        width: 100%;
        text-align: right;
    }
    .main-visual .fukidashi img {
        width: 38%;
        max-width: 250px;
        min-width: inherit;
        height: auto;
    }
}
@media (max-width: 640px) {
    .main-visual {
        height: auto;
        padding: 38.525% 0;
    }
    .main-visual .fukidashi {
        top: 10%;
        left: auto;
        right: 18%;
        width: 100%;
    }
    .main-visual .movie {
        position: relative;
        padding-top: 56.25%;
        width: 90%;
    }
    .main-visual .movie iframe {
        position: absolute;
        top: 30%;
        right: 0;
        width: 90% !important;
        height: 81% !important;
    }
}

/* Title */
.top-section-title {
    margin: 0;
    padding: 60px 0 15px;
    text-align: center;
}
.top-section-title img {
    margin: 0 auto;
}

/* Content head */
.content-head {}
.content-head p {
    text-align: center;
}

/* Vehicle in exhibition */
.vehicle {
    width: 100%;
}
.vehicle-item {
    padding: 0;
    border: 1px solid #f3dd23;
}
.vehicle-item img {
    width: 100%;
    height: auto;
}
.vehicle-info {
    padding: 20px;
    background: #fff;
}
.vehicle-maker {
    font-size: 16px;
}
.vehicle-car-type {
    font-weight: bold;
    font-size: 20px;
}
.vehicle-model-year {
    color: #787878;
    font-size: 16px;
}

/* Three reasons to be selected */
.reason {
    color: #164199;
    text-align: center;
}
.reason h3 {
    font-weight: bold;
    font-size: 32px;
}
.reason img {
    margin: 0 auto;
}

/* Flow of dealings */
.dealings {}
.dealings p {
    text-align: center;
}
.dealings img {
    margin: 0 auto;
}

/* Flow up to your registration */
.registration {
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../../../img/sp/front/da/top/registration_bg.png');
    background-size: cover;
}
.registration p {
    text-align: center;
}
.registration img {
    margin: 0 auto;
}
.registration h3 {
    font-weight: bold;
    font-size: 18px;
}
.registration .flow {
    float: left;
    width: 20%;
    min-height: 100px;
    text-align: center;
}
.registration .flow .exp {
    padding: 0 10px;
    color: #fff;
}

/* Content foot */
.content-foot {
    display: table;
    position: relative;
    width: 100%;
    background: #fff;
}

/* News */
.news {
    display: table-cell;
    float: none;
    padding-right: 20px;
}
.news dl {
    max-width: 580px;
    margin: 0 auto;
    margin-bottom: 0;
    font-size: 16px;
}
.news dl dt {
    padding-top: 10px;
    color: #164199;

}
.news dl dt:first-child {
    border-top: 1px dotted #000;
}
.news dl dd {
    padding-bottom: 10px;
    border-bottom: 1px dotted #000;
}

/* Services */
.services {
    display: table-cell;
    float: none;
    vertical-align: top;
}
.services .banners {
    width: 470px;
    margin: 0 auto;
}
.services .banners .banner {
    float: left;
    width: 47.85%;
    height: auto;
    border: 1px solid #c8c8c8;
    background-color: #fff;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
}
.services .banners .banner:nth-child(2n) { margin-left: 4.3%; }
.services .banners .banner:nth-child(3),
.services .banners .banner:nth-child(4)  { margin-top: 4.3%; }
.services .banners .banner:hover {
    background-color: #f0f0f0;
    box-shadow: 0 0 5px #c8c8c8;
}

@media (max-width: 991px) {
    .main-visual .heading {
        position: absolute;
        bottom: 30px;
        left: 0;
    }

    .content-head p {
        text-align: left;
    }

    .vehicle-item {
        float: left;
        width: 50%;
    }

    .reason {
        padding: 40px 0;
        border-top: 1px dotted #164199;
        text-align: left;
    }
    .reason:first-child { margin-top: 20px; }
    .reason:last-child { border-bottom: none; }
    .reason img {
        margin: inherit;
        float: left;
        margin-right: 30px;
    }
    .reason h3 {
        margin: 0;
        font-weight: bold;
    }
    .reason p {
        overflow: auto;
    }

    .dealings p {
        text-align: left;
    }

    .registration p {
        overflow: auto;
        text-align: left;
    }
    .registration .flow {
        float: none;
        width: 100%;
        text-align: left;
    }
    .registration .flow img {
        float: left;
        margin-right: 30px;
    }
    .registration .arrow {
        width: 37px;
        height: 18px;
        margin: 20px 0 20px 31.5px;
        background-repeat: no-repeat;
        background-image: url('../../../img/sp/front/da/top/arrow-bottom.png');
    }

    .services,
    .news {
        display: block;
        padding-right: 0;
        padding-left: 0;
    }
    .news dl {
        width: 470px;
    }
    .services {
        height: auto;
    }
    .services .banners {
        width: 470px;
    }
    .services .banners .banner {
        width: 225px;
    }
    .services .banners .banner:nth-child(2n) { margin-left: 20px; }
    .services .banners .banner:nth-child(3),
    .services .banners .banner:nth-child(4)  { margin-top: 20px; }

    .footer .logo {
        text-align: center;
        margin-top: 35px;
        margin-bottom: 50px;
    }
    .footer .footer-link ul,
    .footer .copyright {
        float: none;
    }
    .footer .copyright {
        margin-top: 30px;
        margin-bottom: 15px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .vehicle-maker      { font-size: 14px; }
    .vehicle-car-type   { font-weight: bold; font-size: 18px; }
    .vehicle-model-year { font-size: 14px; }

    .reason img {
        width: 150px;
        height: auto;
    }
}

@media (max-width: 550px) {
    .reason img {
        width: 150px;
        height: auto;
    }
    .news dl,
    .services .banners                       { width: 450px; }
    .services .banners .banner               { width: 220px; }
    .services .banners .banner:nth-child(2n) { margin-left: 10px; }
    .services .banners .banner:nth-child(3),
    .services .banners .banner:nth-child(4)  { margin-top: 10px; }
}

@media (max-width: 480px) {
    .news {
        padding: 0 15px;
    }
    .news dl,
    .services .banners {
        width: 100%;
    }
    .services .banners .banner {
        float: none;
        width: 225px;
        margin: 0 auto !important;
        margin-bottom: 10px !important;
    }
    .services .banners .banner:last-child {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 420px) {
    .reason img {
        width: 100px;
        margin-right: 20px;
    }
    .reason h3 {
        margin-bottom: -10px;
        font-size: 24px;
    }

    .registration .flow img {
        width: 70px;
        height: auto;
        margin: 15px 20px 0 0;
    }
    .registration .arrow {
        margin:10px 0 10px 16.5px;
    }
}

/* ===========================
   Bit page
=========================== */
.inner {
    padding: 15px;
    background: #fafafa;
}

/* Parts photo gallery */
.project-photos { margin-bottom: 20px; }
.zoom-photo { margin-bottom: 5px; }


.width-5 { width: 50px; }
.notes { color: #cc0000; }

/* Estimate and Contact */
.estimate dl dt {
    float: left;
    width: 50px;
    padding: 15px 0;
    border: 1px solid #ddd;
    font-size: 18px;
    text-align: center;
}
.estimate dl dd {
    margin-bottom: 30px;
    padding-left: 80px;
}

.estimate .branch {
    float: left;
    width: 50%;
}

@media (max-width: 560px) {
    .estimate .branch {
        float: none;
        width: 100%;
    }
    .estimate .branch:last-child { margin-top: 20px;}
}

/* Clear buton for car part damage level radio buttons */
.car_part_damage_level_clear_all_radio_button {
		margin-top: 10px;
		margin-bottom: 10px;
}

/* Car information table */
.damage-level {
    display: block;
    min-width: 60px;
    max-width: 120px;
    border-radius: 3px;
    background-color: #5cb85c;
    color: #fff;
    text-align: center;
}

/* Bit dailog */
.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.ui-dialog {
    display: block;
    position: relative;
    z-index: 101;
    width: auto !important;
    height: auto !important;
    margin: 10px;
    padding: 15px;
    background: #fff;
}

.ui-dialog .table .number { text-align: right; }

.ui-dialog-titlebar {
    position: relative;
    margin: 0;
    padding: 16px 0;
    background: #eee;
}
.ui-dialog-titlebar .ui-dialog-title {
    margin-left: 15px;
    padding-left: 10px;
    border-left: 5px solid #cc6666;
    font-size: 18px;
}
.ui-dialog-titlebar .ui-icon-closethick { display: none; }

.ui-dialog-buttonset { text-align: center; }
.ui-dialog-buttonset button:last-child { margin-left: 10px; }
