
@charset "UTF-8";

/* お問い合わせ */
.contact-read-ttl {
  letter-spacing: .1em;
  margin-top: 124px;
}
.contact-read-ttl.comp::before {
	background-repeat: no-repeat;
	background-position: center center;
	content:"";
	display:block;
	height:80px;
	margin: 0 auto 30px;
	width:80px;
  background-image:url("../img/contact/good_icon.png");
}
.contact-read-ttl i {
  display: block;
  height: 80px;
  margin: 0 auto 30px;
  width: 80px;
}
.contact-read-ttl i img {
  width: 100%;
}
.contact-read-txt {
  line-height: 1.875;
  padding: 26px 0 30px;
}
.contact-read-box {
  border-radius: 20px;
  display: flex;
  gap: 0 38px;
  justify-content: center;
  padding: 27px 0 20px 0;
}
.contact-read-box .tel-num {
  font-family: var(--robot);
  font-size: 3.4rem;
  font-weight: 700;
  position: relative;
}
.contact-read-box .tel-num::before {
  content: "";
  padding: 0 0 0 48px;
  position: relative;
}
.contact-read-box p:not(.tel-num) {
  font-size: 1.6rem;
  letter-spacing: .05em;
  line-height: 1.75;
}
.contact-read-box + p {
  padding: 32px 0 20px;
  text-align: center;
}
.contact-tbl-body .contact-detail,
.contact-tbl-body .contact-file {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.6rem;
  gap: 0 20px;
  line-height: 1.875;
  padding-left: 22.5px;
}
.contact-tbl-body .contact-detail {
  align-items: center;
  line-height: 1.875;
  padding-right: 11px;
}
/* .contact-tbl-body .contact-detail .contact-type {
  padding-left: 50px;
} */

.contact-tbl-body .contact-detail .input-box,
.contact-tbl-body .contact-file .input-box {
  width: calc(100% - 60px);
}
.contact-file {
  align-items: top;
}

.contact-type {
  letter-spacing: -.4em;
  padding-left: 5px;
}

.contact-type label {
  cursor: pointer;
  letter-spacing: 0.7px;
  margin-right: 30px;
  padding-left: 40px;
  position: relative;
}

.contact-type label:last-of-type {
  margin-right: 0;
}

.contact-type label::before,
.contact-type label::after {
  border-radius: 50%;
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.contact-type label::before {
  background-color: #fff;
  border-radius: 50%;
  height: 29px;
  left: 0px;
  width: 29px;
  border: 1px solid #CCCCCC;
}

.contact-type label::after {
  border-radius: 50%;
  height: 15px;
  left: 8px;
  opacity: 0;
  width: 15px;
}

.contact-type input:checked + label::after {
  opacity: 1;
}

.contact-type .visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.contact-tbl {
  border-top: 1px solid #ddd;
  margin-top: 50px;
}
.contact-tbl-body {
  align-items: center;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 30px 0;
  width: 100%;
}
.contact-tbl-th {
  font-weight: 700;
  letter-spacing: .05em;
  padding-left: 10px;
  vertical-align: middle;
  width: 200px;
}
.contact-tbl-td {
  width: calc(100% - 200px);
}

.contact-tbl-file.contact-tbl-th {
  align-self: flex-start;
  padding-top: 26px;
}

.required,
.any {
  border-radius: 5px;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  height: 20px;
  line-height: 20px;
  text-align: center;
  width: 40px;
}

.required {
  background: #fdebea;
  color: var(--red);
}
.any {
  background: var(--white);
  border: 1px solid #ccc;
  color: #aaa;
  line-height: 18px;
}

.contact-file .required,
.contact-file .any {
  margin-top: 25px;
}

.input-box input[type="text"],
.input-box textarea {
  background: #f8f8f8;
  padding: 21px 20px;
  width: 710px;
}
.input-box input[type="text"] {
  height: 66px;
}
.input-box textarea {
  height: 125px;
  resize: vertical;
}
.input-box input[type="text"]::placeholder,
.input-box textarea::placeholder {
  color: #ccc;
  letter-spacing: .05em;
}
.input-box.is-error input[type="text"],
.input-box.is-error textarea {
  background-color: #fef5f5;
  vertical-align: middle;
}
.contact-file .uploadfile-area .resume-file {
  border: 1px dashed #ddd;
  cursor: pointer;
  display: block;
  font-weight: 700;
  height: 66px;
  letter-spacing: .05em;
  padding: 17px 10px 12px 19px;
  position: relative;
  width: 710px;
}
.contact-file .input-box.is-error .uploadfile-area .resume_up_file:empty + ul .resume-file {
  background-color: #fef5f5;
}
.contact-file .uploadfile-area .file-name {
  color: var(--base);
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  margin-right: 21px;
  position: relative;
  z-index: 1;
}
.contact-file .uploadfile-area p.file-name::before {
  content: "";
  padding: 0 14px 0 10px;
}

.contact-file .upload-btn {
  border-radius: 5px;
  bottom: 0;
  height: 46px;
  margin: auto;
  position: absolute;
  right: 10px;
  top: 0;
  width: 46px;
}
.contact-file .upload-btn span {
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
}
.contact-file .upload-btn span:hover {
  cursor: pointer;
}
.contact-file .upload-btn span::before,
.contact-file .upload-btn span::after {
  background: var(--white);
  bottom: 0;
  content: "";
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}
.contact-file .upload-btn span::before {
  height: 2px;
  width: 14px;
}
.contact-file .upload-btn span::after {
  height: 14px;
  width: 2px;
}

output div {
  color: var(--base);
  display: inline-block;
  letter-spacing: .07em;
  /*margin: 11px 0 18px;*/
	margin: 25px 0 20px;
  padding-right: 20px;
  vertical-align: middle;
	line-height: 1;
}
output div a {
	background-repeat: no-repeat;
	background-position: center center;
  display: inline-block;
  padding-left: 2px;
	height:20px;
	width:18px;
  vertical-align: middle;
  margin-left: 3px;
}
output div a:hover {
  cursor:pointer;
}
output div a img {
  width: 19px;
}

input[type="file"] {
  display: none;
}

.file-note {
  margin-top: 8px;
}
.file-note li {
  font-size: 1.1rem;
  letter-spacing: .05em;
  line-height: 1.5;
}
.file-note li:before {
  content: "※";
  font-size: 1.1rem;
  padding-right: 4px;
}
.file-note + .error {
  margin-top: 6px;
}

.contact-privacy-box {
  border: 1px solid #707070;
  margin-top: 45px;
  padding: 32px 25px 32px;
}
.contact-privacy-ttl {
  padding-bottom: 12px;
  text-align: center;
  font-weight: 700;
}
.contact-privacy-txt {
  letter-spacing: .055em;
  line-height: 1.875;
}
.contact-privacy-txt a:hover {
  text-decoration: underline;
  opacity: 1;
}
.contact-privacy-box .agree {
  font-weight: 700;
  margin: 24px auto 0;
  width: fit-content;
}

.contact-privacy-box .agree label {
  cursor: pointer;
  letter-spacing: .05em;
  padding-left: 20px;
  position: relative;
}

.contact-privacy-box .agree label::before,
.contact-privacy-box .agree label::after {
  border-radius: 50%;
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.contact-privacy-box .agree label::before {
  background-image: url(../img/contact/unchecked_icon.png);
  border-radius: 0;
  height: 16px;
  left: -5px;
  width: 16px;
}

.contact-privacy-box .agree .visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.contact-btn {
  display: flex;
  gap: 0 20px;
  justify-content: center;
  margin: 50px auto 120px;
}
.contact-complete .contact-btn,
.contact-incomplete .contact-btn {
  margin-top: 0;
}

.error {
  color: var(--red);
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.45;
  margin-top: 10px;
  position: relative;
}
.error::before {
  content: "※";
}
.error + .error {
  margin-top: 4px;
}

.contact-tbl-body .error {
  padding-left: 282px;
  width: 100%;
}
.contact-main .contact-privacy-txt a:hover {
  cursor:pointer;
}
/* 確認画面 */
.contact-tbl.confirm {
  margin-top: 50px;
}
.contact-tbl.confirm .contact-tbl-body {
  height: 127px;
}
.contact-tbl.confirm .contact-tbl-th,
.contact-tbl.confirm .contact-tbl-td {
  vertical-align: middle;
} 
.contact-tbl.confirm .contact-tbl-body .contact-detail {
  gap: 0;
}
.contact-tbl.confirm .contact-tbl-body .contact-detail i {
  margin: 0 40px 0 0;
}
.contact-tbl.confirm .contact-tbl-body .contact-detail p {
  margin: 0 0 0 20px;
  max-width: calc(100% - 80px);
}
.contact-tbl.confirm .contact-tbl-body .contact-detail p:first-of-type {
  margin-left: 0;
}

/* 完了画面 */
.contact-complete .contact-read-ttl {
  margin-top: 120px;
  letter-spacing: 0.02em;
}
.contact-complete .contact-read-txt {
  padding: 28px 0;
}