@charset 'UTF-8';

.search-list
{
    width: 80%;
    margin: 0 auto 60px;
}

.search-list h2
{
    font-size: 1.5rem;

    margin-bottom: 20px;
}

.search-list ul
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.search-list li
{
    width: 49%;
    margin: 0 0 10px;
    padding: 0;
}

.search-list li a
{
    display: block;

    padding: 20px;

    border: solid 1px #ccc;
}

.select-category
{
    margin-bottom: 40px;
}

.select-car
{
    margin-bottom: 20px;
}

.submit-btn
{
    text-align: center;
}

ul.product-category
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

ul.product-category li
{
    width: 49%;
    margin: 0 0 10px;
    padding: 3px 5px 3px 10px;

    cursor: pointer;

    border: solid 1px #ccc;
}

ul.product-category li span
{
    font-style: italic;

    display: block;
}

ul.product-category li:hover
{
    border-color: #999;
}

ul.product-category li.hitch
{
    background: url(/products/img/search-hitch.jpg) right center no-repeat;
}

ul.product-category li.hotearth
{
    background: url(/products/img/search-hotearth.jpg) right center no-repeat;
}

ul.product-category li.hotwires
{
    background: url(/products/img/search-hotwires.jpg) right center no-repeat;
}

ul.product-category li.gohasshin
{
    background: url(/products/img/search-gohasshin.jpg) right center no-repeat;
}

ul.product-category li.autocr
{
    background: url(/products/img/search-autocr.jpg) right center no-repeat;
}

ul.product-category li.on
{
    opacity: 1;
    border-color: #999;
}

ul.product-category li.disabled
{
    opacity: .7;
}

.search-form-box
{
    width: 80%;
    margin: 0 auto 60px;
    padding: 30px;

    border: solid 1px #ccc;
}

.search-form-box h2
{
    font-size: 1.5rem;

    margin-bottom: 20px;
}

.search-form-box select
{
    position: relative;
    z-index: 1;

    width: 48%;
    max-width: 500px;
    margin: 0 0 20px;
    padding: 10px 30px;

    border: 1px solid #ccc;
    background: transparent;

    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.search-form-box select::-ms-expand
{
    display: none;
}

.search-form-box .send-btn
{
    text-align: center;
}

.search-form-box input[type=submit]
{
    width: 80%;
    max-width: 300px;
    padding: 10px;

    color: #fff;
    border: none;
    background: #333;
}

.search-result
{
    width: 80%;
    margin: 0 auto 60px;
}

.search-result h2
{
    font-size: 1.5rem;

    margin-bottom: 20px;
}

.search-result ul
{
    border-bottom: solid 1px #ccc;
}

.search-result .result-box
{
    display: table;

    width: 100%;

    table-layout: fixed;
    border-collapse: collapse;
}

.search-result .result-box .cell
{
    display: table-cell;

    padding: 10px;

    vertical-align: middle;

    border: solid 1px #ccc;
    border-bottom: none;
}

.search-result .result-box .katashiki
{
    width: 30%;
}

.search-result .result-box .engine
{
    width: 30%;
}

.search-result .result-box .nenshiki
{
    width: 20%;
}

.search-result .result-box .btns
{
    width: 20%;

    text-align: center;
}

.search-result .result-box:first-child .katashiki,
.search-result .result-box:first-child .nenshiki,
.search-result .result-box:first-child .engine,
.search-result .result-box:first-child .btns
{
    position: relative;

    padding-top: 2.5em;
}

.search-result .result-box:first-child .katashiki:before,
.search-result .result-box:first-child .nenshiki:before,
.search-result .result-box:first-child .engine:before,
.search-result .result-box:first-child .btns:before
{
    position: absolute;
    top: 0;
    left: 0;

    display: block;

    width: 100%;
    padding: 5px 10px;

    color: #fff;
    background: #999;
}

.search-result .result-box:first-child .katashiki
{
    position: relative;
}

.search-result .result-box:first-child .katashiki:before
{
    content: '型式';
}

.search-result .result-box:first-child .engine
{
    position: relative;
}

.search-result .result-box:first-child .engine:before
{
    content: 'エンジン型式';
}

.search-result .result-box:first-child .nenshiki
{
    position: relative;
}

.search-result .result-box:first-child .nenshiki:before
{
    content: '年式';
}

.search-result .result-box:first-child .btns
{
    position: relative;
}

.search-result .result-box:first-child .btns:before
{
    content: '　';
}

.adapt h2
{
    font-size: 24px;

    position: relative;

    margin-bottom: 20px;
    padding: .5em 1em .5em 1.5em;

    border: 1px solid #ccc;
}

.adapt h2:before
{
    position: absolute;
    top: .5em;
    left: .5em;

    width: 6px;
    height: calc(100% - 1em);

    content: '';

    border-radius: 4px;
    background-color: #333;
}

.adapt-box
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;

    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.adapt-box dl
{
    width: 25%;

    text-align: center;

    border: solid 1px #ccc;
    border-top: none;
    border-left: none;
}

.adapt-box dl dt
{
    padding: 5px;

    background: #ddd;
}

.adapt-box dl dd
{
    padding: 5px;
}

.note
{
    margin-bottom: 40px;
}

.mounted ul
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.mounted ul li
{
    width: 31.3%;
    margin-right: 3%;
    margin-bottom: 20px;
}

.mounted ul li img
{
    width: 100%;
    height: auto;
}

.mounted ul li:nth-child(3n)
{
    margin-right: 0;
}

@media (max-width: 1020px)
{
    .adapt
    {
        padding: 0 20px;
    }
}

@media (max-width: 768px)
{
    ul.product-category li
    {
        width: 100%;
    }

    .search-form-box
    {
        width: 90%;
        margin-bottom: 30px;
        padding: 20px;
    }

    .search-form-box h2
    {
        font-size: 20px;
    }

    .search-form-box select
    {
        width: 100%;
        max-width: 1000px;
    }

    .search-result
    {
        width: 90%;
        margin-bottom: 30px;
    }

    .search-result h2
    {
        font-size: 20px;
    }

    .search-result ul
    {
        border-bottom: none;
    }

    .search-result .result-box
    {
        display: block;

        width: 100%;
    }

    .search-result .result-box .cell
    {
        display: block;

        padding: 0 0 5px;

        border: none;
    }

    .search-result .result-box:first-child .katashiki,
    .search-result .result-box:first-child .nenshiki,
    .search-result .result-box:first-child .engine
    {
        padding-top: 0;
    }

    .search-result .result-box:first-child .katashiki:before,
    .search-result .result-box:first-child .nenshiki:before,
    .search-result .result-box:first-child .engine:before
    {
        position: static;

        display: block !important;

        padding: 0;

        color: #333;
        background: none;
    }

    .search-result .result-box .katashiki,
    .search-result .result-box .nenshiki,
    .search-result .result-box .engine
    {
        position: relative;

        padding-top: 0;
    }

    .search-result .result-box .katashiki:before,
    .search-result .result-box .nenshiki:before,
    .search-result .result-box .engine:before
    {
        font-weight: bold;

        position: static;

        display: block !important;

        width: 100%;
    }

    .search-result .result-box .katashiki
    {
        position: relative;

        width: 100%;
    }

    .search-result .result-box .katashiki:before
    {
        content: '型式';
    }

    .search-result .result-box .nenshiki
    {
        position: relative;

        width: 100%;
    }

    .search-result .result-box .nenshiki:before
    {
        content: '年式';
    }

    .search-result .result-box .btns
    {
        width: 100%;
        margin-bottom: 10px;
        padding-top: 0 !important;
        padding-bottom: 10px;

        border-bottom: solid 1px #ccc;
    }

    .search-result .result-box .btns:before
    {
        display: none !important;
    }

    .search-result .result-box .btns a
    {
        display: block;

        padding: 5px;

        color: #fff;
        border-radius: 5px;
        background: #333;
    }
}

@media (max-width: 600px)
{
    .adapt-box dl
    {
        width: 50%;
    }

    .mounted ul li
    {
        width: 48%;
        margin-right: 0;
    }

    .mounted ul li:nth-child(odd)
    {
        margin-right: 4%;
    }
}
