@charset "utf-8";

/* CSS Document */
:root {
  --table_line: #E3E3E3;
  /*var(--table_line)*/
  --table_line_BgBlack: #5b5b5b;
}

.table_block dl.table_choice {
  width: 100%;
  margin: 2rem 0 2rem auto;
  font-size: 1.2rem;
  word-break: break-all;
}

.table_block dl.table_choice dt {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  column-gap: 2rem;
  background-color: #FFFFFF;
  padding: 0;
}

.table_block.choosing dl.table_choice dt::before {
  content: "Selected";
  display: block;
}

.table_block dl.table_choice dt .oac {
  width: 17rem;
  cursor: pointer;
  aspect-ratio: 300 / 52;
  background-color: #DCDFE4;
  border-radius: 0.4rem;
}

.table_block dl.table_choice dt .oac .button {
  -webkit-mask: url(/-/media/Project/globeride/common/product/hyouji_bb_plus2.svg) center/contain no-repeat;
  mask: url(/-/media/Project/globeride/common/product/hyouji_bb_plus2.svg) center/contain no-repeat;
  background: var(--base_black);
}

.table_block dl.table_choice dt.active .button {
  -webkit-mask: url(/-/media/Project/globeride/common/product/hyouji_bb_minus2.svg) center/contain no-repeat;
  mask: url(/-/media/Project/globeride/common/product/hyouji_bb_minus2.svg) center/contain no-repeat;
}

.table_block dl.table_choice dd {
  padding: 1.5rem;
  border: 1px solid var(--table_line);
  margin-top: 2rem;
  display: none;
}

body.black .table_block dl.table_choice dd {
  /* Black */
  border: 1px solid var(--table_line_BgBlack);
}

.table_block dl.table_choice dd ul {
  margin-top: 4rem;
  gap: 2rem 2%;
  justify-content: flex-start;
}

.table_block dl.table_choice dd ul li {
  width: 45%;
}

.table_block dl.table_choice dd ul li label {
  width: 100%;
  gap: 1rem;
  align-items: flex-start;
}

.table_block dl.table_choice dd ul li label input {
  aspect-ratio: 1/1;
  width: 2rem;
}

.table_block dl.table_choice dd ul li label span {
  width: calc(100% - 3rem);
}

.table_block .table_area .off {
  display: none !important;
}

.table_block .table_area table {
  display: none;
}

.table_block .table_area dl.accordion {
  border-top: 1px solid var(--table_line);
  border-bottom: 1px solid var(--table_line);
}

body.black .table_block .table_area dl.accordion {
  /* Black */
  border-top: 1px solid var(--table_line_BgBlack);
  border-bottom: 1px solid var(--table_line_BgBlack);
}

.table_block .table_area dl.accordion>dt {
  font-weight: bold;
  font-size: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: #FFFFFF;
  padding: 0 2.8rem 0 0;
  height: 13.7rem;
}

body.black .table_block .table_area dl.accordion>dt {
  /* Black */
  background-color: black;
}

.table_block .table_area dl.accordion>dt span {
  display: block;
  font-size: 1.2rem;
  font-weight: normal;
  margin-top: 1.5rem;
  width: 100%;
}

.table_block .table_area dl.accordion>dt .open {
  aspect-ratio: 1/1;
  right: 0px;
  width: 1.4rem;
  height: auto;
  margin-top: -0.7rem;
}

body.black .table_block .table_area dl.accordion>dt .open {
  /* Black */
  filter: invert(0.7);
}

.table_block .table_area dl.accordion>dd+dt {
  border-top: 1px solid var(--table_line);
}

body.black .table_block .table_area dl.accordion>dd+dt {
  /* Black */
  border-top: 1px solid var(--table_line_BgBlack);
}

.table_block .table_area dl.accordion>dd {
  padding-bottom: 3.5rem;
  padding-top: 0px;
  margin-top: 0px;
}

.table_block .table_area dl.accordion>dd .spec {
  border: 1px solid var(--table_line);
}

body.black .table_block .table_area dl.accordion>dd .spec {
  /* Black */
  border: 1px solid var(--table_line_BgBlack);
}

.table_block .table_area dl.accordion>dd .spec .left {
  width: 12.5rem;
  padding: 1.5rem;
}

.table_block .table_area dl.accordion>dd .spec .right {
  width: calc(100% - 12.5rem);
  padding: 1.5rem;
  border-left: 2px solid var(--base_black);
}

body.black .table_block .table_area dl.accordion>dd .spec .right {
  /* Black */
  border-left: 2px solid var(--table_line_BgBlack);
}

.table_block .table_area dl.accordion>dd .spec>*:nth-child(n+3) {
  border-top: 1px solid var(--table_line);
}

body.black .table_block .table_area dl.accordion>dd .spec>*:nth-child(n+3) {
  /* Black */
  border-top: 1px solid var(--table_line_BgBlack);
}

.table_block ul.atte {
  margin-top: 2.3rem;
}

.table_block ul.atte li {
  display: table;
}

.table_block ul.atte li:before {
  display: table-cell;
  content: "※";
}

.table_block .table_scroll {
  display: none;
}

/*all_select*/
.all_select {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4rem;
}

.all_select>.block {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  align-items: center;
  cursor: pointer;
}

.all_select>.block>* {
  display: block;
  width: auto !important;
  background-color: #FFFFFF;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  aspect-ratio: inherit;
}

.all_select>.block>input {
  aspect-ratio: 1 / 1;
  width: 2rem;
}

.table_block dl.table_choice dt .button {
    height: 100%;
    width: 100%;
}

/*スペック　テーブル黒背景対応*/
body.black .all_select>.block>*,
body.black .table_block dl.table_choice dt{
	background-color:transparent
}


/***********************************************/
@media only screen and (min-width:768px) {
  .table_block .table_area dl.accordion {
    display: none;
  }

  .table_block {
    margin-top: 3.3rem;
  }

  .table_block dl.table_choice {
    font-size: max(10px, 0.875vw);
  }

/*	
  .table_block dl.table_choice dt .button {
    width: 19rem;
  }
*/
	
  .table_block dl.table_choice dd {
    padding: 3rem 4rem 3rem 4rem;
    border-width: 2px;
  }

  .table_block dl.table_choice dd ul li {
    width: 23.5%;
  }

  .table_block .table_area {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    position: relative;
    border-left: 2px solid var(--table_line);
    border-right: 2px solid var(--table_line);
    /*スクロールバー非表示*/
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  body.black .table_block .table_area {
    /* Black */
    border-left: 2px solid var(--table_line_BgBlack);
    border-right: 2px solid var(--table_line_BgBlack);
  }

  /*スクロールバー非表示*/
  .table_block .table_area::-webkit-scrollbar {
    display: none;
  }

  .table_block .table_area table {
    min-width: 100%;
    display: table;
    border-collapse: collapse;
  }

  .table_block .table_area table tr>* {
    vertical-align: middle;
    padding: 1rem 2rem 1rem 2rem;
    border: 2px solid var(--table_line);
    height: 5rem;
    text-align: center;
    white-space: nowrap;
  }

  body.black .table_block .table_area table tr>* {
    /* Black */
    border: 2px solid var(--table_line_BgBlack);
  }

  .table_block .table_area table tr.thead>* {
    white-space: nowrap;
    border-bottom-color: var(--base_black);
    border-bottom-width: 2px;
    font-weight: bold;
  }

  .table_block .table_area table tr *.fix1,
  .table_block .table_area table tr *.fix2 {
    z-index: 1;
    border-left-style: none;
    background-color: #FFFFFF;
    position: sticky;
    top: 0;
    left: 0;
  }

  body.black .table_block .table_area table tr *.fix1,
  body.black .table_block .table_area table tr *.fix2 {
    /* Black */
    background-color: black;
  }

  .table_block .table_area table tr *.fix2 {
    font-weight: normal;
  }

  .table_block .table_area table tr *.fix1:after,
  .table_block .table_area table tr *.fix2:after {
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    position: absolute;
    top: 0px;
    right: -2px;
    background-color: var(--table_line);
  }

  body.black .table_block .table_area table tr *.fix1:after,
  body.black .table_block .table_area table tr *.fix2:after {
    /* Black */
    background-color: var(--table_line_BgBlack);
  }

  .table_block .table_area table tr *:last-child {
    border-right-style: none;
  }

  .table_block .table_area.max {
    border-right-style: none;
  }

  .table_block .table_area.max table {
    width: 100%;
  }

  .table_block .table_area.max table tr>*:last-child {
    border-right-style: solid;
  }

  .table_block .table_area.max table tr span,
  .table_block .table_area.max table tr span:last-child {
    border-right-style: none;
  }

  .table_block ul.atte {
    margin-top: 2rem;
  }

  .table_block .table_scroll {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 46rem;
    aspect-ratio: 460/40;
    background-color: #E3E6EA;
    margin-left: auto;
    margin-right: auto;
    margin: 3rem auto 0 auto;
    padding: 0 1.5rem 0 1.5rem;
    position: sticky;
    bottom: 1rem;
    z-index: 5;
	border-radius: 3rem;
  }

  body.black .table_block .table_scroll {
    /* Black */
    background-color: #46484a;
  }

  .table_block.touch .table_scroll {
    justify-content: center;
    align-items: center;
  }

  .table_block .table_scroll .scrollbb {
    aspect-ratio: 1/1;
    width: 1.7rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .table_block.touch .table_scroll .scrollbb {
    display: none !important;
  }

  .table_block .table_scroll .scrollbb:after {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    content: "";
    -webkit-mask: url(../top/arrow_normal_l_41fbcdf9.svg) center/contain no-repeat;
    mask: url(../top/arrow_normal_l_41fbcdf9.svg) center/contain no-repeat;
    background: var(--base_black);
  }

  body.black .table_block .table_scroll .scrollbb:after {
    /* Black */
    background: white;
  }

  .table_block .table_scroll .scrollbb:hover:after {
    animation: arrow_run .3s 1 forwards linear;
  }

  .table_block .table_scroll .scrollbb.left {
    transform: rotate(180deg);
  }

  .table_block .table_scroll .scrollbar {
    aspect-ratio: 365/2;
    background-color: #FFFFFF;
    width: 79.3478%;
    position: relative;
  }

  body.black .table_block .table_scroll .scrollbar {
    /* Black */
    background-color: #636363;
  }

  .table_block.touch .table_scroll .scrollbar {
    width: 90%;
  }

  .table_block .table_scroll .scrollbar span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: var(--base_black);
  }

  body.black .table_block .table_scroll .scrollbar span {
    /* Black */
    background-color: white;
  }

  /* .spec スペック表の一番左のみ左揃え 2023/12/26追加 */
  main.main .spec .table_block .table_area table tr th:first-of-type {
    text-align: left;
  }

  /* .spec スペック表の高さ調整 2024/01/09追加 */
  /*	
  main.main .spec .table_block .table_area table tr > * {
    height: 5rem !important;
  }	
*/

}