/*
Theme Name: クリエイトサービス（Lightning 子テーマ）
Theme URI: https://create-service.co.jp/
Template: lightning
Description: 旧 BizVektor 改造テーマ「create-service」のデザインを Lightning G3 で再現した子テーマ
Author: CreateService
Version: 1.0.0
Text Domain: create-service-lightning
License: GNU General Public License v2 or later
*/

/* ==========================================================
   基本
   ========================================================== */
:root {
	--cs-main: #006699;
	--cs-main-pale: #eff5ff;
	--cs-text: #666;
	--cs-heading: #333;
	--cs-line: #ccc;
	--vk-color-primary: var(--cs-main);
}

body {
	color: var(--cs-text);
	font-size: 14px;
	line-height: 1.7;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

a {
	color: var(--cs-main);
}

/* 旧サイトの横幅（950px）に合わせる */
.container {
	max-width: 980px;
}

/* ==========================================================
   ヘッダー
   ========================================================== */
.site-header {
	box-shadow: none;
	border-bottom: none;
	background: #fff;
}

.cs-header-top {
	border-bottom: 1px solid #eee;
}

.cs-site-description {
	margin: 0;
	padding: 4px 0;
	color: #999;
	font-size: 12px;
	line-height: 1.5;
}

/* スマホではメニューボタンと重なるため非表示 */
@media (max-width: 991.98px) {
	.cs-header-top {
		display: none;
	}
}

.site-header-logo img {
	max-height: 60px;
}

/* グローバルナビ：上線＋点線区切り、英字サブタイトル */
@media (min-width: 992px) {
	.site-header-container {
		padding-top: 16px;
		padding-bottom: 16px;
		align-items: center;
	}

	.global-nav-list {
		border-top: 2px solid var(--cs-main);
		border-bottom: 1px solid #eee;
	}

	.global-nav-list > li {
		border-left: 1px dotted var(--cs-line);
	}

	.global-nav-list > li:last-child {
		border-right: 1px dotted var(--cs-line);
	}

	.global-nav-list > li > a {
		min-width: 100px;
		padding: 8px 14px;
		color: var(--cs-heading);
		font-size: 13px;
		font-weight: bold;
		line-height: 1.3;
		text-align: center;
	}

	.global-nav-list > li .global-nav-name {
		color: var(--cs-heading);
		font-size: 13px;
	}

	.global-nav-list > li .global-nav-description {
		color: var(--cs-main);
		font-size: 10px;
		font-weight: normal;
		letter-spacing: 0.05em;
		opacity: 1;
	}

	.global-nav-list > li > a:hover,
	.global-nav-list > li.current-menu-item > a,
	.global-nav-list > li.current-menu-ancestor > a,
	.global-nav-list > li.current-page-ancestor > a {
		background: var(--cs-main-pale);
	}

	/* 現在地の下線（Lightning 標準）は消す */
	.global-nav-list > li::before,
	.global-nav-list > li > a::after {
		display: none;
	}

	.global-nav-list > li > ul.sub-menu {
		background: var(--cs-main);
	}
}

/* ==========================================================
   トップスライダー（旧サイトと同じくコンテンツ幅に収める）
   ========================================================== */
.ltg-slide {
	max-width: 950px;
	margin: 0 auto 30px;
	border: 1px solid #ddd;
}

/* ==========================================================
   ページタイトル・パンくず
   ========================================================== */
.page-header {
	min-height: 0;
	background: none !important;
	color: var(--cs-heading);
	text-align: left;
	border-bottom: none;
}

.page-header::before {
	display: none;
}

.page-header-inner {
	padding: 25px 0 10px;
}

.page-header-title,
.page-header .page-header-title {
	margin: 0;
	padding-left: 15px;
	border-left: 4px solid var(--cs-main);
	color: var(--cs-heading);
	font-size: 22px;
	font-weight: normal;
	line-height: 1.3;
	text-shadow: none;
}

.breadcrumb {
	padding: 6px 0;
	border-top: 1px dotted var(--cs-line);
	border-bottom: 1px dotted var(--cs-line);
	background: none;
	font-size: 10px;
}

.site-body {
	padding-top: 25px;
}

/* ==========================================================
   本文
   ========================================================== */
.entry-header {
	display: none; /* 固定ページの本文冒頭に h2 でタイトルがあるため、重複タイトルは出さない */
}

.single-post .entry-header {
	display: block;
}

.entry-body h2,
.main-section h2.cs-section-title {
	position: relative;
	margin: 0 0 15px;
	padding: 13px 0 8px;
	border-top: 2px solid var(--cs-main);
	border-bottom: 1px solid var(--cs-line);
	border-left: none;
	border-radius: 0;
	background: none;
	color: var(--cs-heading);
	font-size: 18px;
	font-weight: bold;
	line-height: 1.4;
}

.entry-body h2::before,
.entry-body h2::after,
.main-section h2.cs-section-title::before,
.main-section h2.cs-section-title::after {
	display: none;
}

.entry-body h2:not(:first-child) {
	margin-top: 40px;
}

/* スマホでは横に文字が細く詰まるので、写真を回り込ませず全幅で置く */
@media (max-width: 575.98px) {
	.entry-body .alignright,
	.entry-body .alignleft {
		float: none;
		display: block;
		width: 100%;
		height: auto;
		margin: 0 0 20px;
	}
}

/* 右寄せ・左寄せの写真に見出しが潜り込まないよう、見出しは写真の下から始める */
.entry-body h2,
.entry-body h3 {
	clear: both;
}

.entry-body h3 {
	padding: 0 0 0 10px;
	border: none;
	border-left: 3px solid var(--cs-main);
	background: none;
	color: var(--cs-heading);
	font-size: 15px;
}

.entry-body h3::after {
	display: none;
}

.entry-body .alignright {
	float: right;
	margin: 0 0 30px 24px;
}

.entry-body .alignleft {
	float: left;
	margin: 0 24px 30px 0;
}

.entry-body::after {
	content: "";
	display: block;
	clear: both;
}

.entry-body iframe {
	max-width: 100%;
}

/* TablePress の会社概要表 */
.entry-body .tablepress th,
.entry-body .tablepress td {
	padding: 10px;
	border-top: 1px solid #e5e5e5;
	font-size: 13px;
}

.entry-body .tablepress tbody td.column-1 {
	width: 25%;
	background: #f5f8fa;
	color: var(--cs-heading);
}

/* ==========================================================
   ブログ新着リスト
   ========================================================== */
.cs-section-title .cs-rss {
	position: absolute;
	right: 0;
	top: 14px;
	padding: 0 8px;
	background: var(--cs-main);
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	text-decoration: none;
}

.cs-entry-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-entry-list__item {
	padding: 8px 0;
	border-bottom: 1px dotted var(--cs-line);
	font-size: 13px;
	line-height: 1.6;
}

.cs-entry-list__date {
	margin-right: 8px;
	color: #c00;
}

.cs-entry-list__cat a {
	display: inline-block;
	padding: 0 5px;
	border: 1px solid var(--cs-main);
	color: var(--cs-main);
	font-size: 10px;
	line-height: 1.4;
	text-decoration: none;
}

.cs-entry-list__title {
	display: block;
}

.cs-entry-list__title a {
	color: var(--cs-text);
	text-decoration: none;
}

.cs-entry-list__title a:hover {
	color: var(--cs-main);
	text-decoration: underline;
}

.cs-pagination {
	margin-top: 20px;
	text-align: center;
}

.cs-pagination .page-numbers {
	display: inline-block;
	min-width: 30px;
	padding: 3px 8px;
	border: 1px solid var(--cs-line);
	color: var(--cs-text);
	text-decoration: none;
}

.cs-pagination .page-numbers.current {
	background: var(--cs-main);
	border-color: var(--cs-main);
	color: #fff;
}

/* ==========================================================
   子ページ一覧（業務案内・会社情報）
   ========================================================== */
.cs-child-pages {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 10px;
}

.cs-child-pages__item {
	padding: 10px;
	border: 1px solid #ddd;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cs-child-pages__title {
	margin: 0 0 10px;
	padding: 0 0 0 8px;
	border-left: 3px solid var(--cs-main);
	font-size: 13px;
	font-weight: bold;
	line-height: 1.4;
}

.cs-child-pages__title a {
	color: var(--cs-heading);
	text-decoration: none;
}

.cs-child-pages__thumb {
	position: relative;
	display: block;
	overflow: hidden;
}

.cs-child-pages__thumb img {
	display: block;
	width: 100%;
	height: 150px;
	object-fit: cover;
	transition: transform 0.3s;
}

.cs-child-pages__thumb:hover img {
	transform: scale(1.05);
}

.cs-child-pages__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 6px 10px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 12px;
}

@media (max-width: 575.98px) {
	.cs-child-pages {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================
   サイトマップ
   ========================================================== */
.cs-sitemap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.cs-sitemap h3 {
	margin-top: 0;
}

@media (max-width: 767.98px) {
	.cs-sitemap {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================
   サイドバー
   ========================================================== */
.sub-section .sub-section-title,
.sub-section .widget-title {
	margin-bottom: 0;
	padding: 10px 0 8px;
	border-top: 2px solid var(--cs-main);
	border-bottom: 1px solid var(--cs-line);
	background: none;
	color: var(--cs-heading);
	font-size: 14px;
	font-weight: bold;
}

.sub-section .sub-section-title::after,
.sub-section .widget-title::after {
	display: none;
}

.sub-section .sub-section-title a {
	color: var(--cs-heading);
	text-decoration: none;
}

.sub-section .widget_link_list ul,
.sub-section .widget_pages ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sub-section .widget_link_list li a {
	display: block;
	padding: 8px 8px;
	border-bottom: 1px solid #eee;
	color: var(--cs-main);
	font-size: 12px;
	text-decoration: none;
}

.sub-section .widget_link_list li a:hover,
.sub-section .widget_link_list li.current_page_item > a {
	background: var(--cs-main-pale);
}

.sub-section .widget {
	margin-bottom: 25px;
}

.cs-side-banner img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

/* お問い合わせバナーは透過画像なので背景色を敷く */
.cs-side-banner--contact a {
	display: block;
	max-width: 280px;
	margin: 0 auto;
	background-color: var(--cs-main);
	transition: background-color 0.2s;
}

.cs-side-banner--contact a:hover {
	background-color: #0099cc;
}

/* ==========================================================
   フッター
   ========================================================== */
.site-footer {
	margin-top: 60px;
	border-top: 2px solid var(--cs-main);
	background: #fff;
	color: #999;
}

.site-footer .footer-nav {
	background: #fff;
}

.site-footer .footer-nav-list {
	padding: 8px 0;
}

.site-footer .footer-nav-list li a {
	color: var(--cs-text);
	font-size: 11px;
}

.cs-footer-main {
	background: #222 url(images/wall_01.gif);
	color: #888;
}

.cs-footer-main__inner {
	display: flex;
	gap: 50px;
	padding-top: 25px;
	padding-bottom: 25px;
	border-bottom: 1px solid #555;
}

.cs-footer-logo img {
	display: block;
	width: 140px;
	height: auto;
	background: #fff;
}

.cs-footer-sitemap > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-footer-sitemap > ul > li > a {
	display: block;
	min-width: 100px;
	margin-bottom: 6px;
	padding-bottom: 2px;
	border-bottom: 1px solid #999;
	color: #888;
	font-size: 12px;
	text-decoration: none;
}

.cs-footer-sitemap .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-footer-sitemap .sub-menu a {
	color: #888;
	font-size: 11px;
	line-height: 1.8;
	text-decoration: none;
}

.cs-footer-sitemap a:hover {
	color: #fff;
}

.site-footer-copyright {
	padding: 15px 0;
	border: none;
	color: #888;
	font-size: 10px;
}

.site-footer-copyright p {
	margin: 0;
}

@media (max-width: 767.98px) {
	.cs-footer-main__inner {
		flex-direction: column;
		gap: 20px;
	}
}

/* ページトップボタン（VK All in One Expansion Unit） */
.page_top_btn {
	background-color: var(--cs-main);
}

/* ==========================================================
   お問い合せフォーム（Contact Form 7）
   ========================================================== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	max-width: 400px;
	border: 1px solid #6a8fb5;
	border-radius: 0;
}

.wpcf7 textarea {
	max-width: 100%;
}

.wpcf7 input[type="submit"] {
	padding: 10px 40px;
	border: none;
	background: var(--cs-main);
	color: #fff;
}

/* ==========================================================
   トップページ（固定ページ「TOP」）
   ========================================================== */
.home .site-body {
	padding-top: 10px;
}

.home .ltg-slide {
	margin-bottom: 0;
}

/* あいさつ文：キャッチだけ明朝体にして、ページの見せ場にする */
.cs-top-about {
	max-width: 36em;
	margin: 56px auto 72px;
}

.entry-body h2.cs-top-about__catch {
	margin: 0 0 28px;
	padding: 0;
	border: none;
	color: var(--cs-heading);
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: 34px;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-align: center;
}

.cs-top-about p {
	font-size: 15px;
	line-height: 2;
}

/* セクション見出し */
.cs-top-section {
	margin-bottom: 72px;
}

.entry-body h2.cs-top-heading,
.entry-body h2.cs-top-heading:not(:first-child) {
	margin: 0 0 32px;
	padding: 0 0 12px;
	border: none;
	color: var(--cs-heading);
	font-size: 22px;
	letter-spacing: 0.1em;
	text-align: center;
}

.entry-body h2.cs-top-heading::after {
	content: "";
	display: block;
	position: static;
	width: 32px;
	height: 2px;
	margin: 12px auto 0;
	background: var(--cs-main);
}

/* 業務案内（3列×2段） */
.cs-services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px 28px;
}

.cs-service > * {
	margin-top: 0;
	margin-bottom: 0;
}

.entry-body .cs-service__img {
	margin: 0;
}

.cs-service__img a {
	display: block;
}

.entry-body .cs-service__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 275 / 170;
	object-fit: cover;
}

.cs-service__img a:hover img {
	opacity: 0.85;
}

.entry-body h3.cs-service__title {
	margin: 14px 0 6px;
	padding: 0;
	border: none;
	font-size: 16px;
	line-height: 1.5;
}

.cs-service__title a {
	color: var(--cs-heading);
	text-decoration: none;
}

.cs-service__title a:hover {
	color: var(--cs-main);
	text-decoration: underline;
}

.entry-body .cs-service__text {
	font-size: 13px;
	line-height: 1.8;
}

.cs-top-more {
	margin-top: 28px;
	text-align: right;
	font-size: 13px;
}

.cs-top-more a::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 8px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

/* 会社情報 */
.cs-company {
	gap: 32px;
	align-items: stretch !important;
}

.entry-body .cs-company__table {
	margin: 0;
}

.cs-company__table table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid #e0e0e0;
}

.cs-company__table th,
.cs-company__table td {
	padding: 12px 14px;
	border: none;
	border-bottom: 1px solid #e0e0e0;
	font-size: 13px;
	line-height: 1.7;
	text-align: left;
	vertical-align: top;
}

.cs-company__table th {
	width: 7em;
	background: #f5f8fa;
	color: var(--cs-heading);
	font-weight: normal;
	white-space: nowrap;
}

.cs-company__map {
	height: 100%;
	min-height: 280px;
}

.cs-company__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	border: 0;
}

@media (max-width: 767.98px) {
	.cs-top-about {
		margin: 36px auto 48px;
	}

	.entry-body h2.cs-top-about__catch {
		font-size: 26px;
	}

	.cs-top-about p {
		font-size: 14px;
	}

	.cs-services {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 16px;
	}

	.cs-top-section {
		margin-bottom: 52px;
	}
}

@media (max-width: 479.98px) {
	.cs-services {
		grid-template-columns: 1fr;
	}
}
