@charset "UTF-8";
/* --------------------------------

  メールフォーム

-------------------------------- */

:root {
  --myhp-color1: #ccc;
  --myhp-color2: #f7f8f9;
  --myhp-grid: 8px;
  --myhp-white: #fff;
  --myhp-black: #4f4e69;
  --myhp-blue: #FA8B13;
  --myhp-red: #ff5c76;
  --myhp-focus: #edf1fe;
  --myhp-placeholder: #b2b7d2;
  --myhp-error: #ffebee;
  --myhp-border: #e1e2eb;
  --myhp-background: #f5f5fb;
  --myhp-transition: 0.3s;
}

/* 新メールフォーム テンプレ */
.myhp-form__items {
  position: relative;
}
@media screen and (min-width: 768px), print {
  .myhp-form__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    border-bottom: 1px solid #F5F5F5;
    padding: 2rem 0;
  }
}
@media screen and (min-width: 768px), print {
  .myhp-form__items:first-of-type {
    border-top: 1px solid #F5F5F5;
  }
}
@media screen and (max-width: 767.98px) {
  .myhp-form__items:not(:last-child) {
    margin-bottom: 2rem;
  }
}
.myhp-form__title {
  position: relative;
  display: block;
  padding: 1rem 0 1.5rem 0;
}
@media screen and (min-width: 768px), print {
  .myhp-form__title {
    width: 18em;
    padding: 1.8rem 0 1.8rem 7.5rem;
  }
}
@media screen and (max-width: 767.98px) {
  .myhp-form__title {
    border-bottom: 1px solid #0068B7;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.myhp-form__required {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  width: 5rem;
  height: 2.5rem;
  border-radius: 10em;
  font-weight: 400;
  font-size: 1.4rem;
  color: #fff;
  background-color: #C04237;
  font-family:"Noto Sans JP", sans-serif;
  border: 1px solid #fff;
  margin: 0 1rem 0 0;
  padding: 0.2rem;
}
@media screen and (min-width: 768px), print {
  .myhp-form__required {
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 6.2rem;
    height: 3rem;
    font-size: 1.6rem;
    margin: 0 1.5rem 0 0;
  }
}
.myhp-form__label {
  display: block;
  line-height: 1.2;
  font-size: 1.6rem;
}
@media screen and (min-width: 768px), print {
  .myhp-form__label {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 767.98px) {
  .myhp-form__label {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 0;
  }
}
.myhp-form__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  line-height: 1.2;
}
@media screen and (min-width: 768px), print {
  .myhp-form__content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 0;
  }
}
.myhp-form__radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 -1.8rem 0 0;
  padding: 0.3em 0;
}
@media screen and (min-width: 768px), print {
  .myhp-form__radio {
    margin: 0 -2rem 0 0;
  }
}
.myhp-form__radio-col {
  padding: 0 1.8rem 0 0;
}
@media screen and (min-width: 768px), print {
  .myhp-form__radio-col {
    padding: 0 2rem 0 0;
  }
}
.myhp-form__radio-input {
  display: none;
}
.myhp-form__radio-input:checked + .myhp-form__radio-button::after {
  opacity: 1;
}
.myhp-form__radio-button {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1.2;
  padding: 0.7em 0 0.7em 2.8em;
}
@media screen and (min-width: 768px), print {
  .myhp-form__radio-button {
    font-size: 1.8rem;
    padding: 0.7em 0 0.7em 2.8em;
  }
}
.myhp-form__radio-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 100%;
  border: 1px solid #ccc;
  background-color: #fff;
}
@media screen and (min-width: 768px), print {
  .myhp-form__radio-button::before {
    width: 4rem;
    height: 4rem;
  }
}
.myhp-form__radio-button::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 100%;
  background-color: #0068B7;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media screen and (min-width: 768px), print {
  .myhp-form__radio-button::after {
    width: 2.4rem;
    height: 2.4rem;
    left: 0.8rem;
  }
}
.myhp-form__checkbox {
  display: block;
  margin: 0;
}

.myhp-form__checkbox-col {
  margin: 0;
  padding: 0;
}

.myhp-form__checkbox-col + .myhp-form__checkbox-col {
  margin-top: .5rem;
}
@media screen and (min-width: 768px), print {
  .myhp-form__checkbox-col + .myhp-form__checkbox-col {
    margin-top: 1rem;
  }
}
.myhp-form__checkbox-label {
}

.myhp-form__checkbox-button {
}
.myhp-form__checkbox-input {
  display: none;
}
.myhp-form__checkbox-input:checked + .myhp-form__checkbox-button::before {
  opacity: 1;
  background-color: var(--myhp-blue);
}
.myhp-form__checkbox-button {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1.2;
  padding: 0.7em 0 0.7em 2.8em;
}
@media screen and (min-width: 768px), print {
  .myhp-form__checkbox-button {
    font-size: 1.8rem;
    padding: 0.3em 0 0.3em 2.5em;
  }
}
.myhp-form__checkbox-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: .5rem;
  border: 1px solid #ccc;
  background-color: #fff;
}
@media screen and (min-width: 768px), print {
  .myhp-form__checkbox-button::before {
    width: 3rem;
    height: 3rem;
  }
}
.myhp-form__checkbox-button::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0.8rem;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
  display: block;
  width: 1.5rem;
  height: 1rem;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}
@media screen and (min-width: 768px), print {
  .myhp-form__checkbox-button::after {
    width: 1.5rem;
    height: 1rem;
    top: .85rem;
    left: 0.8rem;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
  }
}

.myhp-form__select {
  position: relative;
  max-width: 300px;
}
.myhp-form__select::before {
  content: "";
  position: absolute;
  right: 2.3rem;
  top: 2.3rem;
  width: 1.2rem;
  height: 1.2rem;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  z-index: 1;
  pointer-events: none;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
@media screen and (min-width: 768px), print {
  .myhp-form__select {
    max-width: 300px;
  }
}
.myhp-form__select-input {
  display: block;
  width: 100%;
  height: 60px;
  font-size: 1.6rem;
  padding: 1rem 5rem 1rem 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 1rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
@media screen and (min-width: 768px), print {
  .myhp-form__select-input {
    padding: 1.75rem 5rem 1.75rem 1.5rem;
  }
}
.myhp-form__select-input:hover, .myhp-form__select-input:active, .myhp-form__select-input:focus {
  outline: none;
  text-decoration: none;
}
.myhp-form__select-input:active, .myhp-form__select-input:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
  border-color: #053B64;
  background-color: #fff;
}
@media screen and (min-width: 768px), print {
  .myhp-form__name {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
.myhp-form__name-col:first-child {
  margin: 0 0 1.5rem 0;
}
@media screen and (min-width: 768px), print {
  .myhp-form__name-col:first-child {
    margin: 0 2rem 0 0;
  }
}
.myhp-form__textfield {
  display: block;
  width: 100%;
  height: 60px;
  padding: 1.75rem 1.5rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 1rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
.myhp-form__textfield:hover, .myhp-form__textfield:active, .myhp-form__textfield:focus {
  outline: none;
  text-decoration: none;
}
.myhp-form__textfield:active, .myhp-form__textfield:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
  border-color: #053B64;
  background-color: #fff;
}
.myhp-form__mail-row:first-child {
  margin: 0 0 1.5rem 0;
}
@media screen and (min-width: 768px), print {
  .myhp-form__mail-row:first-child {
    margin: 0 0 1.5rem 0;
  }
}
.myhp-form__mail-title {
  display: block;
  line-height: 1.2;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
@media screen and (min-width: 768px), print {
  .myhp-form__mail-title {
    font-size: 1.4rem;
  }
}
.myhp-form__textarea {
  height: 18em;
  max-height: 18em;
  min-height: 4em;
  padding: 1.75rem 1.5rem 0;
  display: block;
  width: 100%;
  padding: 1.75rem 1.5rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 1rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
.myhp-form__textarea:hover, .myhp-form__textarea:active, .myhp-form__textarea:focus {
  outline: none;
  text-decoration: none;
}
.myhp-form__textarea:active, .myhp-form__textarea:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
  border-color: #053B64;
  background-color: #fff;
}
.myhp-form__privacypolicy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 30px 0 0 0;
}
@media screen and (min-width: 768px), print {
  .myhp-form__privacypolicy {
    margin: 40px 0 0 0;
  }
}
.myhp-form__privacypolicy-label {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 1;
}
.myhp-form__privacypolicy-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.myhp-form__privacypolicy-input:checked + .myhp-form__privacypolicy-button:before {
  background: url(../img/base/aikon-check.svg) no-repeat center var(--myhp-blue);
  background-size: cover;
  border-color: var(--myhp-blue);
}
.myhp-form__privacypolicy-button {
  cursor: pointer;
}
.myhp-form__privacypolicy-button:before {
  content: "";
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 1rem 0 0;
  background: var(--myhp-background);
  border-radius: 0;
  border: 1px solid var(--myhp-border);
  -webkit-transition: var(--myhp-transition);
  transition: var(--myhp-transition);
}
@media screen and (min-width: 768px), print {
  .myhp-form__privacypolicy-button:before {
    width: 3rem;
    height: 3rem;
    margin-right: 1.5rem;
  }
}
.myhp-form__privacypolicy-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (max-width: 767.98px) {
  .myhp-form__privacypolicy-text {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.myhp-form__privacypolicy-link {
  color: var(--myhp-blue);
}
.myhp-form__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 5rem;
}
@media screen and (max-width: 767.98px) {
  .myhp-form__button {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 3.5rem;
  }
}
.myhp-form__button-back {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  line-height: 1.2;
  display: inline-block;
  border-radius: 10em;
  color: #fff;
  background-color: #0068B7;
  padding: 1rem 3rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
}
@media screen and (min-width: 768px), print {
  .myhp-form__button-back {
    font-size: 1.6rem;
  }
}
.myhp-form__button-back:hover {
  text-decoration: none;
  color: #fff;
  background-color: #053B64;
}
.myhp-form__button-submit {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  line-height: 1.2;
  display: inline-block;
  border-radius: 10em;
  color: #fff;
  background-color: #0068B7;
  padding: 1rem 3rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
}
@media screen and (min-width: 768px), print {
  .myhp-form__button-submit {
    font-size: 1.6rem;
  }
}
.myhp-form__button-submit:hover {
  text-decoration: none;
  color: #fff;
  background-color: #053B64;
}
.myhp-form__button-item:first-child {
  margin: 0 1.6rem 0 0;
}
@media screen and (max-width: 767.98px) {
  .myhp-form__button-item:first-child {
    margin: 0 0 1.5rem 0;
  }
}
.myhp-form__button-confirm {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  line-height: 1.2;
  display: inline-block;
  border-radius: 10em;
  color: #fff;
  background-color: #0068B7;
  padding: 1rem 3rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
}
@media screen and (min-width: 768px), print {
  .myhp-form__button-confirm {
    font-size: 1.6rem;
  }
}
.myhp-form__button-confirm:hover {
  text-decoration: none;
}
.myhp-form__button-confirm:not(:disabled):hover {
  color: #fff;
  background-color: #053B64;
}
.myhp-form__confirm .g-recaptcha {
  margin-top: 3rem !important;
}
.myhp-form__confirm .myhp-form__title {
  padding: 0 2rem;
  width: 13em;
}
@media screen and (max-width: 767.98px) {
  .myhp-form__confirm .myhp-form__title {
    padding: 1rem 0 1.5rem 0;
    width: 100%;
  }
}
@media screen and (max-width: 767.98px) {
  .myhp-form__confirm .myhp-form__label {
    font-weight: 500;
  }
}
@media screen and (max-width: 767.98px) {
  .myhp-form__confirm .myhp-form__content {
    padding: 0 0 0 0.5rem;
  }
}
.myhp-form__confirm .myhp-form__label, .myhp-form__confirm .myhp-form__content {
  font-size: 1.4rem;
}
@media screen and (min-width: 768px), print {
  .myhp-form__confirm .myhp-form__label, .myhp-form__confirm .myhp-form__content {
    font-size: 1.6rem;
  }
}
.myhp-form__note {
  line-height: 2;
  display: none;
  width: 100%;
  font-size: 1.2rem;
}
@media screen and (min-width: 768px), print {
  .myhp-form__note {
    font-size: 1.4rem;
    padding: 0 0 0 18.4em;
  }
}
.myhp-form__error {
  line-height: 2;
  display: block;
  width: 100%;
  color: #c00;
  font-size: 1.2rem;
}
@media screen and (min-width: 768px), print {
  .myhp-form__error {
    font-size: 1.4rem;
    padding: 0 0 0 18.4em;
  }
}

@media (hover: hover) {
  .myhp-form__textfield:hover {
    border-color: var(--myhp-focus);
  }
  .myhp-form__textarea:hover {
    border-color: var(--myhp-focus);
  }
  .myhp-form__select-input:hover {
    border-color: var(--myhp-focus);
  }
}
