@charset "utf-8";
body {
    color: #333;
    font-family: 'Franklin Gothic Medium', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
    font-size: clamp( 0.625rem, calc( 0.54061rem + 0.5626vw ), 0.9063rem );
    margin: 0;
    padding: 0;
    background-color: #e4e5e7;
}
#container {
    max-width: 1280px;
    margin: 0 auto;
}
header {
    margin-bottom: 3%;
}
.wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    column-gap: 2%;
    margin: 2% 0;
}
.wrap_selector {
    padding: 1%;
}
.wrap_selector label {
    font-size: 1.1rem;;
}
.box_table_top_size {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 4% 0;
    padding: 4% 0;
}
.box_table_top_design {
}
#topImages.image-options, #legImages.image-options {
  display: grid;
  container-type: inline-size;
  grid-template-columns: 1fr 1fr 1fr;
}
#topImages.image-options div div.image-caption{
  white-space: pre-wrap;
}

.wrap_result img {
    width: 100%;
}

.image-item {
  display: inline-block;
  text-align: center;
  margin: 10px;
}

.image-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
}

.image-item img.selected {
  border-color: #007bff;
}

.image-caption {
  margin-top: 5px;
  font-size: 0.8rem;
}
.hidden {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  height: 0;
}
.visible {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/*select box */
select,
::picker(select) /*オプションのポップアップを表す疑似要素*/
{
  appearance: base-select;
  padding: 2%;
  border: 1px solid #999;
  margin-left: 1%;
  font-size: 1.1rem;
  border-radius: 4px;
}

/*price*/
h2#price {
  text-align: right;
  padding: 0 2%;
}
/* h2 div+div {
  border-top: 1px solid #eee;
} */
.price_tabletop, .price_tableleg {
  font-weight: 400;
  font-size: 1.1rem;
}
.txt_tax {
  font-size: 0.84rem;
}
.price_total {
  border-top: 1px solid #999;
  font-weight: 500;
  margin-top: 4%;
  padding-top: 2%;
}
.tax_exclusive {
  font-size: 1.4rem;
}
.tax_inclusive {
  font-size: 1.2rem;
}

/* 1280px以下 tablet*/
@media screen and (max-width: 1280px) {

}
/*768px以下 sp*/
@media screen and (max-width: 768px) {
  #container {
    padding: 3%;
  }
  .wrapper {
    grid-template-columns: 1fr;
  }
  .wrap_result {
    order: 2;
    margin: 5% 2%;
  }
  .wrap_selector {
    order: 1;
  }
}