@charset "UTF-8";
/*
Theme Name: テンプレート
Description: ホームページ用のテーマ
Author: 株式会社ティー・エム・シー
Version: 1.0
*/

/* Webフォント */
@font-face {
	font-family: 'GenJyuuGothic';
	font-style: normal;
	font-weight: 400;
	src: url("/wp/wp-content/themes/xxxxxxxxx/font/GenJyuuGothic-Medium.woff") format('woff');
}

@font-face {
	font-family: 'GenJyuuGothic';
	font-style: bold;
	font-weight: 500;
	src: url("/wp/wp-content/themes/xxxxxxxxx/font/GenJyuuGothic-Bold.woff") format('woff');
}

.mincho {
	font-family: "Noto Serif JP" ,"游明朝", "Yu Mincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HGS明朝E", serif;
}

/* 全体デザイン ここから */
body{
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: 100%;
	font-family: 'Noto Serif JP', sans-serif;
}

@media print {
	body{
		color: #000;
	}
}

header,footer,main,article,section,aside {
	display: block;
}

p {
	margin: 5px 0;
	line-height: 1.7em;
}

a {
	text-decoration: none;
	transition: 0.2s;
	color: #0D47A1;
}

a:visited {
	
}

a:hover, a:active {
	text-decoration: underline;
}

a.button {
	display: block;
}

a.button:hover {
	opacity: 0.9;
	text-decoration: none;
}

ul {

}

ol {

}

img {
	display: block;
}

/* clearfix */
.clearfix:after{
	display : block;
	clear : both;
	height : 0px;
	line-height: 0px;
	visibility: hidden;
	content : ".";
	font-size: 1.0em;
}

/* FlexBox */
.flex-box {
	display: flex;
}

header#header {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 2;
}

/* コンテンツ領域幅設定 */
.contents-area {
	width: 100%;
	max-width: 1050px;
	margin: 0 auto;
	padding: 0 10px;
	box-sizing: border-box;
}

main {}

/* 章スタイル */
.page h2 {
	
}

.page h3 {
	
}

/* パンくずリスト */
#breadcrumbs {
	padding-top: 20px;
	font-size: 15px;
}

#breadcrumbs a {
	color: #1976D2;
}

/* 固定ページ */
.page #header-img {
	width: 100%;
	height: 320px;
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
}

.page #header-img h1 {
	color: #FFF;
	font-size: 35px;
	font-weight: bold;
	text-shadow: 0px 0 8px #000;
}

.page h2 {
	display: table;
	margin: 40px auto 20px;
	border-bottom: dotted 3px #2961B4;
	color: #2961B4;
	font-size: 28px;
}

/* 記事ページ */
.single h1 {
	margin: 0;
	padding-bottom: 3px;
	border-bottom: dotted 3px #43A047;
	font-size: 1.5em;
	font-weight: bold;
}

/* アーカイブページ */
.archive h1 {
	font-size: 28px;
	text-align: center;
}

.archive #topics-list {
	list-style: none;
	margin: 40px 0 0;
	padding: 0;
}

.archive .topics-list-item {
	margin: 8px 0;
}

.archive .topics-list-item > a {
	display: flex;
	width: 100%;
	height: 100%;
	padding: 15px 20px;
	background: #E7E9F5;
	border-radius: 10px;
	box-sizing: border-box;
	color: #000;
	text-decoration: none;
}

.archive .topics-list-item > a:hover {
	background: #D3D7F5;
	box-shadow: 2px 2px 5px #BBB;
}

.archive .topics-list-item > a:active {
	background: #C6CDF5;
	box-shadow: none;
}

.archive .topics-list-item-left {
	display: flex;
}

.archive .topics-date {
	width: 5.5em;
	margin-right: 1em;
	color: #E65100;
	font-size: 17px;
}


/* 404ページ */
#notfound-msg {
	margin: 100px 0;
	color: #666;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

/* ヘッダー */

#header {
	margin: 0px;
	padding: 0px;
}

#header-title {
	margin: 0px;
	padding: 0px 0px 0px 30px;
	display: flex;
	justify-content: space-between;
	background: linear-gradient(to right, #192e72, #187fc3);
	vertical-align: middle;
}

.header-logo {
	display: flex;
	align-items: center;
}

.header-logo img {
	margin: 0px;
	padding: 0%;
	width: 300px;
}

.header-logo img:hover {
	opacity: 0.8;
}


.header-text {
	margin: 0px;
	padding: 0px;
	text-align: center;
}

.header-text p {
	margin: 0px;
	padding: 0px;
	font-size: 18px;
	font-weight: normal;
	color: #3a3033;
	line-height: 31px;
	letter-spacing: 0px;
}

.herder-tel {
	margin: 0px;
	padding: 0px;
	font-size: 28px;
	font-weight: 500;
	color: #3a3033;
}

.header-title-sp {
	display: none;
}

#main-menu2 {
	display: none;
}

#main-menu {
	display: block;
	font-family: serif;
	font-weight: 900;
}

/*フッター*/

#footer {
	margin: 0px;
	padding: 50px 0px 50px 0px;
	background:linear-gradient(to right,#192e72, #187fc3);
}

.footer-title {
	margin: 0px;
	padding: 0px;
	display: flex;
	justify-content: center;
	text-align: left;
}

.footer-rogo img {
	margin: 16px 0px 0px 0px;
	padding: 0px;
	width: 90%;
}

.footer-rogo img:hover {
	opacity: 0.8;
}

.footer-text {
	margin: 0px;
	padding: 0px 0px 0px 20px;
	font-size: 14px;
	font-weight: 400;
	color: #ffffff;
	font-family: serif;
	letter-spacing: 1px;
}

#footer-menu {
	margin: 0px;
	padding: 0px;
}

#footer-menu ul {
	margin: 20px 0px 0px 0px;
	padding: 0px;
	display: flex;
	justify-content: center;
	list-style-type: none;
	text-decoration-line: none;
}

#footer-menu li {
	margin: 0px 33px;
	padding: 0px;
	font-size: 16px;
	font-weight: 400;
	color: #ffffff;
	font-family: serif;
	
}

#footer-menu a {
	color: #FFFFFF;
}

/*add*/

/*ニュース・施工例 共通設定*/
.news-list-header,
.example-header {
	width: 100%;
	height: 320px;
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
}

.news-list-header h1,
.example-header h1,
.header-title-text {
	color: #FFF;
	font-size: 35px;
	font-weight: bold;
	text-shadow: 0px 0 8px #000;
}

.example-header h1 {
	text-shadow: 3px 3px 5px #000, -3px 3px 5px #000, 3px -3px 5px #000, -3px -3px 5px #000;
}

/*カテゴリーなし*/
/*.cat-link ul li.cat-item-none {
	display: none;
}*/

/* SP */
@media screen and (max-width:767px) {
	.news-list-header,
	.example-header {
		height: 150px;
	}

	.news-list-header .header-title-text,
	.example-header .header-title-text {
		font-size: 26px;
	}	
}

/*ニュース設定*/

/*ニュースリスト*/
.news-list-header {
	background-image: url(/wp/wp-content/uploads/2022/04/Company_header1.jpg);
}

.news-contents ul.news-list {
	margin: 15px 0 30px;
	padding: 0;
}

/*
section#news ul.news-list : ホーム
.news-contents ul.news-list : お知らせ一覧
*/

/*現在、最新情報はありません。*/
/*ホーム*/
/*投稿が無い場合*/
section#news ul.news-list li.no-data {
	border: none;
	color: #7A7A7A;
	text-align: center;
}

/*一覧*/
.news-contents ul.news-list li.no-data {
	border: none;
	color: #7A7A7A;
}

section#news ul.news-list li,
.news-contents ul.news-list li {
	list-style-type: none;
	border: 1px #b3b3b3 solid;
	background-color: #FFF;
}

section#news ul.news-list li:not(:last-child),
.news-contents ul.news-list li:not(:last-child) {
	margin-bottom: 1.0em;
}

section#news ul.news-list li a,
.news-contents ul.news-list li a {
	display: flex;
	padding: 10px 10px;
	align-items: center;
}

section#news ul.news-list li a:hover,
.news-contents ul.news-list li a:hover {
	background-color: #E0F7FA;
	text-decoration: none;
}

section#news ul.news-list li a .article-info,
.news-contents ul.news-list li a .article-info {
	display: flex;
	align-items: center;
}

section#news ul.news-list li .term-name,
.news-contents ul.news-list li .term-name,
.news-contents article.contents .article-date a {
	display: inline-block;
	/*width: 5.0em;*/
	width: 7.0em;
	font-size: 0.8em;
	text-align: center;
	background-color: #005893;
	color: #FFF;
	border-radius: 3px;
	padding: 2px 0;
}

/*カテゴリー色設定*/
/*お知らせ*/
section#news ul.news-list li.notice .term-name,
.news-contents ul.news-list li.notice .term-name,
.news-contents article.contents .article-date a.notice {
	background-color: #EC407A;
}
/*施工実績*/
section#news ul.news-list li.const-results .term-name,
.news-contents ul.news-list li.const-results .term-name,
.news-contents article.contents .article-date a.const-results {
	background-color: #005893;
}
/*SDGs*/
section#news ul.news-list li.sdgs .term-name,
.news-contents ul.news-list li.sdgs .term-name,
.news-contents article.contents .article-date a.sdgs {
	background-color: #26A69A;
}
/*地域貢献活動*/
section#news ul.news-list li.local-contrib .term-name,
.news-contents ul.news-list li.local-contrib .term-name,
.news-contents article.contents .article-date a.local-contrib {
	background-color: #26A69A;
}


/*施工事例一覧設定*/
.example-header {
	background-image: url(/wp/wp-content/uploads/2023/07/page-background-gradation.jpg);
}

ul.example-list {
	margin: 15px 0 20px;
	padding: 0;
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

ul.example-list li {
	width: 320px;
	border: 1px #b3b3b3 solid;
	margin: 10px 0;
	background-color: #FFF;
}

/*現在、施工事例はありません。*/
ul.example-list li.no-data {
	width: 100%;
	border: none;
	color: #7A7A7A;
}

ul.example-list li .example-box {
	display: flex;
	flex-direction: column;
	height: 100%;
}

ul.example-list li .example-box .photo {
	height: 195px;
	overflow: hidden;
}

ul.example-list li .example-box .photo img {
	width: 100%;
	height: auto;
}

.example-box .basic-data {
	padding: 10px;
}

.example-box .basic-data .cat-name a {
	display: block;
	text-align: center;
	padding: 5px 0;
	background-color: #edf3f7;
	color: #005893;
}

/*表*/
.example-box .basic-data table {
	border-collapse: collapse;
	width: 100%;
	margin-top: 5px;
}

.example-box .basic-data table th,
.example-box .basic-data table td {
	padding: 5px 0;
}

.example-box .basic-data table tbody th {
	width: 5.0em;
	font-weight: normal;
	color: #338ec1;
	text-align: left;
	vertical-align: top;
}

.example-box .basic-data table tbody td {
	color: #666666;
}

.example-box .basic-data table tbody tr:first-child td,
.example-box .basic-data table tbody tr:nth-child(2) td {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden
}
	
.example-box .basic-data table tbody tr:last-child td {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden
}


.example-box .more-link {
	margin-top: auto;
	margin-bottom: 10px;
	text-align: center;
}

.example-box .more-link a {
	display: inline-block;
	padding: 5px 20px;
	border: 1px #7fabc9 solid;
	color: #005893;
	background-color: #FFF;

}

.example-box .more-link a span {
	margin-left: 1.0em;
}

.example-box .more-link a:hover {
	text-decoration: none;
	background: -moz-linear-gradient(left, #0ba9e2, #192e72);
	background: -webkit-linear-gradient(left, #0ba9e2, #192e72);
	background: linear-gradient(to right, #0ba9e2, #192e72);
	color: #FFF;
}

/*施工事例 カテゴリー別リスト*/
.example-list2 .example-box {
	margin-bottom: 20px;
}

.example-contents .cat-link ul {
	padding-left: 0;
	display: flex;
}

.example-contents .cat-link ul li {
	list-style-type: none;
}

/* SP */
@media screen and (max-width:767px) {
	.example-contents ul.example-list li {
		width: 100%;
	}
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width:1024px) {
	.example-contents ul.example-list {
		justify-content: space-around;
	}
}

/*各課ページ　直近施工例*/
section#example-last ul.example-list li .example-photo {
	height: 195px;
	overflow: hidden;
}

section#example-last ul.example-list li .example-photo img {
	width: 100%;
	height: auto;
}

section#example-last ul.example-list li .example-title {
	padding: 5px 0;
	text-align: center;
}

/*投稿が無い場合*/
section#example-last ul.example-list li.no-data {
	color: #7A7A7A;
	text-align: center;
}

/*ページネーション*/
#pagination-area {
	text-align: center;
}

#pagination-area .nav-links {
	margin-top: 20px;
	margin-bottom: 30px;
}

#pagination-area .nav-links span,
#pagination-area .nav-links a {
	padding: 5px 10px;
	border-radius: 3px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/*カレント*/
#pagination-area .nav-links span.current {
	background-color: #E3F2FD;
}

.headline-item {
	background-image: url(/wp/wp-content/uploads/2022/11/h2-bg_02.jpg);
}

/* Tablet */
@media only screen and (min-width:767px) and (max-width:1024px) {
	#mega-menu-wrap-mainmenu {
		background: rgba(255 255 255 1);
	}

	header#header #header-title nav#main-menu #mega-menu-wrap-mainmenu ul#mega-menu-mainmenu > li.mega-menu-item > a.mega-menu-link {
	padding: 0px 10px 0px 10px;
	font-size: 16px;
	}
}