@charset "UTF-8";

.title {
	height: 200px;
	background-image: url(../images/bg-main.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #ffffff;
	text-shadow: 1px 1px 10px #4b2c14;
}

.head {
  position: relative;
}

.title h1 {
	font-family: 'Montserrat',sans-serif;
	font-size: 32px;
	font-weight: bold;
}

.title p {
	font-size: 14px;
	margin-top: 15px;
}

main h2 {
	font-size: 22px;
	font-weight: bold;
  text-align: center;
}

main h2::after {
	content: '';
	display: block;
	width: 70px;
	height: 3px;
	background-color:#000000;
	margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.inq_result {
  margin-top: 40px;
  width: 930px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  font-family: 'Montserrat',sans-serif;
  font-weight: bold;
}

.inq_table {
  margin-top: 40px;
  width: 930px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  table-layout: fixed;
  border-collapse: collapse;
}

.inq_table td a {
  display: block;
  margin: 0;
  padding: 0;
}

.inq_table td,
.inq_table th {
  padding: 15px;
  white-space: pre-line;
  word-break:break-all;
}

.head {
  position: relative;
}

.inq_table th {
  font-size: 20px;
  background-color: #24211b;
  position: sticky;
  top: 0;
  left: 0;
  color: #fff;
}

.inq_table td {
  border-bottom: 2px solid #4d4b4b;
}

.inq_table_fin td {
  background-color: #fff;
}

.inq_table_fin {
  margin-top: 80px;
}

.inq_table td:nth-child(1),
.inq_table th:nth-child(1) {
  width: 120px;
  font-weight: bold;
}

.inq_table td:nth-child(2),
.inq_table th:nth-child(2) {
  width: 300px;
}

.contact-result {
  width: 930px;
  max-width: 90%;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.send-result {
  margin-left: 15px;
  margin-top: 40px;
  display: flex;
}

.send-result {
  display: flex;
  flex-direction: row;
}

.required {
  display: inline-block;
  color: #e94949;
  font-size: 14px;
}

.send-result .radio-button {
  display: inline-block;
  width: 80px;
}

.send-message {
  margin-top: 20px;
  margin-left: 15px;
  display: flex;
}

.result-form-area  p {
  width: 200px;
  font-weight: bold;
}

.message {
	width: 100%;
	height: 150px;
  margin-left: 20px;
	padding: 10px;
	line-height: 1.5;
	border: 1px solid;
}

.confirm-text,
.submit-button {
  padding: 15px;
  margin-top: 20px;
}

.insert_db_fin  a {
  display: block;
  width: 930px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  color: blue;
  text-decoration: underline;
  text-decoration-color: blue;
}

.db_insert {
  width: 930px;
  max-width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 50px;
}

.submit-button {
    background-color: #f4dd64;
    display: inline-block;
    min-width: 180px;
    padding: 0;
    height: 30px;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    border: none;
}

.submit-button a {
  display: inline-block;
  width: 180px;
}

.return a {
  display: block;
  width: 180px;
  background-color: #777;
  margin: 20px 0 0 15px;
  color: #fff;
  border-radius: 15px;
  text-align: center ;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 0;
}
  
.submit-button:hover {
    background-color: #d8b500;
  }

.return-page:hover {
  background-color: #555;
}

.footer {
  margin-top: 100px;
}

.re_db_content {
  width: 100%;
  height: 100vh;
  position: fixed;
  background-color: rgb(170, 170, 170, 0.9);
	display: flex;
	flex-direction: column;
	align-items: center;
	top: 0;
  left: 0;
	z-index: 2;
}

.res-message {
  line-height: 1.5;
}

.fin_pdo_wrapper {
	width: 930px;
	max-width: 90%;
	margin-top: 40px;
	margin-left: auto;
	margin-right: auto;
	background-color: #6f6e6e;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 30px;
	margin-bottom: 200px;
	padding: 20px 20px;
}

.fin_pdo a {
	display: block;
  color: #fff;
  text-decoration: underline;
  text-decoration-color:#fff;
  text-align: center;
  margin-top: 20px;
}

.return_mss {
	text-align: center;
	color: #fff;
}



