@charset "utf-8";
/*
Theme Name:   Custom for Sanwaglass
Theme URI:    https://sanwaglass.jp
Description:  三和硝子株式会社のためのカスタムテーマ。
Author:       Terra System Co., Ltd.
Author URI:   https://www.terra-system.jp
Template:     serum_tcd096
Version:      2.8.2
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  tcd-serum
*/

/* 関連記事の非表示 */

#related_post {
	display: none !important;
}

/* 投稿アイキャッチ非表示 */

#single_post_image {
	display: none;
}

/* トップページ投稿日非表示 */

body.home .cb_carousel .splide__slide .content time.date {
	display: none !important;
}

/* 商品・サービス投稿日非表示 */

body.category-lineup #archive_blog time.date.entry-date.published {
	display: none !important;
}

.single-post #single_post_title .date,
.single-post #single_post_title .update {
	display: none !important;
}

/* パンくずリスト記事一覧の非表示 */

#bread_crumb li:has(> a[href="https://sanwaglass.jp/article/"]) {
	display: none !important;
}

#bread_crumb li:has(> a[href="https://sanwaglass.jp/business_category/entrance/"]) {
	display: none !important;
}

#bread_crumb li:has(> a[href="https://sanwaglass.jp/business_category/exterior/"]) {
	display: none !important;
}

/* Googlemap */

.googlemap {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
}

.googlemap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 標準カードリンク */

.cardlink {
	background: #ffffff;
	border: 1px solid #dddddd;
}

.cardlink .date {
	display: none;
}

/* カードリンク */

.cardlink-list {
	margin: 3em 0 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}

.cardlink-list.cardlink-list-company {
	margin: 0 !important;
}

.cardlink-list li {
	width: calc(50% - 1em);
}

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

	.cardlink-list li {
		width: 100%;
	}
}

.cardlink-list .cardlink {
	margin: 0 !important;
}

.cardlink-list .cardlink:hover {
	text-decoration: none !important;
}

.cardlink-list .cardlink h3 {
	margin: 0 auto;
	text-align: center;
}

.cardlink-list .cardlink h3 i {
	margin: 0 0.4em 0 0;
}

/* DLカード */

.dl-card {
	margin: 0 !important;
	padding: 0 !important;
}

.dl-card dd h3 {
	color: #1aafdb;
	text-align: center;
	margin: 0 0 0.25em 0;
}

.dl-card dd .solutions-title {
	color: #1aafdb;
	text-align: center;
	margin: 1.75em 0 0.25em 0;
}

.dl-card dd h4 {
	text-align: center;
	font-size: 1em;
	margin: 0 0 1em 0;
}

.dl-card dd p {
	line-height: 2.0;
	margin: 0 0 0.75em 0;
}

.dl-card dd a {
	font-size: 0.85em;
	display: block;
	text-align: right;
	background: #1aafdb;
	color: #ffffff;
	padding: 0.5em 1em 0.5em 1em;
}

.dl-card dd a:hover {
	text-decoration: none !important;
}

.dl-card dd a i {
	margin: 0 0.4em 0 0;
}

.dl-card dt a {
	position: relative;
}

.dl-card dt a .dl-card-icon {
	position: absolute;
	left: 50%;
	bottom: -30px;
	transform: translateX(-50%);
	width: 60px;
	height: 60px;
}

/* DL共通 */

.dl-common dt {
	color: #1aafdb;
}

/* チェックリスト */

.list-check {
	list-style: none !important;
}

.list-check li {
	color: #0c7ea6;
	font-size: 1.25em;
	font-weight: bold;
}

.list-check li i {
	color: #a60c0c;
	margin-right: 0.4em
}

/* 共通リスト */

.list-common {
	list-style: none !important;
}

.list-common li {
	font-size: 1.25em;
	font-weight: bold;
}

.list-common li i {
	margin-right: 0.4em
}

/* 工事の流れ */

.construction-flow {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	gap: 1em;
}

.construction-flow dl {
	flex: 0 1 calc(25% - 1em);
	box-sizing: border-box;
	text-align: center;
}

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

	.construction-flow dl {
		flex: 0 1 calc(50% - 1em);
	}
}

/* カラーリスト */

.list-color {
	display: flex;
	gap: 1em;
}

.list-color div {
	font-size: 0.75em;
	text-align: center;
}

.list-color div img {
	margin-bottom: 0.5em;
}

/* お悩みメニュー画像 */

.solutions-image {
	margin: 0 auto 1em auto;
	width: 260px;
	height: 260px;
	padding: 1em;
	border: 1px solid #dddddd;
	box-sizing: border-box;
	background-color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.solutions-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

/* 沿革 */

.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 dt::after {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f105";
	margin-left: 1.25em;
	color: #1aafdb;
	font-size: 0.85em;
}

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

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

.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: #1464a0;
}

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

.required {
	font-size: 0.75em;
	padding: 0.25em 0.5em 0.25em 0.5em;
	margin-left: 0.5em;
	background: #a02828;
	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;
}
