@charset "UTF-8";
/**
 * レスポンシブのブレイクポイント設定
 */
/*
COLORS
================================================ */
:root {
  --light-blue: #EBF8FF;
  --blue: #2E3180;
  --light-green: #d8efed;
  --green: #008B80;
  --light-grey: #F7F7F7;
  --grey: #ddd;
  --black: #333;
  --white: #fff;
}

@media (769px <= width) {
  form dl {
    max-width: 800px;
    font-size: 1.6rem;
    background-color: #fff;
    margin: 40px auto;
    padding: 40px;
    box-sizing: border-box;
  }
}
@media (width < 769px) {
  form dl {
    width: 100%;
    font-size: 3.75vw;
    margin: 8vw auto;
    padding: 5vw;
  }
}
@media (769px <= width) {
  form dl > div {
    display: flex;
  }
}
@media (width < 769px) {
  form dl > div {
    flex-direction: column;
    gap: 1em;
  }
}
form dl > div + div {
  margin-top: 1.5em;
}
form dl dt {
  font-weight: 700;
  padding-top: 0.25em;
}
@media (769px <= width) {
  form dl dt {
    width: 14em;
  }
}
@media (width < 769px) {
  form dl dt {
    width: 100%;
  }
}
form dl dt.required::before {
  content: "必須";
  display: inline-block;
  font-size: 0.8em;
  color: #fff;
  background-color: var(--blue);
  margin-right: 0.4em;
  padding: 0.3em 0.5em 0.3em;
}
@media (769px <= width) {
  form dl dd {
    flex: 1;
  }
}
@media (width < 769px) {
  form dl dd {
    margin-top: 10px;
    width: 100%;
  }
}

input, textarea, select, .submit {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background-color: inherit;
}

input[type=text], input[type=tel], input[type=email] {
  width: 100%;
  max-width: 100%;
  padding: 0.5em;
  background: #F2F2F2;
  box-sizing: border-box;
}

textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.5em;
  background: #F2F2F2;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.5;
}

.submit {
  cursor: pointer;
}

.radio {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.radio label {
  width: calc(50% - 0.5em);
}
.radio input[type=radio] {
  display: none;
}
.radio input[type=radio] + span {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding-left: 1.3em;
}
.radio input[type=radio] + span::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #CDCDCD;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  display: block;
  box-sizing: border-box;
}
.radio input[type=radio]:checked + span::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 0.2em;
  transform: translateY(-50%);
  background: var(--green);
  border-radius: 50%;
  width: 0.6em;
  height: 0.6em;
  display: block;
}
.radio .wpcf7-list-item {
  margin: 0;
  width: calc(50% - 0.5em);
}
.radio .note {
  font-size: 1.2rem;
  line-height: 1.5;
}

.wpcf7-not-valid-tip {
  box-sizing: border-box;
  border-radius: 5px;
  background-color: #b2052a;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
  padding: 10px 10px;
  position: relative;
}

.wpcf7-not-valid-tip::before {
  content: "";
  border: 5px solid transparent;
  border-bottom: 10px solid #b2052a;
  position: absolute;
  top: -12px;
  left: 5%;
}

.wpcf7-response-output {
  font-size: small;
  text-align: center;
  padding: 13px !important;
}

.submit {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 14.285714em;
  height: 2.85714em;
  font-size: 1.4rem;
  text-decoration: none;
  color: #333;
  border-color: #333;
  border-style: solid;
  border-width: 1px;
  border-radius: 1.42857em;
  box-sizing: border-box;
  margin: 0 auto;
  transition: all 0.3s;
}
.submit:hover {
  opacity: 0.7;
}