@charset "UTF-8";
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
  vertical-align: top;
}

body {
  font-size: 16px;
  line-height: 1.7;
  color: #fff;
  font-family: "Noto Sans JP", serif;
  background-image: url(../img/contact.bg.image.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

.contact {
  text-align: center;
}

.contact__inner {
  padding-inline: 15px;
}
@media screen and (min-width: 768px) {
  .contact__inner {
    padding-inline: 330px;
  }
}

.contact__btn {
  margin-top: 15px;
  display: inline-block;
  width: 236px;
  max-width: 100%;
  padding: 15px 10px;
  background-color: #00bcd4;
  border: 2px solid transparent;
  border-bottom-color: #00005d;
  border-radius: 10px;
  color: #fff;
  font-size: 1.125rem;
  text-align: center;
  text-decoration: none;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}
.contact__btn:focus, .contact__btn:hover {
  background-color: #1ec7bb;
  border-color: currentColor;
}

.arrowleft {
  position: relative;
  padding-left: 2em;
  padding-right: 1.38em;
}
.arrowleft::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.83em;
  width: 30px;
  height: 30px;
  background: url(../img/arrowleft.png) no-repeat;
  background-size: contain;
  -webkit-transform: translateY(-25%);
          transform: translateY(-25%);
}

.contact__heading {
  padding: 30px 10px;
  font-size: 1.75rem;
  text-align: center;
}

.contact__title {
  position: relative;
  display: inline-block;
  -webkit-transform: translateY(-20%);
          transform: translateY(-20%);
}
.contact__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 1px;
  background-color: currentColor;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.contact__form {
  padding-top: 30px;
  padding-bottom: 30px;
}

.contact__fields {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 25px;
}
@media screen and (min-width: 768px) {
  .contact__fields {
    gap: 40px;
  }
}

.form-field:has(.form-text:user-invalid) .form-field__label {
  color: #CE2073;
}
.form-field:has(.form-select:user-invalid) .form-field__label {
  color: #CE2073;
}
.form-field:has(.form-textarea:user-invalid) .form-field__label {
  color: #CE2073;
}
.form-field:has(.form-radio__input:user-invalid) .form-field__label {
  color: #CE2073;
}
.form-field.is-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .form-field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 40px;
  }
}

.form-field__head {
  margin-bottom: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}
.form-field__head.is-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (min-width: 768px) {
  .form-field__head {
    width: 180px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
  }
}

.form-field__label {
  text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000; /* 左上 */
}

.form-field__tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: #CE2073;
  font-size: 12px;
  font-weight: 700;
}
.form-field__tag.is-option {
  background: #43B549;
}

@media screen and (min-width: 768px) {
  .form-field__item {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
}

.form-text {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  vertical-align: top;
  width: 100%;
  color: #4A3636;
  border-radius: 5px;
  border: 3px solid #F5F5F5;
  background: #F5F5F5;
  font-weight: 400;
  padding: 12px 13px 11px;
}
.form-text:hover, .form-text:focus {
  border-color: #9ED0E0;
  background-color: #F5F5F5;
  outline: none;
}
.form-text.is-error {
  border-color: #CE2073;
  background-color: #FFF0F7;
}

@media screen and (min-width: 768px) {
  .form-field__radios {
    text-align: left;
  }
}

.form-field__radio {
  margin-left: 10px;
}
.form-field__radio:hover .form-radio__text::before {
  border-color: #9ED0E0;
}
@media screen and (min-width: 768px) {
  .form-field__radio {
    margin-left: 30px;
  }
}

.form-radio__input {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.form-radio__input:checked + .form-radio__text {
  font-weight: 700;
}
.form-radio__input:checked + .form-radio__text::after {
  opacity: 1;
}
.form-radio__input.is-error + .form-radio__text::before {
  border: 1px solid #CE2073;
  background-color: #FFF0F7;
}

.form-radio__text {
  position: relative;
  padding-left: 30px;
  text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000; /* 左上 */
}
.form-radio__text::before, .form-radio__text::after {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid #F5F5F5;
}
.form-radio__text::before {
  width: 20px;
  height: 20px;
  background: #F5F5F5;
  left: 0;
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
.form-radio__text::after {
  width: 10px;
  height: 10px;
  background: #000;
  left: 5px;
  opacity: 0;
}

.form-select {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #4A3636;
  vertical-align: top;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border-radius: 5px;
  border: 3px solid #F5F5F5;
  background: #F5F5F5;
  font-weight: 400;
  padding: 12px 13px 11px 13px;
  background: url(../img/select-icon.png) no-repeat center right 0px/60px 50px;
  background-color: #F5F5F5;
}
.form-select:hover, .form-select:focus {
  border-color: #9ED0E0;
  outline: none;
}
.form-select.is-error {
  background: url(../img/select-error.png) no-repeat center right 0px/60px 50px;
  border-color: #CE2073;
  background-color: #FFF0F7;
}

.form-textarea {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #4A3636;
  vertical-align: top;
  border-radius: 5px;
  border: 3px solid #F5F5F5;
  background: #F5F5F5;
  width: 100%;
  height: 180px;
  padding: 13px;
}
.form-textarea:hover, .form-textarea:focus {
  border-color: #9ED0E0;
  background-color: #F5F5F5;
  outline: none;
}
.form-textarea.is-error {
  border-color: #CE2073;
  background-color: #FFF0F7;
}

.form-checkbox {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.form-checkbox__input {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.form-checkbox__input.is-error + .form-checkbox__text::before {
  border: 1px solid #CE2073;
  background-color: #FFF0F7;
}

.form-checkbox__input:checked + .form-checkbox__text::after {
  opacity: 1;
}

.form-checkbox__text {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000; /* 左上 */
}
.form-checkbox__text a {
  text-decoration-line: underline;
  font-weight: inherit;
}
.form-checkbox__text a:hover {
  color: #1ec7bb;
}

.form-checkbox__text::before,
.form-checkbox__text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.form-checkbox__text::before {
  width: 20px;
  height: 20px;
  border-radius: 1px;
  border: 1px solid #F5F5F5;
}

.form-checkbox__text::after {
  width: 25px;
  height: 20px;
  left: -1px;
  margin-top: -1.2px;
  background: url(../img/chec-icon2.png) no-repeat center center/contain;
  opacity: 0;
}

.contact-form__btn {
  text-align: center;
}
.contact-form__btn .btn {
  margin-top: 15px;
  display: inline-block;
  width: 236px;
  max-width: 100%;
  padding: 15px 10px;
  background-color: #fff;
  border: 2px solid #00005d;
  border-bottom-color: #00005d;
  border-radius: 10px;
  color: #000;
  font-size: 1.125rem;
  text-align: center;
  text-decoration: none;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}
.contact-form__btn .btn:focus, .contact-form__btn .btn:hover {
  background-color: #1ec7bb;
  border-color: currentColor;
  color: #fff;
}

.contact-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: calc(100% - 30px);
  max-height: calc(100% - 40px);
  overflow: auto;
  padding: 15px 16px 65px;
  border-radius: 20px;
  border: none;
  overscroll-behavior-y: none;
}
@media screen and (min-width: 768px) {
  .contact-modal {
    width: 1150px;
    padding: 50px 70px 75px;
  }
}
.contact-modal::-ms-backdrop {
  opacity: 0.5;
  background: #000;
}
.contact-modal::backdrop {
  opacity: 0.5;
  background: #000;
}

.contact-modal__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  position: sticky;
  top: 0;
}

.contact-modal__close-icon img {
  width: 80px;
}

.contact-modal__body {
  margin-top: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.modal-title {
  text-align: left;
  font-weight: 700;
}
.modal-title:nth-child(n+2) {
  margin-top: 15px;
}
@media screen and (min-width: 768px) {
  .modal-title {
    font-size: 20px;
  }
}

.modal-text {
  text-align: left;
  font-size: 14px;
}
.modal-text:nth-child(n+2) {
  margin-top: 5px;
}
@media screen and (min-width: 768px) {
  .modal-text {
    font-size: 16px;
  }
}

.contact-modal__close-btn {
  margin-top: 30px;
}
.contact-modal__close-btn .btn {
  display: inline-block;
  width: 150px;
  max-width: 100%;
  padding: 5px 5px;
  background-color: #fff;
  border: 2px solid #00005d;
  border-bottom-color: #00005d;
  border-radius: 10px;
  color: #000;
  font-size: 1.125rem;
  text-align: center;
  text-decoration: none;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}
.contact-modal__close-btn .btn:focus, .contact-modal__close-btn .btn:hover {
  background-color: #1ec7bb;
  border-color: currentColor;
  color: #fff;
}