@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
body {
  background: #F0EFE1;
  font-family: 'Inter', sans-serif;
}

/************************************
header
************************************/
header {
  position: relative;
  padding-top: 50px;
}

.header_l {
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
}

.header_r {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
}

.header01 {
  margin: auto;
  display: block;
  width: 18%;
  max-width: calc(768px / 2);
}

.header02 {
  margin: auto;
  display: block;
 margin-top: 25px;
  width: 45%;
  max-width: calc(768px / 2);
}


/************************************
商品一覧
************************************/
section {
  width: 91vw;
  margin: auto;
  max-width: 768px;
}

.products_top {
  width: 92%;
  margin: 16px auto 19px;
  display: block;
}

.about_order {
  background: #fff;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  padding: 17px 16px 22px;
  margin-bottom: 19px;
}

.about_order h2 {
  font-size: 17px;
  margin-bottom: 3px;
  font-weight: bold;
}

.about_order ul {
  padding-left: 26px;
  line-height: 26px;
  font-size: 16px;
}

.about_order a {
  text-decoration: none;
  color: #FF8400;
  font-weight: bold;
  display: flex;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  background: #F0EFE1;
  border-radius: 8px;
  margin: 7px 0 0 auto;
  width: 43%;
  padding: 9px 0px;
}

.about_order a img {
  width: 25px;
}

.product-items {
  margin-bottom: 11px;
}

.product-type-block {
  background: #fff;
  border-radius: 8px;
  padding: 24px 18px 20px;
  margin-bottom: 18px;
}

.product-group-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  text-align: center;
  font-size: clamp(15px, 4.1vw, 21px);
  font-weight: bold;
  margin-bottom: 9px;
  letter-spacing: 3px;
  line-height: 28px;
}


/************************************
スライダー
************************************/
.swiper-pagination {
  position: relative;
  margin-top: 16px;
}

.swiper-slide img {
  width: 80%;
  margin: auto;
  display: block;
  max-width: 440px;
  touch-action: manipulation;
}

.swiper-slide img {
  touch-action: auto !important;
  pointer-events: auto !important;
}

.swiper-wrapper {
  align-items: center;
  margin-top: 9px;
}

.product-code {
  display: inline-flex;
  flex-direction: column;
  font-size: 10px;
  text-align: center;
  transform: translate(0px, -49px);
  position: absolute;
  z-index: 2;
  line-height: 25px;
}

.product-code .product-details {
  display: flex;
  align-items: baseline;
  gap: 5px;
  justify-content: center;
}

.product-code .product-letter {
  font-size: 26px;
  font-weight: bold;
}

.product-code .product-number {
  font-size: 16px;
  font-weight: bold;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #DBDBDB;
  opacity: 1;
  position: relative;
  z-index: 2;
}

.swiper-pagination-bullet-active {
  background: #000;
  position: relative;
  z-index: 2;
}

.color-info {
  position: relative;
  z-index: 2;
  font-size: 15px;
  font-weight: bold;
}

.scale-custom {
  scale: 0.8;
}

/************************************
ボタン
************************************/
.color-btn {
  border-radius: 100%;
  border: 1px solid #CCCCCC;
  overflow: hidden;
  flex: 0 0 calc(100% / 4.5 - 11px);
  scroll-snap-align: start;
  box-sizing: border-box;
}

.color-btn.active {
  border: 2px solid #00B2DB;
}

.color-btn .color-btn-border {
  border: none;
  box-sizing: border-box;
  border-radius: 100%;
  overflow: hidden;
  position: relative;
}

.color-btn.active .color-btn-border {
  border: 2px solid #fff;
}

.color-btn img {
  width: 100%;
  transform: translate(2px, -10px) scale(1.4);
}

.color-btn.is-soldout {
  pointer-events: none;
}

img.soldout-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translate(15px, 15px) scale(1.2);
}

.color-variation-buttons {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 14px;
  margin-bottom: 19px;
}

.color-variation-buttons::-webkit-scrollbar {
  display: none;
}

/************************************
価格
************************************/
.price_wrap {
  display: flex;
  gap: 13px;
  margin-bottom: 15px;
}

.price_off {
  background: #C6061C;
  color: #fff;
  position: relative;
  z-index: 2;
  font-size: 18px;
  font-weight: bold;
  padding: 7px 8px;
  line-height: 17px;
  border-radius: 2px;
  text-align: center;
  align-items: center;
  display: flex;
}

.price_off p {
  position: relative;
  z-index: 2;
}

.price_off span {
  font-size: 11px;
}

.price_off::after {
  display: block;
  content: "";
  position: absolute;
  top: 56%;
  right: -15px;
  width: 0;
  height: 0;
  margin-top: 0px;
  border: 7px solid transparent;
  border-left: 10px solid #C6061C;
}

.prices_before {
  font-size: 11px;
}

.prices_before span {
  text-decoration: line-through;
}

.prices_current {
  font-size: 29px;
  color: #C6061C;
  font-weight: bold;
  line-height: 30px;
}

.prices_current span {
  font-size: 17px;
}

/************************************
商品説明
************************************/
.product-content {
  background: #EEFBFE;
  border: 1px solid #00B2DB;
  border-radius: 4px;
  padding: 7px 10px 12px;
  margin-bottom: 16px;
}

.product-content h3 {
  font-size: 16px;
}

.product-content .row {
  display: table;
  font-size: 14px;
  line-height: 22px;
}

.product-content .label,
.product-content .text {
  display: table-cell;
  vertical-align: top;
}

.product-content .label {
  display: flex;
  justify-content: space-between;
}

.product-content .label {
  min-width: 72px;
}

/************************************
お申し込みボタン
************************************/
.order_button {
  background: #00B2DB;
  border-radius: 8px;
  text-align: center;
  padding: 10px 0;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  display: block;
}

.order_button:hover,
.confirm-button:hover,
.submit-button:hover {
  color: #fff;
  opacity: .5;
  cursor: pointer;
}

/************************************
入力フォーム
************************************/
.ordered-product {
  background: #fff;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  padding: 13px 13px 3px;
  margin-bottom: 16px;
  margin-top: 26px;
}

.tel-wrapper p {
  display: flex;
}

.input_wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ordered-product-group-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 17px;
  font-weight: 400;
  text-align: center;
  line-height: 26px;
}

.ordered-product-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.ordered-product-price .price {
  font-size: 22px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: bold;
  width: max-content;
}

.ordered-product-price .price span {
  font-size: 14px;
  font-weight: normal;
  text-align: end;
  display: block;
}

.ordered-product-price .code {
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
}

.ordered-product-price .code span {
  font-size: 29px;
}

.ordered-product-img {
  width: 33%;
}

.ordered-product-price {
  width: 46%;
}

.order-fonrm form label,
.confirm-section label {
  font-weight: bold;
  font-size: 15px;
  line-height: 31px;
  display: inline-flex;
  align-items: center;
}

.custom-radio {
  margin-bottom: 17px;
}

input[type=text],
input[type=password],
input[type=date],
input[type=datetime],
input[type=email],
input[type=number],
input[type=search],
input[type=tel],
input[type=time],
input[type=url],
textarea,
select,
.search-edit {
  height: 57px;
  margin-bottom: 17px;
}

.order-fonrm form .input_wrap input {
  max-width: 34%;
}

.order-fonrm form .input_wrap span {
  margin-bottom: 17px;
}

.order-fonrm .select-wrap {
  position: relative;
}

.order-fonrm select {
  appearance: none;
  /* ブラウザ標準の矢印を消す */
  -webkit-appearance: none;
  /* Safari対応 */
  -moz-appearance: none;
  /* Firefox対応 */
}

.application-text {
  font-size: 19px;
  color: #0062B1;
  font-weight: bold;
  text-align: center;
  position: relative;
  margin-top: 10px;
}

.application-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #0062B1;
  height: 1.5px;
  width: 26%;
}

.application-text::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #0062B1;
  height: 1.5px;
  width: 26%;
}

.order-fonrm .select-wrap::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(calc(-50% - 12px)) rotate(45deg);
  pointer-events: none;
  width: 10px;
  height: 10px;
  border-right: 4px solid #000;
  border-bottom: 4px solid #000;
  transform-origin: center;
}

.custom-radio input[type="radio"],
.custom-radio input[type="checkbox"] {
  display: none;
}

.custom-radio .checkmark {
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 1px solid #CCCCCC;
  border-radius: 6px;
  margin-right: 5px;
  position: relative;
  background: #fff;
}

.custom-radio input[type="radio"]:checked+.checkmark::after,
.custom-radio input[type="checkbox"]:checked+.checkmark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% - -1px), calc(-50% - 3px)) rotate(45deg);
  transform-origin: center;
  width: 8px;
  height: 16px;
  border-bottom: 3px solid #000;
  border-right: 3px solid #000;
}

.order-fonrm .error {
  color: #FF0202;
  margin-top: -12px;
  display: block;
  margin-bottom: -17px;
  font-weight: bold;
}

.relation-attention {
  color: #1967d2;
  margin-top: -7px;
  margin-bottom: 17px;
}

.agree-link {
  margin-bottom: 17px;
  font-weight: normal;
  font-size: 15px;
  text-align: center;
}

.custom-agree {
  font-weight: normal;
}

.confirm-button {
  color: #fff;
  background: #00B2DB;
  text-align: center;
  width: 100%;
  display: block;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 17px 0;
}

.custom-agree-wrap {
  text-align: center;
}

/************************************
確認画面
************************************/
.confirm-input {
  border-bottom: 1px solid #000;
  margin-bottom: 17px;
}

.submit-button {
  color: #fff;
  background: #00B2DB;
  text-align: center;
  width: 100%;
  display: block;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 17px 0;
  margin-top: 34px;
}

.confirm-section label {
  margin-top: 17px;
  margin-bottom: 16px;
}

.confirm-h2 {
  text-align: center;
  font-size: 23px;
  font-weight: bold;
  margin: 33px 0 0px;
}

/************************************
サンクスページ
************************************/
.thanks-h2 {
  text-align: center;
  font-size: 23px;
  font-weight: bold;
  margin: 32px 0 14px;
}

.thanks-section p {
  padding: 0 21px;
  text-align: center;
}

.thanks-section .tell {
  margin-top: 32px;
  margin-bottom: 32px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  display: block;
  text-decoration: none;
  color: #000;
}

.closeWindow {
  display: table;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #1967d2;
  text-decoration: none;
  margin: auto;
}

.closeWindow:hover {
  color: #1967d2;
}

.closeWindow img {
  width: 55px;
}

/************************************
フッター
************************************/
footer {
  text-align: center;
  font-size: 13px;
  line-height: 21px;
  padding-top: 55px;
}

.footer_logo {
  width: 30%;
  margin-bottom: 10px;
  max-width: calc(768px / 4);
}

.copyright {
  margin-top: 30px;
  font-size: 11px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
  .header01{
    width: 31%;
  }
  .header02{
    margin-top: 15px;
  }
  .closeWindow img {
    width: 45px;
  }
}