@charset "UTF-8";

/* 全体の設定
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
	box-sizing: border-box;
	font-size: 62.5%;
}

body {
	color: #111;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	background: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

img {
	max-width: 100%;
	height: auto;
}


/* グリッド
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
	margin: 0 auto;
	max-width: 1024px;
	padding: 0 2.0rem;
}


/* リンク
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
	display: block;
	color: #111;
	text-decoration-line: none;
}

a:hover {
	color: #eb5f00;
}


/* 見出し
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1 {
	background-color: #eb5f00;
	text-align: center;
	padding: 0.5rem;
	margin: 0;
	color: #fff;
	font-size: 1.4rem;
	font-weight: normal;
}

h3 {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0 auto 5.0rem;
	text-align: center;
	font-size: 4.0rem;
}

h3 span {
	font-size: 1.6rem;
	font-weight: normal;
}

h3 span::before {
	content: "/";
	font-size: 2.0rem;
	margin: 0 2.0rem;
}

h4 {
	display: flex;
	align-items: center;
  justify-content: center;
	text-align: center;
	padding: 0;
	margin: 0 auto 1.0rem;
	font-size: 2.0rem;
}

h4:before, h4:after {
	border-top: 1px solid #111;
	content: "";
	width: 2.0rem;
}

h4:before {
	margin-right: 1.0rem;
}

h4:after {
	margin-left: 1.0rem;
}


@media screen and (max-width: 575.98px) {
	h1 {
		font-size: 1.2rem;
	}
	h3 {
		margin-bottom: 2.0rem;
		font-size: 2.8rem;
	}
	h3 span::before {
		margin: 0 1.0rem;
	}
}


/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
	flex-direction: row;
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0;
	margin: 2.0rem 0;
}

.logo {
	margin-right: auto;
}

.header .company-btn a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #333;
	text-decoration: none;
	padding: 1.5rem 2.0rem;
}

.header .contact-btn {
	margin-left: 1.5rem;
}

.header .contact-btn a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #333;
	text-decoration: none;
	padding: 1.5rem 2.0rem;
	color: #fff;
}

.header .header-btn a:hover {
	transition: 0.5s;
	background-color: #eb5f00;
	border: 1px solid #eb5f00;
	color: #fff;
}

@media screen and (max-width: 575.98px) {
	.header .company-btn {
		display: none;
	}
	.header .contact-btn a {
		padding: 1.0rem;
		font-size: 1.4rem;
	}
}


/*メインビジュアル
-------------------------------------*/
.mainimg {
	background-image: url('../img/mainvisual.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom;
	height: 500px;
}

h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-top: 3.0rem;
	font-size: 4.0rem;
}

@media screen and (max-width: 575.98px) {
	.mainimg {
		height: 300px;
	}
	h2 {
		padding-top: 1.0rem;
		font-size: 3.0rem;
		line-height: 1.2;
	}
}
@media screen and (min-width: 576px) {
	h2 br {
		display: none;
	}	
}


/*メインコンテンツ
-------------------------------------*/
section {
	margin: 0;
	padding: 8.0rem 0;
}

main section:first-of-type {
	background-color: #f1f1f1;
}

@media screen and (max-width: 575.98px) {
	section {
		padding: 4.0rem 0;
	}
}


/*キャッチコピー
-------------------------------------*/
.catch {
	text-align: center;
	margin: 8.0rem 0;
}

.catch p {
	font-size: 1.8rem;
	letter-spacing: 0.1rem;
}

@media screen and (max-width: 575.98px) {
	.catch {
		margin: 4.0rem 0;
	}
	.catch p {
		text-align: left;
	}
	.catch p br {
		display: none;
	}
}



/*会社概要
-------------------------------------*/
.company table {
	width: 100%;
	margin: 0 auto;
}

.company table tr {
	border-bottom: 1px solid #b5b1b1;
}
.company table tr:first-of-type {
	border-top: 1px solid #b5b1b1;
}

.company table th,
.company table td {
	padding: 3.0rem 0;
	border: none;
}

.company table th {
	width: 20%;
}

.company table td {
	padding-left: 5.0rem;
}

@media screen and (max-width: 575.98px) {
	.company table th,
	.company table td {
		width: 100%;
		display: block;
	}

	.company table th {
		width: 100%;
		text-align: left;
		padding: 2.0rem 0 0;
	}

	.company table td {
		padding: 1.0rem 0 2.0rem;
	}
}


/* お問合せ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.tel {
	margin-bottom: 5.0rem;
}

.tel p {
	text-align: center;
	margin: 0;
	color: #eb5f00;
	font-size: 5.0rem;
	line-height: 1;
	font-weight: bold;
}

/* フォーム
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.essential {
	border: 1px solid #f00;
	border-radius: 5px;
	padding: 0.3rem 0.8rem;
	margin-left: 1.0rem;
	color: #f00;
	font-size: 1.2rem;
	font-weight: normal;
}

.formTable {
	width: 100%;
	margin-top: 2.0rem;
}

.formTable tr {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 40px;
}

.formTable tr th {
	font-weight: normal;
	width: 250px;
	text-align: left;
}

.formTable tr-address {
	flex-wrap: wrap;
}

.formTable tr-address .formTable input {
	margin-bottom: 10px;
}

.formTable input {
	border: none;
	border: 1px solid #999;
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	padding: 0 0.5rem;
	letter-spacing: 0.05em;
}

.formTable tr td {
	width: calc(100% - 250px);
}

input::placeholder {
	color: #999;
	font-size: 1.6rem;
}

textarea {
	border: none;
	border: 1px solid #999;
	resize: vertical;
	width: 100%;
	height: 200px;
	padding: 1.0rem 0.5rem;
}

input[type="text"] {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.submit-button {
	box-sizing: border-box;
	position: relative;
	display: block;
	background-color: #eb5f00;
	cursor: pointer;
	border: 1px solid #eb5f00;
	border-radius: 5px;
	text-align: center;
	margin: 0 auto;
	padding: 2.0rem 5.0rem;
	line-height: 1;
	color: #fff;
	font-size: 1.6rem;
	text-decoration: none;
	outline: none;
	-webkit-transition: all .3s;
	transition: all .5s;
}

.submit-button:hover {
	background: #fff;
	border: 1px solid #eb5f00;
	color: #eb5f00;
}

.form p {
	margin: 0;
}

@media(max-width:1024px) {
	.formTable tr th {
		width: 180px;
	}
	.formTable tr td {
		width: 100%;
	}
	.formTable input {
		width: 500px;
		height: 40px;
	}
	textarea {
		width: 500px;
		height: 200px;
	}
}
@media(max-width:834px) {
	.formTable input {
		width: 100%;
		height: 30px;
	}
	textarea {
		width: 100%;
		height: 200px;
	}
	.formTable tr {
		flex-wrap: wrap;
		margin-bottom: 20px;
	}
	.formTable tr th {
		font-size: 1.6rem;
		width: 200px;
		margin-bottom: 10px;
	}
	.formTable tr td {
		font-size: 1.6rem;
	}
	.formTable tr td {
		width: 100%;
	}
}
@media(max-width:320px) {
	.formTable input {
		width: 100%;
	}
	textarea {
		width: 100%;
	}
}


/*フッター
-------------------------------------*/
footer {
	background-color: #111;
}

.copyright {
	text-align: center;
	padding: 3.0rem 0;
	margin: 0;
	color: #fff;
}


/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
	position: fixed;
	bottom: 50px;
	right: 50px;
	display: block;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #999;
	padding-top: 30px;
	text-align: center;
	text-decoration: none;
	opacity: 0.8;
}

#pagetop::after {
	content: "";
	display: block;
	border-top: 2px solid #333;
	border-right: 2px solid #333;
	width: 25%;
	height: 25%;
	top: 45%;
	left: 0;
	right: 0;
	margin: auto;
	position: absolute;
	transform: rotate(-45deg);
}

#pagetop:hover {
	opacity: 0.5;
}

@media screen and (max-width: 575.98px) {
	#pagetop {
		bottom: 20px;
		right: 20px;
	}
}




/*お問い合わせ画面
-------------------------------------*/
.logo-mail {
	text-align: center;
	margin: 1.0rem auto 2.0rem;
}

.error_messe {
	color: #f00;
}
