@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
*/


/* ===== はじめてのPマーク取得：共通部品（ブログパーツ） ===== */

/* 監修者ボックス */
.hj-supervisor {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 16px 20px;
	border: 1px solid #d6dee8;
	border-radius: 8px;
	background: #f6f9fc;
	margin: 0 0 2em;
}
.hj-supervisor__img {
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}
.hj-supervisor__body { flex: 1; min-width: 0; }
.hj-supervisor__label {
	margin: 0 0 4px !important;
	font-size: 0.8em;
	font-weight: bold;
	color: #4a6a8a;
}
.hj-supervisor__name {
	margin: 0 0 6px !important;
	font-weight: bold;
	line-height: 1.5;
}
.hj-supervisor__name span {
	display: block;
	font-size: 0.85em;
	font-weight: normal;
	color: #555;
}
.hj-supervisor__list {
	margin: 0 !important;
	padding-left: 1.2em !important;
	font-size: 0.85em;
	line-height: 1.7;
}

/* LPへのボタン */
.hj-cta {
	padding: 20px;
	border-radius: 8px;
	background: #fff7ec;
	border: 1px solid #f1d8b3;
	text-align: center;
	margin: 2em 0;
}
.hj-cta__lead { margin: 0 0 12px !important; font-weight: bold; }
.hj-cta__btn { margin: 0 !important; }
.hj-cta__btn a {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	background: #e8730c;
	color: #fff !important;
	font-weight: bold;
	text-decoration: none !important;
	line-height: 1.5;
	box-shadow: 0 2px 0 #b85a08;
	transition: background-color .2s, box-shadow .2s, transform .2s;
}
.hj-cta__btn a::after {
	content: "→";
	display: inline-block;
	margin-left: .5em;
	transition: transform .2s;
}
.hj-cta__btn a:hover,
.hj-cta__btn a:focus-visible {
	background: #cf6208;
	box-shadow: 0 6px 14px rgba(207, 98, 8, .35);
	transform: translateY(-2px);
}
.hj-cta__btn a:hover::after,
.hj-cta__btn a:focus-visible::after { transform: translateX(4px); }
.hj-cta__btn a:focus-visible { outline: 3px solid #1f4e79; outline-offset: 3px; }
.hj-cta__btn a:active {
	transform: translateY(1px);
	box-shadow: 0 1px 0 #b85a08;
}
@media (prefers-reduced-motion: reduce) {
	.hj-cta__btn a,
	.hj-cta__btn a::after { transition: background-color .2s; }
	.hj-cta__btn a:hover,
	.hj-cta__btn a:focus-visible,
	.hj-cta__btn a:active,
	.hj-cta__btn a:hover::after { transform: none; }
}

@media (max-width: 599px) {
	.hj-supervisor { padding: 14px; gap: 12px; }
	.hj-supervisor__img { flex-basis: 64px; width: 64px; height: 64px; }
	.hj-cta__btn a { display: block; padding: 14px 16px; }
}

/* この記事のポイント */
.hj-merit {
	margin: 0 0 2em;
	padding: 18px 20px 14px;
	border: 2px solid #8fb3d6;
	border-radius: 8px;
	background: #fff;
	position: relative;
}
.hj-merit__title {
	margin: 0 0 8px !important;
	font-weight: bold;
	color: #1f4e79;
}
.hj-merit__title::before { content: "✓ "; }
.hj-merit__list {
	margin: 0 !important;
	padding-left: 1.3em !important;
	line-height: 1.8;
}

/* トップページのメインビジュアル（ブログパーツ「メインビジュアル」をSWELLのスライド1に指定）
   黒板の色はサムネイル（tools/make_thumbnail.py）と同じ */
#main_visual .p-mainVisual__textLayer { padding-top: 0; padding-bottom: 0; text-shadow: none; }
.hj-mv {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
	align-items: start;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 0;
	color: #333;
	text-align: left;
	font-size: 16px;
}
.hj-mv p { margin: 0; }
.hj-mv__board {
	padding: 32px 120px 32px 40px;
	border: 14px solid #b07a43;
	border-radius: 10px;
	background: #2e5141;
	box-shadow: inset 0 0 40px rgba(0, 0, 0, .25), 0 6px 0 #8e6233;
	color: #fafaf5;
}
.hj-mv__label {
	margin: 0 0 14px !important;
	color: #c8decd;
	font-size: 0.85em;
	font-weight: bold;
}
.hj-mv__title {
	margin: 0 0 16px !important;
	font-size: clamp(1.75rem, 3.4vw, 2.6rem);
	font-weight: bold;
	line-height: 1.45;
}
.hj-mv__mark { color: #f7d774; }
.hj-mv__lead { line-height: 1.8; color: #e6ede7; }
.hj-mv__btn { margin: 28px 0 0 !important; text-align: left; }
.hj-mv__sv {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 18px 0 0 !important;
	font-size: 0.8em;
	line-height: 1.6;
	color: #555;
}
.hj-mv__sv img {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}
.hj-mv__sv a { color: inherit; font-weight: bold; }
/* 指示棒の先（画像の左上の角）が黒板の右側に届くように重ねる */
.hj-mv__visual { position: relative; margin: 56px 0 0 -130px; }
.hj-mv__img { display: block; width: 100%; height: auto; }

@media (max-width: 959px) {
	.hj-mv { display: flex; flex-direction: column; align-items: stretch; padding: 24px 0 28px; }
	.hj-mv__body { display: contents; }
	.hj-mv__board { padding: 22px 22px 26px; border-width: 10px; }
	.hj-mv__visual { order: 1; width: 78%; max-width: 360px; margin: -18px 0 0 auto; }
	.hj-mv__btn, .hj-mv__sv { order: 2; }
	.hj-mv__btn { margin-top: 12px !important; }
	.hj-mv__pc { display: none; }
}
@media (max-width: 599px) {
	.hj-mv { font-size: 15px; }
	.hj-mv__label { font-size: 0.78em; }
}

/* カテゴリは一旦使わない：記事のカテゴリ表示と、記事一覧のサムネイル上のカテゴリを隠す */
.p-articleMetas__termList.c-categoryList,
.c-postThumb__cat,
.p-breadcrumb__item:has(a[href*="/category/"]) { display: none !important; }

/* 画面の右下に固定で出す、LP（楽々取得パック）へのボタン（functions.php の wp_footer で出力） */
.hj-floatBtn {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 100;
	padding: 12px 20px;
	border-radius: 999px;
	background: rgba(232, 115, 12, .78);
	color: #fff !important;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.4;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
	transition: background-color .2s, transform .2s;
}
.hj-floatBtn:hover,
.hj-floatBtn:focus-visible { background: rgba(207, 98, 8, 1); transform: translateY(-2px); }
.hj-floatBtn:focus-visible { outline: 3px solid #1f4e79; outline-offset: 3px; }
.p-fixBtnWrap { bottom: 76px !important; }  /* ページトップへ戻るボタンを、このボタンの上にずらす */
@media (max-width: 599px) {
	.hj-floatBtn { right: 12px; bottom: 12px; padding: 10px 16px; font-size: 14px; }
	.p-fixBtnWrap { bottom: 68px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.hj-floatBtn:hover, .hj-floatBtn:focus-visible { transform: none; }
}

/* フッターのプライバシーマーク（functions.php の swell_after_copyright で出力） */
.l-footer__foot .l-container { display: flex; flex-direction: column; align-items: center; }
.l-footer__foot .copyright { order: 1; }
.hj-footPmark { margin: 4px 0 16px; text-align: center; font-size: 13px; line-height: 1.6; }
.hj-footPmark a { display: inline-block; border: 0; }
.hj-footPmark img { display: block; width: 90px; height: 90px; margin: 0 auto 6px; border: 0; }
.hj-footPmark p { margin: 0; }
@media (max-width: 599px) { .hj-footPmark { font-size: 12px; } }
