#main_columns {
  border-top: 1px solid rgb(148 148 148);
}

ul#bike_list {
  display: flex;
}

ul#bike_list li {
  display: block;
  border: 1px solid rgb(148 148 148);
  position: relative;
}

ul#bike_list li a {
  text-decoration: inherit;
  color: inherit;
  font-weight: inherit;
}

ul#bike_list li div.soldout {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgb(0, 0, 0, 0.7);
  z-index: 9;
}

ul#bike_list li div.tags {
  display: flex;
  background-color: transparent;
  flex: 0 0 auto;
}
ul#bike_list li div.tags img.soldout {
  position: absolute;
  z-index: 99;
}

ul#bike_list li div.tags .id {
  width: 6em;
  color:rgb(200, 200, 200);
  font-weight: normal;
  margin: auto 5px 0 auto;
  text-align: right;
}

div.bike_info {
  display: flex;
}
.bike_info img {
  display: block;
}

div.bike_info .detail {
  margin: 0;
  padding: 0;
}

div.bike_info .detail .name {
  font-weight: bold;
  text-shadow: 2px 2px 2px slategrey;
  color: #ffffff;
  word-break: keep-all;
}
div.bike_info .detail .year {
  font-weight: normal;
  font-style: oblique;
  text-shadow: none;
  color: #ffffff;
  word-break: keep-all;
}
div.bike_info .detail .price {
  font-weight: normal;
  font-style: oblique;
  text-shadow: none;
  color: #ffffff;
  word-break: keep-all;
  text-decoration: underline;
  text-decoration-color: #eeff00;
  text-decoration-thickness: 2px;
  color: #ffffdf;
}
div.bike_info .detail .desc1 {
  color: rgb(148 148 148);
}
div.bike_info .detail .links {
  display: flex;
  flex-wrap: wrap;
}
div.bike_info .detail .inquiry {
  display: flex;
  justify-content: center;
}
li.pr div.info .detail .buttons {
  display: flex;
}
div.bike_info .links button,
div.bike_info .inquiry button,
li.pr div.info .detail .buttons button {
  display: block;
  font-size: 14px;
  font-weight: bold;
  line-height: 1em;
  text-align: center;
  border-radius: 1em;
  padding: 3px 5px;
  word-break: keep-all;
  overflow: hidden;
  text-decoration: underline;
  margin: 3px 5px;
}
div.bike_info .links button.bros {
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
}
div.bike_info .links button.goo {
  background-color: #ffffff;
  color: #ff0000;
  border: 1px solid #ff0000;
  width: 3em;
}
div.bike_info .inquiry button.inquiry {
  color: #ffffff;
  background-color: rgb(85 85 85);
  line-height: 1.5em !important;
  padding-top: 2px;
  padding-bottom: 2px;
  border-top: 1px solid rgb(148 148 148);
}
li.pr div.info .detail .buttons button.to_top {
  color: #ffffff;
  background-color: black;
  line-height: 1.5em !important;
}
div.bike_info .links button:hover,
div.bike_info .inquiry button:hover {
  font-size: 16px;
  text-decoration: underline !important;
}

div.bike_info .links button:visited,
div.bike_info .inquiry button:visited {
  font-size: 1rem;
  text-decoration: inherit !important;
}
h4.others {
  font-weight: bold;
  color: #ffffff;
  background-color: #000000;
}
p {
  margin: 10px;
}
p.note {
  margin: 2px 10px;
}

ul#bike_list li.pr {
  background-color: ghostwhite;
}
li.pr div.info {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  flex-direction: column;
}

li.pr div.info .detail {
  flex: 1 1 auto;
  margin: 5px;
  padding: 5px;
  border: 1px solid slategray;
  display: flex;
  flex-direction: column;
}

li.pr div.info .detail .title {
  font-weight: bold;
  color: black;
  word-break: break-all;
  font-size: 20px;
  text-align: center;
  border-bottom: 1px solid slategray;
  padding: 10px 0;
}

li.pr div.info .detail div.description {
  color: dimgray;
}
li.pr div.info .detail div.description .note {
  color: dimgray !important;
}
li.pr div.info .detail div.description em {
  color: black;
  font-weight: bold;
}

li.pr div.info .detail div.description p {
  margin: 10px 5px;
  font-size: 16px;
}
li.pr div.info .detail div.description span.link {
  width: 17em;
}
li.pr div.info .detail div.description span.link a {
  font-weight: bold !important;
  text-decoration: underline !important;
}

li.pr div.info .detail div.description ul.normal_list {
  display: block;
  border: none;
  list-style: square outside !important;
  margin: 10px 0 10px 25px;
}
li.pr div.info .detail div.description ul.normal_list li {
  display: list-item !important;
  border: none !important;
}

li.pr div.info .detail div.default {
  color: #000066;
}
li.pr div.info .detail div.description span.link_default {
  color: #000066;
  font-size: 1.1rem;
  line-height: 1.2em;
}
li.pr div.info .detail .buttons button.default {
  background-color: #000066 !important;
}

li.pr div.info .detail div.ev {
  color: forestgreen;
}
li.pr div.info .detail div.description span.link_ev {
  color: mediumseagreen;
}
li.pr div.info .detail .buttons button.ev {
  background-color: forestgreen !important;
}

li.pr div.info .detail div.small_license {
  color: midnightblue;
}
li.pr div.info .detail .buttons button.small_license {
  background-color: palevioletred !important;
}

@media screen and (max-width: 979px) {
  div#main_columns .side {
    width: 100%;
  }
  ul#bike_list {
    flex-direction: column;
    width: calc(100% - 20px);  
    margin: 2px 10px 10px 10px;
    border-top: 1px solid rgb(148 148 148);
    border-right: 1px solid rgb(148 148 148);
  }

  ul#bike_list li {
    width: 100%;
    border-bottom: 1px solid rgb(148 148 148);
    border-left: 1px solid rgb(148 148 148);
    border-top: none;
    border-right: none;
  }
  ul#bike_list li.no_data {
    display: none;
  }

  ul#bike_list li div.tags {
    position: absolute;
    top: 5px;
    left: calc(40vw + 15px);
    width: calc(100% - 40vw - 15px);
    height: 50px;
  }
  ul#bike_list li div.tags .id {
    margin: 0 10px auto auto;
  }

  ul#bike_list li div.tags img {
    margin: 2px 0;
    max-height: 45px;
    height: 6vw;
    width: auto;
  }

  ul#bike_list li div.tags img.soldout {
    top: 13vw;
    left: -7vw;
    width: 25vw;
    min-width: 100px;
    max-height: none;
    height: auto;
    z-index: 99;
  }

  div.bike_info {
    margin: 8px 5px;
    width: 100%;
    flex-direction: row;
    align-items: center;
  }
  .bike_info img {
    width: 40vw;
    height: auto;
    display: block;
  }
  div.bike_info .detail {
    flex: auto 1 1;
    display: flex;
    flex-direction: column;
  }
  div.bike_info .detail .tags_area {
     height: 50px;
  }
  div.bike_info .detail .name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 3px 10px;
  }
  div.bike_info .detail .year,
  div.bike_info .detail .price {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 3px 10px;
  }
  div.bike_info .detail .desc1 {
    font-size: 0.9rem;
    margin: 3px 10px;
  }
  div.bike_info .detail .links {
    margin: 10px 10px 5px 10px;
  }

  div.bike_info .detail .links button.bros {
    width: 16vw;
    max-width: 7em;
  }

  div.bike_info .detail .inquiry {
    position: absolute;
    right: 5px;
    bottom: 7px;
    z-index: 8;
  }

  div.bike_info .detail .inquiry button.inquiry {
    width: 16vw;
    max-width: 9em;
    font-size: 16px;
  }
  div.bike_info .detail .links button span.long,
  div.bike_info .detail .inquiry button span.long {
    display: inline;
  }
  div.bike_info .detail .links button span.short,
  div.bike_info .detail .inquiry button span.short {
    display: none;
  }

  li.pr div.info .detail .buttons {
    justify-content: right;
    margin-top: auto;
  }

  li.pr div.info .detail div.description {
    margin: 10px 20px;
  }
  li.pr div.info .detail div.description .pc_only {
    display: none;
  }
  li.pr div.info .detail div.description span.link {
    padding: 5px;
    word-break: keep-all;
    white-space: nowrap;
  }
  li.pr div.info .detail div.description span.link br {
    display: none;
  }
  li.pr div.info .detail div.description span.link .sp_only {
    text-decoration: none !important;
    font-weight: normal !important;
  }
  li.pr div.info .detail .buttons button.to_top {
    width: 12em;
  }
  h4.others {
    font-size: 16px;
    margin: 20px 5px 10px 10px;
  }
}

@media screen and (max-width: 560px) {
  ul#bike_list li {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  ul#bike_list li div.soldout {
    bottom: 0;
  }

  ul#bike_list li div.tags {
    position: static;
    margin: 5px;
    width: calc(100% - 10px);
    height: 40px;
  }

  ul#bike_list li div.tags img {
    width: 80px;
    height: auto;
    margin: 0;
  }
  ul#bike_list li div.tags a img {
    border: none;
    width: 80px;
    margin: 0;
  }
  ul#bike_list li div.tags img.soldout {
    top: 160px;
    left: calc(50% - 75px);
    width: 150px;
  }
  div.bike_info {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin: 0;
  }
  div.bike_info img {
    width: 80%;
    height: auto;
    margin: 0px auto;
    flex: 0 0 auto;
  }
  div.bike_info .detail {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  div.bike_info .detail .tags_area {
    display: none;
  }
  div.bike_info .detail .name {
    text-align: center;
    margin: 10px 5px 10px 5px;
    word-break: keep-all;
  }
  div.bike_info .detail .year,
  div.bike_info .detail .price {
    text-align: center;
    margin: 2px 10px 5px 10px;
    flex: 0 0 auto;
  }
  div.bike_info .detail .price {
    border-bottom: 1px solid rgb(148 148 148);
    padding-bottom: 5px;
  }

  div.bike_info .detail .desc1 {
    font-weight: normal;
    text-align: left;
    text-shadow: none;
    font-size: 14px;
    margin: 5px 10px;
    border-bottom: 1px solid rgb(148 148 148);
    flex: 0 0 auto;
    padding: 0 5px 5px 5px;
  }
  div.bike_info .detail .inquiry {
    position: static;
    padding: 10px;
    border-top: 1px solid rgb(148 148 148);
    margin: 5px 10px 0px 10px;
  }
  div.bike_info .detail .inquiry button.inquiry {
    width: 9em;
  }
  div.bike_info .detail .links button span.long,
  div.bike_info .detail .inquiry button span.long {
    display: inline;
  }
  div.bike_info .detail .links button span.short,
  div.bike_info .detail .inquiry button span.short {
    display: none;
  }
  div.bike_info .inquiry button.inquiry {
    margin-bottom: 6px;
  }
  div.bike_info .detail .links button.bros {
    min-width: 7em;
    width: 16vw;
  }
  li.pr div.info .detail div.description {
    margin: 5px 10px !important;
  }

  li.pr div.info .detail .buttons {
    margin: 10px 10px 10px auto;
  }
  li.pr div.info .detail div.description .sp_only {
    display: none;
  }
  li.pr div.info .detail div.description span.link .sp_only {
    text-decoration: none !important;
    font-weight: normal !important;
  }
}
@media screen and (max-width: 450px) {
  li.pr div.info .detail div.description span.link {
    padding: 5px;
    word-break: normal !important;
    white-space: normal !important;
  }
}

@media screen and (min-width: 980px) {
  div#main_columns .side {
    width: 250px;
  }
  div#main_columns .side h2.en {
    font-size: 20px !important;
    margin-left: -10px !important;
  }
  div#main_columns .side h2.ja {
    font-size: 20px !important;
  }
  ul#bike_list {
    flex-wrap: wrap;
    width: 945px;  
    margin: 2px auto 10px auto;
    border-top: 1px solid rgb(148 148 148);
    border-right: 1px solid rgb(148 148 148);
  }
  ul#bike_list li {
    width: 236px;
    flex: 0 0 236px;
    border-bottom: 1px solid rgb(148 148 148);
    border-left: 1px solid rgb(148 148 148);
    border-top: none;
    border-right: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  ul#bike_list li div.soldout {
    bottom: 0;
  }

  ul#bike_list li div.tags {
    margin: 5px;
  }

  ul#bike_list li div.tags img {
    width: auto;
    height: 28px;
    margin: 0;
  }
  ul#bike_list li div.tags .id {
    font-size: 12px;
  }
  ul#bike_list li div.tags a img {
    border: none;
    width: 70px;
    margin: 0;
  }
  ul#bike_list li div.tags img.soldout {
    top: 160px;
    left: calc(50% - 75px);
    width: auto;
    height: 60px;
  }
  div.bike_info {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  div.bike_info img {
    width: 220px;
    margin: 0px auto;
    flex: 0 0 auto;
  }
  div.bike_info .detail {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  div.bike_info .detail .tags_area {
    display: none;
  }
  div.bike_info .detail .name {
    text-align: center;
    font-size: 20px;
    margin: 5px 5px 2px 5px;
    word-break: keep-all;
    flex: 0 0 auto;
  }
  div.bike_info .detail .year,
  div.bike_info .detail .price {
    text-align: center;
    font-size: 18px;
    margin: 2px 5px 5px 5px;
    flex: 0 0 auto;
  }
  div.bike_info .detail .price {
    border-bottom: 1px solid rgb(148 148 148);
    padding-bottom: 5px;
  }

  div.bike_info .detail .desc1 {
    font-weight: normal;
    text-align: left;
    text-shadow: none;
    font-size: 14px;
    margin: 5px;
    border-bottom: 1px solid rgb(148 148 148);
    flex: 0 0 auto;
    padding: 0 5px 5px 5px;
  }

  div.bike_info .links {
    display: flex;
    margin: 5px 5px 5px 10px;
    flex-wrap: wrap;
    font-size: 14px;
    padding: 0 0 7px 0;
    flex: 0 0 auto;
  }
  div.bike_info .inquiry {
    margin: auto 10px 0 10px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgb(148 148 148);
  }

  li.pr div.info .detail div.description p {
    margin: 10px 5px;
  }
  li.pr div.info .detail div.description span.link {
    border-radius: 10px;
    padding: 5px;
    border: 2px double;
    display: block;
    text-align: center;
    margin: 10px auto;
    width: calc(100% - 10px);
  }
  li.pr div.info .detail div.description span.link_ev {
    font-size: 12px !important;
  }

  li.pr div.info .detail div.description .sp_only {
    display: none;
  }
  li.pr div.info .detail div.description ul.normal_list li {
    font-size: 14px;
    width: calc(100% - 15px) !important;
  }
  li.pr div.info .detail .buttons {
    justify-content: center;
    margin-top: auto;
  }

  div.bike_info .links button,
  div.bike_info .inquiry button {
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 1em;
    text-align: center;
    border-radius: 1em;
  }
  div.bike_info .links button {
    margin: 2px 5px;
  }
  div.bike_info .inquiry button {
    margin: 2px auto;
  }
  div.bike_info .links button.bros {
    background-color: #ffffff;
    color: #000000;
    width: 6em;
  }
  div.bike_info .links button.goo {
    background-color: #ffffff;
    color: #ff0000;
    border: 1px solid #ff0000;
    width: 3em;
  }
  div.bike_info .inquiry button.inquiry,
  li.pr div.info .detail .buttons button.to_top {
    width: 12em;
    line-height: 1.5em !important;
  }

  div.bike_info .links button:hover,
  div.bike_info .inquiry button:hover,
  li.pr div.info .detail .buttons button.to_top:hover {
    font-size: 16px;
    text-decoration: underline !important;
  }
  div.bike_info .links button span.long,
  div.bike_info .inquiry button span.long {
    display: inline;
  }
  div.bike_info .links button span.short,
  div.bike_info .inquiry button span.short {
    display: none;
  }

  div.main .banners {
    margin: 10px;
    text-align: center;
  }

  .banners a img {
    display: inline-block !important;
    margin-right: 10px;
  }

  ol.safeties {
    margin: 10px;
    width: 220px; 
  }
  ol.safeties li {
    margin: 0 0 20px 0;
  }
  ol.safeties li h4 {
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px rgb(148 148 148);   
  }
  ol.safeties li p {
    margin-top: 7px;
  }
  h4.others {
    font-size: 16px;
    margin: 30px 10px 10px 10px;
  }
}
