@charset "utf-8";

/* 無効化されたフォーム関連CSSの復活　*/

/* 基本 */
button,
input,
select,
textarea {
  appearance: auto;
  border-width: 1px;
}
 
/* 選択系パーツ */
input[type="radio"],
input[type="checkbox"] {
  vertical-align: initial;
}
 
/* ボタン */
input[type="submit"],
input[type="reset"],
input[type="button"] {
  background-color: #f0f0f0;
  font-size: 0.9em;
  padding: 0.2em 0.4em;
  border: solid 1px #666;
  border-radius: 3px;
}
 
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  background-color: #ddd;
  cursor: pointer;
}

/* end 復活 */

/* タイトル　*/

.title {
	height: 310px;
	background-image: url(../images/access/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;
}

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

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

/* マップ */

.map,
.contact {
  width: 930px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

main h2 {
	font-size: 22px;
	font-weight: bold;
	line-height: 30px;
	margin-top: 75px;
}

main h2::after {
	content: '';
	display: block;
	width: 36px;
	height: 3px;
	background-color:#000000;
	margin-top: 20px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 320px;
  margin-top: 25px;
}

.map-detail {
	display: flex;
	flex-direction: column;
	width: 930px;
	max-width: 90%;
	margin-top: 25px;
	margin-left: auto;
	margin-right: auto;
}

.address {
	font-size: 16px;
	font-weight: bold;
}
.tel-no {
	margin-top: 10px;
	font-size: 16px;
	font-weight: bold;
}

/* 問合せフォーム */

.form-area {
	background-color: #f8f8f8;
	border: 1px solid #aaaaaa;
	margin-top: 25px;
	padding: 30px;
	display: flex;
	flex-wrap: wrap;
}

.form-area dt {
	width: 200px;
	padding: 15px 0;
	font-size: 15px;
	font-weight: bold;
	line-height: 24px;
}

.form-area dt .required::after {
	content: "必須";
	font-size: 11px;
	color: #eb4f32;
	margin-left: 10px;
}

.form-area dd {
	width: calc( 100% - 200px );
	padding: 15px 0;
}

.input-text {
	width: 100%;
	max-width: 280px;
	height: 40px;
	padding-left: 10px;
	padding-right: 10px;
	border: solid 1px #666;
}

select {
	width: 200px;
	height: 40px;
	border: solid 1px #666;
}

.radio-button {
	display: block;
	margin-top: 20px;
}

.radio-button:first-child {
	margin-top: 0;
}

.radio-button input {
	margin-right: 8px;
}

.message {
	width: 100%;
	height: 260px;
	padding: 10px;
	line-height: 1.5;
	border: 1px solid;
}

.confirm-text {
	font-size: 16px;
	line-height: 1.5;
	margin-top: 30px;
}

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

.submit-button:hover {
	background-color: #d8b500;
}

.footer {
  margin-top: 100px;
}

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

.inq_table {

	margin-top: 75px;
  width: 930px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  table-layout: fixed;

}

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

.inq_table th {
  font-size: 20px;
  background-color: #4d4b4b;
	color: #fff;
}


.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;
}

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

.fin_pdo  {
	display: block;
  color: #fff;
  text-decoration: underline;
  text-decoration-color:#fff;
}

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

@media (max-width:800px) {

	.map,
	.content {
		width: 500px;
		margin-top: 45px;
	}

	.address,
	.tel-no {
		font-size: 12px;
	}

	.tel-no {
		text-decoration: underline;
	}

	.contact {
		width: 500px;
		margin-top: 45px;
	}

	.form-area dt,
	.form-area dd {
		width: 100%;
	}

	.form-area dt {
		padding-bottom: 0;
	}

	.submit-button {
		width: 100%;
		color: #000;
	}

	.footer {
		margin-top: 50px;
	}

	.inq_table {
		margin-top: 100px;
		width: 90%;
	}
 	
	.inq_table td:nth-child(2),
	.inq_table th:nth-child(2) {
		width: auto;
	}


	.inq_table th {
		padding: 8px;
		font-size: 18px;
	}

	.inq_table td {
		padding: 5px;
		font-size: 14px;
	}

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

	.fin_pdo_wrapper {
		border-radius: 40px;
	}

	.inq_table th {
		font-weight: normal;
	}

	.fin_pdo_wrapper {
		padding: 20px 20px;
		align-items: start;
		}

	.fin_pdo  {
		font-size: 14px;
	}

	.return_mss {
		text-align: left;
		font-size: 14px;
	}

	.fin_pdo_wrapper {
		margin-bottom: 50px;
	}

}