@charset "UTF-8";
/* ----関数設定---- */
/* ----------------------------------------------------------------------
Contact
---------------------------------------------------------------------- */
#contact {
  font-family: "IBM Plex Sans JP" , sans-serif ;
}
#contact .progress_area {
  margin-bottom: 4rem;
}

#contact .progress_area .progressbar1,.progressbar2 {
  font-family: "Noto Sans JP" , sans-serif ;
  font-weight: 700;
  display: flex;
  justify-content: center;
  position: relative;
}

#contact .progress_area .progressbar1{
  padding-top:3.5rem;
  margin-bottom:0rem;
}
#contact .progress_area .progressbar2 {
  padding-top:0rem;
  margin-bottom:3rem;
}
#contact .progress_area .progressbar1 li ,.progressbar2 li {
  width: 200px;
  font-size: 16px;
  position: relative;
  text-align: center;
}

#contact .progress_area .progressbar2  li:first-child::after {
  content: none;
}

#contact .progress_area .progressbar2 li.active::before {
    background-color: #b72525;
    border: solid 3px #e6c3c3;
}

#contact .progress_area .progressbar2 li::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 100px;
  margin: 7px auto 7px auto;
  border: solid 3px #edece2;
  background-color: #b6b7b8;
}
#contact .progress_area .progressbar2 li::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #b6b7b8;
  position: absolute;
  top: 7px;
  margin: 7px 0 0 0;
  left: -50%;
  z-index: -1;
}

#contact .progress_area p {
  text-align: center;
  line-height: 1.8;
  font-weight: 500;	
}

#contact .p-country-name {
  display: none;
}
#contact .table_flex {
  display: flex;
  gap: 2px 10px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #ccc;
}
#contact .table_flex:not(:has(~ .table_flex)) {
  border-bottom: 1px solid #ccc;
}
#contact .table_flex input, #contact .table_flex textarea {
  background-color: #f2f2f2;
  border: none;
  border-radius: 5px;
  padding: 15px 20px;
  width: 100%;
}
#contact .table_flex input::placeholder, #contact .table_flex textarea::placeholder {
  color: #b3b3b3;
}
#contact .table_flex .th {
	font-weight: 700;
  font-size: 18px;
  line-height: 1.8;
  white-space: nowrap;
  flex-shrink: 0;
  width: 13em;
}
#contact .table_flex .td {
  line-height: 1.8;
  flex-grow: 1;
}
#contact .headcount .td,.zip .td{
  font-size:16px;
}
#contact .table_flex .td.require {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  width: 3em;
  color: #c1272d;
  flex-grow: 0;
  margin-right:30px;
}
#contact .table_flex .td.require span {
  background-color: var(--color-red);
  color: #fff;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
}
#contact .table_flex .td.input, #contact .table_flex .td.inputtext {
  flex-grow: 1;
}
#contact .zip .td {
  display: flex;
  align-items: center;
  flex-grow: 0;
  width: 25%;
}
#contact input.p-postal-code{
  margin-left:10px;
  font-size: 16px;
}

#contact .tel .td {
  display: flex;
  align-items: center;
  flex-grow: 0;
  width: 15%;
}
#contact .tel .td span.tel_bar{
  margin:0 10px;
}

#contact input.headcount_box{
	width:20rem;
	margin-right:10px;
}

#contact a {
  color: #29abe2;
  text-decoration: underline;
}

#contact .privacy_policy {
    height: 270px;
    padding: 2em;
	margin: 4rem 20rem 3rem;
    border: 3px solid #f2f2f2;
    overflow-y: scroll;
	border-radius: 10px;
}
#contact .privacy_policy p{
    color:#444444;
    line-height: 1.5;
}

#contact .privacy-policy_head{
	margin:20px 0 5px;
	font-weight:600;
}
#contact .privacy-policy_detail{
	font-weight:400;
}

#contact .agree_wrapper {
  text-align: center;
}

#contact .agree_wrapper input {
  vertical-align: bottom;
}
#contact .submit_area {
  width: fit-content;
  position: relative;
  margin-top: 20px;
  margin-inline: auto;
}
#contact .submit_area::after {
  content: "";
  height: 20px;
  width: 20px;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translatey(-50%);
  background-image: url("../images/contact_arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  transition: all 0.3s;
}
#contact .submit_area input[type=submit] {
  padding: 16px 60px;
  color: #fff;
  background-color: var(--color-red);
  text-align: center;
  width: 320px;
  border-radius: 5px;
}
#contact .submit_area input[type=submit]::after {
  width: 16px;
  height: 16px;
}
#contact .submit_area button[type=submit] {
  padding: 16px 30px;
  color: #fff;
  background-color: #909090;
  border-radius: 3px;
  text-align: center;
}
@media (hover: hover) and (pointer: fine) {
  #contact .submit_area:hover::after {
    transform: translate(3px, -50%);
  }
}
#contact .back_btn_wrap {
  text-align: center;
  padding: 10px 2px 10px;
}
#contact .back_btn_wrap input[type=submit] {
  border-bottom: 1px solid currentColor;
}
@media (hover: hover) and (pointer: fine) {
  #contact .back_btn_wrap input[type=submit]:hover {
    border-bottom: 1px solid transparent;
    color: #909090;
  }
}
#contact .page_link_btn a {
  color: #fff;
  text-decoration: none;
  text-box: trim-both text text;
}
@media screen and (max-width: 768px) {
  #contact .table_flex .th {
    width: 10em;
  }
  #contact .tel .td {
    width: 25em;
  }
  #contact .zip .td {
    width: 15em;
  }
#contact .privacy_policy {
	margin: 4rem 3rem 3rem;
}
}
@media screen and (max-width: 520px) {
  #contact .table_flex {
    flex-wrap: wrap;
  }
  #contact .table_flex .th {
    width: auto;
    margin-bottom:10px;
  }
  #contact .table_flex .td.require {
    width: calc(100% - 15em);
    margin-bottom:10px;
  }
  #contact .agree_text {
    text-align: left;
  }
  #contact .agree_text .br768 {
    display: none;
  }

#contact .privacy_policy {
	margin: 4rem 3rem 3rem;
}
}
#contact .complete_text {
	text-align: center;
}
#contact .complete_text {
	line-height: 2;
}

#contact .back_top_btn {
	margin-top: 6rem;
}
#contact .back_top_btn a {
	display: block;
    color: var(--color-red);
    border: 1px solid var(--color-red);
    border-radius: 3px;
    padding: 17px 30px 17px 55px;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
	text-decoration: none;
}
#contact .back_top_btn a::after {
	content: "";
    height: 7px;
    width: 30px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translatey(-50%) rotate(180deg);
    background-image: url(../images/btn_arrow_r.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
@media (hover: hover) and (pointer: fine) {
  #contact .back_top_btn a::before {
    content: "";
    width: 0%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.0392156863);
    transition: width 0.3s;
  }
  #contact .back_top_btn a:hover::before {
    width: 100%;
    transform-origin: left;
  }
}

@media screen and (max-width: 1024px) {
	#contact .table_flex .th { font-size: 16px; width: 10em;}
	#contact .privacy_policy { margin-inline: 0;}
}
@media screen and (max-width: 520px) {
	#contact .table_flex input, #contact .table_flex textarea { padding: 12px 20px;}
	#contact .table_flex { justify-content: space-between; align-items: center;}
	#contact .table_flex .td.require { width: fit-content; margin-right: 0;}
	#contact input.headcount_box { width: 90%;}
}