@charset "UTF-8";

.pro-custom main {
  font-family: YakuHanMP, "Noto Serif JP", serif;
  font-style: normal;
}
.pro-custom #product-name {
  font-family: Marion, serif;
  font-weight: normal;
  font-size: clamp(24px, 1.5625rem, 36px);
  letter-spacing: .1em;
  line-height: 1.2;
}
.pro-custom #form-inner {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 736px){
  .pro-custom #product-name {
    font-size: clamp(16px, 6.25rem, 24px);
  }
  .pro-custom #form-inner {
    flex-direction: column;
  }
}

.pro-custom #product-image {
  width: 50%;
}
.pro-custom #product-image img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 736px){
  .pro-custom #product-image {
    width: 100vw;
    margin: 0 calc(50% - 50vw) 15.625rem;
  }
}

.pro-custom #custom-content {
  width: 45%;
}
@media screen and (max-width: 736px){
  .pro-custom #custom-content {
    width: 100%;
  }
}


.pro-custom #select {
  border-bottom: 1px solid #cecece;
  padding-bottom: 3.125rem;
}
.pro-custom #select .selection-ttl {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 10px 0;
  line-height: 1.2;
}
.pro-custom .selection-ttl * {
  display: inline-block;
}
.pro-custom .selection-ttl .en {
  font-family: Marion, serif;
  font-weight: normal;
  font-size: clamp(15px, 0.9375rem, 22px);
  letter-spacing: .03em;
  min-width: 5.3em;
  padding-right: 1em;
}
.pro-custom .selection-ttl .ja {
  font-size: clamp(11px, 0.677rem, 16px);
  letter-spacing: .1em;
}
.pro-custom #select .text-link {
  display: block;
  width: fit-content;
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.2;
  text-decoration: underline;
}
.pro-custom #select .selection-ttl .text-link:hover {
  opacity: .5;
}
@media screen and (max-width: 736px){
  .pro-custom #select {
    padding-bottom: 12.5rem;
  }
  .pro-custom #select .selection-ttl {
    display: block;
    margin: 15px 0;
  }
  .pro-custom .selection-ttl * {
    display: block;
  }
  .pro-custom .selection-ttl .en {
    font-size: clamp(13px, 5rem, 20px);
    letter-spacing: .04em;
    min-width: 100%;
    padding-right: 0;
  }
  .pro-custom .selection-ttl .ja {
    font-size: clamp(11px, 4.0625rem, 16px);
  }
  .pro-custom #select .text-link {
    margin: 10px 0 10px auto;
  }
}


.pro-custom #select .selection-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -3px;
}
.pro-custom #select .selection-list .item {
  width: calc(100% / 6);
  padding: 0 3px;
  margin-bottom: 0.833rem;

}
.pro-custom #select .selection-list .item input {
  display: none;
}
.pro-custom #select .selection-list .item .material-image {
  padding: 3px;
  border: 3px solid transparent;
  transition: all .2s ease;
}
.pro-custom #select .selection-list .item:hover .material-image {
  border: 3px solid #cecece;
}
.pro-custom #select .selection-list .item .material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}
.pro-custom #select .selection-list .item input:checked ~ .material-image {
  border: 3px solid #000000;
}
.pro-custom #select .selection-list .item .material-name {
  padding: 0 6px;
  font-size: clamp(10px ,0.625rem, 15px);
  letter-spacing: 0;
  line-height: 1.4;
}
@media screen and (max-width: 736px){
  .pro-custom #select .selection-list .item {
    width: calc(100% / 3);
    margin-bottom: 7.5rem;
  }
  .pro-custom #select .selection-list .item .material-name {
    padding: 0 6px;
    font-size: clamp(11px, 3.4375rem, 14px);
    line-height: 1.25;
  }
}

.pro-custom #select .select-delivery {
  font-size: clamp(11px, 0.677rem, 16px);
  letter-spacing: .1em;
  line-height: 1.6;
  position: relative;
}
.pro-custom #select .options-list {
  /* position: absolute;
  top: 100%;
  left: 0; */
  width: 100%;
  display: none;
}

/* .pro-custom #select .select-delivery .selected-option p.option { */
.pro-custom #select .select-delivery .selected-option p.option input ~ span {
  width: 100%;
  display: none;
}
/* .pro-custom #select .select-delivery .selected-option p.option:has(input:checked) { */
.pro-custom #select .select-delivery .selected-option p.option input:checked ~ span {
  display: block;
}
.pro-custom #select .select-delivery .selected-option input {
  display: none;
}

.pro-custom #select .selected-option,
.pro-custom #select .options-list li {
  background-color: #eeeeef;
  border: 1px solid #eeeeef;
  padding: 1em 3em;
}
.pro-custom #select .selected-option:hover,
.pro-custom #select .options-list li:hover {
  cursor: pointer;
}
.pro-custom #select .options-list li {
  transition: all .3s ease;
}
.pro-custom #select .options-list li:not(.selected):hover {
  background-color: #ffffff;
}
.pro-custom #select .options-list li.selected {
  background-color: #ffffff;
  color: rgba(0,0,0,.4);
}
@media screen and (max-width: 736px){
  .pro-custom #select .select-delivery {
    font-size: clamp(12px, 3.75rem, 14px);
    line-height: 1.2;
    letter-spacing: .04em;
  }
  .pro-custom #select .selected-option,
  .pro-custom #select .options-list li {
    padding: 1em;
  }
}

.pro-custom #selected {
  padding-top: 3.125rem;
}
.pro-custom #selected > .inner {
  display: flex;
  justify-content: space-between;
}
.pro-custom #selected > .inner .heading {
  font-size: clamp(11px, 0.677rem, 16px);
  letter-spacing: .1em;
  line-height: 1.2;
  width: 6.6em;
}
.pro-custom #selected-material {
  display: flex;
  justify-content: flex-end;
  width: auto;
}

.pro-custom #selected-material .item:not(:last-of-type) {
  padding-right: 2.6rem;

}
.pro-custom #selected-material .selection-ttl .en {
  margin-bottom: 10px;
  min-width: 100%;
  padding: 0;
}
.pro-custom #selected-material .item-inner {
  display: flex;
  flex-wrap: wrap;
}
.pro-custom #selected-material .material-image {
  width: 5.2rem;
  height: 5.2rem;
}
.pro-custom #selected-material .material-image img {
  vertical-align: bottom;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pro-custom #selected-material .material-name {
  font-family: Marion, "Noto Serif JP", serif;
  font-weight: normal;
  font-size: clamp(10px ,0.625rem, 15px);
  letter-spacing: .02em;
  line-height: 1.5;
  padding-left: 1em;
}
@media screen and (max-width: 736px){
  .pro-custom #selected {
    padding-top: 11.25rem;
  }
  .pro-custom #selected > .inner {
    flex-direction: column;
  }
  .pro-custom #selected > .inner .heading {
    font-size: clamp(11px, 4.0625rem, 16px);
    width: 100%;
  }
  .pro-custom #selected-material {
    flex-direction: column;
    width: 100%;
  }
  .pro-custom #selected-material .item:not(:last-of-type) {
    padding-right: 0;
  }
  .pro-custom #selected-material .selection-ttl .en {
    font-size: clamp(15px, 5.625rem, 22px);
    margin: 1.2em 0 .6em;
    min-width: 100%;
    padding: 0;
  }
  .pro-custom #selected-material .item-inner {
    flex-wrap: nowrap;
  }
  .pro-custom #selected-material .material-image {
    width: 31.25rem;
    height: 31.25rem;
    max-width: 120px;
    max-height: 120px;
  }
  .pro-custom #selected-material .material-name {
    font-size: clamp(11px, 4.0625rem, 16px);
    line-height: 1.647;
    padding-left: 1.5em;
  }
}


.pro-custom #custom-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  margin: 0 -5px;
  padding-top: 3.125rem;
}
.pro-custom #custom-footer > * {
  padding: 0 5px;
  margin-bottom: 10px;
}
.pro-custom #custom-footer #price #id_subtotal {
  font-family: Marion, serif;
  font-weight: normal;
  font-size: clamp(28px, 2.0833rem, 40px);
  /* font-size: clamp(18px, 1.66rem, 38px); */
  letter-spacing: .04em;
  line-height: 1;
}
.pro-custom #custom-footer #price #tax {
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1.2;
  padding: 0 5px;
}
.quantity-selector {
  margin-left: auto;
}

.pro-custom #custom-footer #btn-cart {
  max-width: 326px;
  width: 40%;
}
.pro-custom #custom-footer #btn-cart .icon-cart {
  width: 1.57em;
  height: 1.57em;
  margin-left: 6px;
}
.pro-custom #custom-footer #btn-cart svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pro-custom #custom-footer #btn-cart svg * {
  fill:none;stroke:#fff;
  stroke-miterlimit:10;
  transition: all .3s ease;
}
.pro-custom #custom-footer #btn-cart:hover svg * {
  fill:none;stroke:#ed7a37;
}
.pro-custom #custom-footer #btn-contact {
  width: 100%;
}
@media screen and (max-width: 1366px) and (min-width: 767px){
  .pro-custom #custom-footer #btn-cart {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media screen and (max-width: 736px){
  .pro-custom #custom-footer {
    margin: 0;
    padding-top: 9.375rem;
  }
  .pro-custom #custom-footer > * {
    padding: 0;
    margin: 8px 0;
  }
  .pro-custom #custom-footer #price #id_subtotal {
    font-size: clamp(22px, 8.75rem, 28px);
  }
  .pro-custom #custom-footer #price #tax {
    font-size: 11px;
  }
  .pro-custom #custom-footer #quantity {
    height: 12.5rem;
  }
  .pro-custom #custom-footer #quantity > .inner {
    font-size: clamp(13px, 5rem, 20px);
    padding: 0 5px;
  }
  .pro-custom #custom-footer #quantity span {
    padding: 0 .5em;
  }
  .pro-custom #custom-footer #quantity-num {
    font-size: clamp(13px, 5rem, 20px);
  }
  .pro-custom #custom-footer #btn-cart {
    max-width: 100%;
    width: 100%;
  }
}
