@charset "utf-8";
/*
Theme Name:   Custom for MYM
Theme URI:    https://my-mechanical.com
Description:  株式会社MYメカニカルのためのカスタムテーマ。
Author:       Terra System Co., Ltd.
Author URI:   https://www.terra-system.jp
Template:     genesis_tcd103
Version:      1.14.2
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  tcd-genesis
*/

/* 沿革 */

.history-dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	row-gap: 0.75em;
	column-gap: 1.5em;
	margin: 0;
	padding: 0;
}

.history-dl dt {
	font-weight: bold;
	text-align: left;
	margin: 0;
	padding: 0.5em 0 0 0;
	position: relative;
}

.history-dl dd {
	margin: 0;
	padding: 0.5em 0 0 0;
	border-bottom: 1px solid #e0e0e0;
}

.history-dl dd::before {
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	content: "\f101";
	margin-right: 1em;
	color: #c11c35;
	font-size: 0.85em;
}

@media (max-width: 600px) {

	.history-dl {
		grid-template-columns: 1fr; /* 1カラムにする */
	}

	.history-dl dt {
		padding: 0 0 0.5em 0;
		border-bottom: 1px solid #e0e0e0;
	}

	.history-dl dd::before {
		display: none;
	}

	.history-dl dd {
		padding: 0;
		border-bottom: none;
	}

	.history-dl dd::before {
		margin-right: 1em;
	}

}

/* テーブルの調整 */

.rps_table th {
	white-space: nowrap;
}

@media only screen and (max-width: 600px) {

	.rps_table {
		border: none !important;
	}

	.rps_table tr {
		display: block;
		margin-bottom: 1.5em;
	}

	.rps_table th, .rps_table td {
		display: list-item;
		list-style-type: none;
		border: 1px solid #dddddd;
	}

	.rps_table td {
		border-top: none;
	}

}

/* テーブルの中のDLを横並びに */

.rps_table td dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	row-gap: 0.5em;
	column-gap: 1.5em;
	margin: 0;
	padding: 0;
}

.rps_table td dt {
	font-weight: normal;
	text-align: left;
	margin: 0;
	padding: 0.5em 0 0 0;
	position: relative;
}

.rps_table td dd {
	margin: 0;
	padding: 0.5em 0 0 0;
}

/* コンタクトフォーム */

.wpcf7 {
	background: #ffffff !important;
	border: none !important;
	box-sizing: border-box !important;
}

.wpcf7 form {
	margin: 0 !important;
}

.wpcf7-list-item {
	display: inline-block !important;
}

.wpcf7 .wpcf7-submit {
	background-color: #c11c35;
}

.wpcf7 .wpcf7-submit:hover {
	background-color: #152b63;
}

.required {
	font-size: 0.75em;
	padding: 0.25em 0.5em 0.25em 0.5em;
	margin-left: 0.5em;
	background: #c11c35;
	color: #ffffff;
}

.form-dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	row-gap: 1em;
	column-gap: 1em;
	margin: 0;
	padding: 0;
}

.form-dl dt {
	font-weight: bold;
	text-align: left;
	margin: 0;
	padding: 0 0 1em 0;
	border-bottom: 1px solid #e0e0e0;
}

.form-dl dd {
	margin: 0;
	padding: 0 0 1em 0;
	border-bottom: 1px solid #e0e0e0;
}

.form-dl dt:last-of-type {
	border-bottom:  none;
}

.form-dl dd:last-of-type {
	border-bottom:  none;
}

@media (max-width: 800px) {

	.form-dl {
		grid-template-columns: 1fr;
		row-gap: 0;
		column-gap: 0;
	}

	.form-dl dt {
		padding: 1em 0 1em 0;
		border-bottom: none;
	}

}

/* お問い合わせ */

.contact-tel {
	margin: 3em 0 3em 0;
	text-align: center;
}

.contact-tel a {
	font-size: 3em;;
	font-weight: bold;
}

.contact-tel a i {
	margin-right: 0.25em;
}

.contact-tel a:hover {
	text-decoration: none !important;
}

/* オーバーレイの上のロゴ */

#site_loader_overlay img {
	filter: drop-shadow(0 0 1em rgba(255, 255, 255, 0.9));
}

@media only screen and (max-width: 600px) {

	#site_loader_overlay img {
		
		width: 90%;
		max-width: 300px;
		height: auto;		
	}

}

/* アイキャッチ画像非表示 */
#single_post_header_image { display: none; }