@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*
Theme Name: SWELL Child - SEO Integrated
Theme URI: https://w-wellness.com/
Description: 本体サイトと完全統合したSWELL子テーマ（SEO最適化版）
Author: W Wellness
Author URI: https://w-wellness.com/
Template: swell
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swell-child
*/

/* =====================================================
   基本リセット
===================================================== */

* {
	box-sizing: border-box;
}

/* =====================================================
   パンくずリスト
===================================================== */

.breadcrumb-nav {
	background: #f8f9fa;
	padding: 15px 0;
	border-bottom: 1px solid #e9ecef;
	margin-bottom: 30px;
}

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

.breadcrumb {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	align-items: center;
}

.breadcrumb li {
	display: flex;
	align-items: center;
}

.breadcrumb li:not(:last-child)::after {
	content: "›";
	margin-left: 8px;
	color: #6c757d;
	font-size: 16px;
}

.breadcrumb a {
	color: #0066cc;
	text-decoration: none;
	transition: color 0.2s;
}

.breadcrumb a:hover {
	color: #0052a3;
	text-decoration: underline;
}

.breadcrumb .current {
	color: #495057;
	font-weight: 500;
}

/* =====================================================
   CTAセクション
===================================================== */

.article-cta-section {
	margin: 50px 0;
	padding: 40px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 12px;
	border: 2px solid #dee2e6;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.cta-inner {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.cta-title {
	font-size: 28px;
	font-weight: bold;
	color: #212529;
	margin-bottom: 15px;
	line-height: 1.4;
}

.cta-description {
	font-size: 16px;
	color: #495057;
	margin-bottom: 25px;
	line-height: 1.6;
}

.cta-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.cta-btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.btn-primary {
	background: #0066cc;
	color: #fff;
}

.btn-primary:hover {
	background: #0052a3;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
	background: #fff;
	color: #0066cc;
	border-color: #0066cc;
}

.btn-secondary:hover {
	background: #0066cc;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.cta-clinic-info {
	padding-top: 20px;
	border-top: 1px solid #dee2e6;
	font-size: 14px;
	color: #6c757d;
}

.cta-clinic-info a {
	color: #0066cc;
	text-decoration: none;
	font-weight: 600;
}

.cta-clinic-info a:hover {
	text-decoration: underline;
}

/* =====================================================
   内部リンクボックス
===================================================== */

.internal-links-box {
	margin: 40px 0;
	padding: 30px;
	background: #ffffff;
	border: 2px solid #e9ecef;
	border-radius: 8px;
}

.internal-links-box h3 {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 22px;
	color: #212529;
	border-bottom: 2px solid #0066cc;
	padding-bottom: 10px;
}

.internal-links-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 12px;
}

.internal-links-list li {
	margin: 0;
}

.internal-links-list a {
	display: block;
	padding: 12px 16px;
	background: #f8f9fa;
	border-left: 4px solid #0066cc;
	text-decoration: none;
	color: #212529;
	transition: all 0.2s;
	border-radius: 4px;
}

.internal-links-list a:hover {
	background: #e9ecef;
	border-left-color: #0052a3;
	padding-left: 20px;
}

.internal-links-list a::before {
	content: "→ ";
	color: #0066cc;
	font-weight: bold;
}

/* =====================================================
   フォールバックヘッダー・フッター
===================================================== */

.fallback-header,
.fallback-footer {
	background: #f8f9fa;
	padding: 20px 0;
	border-bottom: 1px solid #dee2e6;
}

.fallback-footer {
	border-top: 1px solid #dee2e6;
	border-bottom: none;
	margin-top: 50px;
}

.header-container,
.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

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

.header-nav ul,
.footer-nav ul {
	list-style: none;
	display: flex;
	gap: 25px;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.header-nav a,
.footer-nav a {
	text-decoration: none;
	color: #495057;
	font-weight: 500;
	transition: color 0.2s;
}

.header-nav a:hover,
.footer-nav a:hover {
	color: #0066cc;
}

.header-nav .current-menu-item a {
	color: #0066cc;
	font-weight: 700;
}

.btn-contact {
	background: #0066cc;
	color: #fff !important;
	padding: 8px 20px;
	border-radius: 6px;
}

.btn-contact:hover {
	background: #0052a3;
}

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

@media (max-width: 768px) {
	.breadcrumb {
		font-size: 12px;
	}
	
	.article-cta-section {
		padding: 25px 20px;
	}
	
	.cta-title {
		font-size: 22px;
	}
	
	.cta-buttons {
		flex-direction: column;
	}
	
	.cta-btn {
		width: 100%;
	}
	
	.internal-links-list {
		grid-template-columns: 1fr;
	}
	
	.header-nav ul {
		flex-direction: column;
		gap: 10px;
	}
}

/* =====================================================
   コンテンツエリア調整
===================================================== */

.content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-content {
	min-height: 60vh;
}

/* =====================================================
   記事タイトル調整
===================================================== */

.single .entry-title {
	font-size: 32px;
	line-height: 1.4;
	margin-bottom: 20px;
	color: #212529;
}

@media (max-width: 768px) {
	.single .entry-title {
		font-size: 24px;
	}
}

/* =====================================================
   統合状態の視覚的フィードバック（管理者のみ表示）
===================================================== */

body.logged-in.admin-bar::before {
	content: "🔗 本体サイトと統合中";
	position: fixed;
	bottom: 10px;
	right: 10px;
	background: #28a745;
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 12px;
	z-index: 999999;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* END OF FILE */

/* =====================================================
   ヘッダー修正：左側メニューを非表示
===================================================== */

/* モバイルメニューを強制非表示 */
.site-header .mobile-menu,
.site-header .sidebar,
.site-header aside,
.menu-toggle,
.hamburger-menu {
	display: none !important;
}

/* ヘッダーを横並びに固定 */
.site-header {
	display: block !important;
	width: 100% !important;
}

.header-container {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	max-width: 1200px;
	margin: 0 auto;
	padding: 15px 20px;
}

.header-logo {
	flex-shrink: 0;
}

.header-nav {
	display: flex !important;
	align-items: center;
}

.header-nav ul,
.nav-menu {
	display: flex !important;
	flex-direction: row !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 25px;
}

.header-nav li {
	display: inline-block !important;
	margin: 0 !important;
}

.header-nav a {
	display: inline-block !important;
	padding: 8px 12px;
	text-decoration: none;
	color: #333;
	font-weight: 500;
	white-space: nowrap;
}

.header-nav a:hover {
	color: #0066cc;
}

.current-menu-item a {
	color: #0066cc !important;
	font-weight: 700 !important;
}

/* レスポンシブ：タブレット以下 */
@media (max-width: 1024px) {
	.header-nav ul {
		gap: 15px;
	}
	
	.header-nav a {
		font-size: 14px;
		padding: 6px 8px;
	}
}

/* レスポンシブ：モバイル */
@media (max-width: 768px) {
	.header-container {
		flex-direction: column;
		gap: 15px;
	}
	
	.header-nav ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}
	
	.header-nav a {
		font-size: 13px;
		padding: 6px 10px;
	}
}

/* =====================================================
   縦メニュー問題の緊急修正
===================================================== */

/* 全ての縦並びメニューを強制横並び */
.site-header nav ul,
.site-header nav ol,
.site-header .menu,
.site-header .nav {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
}

/* サイドバー的な要素を全て非表示 */
.site-header [class*="sidebar"],
.site-header [class*="mobile"],
.site-header [class*="drawer"],
.site-header [class*="slide"] {
	display: none !important;
}

nav.drawer-nav,
.drawer-nav {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	position: absolute !important;
	left: -9999px !important;
}

.drawer-toggle,
.drawer-hamburger,
.drawer-overlay,
button[class*="drawer"],
.menu-toggle {
	display: none !important;
}

/* =====================================================
   パンくずリスト
===================================================== */

.breadcrumb-nav {
	background: #f8f9fa;
	padding: 15px 0;
	border-bottom: 1px solid #e9ecef;
	margin-bottom: 30px;
}

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

.breadcrumb {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.breadcrumb li {
	display: flex;
	align-items: center;
}

.breadcrumb li:not(:last-child)::after {
	content: "›";
	margin-left: 8px;
	color: #6c757d;
}

.breadcrumb a {
	color: #0066cc;
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.breadcrumb .current {
	color: #495057;
	font-weight: 500;
}

/* =====================================================
   コンテンツエリア
===================================================== */

.content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-content {
	min-height: 60vh;
}