/*
 * Digicra テーマ メインスタイル
 * コンセプト: ミニマル・洗練 / ブルー主・ゴールド副（ロゴ準拠）
 * モバイルファーストで記述。HEX値は :root で一元管理し差し替え可能。
 */

/* =========================================================
   1. デザイントークン（カラー・タイポ・余白）
   ロゴから抽出した近似値。確定後はここを差し替える。
   ========================================================= */
:root {
	/* ブランドカラー */
	--color-blue: #2e6db4;
	/* メインアクセント */
	--color-blue-dark: #21568f;
	/* hover / 濃色 */
	--color-blue-light: #eaf1fa;
	/* 淡い背景 */
	--color-gold: #e0a828;
	/* サブアクセント */
	--color-gold-dark: #c79320;

	/* ベース */
	--color-bg: #ffffff;
	--color-bg-alt: #f5f5f5;
	/* セクション交互背景 */
	--color-border: #e2e2e2;
	--color-text: #333333;
	--color-text-muted: #666666;
	--color-text-faint: #888888;

	/* フッター（暗背景） */
	--color-footer-bg: #2b2f36;
	--color-footer-text: #c7ccd3;

	/* タイポグラフィ */
	--font-base: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
	--font-en: 'Helvetica Neue', Arial, sans-serif;
	--font-display: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
	/* 見出し（英字ディスプレイ） */

	/* レイアウト */
	--container: 1200px;
	--gutter: 24px;
	--radius: 4px;
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.06);

	/* 浮遊ヘッダー（FV背景を四辺に見せる） */
	--header-gap: 16px;
	/* 画面端からの余白 */
	--header-bar-h: 64px;
	/* バーの高さの目安 */
	--header-zone: 96px;
	/* 固定ヘッダー分の確保スペース（上余白＋バー＋α） */
	--header-radius: 18px;
	/* バーの角丸 */
}

/* =========================================================
   2. リセット & ベース
   ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-base);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	/* 見出しの大きな背景英字などが横スクロールを生まないように */
	overflow-x: hidden;
}

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

a {
	color: var(--color-blue);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--color-blue-dark);
}

h1, h2, h3, h4 {
	line-height: 1.4;
	font-weight: 700;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* アクセシビリティ */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--color-blue);
	color: #fff;
	padding: 10px 16px;
}

.skip-link:focus {
	left: 8px;
}

/* =========================================================
   3. 共通レイアウト
   ========================================================= */
.site-header__inner,
.section__inner,
.site-footer__inner,
.cta-section__inner,
.content-area {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* 固定ヘッダー分の上余白（各ページ共通）。Heroは負マージンで打ち消す。 */
.site-main {
	padding-top: var(--header-zone);
}

.section {
	padding-block: 64px;
}

.section:nth-of-type(even) {
	background: var(--color-bg-alt);
}

/* セクション見出し: 大きく薄い英字を背景に、中央に太字タイトル＋ゴールド下線 */
.section-heading {
	position: relative;
	text-align: center;
	margin-bottom: 48px;
	padding-top: 0.4em;
}

.section-heading__bg {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -52%);
	z-index: 0;
	font-family: var(--font-en);
	font-weight: 700;
	font-size: clamp(4rem, 12vw, 8.5rem);
	line-height: 1;
	letter-spacing: 0.01em;
	color: rgba(20, 30, 50, 0.045);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.section-title {
	position: relative;
	z-index: 1;
	display: inline-block;
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0;
	padding-bottom: 18px;
}

.section-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background: var(--color-gold);
}

/* =========================================================
   4. ボタン（Contact Form 7 の Bootstrap風クラスにも対応）
   .btn / .btn-primary / .btn-outline / .btn-lg / .btn-block
   ========================================================= */
.btn,
input[type="submit"].btn {
	display: inline-block;
	padding: 10px 22px;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	border-radius: var(--radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary,
input[type="submit"].btn-primary {
	background: var(--color-blue);
	color: #fff;
	border-color: var(--color-blue);
}

.btn-primary:hover,
input[type="submit"].btn-primary:hover {
	background: var(--color-blue-dark);
	border-color: var(--color-blue-dark);
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: var(--color-blue);
	border-color: var(--color-blue);
}

.btn-outline:hover {
	background: var(--color-blue);
	color: #fff;
}

.btn-lg {
	padding: 14px 30px;
	font-size: 1rem;
}

.btn-block {
	display: block;
	width: 100%;
}

/* 中央寄せユーティリティ（CF7 の <p class="center"> 用） */
.center {
	text-align: center;
}

/* =========================================================
   5. ヘッダー / グローバルナビ
   ========================================================= */
/* 浮遊ヘッダー: 全幅の透明ストリップ。実体（バー）は内側の __inner。 */
.site-header {
	position: fixed;
	top: var(--header-gap);
	left: 0;
	right: 0;
	z-index: 50;
	padding-inline: var(--header-gap);
	/* バー以外の領域はクリックを透過し、背面のFVを操作できるようにする */
	pointer-events: none;
}

/* 角丸の白いバー本体。四辺にFV背景が見えるよう中央寄せ＋余白。 */
.site-header__inner {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--container);
	margin-inline: auto;
	min-height: var(--header-bar-h);
	padding: 8px 24px;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(180%) blur(10px);
	border-radius: var(--header-radius);
	box-shadow: 0 8px 30px rgba(18, 28, 48, 0.12);
}

.site-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
}

.site-title a {
	color: var(--color-text);
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	height: 40px;
	width: auto;
}

.global-nav {
	display: flex;
	align-items: center;
	flex: 1;
	gap: 32px;
	/* ナビ・ユーティリティを右寄せ */
	justify-content: flex-end;
}

.global-nav__menu {
	display: flex;
	align-items: center;
	gap: 28px;
}

.global-nav__menu a,
.menu-parent {
	color: var(--color-text);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.global-nav__menu a:hover,
.menu-parent:hover {
	color: var(--color-blue);
}

/* ドロップダウン（サービス） */
.menu-item {
	position: relative;
}

.menu-parent {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	padding: 0;
	font-family: inherit;
	cursor: pointer;
}

.menu-parent__chevron {
	transition: transform 0.2s ease;
}

.menu-item--has-children:hover .menu-parent__chevron,
.menu-item--has-children.is-open .menu-parent__chevron {
	transform: rotate(180deg);
}

.submenu {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(18, 28, 48, 0.16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 60;
}

.menu-item--has-children:hover>.submenu,
.menu-item--has-children:focus-within>.submenu,
.menu-item--has-children.is-open>.submenu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.submenu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 14px;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text);
	white-space: nowrap;
}

.submenu a:hover {
	background: var(--color-blue-light);
	color: var(--color-blue-dark);
}

/* 右側ユーティリティ群 */
.header-utils {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* ヘッダーのお問い合わせボタン（コンパクト） */
.header-contact {
	padding: 9px 18px;
	font-size: 0.82rem;
}

/* アイコン＋ラベルのアクション（縦線区切り） */
.header-actions {
	display: flex;
	align-items: stretch;
}

.header-actions__item+.header-actions__item {
	border-left: 1px solid var(--color-border);
}

.header-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 4px 16px;
	color: var(--color-text);
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.2;
}

.header-action:hover {
	color: var(--color-blue);
}

.header-action__icon {
	display: inline-flex;
	color: var(--color-blue);
	transition: transform 0.2s ease;
}

.header-action:hover .header-action__icon {
	transform: translateY(-2px);
}

/* モバイルナビ トグル */
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	content: "";
	position: absolute;
	left: 10px;
	width: 24px;
	height: 2px;
	background: var(--color-text);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle__bar {
	top: 21px;
}

.nav-toggle__bar::before {
	top: -7px;
}

.nav-toggle__bar::after {
	top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
	transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   6. Hero
   ========================================================= */
/* フルスクリーンHero（背景画像 + 前面オーバーレイテキスト） */
.hero--full {
	position: relative;
	display: flex;
	align-items: center;
	/* 画面の高さいっぱい。固定ヘッダーは上に重ねるので 100svh */
	min-height: 100svh;
	/* .site-main の上余白を打ち消し、画面最上部まで背景を表示（ヘッダー背面へ回り込む） */
	margin-top: calc(-1 * var(--header-zone));
	overflow: hidden;
	color: #fff;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	/* 人物を画面右寄りに見せ、左側のテキストと被りにくくする */
	background-position: 22% center;
	background-repeat: no-repeat;
	/* 少し拡大した状態を保ち、横の余白（人物の逃がし）を確保 */
	animation: hero-zoom 16s ease-out forwards;
	will-change: transform;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	/* 左を濃く・右を薄く。テキスト側の可読性を確保しつつ、右の人物を見せる */
	background:
		linear-gradient(105deg, rgba(18, 28, 48, 0.86) 0%, rgba(18, 28, 48, 0.62) 38%, rgba(18, 28, 48, 0.18) 72%, rgba(18, 28, 48, 0.05) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding: 40px var(--gutter);
}

.hero__body {
	/* テキストは左側に集約し、右の人物と被らないようにする。
	   各要素（コピー2行・アクセント・リード文）は個別に時間差で表示する。 */
	max-width: 600px;
}

.hero__title {
	display: inline-block;
	margin: 0 0 18px;
	font-family: var(--font-en);
	font-size: clamp(0.8rem, 1.6vw, 1rem);
	letter-spacing: 0.32em;
	text-transform: uppercase;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--color-gold);
}

.hero__copy {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 7vw, 5rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0 0 4px;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* 2行を時間差でせり上げる */
.hero__copy-line {
	display: block;
	opacity: 0;
	transform: translateY(46px);
	animation: hero-line-up 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero__copy-line:nth-child(1) {
	animation-delay: 0.25s;
}

.hero__copy-line:nth-child(2) {
	animation-delay: 0.45s;
	color: var(--color-gold);
}

/* ゴールドのアクセントライン（幅が伸びる） */
.hero__accent {
	display: block;
	width: 0;
	height: 3px;
	margin: 16px 0 24px;
	background: var(--color-gold);
	animation: hero-accent 0.8s ease forwards;
	animation-delay: 0.7s;
}

.hero__sub {
	font-size: clamp(0.95rem, 1.6vw, 1.15rem);
	line-height: 1.9;
	margin: 0 0 34px;
	max-width: 600px;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
	/* コピー・アクセントのあとに遅れてフェードアップ */
	opacity: 0;
	transform: translateY(20px);
	animation: hero-fade-up 0.8s ease forwards;
	animation-delay: 1s;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Hero内のアウトラインボタンは背景が暗いので白基調に */
.hero--full .btn-outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.8);
}

.hero--full .btn-outline:hover {
	background: #fff;
	color: var(--color-blue-dark);
	border-color: #fff;
}

/* スクロール誘導 */
.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	z-index: 2;
	width: 24px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 14px;
}

.hero__scroll-line {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 2px;
	height: 8px;
	background: #fff;
	border-radius: 2px;
	transform: translateX(-50%);
	animation: hero-scroll 1.8s ease-in-out infinite;
}

@keyframes hero-zoom {
	from {
		transform: scale(1.14);
	}

	to {
		transform: scale(1.06);
	}
}

@keyframes hero-fade-up {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes hero-line-up {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes hero-accent {
	to {
		width: 96px;
	}
}

@keyframes hero-scroll {
	0% {
		opacity: 0;
		transform: translate(-50%, 0);
	}

	30% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translate(-50%, 18px);
	}
}

/* アニメーションを控えたいユーザーへの配慮 */
@media (prefers-reduced-motion: reduce) {

	.hero__bg,
	.hero__body,
	.hero__copy-line,
	.hero__accent,
	.hero__sub,
	.hero__scroll-line {
		animation: none;
	}

	/* アニメーション無効時も最終状態を表示する */
	.hero__copy-line,
	.hero__sub {
		opacity: 1;
		transform: none;
	}

	.hero__accent {
		width: 96px;
	}
}

/* =========================================================
   7. Services（シンプル・editorial: 画像＋テキストの交互レイアウト）
   ========================================================= */
/* テキスト側は白背景（nth-of-type の交互グレーを打ち消す） */
.section.services {
	background: #fff;
}

/* 最大1200pxのコンテナに収める */
.services__list {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
	display: grid;
	gap: 48px;
}

/* モバイル: テキスト → 画像の縦積み */
.service-block {
	display: grid;
	gap: 28px;
	align-items: center;
}

/* 画像は全体を表示（切り取りなし）。角丸・影なし。 */
.service-block__media img {
	width: 100%;
	height: auto;
	display: block;
}

/* ラベル（ブルー） */
.service-num {
	font-family: var(--font-display);
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-blue);
	margin: 0 0 12px;
}

.service-name {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	line-height: 1.3;
	margin: 0 0 18px;
}

.service-desc {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	line-height: 2;
	margin: 0 0 28px;
	max-width: 540px;
}

/* ボタン: テキスト中央＋右端にアイコン（内部=矢印 / 外部=外部リンク） */
.service-link {
	display: inline-flex;
	align-items: center;
	min-width: 240px;
	padding: 15px 22px;
	border-radius: 6px;
}

.service-link__text {
	flex: 1;
	text-align: center;
}

.service-link__icon {
	display: inline-flex;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}

.service-link:hover .service-link__icon {
	transform: translateX(4px);
}

/* スクロールで要素がふわっと表示される共通クラス */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* =========================================================
   8. News
   ========================================================= */
.news-list {
	display: grid;
	max-width: 880px;
	margin-inline: auto;
}

.news__more {
	margin-top: 36px;
}

.news-item {
	display: grid;
	grid-template-columns: 90px 88px 1fr;
	gap: 16px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 0.875rem;
	color: var(--color-text);
}

.news-item:hover .news-title {
	color: var(--color-blue);
}

.news-item .entry-date {
	color: var(--color-text-faint);
	font-family: var(--font-en);
}

.news-tag {
	background: var(--color-blue);
	color: #fff;
	text-align: center;
	padding: 3px 0;
	font-size: 0.7rem;
	border-radius: 2px;
}

.news-tag--empty {
	background: transparent;
}

.news-empty {
	color: var(--color-text-muted);
}

/* =========================================================
   9. About（背景画像＋オーバーレイに中央寄せテキスト）
   ========================================================= */
.about {
	position: relative;
	overflow: hidden;
	color: #fff;
	text-align: center;
	/* 高さを抑える（.section の上下余白を上書き） */
	padding-block: 56px;
}

.about__bg {
	position: absolute;
	/* ブラーの端が透けないよう少し外側まで広げる */
	inset: -16px;
	z-index: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: blur(6px);
	transform: scale(1.05);
}

.about__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(rgba(16, 24, 42, 0.66), rgba(16, 24, 42, 0.72));
}

.about__content {
	position: relative;
	z-index: 1;
}

/* 暗背景に合わせて見出しを白基調に（タイトルの形は維持） */
.about .section-title {
	color: #fff;
}

.about .section-heading__bg {
	color: rgba(255, 255, 255, 0.12);
}

/* バナーを締めるため見出し下の余白を詰める（共通の大きめ余白を上書き） */
.about .section-heading {
	margin-bottom: 24px;
}

.about__text {
	max-width: 640px;
	margin: 0 auto 30px;
	color: rgba(255, 255, 255, 0.92);
}

/* 暗背景用の白アウトラインボタン */
.about .btn-outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.8);
}

.about .btn-outline:hover {
	background: #fff;
	color: var(--color-blue-dark);
	border-color: #fff;
}

/* =========================================================
   10. Contact CTA
   ========================================================= */
.cta-section {
	background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
	color: #fff;
	text-align: center;
	padding-block: 64px;
}

.cta-section__title {
	font-size: 1.5rem;
	margin: 0 0 8px;
}

.cta-section__lead {
	margin: 0 0 24px;
	opacity: 0.92;
}

.cta-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* CTA 内のボタンは白背景に反転 */
.cta-section .btn-primary {
	background: var(--color-gold);
	border-color: var(--color-gold);
	color: #fff;
}

.cta-section .btn-primary:hover {
	background: var(--color-gold-dark);
	border-color: var(--color-gold-dark);
}

.cta-section .btn-outline {
	color: #fff;
	border-color: #fff;
}

.cta-section .btn-outline:hover {
	background: #fff;
	color: var(--color-blue-dark);
}

/* =========================================================
   11. Footer
   ========================================================= */
.site-footer {
	background: var(--color-footer-bg);
	color: var(--color-footer-text);
	padding-block: 48px;
	text-align: center;
}

/* ロゴ（中央） */
.footer-brand {
	margin-bottom: 28px;
}

.footer-logo {
	display: inline-block;
}

.footer-logo img {
	width: 150px;
	height: auto;
}

/* 横並びフッターナビ */
.footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 16px 36px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.footer-nav__item a {
	color: var(--color-footer-text);
	font-size: 0.85rem;
	font-weight: 500;
}

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

.copyright {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 24px;
	font-size: 0.75rem;
	text-align: center;
	font-family: var(--font-en);
}

/* =========================================================
   12. 汎用ページ / 投稿 / アーカイブ
   ========================================================= */
.content-area {
	padding-block: 56px;
}

.content-area--with-sidebar {
	display: grid;
	gap: 40px;
}

/* サイドバーなしの1カラム本文（読みやすい幅で中央寄せ） */
.content-area__main--narrow {
	max-width: 820px;
	margin-inline: auto;
}

.entry-back {
	margin-top: 40px;
}

.page-header {
	margin-bottom: 32px;
}

.page-title {
	font-size: 1.75rem;
	margin: 0;
}

.entry-content {
	margin-top: 24px;
}

.entry-content>*+* {
	margin-top: 1.2em;
}

.entry-meta {
	font-size: 0.8rem;
	color: var(--color-text-faint);
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.entry--list {
	display: grid;
	gap: 16px;
	padding-block: 24px;
	border-bottom: 1px solid var(--color-border);
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
	font-size: 0.875rem;
}

.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	min-width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 0 10px;
}

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

.widget-area .widget+.widget {
	margin-top: 32px;
}

.widget-title {
	font-size: 1rem;
	border-left: 3px solid var(--color-blue);
	padding-left: 10px;
	margin-bottom: 12px;
}

/* =========================================================
   13. フォーム / Contact Form 7
   ========================================================= */
.text-danger {
	color: #d33;
	font-size: 0.75rem;
	margin-left: 4px;
}

.wpcf7 label {
	display: block;
	font-weight: 500;
	margin-bottom: 18px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--color-text);
	background: #fff;
	border: 1px solid #c9c9c9;
	border-radius: var(--radius);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--color-blue);
	box-shadow: 0 0 0 3px var(--color-blue-light);
}

.wpcf7 textarea {
	min-height: 160px;
	resize: vertical;
}

.wpcf7-acceptance {
	font-weight: 400;
}

.wpcf7 .wpcf7-not-valid-tip {
	color: #d33;
	font-size: 0.8rem;
}

.wpcf7-response-output {
	border-radius: var(--radius);
	margin: 16px 0 0 !important;
}

/* 検索フォーム */
.search-form {
	display: flex;
	gap: 8px;
	max-width: 420px;
}

.search-form .search-field {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #c9c9c9;
	border-radius: var(--radius);
}

.search-form .search-submit {
	background: var(--color-blue);
	color: #fff;
	border: 0;
	border-radius: var(--radius);
	padding: 0 18px;
	cursor: pointer;
}

/* =========================================================
   13b. 下層ページ共通（ページヘッダー・本文・各種パーツ）
   ========================================================= */
/* パンくず（page-hero の上） */
.breadcrumb-bar {
	padding: 14px 0 10px;
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.78rem;
	color: var(--color-text-muted);
}

.breadcrumb__item {
	display: flex;
	align-items: center;
}

.breadcrumb__item+.breadcrumb__item::before {
	content: "/";
	margin: 0 10px;
	color: var(--color-text-faint);
}

.breadcrumb__item a {
	color: var(--color-text-muted);
}

.breadcrumb__item a:hover {
	color: var(--color-blue);
}

.breadcrumb__item [aria-current="page"] {
	color: var(--color-text);
}

/* ページヘッダー（薄いバナー） */
.page-hero {
	background: var(--color-bg-alt);
	padding-block: 56px 44px;
}

.page-hero .section-heading {
	margin-bottom: 0;
}

/* FV画像付きページヘッダー: 上部に画像のみ → その下にタイトル */
.page-hero--image {
	background: var(--color-bg);
	padding-block: 0 44px;
}

/* 上部の画像バンド（テキストは重ねない） */
.page-hero__figure {
	position: relative;
	width: 100%;
	height: clamp(220px, 30vw, 380px);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.page-hero--image .section__inner {
	padding-top: 40px;
}

/* 交互背景セクション（下層ページ内で使用） */
.section--alt {
	background: var(--color-bg-alt);
}

/* リード文・本文 */
.page-intro {
	max-width: 820px;
	margin-inline: auto;
}

.lead {
	font-size: 1.05rem;
	line-height: 2;
	color: var(--color-text);
	margin: 0 0 20px;
}

.page-note {
	margin-top: 24px;
	font-size: 0.8rem;
	color: var(--color-text-faint);
}

/* 提供内容カード（アイコン＋英字ラベル＋タイトル＋説明・枠なし） */
.feature-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px 32px;
}

/* 2×2レイアウト（スマホでも2列） */
.feature-cards--2col {
	grid-template-columns: 1fr 1fr;
	gap: 28px 20px;
	max-width: 880px;
	margin-inline: auto;
}

.feature-card__icon {
	margin-bottom: 16px;
}

.feature-card__icon img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.feature-card__icon-ph {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--color-blue-light), #dfe8f4);
}

.feature-card__en {
	margin: 0 0 6px;
	font-family: var(--font-en);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--color-text-faint);
}

.feature-card__title {
	font-size: 1.15rem;
	margin: 0 0 12px;
}

.feature-card__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.9;
	color: var(--color-text-muted);
}

/* 制作の流れ（縦タイムライン: タイトル｜番号の丸＋縦線｜説明） */
.flow {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 760px;
}

.flow__step {
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-areas:
		"marker title"
		"marker desc";
	column-gap: 18px;
}

.flow__marker {
	grid-area: marker;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 円どうしをつなぐ縦線（最後の項目以外） */
.flow__marker::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2px;
	height: 100%;
	background: var(--color-border);
	transform: translateX(-50%);
	z-index: 0;
}

.flow__step:last-child .flow__marker::after {
	display: none;
}

.flow__num {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-blue);
	color: #fff;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 500;
}

.flow__title {
	grid-area: title;
	align-self: end;
	margin: 0;
	padding-top: 18px;
	font-size: 1.05rem;
}

.flow__desc {
	grid-area: desc;
	align-self: start;
	margin: 0;
	padding: 4px 0 18px;
	font-size: 0.9rem;
	color: var(--color-text-muted);
}

/* 解決できる課題（淡いブルー背景・アイコン中央＋タイトル＋説明） */
.section.section--issues {
	background: var(--color-blue-light);
}

.problem-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.problem-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
}

.problem-item__icon {
	margin-bottom: 8px;
}

.problem-item__icon img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.problem-item__title {
	font-size: 1.05rem;
	margin: 0;
}

.problem-item__desc {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.8;
	color: var(--color-text-muted);
}

/* 強み */
.strengths {
	display: grid;
	gap: 48px;
}

.strength {
	display: grid;
	gap: 24px;
	align-items: start;
}

.strength__body {
	position: relative;
	padding-top: 10px;
}

/* 番号背面の淡いブルーの横帯 */
.strength__body::before {
	content: "";
	position: absolute;
	left: -16px;
	top: 0;
	width: min(60%, 240px);
	height: 54px;
	background: var(--color-blue-light);
	z-index: -1;
}

.strength__num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 5vw, 3.6rem);
	font-weight: 700;
	line-height: 1;
	color: var(--color-blue);
	margin-bottom: 14px;
}

.strength__sub {
	margin: 0 0 6px;
	font-size: 0.85rem;
	color: var(--color-text-muted);
}

.strength__title {
	font-size: clamp(1.3rem, 2.2vw, 1.7rem);
	margin: 0 0 14px;
}

.strength__desc {
	margin: 0;
	color: var(--color-text-muted);
	line-height: 1.95;
}

.strength__media img {
	width: 100%;
	border-radius: 6px;
}

/* FAQ */
.faq {
	max-width: 820px;
	margin-inline: auto;
}

.faq__item {
	border-bottom: 1px solid var(--color-border);
}

.faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 20px 4px;
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::after {
	content: "+";
	flex-shrink: 0;
	color: var(--color-blue);
	font-size: 1.4rem;
	line-height: 1;
	transition: transform 0.25s ease;
}

/* 開いたら「＋」を45°回して「×」風に（滑らかに切り替え） */
.faq__item[open] summary::after {
	transform: rotate(45deg);
}

.faq__answer {
	padding: 0 4px 20px;
	color: var(--color-text-muted);
	line-height: 1.9;
	/* 開いたときにふわっと表示 */
	animation: faq-reveal 0.3s ease;
}

@keyframes faq-reveal {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {

	.faq__item summary::after,
	.faq__answer {
		transition: none;
		animation: none;
	}
}

/* 制作実績 */
.works-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.works-card {
	display: block;
	color: inherit;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-card:hover {
	color: inherit;
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(18, 28, 48, 0.12);
}

.works-card__thumb img {
	transition: transform 0.4s ease;
}

.works-card:hover .works-card__thumb img {
	transform: scale(1.04);
}

.works-more {
	margin-top: 36px;
}

.works-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-blue-light), #dfe8f4);
}

.works-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}

.works-card__body {
	padding: 18px 20px;
}

.works-card__tag {
	display: inline-block;
	font-size: 0.72rem;
	color: var(--color-blue);
	margin-bottom: 6px;
}

.works-card__title {
	font-size: 1rem;
	margin: 0;
}

/* 制作実績スライダー（Splide）— ブランド配色・カード等高 */
.works-slider .splide__slide {
	height: auto;
}

.works-slider .works-card {
	height: 100%;
}

.works-slider .splide__pagination {
	margin-top: 18px;
}

.works-slider .splide__pagination__page.is-active {
	background: var(--color-blue);
}

.works-slider .splide__arrow {
	background: #fff;
	box-shadow: 0 2px 12px rgba(18, 28, 48, 0.18);
	opacity: 1;
}

.works-slider .splide__arrow svg {
	fill: var(--color-blue);
}

/* 会社概要テーブル */
.company-table {
	max-width: 820px;
	margin: 0 auto;
	border-top: 1px solid var(--color-border);
}

.company-table__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	padding: 18px 4px;
	border-bottom: 1px solid var(--color-border);
}

.company-table__label {
	font-weight: 700;
	color: var(--color-text);
}

.company-table__value {
	margin: 0;
	color: var(--color-text-muted);
}

.company-table__list {
	margin: 0;
	padding-left: 1.2em;
	list-style: disc;
}

.company-table__list li {
	margin-bottom: 4px;
}

/* アクセスマップ */
.access-map {
	max-width: 820px;
	margin: 32px auto 0;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(18, 28, 48, 0.1);
}

.access-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* お問い合わせ */
.contact {
	max-width: 720px;
	margin-inline: auto;
}

.contact__lead {
	font-size: 1rem;
	margin: 0 0 8px;
}

.contact__note {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	background: var(--color-bg-alt);
	border-radius: 8px;
	padding: 12px 16px;
	margin: 0 0 28px;
}

/* =========================================================
   14. レスポンシブ（タブレット以上）
   ========================================================= */
@media (min-width: 768px) {
	.section {
		padding-block: 88px;
	}

	/* 見出しと内容の間隔を広げる */
	.section-heading {
		margin-bottom: 80px;
	}

	/* デスクトップ: テキストと画像の2カラム（交互） */
	.service-block {
		grid-template-columns: 1fr 1fr;
		gap: 56px;
	}

	/* reverse: 画像を左、本文を右へ */
	.service-block--reverse .service-block__body {
		order: 2;
	}

	/* About はバナーのため上下の余白を少し広めに（ただし控えめ） */
	.about {
		padding-block: 72px;
	}

	/* 提供内容を2×2に */
	.feature-cards--2col {
		grid-template-columns: 1fr 1fr;
		gap: 48px 56px;
	}

	/* 解決できる課題を3×2に */
	.problem-list {
		grid-template-columns: repeat(3, 1fr);
		gap: 44px 32px;
	}

	/* 制作の流れ: タイトル左 / 番号中央 / 説明右 */
	.flow__step {
		grid-template-columns: 1fr 64px 1fr;
		grid-template-areas: "title marker desc";
		align-items: center;
	}

	.flow__marker {
		align-self: stretch;
	}

	.flow__title {
		align-self: center;
		text-align: right;
		padding: 30px 0;
	}

	.flow__desc {
		align-self: center;
		padding: 30px 0;
	}

	/* 強みは画像とテキストを2カラムで交互に */
	.strength {
		grid-template-columns: 1fr 1fr;
		gap: 48px;
	}

	.strength:nth-child(even) .strength__media {
		order: -1;
	}

	/* 会社概要テーブルは見出し／内容を横並びに */
	.company-table__row {
		grid-template-columns: 220px 1fr;
		gap: 24px;
		align-items: baseline;
		padding: 20px 8px;
	}

	.page-hero {
		padding-block: 72px 56px;
	}

	/* 画像版は上部に余白を作らない（画像を最上部に） */
	.page-hero--image {
		padding-block: 0 56px;
	}

	.content-area--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

/* =========================================================
   15. レスポンシブ（モバイル: ナビをドロワー化）
   ========================================================= */
@media (max-width: 767px) {

	/* モバイルでは余白とバー高さを少し詰める */
	:root {
		--header-gap: 12px;
		--header-bar-h: 56px;
		--header-zone: 80px;
	}

	/* Hero背景の表示位置（モバイル） */
	.hero__bg {
		background-position: 45% center;
	}

	/* 見出し背面の英字ウォーターマークを縮小し、画面からのはみ出しを防ぐ */
	.section-heading__bg {
		font-size: 2.4rem;
		top: 25%;
	}

	.nav-toggle {
		display: block;
	}

	/* ドロワーも角丸の浮遊パネルにしてバーと調和させる */
	.global-nav {
		position: fixed;
		top: calc(var(--header-gap) + var(--header-bar-h) + 8px);
		left: var(--header-gap);
		right: var(--header-gap);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border-radius: var(--header-radius);
		padding: 8px 20px 20px;
		box-shadow: 0 12px 30px rgba(18, 28, 48, 0.16);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
		max-height: calc(100svh - var(--header-gap) - var(--header-bar-h) - 24px);
		overflow-y: auto;
	}

	.global-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.global-nav__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin-inline: 0;
		width: 100%;
	}

	.global-nav__menu li {
		border-bottom: 1px solid var(--color-border);
	}

	.global-nav__menu a {
		display: block;
		padding: 14px 4px;
	}

	/* 親「サービス」は全幅ボタン。タップでドロップダウンを開閉 */
	.menu-parent {
		display: flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;
		padding: 14px 4px;
	}

	/* ドロワー内のサブメニューはインライン展開 */
	.submenu {
		position: static;
		min-width: 0;
		padding: 0 0 8px 12px;
		box-shadow: none;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}

	.menu-item--has-children.is-open>.submenu {
		display: block;
	}

	.global-nav__menu .submenu__item {
		border-bottom: 0;
	}

	.submenu a {
		padding: 12px 4px;
	}

	/* ドロワー内ではアクションを縦に積む */
	.header-utils {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		margin-top: 20px;
		width: 100%;
	}

	/* ドロワー内のお問い合わせボタンは全幅 */
	.header-contact {
		display: block;
		width: 100%;
		padding: 13px;
		font-size: 0.95rem;
	}

	.feature-list {
		grid-template-columns: 1fr;
	}

	.news-item {
		grid-template-columns: 80px 1fr;
		grid-template-areas:
			"date tag"
			"title title";
		row-gap: 6px;
	}

	.news-item .entry-date {
		grid-area: date;
	}

	.news-item .news-tag {
		grid-area: tag;
		justify-self: start;
		padding: 3px 10px;
	}

	.news-item .news-title {
		grid-area: title;
	}
}

/* モバイルドロワー展開時に背面スクロールを抑制 */
body.nav-open {
	overflow: hidden;
}