

.top_hr {
    border-top: 3px solid red !important;
    opacity: 1;
    margin: 0px;
}

.back-button {
    height: 24px;
}

.back-button img {
    height: 24px;
    margin-right: 4px;
}

/* h1 .back-button img {
    width: 20px;
} */

.container {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 0;
    padding-right: 12px;
    padding-left: 12px;
    /* position: relative;
    top: -6px; */
}
.search_bar {
    display: flex;
    background-color: #efefef;
    height: 85px;
    border-radius: 12px;
    margin-bottom: 30px;
}
.search_bar > button {
    position: relative;
    left: 10px;
    top: 10px;
}


.ml-1 {
    margin-left: 15px;
    position: relative;
    left: -50px;
}
.top-container a:hover {
    border-color: #e60012;
}


.white-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 160px;
}

.white-button .text-on-button {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 600;
}

.bottom-wrapper {
    background-color: #f2f2f2;
    padding-top: 10px;
}

.bottom-container {
    display: grid;
    grid-template-rows: auto auto;
    /* grid-template-columns: 1fr 339px; */
    /* column-gap: 10px; */
    /* padding-top: 30px; */
    /* padding-bottom: 40px; */
}

.bottom-lower-container {
    margin-bottom: 50px;
}

.bottom-lower-container-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    column-gap: 12px;
    row-gap: 12px;
}
@media (min-width: 768px) {
    .bottom-lower-container-links {
        grid-template-columns: repeat(2, 160px);
    }
}

#history_list a:hover {
    color: ffffff;

}
.download-title {
    background: #f2f2f2;
    padding: 15px;
    border-radius: 10px 10px 0 0;
}
.download-button {
    display: grid;
    grid-template-columns: 140px 1fr 15px;
    align-items: center;
    padding: 16px 24px 16px 16px;
    margin: 15px 0;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    text-decoration: none;
}
.download-button:hover {
    border-color: #e60012;
}
/* .download-button  {

} */
.bottom-image {
    /* display: none; */
    /* grid-row: 2 / 3; */
    /* grid-column: 2 / 3; */
    grid-row: 3 / 4;
    grid-column: 2 / 3;
}


@media (min-width: 992px) {
    .bottom-container {
        column-gap: 30px;
    }

    .bottom-links {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }

    .bottom-image {
        display: block;
        grid-row: 1 / 3;
        grid-column: 2 / 3;
    }
}
#news iframe {
    width: 100%;
}


/* 品番検索モーダル、閲覧履歴共通 */
table {
    width: 100%;
    padding-bottom: 10px;
    text-align: center;
}
table, th, td {
    border-collapse: collapse;
    border:1px solid #e4e4e4;
}
.table-scroll {
    overflow:auto;
    margin-bottom: 3px;
}

th {
    background-color: #d0cfcf;
    text-align: center;
    white-space: nowrap;
}

th, td {
    padding: 4px 6px;
    height: 32px;
    font-size: 0.9rem;
}

td > * {
    margin: 3px 1px;
}
table tr td:nth-of-type(1){
    text-align:left;
}

[data-supply-key] a, [data-supply-key] button {
    display: inline-block;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    padding: 4px 7px;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: none;
}

[data-supply-key2] a, [data-supply-key2] button {
    display: inline-block;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    padding: 4px 7px;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: none;
}


.toriyou {
    background-color: #2680eb;
}
.toriyou:hover {
    color: #fff;
}
.toriatsukai:hover {
    color: #fff;
}
.torisyo {
    background-color: #fb6262;
}
.torisyo:hover {
    color: #fff;
}
.memo {
    background-color: #707070;
}
.memo:hover {
    color: #fff;
}
.video {
    background-color: #ff9c1a;
}
.katagami:hover {
    color: #fff;
}
.wallpaper {
    background-color: #63b900;
}
.wallpaper:hover {
    color: #fff;
}
.textarea1 {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    text-align: center;
    /* position: relative; */
    /* top:10px;
    left: -10px; */
}
.search_btns {
    display: grid;
    grid-template-columns: 1fr 130px;
}
.search_bar_name {
    font-size: 20px;
    font-weight: 600;
}
#news {
    margin-bottom: 30px;
}
@media (min-width: 768px) {
    #news {
        margin-bottom: 20px;
    }
}

.search_form {
    display: grid;
    grid-template-columns: 1fr 260px;
}
.search_input {
    position: relative;
}
.search_input > input {
    width: 600px;
    height: 40px;
    outline:solid 1px #e4e4e4;
    border:1px solid #e4e4e4;
    border-radius: 3px;
    z-index: 3;
    padding-left: 45px;
}
.search_input > img {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
}
.search_button,
.qrcode_button {
    width: 110px;
    margin-left: 20px;
}
.search_button > button,
.qrcode_button > button {
    width: 100%;
    height: 40px;
    color: #fff;
    font-weight: 1000;
    background-color: #5c5c5c;
    border:1px solid #5c5c5c;
    border-radius: 3px;
}
.history_info {
    display: inline-block;
    font-size: small;
    position: relative;
    top:-33px;
    left: 95px;
}
.row {
    width: 50%;
    float: left;
    background-color: #f2f2f2;
    --bs-gutter-x: 0;
}

.row-100 {
    width: 100%;
    float: left;
    /* background-color: #f2f2f2; */
    --bs-gutter-x: 0;
}

.row-l {
    width: 40%;
    float: left;
    background-color: #f2f2f2;
    --bs-gutter-x: 0;
}

.row-r {
    width: 60%;
    float: left;
    background-color: #f2f2f2;
    --bs-gutter-x: 0;
}
.news-iframe {
    height: 16em;
}
.new_sub{
    /* font-size: 0.8rem; */
    line-height: 1.0rem;
}

.bottom-links {
    width: 50%;
    float: left;
    padding-left: 20px;
    position: relative;
    left: 27px;
}

.copyright {
    float: right;
    color: #898888;
    font-size: small;
    position: relative;
    right: 0;
    top: -18px;
}
.footer_link {
    position: relative;
    /* top: 20px; */
    left: 0px;
    padding-top: 15px;
}
/* @media (min-width: 576px) {
    .modal-dialog {
        max-width: 1000px;
        margin: 1.75rem auto;
    }
} */
.toriyou {
    background-color: #2680eb;
    white-space: nowrap
}

.toriatsukai {
    background-color: #fb6262;
    white-space: nowrap
}

.hosoku {
    background-color: #707070;
    white-space: nowrap
}

.movie {
    background-color: #ff9c1a;
    white-space: nowrap
}

.katagami {
    background-color: #63b900;
    white-space: nowrap
}




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

@media screen and (max-width: 980px) {
    .flexbox {
        display: flex;
        /* gap: 6px 4px;  */
    }
    .search_form {
        display: grid;
        grid-template-columns: 1fr 240px;
    }
    .search_input {
        /* width: 75%; */
    }
    .search_input > input {
        width: 100%;
        height: 40px;
        outline: solid 1px #e4e4e4;
        border: 1px solid #e4e4e4;
        border-radius: 3px;
        z-index: 3;
        margin-bottom: 4px;
        padding-left: 45px;
    }
    .search_btns {
        display: grid;
        grid-template-columns: 1fr 120px;
    }
    .search_button,
    .qrcode_button {
        width: 110px;
        margin-left: 10px;
    }
    .search_input > img {
        z-index: 4;
    }

    .container {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
        padding-right: 12px;
        padding-left: 12px;
    }
    .textarea1 {
        width: 100%;
        grid-template-columns: 1fr;
        text-align: left;
        position: relative;
        
    }
    
    .middle-container-right-links {
        display: grid;
        grid-template-columns: 1fr 3fr;
        column-gap: -94px;
        row-gap: 224px;
    }
    .search_bar_name {
        font-size: 20px;
    }
    .search_bar {
        background-color: #fff;
        /* height: 42px; */
        border-radius: 12px;
        margin-bottom: 30px;
    }
    .search_input > img {
        position: absolute;
        top: 8px;
        left: 10px;
        z-index: 4;
    }
    .copyright {
        float: left;
        color: #898888;
        font-size: small;
        position: relative;
        left: 0px;
        top: 0px;
        padding-top: 7px;
        padding-bottom: 15px;
    }
}

@media screen and (max-width: 900px) {
}
@media screen and (max-width: 800px) {
}
@media screen and (max-width: 700px) {
}
@media screen and (max-width: 600px) {
}
@media screen and (max-width: 576px) {
    .search_form {
        grid-template-columns: 1fr;
    }
    .search_btns {
        justify-items: end;
        grid-template-columns: 1fr 120px;
    }
}
@media screen and (max-width: 400px) {
}





