.contact-title-section {
  padding: 60px 20px;
}

.contact-box {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 60px 40px 40px;
  border: 1px solid transparent;
}

/* タイトル */
.contact-title {
  position: absolute;
  top: -15px;
  padding: 0 10px;
  font-size: 27px;
  font-weight: bold;
  margin: 0;
  border-bottom: none;
  display: block;
}

.contact-title .title-ic {
  margin: 6px 0;
  padding-right: 0;
}

@media screen and (max-width: 820px) {
  .contact-title {
    font-size: 24px;
    align-items: center;
    justify-content: center;
  }
}

/* 四隅の黒角線 */
.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid #000;
}

.corner-top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.corner-top-right {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.corner-bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.corner-bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* テキスト部分 */
.contact-content p {
  margin: 10px 0;
  line-height: 1.6;
  color: #555555;
}

.contact-content .note {
  font-size: 14px;
  color: #444;
}

.contact-section {
  background-color: #f9f9fc;
  padding: 60px 20px;
}

.contact-section .cart-progress-list {
  width: 25%;
}

.contact-section .cart-progress-list::before {
  width: 90%;
}
@media screen and (max-width: 820px) {
  .contact-section {
    background-color: #f9f9fc;
    padding: 0 15px 30px 15px;
  }
  .contact-section .cart-progress-list {
    width: 80%;
  }
  .contact-section .cart-progress-list::before {
    width: 90%;
  }
  .contact-content {
    font-size: 14px;
  }
  .contact-content .note {
    font-size: 12px;
  }
}

.cart-progress-item:nth-of-type(1) .cart-progress-spot::before {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #ffffff;
}

.contact-section .ec-input {
  width: 50%;
  margin: 0 auto;
  margin-top: 30px;
}
@media screen and (max-width: 820px) {
  .contact-section .ec-input {
    width: 70%;
    margin: 0 auto;
    margin-top: 30px;
  }
}

.form-row {
  display: flex;
  align-items: center;
  background-color: #f9f9fc;
  padding: 10px;
  gap: 10px;
}

.required-call {
  width: 60px;
}

.required-badge {
  background-color: #e46a6a;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  margin-right: 10px;
  border-radius: 2px;
}

.custom-select {
  flex: 1;
  width: 90%;
  padding: 15px;
  font-size: 14px;
  border: 1px solid #d5daed;
  border-radius: 4px;
  appearance: none; /* デフォルト矢印を非表示に */
  background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  background-color: #fff;
  padding-right: 30px;
}

.custom-textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  min-height: 120px;
}

.privacy-area {
  background-color: #f9f9fc;
  padding: 20px;
  font-family: sans-serif;
  text-align: center;
}

.privacy-link a {
  color: #629649;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

@media screen and (max-width: 820px) {
  .privacy-area {
    padding: 0;
  }
  .privacy-link a {
    font-size: 12px;
  }
}

.privacy-icon {
  font-size: 18px;
}

/* チェックボックス行 */
.privacy-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  position: relative;
}

/* input は非表示だが操作可能に */
.privacy-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* チェックボックスの見た目 */
.privacy-checkbox .checkmark {
  width: 20px;
  height: 20px;
  background-color: white;
  border: 2px solid #629649;
  border-radius: 2px;
  position: relative;
  transition: background-color 0.2s ease;
}

@media screen and (max-width: 820px) {
  .privacy-checkbox .checkmark {
    font-size: 14px;
  }
  .privacy-checkbox {
    padding-bottom: 15px;
    font-size: 2.5vw;
  }
}

/* チェック状態の見た目 */
.privacy-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: "✔";
  color: #fff;
  font-size: 14px;
  position: absolute;
  left: 3px;
  top: -1px;
}

.privacy-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #629649;
}

/* 確認画面 */

.h-adr {
  color: #555555;
}

.info {
  margin: 20px 0 50px 0;
}
