/* =========================================================
   Phase01 改善用スタイル（inc/phase01/ の部品だけに使う）
   既存のクラスには触れず、すべて p1- で始まるクラスで定義。
   ========================================================= */

.p1-container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 16px;
	font-family: var(--font-zen, "Zen Kaku Gothic Antique", sans-serif);
	color: var(--black, #2D2D2D);
}
.p1-heading {
	font-size: 32px;
	font-weight: 900;
	line-height: 1.5;
	text-align: center;
	color: var(--black, #2D2D2D);
}
.p1-subheading {
	font-size: 20px;
	font-weight: 700;
	margin-top: 28px;
	padding-left: 12px;
	border-left: 5px solid var(--green, #20BF62);
}
.p1-text {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.9;
	margin-top: 18px;
}
.p1-note {
	font-size: 13px;
	color: #6B6B6B;
	margin-top: 10px;
}
.p1-lead {
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	margin-top: 30px;
}
.p1-badge {
	display: table;
	margin: 0 auto 12px;
	padding: 4px 16px;
	border-radius: 999px;
	background: var(--red, #E43D4A);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

/* ---------- 相談ボタン ---------- */
.p1-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 18px;
}
.p1-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	min-width: 260px;
	padding: 0 24px;
	border-radius: 999px;
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 0 rgba(0, 0, 0, .15);
	transition: transform .15s ease, box-shadow .15s ease;
}
.p1-btn:hover {
	transform: translateY(2px);
	box-shadow: 0 2px 0 rgba(0, 0, 0, .15);
}
.p1-btn-line { background: var(--line, #00AF26); }
.p1-btn-form { background: var(--red, #E43D4A); }

/* ---------- 対応エリア：地域ブロック ---------- */
.p1-area-local {
	padding: 10px 0 70px;
	background: #fff;
}
.p1-chips {
	list-style: none;
	padding: 0;
	margin: 14px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.p1-chips li {
	padding: 6px 14px;
	border: 1px solid #CDEBD8;
	border-radius: 999px;
	background: #F2FBF5;
	font-size: 14px;
	font-weight: 700;
}
.p1-area-box {
	margin-top: 30px;
	padding: 24px 20px;
	border-radius: 20px;
	background: #FEE70D;
	text-align: center;
}
.p1-area-box-lead {
	font-size: 18px;
	font-weight: 900;
}
.p1-area-box .p1-note { color: var(--black, #2D2D2D); }

/* ---------- よくある質問：追加分 ---------- */
.p1-faq-extra {
	padding: 40px 0 230px; /* 下のお問い合わせが180px重なる作りのため */
	background: #fff;
}
.p1-faq-list { margin-top: 24px; }
.p1-faq-item {
	border: 2px solid var(--green, #20BF62);
	border-radius: 12px;
	margin-top: 12px;
	background: #fff;
}
.p1-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 48px 16px 18px;
	font-size: 17px;
	font-weight: 700;
	position: relative;
}
.p1-faq-item summary::-webkit-details-marker { display: none; }
.p1-faq-item summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	color: var(--green, #20BF62);
}
.p1-faq-item[open] summary::after { content: "−"; }
.p1-faq-item p {
	padding: 0 18px 18px;
	font-size: 15px;
	line-height: 1.8;
}
.p1-faq-q, .p1-faq-a {
	display: inline-block;
	width: 26px;
	margin-right: 8px;
	font-weight: 900;
	color: var(--green, #20BF62);
}
.p1-faq-a { color: var(--red, #E43D4A); }

/* ---------- 記事内の相談ボックス ---------- */
.p1-article-cta {
	margin: 40px 0;
	padding: 24px 22px;
	border-radius: 16px;
	text-align: center;
	font-family: var(--font-zen, "Zen Kaku Gothic Antique", sans-serif);
}
.p1-article-cta--mid {
	background: #FFFBE0;
	border: 2px solid #FEE70D;
}
.p1-article-cta--end {
	background: #F2FBF5;
	border: 2px solid var(--green, #20BF62);
}
.p1-article-cta-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--green, #20BF62);
}
.p1-article-cta-lead {
	font-size: 20px;
	font-weight: 900;
	line-height: 1.5;
	margin: 4px 0 0;
}
.p1-article-cta-text {
	font-size: 15px;
	margin-top: 8px;
}
.p1-article-cta-text strong { color: var(--red, #E43D4A); }
.p1-article-cta-points {
	display: inline-block;
	text-align: left;
	margin: 14px auto 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	line-height: 1.9;
}
.p1-article-cta-points li::before {
	content: "✓";
	color: var(--green, #20BF62);
	font-weight: 900;
	margin-right: 6px;
}
.p1-article-cta-more {
	font-size: 14px;
	margin-top: 12px;
}
.p1-article-cta-more a {
	color: var(--green, #20BF62);
	text-decoration: underline;
}
/* 記事本文のリンク装飾がボタンに乗らないように */
.single-news-content .p1-btn { color: #fff !important; }
.single-news-content .p1-article-cta p { margin-bottom: 0; }

/* ---------- 記事の監修者・運営者 ---------- */
.p1-author-line {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 24px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #F4F4F4;
	font-size: 14px;
	font-weight: 700;
}
.p1-author-line small { font-weight: 500; color: #6B6B6B; }
.p1-author-role {
	display: inline-block;
	margin-right: 6px;
	padding: 1px 8px;
	border-radius: 4px;
	background: var(--green, #20BF62);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	vertical-align: 1px;
}
.p1-author-box {
	margin: 48px 0 0;
	padding: 22px 20px;
	border: 2px solid #E1E1E1;
	border-radius: 16px;
	font-family: var(--font-zen, "Zen Kaku Gothic Antique", sans-serif);
}
.p1-author-box-title {
	font-size: 16px;
	font-weight: 900;
	margin: 0 0 6px;
}
.p1-author-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding-top: 16px;
	margin-top: 14px;
	border-top: 1px solid #EEE;
}
.p1-author-card:first-of-type { border-top: 0; margin-top: 0; }
.p1-author-photo {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	background: #F4F4F4;
}
.p1-author-initial {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F2FBF5;
	border: 2px solid var(--green, #20BF62);
	color: var(--green, #20BF62);
	font-size: 26px;
	font-weight: 900;
}
.single-news-content .p1-author-box p { margin: 0; }
.p1-author-meta { font-size: 13px; color: #6B6B6B; }
.p1-author-name { font-size: 18px; font-weight: 900; margin-top: 2px !important; }
.p1-author-name small { font-size: 12px; font-weight: 500; color: #6B6B6B; margin-left: 4px; }
.p1-author-bio { font-size: 14px; line-height: 1.8; margin-top: 6px !important; }

/* ---------- スマホ ---------- */
@media (max-width: 768px) {
	.p1-heading { font-size: 22px; }
	.p1-subheading { font-size: 17px; }
	.p1-text { font-size: 15px; }
	.p1-btn { width: 100%; min-width: 0; font-size: 16px; }
	.p1-area-local { padding-bottom: 50px; }
	.p1-area-box-lead { font-size: 16px; }
	.p1-faq-extra { padding-bottom: 90px; } /* スマホは重なりが50px */
	.p1-faq-item summary { font-size: 15px; }
	.p1-article-cta { padding: 20px 14px; }
	.p1-article-cta-lead { font-size: 17px; }
	.p1-author-card { gap: 12px; }
	.p1-author-photo { flex-basis: 56px; width: 56px; height: 56px; }
	.p1-author-initial { font-size: 20px; }
}

/* 監修者・運営者のリンク */
.p1-author-links { margin-top: 8px !important; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 700; }
.p1-author-links a { color: var(--green, #20BF62) !important; text-decoration: underline; }
.p1-author-links a::after { content: " ›"; }

/* 記事本文の画像指定（幅100%）に負けないよう、写真サイズを固定 */
.single-news-content .p1-author-box .p1-author-photo,
.p1-author-box img.p1-author-photo {
	width: 72px !important;
	height: 72px !important;
	max-width: none !important;
	min-width: 72px;
	margin: 0 !important;
	border-radius: 50% !important;
	object-fit: cover !important;
}
@media (max-width: 768px) {
	.single-news-content .p1-author-box .p1-author-photo,
	.p1-author-box img.p1-author-photo,
	.p1-author-box .p1-author-initial {
		width: 56px !important;
		height: 56px !important;
		min-width: 56px;
	}
	.p1-author-card { flex-direction: row; }
}
.p1-author-body { flex: 1; min-width: 0; }

/* マンガでわかるシェアチラシ（components/section-manga.php） */
/* 直後の #reason は margin-top:-100px で食い込むため、トップページ（is-before-reason）は下の余白にその分を足している */
.p1-manga { padding: 100px 0 40px; }
.p1-manga.is-before-reason { padding-bottom: 150px; }
.p1-manga-slider { position: relative; max-width: 560px; margin: 50px auto 0; }
.p1-manga-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}
.p1-manga-track::-webkit-scrollbar { display: none; }
.p1-manga-track:focus-visible { outline: 3px solid var(--green, #20BF62); outline-offset: 4px; }
.p1-manga-slide { flex: 0 0 100%; scroll-snap-align: start; }
.p1-manga-slide img { display: block; width: 100%; height: auto; }
.p1-manga-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: var(--green, #20BF62);
	color: #fff;
	font-size: 34px;
	line-height: 1;
	padding: 0 0 4px;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}
.p1-manga-prev { left: -76px; }
.p1-manga-next { right: -76px; }
.p1-manga-nav:disabled { opacity: .3; cursor: default; }
.p1-manga-dots { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.p1-manga-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #cfd8d2; cursor: pointer; }
.p1-manga-dot[aria-current="true"] { background: var(--green, #20BF62); }
@media (max-width: 768px) {
	.p1-manga { padding: 70px 0 20px; }
	.p1-manga.is-before-reason { padding-bottom: 130px; }
	.p1-manga-slider { margin-top: 30px; }
	.p1-manga-nav { width: 40px; height: 40px; font-size: 26px; }
	.p1-manga-prev { left: -8px; }
	.p1-manga-next { right: -8px; }
}
