/*
Theme Name: SiteHub Seed
Theme URI: https://www.site-hub.jp
Author: AnyField Inc.
Author URI: https://www.anyfield.co.jp/
Description: シンプルで拡張性が高い、業種別テンプレートにも対応した軽量WordPressテーマ。迅速なサイト立ち上げや自由なカスタマイズに最適です。  
A lightweight and flexible WordPress theme designed for rapid website creation. Simple, extendable, and suitable for business, professional, and creative use.
Version: 1.0.2
Tested up to: 6.8
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sitehub-seed
Domain Path: /languages
Tags: blog, custom-logo, custom-menu, featured-images, one-column, two-columns, right-sidebar, left-sidebar, translation-ready, full-width-template

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you’ve learned with others.
*/

:root{
  --sh-z-header: 100;
  --sh-z-overlay: 190;
  --sh-z-fab: 180; /* back-to-top などの浮遊UI用 */
  --sh-z-toggle: 200;
}

/* ================================
   アクセシビリティ
================================ */
.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ================================
   ベース・リセット
================================ */
html, body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	width: 100%;
}

body {
	color: #000;
	font: 500 16px/1.8 "Meiryo", "メイリオ", -apple-system, BlinkMacSystemFont,
		"Segoe UI", "Yu Gothic", "游ゴシック", sans-serif;
	word-wrap: break-word;
	overflow-wrap: break-word;
	background-color: #fff;
}

/* 日本語指定 */
body:lang(ja) {
	font-family: "Meiryo", "メイリオ", "Yu Gothic", "游ゴシック", sans-serif;
}

/* リンク */
a {
	text-decoration: none;
	color: var(--main-color, #111111);
	transition: opacity 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

a:hover {
	opacity: 0.8;
}

/* 画像 */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ==============================
   シンプル見出し（テーマ標準）
============================== */

/* H1：ページタイトル用（太字・下線のみ） */
h1 {
    font-size: 2.2rem;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 25px;
}

/* H2：セクションタイトル（左線なし） */
h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* H3：標準見出し */
h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* H4：軽い下線のみ */
h4 {
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

/* H5：やや薄いテキスト */
h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

/* H6：補足テキスト */
h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #999;
    margin-bottom: 6px;
}


.sitehub-main-color {
    color: var(--main-color);
}


/* ================================
   ヘッダー（PC + モバイル）
================================ */
.site-header {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 30px;
	background-color: var(--header-bg, #ffffff);
	color: var(--header-text, #000000);
}

.site-header a {
	color: var(--header-text, #000000) !important;
}

.logo-area {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* ロゴ */
.custom-logo,
header .site-logo img,
.site-header img {
	max-height: 48px;
	width: auto;
}

/* キャッチコピー（ロゴ下） */
.site-description {
	margin-top: 4px;
	font-size: 12px;
	color: #555;
	text-align: left;
}

.main-nav {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 24px;
}

.main-menu {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-menu li a {
	color: var(--header-text, #000000);
	text-decoration: none;
	position: relative;
	white-space: nowrap;
	font-size: 15px;
}

.main-menu li a::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--header-text, #000000);
	transition: width 0.3s;
}

.main-menu li a:hover::after {
	width: 100%;
}

/* スマホ時のヘッダー調整 */
@media (max-width: 768px) {
	.site-header {
		padding: 8px 12px;
	}
	.custom-logo,
	header .site-logo img,
	.site-header img {
		max-height: 40px;
	}
	.site-description {
		font-size: 9px;
	}
}

/* ================================
   ハンバーガーメニュー（B方式）
================================ */
/* トグルボタン */
.burger-menu-toggle {
	position: fixed;
	top: 16px;
	right: 16px;
	width: 28px;
	height: 20px;
	display: none;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	z-index: var(--sh-z-toggle);
}

/* 3本線 */
.burger-menu-toggle span {
	display: block;
	width: 28px;
	height: 3px;
	background-color: var(--burger-color, #333333);
	border-radius: 2px;
	transition: 0.3s ease;
}

/* スマホのみ表示 */
@media (max-width: 768px) {
	.burger-menu-toggle {
		display: flex;
	}
	.main-nav {
		display: none;
	}
}

/* 三本線 → × */
.burger-menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}
.burger-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}
.burger-menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* 背景固定解除用クラス */
.no-scroll {
	overflow: hidden;
}

/* フルスクリーンオーバーレイ */
.burger-menu-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--menu-overlay-color, rgba(0, 0, 0, 0.9));
	z-index: var(--sh-z-overlay);
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

/* 表示時 */
.burger-menu-overlay.active {
	display: flex;
}

.burger-menu {
	text-align: center;
}

.burger-nav {
	list-style: none;
	padding: 0;
	margin: 0;
}

.burger-nav li {
	margin: 18px 0;
	font-size: 20px;
}

.burger-nav a {
	color: #ffffff;
	text-decoration: none;
}

/* 閉じるボタン（丸） */
/* ============================================================
   ▼ バーガーメニュー全体：縦並び + 中央揃え
=========================================================== */
.burger-menu {
    display: flex;
    flex-direction: column;
    align-items: center;     /* メニュー項目を中央 */
    justify-content: center;
    text-align: center;
}

/* ============================================================
   ▼ 閉じるボタン（中央固定）
=========================================================== */
.burger-close {
    background-color: #000000;
    color: #ffffff;
    font-size: 20px;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;

    /* ボタンを中央へ配置 */
    display: flex;
    align-items: center;
    justify-content: center;

    /* 上側に余白 */
    margin-top: 30px;

    /* 中央揃えに必須 */
    margin-left: auto;
    margin-right: auto;

    cursor: pointer;
}

.burger-close:hover {
    background-color: #333333;
}


/* ===========================================
   HERO 統合復元版（HOME / PAGE / SINGLE / ARCHIVE）
   2025.11.18 完全復元バージョン
=========================================== */

/* -------------------------------------------
   ① HOME：ヒーロースライダー（トップページ専用）
------------------------------------------- */
.hero-slider {
    width: 100%;
    height: 650px; /* 元の高さに戻す */
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
@media (max-width: 1024px) {
    .hero-slider { height: 480px; }
}
@media (max-width: 768px) {
    .hero-slider { height: 460px; }
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}

/* overlay（キャッチコピー） */
.overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    padding: 0 20px;
    z-index: 10;
    color: var(--hero-title-color, #ffffff);
}
.overlay h1 {
    margin-bottom: 16px;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--hero-title-color, #ffffff);
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.overlay p {
    font-size: 1.2rem;
    color: var(--hero-subcopy-color, #ffffff);
}

/* 位置調整（カスタマイザー連動） */
.overlay.position-top {
    top: 40px;
    transform: translate(-50%, 0);
}
.overlay.position-center {
    top: 50%;
    transform: translate(-50%, -50%);
}
.overlay.position-bottom {
    bottom: 40px;
    transform: translate(-50%, 0);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-slider { height: 260px; }
    .overlay h1 { font-size: 1.6rem; }
    .overlay p  { font-size: 1rem; }
}

/* -------------------------------------------
   ② 共通ヒーロー（固定/投稿/アーカイブ）
------------------------------------------- */

.eyecatch-hero,
.page-featured-header,
.archive-header,
.category-header {
    width: 100%;
    height: 160px;         /* ← 正常化 */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

.eyecatch-hero::after,
.page-featured-header::after,
.archive-header::after,
.category-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* 見出し（共通） */
.hero-title,
.page-featured-title,
.archive-header h1,
.category-header h1,
.single .entry-title {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
    text-align: center;
}

/* 投稿ページのみ横書き固定 */
.single .hero-title {
    writing-mode: horizontal-tb;
    transform: none;
    text-orientation: initial;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .eyecatch-hero,
    .page-featured-header,
    .archive-header,
    .category-header {
        height: 140px;
    }
    .hero-title,
    .page-featured-title {
        font-size: 1.4rem;
    }
}

/* -------------------------------------------
   ③ NEWS・本文まわりの左右余白の復元
------------------------------------------- */
.content-area,
.entry-content,
.content-with-sidebar,
#primary {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

@media (max-width:768px) {
    .content-area,
    .entry-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* -------------------------------------------
   ④ h1の黒線完全削除＋カスタマイザーへ復元
------------------------------------------- */
h1 {
    border: none;
    color: inherit; /* ← カスタマイザー反映が戻る */
}

/* -------------------------------------------
   ⑤ アーカイブ下の黒線も完全削除
------------------------------------------- */
.archive h1,
.category h1,
.blog h1,
.search h1 {
    border: none !important;
}

/* -------------------------------------------
   ⑥ 投稿のアイキャッチ画像を正常に表示
------------------------------------------- */
.single .eyecatch-hero img,
.page-featured-header img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================
   コンテンツ + サイドバー
================================ */
.content-with-sidebar {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.content-area,
#primary {
	flex: 3;
	min-width: 0;
}

.sidebar,
#secondary,
.widget-area {
	flex: 1;
	min-width: 260px;
}

/* サイドバーの装飾 */
.sidebar .widget {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}
.sidebar .widget:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.sidebar .widgettitle,
.sidebar h2,
.sidebar h3 {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 15px;
	border-bottom: 2px solid #ddd;
	padding-bottom: 5px;
}

/* スマホ時は縦並び */
@media (max-width: 768px) {
	.content-with-sidebar {
		flex-direction: column;
		gap: 20px;
		padding: 0 15px;
	}
	.content-area,
	#primary,
	.sidebar,
	#secondary {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* ================================
   投稿ナビゲーション
================================ */
.post-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}
.post-navigation a {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}
.post-navigation a:hover {
	text-decoration: underline;
}

/* ================================
   NEWS / 最新の投稿
================================ */
.news-item {
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
	transition: all .3s ease;
}
.news-item:hover {
	background: #333333;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.news-item a {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	height: 100%;
}
.news-content {
	padding: 16px;
}
.news-content h3 {
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 8px;
	color: #222;
}
.news-content time {
	font-size: 0.85rem;
	color: #666;
	margin-bottom: 10px;
	display: block;
}
.news-item:hover .news-content h3,
.news-item:hover .news-content time,
.news-item:hover .news-content p {
	color: #ffffff;
}

/* Gutenberg 最新の投稿カード */
.wp-block-latest-posts.is-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.wp-block-latest-posts.is-grid li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	width: 30%;
	margin-bottom: 20px;
	box-sizing: border-box;
}
.wp-block-latest-posts__featured-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border: 1px solid #ddd;
	border-radius: 4px;
}
.wp-block-latest-posts__post-title {
	min-height: 2.8em;
	margin-top: 10px;
}
.wp-block-latest-posts__post-excerpt {
	min-height: 5em;
	overflow: hidden;
}

/* 一覧リストの余白 */
.wp-block-latest-posts__list li {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd;
}

/* スマホで1列 */
@media (max-width: 768px) {
	.wp-block-latest-posts.is-grid li {
		width: 100%;
	}
}

/* コメントウィジェットの青背景を無効化 */
.widget_recent_comments,
.wp-block-latest-comments {
	background: none;
	border: none;
	box-shadow: none;
}
.wp-block-latest-comments__comment,
.wp-block-latest-comments__comment-meta {
	background: transparent;
}

/* タグ下の余分な線など削除 */
.entry-footer {
	border: none;
	background: none;
	padding: 0;
	margin: 0;
}
.comment-area-container {
	border-top: none;
	background: none;
}

/* ================================
   Gutenberg ボタン
================================ */
.wp-block-button {
	text-align: center;
	margin: 30px auto;
}

.wp-block-button__link {
	background: var(--sh-accent);
	color: #ffffff;
	padding: 12px 28px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--sh-accent) !important;
	transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.wp-block-button__link:hover {
	background: var(--sh-accent-hover);
	color: #ffffff;
	border-color: var(--sh-accent-hover) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.wp-block-buttons {
	justify-content: center !important;
	display: flex !important;
}

/* ================================
   HivePress 調整
================================ */
/* カテゴリーカード（業種アイコン） */
.hp-listing-category__image img {
	width: 150px;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* 一覧カード */
.hp-listing {
	height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}

/* 一覧カードの画像 */
.hp-grid__item .hp-listing img {
	max-height: 150px;
	object-fit: cover;
}

/* 一覧カードの本文部分 */
.hp-listing .hp-listing__content {
	max-height: 100px;
	overflow: hidden;
}

/* 詳細ページ：ベンダー＆サイドバー非表示 */
body.single-hp_listing .hp-vendor,
body.single-hp_listing .hp-listing__sidebar {
	display: none !important;
}

/* 詳細ページ：画像を大きく中央表示 */
body.single-hp_listing .hp-listing {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: auto !important;
	max-height: none !important;
	overflow: hidden !important;
}
body.single-hp_listing .hp-listing img {
	max-height: 600px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
}

/* 3列レイアウト */
.hp-listings--grid > .hp-listing {
	width: 32% !important;
	margin-right: 2%;
	margin-bottom: 20px;
}
.hp-listings--grid > .hp-listing:nth-child(3n) {
	margin-right: 0;
}

/* モバイルで1列 */
@media (max-width: 768px) {
	.hp-listings--grid > .hp-listing {
		width: 100% !important;
		margin-right: 0;
	}
}

/* 検索フォーム */
.hp-form--listing-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.hp-form--listing-search .hp-form__field {
	flex: 1 1 22%;
	min-width: 180px;
	max-width: 100%;
}
.hp-form--listing-search .hp-form__submit {
	flex: 0 0 auto;
}

/* submit-listing ボタンを非表示にする場合 */
button[data-url*="submit-listing"] {
	display: none !important;
}

/* select2 入力文字色 */
.select2-container--default .select2-selection--multiple .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-search--inline .select2-search__field {
	color: #555555 !important;
}

/* ================================
   フッター
================================ */
.site-footer,
footer {
	width: 100%;
	background-color: var(--footer-bg, #111111);
	color: var(--footer-text, #ffffff);
	text-align: center;
	padding: 20px 0;
	box-sizing: border-box;
}

.site-footer a,
.site-footer p,
.site-footer span,
.site-footer li,
footer a {
	color: var(--footer-text, #ffffff) ;
	text-decoration: none;
}
.site-footer a:hover,
footer a:hover {
	opacity: 0.8;
}

/* フッターメニュー */
.footer-menu {
	margin-bottom: 10px;
	text-align: center;
}
.site-footer .footer-menu ul{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 12px 18px;
  list-style:none;
  margin:0;
  padding:0;
}
.site-footer .footer-menu li{ margin:0; }


/* コピーライト */
.footer-credit,
.footer-navbar__copyright {
	text-align: center;
	margin-top: 5px;
	font-size: 14px;
}

/* SNSリンク */
.sns-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	list-style: none;
	padding: 10px 0;
	margin: 10px 0;
}
.sns-icons li {
	display: inline-block;
}
.sns-icons a {
	color: #ffffff;
	font-size: 20px;
	transition: 0.3s ease;
}
.sns-icons a:hover {
	color: #cccccc;
}

/* ================================
   Back To Top
================================ */
.back-to-top {
	position: fixed;
	bottom: 40px;
	right: 30px;
	width: 58px;
	height: 58px;
	background-color: var(--backtotop-bg, #222222);
	color: var(--backtotop-text, #ffffff);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 3px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	font-size: 20px;
	text-decoration: none;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all .3s ease;
	z-index: var(--sh-z-fab);
}
.back-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(-3px);
}
.back-to-top:hover {
	background-color: var(--backtotop-hover-bg, #333333);
	color: var(--backtotop-hover-text, #ffffff);
}
.back-to-top-text {
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}
.back-to-top i {
	font-size: 18px;
	line-height: 1;
}
@media (max-width: 768px) {
	.back-to-top {
		bottom: 20px;
		right: 15px;
		width: 46px;
		height: 46px;
	}
}

/* ================================
   Contact Form 7
================================ */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
	background: var(--sh-accent);
	color: #ffffff;
	padding: 10px 24px;
	border-radius: 999px;
	border: 1px solid var(--sh-accent);
	cursor: pointer;
	transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
	background: var(--sh-accent-hover);
	border-color: var(--sh-accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

/* ================================
   WordPress 標準クラス
================================ */
.wp-caption {
	max-width: 100%;
	text-align: center;
	margin: 10px 0;
}
.wp-caption-text {
	font-size: 0.9em;
	color: #666666;
}
.sticky {
	background: #f9f9f9;
}
.gallery-caption {
	font-style: italic;
}
.bypostauthor {
	font-weight: bold;
}
.alignright {
	float: right;
	margin: 0 0 1em 1em;
}
.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}
.aligncenter {
	display: block;
	margin: 0 auto;
}

/* ================================
   その他細かい調整
================================ */
/* サイトクレジット非表示（必要なら表示に戻す） */
.site-credit {
	display: none !important;
}

/* ===========================================
   Gutenberg レイアウト：900px / 1200px / 全幅
=========================================== */

/* ▼ 基本ルール：固定ページの直下ブロック */
.page .entry-content > *:not(.alignwide):not(.alignfull) {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ▼ 幅広 1200px */
.page .entry-content > .alignwide {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ▼ 全幅 100% */
.page .entry-content > .alignfull {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ▼ 特殊ブロック（p, table, 最新の投稿, CF7 など） */
.page .entry-content > p,
.page .entry-content > form.wpcf7-form,
.page .entry-content > figure.wp-block-table,
.page .entry-content > figure.wp-block-table table,
.page .entry-content > .wp-block-latest-posts,
.page .entry-content > .wp-block-archives,
.page .entry-content > .wp-block-categories {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

 /* ============================================
   投稿一覧：カードレイアウト化
   PC：4列　タブレット：2列　スマホ：1列
============================================ */

/* グリッド化（親UL） */
.post-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* スマホ：1列 */
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* カード本体 */
.post-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.post-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* サムネイル画像 */
.post-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* タイトル */
.post-title a {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

/* 日付 */
.post-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* ---------------------------------
      ブレークポイント
--------------------------------- */

/* タブレット（2列） */
@media (min-width: 600px) and (max-width: 1024px) {
    .post-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

/* PC（4列） */
@media (min-width: 1025px) {
    .post-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

h1, h2, h3 {
    border-color: var(--sh-accent);
}

.has-vivid-cyan-blue-color {
    color: var(--sh-accent) !important;
}

/* 幅900px */
.wp-block-table.is-style-w900 table {
    width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 幅1200px */
.wp-block-table.is-style-w1200 table {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page .entry-content .wp-block-cover.alignfull {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: 100vw !important;
    padding: 0 !important;
}

/*----11.24 seed-ai----*/
/* ===============================
   サービスページ：3列グリッド
   =============================== */
.page-id-4248 .service-list.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

/* スマホは1列 */
@media (max-width: 768px) {
  .page-id-4248 .service-list.cols-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* サービス一覧：カードレイアウト共通 */
.service-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  gap: 32px;
}

/* 3 / 5 / 6件 → 3列 */
.service-list.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 2 / 4件 → 2列 */
.service-list.cols-2 {
  display: grid;  /* ★これが抜けていた */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* スマホは必ず1列 */
@media (max-width: 768px) {
  .service-list.cols-2,
  .service-list.cols-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===============================
   サービス一覧：ボタン統一 + 中央寄せ（最終版）
   =============================== */

/* 各サービス内の「最後の段落」を中央寄せ */
.service-list .service-item p:last-child {
  text-align: center;
}

/* 「詳しくはこちら」（最後の段落のリンク）をボタン化 */
.service-list .service-item p:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  min-height: 48px;
  padding: 0 20px;
  margin-top: 14px;
  border: 2px solid var(--sh-accent);
  border-radius: 999px;
  background: #fff;
  color: var(--sh-accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.service-list .service-item p:last-child a:hover {
  background: var(--sh-accent);
  color: #fff;
  border-color: var(--sh-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}


/* ✅ サービスカードのはみ出し完全防止（スマホ専用） */
@media (max-width: 768px) {

  .service-list {
    width: 100% ;
    padding-left: 5px ;
    padding-right: 5px ;
    box-sizing: border-box ;
  }

  .service-item {
    width: 100% ;
    max-width: 100% ;
    box-sizing: border-box ;
  }

  .service-item img,
  .service-item p,
  .service-item h3 {
    max-width: 100% ;
    box-sizing: border-box ;
  }

}

/* ✅ スマホ時：Coverブロックの左右切れ完全防止 */
@media (max-width: 768px) {

  .wp-block-cover.alignfull {
    padding-left: 0 ;
    padding-right: 0 ;
  }

  .wp-block-cover__inner-container {
    max-width: 100% ;
    padding-left: 16px ;
    padding-right: 16px ;
    box-sizing: border-box;
  }

  /* ✅ constrainedレイアウトの幅制限を解除 */
  .is-layout-constrained {
    max-width: 100% ;
  }

}

/*12.18*/
@media (max-width: 768px) {
  .wp-block-buttons.is-content-justification-center
  .wp-block-button__link {
    width: auto;
    min-width: 220px;
    text-align: center;
  }
}

/* ===========================
   メガフッター（4カラム）
   =========================== */
.site-footer {
  background-color: var(--footer-bg, #111111);
  color: var(--footer-text, #ffffff);
  font-size: 14px;
}

.footer-inner.footer-mega {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

/* 各カラム */
.footer-column {
  min-width: 0;
}

.footer-widget-title,
.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
}

/* リスト系（メニュー） */
.footer-link-list,
.footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list li,
.footer-widget ul li {
  margin-bottom: 8px;
}

.footer-link-list a,
.footer-widget a {
  color: var(--footer-text, #ffffff);
}

/* ===========================
   レスポンシブ調整（改訂版）
   =========================== */

/* タブレット・スマホ共通：2カラム */
@media screen and (max-width: 1024px) {
  .footer-inner.footer-mega {
    grid-template-columns: repeat(2, minmax(0, 1fr)) ;
  }
}

/* かなり細い端末だけ1カラムにする */
@media screen and (max-width: 480px) {
  .footer-inner.footer-mega {
    grid-template-columns: 1fr ;
  }

  .site-footer {
    font-size: 12px;
  }

  .footer-widget-title {
    font-size: 14px;
  }
}

/* フッターメニューのリスト表示調整 */
.site-footer .footer-link-list {
  list-style: none;        /* ●を消す */
  margin: 0;
  padding-left: 0;
}

.site-footer .footer-link-list li {
  margin-bottom: 6px;
  text-align: left;        /* 文字を左寄せにする */
}

.site-footer .footer-link-list a {
  display: inline-block;
  text-decoration: none;
}

/* =========================
   SNS リスト
   ========================= */
.site-footer .footer-sns-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.site-footer .footer-sns-list li {
  margin-bottom: 8px;
}

.site-footer .footer-sns-list a {
  color: var(--footer-text, #ffffff);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-footer .footer-sns-list a:hover {
  opacity: 0.8;
}

.site-footer .footer-sns-list i {
  font-size: 18px;
  width: 22px;
}

/* =========================
   お問い合わせボタン（フッター）
   ========================= */
.site-footer .footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--sh-accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--sh-accent);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.site-footer .footer-contact-btn:hover {
  background: var(--sh-accent-hover);
  border-color: var(--sh-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

/* ============================
 * C) パララックス UI 用：ヘッダー＆ヒーロー
 * ============================ */

/* ----------------------------
   1. ヘッダーをヒーロー画像の上に重ねる
   ---------------------------- */
body.ui-parallax .site-header {
  position: fixed;       /* 常に上に追従 */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: transparent;  /* 最初は透明（ヒーローの上に乗る） */
  box-shadow: none;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

/* ヘッダー上にうっすらグラデーションオーバーレイ（お好みで） */
body.ui-parallax .site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;    /* クリックを邪魔しない */
  z-index: -1;             /* ナビ本体より背面 */
}

/* ヒーロー側（スライダー）はヘッダー直下からスタート */
body.ui-parallax .hero-slider,
body.ui-parallax .hero-parallax {
  margin-top: 0;
}

/* ヒーロー上ではロゴ・メニューは白文字前提 */
body.ui-parallax .site-header .site-title a,
body.ui-parallax .site-header .main-navigation a {
  color: #ffffff;
}

/* ----------------------------
   2. パララックス用：ヒーロー本体
   ---------------------------- */

/* パララックス UI のときだけヒーローを高くする */
body.ui-parallax .hero-slider {
  position: relative;
  overflow: hidden;        /* 下の丸アーチ用 */
  height: 95vh;            /* 好みで 80〜90vh でもOK */
  min-height: 450px;       /* スマホ用の保険 */
}

/* 共通：背景の基本設定 */
body.ui-parallax .hero-parallax,
body.ui-parallax .hero-slider .slide {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

/* PC 向け（1024px以上）は CSS の parallax をON */
@media (min-width: 1024px) {
  body.ui-parallax .hero-parallax,
  body.ui-parallax .hero-slider .slide {
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
  }
}

/* --- 下端の大きな丸いアーチ --- */
body.ui-parallax .hero-slider::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -190px;     /* どれくらい食い込ませるか */
  width: 200%;
  height: 240px;      /* アーチの大きさ */
  background: #ffffff;
  border-radius: 50%;
  z-index: 5;
}
/*2026.1.15*/
@media (max-width: 1024px) {
  body.ui-parallax .hero-slider .slide {
    background-attachment: scroll;
    will-change: transform;
  }
}


/* ----------------------------
   3. スクロール後：真っ白ヘッダー
   ---------------------------- */
/* JS（ui-parallax.js）側で .site-header に is-solid を付けている想定 */

body.ui-parallax .site-header.is-solid {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 真っ白状態のときの文字色を黒系に変更 */
body.ui-parallax .site-header.is-solid .site-title a,
body.ui-parallax .site-header.is-solid .main-navigation a {
  color: #222222;
}

/* ===========================
   B) 全画面・中央（ヒーロー）専用
   =========================== */

/* ヘッダーを透明＆上に重ねる */
body.ui-fullscreen_center .site-header {
  background: transparent ;
  position: absolute ;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--sh-z-header);
  box-shadow: none ;
}

/* メニュー文字を白に */
body.ui-fullscreen_center .site-header a {
  color: #fff ;
}
body.ui-fullscreen_center .site-header a:hover {
  opacity: .85;
}

/* ヒーローを完全フルスクリーン */
body.ui-fullscreen_center .hero-slider {
  width: 100vw;
  height: 100dvh ;     /* iOS対応 */
  min-height: 100dvh ;
  max-height: none ;

  margin: 0 ;
  padding: 0 ;
  position: relative;
  overflow: hidden;
}

/* フォールバック（dvh非対応ブラウザ向け） */
@supports not (height: 100dvh) {
  body.ui-fullscreen_center .hero-slider {
    height: 100vh ;
    min-height: 100vh ;
  }
}

/* スライド自体もフル追従 */
body.ui-fullscreen_center .hero-slider .slide {
  height: 100% ;
  min-height: 100% ;
  background-size: cover;
  background-position: center;
}

/* 中央寄せオーバーレイ */
body.ui-fullscreen_center .hero-slider .overlay {
  position: absolute ;
  top: 50% ;
  left: 50% ;
  transform: translate(-50%, -50%) ;

  color: #fff;
  text-align: center;
  width: 90%;
  max-width: 900px;
  z-index: 20;
}

/* =========================================
   FIX: ヘッダーのメニューはPCで横並び
   - 影響範囲を「ヘッダー内のメニュー」に限定
========================================= */

/* 1) PC：ヘッダー内のメニューを横並び */
@media (min-width: 769px) {

  /* あなたのテーマの通常メニュー（ul.main-menu）向け */
  .site-header .main-nav,
  .site-header .main-menu {
    display: flex ;
    align-items: center ;
  }

  .site-header .main-menu {
    flex-direction: row ;
    flex-wrap: wrap ;
    gap: 18px ;

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

  .site-header .main-menu > li {
    margin: 0 ;
  }

  .site-header .main-menu > li > a {
    display: inline-flex ;
    align-items: center ;
    white-space: nowrap ;
  }

  /* もしブロックナビ（wp-block-navigation）をヘッダーで使ってる場合だけ */
  .site-header .wp-block-navigation__container {
    display: flex ;
    flex-direction: row ;
    flex-wrap: wrap ;
    align-items: center ;
    gap: 18px ;

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

  .site-header .wp-block-navigation__container .wp-block-navigation-item {
    margin: 0 ;
  }

  .site-header .wp-block-navigation__container .wp-block-navigation-item__content {
    display: inline-flex ;
    align-items: center ;
    white-space: nowrap ;
  }
}

/* 2) スマホ：バーガーメニュー内は縦並びに固定（横並び強制を打ち消す） */
@media (max-width: 768px) {

  .burger-menu .burger-nav {
    display: flex ;
    flex-direction: column ;
    gap: 18px ;

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

  .burger-menu .burger-nav li {
    margin: 0 ;
  }

  .burger-menu .burger-nav a {
    display: inline-flex ;
    justify-content: center ;
    white-space: nowrap ;
  }
}

/* ===== FIX: メニューを横並びに強制 ===== */
.site-header nav ul,
.site-header nav .menu,
.site-header .main-navigation ul,
.main-navigation ul,
.wp-block-navigation__container,
.wp-block-page-list{
  display: flex ;
  flex-direction: row ;
  flex-wrap: wrap ;
  align-items: center ;
  gap: 18px ;

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

.site-header nav li,
.site-header nav .menu-item,
.wp-block-navigation-item{
  margin: 0 ;
}

.site-header nav a,
.wp-block-navigation-item__content{
  display: inline-flex ;
  align-items: center ;
  white-space: nowrap ;
}

/* =====================================
   SiteHub タイポグラフィスケール
   見出しサイズ統一（Gutenberg対応）
===================================== */

:root {
  --sh-h1: 48px;
  --sh-h2: 40px;
  --sh-h3: 30px;
  --sh-h4: 24px;
  --sh-h5: 20px;
  --sh-h6: 16px;
}

/* ===== 見出し共通 ===== */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-heading {
  font-weight: 700;
  line-height: 1.3;
  margin: 1.2em 0 0.6em;
}

/* ===== 個別サイズ ===== */

h1, .wp-block-heading.level-1 { font-size: var(--sh-h1); }
h2, .wp-block-heading.level-2 { font-size: var(--sh-h2); }
h3, .wp-block-heading.level-3 { font-size: var(--sh-h3); }
h4, .wp-block-heading.level-4 { font-size: var(--sh-h4); }
h5, .wp-block-heading.level-5 { font-size: var(--sh-h5); }
h6, .wp-block-heading.level-6 { font-size: var(--sh-h6); }

/* ===== スマホ自動縮小 ===== */

@media (max-width: 768px) {
  :root {
    --sh-h1: 34px;
    --sh-h2: 28px;
    --sh-h3: 22px;
    --sh-h4: 18px;
    --sh-h5: 16px;
    --sh-h6: 14px;
  }
}

/* h2周りの余白　見出しの前後を広げる */
.entry-content h2,
.wp-block-post-content h2 {
  margin-top: 94px;
  margin-bottom: 34px;
}

.entry-content h3,
.wp-block-post-content h3 {
  margin-top: 48px;
  margin-bottom: 18px;
}

/* ======================
   SiteHub 共通コンテナ
   ====================== */

.sh-container{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.sh-container-wide{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sh-container-full{
  max-width: none;
  width: 100%;
  padding: 0;
}

/* =========================
   Gutenberg Cover：文字飛び防止オーバーレイ
========================= */
.wp-block-cover {
  position: relative;
}

.wp-block-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

.wp-block-cover .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}
/* =========================
   お知らせ：アーカイブ＋カテゴリー 2カラム
========================= */

.sh-news-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.sh-news-bottom__col {
  min-width: 0;
}

.sh-news-bottom__title {
  font-size: 20px;
  margin-bottom: 12px;
}

.sh-news-bottom ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sh-news-bottom li {
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .sh-news-bottom {
    grid-template-columns: 1fr;
  }
}

/* =========================
   お知らせページ：下余白を増やす
========================= */
.sh-news-bottom {
  margin-bottom: 80px;
}

.site-main {
  padding-bottom: 60px;
}

/* FAQ：質問カード同士の間隔を広げる */
.sh-faq__item {
  margin-bottom: 28px;
}

.sh-faq__item {
  margin-bottom: 32px;
  border-radius: 14px;
}

/* FAQセクションの上に余白を作る */
.sh-faq {
  margin-top: 80px;
}

.sh-service-grid{
  display:grid;
  gap: 32px;
  margin: 20px 0 40px;
}

/* ✅ 2列 */
.sh-service-grid.sh-cols-2{
  grid-template-columns: repeat(2, 1fr);
}

/* ✅ 3列 */
.sh-service-grid.sh-cols-3{
  grid-template-columns: repeat(3, 1fr);
}

/* レスポンシブ */
@media (max-width: 900px){
  .sh-service-grid.sh-cols-2,
  .sh-service-grid.sh-cols-3{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px){
  .sh-service-grid.sh-cols-2,
  .sh-service-grid.sh-cols-3{
    grid-template-columns: 1fr;
  }
}

.sh-service-grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.sh-service-grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

@media (max-width: 900px){
  .sh-service-grid.cols-2,
  .sh-service-grid.cols-3{ grid-template-columns: 1fr; }
}

.sh-service-card{
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
}
.sh-service-card__title{
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 800;
}
.sh-service-card__desc{
  margin: 0 0 18px;
  line-height: 1.9;
}
.sh-service-card__btn{
  display:inline-block;
  padding: .85em 2.2em;
  border: 2px solid currentColor;
  text-decoration:none;
}

/* =========================
   アクセス：最寄り駅＋地図 2カラム
========================= */

.sh-access__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 32px;
  margin-top: 24px;
}

.sh-access__col{
  background: #fff;
}

/* スマホは1カラムに落とす */
@media (max-width: 768px){
  .sh-access__grid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Section Soft Cover
========================= */
.sh-section-soft {
  background: color-mix(
    in srgb,
    var(--sh-accent) 6%,
    #ffffff
  );
  padding: 80px 0;
}

/* =========================
   Cover (Services) - Full width soft cover
========================= */
.sh-cover.sh-cover--services{
  background: color-mix(
    in srgb,
    var(--sh-accent) 6%,
    #ffffff
  );
  padding: 80px 0;
}

/* 中身はコンテナ幅に収める（フル幅の中に中身だけ中央寄せ） */
.sh-cover__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* サービス：columns-* をgrid化（フロント用） */
.wp-block-columns.columns-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
}
.wp-block-columns.columns-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}
/* 5件は3列で2段（3+2）になる */
.wp-block-columns.columns-5{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

@media (max-width:768px){
  .wp-block-columns.columns-2,
  .wp-block-columns.columns-3,
  .wp-block-columns.columns-5{
    grid-template-columns:1fr;
  }
}

/* ✅ 画像＋オーバーレイ（テーマカラー連動） */
.sh-cover{
  position: relative;
  padding: 70px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 重要：全幅化（テーマ側のコンテンツ幅制限を突破） */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.sh-cover::before{
  content:"";
  position:absolute;
  inset:0;

  /* ✅ テーマカラー（--sh-accent）を使ったオーバーレイ */
  background: color-mix(in srgb, var(--sh-accent, #0a4b78) 20%, transparent);
}

/* color-mix 非対応ブラウザの保険（黒でもOKなら残す） */
@supports not (background: color-mix(in srgb, #000 50%, transparent)) {
  .sh-cover::before{ background: rgba(0,0,0,0.55); }
}

.sh-cover__inner{
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}

.sh-cover__inner h2,
.sh-cover__inner p{
  color:#fff;
}

/* cover（帯）をエディタでもそれっぽく見せる */
.editor-styles-wrapper .wp-block-cover.alignfull{
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.editor-styles-wrapper .wp-block-cover__inner-container{
  width: 100%;
}

.wp-block-cover.sh-service-band{
  background-color: var(--sh-accent) !important;
}

.wp-block-cover.sh-service-band > .wp-block-cover__background{
  background-color: var(--sh-accent) !important;
}

.wp-block-cover.sh-service-band{
  position: relative;
  background-color: var(--sh-accent) !important;
}

/* ✅ オーバーレイ（暗くする） */
.wp-block-cover.sh-service-band::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.25); /* ←濃さ調整 0.25〜0.45あたり */
  pointer-events:none;
  z-index: 0;
}

/* cover の中身は前に出す */
.wp-block-cover.sh-service-band > .wp-block-cover__inner-container{
  position: relative;
  z-index: 1;
}

/* Gutenbergが生成する背景spanは透明にして邪魔しない */
.wp-block-cover.sh-service-band > .wp-block-cover__background{
  background: transparent !important;
}

/* 文字色も合わせて読みやすく（必要なら） */
.wp-block-cover.sh-service-band,
.wp-block-cover.sh-service-band h2,
.wp-block-cover.sh-service-band h3,
.wp-block-cover.sh-service-band p{
  color:#fff;
}

/* ==================================================
   Archive / Category / Blog アイキャッチ帯（最終版）
   ================================================== */

/* ヘッダーはrelativeに */
body.archive .page-featured-header,
body.category .page-featured-header,
body.blog .page-featured-header,
body.news-archive .page-featured-header {
  position: relative;
  height: auto;
}

/* overlay全面で中央寄せ */
body.archive .page-featured-overlay,
body.category .page-featured-overlay,
body.blog .page-featured-overlay,
body.news-archive .page-featured-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
}

/* タイトルのズラし解除 */
body.archive .page-featured-title,
body.category .page-featured-title,
body.blog .page-featured-title,
body.news-archive .page-featured-title {
  position: static;
  margin: 0;
}

/* PC */
@media (min-width: 1025px) {
  body.archive .page-featured-header,
  body.category .page-featured-header,
  body.blog .page-featured-header {
    min-height: 160px;
  }
}

/* タブレット */
@media (min-width: 769px) and (max-width: 1024px) {
  body.archive .page-featured-header,
  body.category .page-featured-header,
  body.blog .page-featured-header {
    min-height: 155px;
  }
}

/* スマホ */
@media (max-width: 768px) {
  body.archive .page-featured-header,
  body.category .page-featured-header,
  body.blog .page-featured-header {
    min-height: 130px;
  }
}

/* ==================================================
   UI: Parallax / Fullscreen のときだけ
   Archive / Category / Blog のアイキャッチ高さを “大きめ固定” にする
   （フルスクリーンにはしない）
   ================================================== */
/* PC（1025px以上） */
@media (min-width: 1025px) {
  body.ui-parallax.archive .page-featured-header,
  body.ui-parallax.category .page-featured-header,
  body.ui-parallax.blog .page-featured-header,
  body.ui-fullscreen_center.archive .page-featured-header,
  body.ui-fullscreen_center.category .page-featured-header,
  body.ui-fullscreen_center.blog .page-featured-header {
    height: clamp(260px, 60vh, 360px);
  }
}

/* タブレット（768px〜1024px）← 768を含める */
@media (min-width: 768px) and (max-width: 1024px) {
  body.ui-parallax.archive .page-featured-header,
  body.ui-parallax.category .page-featured-header,
  body.ui-parallax.blog .page-featured-header,
  body.ui-fullscreen_center.archive .page-featured-header,
  body.ui-fullscreen_center.category .page-featured-header,
  body.ui-fullscreen_center.blog .page-featured-header {
    height: clamp(240px, 90vh, 360px);
  }
}

/* スマホ（767px以下）← maxを767にする */
@media (max-width: 767px) {
  body.ui-parallax.archive .page-featured-header,
  body.ui-parallax.category .page-featured-header,
  body.ui-parallax.blog .page-featured-header,
  body.ui-fullscreen_center.archive .page-featured-header,
  body.ui-fullscreen_center.category .page-featured-header,
  body.ui-fullscreen_center.blog .page-featured-header {
    height: clamp(220px, 80vh, 360px);
  }
}

/* PC（1025px以上）は 365px で固定（Parallax/Fullscreenのときだけ） */
@media (min-width: 1025px) {
  body.ui-parallax.blog .page-featured-header,
  body.ui-parallax.archive .page-featured-header,
  body.ui-parallax.category .page-featured-header,
  body.ui-fullscreen_center.blog .page-featured-header,
  body.ui-fullscreen_center.archive .page-featured-header,
  body.ui-fullscreen_center.category .page-featured-header{
    height: 365px !important;
  }
}

/* =========================================
   お知らせ一覧：2段構造 + 区切り線
   対象：.sh-news-list > article.sh-news-item
========================================= */

.sh-news-list{
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* 1件（カード風に余白だけ） */
.sh-news-item{
  padding: 18px 18px;
  margin: 0;
}

/* リンク全体を縦並びブロックにする */
.sh-news-link{
  display: block;
  text-decoration: none;
}

/* 抜粋（もし存在するなら） */
.sh-news-item .sh-news-excerpt,
.sh-news-item .sh-news-desc,
.sh-news-item p{
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* 1本目の線：説明文の下（pがある場合） */
.sh-news-item p::after{
  content:"";
  display:block;
  height:1px;
  background: rgba(0,0,0,.12);
  margin: 12px 0 12px;
}

/* 日付 */
.sh-news-date{
  display:block;
  margin: 0;
  font-size: 12px;
  color: #666;
}

/* 2本目の線：日付の下 */
.sh-news-date::after{
  content:"";
  display:block;
  height:1px;
  background: rgba(0,0,0,.12);
  margin: 12px 0 12px;
}

/* タイトル */
.sh-news-title{
  display:block;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

/* hover（任意） */
.sh-news-link:hover .sh-news-title{
  text-decoration: underline;
}

/* =========================================================
 * Block UI：アイコン2重表示対策（img側を消す）
 * ========================================================= */
.sh-block__icon img{
  display: none !important;
}

/* =========================================================
 * Hero：テーマカラーのせをやめて、黒オーバーレイにする
 * ① 既存の ::before オーバーレイは無効化
 * ② 背景画像（--sh-slide-bg）の上に黒を重ねる
 * ========================================================= */
.hero-slider .slide::before{
  content: none !important;
}

.hero-slider .slide{
  background-image:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
    var(--sh-slide-bg) !important;
  background-size: cover;
  background-position: center;
}

/* =========================================================
 * Mobile menu：背景 #111827 のとき文字を白寄りに
 * - 変数で一括（推奨）
 * - 念のため mobile-menu 系にも同じ色を当てる（保険）
 * ========================================================= */
@media (max-width: 768px){
  .site-header{
    --header-text: #E5E7EB;
  }

  /* 保険：モバイルメニュー領域が別要素でも読めるように */
  .mobile-menu,
  .mobile-menu a,
  .site-nav-mobile a,
  .burger-nav a{
    color: #E5E7EB !important;
  }

  /* hover時はブランド赤 */
  .mobile-menu a:hover,
  .burger-nav a:hover{
    color: #E63B2E !important;
  }
}

.sh-appeal-badge{
  display:inline-block;
  padding:.4em .9em;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  letter-spacing:.04em;

  color:#fff;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.25);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  margin:0 0 14px;
}

.hero-slider .slide{
  transition:transform 6s ease;
}

.hero-slider .slide.active{
  transform:scale(1.05);
}

.sh-appeal-badge{
  letter-spacing:.05em;
  text-transform:uppercase;
}

/* =================================
   Hero text width control
================================= */

.hero-slider .overlay{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-slider .overlay p{
  max-width: 520px;
  margin-left:auto;
  margin-right:auto;
}

/* -----------------------------------------
   1) Button（WP標準 + SiteHubでよく出るボタン系）
----------------------------------------- */
button,
input[type="button"],
input[type="submit"],
.wp-block-button__link,
.sh-block__btn,
.service-btn,
.more-link{
  background: var(--sh-accent);
  color: var(--sh-accent-contrast);
  border: 1px solid color-mix(in srgb, var(--sh-accent) 70%, black);
  border-radius: 999px;
  padding: .7em 1.1em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.sh-block__btn:hover,
.service-btn:hover,
.more-link:hover{
  background: var(--sh-accent-hover);
  border-color: color-mix(in srgb, var(--sh-accent-hover) 70%, black);
}

button:active,
input[type="button"]:active,
input[type="submit"]:active,
.wp-block-button__link:active,
.sh-block__btn:active,
.service-btn:active,
.more-link:active{
  transform: translateY(1px);
}

button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
.wp-block-button__link:focus-visible,
.sh-block__btn:focus-visible,
.service-btn:focus-visible,
.more-link:focus-visible{
  outline: 3px solid color-mix(in srgb, var(--sh-accent) 35%, white);
  outline-offset: 2px;
}

/* すでに白ボタン運用がある場合の“枠ボタン”も用意（任意で使える） */
.is-style-outline .wp-block-button__link,
.btn-outline{
  background: transparent;
  color: var(--sh-accent);
  border-color: color-mix(in srgb, var(--sh-accent) 65%, black);
}
.is-style-outline .wp-block-button__link:hover,
.btn-outline:hover{
  background: color-mix(in srgb, var(--sh-accent) 10%, transparent);
  color: var(--sh-accent-hover);
  border-color: color-mix(in srgb, var(--sh-accent-hover) 65%, black);
}

/* -----------------------------------------
   3) Heading Accent（H2/H3に“プロっぽいアクセント”）
   ※既存デザインを壊さないよう、左線＋下線の軽い演出
----------------------------------------- */
.entry-content h2,
.entry-content h3,
.sh-block__title,
.sh-overlap__title{
  position: relative;
}

.entry-content h2::after,
.sh-block__title::after,
.sh-overlap__title::after{
  content:"";
  display:block;
  width: 72px;
  height: 4px;
  margin-top: .35em;
  border-radius: 999px;
  background: var(--sh-accent);
  opacity: .9;
}

/* H3は控えめ（細い線） */
.entry-content h3::after{
  content:"";
  display:block;
  width: 48px;
  height: 3px;
  margin-top: .35em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sh-accent) 75%, transparent);
}

.card:hover{
  box-shadow: 0 10px 30px rgba(var(--sh-accent-rgb),0.15);
}

.sh-overlap__card{
  box-shadow:0 20px 60px rgba(0,0,0,0.15);
  transition:.25s;
}

.sh-overlap__card:hover{
  transform:translateY(-4px);
}
.wp-block-button__link:hover{
  transform:translateY(-1px);
}

/* =====================================================
   SiteHub UI調整
   - サービスカード
   - 共通ボタン
   - 「→もっと読む」
   - 見出し余白
===================================================== */

/* ========================================
   1. サービスカード全体
======================================== */
.sh-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.sh-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

/* タイトル行数差によるズレ防止 */
.sh-service-card__title {
  min-height: 3.2em;
}

/* 説明文の高さを伸ばしてボタン位置を揃える */
.sh-service-card__desc {
  flex: 1;
}

/* ボタン上余白 */
.sh-service-card__btnwrap {
  margin-top: 24px;
}

/* ========================================
   2. サービスカードのボタン統一
======================================== */
.sh-service-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 56px;
  padding: 0 28px;
  box-sizing: border-box;

  background: var(--sh-accent, #f26a21);
  border: 2px solid var(--sh-accent, #f26a21);
  border-radius: 999px;

  color: #fff !important;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  font-weight: 700;

  transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.sh-service-card__btn:hover {
  background: var(--sh-accent-hover, #d95d1b);
  border-color: var(--sh-accent-hover, #d95d1b);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

/* ========================================
   3. 共通ボタン hover 強化
======================================== */
.wp-block-button__link,
.more-link {
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.wp-block-button__link:hover,
.more-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

/* ========================================
   4. 「→もっと読む」専用調整
======================================== */
.wp-block-buttons.is-content-justification-center > .wp-block-button {
  display: flex;
  justify-content: center;
}

.wp-block-buttons.is-content-justification-center > .wp-block-button > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 220px;
  min-height: 48px;
  padding: 0 24px;
  box-sizing: border-box;

  text-align: center;
  line-height: 1;
}

/* ========================================
   5. セクション見出し余白
======================================== */
.entry-content > h2,
.entry-content .wp-block-heading {
  margin-bottom: 18px;
}

.entry-content > h2 + p,
.entry-content .wp-block-heading + p {
  margin-top: 0;
}
/* ========================================
 * ヒーローCTAボタン（ベース）
 * ======================================== */
.hero-slider .overlay .sh-hero-cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  margin-top: 24px;
  padding: 14px 32px;

  background: var(--sh-accent, #53BBD3) !important;
  border: 2px solid var(--sh-accent, #53BBD3) !important;
  border-radius: 999px;

  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;

  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.hero-slider .overlay .sh-hero-cta-btn:hover {
  background: var(--sh-accent-hover, #3aa2ba) !important;
  border-color: var(--sh-accent-hover, #3aa2ba) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.hero-slider .overlay .sh-hero-cta-btn::after {
  content: "\2192";
  margin-left: 8px;
  transition: transform .25s ease;
}

.hero-slider .overlay .sh-hero-cta-btn:hover::after {
  transform: translateX(4px);
}

/* ========================================
 * PC
 * ======================================== */
@media (min-width: 1025px) {
  .hero-slider .overlay .sh-hero-cta-btn {
    margin-top: 28px;
    padding: 16px 40px;
    font-size: 16px;
  }
}

/* ========================================
 * タブレット
 * ======================================== */
@media (max-width: 1024px) {
  .hero-slider .overlay .sh-hero-cta-btn {
    padding: 14px 30px;
    font-size: 15px;
  }
}

/* ========================================
 * スマホ
 * ======================================== */
@media (max-width: 768px) {
  .hero-slider .overlay .sh-hero-cta-btn {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ========================================
 * default ヒーロー：親にも高さを持たせる
 * ======================================== */
body.ui-default .hero-slider {
  position: relative;
  min-height: 100vh !important;
  height: 100vh !important;
  overflow: hidden;
}

body.ui-default .hero-slider .slide {
  position: absolute;
  inset: 0;
  min-height: 100% !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* 現在表示中のスライドだけ見せる */
body.ui-default .hero-slider .slide[style*="opacity: 1"] {
  z-index: 2;
}

body.ui-default .hero-slider .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, calc(100% - 32px));
  text-align: center;
  z-index: 10;
}

/* タブレット */
@media (max-width: 1024px) {
  body.ui-default .hero-slider {
    min-height: 95vh !important;
    height: 95vh !important;
  }

  body.ui-default .hero-slider .overlay {
    width: min(820px, calc(100% - 40px));
  }
}

/* スマホ */
@media (max-width: 768px) {
  body.ui-default .hero-slider {
    min-height: 78vh !important;
    height: 78vh !important;
  }

  body.ui-default .hero-slider .overlay {
    width: calc(100% - 24px);
  }
}


/* ========================================
 * 制作実績セクション（ダーク系）
 * ======================================== */
.sh-works-section {
  background: #0f1115;
  padding: 80px 20px;
}

.sh-works-section__head {
  text-align: center;
  margin-bottom: 40px;
}

.sh-works-section__label {
  color: var(--sh-accent, #53BBD3);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.sh-works-section__title {
  font-size: 34px;
  color: #fff;
  margin: 10px 0 0;
}

.sh-works-section__lead {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin-top: 10px;
}

/* ========================================
 * グリッド
 * ======================================== */
.sh-works-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ========================================
 * カード本体
 * ======================================== */
.sh-work-card {
  background: #151821;
  border-radius: 6px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid rgba(255,255,255,0.06);
}

.sh-work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ========================================
 * 画像
 * ======================================== */
.sh-work-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sh-work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.sh-work-card:hover .sh-work-card__thumb img {
  transform: scale(1.06);
}

/* ほんのり暗くする（文字映え） */
.sh-work-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6));
}

/* ========================================
 * テキスト
 * ======================================== */
.sh-work-card__body {
  padding: 18px 18px 20px;
}

.sh-work-card__title {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.sh-work-card__text {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.7;
}

/* ホバー時アクセント */
.sh-work-card:hover .sh-work-card__title {
  color: var(--sh-accent, #53BBD3);
}

/* ========================================
 * レスポンシブ
 * ======================================== */

/* タブレット */
@media (max-width: 1024px) {
  .sh-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ */
@media (max-width: 768px) {
  .sh-works-section {
    padding: 60px 16px;
  }

  .sh-works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sh-works-section__title {
    font-size: 28px;
  }
}
/* ========================================
 * スムーススクロール（アンカー移動）
 * ======================================== */
html {
  scroll-behavior: smooth; /* アンカーリンクを滑らかに移動 */
}

/* ========================================
 * アンカー位置調整（ヘッダー被り防止）
 * ======================================== */
#works {
  scroll-margin-top: 100px; /* 固定ヘッダー分ずらす */
}

/* ========================================
 * スクロールフェードイン（基本）
 * ======================================== */
.js-reveal {
  opacity: 0; /* 初期は非表示 */
  transform: translateY(24px); /* 少し下に配置 */
  transition: opacity 0.7s ease, transform 0.7s ease; /* なめらかに変化 */
  will-change: opacity, transform; /* パフォーマンス最適化 */
}

/* 表示状態（JSで付与） */
.js-reveal.is-visible {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置に戻る */
}

/* ========================================
 * フェードイン遅延（順番表示）
 * ======================================== */
.js-reveal:nth-child(1) { transition-delay: 0.1s; }
.js-reveal:nth-child(2) { transition-delay: 0.2s; }
.js-reveal:nth-child(3) { transition-delay: 0.3s; }
.js-reveal:nth-child(4) { transition-delay: 0.4s; }

/* ========================================
 * アニメーションOFF（将来拡張用）
 * ======================================== */
body.ui-animate-off .js-reveal {
  opacity: 1; /* 常に表示 */
  transform: none; /* 位置固定 */
}

/* ========================================
 * フッターメニュー中央寄せ
 * ======================================== */
.site-footer .footer-link-list {
  list-style: none;
  margin: 0 auto;
  padding-left: 0;
  text-align: center;
}

.site-footer .footer-link-list li {
  list-style: none;
}

.site-footer .footer-link-list a {
  display: block;
  text-align: center;
}

/* ========================================
 * WORKSページ アイキャッチヒーロー
 * ======================================== */
.single-hero-fullwidth {
  width: 100%;
}

.eyecatch-hero {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ========================================
 * worksカード カラム制御
 * ======================================== */

.sh-works-grid {
  display: grid;
  gap: 30px;
}

.sh-works-grid.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.sh-works-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sh-works-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ========================================
 * WORKSページ 共通幅
 * ======================================== */
.page-works {
  padding: 40px 0 80px;
}

.page-works .works-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 本文の見出し・説明文 */
.page-works .page-content {
  margin-bottom: 40px;
}

.page-works .page-content h2,
.page-works .page-content p {
  max-width: none;
}

/* worksカード一覧も同じ幅に揃える */
.page-works .sh-works-grid {
  width: 100%;
}
/* ========================================
 * WORKS / 共通 幅スタイル（Gutenberg）
 * ======================================== */
.is-style-width-900 {
  max-width: 900px;
  margin: 0 auto;
}

.is-style-width-1200 {
  max-width: 1200px;
  margin: 0 auto;
}

.is-style-width-full {
  max-width: none;
  width: 100%;
  margin: 0;
}

/* 中のカード一覧は親幅いっぱい */
.is-style-width-900 .sh-works-grid,
.is-style-width-1200 .sh-works-grid,
.is-style-width-full .sh-works-grid {
  width: 100%;
  margin: 0;
}

/* =========================
   ヒーロー文字調整
========================= */

.hero-slider .overlay {
  text-align: center;
  max-width: 900px;
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-slider .overlay h1 {
  font-size: clamp(34px, 5vw, 56px) !important;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-slider .overlay p {
  font-size: clamp(15px, 2vw, 20px) !important;
  line-height: 1.8;
  margin-bottom: 28px;
  opacity: 0.95;
}

/* =========================
   ヒーローボタン調整
========================= */

.hero-slider .overlay a,
.hero-slider .overlay .sh-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  min-height: 54px;
  padding: 0 32px;

  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;

  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all .25s ease;
}

/* hover */
.hero-slider .overlay a:hover,
.hero-slider .overlay .sh-hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
/* =========================
   ヒーローボタン調整
========================= */

.hero-slider .overlay .sh-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);

  position: relative;
  z-index: 5;
  pointer-events: auto !important;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background-color .25s ease,
    border-color .25s ease;
  transform: translateY(0);
  will-change: transform;
}

.hero-slider .slide.active .overlay .sh-hero-cta-btn:hover,
.hero-slider .slide[style*="opacity: 1"] .overlay .sh-hero-cta-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35) !important;
}

/* =========================================================
 * Hero：黒オーバーレイ
========================================================= */
.hero-slider .slide::before{
  content: none !important;
}

.hero-slider .slide{
  background-image:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
    var(--sh-slide-bg) !important;
  background-size: cover;
  background-position: center;
}

/* ========================================
   WORKS / 関連実績 レスポンシブ統一
======================================== */

/* 共通：グリッドの基本 */
.sh-works-grid.columns-3,
.sh-works-grid.columns-4,
.sh-related-works .sh-works-grid {
  display: grid !important;
  gap: 24px !important;
}

/* 一覧ページ：PC */
.sh-works-grid.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.sh-works-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* 詳細ページの関連実績：PC */
.sh-related-works .sh-works-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* カード幅固定を解除 */
.sh-works-grid.columns-3 > .sh-work-card,
.sh-works-grid.columns-4 > .sh-work-card,
.sh-related-works .sh-works-grid > .sh-work-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* ========================================
   タブレット：2カラム
======================================== */
@media (max-width: 1024px) {
  .sh-works-grid.columns-3,
  .sh-works-grid.columns-4,
  .sh-related-works .sh-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
}

/* ========================================
   スマホ：1カラム
======================================== */
@media (max-width: 600px) {
  .sh-works-grid.columns-3,
  .sh-works-grid.columns-4,
  .sh-related-works .sh-works-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .sh-works-grid.columns-3 > .sh-work-card,
  .sh-works-grid.columns-4 > .sh-work-card,
  .sh-related-works .sh-works-grid > .sh-work-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

/* ========================================
   詳細ページヒーロー：スマホ見切れ修正
======================================== */
@media (max-width: 600px) {
  .single-works-article .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  .single-works-article .wp-block-cover.alignfull h1,
  .single-works-article .wp-block-cover.alignfull h2,
  .single-works-article .wp-block-cover.alignfull h3 {
    font-size: 20px !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  .single-works-article .wp-block-cover.alignfull p {
    font-size: 14px !important;
    line-height: 1.8 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
}

/* ========================================
   詳細ページヒーロー：スマホでも左右を広く使う
======================================== */
@media (max-width: 600px) {
  .single-works-article .entry-content > .wp-block-cover.alignfull,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    min-height: 420px !important;
  }

  .single-works-article .entry-content > .wp-block-cover.alignfull .wp-block-cover__inner-container,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .single-works-article .entry-content > .wp-block-cover.alignfull h1,
  .single-works-article .entry-content > .wp-block-cover.alignfull h2,
  .single-works-article .entry-content > .wp-block-cover.alignfull h3,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax h1,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax h2,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax h3,
  .single-works-article .entry-content > .wp-block-cover.alignfull p,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax p,
  .single-works-article .entry-content > .wp-block-cover.alignfull .wp-block-button,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax .wp-block-button {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .single-works-article .entry-content > .wp-block-cover.alignfull h1,
  .single-works-article .entry-content > .wp-block-cover.alignfull h2,
  .single-works-article .entry-content > .wp-block-cover.alignfull h3,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax h1,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax h2,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax h3 {
    font-size: 24px !important;
    line-height: 1.35 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .single-works-article .entry-content > .wp-block-cover.alignfull p,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax p {
    font-size: 14px !important;
    line-height: 1.8 !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  .single-works-article .entry-content > .wp-block-cover.alignfull .wp-block-button,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax .wp-block-button {
    display: flex !important;
    justify-content: flex-start !important;
  }

  .single-works-article .entry-content > .wp-block-cover.alignfull .wp-block-button__link,
  .single-works-article .entry-content > .wp-block-cover.alignfull.has-parallax .wp-block-button__link {
    min-width: 0 !important;
    width: auto !important;
    padding: 14px 22px !important;
    font-size: 14px !important;
  }
}

/* ========================================
   Showcase詳細ページ
======================================== */

.single-showcase-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.single-showcase-article .entry-content,
.single-showcase-article .entry-footer {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.sh-work-card__btn-wrap {
  margin-top: 18px;
}

.sh-work-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sh-accent, #53BBD3);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}


	
.sh-showcase-grid{
grid-template-columns:repeat(2,1fr);
}

@media (max-width:600px){

.sh-showcase-grid{
grid-template-columns:1fr;
}

}

.sh-showcase-card{
transition:.3s;
}

.sh-showcase-card:hover{
transform:translateY(-6px) scale(1.02);
}
.sh-work-card__thumb::after {
  display: none;
}

.sh-work-card__body {
  padding: 18px 18px 24px;
  background: linear-gradient(180deg, #101827 0%, #0b1324 100%);
  border-top: 1px solid rgba(83,187,211,0.16);
}

.sh-work-card__btn-wrap {
  margin-top: 18px;
  text-align: center;
}

.sh-work-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sh-accent, #53BBD3);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.sh-work-card__tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.sh-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(83, 187, 211, 0.14);
  border: 1px solid rgba(83, 187, 211, 0.28);
  color: var(--sh-accent, #53BBD3);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* =============================== 
   Showcase Card（Apple調整版）
=============================== */

/* カード本体 */
.sh-work-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;

  /* Appleっぽい繊細な枠 */
  border: 1px solid rgba(0,0,0,0.06);

  /* 柔らかい影 */
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* ホバー時 */
.sh-work-card:hover {
  transform: translateY(-2px) scale(1.01);

  /* 少しだけ強く */
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);

  /* ほんのり締める */
  border-color: rgba(0,0,0,0.1);
}

/* 本文エリア（←ここがApple感の核） */
.sh-work-card__body {
  background: #f5f5f7; /* Appleっぽいグレー */
  color: #222;
  padding: 20px;

  /* 画像との境界を繊細に */
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* タイトル */
.sh-work-card__title {
  color: #1a1a1a;
  transition: color .25s ease;
}

/* ホバー時タイトル */
.sh-work-card:hover .sh-work-card__title {
  color: var(--sh-accent, #53BBD3);
}

/* 説明文 */
.sh-work-card__text {
  color: #555;
}

/* =========================
   Showcase Filters
========================= */
.sh-showcase-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.sh-showcase-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  transition: all .2s ease;
}

.sh-showcase-filter:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.sh-showcase-filter.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.sh-showcase-empty {
  margin: 24px 0;
}

.sh-work-card__body {
  padding: 28px 32px 32px;
}

.sh-work-card__title {
  margin: 0 0 16px;
  line-height: 1.4;
}

.sh-work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.sh-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f5f7;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.sh-showcase-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.sh-showcase-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #d8e2e8;
  border-radius: 999px;
  background: #fff;
  color: #2a2f33;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: all .2s ease;
}

.sh-showcase-filter:hover {
  background: #f3f8fb;
  border-color: #9fcfe6;
  color: #118acb;
}

.sh-showcase-filter.is-active {
  background: #18a8e1;
  border-color: #18a8e1;
  color: #fff;
}

.sh-work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}

.sh-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef7fc;
  color: #1695cf;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.showcase-archive-header {
  margin-bottom: 32px;
}

.showcase-archive-header .page-title {
  margin-bottom: 12px;
}

.taxonomy-description {
  color: #555;
  line-height: 1.8;
}

.sh-tag.is-active {
  background: #18a8e1;
  color: #fff;
  border-color: #18a8e1;
}

.single-showcase-header {
  padding: 56px 0 24px;
}

.single-showcase-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #18a8e1;
}

.single-showcase-title {
  margin: 0 0 18px;
  line-height: 1.3;
}

.single-showcase-tags {
  margin-bottom: 0;
}

.single-showcase-thumb {
  margin-bottom: 40px;
}

.single-showcase-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.single-showcase-content-wrap {
  padding-bottom: 56px;
}

.single-showcase-content {
  max-width: 900px;
  margin: 0 auto;
}

.single-showcase-footer {
  padding: 0 0 72px;
}

.single-showcase-footer__inner {
  max-width: 900px;
  margin: 0 auto;
}

.single-showcase-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.sh-work-card__title-link {
  color: inherit;
  text-decoration: none;
}

.sh-work-card__title-link:hover {
  opacity: 0.85;
}

.sh-work-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: #18a8e1;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: opacity .2s ease, transform .2s ease;
}

.sh-work-card__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ========================================
   Showcase Archive / Taxonomy
======================================== */
.showcase-archive-header {
  margin-bottom: 32px;
}

.sh-showcase-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sh-showcase-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #d8e2e8;
  border-radius: 999px;
  background: #fff;
  color: #2a2f33;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: all .2s ease;
}

.sh-showcase-filter:hover {
  background: #f3f8fb;
  border-color: #9fcfe6;
  color: #118acb;
}

.sh-showcase-filter.is-active {
  background: #18a8e1;
  border-color: #18a8e1;
  color: #fff;
}

.sh-work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #f7f7f8;
}

.sh-work-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.sh-work-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 28px 32px 32px;
}

.sh-work-card__title {
  margin: 0 0 16px;
  line-height: 1.4;
}

.sh-work-card__title-link {
  color: inherit;
  text-decoration: none;
}

.sh-work-card__title-link:hover {
  opacity: .85;
}

.sh-work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.sh-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef7fc;
  color: #1695cf;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #bfe4f5;
}

.sh-tag.is-active {
  background: #18a8e1;
  color: #fff;
  border-color: #18a8e1;
}

.sh-work-card__btn-wrap {
  margin-top: auto;
}

.sh-work-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: #18a8e1;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: opacity .2s ease, transform .2s ease;
}

.sh-work-card__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ========================================
   Single Showcase
======================================== */
.single-showcase-header {
  padding: 56px 0 24px;
}

.single-showcase-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #18a8e1;
}

.single-showcase-title {
  margin: 0 0 18px;
  line-height: 1.3;
}

.single-showcase-thumb {
  margin-bottom: 40px;
}

.single-showcase-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.single-showcase-content-wrap {
  padding-bottom: 56px;
}

.single-showcase-content {
  max-width: 900px;
  margin: 0 auto;
}

.single-showcase-footer {
  padding: 0 0 72px;
}

.single-showcase-footer__inner {
  max-width: 900px;
  margin: 0 auto;
}

.single-showcase-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* =========================
   Showcase フィルター
========================= */
.showcase-filter-area {
	max-width: 1200px;
	margin: 40px auto 20px;
	padding: 0 20px;
}

.showcase-description {
	margin-bottom: 20px;
	font-size: 15px;
	color: #666;
}

.showcase-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.showcase-tags .sh-tag {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--sh-accent);
	color: var(--sh-accent);
	text-decoration: none;
	font-size: 13px;
	transition: 0.2s;
}

.showcase-tags .sh-tag:hover {
	background: var(--sh-accent);
	color: #fff;
}

.showcase-tags .is-active {
	background: var(--sh-accent);
	color: #fff;
}

.showcase-archive-section {
  margin-bottom: 32px;
}

.site-footer,
footer.site-footer {
  margin-top: 0;
}

/* 関連実績・CTA だけフル幅に戻す */
.sh-related-works,
.sh-works-cta {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}

/* 中身は中央寄せ */
.sh-related-works > *,
.sh-works-cta > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* 関連実績・CTA だけフル幅に戻す */
.sh-related-works,
.sh-works-cta {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}

/* 中身は中央寄せ */
.sh-related-works > *,
.sh-works-cta > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}/* ================================
ショーケース実績の横幅指定
================================ */.content-full {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.content-full .content-area {
  width: 100%;
  max-width: 100%;
}

.content-full .entry-content {
  max-width: 100%;
}



/* ================================
制作実績の横幅指定
================================ */
.page-works .page-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* reCAPTCHA v3 バッジ位置調整 */
.grecaptcha-badge {
bottom: 110px !important;
}/* reCAPTCHA v3 バッジ位置調整 */
.grecaptcha-badge {
bottom: 110px !important;
}

.hero-slider .slide::before{
  content: none !important;
}

.sh-showcase-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
  padding:40px 20px;
}

/* =========================
   Showcase CTA
========================= */
.sh-showcase-cta {
  background: linear-gradient(135deg, #05070d 0%, #0b1220 100%);
  padding: 80px 20px;
  margin-top: 60px;
}

.sh-showcase-cta__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.sh-showcase-cta__label {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--sh-accent, #19a7e0);
}

.sh-showcase-cta__title {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}

.sh-showcase-cta__text {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
}

.sh-showcase-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--sh-accent, #19a7e0);
  border: 2px solid var(--sh-accent, #19a7e0);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.sh-showcase-cta__btn:hover {
  background: var(--sh-accent-hover, #148fc0);
  border-color: var(--sh-accent-hover, #148fc0);
  color: #fff !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .sh-showcase-cta {
    padding: 56px 16px;
    margin-top: 40px;
  }

  .sh-showcase-cta__title {
    font-size: 30px;
  }

  .sh-showcase-cta__text {
    font-size: 15px;
    line-height: 1.9;
  }

  .sh-showcase-cta__btn {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================
   Showcase Hero
========================= */
.showcase-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-hero__bg {
  position: absolute;
  inset: 0;
}

.showcase-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.showcase-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px;
}

.showcase-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.15;
  font-weight: 700;
}

@media (max-width: 768px) {
  .showcase-hero {
    min-height: 300px;
  }

  .showcase-hero__inner {
    padding: 56px 16px;
  }

  .showcase-hero__title {
    font-size: 34px;
    line-height: 1.2;
  }
}