@charset "utf-8";

/* -------------------------------------------------- */

.main {
  background-image: url(../img/main-contact.webp);
}

.section-1 .inner .wrap .content-wrap .content-text .text-wrap {
  text-align: center;
}

.btn-tel {
  margin: 0;
}

@media screen and (min-width: 768px) {
	.section .inner .wrap .content-wrap .content-text .text-wrap {
    align-items: center;
  }
}

/* -------------------------------------------------- */

.form {
	width: 100%;
}

.form_area {
  width: 100%;
  margin: 0 auto 0;
}

.tbl-form {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

th,
td {
  display: block;
  padding: 12px 0;
  border: 0;
  /* border-bottom: 1px #333333 solid; */
  text-align: left;
  font-weight: inherit;
}

th {}

td {
	/* padding-top: 0; */
	border-bottom: 1px #000000 solid;
}

.last_line td {
	border-bottom: 0;
}

.must {
	margin-left: 12px;
  color: #ff0000;
}

.address {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 12px;
}

.address_1 {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 24px;
}

.address_1 input {
	width: 25%;
}

/* ↓ ラジオボタン ↓ */

.radio td .flex {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 12px;
}

.radio label {
    position: relative;
	display: block;
    cursor: pointer;
    padding-left: 1.5rem;
}

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

.radio label::before {
    background-color: #fff;
    border: 1px solid #364246;
    width: 1em;
    height: auto;
	aspect-ratio: 1 / 1;
    left: 0;
}

.radio label::after {
    background-color: #364246;
    opacity: 0;
    width: 0.6em;
    height: auto;
	aspect-ratio: 1 / 1;
    left: 4px;
}

.radio label:has(input[type="radio"]:checked):after {
    opacity: 1;
}

.radio_telmail label::before,
.radio_telmail label::after {
  border-radius: 50%;
}

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

/* ↑ ラジオボタン ↑ */

.input-text {
  width: 100%;
  max-width: 100%;
  min-height: 2em;
  padding: 0.5em;
  border: 1px #000000 solid;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: #f4f3f3;
}

.textarea {
  width: 100%;
  max-width: 100%;
  min-height: 10em;
  padding: 0.5em;
  border: 1px #000000 solid;
  border-radius: 9px;
  box-sizing: border-box;
  background-color: #f4f3f3;
}

.textarea_2 {
  min-height: 0;
}

.info_area {}

.info_area .info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 24px;
	width: 100%;
	margin: 10% auto 0;
	padding: 5%;
	border: 1px #333333 solid;
}

.info_area .info .text {}

.info_area .info .text .title {
  font-weight: 900;
}

.info_area .radio {
  margin-top: 2.5%;
}

.info_area .radio label::before,
.info_area .radio label::after {
  border-radius: 0;
}

.form_submit_btn {
  position: relative;
  display: block;
  margin: 12px auto 0;
}

.form_submit_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-25%, -50%);
  width: auto;
  height: 75%;
  aspect-ratio: 1 / 1;
  background-image: url(../img/);
  background-repeat: no-repeat;
  background-size: contain;
}

.input-button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto 0;
  padding: 16px;
  border: 0;
  background: #000000;
  text-align: center;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .form {}

	th,
	td {
		display: table-cell;
		padding: 12px 0;
		border-bottom: 1px #000000 solid;
		vertical-align: middle;
	}

	th {
		width: 40%;
    padding-right: 12px;
		border-right: 1px #000000 solid;
	}

	td {
    width: 60%;
		padding-left: 12px;
	}

	.radio td {
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
	}

	.last_line th,
	.last_line td {
		border-bottom: 0;
		vertical-align: top;
	}

	.form_submit_btn {
		width: 240px;
	}
}

@media screen and (min-width: 1280px) {
  .form_area {
		width: 100%;
	}

  th {
    padding: 24px;
    padding-left: 0;
  }

  td {
    padding: 24px;
    padding-right: 0;
  }

  .radio td .flex {
    flex-direction: row;
    align-items: center;
  }
}

@media screen and (min-width: 1440px) {
	.form {}

	.form_area {
		width: 100%;
	}

	th,
	td {}

  .form_text {}

  .radio label {}

  .radio label::after {}

	.form_submit_btn {
		width: 360px;
    margin: 24px auto 0;
	}

	.input-button {}
}

@media screen and (min-width: 1920px) {
  .form_area {}
}

/* -------------------------------------------------- */
