@charset "utf-8";
.f-contact {
  display: none;
}

/* formError */
.formError {
	margin-top: -40px !important;
}

.formError {
	z-index: 990;
}

.formError .formErrorContent {
	z-index: 991;
}

.formError .formErrorArrow {

	z-index: 996;
}

.ui-dialog .formError {
	z-index: 5000;
}

.ui-dialog .formError .formErrorContent {

	z-index: 5001;
}

.ui-dialog .formError .formErrorArrow {
	z-index: 5006;
}

.inputContainer {
	position: relative;
	float: left;
}

.formError {
	position: absolute;

	top: 300px;
	left: 300px;
	display: block;
	cursor: pointer;
	text-align: left;
}

.formError.inline {
	position: relative;
	top: 0;
	left: 0;
	display: inline-block;
}

.ajaxSubmit {
	padding: 20px;
	background: #55ea55;
	border: 1px solid #999;
	display: none;
}

.formError .formErrorContent {
	width: 100%;
	background: #ee0101;
	position:relative;
	color: #fff;
	min-width: 120px;
	font-size: 11px;
	border: 2px solid #ddd;
	box-shadow: 0 0 6px #000;
	-moz-box-shadow: 0 0 6px #000;
	-webkit-box-shadow: 0 0 6px #000;
	-o-box-shadow: 0 0 6px #000;
	padding: 4px 10px 4px 10px;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-o-border-radius: 6px;
}

.formError.inline .formErrorContent {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	border: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
}

.greenPopup .formErrorContent {
	background: #33be40;
}

.blackPopup .formErrorContent {
	background: #393939;
	color: #FFF;
}

.formError .formErrorArrow {
	width: 15px;
	margin: -2px 0 0 13px;
	position:relative;
}

body[dir='rtl'] .formError .formErrorArrow,
body.rtl .formError .formErrorArrow {
	margin: -2px 13px 0 0;
}

.formError .formErrorArrowBottom {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	margin: 0px 0 0 12px;
	top:2px;
}

.formError .formErrorArrow div {
	border-left: 2px solid #ddd;
	border-right: 2px solid #ddd;
	box-shadow: 0 2px 3px #444;
	-moz-box-shadow: 0 2px 3px #444;
	-webkit-box-shadow: 0 2px 3px #444;
	-o-box-shadow: 0 2px 3px #444;
	font-size: 0px;
	height: 1px;
	background: #ee0101;
	margin: 0 auto;
	line-height: 0;
	font-size: 0;
	display: block;
}

.formError .formErrorArrowBottom div {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
}

.greenPopup .formErrorArrow div {
	background: #33be40;
}

.blackPopup .formErrorArrow div {
	background: #393939;
	color: #FFF;
}


.formError .formErrorArrow .line10 {
	width: 13px;
	border: none;
}

.formError .formErrorArrow .line9 {
	width: 11px;
	border: none;
}

.formError .formErrorArrow .line8 {
	width: 11px;
}

.formError .formErrorArrow .line7 {
	width: 9px;
}

.formError .formErrorArrow .line6 {
	width: 7px;
}

.formError .formErrorArrow .line5 {
	width: 5px;
}

.formError .formErrorArrow .line4 {
	width: 3px;
}

.formError .formErrorArrow .line3 {
	width: 1px;
	border-left: 2px solid #ddd;
	border-right: 2px solid #ddd;
	border-bottom: 0 solid #ddd;
}

.formError .formErrorArrow .line2 {
	width: 3px;
	border: none;
	background: #ddd;
}

.formError .formErrorArrow .line1 {
	width: 1px;
	border: none;
	background: #ddd;
}

/* contact */
.contact {
  padding-top: clamp(3.750rem, -1.250rem + 10.417vw, 11.250rem);
  padding-bottom: clamp(5.000rem, -3.667rem + 18.056vw, 18.000rem);
  background-color: #e8e8e8;
}
.contact__inner {
  padding-right: 20px;
  padding-left: 20px;
}
.contact__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1344px;
  margin-right: auto;
  margin-left: auto;
  padding-top: clamp(2.500rem, -0.042rem + 5.295vw, 6.312rem);
  padding-right: clamp(1.250rem, -0.417rem + 3.472vw, 3.750rem);
  padding-bottom: clamp(2.500rem, 0.000rem + 5.208vw, 6.250rem);
  padding-left: clamp(1.250rem, -0.417rem + 3.472vw, 3.750rem);
  background-color: #fff;
}
.contact__title {
  font-size: clamp(1.500rem, 0.500rem + 2.083vw, 3.000rem);
  font-weight: 500;
  line-height: clamp(1.750rem, 0.833rem + 1.910vw, 3.125rem);
  color: #000;
  text-align: center;
}
.contact__text {
  margin-top: clamp(1.500rem, 0.708rem + 1.649vw, 2.688rem);
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.500rem, 1.167rem + 0.694vw, 2.000rem);
  color: #000;
  text-align: center;
}
.contact__form {
  width: 100%;
  max-width: 796px;
  margin-top: clamp(2.500rem, -0.458rem + 6.163vw, 6.938rem);
}
.contact__form .form,
.contact__form .formWrap {
  width: 100%;
}
.contact__items {
  display: flex;
  flex-direction: column;
  row-gap: clamp(1.500rem, 0.458rem + 2.170vw, 3.062rem);
  width: 100%;
}

/* form row */
.formRow {
  display: flex;
  align-items: center;
  width: 100%;
}
.formRow:has(.formTextArea),
.formRow:has(.privacyBox) {
  align-items: flex-start;
}
.formRow:has(.formBtnTd) {
  justify-content: center;
  margin-top: clamp(1.500rem, -1.375rem + 5.990vw, 5.812rem);
}
.formTh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  width: 270px;
  padding-right: 41px;
  column-gap: 8px;
}
.formRow:has(.formTextArea) .formTh,
.formRow:has(.privacyBox) .formTh {
  padding-top: clamp(0.750rem, 0.333rem + 0.868vw, 1.375rem);
}
.labelText01 {
  margin: 0;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 500;
  line-height: 1.5;
  color: #000;
}
.formTh .requiredText {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: clamp(1.250rem, 1.167rem + 0.174vw, 1.375rem);
  margin: 0;
  background-color: #003f98;
  font-size: clamp(0.750rem, 0.667rem + 0.174vw, 0.875rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-align: center;
}
.formTd {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 526px;
}
.selectArea,
.selectArea > div {
  width: 100%;
}

/* inputs */
.formInput,
.formSelect,
.formTextArea {
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid #707070;
  border-radius: 0;
  background-color: #DFE8F4;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.formInput,
.formSelect {
  height: clamp(3.000rem, 1.917rem + 2.257vw, 4.625rem);
  padding-right: clamp(1.000rem, 0.375rem + 1.302vw, 1.938rem);
  padding-left: clamp(1.000rem, 0.375rem + 1.302vw, 1.938rem);
}
.formSelect {
  padding-right: clamp(3.000rem, 2.167rem + 1.736vw, 4.250rem);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='13' viewBox='0 0 19 13'%3E%3Cpolygon points='0,0 19,0 9.5,13' fill='%23002C6A'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right clamp(1.000rem, 0.375rem + 1.302vw, 1.938rem) center;
  background-size: 19px 13px;
  cursor: pointer;
}
.formInput::placeholder,
.formTextArea::placeholder {
  color: #525252;
  opacity: 1;
}
.formTextArea {
  height: clamp(7.500rem, 4.708rem + 5.816vw, 11.688rem);
  padding-top: clamp(1.000rem, 0.375rem + 1.302vw, 1.938rem);
  padding-right: clamp(1.000rem, 0.375rem + 1.302vw, 1.938rem);
  padding-bottom: clamp(1.000rem, 0.375rem + 1.302vw, 1.938rem);
  padding-left: clamp(1.000rem, 0.375rem + 1.302vw, 1.938rem);
  resize: vertical;
}

/* privacy */
.privacyBox {
  width: 100%;
  height: clamp(7.500rem, 4.958rem + 5.295vw, 11.312rem);
  padding-top: clamp(0.750rem, 0.333rem + 0.868vw, 1.375rem);
  padding-right: clamp(1.000rem, 0.375rem + 1.302vw, 1.938rem);
  padding-bottom: clamp(0.750rem, 0.333rem + 0.868vw, 1.375rem);
  padding-left: clamp(1.000rem, 0.375rem + 1.302vw, 1.938rem);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #707070;
  background-color: #DFE8F4;
  font-size: clamp(0.750rem, 0.667rem + 0.174vw, 0.875rem);
  font-weight: 400;
  line-height: 1.7;
  color: #525252;
}
.privacyBox a {
  color: #003f98;
  text-decoration: underline;
}
.formTd > div:has(.formCheck) {
  display: flex;
  align-items: flex-start;
  column-gap: clamp(0.500rem, 0.458rem + 0.087vw, 0.562rem);
  margin-top: clamp(0.750rem, 0.375rem + 0.781vw, 1.312rem);
}
.formCheck {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 4px 0 0;
  border: 1px solid #707070;
  border-radius: 0;
  background-color: #fff;
  vertical-align: top;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.formCheck:checked {
  background-color: #002c6a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 3.5L3.5 6L9 1' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}
.privacyLabel {
  margin: 0;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  cursor: pointer;
}

/* submit */
.formBtnTd {
  display: flex;
  justify-content: center;
  width: 100%;
}
.formBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(15.000rem, 11.375rem + 7.552vw, 20.438rem);
  height: clamp(3.500rem, 2.375rem + 2.344vw, 5.188rem);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: #002c6a;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.000rem, 0.667rem + 0.694vw, 1.500rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.5s, color 0.5s;
}
.formBtn:hover {
  background-color: #faf7a5;
  color: #002c6a;
}

@media (max-width: 767px) {
  .contact {
    padding-top: 60px;
    padding-bottom: 80px;
  }
  .contact__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .contact__container {
    padding-top: 40px;
    padding-right: 20px;
    padding-bottom: 40px;
    padding-left: 20px;
  }
  .contact__title {
    font-size: 24px;
    line-height: 1.4;
  }
  .contact__text {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.8;
  }
  .contact__form {
    margin-top: 40px;
  }
  .contact__items {
    row-gap: 24px;
  }
  .formRow,
  .formRow:has(.formTextArea),
  .formRow:has(.privacyBox) {
    flex-direction: column;
    align-items: stretch;
    row-gap: 10px;
  }
  .formRow:has(.formBtnTd) {
    margin-top: 8px;
  }
  .formTh {
    width: 100%;
    padding-right: 0;
    padding-top: 0 !important;
    justify-content: left;
  }
  .formTd {
    max-width: none;
  }
  .labelText01 {
    font-size: 14px;
    white-space: normal;
  }
  .formTh .requiredText {
    width: 44px;
    height: 20px;
    font-size: 12px;
  }
  .formInput,
  .formSelect {
    height: 48px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 14px;
  }
  .formSelect {
    padding-right: 44px;
    background-position: right 16px center;
    background-size: 14px 10px;
  }
  .formTextArea {
    height: 140px;
    padding: 16px;
    font-size: 14px;
  }
  .privacyBox {
    height: 140px;
    padding: 12px 16px;
    font-size: 12px;
  }
  .formTd > div:has(.formCheck) {
    margin-top: 12px;
  }
  .privacyLabel {
    font-size: 13px;
  }
  .formBtn {
    width: 100%;
    max-width: 280px;
    height: 56px;
    font-size: 16px;
  }
}

@media (max-width: 389px) {
  .contact__text {
    font-size: 12px;
  }
  .privacyLabel {
    font-size: 12px;
  }
}
