
/*----------------------------------------*/
/* .tab-wrap */
/*----------------------------------------*/

.contact-page .tab-wrap {
	border-bottom: 1px solid #C7C7C7;
}

/*----------------------------------------*/
/* .section */
/*----------------------------------------*/
.lower-page.contact-page {
  padding-bottom: 210px;
}
.contact-page .section {
	font-size: 18px;
}
.contact-page .section .section-title {
	margin-bottom: 110px;
}
.contact-page .section .small {
	font-size: 90%;
	font-weight: 500;
}
.contact-page .section .red {
	color: #EA2424;
}
.contact-page .section .blue-title {
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	background-color: var(--blue);
	color: #ffffff;
	padding: 12px 20px;
	margin: 50px 0 40px 0;
}
.contact-page .section .contact-table + .blue-title {
  margin: 40px 0 40px 0;
}
@media (min-width: 768px) {
	.contact-page .section .container {
		max-width: 810px;
	}
}


.contact-page .sp-only {
  display: none;
}
.contact-page .contact-table {
  width: 100%;
}
.contact-page .contact-table tr {
  display: flex;
  width: 100%;
  margin-bottom: 35px;
}
.contact-page .contact-table.contact-table02 tr {
  margin-bottom: 9px;
}
.contact-page .contact-table th {
  width: 175px;
  vertical-align: top;
}
.contact-page .contact-table th .red {
    display: inline-block;
}
.contact-page .contact-table td {
  width: calc(100% - 177px);
}
.contact-page .contact-table td textarea,
.contact-page .contact-table td input[type="text"],
.contact-page .contact-table td input[type="email"],
.contact-page .contact-table td input[type="tel"] {
  width: 100%;
  background: #F2F2F2;
  border: none;
  padding: 8px 15px 7px;
}
.contact-page .contact-table td textarea {
  height: 265px;
}
.contact-page .contact-table td placeholder {
  color: #B4B4B4;
  font-size: 16px;
  font-weight: 400;
}
.contact-page :focus-visible {
  outline: var(--blue) auto 1px;
}
.contact-page .text-small {
  font-size: 14px;
  font-weight: 400;
}
.contact-page .visually-hidden {
  /* デフォルトのcheckboxを非表示 */
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%); 
  margin: -1px;
}
.contact-page label.checkbox {
  cursor: pointer;
  position: relative;
  padding-left: 45px;
  margin-left: -1em;
}
.contact-page label.checkbox::before,
.contact-page label.checkbox::after {
  content: "";
  display: block; 
  position: absolute;
}
.contact-page label.checkbox::before {
  background-color: #F2F2F2;
  border-radius: 0%;
  border: 1px #F2F2F2;
  width: 31px;
  height: 31px;
  transform: translateY(-50%);
  top: 50%;
  left: 0;
  transition: 0.2s all;
}
.contact-page input:checked + label.checkbox::before {
  background-color: var(--blue);
  border: 1px solid var(--blue); 
}
.contact-page label.checkbox::after {
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  opacity: 0;
  height: 8px;
  width: 16px;
  transform: rotate(-45deg);
  top: 12px;
  left: 8px;
}
.contact-page input:checked + label.checkbox::after {
  opacity: 1;
}
.contact-page .policy-wrap {
  margin-top: 80px;
  margin-bottom: 95px;
  margin-left: 175px;
}
.contact-page .policy-wrap a {
  text-decoration: underline;
  margin-left: 2.5em;
  transition: 0.3s all;
}
.contact-page .policy-wrap a:hover {
  opacity: 0.7;
}
.contact-page .policy-wrap label.checkbox {
  margin-left: 0;
  margin-bottom: 0.4rem;
}
.contact-page .submit-wrap {
    position:relative;
    display:inline-block;
    background: var(--blue);
    margin-left: calc(50% - 176px);
    transition: all 0.3s;
}
.contact-page .submit-wrap:hover {
  opacity: 0.7;
}
.contact-page .submit-wrap input[type="submit"] {
  width:352px;
  background: none;
  color: #fff;
  padding: 22px 20px 22px 10px;
  outline:none;
  border:none;
  font-size:18px;
}
.contact-page .submit-wrap:after{
  position: absolute;
  content: url(/img/contact/arrow-submit.svg);
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    transition: all 0.3s;
}
.contact-page .submit-wrap:hover::after{
    right:20px;
}
.contact-page .mess_button input[type="button"],
.contact-page .mess_button input[type="submit"] {
  color: #fff;
  outline:none;
  border:none;
  font-size:18px;
  padding: 12px 60px 12px;
  transition: all 0.3s;
}
.contact-page .mess_button input[type="button"] {
  background: #B4B4B4;
}
.contact-page .mess_button input[type="submit"] {
  background: var(--blue);
}
.contact-page .mess_button input[type="button"]:hover,
.contact-page .mess_button input[type="submit"]:hover {
  opacity: 0.7;
}
.contact-page .mess_button {
  display: flex;
  justify-content:center;
}
.contact-page .mess_button input:first-of-type {
  margin-right: 5px;
}
.contact-page .mess_button input:last-of-type {
  margin-left: 5px;
}
.contact-page .mess_txt {
  margin-bottom: 30px;
}
.contact-page .mess_table {
  width: 100%;
}
.contact-page .mess_table tr {
  vertical-align: top;
}
.contact-page .mess_table th {
  width: 40%;
}
.contact-page .mess_table td {
  width: 60%;
  margin-bottom: 0.75em;
}
.contact-page .mess_table {
  margin-bottom: 50px;
}
.contact-page .error_txt {
  margin-bottom: 0.5em;
}
.contact-page .error_txt:last-of-type {
  margin-bottom: 30px;
}
@media (max-width: 991px) {
  .contact-page .tab-wrap ul li {
    display: list-item;
  }
}
@media (max-width: 767px) {
  .lower-page.contact-page {
    padding-bottom: 140px;
  }
  .contact-page .sp-only {
    display: block;
  }
  .contact-page .section {
    font-size: 15px;
  }
  .contact-page .section .section-title {
    margin-bottom: 30px;
  }
  .contact-page .section .blue-title {
    font-size: 16px;
    padding: 12px 20px 11px;
    margin: 32px 0 23px 0;
  }
  .contact-page .tab-wrap ul li {
    padding: 0;
  }
  .lower-page .tab-wrap ul li a {
    min-height: 61px;
    font-size: 16px;
    letter-spacing: -1px;
    border-radius: 0;
  }
  .contact-page .contact-table tr {
    display: block;
    margin-bottom: 15px;
  }
  .contact-page .contact-table th,
  .contact-page .contact-table td {
    display: block;
    width: 100%;
  }
  .contact-page .contact-table th {
    font-size: 14px;
    padding-bottom: 5px;
    vertical-align: baseline;
  }
  .contact-page .contact-table th .red {
    font-size: 0.9rem;
    padding-top: 0;
    vertical-align: baseline;
  }
  .contact-page .contact-table td textarea {
    height: 190px;
  }
  .contact-page .contact-table td textarea, 
  .contact-page .contact-table td input[type="text"], 
  .contact-page .contact-table td input[type="email"], 
  .contact-page .contact-table td input[type="tel"] {
    padding: 11px 20px 10px;
  }
  .contact-page .contact-table td input.zip {
    max-width: 245px;
  }
  .contact-page label.checkbox {
    margin-bottom: 0.75rem;
  }
  .contact-page label.checkbox::after {
    top: 12px;
  }
  .contact-page .contact-table.contact-table02 .text-small {
    display: inline-block;
    padding-top: 10px;
  }
  .contact-page .section .contact-table + .blue-title {
    margin: 20px 0 25px 0;
  }
  .contact-page .policy-wrap {
    margin-top: 25px;
    margin-bottom: 47px;
    margin-left: 0;
  }
  .contact-page .policy-wrap a {
    margin-left: 2.875rem;
  }
  .contact-page .submit-wrap:after {
    top:calc(50% + 4px);
  }
  .contact-page .mess_table th,
  .contact-page .mess_table td {
    display: block;
    width: 100%;
  }
  .contact-page .mess_button input[type="submit"],
  .contact-page .mess_button input[type="button"] {
    padding: 7px 30px 8px;
  }
}
@media (max-width: 410px) {
  .contact-page .submit-wrap {
    width: 100%;
    margin-left: 0;
  }
  .contact-page .submit-wrap input[type="submit"] {
    width: 100%;
    padding: 17px 0 17px 0;
  }
}