
/* ===================================================
   カートページ
=================================================== */
.cart-page {
  background: var(--color-bg-bgray);
  padding: 60px 20px 70px;
}

.cart-title {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 900;
  text-align: center;
}

.cart-note {
  color: var(--color-text-mid);
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.8em;
  text-align: center;
}

@media screen and (max-width: 810px) {  
  .cart-title {
    font-size: 32px;
  }
}

@media screen and (max-width: 480px) {
  .cart-wrap .cart-title {
    font-size: 28px;
  }
}


/* ===================================================
   カートテーブル
=================================================== */
.cart-wrap {
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 30px;
}

/* ヘッダー行 */
.cart-wrap .cart-head {
  display: grid;
  grid-template-columns: 140px 1fr 2fr 200px 40px;
  gap: 0 30px;
  padding: 15px 60px;
  color: #527485;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* 商品リスト */
.cart-wrap .cart-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cart-wrap .cart-item {
  display: grid;
  grid-template-columns: 140px 1fr 2fr 200px 40px;
  gap: 0 30px;
  align-items: center;
  background: var(--color-white);
  padding: 30px 60px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* 各カラム */
.cart-wrap .col-img img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
}

.cart-wrap .col-name .item-name {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.cart-wrap .col-spec .spec-list {
  color: var(--color-text-mid);
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.8;
}

/* 数量コントロール */
.cart-wrap .col-qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cart-wrap .lot-warning {
  display: block;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.cart-wrap .lot-warning + .quantity-ctrl{
  border-color: var(--color-red);
}

.cart-wrap .quantity-ctrl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  width: 90%;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2px 6px;
  background: var(--color-white);
}

.cart-wrap .quantity-ctrl:hover {
  border-color: #78dcf0;
  box-shadow: 0 0 0 1px #78dcf0;
}

.cart-wrap .qty-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: #f3f4f7;
  font-size: 14px;
  border-radius: 50%;
  transition: background .15s;
  cursor: pointer;
}

.cart-wrap .qty-btn:hover {
  background: #78dcf0;
}

.cart-wrap .qty-input {
  width: calc(100% - 50px);
  padding: 4px 0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  border: none;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.cart-wrap .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.cart-wrap .btn-update {
  width: 100%;
  max-width: 100px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 6px 0;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border-radius: 30px;
  cursor: pointer;
  transition: opacity .2s;
}

.cart-wrap .btn-update:hover {
  opacity: .8;
}

/* 削除ボタン */
.cart-wrap .col-del {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.cart-wrap .btn-del {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  color: var(--color-text-light);
  font-size: 20px;
  border-radius: 50%;
  transition: background .15s, color .15s;
  cursor: pointer;
}

.cart-wrap .btn-del:hover {
  background: #f1f5f9;
  color: var(--color-text);
}


/* ===================================================
   進むボタン
=================================================== */
.cart-footer {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.cart-footer .btn-proceed {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 400px;
  background-color: #ffcc33;
  color: var(--color-text);
  padding: 16px 40px;
  border-radius: 30px;
  transition: all .3s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.cart-footer .btn-proceed:before {
  content: "";
  display: block;
  width: 200%;
  height: 100%;
  background-image: linear-gradient(85deg, #ffe48a 0, #ffc823 50%);
  transform: translateX(0%);
  transition: all .3s ease;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.cart-footer .btn-proceed:after{
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	background: #fff url(../../_images/common/icon-arrow.webp) no-repeat center;
	background-size: 40%;
	border-radius: 50%;
}
.cart-footer .btn-proceed:hover:before {
  transform: translateX(-50%);
}


.cart-footer .btn-proceed:hover {
  background: #e6b800;
  box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

.cart-footer .btn-proceed:active {
  transform: translateY(0);
}

@media screen and (max-width: 810px) {
  .cart-wrap .cart-head {
    display: none;
  }

  .cart-wrap .cart-item {
    grid-template-columns: 140px 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px 15px;
    padding: 20px 6%;
  }

  .cart-wrap .col-img {
    grid-row: 1 / 3;
  }

  .cart-wrap .col-name {
    grid-column: 2;
    grid-row: 1;
  }

  .cart-wrap .col-spec {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .cart-wrap .col-qty {
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
  }
  .cart-wrap .lot-warning {
    flex: 0 0 100%;
    text-align: left;
    margin-bottom: 0;
  }
  .cart-wrap .quantity-ctrl {
    max-width: 180px;
  }

  .cart-wrap .col-del {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .cart-wrap .cart-item {
    position: relative;
  }
}

@media screen and (max-width: 480px) {
  .cart-wrap .cart-item {
    grid-template-columns: 110px 1fr;
    align-items: flex-start;
  }
  .cart-wrap .col-name .item-name {
    font-size: 15px;
    line-height: 1.6;
  }
  .cart-wrap .quantity-ctrl {
    max-width: calc(70% - 10px);
  }
  .cart-wrap .btn-update {
    max-width: 30%;
    font-size: 14px;
    border-radius: 20px;
  }

  .cart-footer .btn-proceed {
    width: 90%;
    min-width: 300px;
    justify-content: center;
    font-size: 16px;
    padding: 14px 20px;
  }

  .cart-wrap .col-del {
    top: 3px;
    right: 3px;
  }
}


/* ===================================================
   詳細・お客様情報～送信完了
=================================================== */
.cart-step{
  display: flex;
  justify-content: space-between;
  max-width: 580px;
  margin: 40px auto;
  counter-reset: step;
  position: relative;
  z-index: 5;
}
.cart-step:before{
  content: "";
  display: block;
  background-image: linear-gradient(to right, #c9d6e3 100%);
  width: 95%;
  height: 2px;
  transform: translateX(-50%);
  position: absolute;
  top: 25px;
  left: 50%;
  z-index: -1;
}
.cart-step > li{
  width: 65px;
  text-align: center;
}
.cart-step > li:before{
  content: counter(step);
  counter-increment: step;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  color: #527485;
  margin: 0 auto 10px;
  padding: 10px;
  border: 1px solid #c9d6e3;
  border-radius: 50%;
}
.cart-step > li > p{
  color: #527485;
  font-size: 14px;
}

.cart-step > li.current > p{
  color: var(--color-primary);
}
.cart-step > li.current:before{
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);

}

.cart-step > li.past:before{
  content: "";
  background-image: url(../../_images/common/icon-check.webp);
  background-color: #ffd95a;
  background-repeat: no-repeat;
  background-size: 50% auto;
  background-position: center;
  border-color: #ffd95a;
}

/* ===================================================
   customer.php 2カラムレイアウト
=================================================== */
.customer-wrap {
  display: flex;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
  height: auto;
}

/* カード共通 */
.customer-card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}


/* 左カラム */
.customer-left {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 20px;
  width: 450px;
}

.customer-left .customer-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* デザインアップロード */
.upload-section {
  padding-bottom: 20px;
}
.upload-section .upload-title {
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
}
.upload-section .upload-desc {
  color: var(--color-text-mid);
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.7;
}
.upload-section .upload-ctrl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.upload-section .btn-file-select {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-text);
  padding: 6px 16px;
  font-size: 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s;
}
.upload-section .btn-file-select:hover { background: #f1f5f9; }
.upload-section .input-file {
  font-size: 14px;
  cursor: pointer;
}
.upload-section .input-file::file-selector-button {
  background: var(--color-white);
  color: var(--color-text);
  padding: 6px 16px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-right: 10px;
  cursor: pointer;
  transition: background .15s;
}
.upload-section .input-file::file-selector-button:hover {
  background: #f1f5f9;
}
.upload-section .upload-notice {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}
.upload-section .upload-notice summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0033bf;
  color: var(--color-white);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.upload-section .upload-notice summary::-webkit-details-marker { display: none; }
.upload-section .upload-notice summary::after { content: "－"; font-size: 18px; }
.upload-section .upload-notice:not([open]) summary::after { content: "＋"; }
.upload-section .upload-notice-body {
  background: var(--color-white);
  color: var(--color-text-mid);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.8;
}


/* カート内商品プレビュー */
.cart-preview-list{
  padding-bottom: 20px;
  position: relative;
}
.cart-preview-list:after{
  content: "";
  display: block;
  width: 100%;
  height: 30px;
  background-image: linear-gradient(to top, #fff 0, transparent 100%);
  transform: translateX(-50%);
  position: absolute;
  bottom: 0;
  left: 50%;
}
.cart-preview-list > ul{
  min-height: 500px;
  max-height: 1220px;
  padding-bottom: 0;
  padding-right: 10px;
  overflow-y: auto;
}
.cart-preview-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-preview-item:last-child { border-bottom: none; }
.cart-preview-item img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}
.preview-info { flex: 1; min-width: 0; }
.preview-name {
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.preview-qty {
  color: var(--color-text-mid);
  margin-bottom: 8px;
  font-size: 14px;
}
.preview-spec summary {
  color: var(--color-blue);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  list-style: none;
}
.preview-spec summary::-webkit-details-marker { display: none; }
.preview-spec .spec-list {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-text-mid);
}

/* 右カラム */
.customer-right {
  flex: 1;
  min-width: 0;
}
.customer-right .customer-card{
  min-height: 1030px;
  padding: 30px 35px;
}

.customer-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--color-border);
}
.customer-section:first-of-type {
  padding-top: 0;
}
.customer-section:last-of-type {
  padding-bottom: 0;
  border: none;
}
.customer-section-title {
  color: var(--color-primary);
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

/* フォーム共通 */
.customer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 10px;
}
.form-row dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
}
.form-row.required dt,
.form-privacy.required h3 {
  position: relative;
}
.form-row.required dt:after,
.form-privacy.required h3:after {
  content: "必須";
  display: inline-block;
  height: auto;
  line-height: 1.5em;
}
.form-row.required dt:after,
.form-privacy.required h3:after,
.badge-required {
  background-color: #fff4d6;
  color: #b98500;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #c9d7e5;
  border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
}
.form-input.tel {
  width: 150px;
}
*::placeholder {
  color: #bdc3d1;
}

.form-input:focus {
  border-color: #78dcf0;
  box-shadow: 0 0 0 1px #78dcf0;
  outline: none;
}
.customer-section .form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #c9d7e5;
  border-radius: 6px;
  cursor: pointer;
}
.customer-section .form-select:focus {
  border-color: #78dcf0;
  box-shadow: 0 0 0 1px #78dcf0;
  outline: none;
}
.form-textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #c9d7e5;
  border-radius: 6px;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.form-textarea:focus {
  border-color: #78dcf0;
  box-shadow: 0 0 0 1px #78dcf0;
  outline: none;
}
.input-date-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.input-date-wrap .calender{
  width: 100%;
  position: relative;
}
/* 納期(flatpickr)入力欄：未選択(空)でも高さが潰れないよう最小高さを担保（SPでの潰れ対策） */
.input-date-wrap .form-input{
  min-height: 44px;
  box-sizing: border-box;
}
.input-date-wrap .calender:after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url(../../_images/common/icon-calendar.webp) no-repeat center;
  background-size: 100% auto;
  filter: brightness(0) saturate(100%) invert(52%) sepia(5%) saturate(1604%) hue-rotate(166deg) brightness(93%) contrast(91%);
  transform: translateY(-50%);
  position: absolute;
  right: 10px;
  top: 50%;
}

.input-date-wrap .input-or {
  display: block;
  color: var(--color-text-light);
  font-size: 15px;
  white-space: nowrap;
}
.input-date-wrap .input-or span{
  display: inline-block;
  padding-left: 30px;
  position: relative;
}
.input-date-wrap .input-or span:before,
.input-date-wrap .input-or span:after{
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  left: 0;
}
.input-date-wrap .input-or span:before{
  margin-right: 10px;
  border: 1px solid #c9d7e5;
}
.input-date-wrap .input-or input:checked ~ span:after{
  content: "";
  display: block;
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  transform: rotate(45deg);
  top: calc(50% - 10px);
  left: 5px;
}


.form-note {
  color: var(--color-text-light);
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
}

/* ボタン */
.customer-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 25px 0 0;
}
.customer-btns > *{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc((100% - 30px) / 2);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  transition: background .2s;
}
.customer-btns .btn-back-cart {
  background-color: transparent;
  color: #527485;
  padding: 14px 30px;
  text-align: center;
  border: 1px solid #c9d7e5;
}
.customer-btns .btn-back-cart:hover { background-color: #e7eff7; background-blend-mode:multiply;}

.customer-btns .btn-proceed {
  gap: 10px;
  background-color: #ffcc33;
  color: var(--color-text);
  padding: 16px 30px;
  transition: all .3s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.customer-btns .btn-proceed:before {
  content: "";
  display: block;
  width: 200%;
  height: 100%;
  background-image: linear-gradient(85deg, #ffe48a 0, #ffc823 50%);
  transform: translateX(0%);
  transition: all .3s ease;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.customer-btns .btn-proceed:after{
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	background: #fff url(../../_images/common/icon-arrow.webp) no-repeat center;
	background-size: 40%;
	border-radius: 50%;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  right: 15px;
}
.customer-btns .btn-proceed:hover:before {
  transform: translateX(-50%);
}

@media screen and (max-width: 810px) {
  .customer-wrap { flex-direction: column; }
  .customer-left { width: 100%; }
  .customer-card,.customer-right .customer-card{ padding: 20px;  }
  .input-date-wrap .calender:after{ display: none;}
  .form-row { grid-template-columns: 1fr; }
  .form-input.tel {width: 120px;}
  /* SPではプレビューリストの固定高さ(min-height:500px)で無駄に縦伸びするので内容量に合わせる */
  .cart-preview-list > ul { min-height: auto; max-height: none; overflow-y: visible; }
  .customer-left .customer-card { flex: content; }
  .customer-card { height: auto; }
}
@media screen and (max-width: 480px) {
  .customer-section { padding: 20px 0; }
  .customer-btns { flex-direction: column-reverse; }
  
  /* カート内商品プレビュー */
  .cart-preview-item img { width: 100px; height: 100px;}
  .btn-back-cart, .customer-btns .btn-proceed { width: 100%; justify-content: center; }
  .form-row dt {padding-left: 10px; border-left: 3px solid var(--color-accent);}
  .form-input,.form-select,.form-textarea {padding: 10px 10px;}
  .form-input.tel {width: 90px;}
}

/*---------confirm-----------*/
/*step現在地*/
.confirm .cart-step:before{
  background-image: linear-gradient(to right, #ffd95a 50%, #c9d6e3 50%);
}
/*左カラム*/
.confirm .customer-left .customer-card {
  flex: content;
}
.confirm .cart-preview-list > ul{
  max-height: 650px;
}
/*右カラム*/
.confirm .customer-right .customer-card{
  min-height: 850px;
}

.form-row dd > p{
  color: var(--color-text-light);
  margin-left: 20px;
}
.form-row dd > p.error_text,
.form-privacy p.error_text{
  display: block;
  width: fit-content;
  color: var(--color-red);
  margin: 0 0 10px;
  border-bottom: 1px solid var(--color-red);
  position: relative;
}
.form-row dd > p.error_text:after,
.form-privacy p.error_text:after{
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  background-color: var(--color-red);
  transform: skewX(45deg);
  position: absolute;
  left: 5px;
}
p.error_text ~ input,
p.error_text ~ select.form-select,
p.error_text ~ textarea{
  border-color: var(--color-red);
}

/*---------commit-----------*/
/*step現在地*/
.commit .cart-step:before{
  background-image: linear-gradient(to right, #ffd95a 100%);
}
/* ボタン */
.commit .customer-btns {
  justify-content: center;
}
.commit .customer-btns > *{
  max-width: 500px;
}

@media screen and (max-width: 480px) {
  .form-row dd > p.error_text,
  .form-privacy p.error_text{
    margin: 0 0 10px 10px;
    font-size: 15px;
  }
}

/* ===================================================
   コンタクトページ
=================================================== */
.contact-page {
  background: var(--color-bg-bgray);
  padding: 60px 20px 70px;
}

.contact-title {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 900;
  text-align: center;
}

/**/
.contact-form{
  max-width: 1100px;
  margin: auto;
}
.contact-form .customer-card{
  min-height: auto;
  height: auto;
  padding: 30px 35px 40px;
}

.contact-form .form-row.upload {
  align-items: flex-start;
}

/**/
.contact-note {
  color: var(--color-text-mid);
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.8em;
  text-align: center;
}

@media screen and (max-width: 810px) {  
  .contact-title {
    font-size: 32px;
  }
  .contact-form .customer-card{
    padding: 20px 20px 30px;
  }
}

@media screen and (max-width: 480px) {
  .contact-wrap .contact-title {
    font-size: 28px;
  }
}

/*------個人情報取り扱い------*/
.form-privacy{
  width: 90%;
  max-width: 700px;
  margin: 30px auto;
}
.form-privacy .privacy-title{
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-primary);
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.8em;
}
.form-privacy > .privacy-frame{
  max-height: 180px;
  padding: 20px 15px;
  border: 1px solid var(--color-border);
  overflow-y: auto;
}

.form-privacy > .privacy-frame .title{
  display: block;
  width: fit-content;
  margin: 0 auto 15px;
  font-size: 16px;
  text-align: center;
  border-bottom: 1px solid #111;
}

.form-privacy > .privacy-frame dl{
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 15px;
  font-weight: 500;
}
.form-privacy > .privacy-frame dl dt{
  margin-bottom: 5px;
}
.form-privacy > .privacy-frame dl dd{
  margin-left: 20px;
  font-size: 14px;
}

/**/
.form-privacy > .privacy-frame dl.window{
  flex-direction: column;
  gap: 5px;
}
.form-privacy > .privacy-frame dl.window > dt{
    width: 100%;
    margin: 0;
    font-size: 16px;
}
.form-privacy > .privacy-frame dl.window > dd{
    width: 100%;
    margin-left: 15px;
    font-size: 15px;
    line-height: 1.5em;
}
.form-privacy > .privacy-frame dl.window > dd:not(:last-child){
    margin-bottom: 15px;
}

/**/
.form-privacy .privacy-check{
    display: block;
    margin: 20px auto 0;
}

.form-privacy .privacy-check p.error_text{
  max-width: 300px;
  margin: 0 auto 10px;
}
.form-privacy .privacy-check p.error_text::after{
  bottom: -12px;
}

.form-privacy .check-btn{
    display: block;
    width: fit-content;
    margin: auto;
    border: 1px solid #ccc;
}
.form-privacy .check-btn input{
    display: none;
}
.form-privacy .check-btn label{
    display: inline-block;
    padding: 15px;
    font-size: 16px;
    transition: all .3s ease;
    background: #FFF;
}
.form-privacy .check-btn label span{
    display: inline-block;
    padding-left: 30px;
    position: relative;
}
.form-privacy .check-btn label span:before{
    content: """";
    display: block;
    width: 20px;
    height: 20px;
    background-color: #eee;
    border: 1px solid #aaa;
    margin-right: 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.form-privacy .check-btn label span:after{
    content: "";
    display: block;
    transform: rotate(-45deg);
    position: absolute;
    top: -7px;
    bottom: 0;
    left: 0;
    margin: auto;
}

.form-privacy .check-btn input:checked ~ label{
    background-color: #f6e0e0;
}
.form-privacy .check-btn input:checked ~ label span:after{
  width: 18px;
  height: 10px;
  border-left: 4px solid var(--color-red);
  border-bottom: 5px solid var(--color-red);
}

/**/
.privacy-check > span:first-child {
  display: block;
  text-align: center;
  margin: 30px auto 0;
  padding: 8px 20px;
  border: 2px solid #ff6b86;
  background: #fff2f2;
  width: fit-content;
  border-radius: 5px;
}

.form-privacy .privacy-check .privacy-caution{
  color: var(--color-red);
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 480px) {
    .form-privacy{
      width: 100%;
      margin: 30px auto;
    }
    .form-privacy .privacy-title{
      font-size: 16px;
      line-height: 1.5em;
    }
    
    .form-privacy > .privacy-frame{
        padding: 15px 10px;
    }

    .form-privacy  > p.title:after{
        width: 55px;
        font-size: 16px;
    }

    .form-privacy > .privacy-frame > dl > dt{
        font-size: 15px;
    }
    .form-privacy > .privacy-frame > dl{
        font-weight: 500;
    }
    .form-privacy > .privacy-frame > dl dt{
        font-size: 15px;
    }
    .form-privacy > .privacy-frame > dl dd{
        margin-left: 10px;
        font-size: 14px;
    }
    /**/
    .form-privacy  .privacy-frame dl.window{
        flex-direction: column;
        gap: 0;
    }
    .form-privacy  .privacy-frame dl.window > dt{
        width: 100%;
        margin: 0;
        font-size: 16px;
    }
    .form-privacy  .privacy-frame dl.window > dd{
        width: 100%;
        margin-left: 5px;
        font-size: 14px;
    }
    .form-privacy  .privacy-frame dl.window > dd:not(:last-child){
        margin-bottom: 15px;
    }
}










