@charset "UTF-8";
/* c-form styles extracted from styles.css (modernページ用スコープCSS) */
/* Contact Form Styles (Dark Green Theme) */
.c-form__item {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 2rem;
}

.c-form__label {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
  /* Dark gray text */
}

.c-form__required {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: #305252;
  /* Dark Green */
  padding: 0.4em 1em;
  border-radius: 2px;
  vertical-align: middle;
}

.c-form__optional {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1;
  color: #305252;
  /* Dark Green Text */
  border: 1px solid #305252;
  /* Dark Green Border */
  background: #fff;
  padding: 0.3em 1em;
  border-radius: 2px;
  vertical-align: middle;
}

.c-form__input,
.c-form__textarea {
  background: #E6E6E6;
  /* Gray Background */
  border: none;
  border-radius: 0;
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  width: 100%;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.c-form__textarea {
  height: 12rem;
}

/* Radio Buttons */
.c-form__radio {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.c-form__radio .wpcf7-list-item {
  margin: 0;
  padding: 0;
}

.c-form__radio label {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding-left: 2rem;
  min-height: 1.5rem;
  color: #305252;
  font-weight: 500;
}

.c-form__radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom Radio Circle (Unchecked) */
.c-form__radio .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  background: #E6E6E6;
  /* Gray Background */
  border-radius: 50%;
  transition: all 0.2s;
}

/* Custom Radio Dot (Checked Bg) */
.c-form__radio .wpcf7-list-item-label::after {
  display: none;
  /* Not used in this style, strictly solid */
}

/* Checked State - Change Background Color */
.c-form__radio input:checked+.wpcf7-list-item-label::before {
  background: #305252;
  /* Dark Green */
}

/* Privacy Checkbox */
.c-form__check-wrap {
  margin-top: 2rem;
  text-align: center;
}

.c-form__check-wrap label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.c-form__check-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.c-form__privacy-check {
  padding-left: 2rem;
  position: relative;
  font-weight: 500;
  display: inline-block;
  color: #333;
}

.c-form__privacy-check a {
  color: #305252;
  text-decoration: underline;
  position: relative;
  z-index: 2;
}

.c-form__privacy-check a:hover {
  text-decoration: none;
}

/* Custom Checkbox Box */
.c-form__privacy-check::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 2px;
  box-sizing: border-box;
}

/* Custom Checkmark */
.c-form__privacy-check::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 48%;
  transform: translateY(-60%) rotate(45deg);
  width: 0.35rem;
  height: 0.65rem;
  border: solid #305252;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.2s;
}

/* Checked State */
.c-form__check:checked+.wpcf7-list-item-label .c-form__privacy-check::after {
  opacity: 1;
}

/* Submit Button */
.c-form__submit {
  margin-top: 3rem;
  text-align: center;
}

.c-form__submit input[type="submit"] {
  background: #305252;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  padding: 1rem 4rem;
  border: 1px solid #305252;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  min-width: 280px;
}

.c-form__submit input[type="submit"]:hover {
  background: #fff;
  color: #305252;
}
