/*
Theme Name: SWELL CHILD
Template: swell
Version: 1.0.1
*/

/* ============================================
   訪問看護ステーションポラリス デザイン調整
   現行サイト（ThemeREX Printy）の見た目に寄せる
   ============================================ */

/* ---------- 1. フォント：Zen Maru Gothic ---------- */
body,
button,
input,
select,
textarea,
.l-header,
.c-postTitle__ttl,
h1, h2, h3, h4, h5, h6 {
	font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif !important;
}

/* ---------- 2. ベースカラー ---------- */
body {
	background-color: #f4f2f7;
	color: #6d6f72;
}
.l-content {
	background-color: transparent;
}

/* コンテンツ領域は白カードではなく背景に溶け込ませる */
.-sidebar-off .l-mainContent__inner {
	background: transparent;
}

/* ---------- 3. ヘッダー ---------- */
.l-header {
	background-color: rgba(255, 255, 255, 0.9);
}
.l-header__bar {
	background-color: #ffffff;
	color: #6d6f72;
}
/* グロナビ */
.c-gnav > li > a {
	color: #555;
	font-weight: 500;
}
.c-gnav > li > a:hover {
	color: #35a06c;
}
/* サブメニュー（書類リンク） */
.c-gnav .sub-menu a {
	background-color: #fff;
	color: #555;
}
.c-gnav .sub-menu a:hover {
	background-color: #eaf6ef;
	color: #35a06c;
}

/* ---------- 4. 下層ページタイトル帯（緑グラデ画像） ---------- */
.page:not(.home) h1.c-pageTitle,
.page:not(.home) .c-postTitle,
.post .c-postTitle {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 0;
	margin-bottom: 2.5em;
	padding: 72px 20px;
	background: url("/wp-content/uploads/2026/07/1.jpg") center / cover no-repeat;
	text-align: center;
	color: #fff;
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
	border: none;
}
.page:not(.home) h1.c-pageTitle::before,
.page:not(.home) h1.c-pageTitle::after {
	display: none;
}
/* 内側span（float:left＋下線持ち）を中央寄せ・下線なしに */
.page:not(.home) .c-pageTitle__inner {
	display: inline-block !important;
	float: none !important;
	border-bottom: none !important;
}
.post .c-postTitle__ttl {
	color: #fff;
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}
@media (max-width: 599px) {
	.page:not(.home) h1.c-pageTitle,
	.page:not(.home) .c-postTitle,
	.post .c-postTitle {
		padding: 44px 16px;
		font-size: 1.5rem;
	}
	.post .c-postTitle__ttl {
		font-size: 1.5rem;
	}
}

/* パンくずは帯の下に */
.p-breadcrumb {
	background: transparent;
}

/* ---------- 5. 見出しデザイン（紺帯 → やわらかい丸ゴ見出し） ---------- */
.post_content h2 {
	background: transparent;
	color: #333;
	font-size: 1.5em;
	font-weight: 700;
	text-align: center;
	padding: 0.4em 0.2em;
	border: none;
	border-bottom: none;
	position: relative;
	margin-bottom: 1.2em;
}
/* SWELL既定デザインの擬似要素（上下線・帯）を無効化 */
.post_content h2::before,
.post_content h3::before,
.post_content h3::after {
	display: none !important;
}
.post_content h2::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, #7ed6a5, #a5d97e);
	margin: 0.5em auto 0;
}
.post_content h3 {
	background: transparent;
	color: #35a06c;
	border: none;
	border-left: 4px solid #7ed6a5;
	border-radius: 2px;
	padding: 0.3em 0.8em;
	font-weight: 700;
}
.post_content h4 {
	color: #333;
	border: none;
	font-weight: 700;
}

/* ---------- 6. ボタン（角丸・緑） ---------- */
.wp-block-button__link {
	background: linear-gradient(135deg, #64c993, #8fd977);
	color: #fff !important;
	border-radius: 999px;
	padding: 0.9em 2.6em;
	font-weight: 700;
	box-shadow: 0 3px 10px rgba(80, 180, 120, 0.35);
	transition: 0.2s;
}
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 14px rgba(80, 180, 120, 0.45);
}

/* ---------- 7. フッター ---------- */
.l-footer {
	background-color: #eae6f0;
	color: #6d6f72;
}
.l-footer a {
	color: #6d6f72;
}
.l-footer__copyright {
	background-color: #e2ddeb;
	color: #8a8794;
}

/* ---------- 8. FAQ（details）を現行のQ&A風に ---------- */
.post_content details.wp-block-details {
	background: #fff;
	border-radius: 12px;
	padding: 1em 1.4em;
	margin-bottom: 1em;
	box-shadow: 0 2px 8px rgba(100, 90, 140, 0.08);
	border: none;
}
.post_content details.wp-block-details summary {
	font-weight: 700;
	color: #333;
	cursor: pointer;
}
.post_content details.wp-block-details summary::before {
	content: "Q. ";
	color: #35a06c;
	font-weight: 700;
}

/* ---------- 9. テーブル（将来の料金表用） ---------- */
.post_content table th {
	background: #eaf6ef;
	color: #2d7a52;
}

/* ---------- 10. 細部 ---------- */
.post_content {
	line-height: 1.9;
}
.wp-block-image img {
	border-radius: 10px;
}
.wp-block-gallery img {
	border-radius: 10px;
}

/* ============================================
   第2弾：トップページ用パターン（現行サイト移植）
   ============================================ */

/* ---------- ヒーロー（パステル・風船なし静止版） ---------- */
.plr-hero {
	position: relative;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 96px 20px 80px;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(460px 460px at 82% 18%, rgba(255, 199, 164, 0.4), transparent 70%),
		radial-gradient(420px 420px at 46% 64%, rgba(238, 182, 222, 0.38), transparent 70%),
		radial-gradient(340px 340px at 10% 32%, rgba(196, 178, 233, 0.34), transparent 70%),
		#f4f2f7;
}
.plr-hero__catch {
	font-size: 1.05rem;
	letter-spacing: 0.18em;
	color: #555;
	margin-bottom: 0.9em;
	font-weight: 500;
}
.plr-hero__title {
	font-size: 2.5rem;
	font-weight: 900;
	color: #47b8c8;
	letter-spacing: 0.04em;
	line-height: 1.4;
	margin: 0 0 0.5em;
	text-shadow: 0 2px 0 rgba(255,255,255,.7);
}
.plr-hero__logo img {
	width: 140px;
	height: auto;
	margin: 0.6em auto 0;
	border-radius: 0 !important;
}
@media (max-width: 599px) {
	.plr-hero { padding: 56px 16px 48px; }
	.plr-hero__title { font-size: 1.6rem; }
}
/* 装飾シェイプ（1/4円・ドット） */
.plr-shape { position: absolute; pointer-events: none; }
.plr-q-teal   { width: 46px; height: 46px; background: #45e0e6; border-radius: 0 100% 0 0; }
.plr-q-pink   { width: 50px; height: 50px; background: #ef8ab8; border-radius: 100% 0 0 0; }
.plr-q-yellow { width: 30px; height: 30px; background: #f5c437; border-radius: 0 0 100% 0; }
.plr-dot-teal   { width: 26px; height: 26px; border-radius: 50%; background: #45e0e6; }
.plr-dot-yellow { width: 34px; height: 34px; border-radius: 50%; background: #f5c437; }

/* ---------- セクション見出しパターン ---------- */
.plr-caption {
	display: flex;
	align-items: center;
	gap: 1em;
	font-size: 12px;
	letter-spacing: 0.25em;
	color: #555;
	font-weight: 700;
}
.plr-caption::after {
	content: "";
	width: 56px;
	height: 1px;
	background: #b9b4c2;
}
.plr-head h2 {
	text-align: left;
	font-size: 2rem;
	color: #3d3a45;
	padding: 0;
	margin: 0.2em 0 0;
}
.plr-head h2::after { display: none; }
.plr-sub-en {
	color: #7ddff0;
	font-weight: 900;
	font-size: 1.7rem;
	line-height: 1.2;
	margin: 0 0 0.8em;
	font-family: "Zen Maru Gothic", sans-serif;
}

/* ---------- 特徴カード ---------- */
.plr-cards { }
.plr-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(120, 110, 160, 0.14);
	position: relative;
	height: 100%;
}
.plr-card .wp-block-image { margin: 0; }
.plr-card img { border-radius: 0 !important; width: 100%; }
.plr-card__num {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 54px !important;
	z-index: 2;
}
.plr-card__num img { width: 54px !important; border-radius: 0 !important; }
.plr-card__body { padding: 1em 1.3em 1.4em; }
.plr-card__body h3 {
	border: none !important;
	padding: 0 0 0.3em !important;
	color: #333 !important;
	font-size: 1.1em;
	background: transparent;
}
.plr-card__body p { font-size: 0.92em; margin: 0; }

/* ---------- チェックリスト風（強み） ---------- */
.plr-check li {
	list-style: none;
	background: #fff;
	border-radius: 10px;
	padding: 0.7em 1em 0.7em 2.6em;
	margin-bottom: 0.6em;
	box-shadow: 0 2px 10px rgba(120, 110, 160, 0.09);
	position: relative;
}
.plr-check li::before {
	content: "✓";
	position: absolute;
	left: 0.9em;
	color: #45c98f;
	font-weight: 900;
}
.plr-check { padding-left: 0 !important; }

/* ---------- お問い合わせCTA ---------- */
.plr-cta {
	background: linear-gradient(135deg, #d9f3e6, #e7f0d8);
	border-radius: 18px;
	text-align: center;
	padding: 2.2em 1.5em;
	margin: 3em 0 1em;
}
.plr-cta p { margin-bottom: 1em; }
