@charset "UTF-8";

form button:hover{ cursor: pointer; cursor: hand; opacity: 0.8; }

/*確認画面と完了画面を非表示*/
.confirm_area,
.thanks_area {
    display: none;
}

/*デフォルトのサンクスメッセージを非表示*/
.wpcf7-response-output{
    display: none;
}

/* 未入力があった際のエラーメッセージ */
#error-message {
    display: none;
    text-align: center;
    color: #dc3232;
}

/* セレクトボックスのデフォルトスタイルを初期化 */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  cursor: pointer;
  background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
  background-size: 16px 16px;
  border-radius: 4px;
  width: 34%;
}

/* ========================================
  @media screen and (min-width: 768px),print
======================================== */
@media screen and (min-width: 768px),print {

/* form -------------------------------------*/
.p-contact {
	background: url(../../images/common/contact_bg.jpg) no-repeat top center/cover;
	margin-inline: auto;
	max-width: 1920px;
	width: 100%;
}

.p-contact .l-inner.l-contact {
	padding-block: 12rem 6.25rem;
}

.p-contact .p-contact__contents {
	border: 3px solid #00388D;
	margin-bottom: 2rem;
	margin-inline: auto;
	outline: 1px solid #00388D;
	outline-offset: -13px;
	padding-block: 3.5rem;
	width: min(95%, 1000px);
}

.p-contact .p-contact__contents p {
	color: #00388D;
	font-size: 36px;
	font-size: 2.25rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	line-height: 0.8888888889;
	text-align: center;
}

.p-contact .p-contact__contents p span {
	display: block;
	font-size: 42px;
	font-size: 2.625rem;
	font-weight: 500;
	letter-spacing: 0.09em;
	line-height: 0.7619047619;
	margin-bottom: 2.5rem;
}

#form .form-Box {
	background: #ffffff;
	margin-inline: auto;
	padding-block: 2.5rem 6.9rem;
	width: min(95%, 1600px);
  margin-bottom: 6.625rem;
  position: relative;
}

#form .form-Box::before {
  position: absolute;
  content: "";
  background: url(../../images/common/form_human.png) no-repeat top center/contain;
  width: 16.75rem;
  height: 21rem;
  top: -20.7rem;
  left: calc(50% - 41rem);
}

#form .form-Box-inner {
	margin-inline: auto;
	width: min(95%, 1000px);
}

#form .formttl {
	color: #00388D;
	font-size: 36px;
	font-size: 2.25rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 3.8888888889;
	margin-bottom: 6.25rem;
	text-align: center;
}

.form-Box .list {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 2;
	margin-bottom: 44px;
	margin-inline: auto;
	width: 554px;
}

.form-Box .error {
  margin-bottom: 16px;
}

.form-Box .attention-color {
  color: #f00;
}

.form-Box .form-list li {
  padding-left: 16px;
  text-indent: -16px;
  margin-bottom: 3px;
}

.form-Box table {
  margin-bottom: 100px;
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #D1D1D1;
}

.form-Box tr {
  border-bottom: 1px solid #D1D1D1;
}

.form-Box th {
  text-align: left;
  width: 20%;
  padding: 35px 42px 35px 39px;
  vertical-align: top;
}

.form-Box th {
  font-size: 14px;
  line-height: 1.6;
}

.form-Box th span {
  font-size: 12px;
}

.form-Box td {
  text-align: left;
  width: 40%;
  padding: 20px 22px 20px;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.6;
}

.form-Box td.add-td {
  padding: 20px 22px 32px;
}

.form-Box td img {
  max-width: 100%;
  height: auto;
}

.form-Box td.add-td .input_area{
  display: grid;
  grid-template-columns: repeat(1,minmax(0, 1fr));
  gap: 8px 0;
}

.form-Box td.add-td02 .input_area{
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.form-Box .from-btn-01 {
  text-align: center;
}

.form-Box .from-btn-02 {
  margin-top: 24px;
  width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  justify-content: space-between;
}

.form-Box .button {
  border: 0;
  padding: 0;
  margin: 0;
  text-align: center;
}

.form-Box .button:hover {
  cursor: pointer;
  opacity: 0.8;
}

.form-Box input[type="text"],
.form-Box input[type="email"],
.form-Box input[type="tel"],
.form-Box input[type="date"],
.form-Box input[type="datetime-local"],
.form-Box select,
.form-Box textarea {
  font-size: 14px;
  padding: 2% 3% 2%;
  box-sizing: border-box;
  border: 1px solid #EFEDEE;
  font-family: inherit;
}

.form-Box textarea {
  width: 100%;
  min-height: 120px;
  font-family: inherit;
}

.form-Box select {
  width: 53.8%;
}

input#address01 {
  margin-bottom: 8px;
}

.form-Box 

/* ボタン*/
#confirm_area,
#send_area {
  text-align: center;
}

#form #confirm_area p,
#form #send_area p {
    display: inline-block;
    position: relative;
}

#form #confirm_area p::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 14px;
  background: url(../../../assets/images/common/contact-arr.svg) no-repeat;
  background-size: contain;
  position: absolute;
  right: 60px;
  top: 50%;
}

#form #send_area p::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 14px;
  background: url(../../../assets/images/common/contact-arr-wh.svg) no-repeat;
  background-size: contain;
  position: absolute;
  right: 60px;
  top: 50%;
}

#form #send_area p::after {
  top: 35%;
}

#form .confirm_button, #form #back_button, input[type="submit"] {
  border: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 640px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.08em;
  font-weight: 400;
  padding: 24px 0;
  margin-bottom: 30px;
  font-family: inherit;
  color: #2A2A2F;
  position: relative;
  top: 0;
  transition: 0.2s ease-in-out;
  margin: 0 auto;
  display: block;
}

#form .confirm_button {
  border: 1px solid #2A2A2F;
  background: #fff;
}

input[type="submit"] {
  background-color: #00388D;
  color: #fff;
}

#form #back_button {
  background-color: #00A1C2;
  color: #fff; 
}

/* プライバシーポリシー */
.priv-text .priv-ttl {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

.priv-text {
  padding: 20px;
  overflow-y: scroll;
  height: 250px;
  border: #B3B3B3 solid 1px;
  margin-bottom: 30px;
  background: #fff;
}

.priv-text p {
  margin-bottom: 20px;
  font-size: 13px;
  padding-bottom: 20px;
  border-bottom: #ccc solid 1px;
}

.priv {
  text-align: center;
  margin-bottom: 30px;
}

.priv-text .tt {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
  font-weight: bold;
}

.privtext {
  text-align: center;
  margin-bottom: 78px;
}

/*必須ボタン*/
.required {
  position: relative;
}

.required::after{
  content: "必須";
  color: #fff;
  background: #00A1C2;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  border-radius: 3px;
  padding: 2px 16px;
  position: absolute;
  top: 33px;
  right: -8px;
}

}

/* ========================================
@media screen and (min-width:768px) and ( max-width:1400px) {
======================================== */
@media screen and (min-width:768px) and ( max-width:1400px) {
#form .form-Box::before {
  position: absolute;
  content: "";
  background: url(../../images/common/form_human.png) no-repeat top center/contain;
  width: 16.75rem;
  height: 19rem;
  top: -19rem;
  left: calc(50% - 37rem);
}
}

/* ========================================
@media screen and (min-width:768px) and ( max-width:1000px) {
======================================== */
@media screen and (min-width:768px) and ( max-width:1000px) {
.p-contact__txt img {
  width: 85%;
  height: auto;
}
}

/* ========================================
  @media screen and (max-width: 767px)
======================================== */
@media screen and (max-width: 767px) {
/* form -------------------------------------*/
.p-contact {
	background: url(../../images/common/contact_bg_sp.jpg) no-repeat top left/cover;
	margin-inline: auto;
	width: 100%;
}

.p-contact .l-inner.l-contact {
	padding-block: 23vw 22.25vw;
}

.p-contact .p-contact__contents {
	border: 3px solid #00388D;
	margin-bottom: 8vw;
	margin-inline: auto;
	outline: 1px solid #00388D;
	outline-offset: -3vw;
	padding-block: 3.5rem;
	width: min(95%,89.3vw);
}

.p-contact .p-contact__contents p {
	color: #00388D;
	font-size: 4.106vw;
	font-weight: 600;
	letter-spacing: 0.09em;
	line-height: 1.5;
	text-align: center;
}

.p-contact .p-contact__contents p span {
	display: block;
	font-size: 5.072vw;
	font-weight: 500;
	letter-spacing: 0.09em;
	line-height: 0.8;
	margin-bottom: 2.5vw;
}

#form .form-Box {
	background: #ffffff;
	margin-inline: auto;
	padding-block: 12.5vw 6.9vw;
	margin-bottom: 6.625rem;
	width: min(95%, 94.2vw);
	position: relative;
}

#form .form-Box::before {
  position: absolute;
  content: "";
  background: url(../../images/common/form_human_sp.png) no-repeat top center/contain;
  width: 24.396vw;
  height: 30.676vw;
  top: -30.2vw;
  left: calc(50% - 47vw);
}

#form .form-Box-inner {
	margin-inline: auto;
  width: min(95%, 94.2vw);
}

#form .formttl {
	color: #00388D;
	font-size: 4.831vw;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.6;
	margin-bottom: 11.25vw;
	text-align: center;
}

.form-Box {
  padding: 13vw 0vw 43vw;
  line-height: 1.6;
  width: 100%;
  background: #fff;
}

.form-Box .form-box-inner {
  width: min(95%,86.9vw);
  margin-inline: auto;
}

.form-Box .form-list {
  font-size: 3.2vw;
  margin-bottom: 10vw;
}

.form-Box .error {
  margin-bottom: 3.6vw;
}

.form-Box .attention-color {
  color: #f00;
}

.formttl_ja {
	margin-bottom: 5.729vw;
	text-align: center;
	font-size: 4.831vw;
	line-height: 1.9;
	font-weight: 400;
}

.form-Box .list {
	font-size: 2.657vw;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1.6;
	margin-bottom: -0.333vw;
	padding-bottom: 5.246vw;
	border-bottom: 0.2vw solid #E6E6E6;
}

.form-Box .form-list li {
  padding-left: 3.6vw;
  text-indent: -3.6vw;
  margin-bottom: 0.4vw;
}

.form-Box table {
  margin-bottom: 10vw;
  line-height: 1.6;
  width: 100%;
}

.form-Box tr {
}

.form-Box th, .form-Box td {
  display: block;
  width: 100%;
  table-layout: fixed;
}

.form-Box th {
  padding: 3vw 0vw 2vw;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 1vw;
}

.form-Box th span {
  font-size: 12px;
}

.form-Box td {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  border-bottom: 0.2vw solid #E6E6E6;
}

.form-Box td.add-td .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(1,minmax(0, 1fr));
  gap: 1.932vw 0;
  margin-bottom: 4vw;
}

.form-Box td.add-td02 .input_area{
  display: grid;
  grid-template-columns: 20% minmax(0, 1fr);
  gap: 3.865vw;
}

input#your_date {
  width: 63vw;
}

input#your_date02 {
  width: 63vw;
}

input#your_time {
  width: 63vw;
}

input#your_time02 {
  width: 63vw;
}

.form-Box .from-btn-02 {
  margin-top: 10vw;
}

.timeset-ttl {
  position: relative;
  top: 3vw;
}

p.subtxt {
  margin-bottom: 2vw;
}

.form-Box input[type="text"],
.form-Box input[type="email"],
.form-Box input[type="tel"],
.form-Box input[type="date"],
.form-Box input[type="datetime-local"],
.form-Box textarea {
  width: 86vw;
  margin-bottom: 4vw;
  font-size: 16px;
  padding: 3vw 2vw 3vw;
  box-sizing: border-box;
  border: 0.2vw solid #D3D3D3;
  font-family: inherit;
  background: #EFEDEE;
}

.form-Box select {
  width: 86vw;
  margin-bottom: 4vw;
  font-size: 16px;
  padding: 3vw 2vw 3vw;
  box-sizing: border-box;
  border: 0.2vw solid #D3D3D3;
  font-family: inherit;
  background: #EFEDEE url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
}

.form-Box textarea {
  min-height: 22vw;
  font-family: inherit;
}

.form-Box select {
  width: 86vw;
  border-radius: 0.6vw;
  border: 0.2vw solid #D3D3D3;
}

/* ボタン*/
#confirm_area,
#send_area {
    text-align: center;
}

#form #confirm_area p,
#form #send_area p {
    display: inline-block;
    position: relative;
}

#form #confirm_area p::after {
  content: "";
  display: inline-block;
  width: 2.623vw;
  height: 4.348vw;
  background: url(../../../assets/images/common/contact-arr.svg) no-repeat;
  background-size: contain;
  position: absolute;
  right: 7vw;
  top: 49%;
}

#form #send_area p::after {
  content: "";
  display: inline-block;
  width: 3.623vw;
  height: 4.348vw;
  background: url(../../../assets/images/common/contact-arr-wh.svg) no-repeat;
  background-size: contain;
  position: absolute;
  right: 10vw;
}

#form #send_area p::after {
  top: 33%;
}

#form .confirm_button, #form #back_button, input[type="submit"] {
  border: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 86.6vw;
  font-size: 3.382vw;
  line-height: 2;
  letter-spacing: 0.08em;
  color: #2A2A2F;
  padding: 5.8vw 0;
  font-family: inherit;
  position: relative;
  top: 0;
  transition: 0.2s ease-in-out;
  display: block;
  margin-inline: auto;
}

#form .confirm_button {
  border: 0.2vw solid #2A2A2F;
  background: #fff;
}

input[type="submit"]  {
  background-color: #00388D;
  color: #fff;
}

#form #back_button {
  background-color: #00A1C2;
  color: #fff;
}

/* プライバシーポリシー */
.priv-text {
  padding: 3vw;
  height: 40vw;
  margin-bottom: 5vw;
  overflow-y: scroll;
  border: #B3B3B3 solid 1px;
  background: #fff;
}

.priv-text p {
  margin-bottom: 4vw;
  padding-bottom: 4vw;
  border-bottom: 0.2vw solid #ccc;
}

.priv {
  margin-bottom: 5vw;
}

.priv-text .tt {
  margin-bottom: 3vw;
  font-size: 4.8vw;
}

.privtext {
  margin-bottom: 18vw;
}

/*必須ボタン*/
.required p {
  position: relative;
  display: block;
}

.required p::after{
  content: "必須";
  color: #fff;
  background: #00A1C2;
  font-size: 2.899vw;
  line-height: 1.6;
  letter-spacing: 0.1em;
  border-radius: 0.725vw;
  padding: 1vw 3.966vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 3vw;
  white-space: nowrap;
}
}