@charset "utf-8";

/*****************************************************

    比較表用CSS
    
***********************************************************/

html {
    min-width: 320px;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body {
    font-size: 12px;
    color: #333;
    font-family: hiragino-kaku-gothic-pron, 'noto sans JP Regular', sans-serif;
    /*max-width: 1480px;*/
}

/* 画像をフェードイン  
        .fadein {
          opacity : 0.1;
          transform: translateY(10px);
          transition: all 1s;
        }
        .fadein.active {
            opacity: 1;
            transform: translateY(0);
        }*/

#Kanban {
    max-width: 1062px;
    margin: 0 auto;
    top: 10px;
}


p.siteName {
    display: none;
}

main {
    position: relative;
}


.table-wrapper {
    overflow-x: auto;
    width: 100%;
    max-width: 1680px;
    margin: 1em auto;
    /*background-image: url(https://gigaplus.makeshop.jp/drivemarket/images/main/icon/drive_kun.svg);
            background-repeat: no-repeat;*/
    padding-bottom: 200px;
}

table {
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    /* min-width:1680px; 18項目分の横幅を確保 */
}
tr{border: 2px solid #ccc;
}
label {
    font-size: 11px;
    font-weight: 600;
}

#sizeFilter {}

select {
    background-color: #fff;
    font-family: hiragino-kaku-gothic-pron, 'noto sans JP Regular', sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 9px;
    border: 2px solid #ddd;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    padding: 2px 1px;
}

select option {
    font-size: 12px;
}

select option[value=all] {
    /*color: #333;*/
}

tr.none {
    /* 欠品等 */
    display: none;
}

.sticky-col {
    position: sticky;
    left: 0;
    /*background: #dddddd !important;*/
    z-index: 2;
}

th.sticky-col.th01 {
    padding: 2px 4px !important;
}



th.sticky-col.th01 span {
    font-size: 10px;
    font-weight: 400;
    text-align: left;
    display: block;
    margin-top: 0.3em;
    color: #000;
}



/*メーカーカラー*/
th.pio_r,
th.pio_c,
th.pana,
th.kenw,
th.ecl,
th.alp {
    background-size: auto;
    background-position: right;
    background-repeat: no-repeat;
}

th.pio_r,
th.pio_c {
    background-image: url(https://gigaplus.makeshop.jp/drivemarket/images/main/bg_pio.svg);
}

th.pana {
    background-image: url(https://gigaplus.makeshop.jp/drivemarket/images/main/bg_pana.svg);
}

th.kenw {
    background-image: url(https://gigaplus.makeshop.jp/drivemarket/images/main/bg_ken.svg);
}

th.ecl {
    background-image: url(https://gigaplus.makeshop.jp/drivemarket/images/main/bg_ecl.svg);
}

th.alp {
    background-image: url(https://gigaplus.makeshop.jp/drivemarket/images/main/bg_alp.svg);
}



th.pio_r span:after,
th.pio_c span:after {
    content: '';
    width: 22%;
    height: 12px;
    font-size: 9px;
    color: #555;
    display: inline-block;
    margin-left: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}

th.pio_r span:after {
    content: '楽ナビ';
    /*background-image: url(https://gigaplus.makeshop.jp/drivemarket/images/main/icon/raku_icon.svg?5);*/
}

th.pio_c span:after {
    /*background-image: url(https://gigaplus.makeshop.jp/drivemarket/images/main/icon/cyber_icon.svg);*/
    content: 'CYBER';
}



tr:nth-child(2n) td {
    background-color: #efefef80;
}

tr:hover td,
tr:hover th{
    background-color: #f9cfcf !important;
}

tr.detail td {
    font-size: 8px !important;
    line-height: 1.3em;
    padding: 4px;
    text-align: left;
}

th,
td {
    background-color: #fff;
    border: 2px solid #ccc;
    padding: 2px 3px;
    white-space: nowrap;
    font-size: 12px !important;
    font-family: hiragino-kaku-gothic-pron, 'noto sans JP Regular', sans-serif;
}

th,
th.th01 {
    color: #333;
    font-size: 11px !important;
    line-height: 1.2em;
    text-align: center;
}

th.th01 {
    padding: 8px;
}

th.tit.th01 {
    padding: 0.5rem;
    text-align: left;
    font-size: 2rem !important;
    background-color: #ddd;
}

th.th_tit {
    background-color: #ddd;
}

th.th01.th_tit,
th.th03.th_tit,
th.th04.th_tit,
th.th05.th_tit,
th.th06.th_tit,
th.th07.th_tit,
th.th08.th_tit,
th.th09.th_tit,
th.th10.th_tit,
th.th11.th_tit,
th.th12.th_tit,
th.th13.th_tit,
th.th14a.th_tit,
th.th14.th_tit,
th.th14b.th_tit,
th.th14c.th_tit,
th.th15.th_tit,
th.th15b.th_tit,
th.th16.th_tit,
th.th16b.th_tit,
th.th17.th_tit,
th.th18.th_tit,
th.th19.th_tit {
    border-top: none;
    border-bottom: none;
}

/*th.btm{
    align-content:end;
}*/

th.th14a.th_tit,
th.th14.th_tit,
th.th14b.th_tit,
th.th14c.th_tit,
th.th15b.th_tit,
td.td14a,
td.td14,
td.td14b,
td.td14c,
td.td15,
td.td15b,
td.td16b{
    border-right: 2px dotted #eee;
    border-left: 2px dotted #eee;
}

td.td16{
    border-right: 2px dotted #eee;
}


td.td14c,
td.td15b,
td.td16b{
    border-right: 2px solid #ccc;
}

td.td14a {
    background-color: #df000010 !important;
}

th img,
td img {
    max-height: 14px !important;
    width: auto;
    padding: 0 2px;
}

th span {
    font-size: 10px !important;
}

th span img {
    max-width: 13px !important;
}

td img {
    max-width: 13px !important;
    height: auto;
}

td a,
th a {
    width: 100%;
    height: 100%;
    display: inline-block;
    font-size: 12px !important;
    box-sizing: border-box;
}


th a {
    font-weight: 600;
    /*text-decoration: none;*/
    text-align: left;
    /*background-color: #4e4e4e;*/
    color: dodgerblue !important;
    padding: 0.3em 0.5em 0.5em;
    /*border-radius: 5px;*/
    /*box-shadow: 1px 1px 2px #a1a1a1;*/
    display: block;
}

td a {
    text-align: center;
    /*color: darkblue;*/
    color: dodgerblue;
}

td a:hover {
    text-decoration: none;
    color: #df0000;
    /*font-weight: 600;*/
}

th a:hover {
    color: #fff !important;
    text-decoration: none;
    background-color: #df0000;
    box-shadow: 0px 0px 0px #dfdfdf;
}
th a:visited{color: darkblue !important;}
td a:visited{
    color:rebeccapurple !important;
}

td span,
th.span {
    font-size: 80% !important;
}

td.td03,
td.td04,
td.td05,
td.td06,
td.td07,
td.td08,
td.td09,
td.td10,
td.td11,
td.td12,
td.td13,
td.td14a,
td.td14,
td.td14b,
td.td14c,
td.td15,
td.td15b,
td.td16,
td.td16b{
    text-align: center;
}

td.td02 {
    text-align: right;
    font-size: 9px !important;
    min-width: 10em;
}

/**/
td.td14a,
td.td14,
td.td14b,
td.td14c {
    min-width: 5em;
    max-width: 5em;
    /*word-break: break-all;
            white-space: break-spaces;*/
}

/* 5文字枠 */
td.td08,
td.td15,
td.td16 {
    /*font-size: 11px !important;
            min-width: 6em;*/
}

td.td15,
td.td15b,
td.td16,
td.td16b{
    min-width: 3em;
}

td.td15,
td.td16{
    border-right:none;
}
td.td15b,
td.td16b{border-left: none;}

/* 3文字枠*/
td.td05,
td.td06,
td.td07,
td.td09 {
    min-width: 4em;
    max-width: 5em;
    box-sizing: border-box;
    /*font-weight: 600;*/
}

/*非表示枠*/
th.th02,
td.td02,
th.th17,
td.td17,
th.th18,
td.td18 {
    display: none;
}

h1.h1 {
    letter-spacing: normal;
    font-size: 16px;
    font-weight: 600;
    max-width: 1060px;
    display: block;
    margin: 0 auto;
}

h2.h2 {
    /*font-size: 2rem;*/
    letter-spacing: normal;
    max-width: 1680px;
    position: relative;
}

button#resetFilterButton {
    width: 12em;
    padding: 6px;
    font-size: 12px !important;
    font-weight: 600;
    color: #555;
    display: inline-block;
    position: absolute;
    right: 0;
    background-color: #f5f5f5;
    border-radius: 20px;
    margin: 0;
    border: 2px solid #333;
}



footer {
    position: relative;
    bottom: 0;
    padding: 0;
    margin: 0;

}

#footerWrap {
    width: 100%;
    height: auto !important;
    min-height: 420px;
    min-width: 1062px;
    background: url(https://gigaplus.makeshop.jp/drivemarket/images/footer/bg.png);
    margin-top: 20px;
}

#footerWrap p.ft_logo {
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
}

#footerWrap p.ft_logo a {
    width: 100%;
    height: 100%;
    display: block;
}

p.ft_logo img {
    max-width: 240px;
    width: 100%;
    margin-top: 24px;
    padding-bottom: 1em;
}

p.siteName {
    display: none;
}

div#footer {
    display: flex;
    flex-wrap: nowrap;
    height: auto;
    width: 1060px;
    /*height: 120px;*/
    margin: 0 auto;
    padding: 2em 0 0;
    font-size: 11px;
    font-weight: 400;
}


div.ft_box {
    display: flex;
    flex: 0 1 25%;
    box-sizing: border-box;
}

div.ft_box dl {
    width: 100%;
    padding-bottom: 16px;
}

div.ft_box dl dt {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 20px !important;
    font-weight: 600;
    color: #fff;
    z-index: 2;
}

div.ft_box dl dt img {
    display: block;
    margin-right: 8px;
}

div.ft_box dl dd {
    font-size: 13px !important;
    display: block;
    height: auto;
    line-height: 1.3em;
    text-align: left;
    padding: 2px 2px 2px 0.5em;
    box-sizing: border-box;
    z-index: 1;
    color: #fff;
    min-height: 16px;
}

div.ft_box dl dd.tel {
    font-size: 16px !important;
    padding-bottom: 4px;
    font-weight: 400;
}

div.ft_box dl dd a {
    width: 100%;
    height: 100%;
    display: contents;
    color: #fff;
}

div.ft_box dl dd a:before {
    width: 12px;
    content: url(https://gigaplus.makeshop.jp/drivemarket/images/footer/f_dot_wh.png);
    display: inline-block;
    clear: both;
}

/* lockボタン ---- */
#lock {
    display: none;
}



div.page_up {
    width: 50px;
    height: 50px;
    display: block;
    position: fixed;
    bottom: 120px;
    right: 20px;
    vertical-align: middle;
    z-index: 555;
}

div.page_up a {
    width: 100%;
    height: 100%;
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    line-height: 2em;
    border-radius: 50%;
    background-color: #df000090;
}

div.page_up a img {
    display: block;
    position: relative;
    top: 9px;
    left: 13px;
    width: 50%;
}

@media screen and (max-width: 1240px) {
    #lock {
        display: block;
        position: fixed;
        top: 14px;
        right: 14px;
        text-align: right;
        background-color: #ffffff90;
        padding: 1em;
        box-sizing: border-box;
        border-radius: 10px;
    }

    button {
        display: block;
        background-color: gold;
        color: #333;
        font-size: 1.0rem !important;
        padding: 0.5em;
        margin: 20px auto;
        border-radius: 5px;

    }


    .table-wrapper.zoom-disabled button

    /*ON*/
        {
        background-color: #df0000;
        color: #fff;
        font-weight: 600;
    }

    .table-wrapper.zoom-enabled button

    /*OFF*/
        {
        background-color: #ffffff;
    }
}


@media screen and (max-width: 840px) {
    #Kanban {
        display: none;
    }

    p.siteName {
        display: inline-flex;
        padding-bottom: 6px;
        background-color: #fff;
    }

    header img {
        width: 100%;
        height: auto;
    }


    h2.h2 {
        font-size: 3vh;
    }

    .table-wrapper {
        /*overflow-x: auto;*/
        width: 100%;
        max-width: 840px;
        margin: 0 auto;
    }

    table {
        border-collapse: collapse;
        max-width: 840px;
        /* 18項目分の横幅を確保 */
    }

    th a {
        font-size: 11px !important;
    }


    #lock {
        position: fixed;
        top: auto;
        bottom: 14px;
        right: 14px;
        text-align: right;
    }

    #lock p {
        font-size: 12px;
    }

    button {
        width: 100%;
        font-size: 16px;
        margin: 0;
    }

    div#footer {
        display: none;
    }

    #footerWrap {
        max-width: 840px;
        min-width: 320px !important;
    }

}