@charset "UTF-8";
/*=======================================================
    ## モーダル
=======================================================*/
.onece-news-btn.disabled {
  pointer-events: none; /* クリックを無効化 */
  opacity: 0.5; /* 視覚的にロックされていることを示す */
  cursor: not-allowed;
}

.product-modal {
  position: fixed;
  z-index: 1;
  display: none;
  width: 100%;
  top: 0;
  height: 100%;
  left: 0;
  overflow-y: scroll;
  background-color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.product-modal__content {
  max-width: 900px;
  min-width: 372px;
  width: 93.5%;
  height: auto;
  transform: translateX(4px);
  margin: 0 auto;
  background-color: white;
  padding-top: 70px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2509803922);
  position: relative;
  padding-bottom: 76px;
  margin-top: 84px;
  margin-bottom: 84px;
}

.product-modal__close {
  position: absolute;
  font-weight: bold;
  top: -20px;
  right: -20px;
}

.product-modal__close:hover,
.product-modal__close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.product-modal__title {
  margin-bottom: 0;
}

.product-modal__text {
  font-size: 20px;
  text-align: center;
  margin-top: 0;
  font-weight: 400;
}

.v-symbol {
  position: relative;
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 25px;
}
.v-symbol::before, .v-symbol::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: #1bc7de;
}
.v-symbol::before {
  transform: rotate(45deg);
  left: 45%;
  top: -4px;
  transform-origin: bottom left;
}
.v-symbol::after {
  transform: rotate(-45deg);
  right: 45%;
  top: -4px;
  transform-origin: bottom right;
}

/*=======================================================
    タブトップボタン
=======================================================*/
.product-modal__tab-buttons {
  display: flex;
  gap: clamp(1.5rem, -1.8316rem + 6.4302vw, 3.3125rem);
  justify-content: center;
  margin-top: 53px;
}

.product-modal__tab-item {
  text-align: center;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.product-modal__tab-size {
  font-size: 12px;
  display: inline-block;
  grid-area: 2/1/3/2;
  margin: auto;
  font-family: "Noto Sans", sans-serif;
  padding-top: 2px;
}

.product-modal__tab-price {
  font-size: 16px;
  text-align: center;
  font-weight: 400;
  line-height: 40px;
  display: inline-block;
  grid-area: 2/2/3/3;
  font-family: "Noto Sans", sans-serif;
  white-space: nowrap;
}
.product-modal__tab-price span {
  font-size: 12px;
  padding-right: 4px;
}

.product-modal__tab-border {
  background-image: url("../img/product/modal_border.svg");
  width: 100%;
  position: absolute;
  height: 1px;
  bottom: 0;
  left: 0;
}

.product-modal__button-container {
  display: flex;
  align-items: center;
  grid-area: 1/1/2/3;
  margin: 0 auto;
}

.product-modal__tab-radio-button {
  display: none;
}

.product-modal__tab-label {
  position: relative;
  cursor: pointer;
  font-weight: 400;
  font-size: 20px;
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.product-modal__tab-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  background-color: #ffffff;
  margin-right: 10px;
  position: relative; /* 追加 */
}
@media screen and (max-width: 540px) {
  .product-modal__tab-label::before {
    margin-right: 5px;
  }
}

.product-modal__tab-radio-button:checked + .product-modal__tab-label::before {
  border: 1px solid #1bc7de;
  background-color: #ffffff;
}

.product-modal__tab-radio-button:checked + .product-modal__tab-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #1bc7de;
}

.product-modal__tab-text {
  font-size: 20px;
  text-align: center;
  margin-top: 50px;
  font-weight: 400;
}

/*=======================================================
    タブトップボタンここまで
=======================================================*/
/*=======================================================
    テーマを選択するコンテンツ
=======================================================*/
.product-modal__tab-button {
  background-color: #f1f1f1;
  border: none;
  cursor: pointer;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  background: #d9d9d9;
  border-radius: 10px;
}

.product-modal__tab-content {
  display: none;
}

.product-modal__tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 45px;
  width: calc(100% - 25px);
  margin: 0 auto;
  text-align: center;
  max-width: 885px;
  padding-top: 30px;
  padding-bottom: 50px;
}

.product-modal__tab-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-row-gap: 45px;
  max-width: 885px;
  width: 100%;
  margin: 0 auto;
}

.product-modal__tab-inner--3col {
  grid-template-columns: repeat(3, 1fr); /* 1行に3列を作成 */
  display: grid;
}

.product-modal__tab-inner--2col {
  grid-template-columns: repeat(2, 1fr); /* 1行に3列を作成 */
  display: grid;
}

.product-modal__tab-inner--column {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.product-modal__theme-card {
  text-align: center;
  font-weight: 400;
}
.product-modal__theme-card input {
  display: none;
}

.product-modal__button-container--theme {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}
@media screen and (max-width: 540px) {
  .product-modal__button-container--theme {
    margin-bottom: 24px;
  }
}

.product-modal__radio-button--theme + label {
  position: relative;
  cursor: pointer;
  font-weight: 400;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal__radio-button--theme + label::before {
  content: "";
  position: static;
  width: 28px;
  height: 28px;
  border: 2px solid #d9d9d9;
  margin-right: 12px;
  border-radius: 50%;
  background-color: #ffffff;
}

.product-modal__radio-button--theme:checked + label::before {
  border: 1px solid #1bc7de;
  background-color: white;
}

.product-modal__radio-button--theme:checked + label::after {
  content: "";
  position: absolute;
  left: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #1bc7de;
}

.product-modal__theme-image {
  display: block;
  width: 328px;
  margin: 0 auto;
  height: 410px;
  margin-top: 29px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: top;
     object-position: top;
}

.product-modal__theme-image--semi-wide {
  display: block;
  width: 100%;
  margin: 0 auto;
  width: 410px;
  margin-top: 29px;
  -o-object-fit: contain;
     object-fit: contain;
}

.product-modal__theme-image--wide {
  display: block;
  width: 100%;
  margin: 0 auto;
  width: 800px;
  height: 344px;
  margin-top: 29px;
  -o-object-fit: contain;
     object-fit: contain;
}

#selected-link {
  text-align: center;
  padding: 24px;
}

/*=======================================================
    テーマを選択するコンテンツここまで
=======================================================*/
/*=======================================================
    メディアクエリ 820px,768px,540px
=======================================================*/
@media screen and (max-width: 820px) {
  .product-modal__tab-buttons {
    flex-direction: column;
    min-width: 340px;
    width: 72%;
    margin: 0 auto;
    margin-top: 33px;
    align-items: flex-start;
    gap: 0;
  }
  .product-modal__tab-item {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100%;
  }
  .product-modal__tab-size {
    text-align: left;
    margin-left: 0;
    padding-top: 8px;
    grid-area: 1/2/2/3;
  }
  .product-modal__tab-price {
    grid-area: 1/3/2/4;
    text-align: right;
  }
  .product-modal__tab-price span {
    padding-right: 0;
  }
  .product-modal__button-container {
    grid-area: 1/1/2/2;
    width: 100%;
  }
  .product-modal__tab-label {
    font-size: 18px;
    margin-left: 0;
    width: 100%;
    white-space: nowrap;
  }
  .product-modal__tab-label--text-sm {
    font-size: 16px;
  }
  .product-modal__tab-label::before {
    width: 18px;
    height: 18px;
    min-height: 18px;
    min-width: 18px;
  }
  .product-modal__tab-radio-button:checked + .product-modal__tab-label::after {
    width: 10px;
    height: 10px;
    left: 9px;
  }
}
@media screen and (max-width: 768px) {
  .product-modal__content {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 68px;
    padding-bottom: 6px;
    transform: translateX(0px);
  }
  .product-modal__close {
    right: -4px;
  }
  .product-modal__text {
    font-size: 16px;
    margin-top: 51px;
  }
  .product-modal__tab-size {
    grid-area: 2/1/3/2;
    top: 0;
  }
  .product-modal__tab-price {
    padding-top: 4px;
  }
  .product-modal__button-container {
    grid-area: 1/1/2/3;
  }
  .product-modal__tab-text {
    font-size: 16px;
    margin-top: 40px;
  }
  .product-modal__tab-content.active {
    margin-top: 20px;
    gap: 40px;
    padding-bottom: 4px;
    padding-top: 0;
  }
  .product-modal__tab-inner {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-row-gap: 40px;
  }
  .product-modal__tab-inner--3col {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-row-gap: 40px;
  }
  .product-modal__tab-inner--2col {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-row-gap: 40px;
  }
  .product-modal__tab-inner--column {
    gap: 40px;
  }
  .product-modal__radio-button--theme + label {
    font-size: 18px;
  }
  .product-modal__radio-button--theme + label::before {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }
  .product-modal__radio-button--theme:checked + label::after {
    width: 10px;
    height: 10px;
    left: 4px;
  }
  .product-modal__theme-image {
    margin-top: 24px;
    width: 263px;
    height: auto;
  }
  .product-modal__theme-image--semi-wide {
    margin-top: 24px;
    width: 330px;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .product-modal__theme-image--wide {
    margin-top: 24px;
    height: auto;
    width: 327px;
  }
}
@media screen and (max-width: 540px) {
  .product-modal__tab-buttons {
    width: 85%;
  }
}/*# sourceMappingURL=style_product_modal.css.map */