html {
    overflow-y: scroll;
}

body {
    font-size: 0.9rem;
}
/* .title {
    display: grid;
    grid-template-columns: 1fr max-content;
    align-items: center;
    column-gap: 16px;
    max-width: 1200px;
    margin: 30px auto 30px;
    padding-right: 12px;
    padding-left: 12px;
} */
.supplykey > a {
    color: #fff;
    text-decoration: none;
}
.supplykey > a:hover {
    color: #fff;
    text-decoration: none;
}
.title a {
    color: #333333;
    text-decoration: none;
}

.title a:hover {
    color: #888888;
}

.btn-supplies {
    display: grid;
    grid-template-columns: auto auto 1fr;
    margin-top: 60px;
    gap: 8px;
    font-weight: bold;
    font-size: 0.85rem;
}
.btn-supplies .childseat a {
    background-color: #efefef;
    color: #333;
    border: 1px solid #cccccc;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 3px;
    justify-content: flex-end;
}
.btn-supplies .childseat a::before {
    content: url(../img/icon_childseat.svg);
    vertical-align: middle;
    padding-right: 8px;
}
.btn-supplies .childseat a:hover {
    opacity: 0.8;
}
.btn-supplies .houkilist a {
    background-color: #efefef;
    color: #333;
    border: 1px solid #cccccc;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 3px;
    justify-content: flex-end;
}
.btn-supplies .houkilist a::before {
    content: url(../img/icon_houkilist.svg);
    vertical-align: middle;
    padding-right: 8px;
}
.btn-supplies .houkilist a:hover {
    opacity: 0.8;
}
@media (max-width: 767px) {
    .btn-supplies {
        grid-template-columns: 1fr;
        /* flex-wrap: wrap; */
        padding: 0 20px;
        margin: 20px 0;
        font-weight: bold;
        width: 100%;
    }
    .btn-supplies a {
        display: block;
        background-color: #efefef;
        color: #333;
        border: 1px solid #cccccc;
        text-decoration: none;
        text-align: center;
        border-radius: 3px;
        font-size: medium;
        width: 100%;
        padding: 8px 54px;
    }
    .btn-supplies .childseat {
        width: 100%;
    }
    .btn-supplies .houkilist {
        width: 100%;
    }
    .btn-supplies .childseat a::before {
        content: url(../img/icon_childseat.svg);
        vertical-align: middle;
        padding-right: 12px;
    }
    .btn-supplies .childseat a:hover {
        opacity: 0.8;
    }

    .btn-supplies .houkilist a::before {
        content: url(../img/icon_houkilist.svg);
        vertical-align: middle;
        padding-right: 12px;
    }
    .btn-supplies .houkilist a:hover {
        opacity: 0.8;
    }
}

/* h1 {
    font-size: 1.8rem;
    font-weight: 600;
} */
.search_bar {
    display: none;
}

.back-button {
    height: 24px;
    /* margin-right: 130px; */
    float: right;
    position: relative;
    top: -10px;
}

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

/* .container  {
    width: 1000px;
    margin: 0 auto;
    padding-right: 0px !important;
    padding-left: 12px;
} */

.top-container {
    display: flex;
    flex-direction: column;
}

.top-container div {
    display: grid;
}

.top-container .brand {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0px;
    height: 60px;
}

.top-container .brand > * {
    place-items: center;
    border-radius: 10px 10px 0 0;
}

.top-container .brand-toyota {
    background-color: #ffffff;
    border: 1px solid #d6d6d6;
}
.top-container .brand-toyota.active {
    background-color: #e60012;
    border: none;
    color: #ffffff;
}

.top-container .brand-lexus {
    background-color: #cccccc;
}
.top-container .brand-lexus.active {
    background-color: #333333;
    color: #ffffff;
}

.top-container [data-brand-name="lexus"] {
    display: none;
}

/* .top-container .category {
    
} */

.top-container .category > * {
    place-items: center;
    border: 1px solid #cccccc;
    height: 46px;
}

.top-container .jp-category {
    grid-template-columns: repeat(9, 1fr);
}

.top-container .lexus-category {
    grid-template-columns: repeat(6, 1fr);
}

.jp-category .active {
    border-bottom: 3px solid #e60012;
}

.brand > *:not(.active), .category > *:not(.active) {
    cursor: pointer;
}

.toyota-cars {
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
}

.toyota-cars [data-car-name] {
    place-items: center;
    text-align: center;
    border: 1px solid #cccccc;
    border-style: solid solid none solid;
    margin-left: -1px;
    grid-template-rows: 50px;
}
.midasi {
    place-items: center;
    text-align: center;
    border: 1px solid #cccccc;
    border-style: solid solid none solid;
    margin-left: -1px;
    grid-template-rows: 50px;
}

.toyota-cars [data-car-name]:last-child {
    border-style: solid;
}
.category div {
    background-color: #f2f2f2;
}
[data-car-name] {
    cursor: pointer;
}

.toyota-cars [data-car-name].active {
    background-color: #e60012;
    color: #ffffff;
}

.lexus-category [data-car-name].active {
    background-color: #333333;
    color: #ffffff;
}

iframe {
    width: 100%;
    height: 0;
    margin: 30px 0;
}

.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;
}

#lineup {
    /* padding-top: 30px; */
    padding-bottom: 0px;
    margin: 6px;
}
.supplies_list {
    margin-top: 60px;
}
.list_title {
    font-size: 25px;
    font-weight: 900;
}

.redline {
    background-color: red;
    height: 4px !important;
    opacity: 1;
}

:root {
    --current-color: transparent;
}

.brand_wrap_grid {
    display: grid;
    grid-template-columns: 90px 1fr;
}

.brand_tab_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(100% / 6), 1fr));
    align-items: center;
    text-align: center;
    padding: 0 4px 0 10px;
    border-bottom: 6px solid;
    border-color: var(--current-color);
}
.parts_brand_tab {
    position: relative;
    padding: 4px 0;
    border-radius: 12px 12px 0 0;
    clip-path: polygon(2% 0, 98% 0, 100% 100%, 0% 100%);
}
.parts_brand_tab.all {
    background-color: #f3d275;
}
.parts_brand_tab.active {
    padding: 6px 0;
}
.parts_brand_tab:not(.active) {
    cursor: pointer;
    bottom: -2px;
}
/* .parts_brand_tab::before {
    content: '';
    position: absolute;
    bottom: 64px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 30px 0 30px;
    border-color: #fff transparent transparent transparent;
    left: 100%;
    transform: translateX(-50%) translateY(100%);
}
.parts_brand_tab::after {
    content: '';
    position: absolute;
    bottom: 64px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 30px 0 30px;
    border-color: #fff transparent transparent transparent;
    left: 100%;
    transform: translateX(-50%) translateY(100%);
} */

.subname_container {
    display: flex;
    margin-bottom: 12px;
}

.subname_button {
    padding: 8px 12px;
    border: 2px solid #ccc;
    font-size: 15px;
    font-weight: bold;
}
.subname_button:not(:last-child) {
    margin-right: 16px;
}
.subname_button.active {
    background-color: #f2f2f2;
    border: 2px solid #e60012;
    color: #97989a;
}
.subname_button:not(.active) {
    cursor: pointer;
}

.search-form {
    display: flex;
    margin-bottom: 20px;
}
.search-form > *:not(:last-child) {
    margin-right: 12px;
}

form[name=highlight] {
    display: flex;
    justify-content: left;
    height: unset;
    margin-top: 8px;
    margin-bottom: 16px;
}
form > * {
    margin-right: 8px;
}
.search_result_empty {
    margin: auto 0;
}

.supplies_input {
    width: 25%;
}

.lineup {
    margin: 28px 0 14px;
}
/* .hamburger {
    top   : -109px;
} */

.search_button {
    position: relative;
    top:-56px;
    left: 0px;
    width: 100px;
}
.search_button > button { 
    width: 100px;
    height: 40px;
    color: #fff;
    font-weight: 1000;
    background-color: #5c5c5c;
    border:1px solid #5c5c5c;
    border-radius: 3px;

}
.sp_footer2 {
    display: none;
}


.menu-container.slidein_menu {
    /* display: none; */
    position: fixed;
    grid-template-columns: 80px 1fr 1fr 1fr 1fr 1fr 250px;
    width: 100%;
    max-width: unset;
    margin: 0;
    padding: 0;
    top: -120px;
    background-color: #fff;
    transition: top 0.2s ease-in-out;
    z-index: 999;
  }
  /* .menu-container.slidein_menu a {
    width: auto;
    padding: 10px 0px 10px 50px;
  } */
  .menu-container.slidein_menu a.home {
    padding: 0;
    font-weight: 600;
  }
  .menu-container.slidein_menu .search_box {
    padding: 4px 8px;
    border: 1px solid #cccccc;
  }
  .menu-container.slidein_menu .menu_text3 {
    left: -8px;
  }
  .menu-container.slidein_menu .menu_text7 {
    left: -16px !important;
  }
  .menu-container.slidein_menu .search_input_box {
    display: flex;
    align-items: center;
  }
  .menu-container.slidein_menu .search_input_box .text {
    width: 60px;
    font-weight: 600;
  }
  .menu-container.slidein_menu .search_input {
    position: relative;
    flex-grow: 1;
  }
  .menu-container.slidein_menu .search_input input {
    width: 100%;
    padding-left: 30px;
    font-size: 12px;
  }
  .menu-container.slidein_menu .search_input img {
    position: absolute;
    top: 6px;
    left: 5px;
    width: 20px;
  }
  .menu-container.slidein_menu .search_button_box {
    display: flex;
    justify-content: right;
    gap: 8px;
    margin-top: 4px;
  }
  .menu-container.slidein_menu .search_button_box button {
    width: 80px;
    height: 30px;
    color: #fff;
    font-weight: 1000;
    background-color: #5c5c5c;
    border: 1px solid #5c5c5c;
    border-radius: 3px;
  }


@media (min-width: 992px) {
    .sm-only {
        display: none;
    }
}

/* @media (min-width: 980px) {
    .container  {
        width: 960px;
        max-width: 960px;
    }
}

@media (min-width: 1240px) {
    .container  {
        width: 1200px;
        max-width: 1200px;
    }
} */
.title_name {
    /* width: 90%; */
    position: relative;
    left: 0px;
    top: 14px !important;
}

.iframe-container {
    padding-top: 30px;
}

.l_sell {
    border: 1px solid #cccccc;
}
.footer_link {
    position: relative;
    /* top: 20px; */
    left: 0px;
    padding-top: 15px;
}
.copyright {
    float: right;
    color: #898888;
    font-size: small;
    position: relative;
    left: 100px;
    top: -18px;
}
.footer_area {
    margin-top: 110px;
}

@media (max-width: 980px) {
    .footer_area {
        display: none;
    }
    
    .copyright {
        float: left;
        color: #898888;
        font-size: small;
        position: relative;
        left: 0px;
        top: 0px;
        padding-top: 7px;
        padding-bottom: 15px;
    }

    .sp_footer2 {
        display: block;
    }
    
    .bottom-container {
        /* display: initial !important; */
        max-width: 980px;
    }
    .back-button {
        display: none;
    }
    .pc_footer {
        display: none;
    }
    .pc_footer_hr {
        display: none;
    }
    
    /* .hamburger {
        top: -93px;
    } */

    .jp-aa {
        color: #000 !important;
    }
    .list_icon .active {
        background-color: #e60012;
        color: #fff;
    }
    .menu-container:not(.slidein_menu) {
        display: none;
    }
    .top-container {
        background-color: #f4f4f4;
    }
    .top-container .category > * {
        place-items: baseline;
        border: 1px solid #cccccc;
        height: 46px;
    }
    .title_name {
        /* width: 90%; */
        position: relative;
        left: 0px;
        top: 2px !important;
    }
    .iframe-container {
        background-color: #fff !important;
    }
    .top-container .brand {
        height: 40px;
        order: 1;
    }
    /* .container {
        width: 100%;
        margin: 0 auto;
        padding-right: 0px;
        padding-left: 0px;
    } */

    .top-container .jp-category {
        grid-template-columns: none;
        position: relative;
    }
    .category > * {
        cursor: pointer;
    }

    .lineup {
        text-align: center;
        font-size: 15px;
        font-weight: 900;
        margin-left: 46px;
        order: 2;
    }
    .jp-category .active {
        border-bottom: 1px solid #cccccc;;
    }
    .jp-category {
        margin: 10px;
    }
    .brand-name {
        order: 3;
    }
    [data-brand-name] {
        order: 4;
    }
    .c_sell {
        margin: 10px;
        background-color: #fff !important;
    }
    .c_sell_text {
        grid-template-columns: 1fr auto;
        justify-self: normal;
        align-content: center;
        height: 100%;
        background-color: #fff !important;
        padding-left: 15px;
    }

    /* アコーディオンメニュー */
    .c_sell_text:after {
		content: "";
		width: 15px;
		height: 15px;
        margin-top: 3px;
        margin-right: 12px;
		background:url(../img/btn_arrow3.png) no-repeat right top;
		/* transform: translateY(-50%); */
		transition: 0.2s;
		transform-origin:center center 0;
	}
	.syncer-acdn01.selected .c_sell_text:after {
		transform: translateY(-50%) rotate(180deg);
		transition: 0.2s;
	}
	.syncer-acdn02.selected:after {
		transform: translateY(-50%) rotate(180deg);
		transition: 0.2s;
	}
	.syncer-acdn03.selected:after {
		transform: translateY(-50%) rotate(180deg);
		transition: 0.2s;
	}
	.syncer-acdn04.selected:after {
		transform: translateY(-50%) rotate(180deg);
		transition: 0.2s;
	}
	.syncer-acdn05.selected:after {
		transform: translateY(-50%) rotate(180deg);
		transition: 0.2s;
	}
	.syncer-acdn06.selected:after {
		transform: translateY(-50%) rotate(180deg);
		transition: 0.2s;
	}
	.syncer-acdn07.selected:after {
		transform: translateY(-50%) rotate(180deg);
		transition: 0.2s;
	}
	.syncer-acdn08.selected:after {
		transform: translateY(-50%) rotate(180deg);
		transition: 0.2s;
	}
	.syncer-acdn09.selected:after {
		transform: translateY(-50%) rotate(180deg);
		transition: 0.2s;
	}
    .cars_list {
        position: relative;
        /* width: 1001px; */
        height: auto;
    }
    #syncer-acdn-01 {
        height: initial;
        border: initial;
    }
    #syncer-acdn-02 {
        height: initial;
        border: initial;
    }
    #syncer-acdn-03 {
        height: initial;
        border: initial;
    }
    #syncer-acdn-04 {
        height: initial;
        border: initial;
    }
    #syncer-acdn-05 {
        height: initial;
        border: initial;
    }
    #syncer-acdn-06 {
        height: initial;
        border: initial;
    }
    #syncer-acdn-07 {
        height: initial;
        border: initial;
    }
    #syncer-acdn-08 {
        height: initial;
        border: initial;
    }
    #syncer-acdn-09 {
        height: initial;
        border: initial;
    }
    .c2_a {
        /* position: absolute; */
        left: 42px;
        color: #000;

        /* display:block; */
    }
    .c2_a > a {
        color: #000;
        list-style:none;
        display:block; 
        text-decoration: none;
        border-bottom: initial;

        
    }
    .list_icon {
        position: relative;
        /* right: 40%; */
        width: 98%;
        padding-left:15px;


    }
    .list_icon > li {
        /* display:block; */
        /* list-style-type:none; */
        font-size: 14px;
        border-bottom: 1px solid #c4c4c4;
        position: relative;
        text-align: left;
        /* margin-top: 10px;
        margin-bottom: 10px; */
        padding: 11px 0;
        padding-left: 11px;

        list-style:none

        /* z-index: 99999999999; */

    }
    /* .list_icon > ul {
        color: #f4f4f4;
    } */

    .top-container .lexus-category {
        grid-template-columns: repeat(3, 1fr);
        padding: 20px;
    }
    .l_sell {
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        margin: 10px;
        place-items: center !important;

    }
    .list_title {
        margin-left: 20px;

    }

    .brand_wrap_grid {
        grid-template-columns: 1fr;
    }

    .subname_container {
        width: 90%;
        margin: 0 auto 24px;
        padding: 0 10px;
        border-bottom: 2px solid #ccc;
        flex-wrap: wrap;
    }
    
    .subname_button {
        padding: 10px 0;
        border: none !important;
        font-size: 15px;
        font-weight: bold;
    }
    .subname_button.active {
        background-color: unset;
        border-bottom: 2px solid #e60012 !important;
    }
    .subname_button:not(.active) {
        cursor: pointer;
    }
    .subname_nameJP {
        display: inline-block;
        padding: 0 10px;
        border-right: 1px solid #ccc !important;
        height: 100%;
    }
    .subname_button:not(:last-child) {
        margin-right: 0;
    }

    .v2 {
        display: none;
    }
    .supplies_input {
        width: 70%;
        margin-left: 20px;
    }
    #reset {
        display: none;
    }

    .top-wrapper {
        display: none;
    }
    .search_input {
        position: relative;
        top:0px;
        left:0px;
    }
    .conteiner2 {
        padding-bottom: 0px;
        background-color: #fff;
    }
    .sp_footer {
        display: initial;
    }
    .bottom-button {
        display: grid;
        grid-template-columns: 1fr 19px;
        align-items: center;
        padding: 16px 24px;
        margin: 20px 28px;
        border: 1px solid #cccccc;
        background-color: #ffffff;
        text-decoration: none;
    }
    .bottom-links {
        width: 100%;
        float: none;
        padding-left: 0px;
        position: relative;
        left: 0px;
        top: 37px;
    }
    .menu-container.slidein_menu {
        visibility: hidden;
    }
}
@media (max-width: 767px) {
    .search_button > button {
        position: relative;
        top: 56px;
        left: -419px;
    }
}
@media (max-width: 575px) {
    .lineup {
        text-align: center;
        font-size: 15px;
        font-weight: 900;
        margin-left: 20px;
        margin-bottom: 20px;
    }
}
@media (max-width: 700px) {
}
@media (max-width: 600px) {
}
@media (max-width: 500px) {
    /* .hamburger {
        top: -109px;
    } */
}
@media (max-width: 400px) {
    /* .hamburger {
        top: -109px;
    } */

    .lineup {
        text-align: center;
        font-size: 15px;
        font-weight: 900;
        margin-left: 24px;
    }
}


/* 車種別の品目リストテーブル */
#list_table th, td {
    padding: 4px 6px;
    height: 32px;
    white-space: nowrap;
}

#list_table td > * {
    margin: 3px 1px;
}
#list_table .td1 {
    width: 70px;
}
#list_table .td2 {
    width: 350px;
}
#list_table .td3 {
    width: 60px;
}
#list_table .td4 {
    width: 130px;
}
#list_table .td5 {
    width: 110px;
}
#list_table .td6 {
    width: 100px;
}
#list_table .td7 {
    width: 100px;
}
#list_table .td8 {
    width: 150px;
}


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

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

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

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