/* =========================================================
   corporation.css
   法人ページ /corporation 専用の差分スタイル。
   home_2.css の pcw- デザインシステムに依存し、
   home_2.css に存在しないクラスだけをここで定義する。
   元に戻すときはこのファイルと page-corporation.php / corporation.html を消すだけ。
   ========================================================= */

/* ---- レイアウト二重余白の打ち消し ----
   pcw-header.css の `header.pcdo-unified-header ~ main { padding-top:214px }` が
   この法人ページの <main> にも効いてしまい、固定ヘッダー分の余白(.pcw-home の
   padding-top:214px)と二重化して巨大な白余白が出ていた。
   .pcw-home 側で既にヘッダー分を確保しているので、main 側の余白は 0 にする。
   （別担当者の pcw-header.css は触らず、こちらのセレクタで上書きして勝たせる） */
header.pcdo-unified-header ~ main.pcdo-corporation-main {
	padding-top: 0 !important;
}

/* ---- 見出しの不自然な折り返し対策 ----
   「ださい。」「ど、」のように句読点だけが行頭に来る折り返しを防ぐ。
   line-break:strict で行頭禁則を厳格化し、対応ブラウザでは word-break:auto-phrase で文節単位に折る。 */
.pcdo-corporation-main h1,
.pcdo-corporation-main h2,
.pcdo-corporation-main h3 {
	line-break: strict;
	word-break: auto-phrase;
}

/* ---- ヒーロー（法人） ---- */
.pcw-corp-hero,
.pcdo-corporation-main .pcw-corp-hero {
	background: linear-gradient(135deg, #0b3d91 0%, #1565c0 55%, #1e88e5 100%);
	color: #fff;
	/* home_2.css の .pcdo-home2-main section { padding-bottom:0 } を打ち消すため詳細度を上げる */
	padding: 56px 0 64px !important;
}
.pcw-corp-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
}
.pcw-corp-hero__content .pcw-eyebrow {
	color: #bbdefb;
	letter-spacing: 0.08em;
	font-weight: 700;
}
.pcw-corp-hero__content h1 {
	font-size: clamp(26px, 4vw, 40px);
	line-height: 1.35;
	margin: 10px 0 18px;
	font-weight: 800;
	/* 句読点が行頭に来る「ど、」「え、」のような不自然な折り返しを防ぐ */
	line-break: strict;
	word-break: auto-phrase;
}
.pcw-corp-hero__content > p {
	font-size: 16px;
	line-height: 1.9;
	color: #e3f2fd;
	margin-bottom: 24px;
}
.pcw-corp-hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.pcw-button--business {
	background: #ffb300;
	color: #1a237e;
	font-weight: 800;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.pcw-button--business:hover {
	background: #ffc233;
}
.pcw-button--ghost {
	background: #fff;
	color: #1565c0;
	font-weight: 800;
	border: 2px solid #fff;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}
.pcw-button--ghost:hover {
	background: #fff;
	color: #0b3d91;
	border-color: #fff;
}
.pcw-corp-hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.pcw-corp-hero__points li {
	position: relative;
	padding-left: 22px;
	font-size: 14px;
	font-weight: 600;
	color: #e3f2fd;
}
.pcw-corp-hero__points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #ffd54f;
	font-weight: 800;
}
.pcw-corp-hero__media img {
	width: 100%;
	border-radius: 14px;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
	display: block;
}

/* ---- セクション共通の補助 ---- */
.pcw-section--soft {
	background: #f5f8fc;
}
.pcw-section--dark {
	background: #0b2a4a;
	color: #fff;
}
.pcw-section--dark .pcw-section__head h2,
.pcw-section--dark .pcw-eyebrow {
	color: #fff;
}

/* ---- 02 課題カード ---- */
.pcw-corp-problem-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.pcw-corp-problem-card {
	background: #fff;
	border: 1px solid #e3eaf2;
	border-radius: 14px;
	padding: 26px 22px;
	box-shadow: 0 6px 16px rgba(11, 61, 145, 0.06);
}
.pcw-corp-problem-card__icon {
	font-size: 32px;
	display: block;
	margin-bottom: 12px;
}
.pcw-corp-problem-card h3 {
	font-size: 17px;
	font-weight: 800;
	color: #0b3d91;
	margin: 0 0 10px;
}
.pcw-corp-problem-card p {
	font-size: 14px;
	line-height: 1.85;
	color: #44546a;
	margin: 0;
}

/* ---- 02.5 店舗ショーケース ---- */
.pcw-corp-showcase,
.pcdo-corporation-main .pcw-corp-showcase {
	/* home_2.css の .pcdo-home2-main section { padding-bottom:0 } を打ち消すため詳細度を上げる */
	padding: 56px 0 !important;
	background: #fff;
}
.pcw-corp-showcase__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px;
	align-items: center;
}
.pcw-corp-showcase__media {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(11, 61, 145, 0.14);
}
.pcw-corp-showcase__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 360px;
	object-fit: cover;
}
.pcw-corp-showcase__body h2 {
	font-size: 26px;
	font-weight: 800;
	color: #0b3d91;
	margin: 6px 0 16px;
	line-height: 1.45;
}
.pcw-corp-showcase__body p {
	font-size: 15px;
	line-height: 1.95;
	color: #44546a;
	margin: 0 0 22px;
}
@media (max-width: 768px) {
	.pcw-corp-showcase__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}
	.pcw-corp-showcase__media img {
		max-height: 240px;
	}
	.pcw-corp-showcase__body h2 {
		font-size: 21px;
	}
}

/* ---- 05.5 データ消去の安心 ---- */
.pcw-corp-erase,
.pcdo-corporation-main .pcw-corp-erase {
	/* home_2.css の .pcdo-home2-main section { padding-bottom:0 } を打ち消すため詳細度を上げる */
	padding: 60px 0 !important;
	background: #fff;
}
.pcw-corp-erase__lead {
	font-size: 15px;
	line-height: 1.9;
	color: #5a6b80;
	margin-top: 10px;
}
.pcw-corp-erase__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 28px;
}
.pcw-corp-erase__item {
	margin: 0;
	background: #f5f8fc;
	border: 1px solid #e3eaf2;
	border-radius: 14px;
	overflow: hidden;
}
.pcw-corp-erase__item img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
	background: #fff;
}
.pcw-corp-erase__item figcaption {
	padding: 12px 14px;
	font-size: 13.5px;
	font-weight: 700;
	color: #0b3d91;
	text-align: center;
}
.pcw-corp-erase__cta {
	margin-top: 28px;
	text-align: center;
}
.pcw-corp-erase__cta .pcw-product-button--outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border: 2px solid #1565c0;
	border-radius: 10px;
	background: #fff;
	color: #1565c0;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}
.pcw-corp-erase__cta .pcw-product-button--outline::after {
	content: "→";
	font-weight: 700;
}
.pcw-corp-erase__cta .pcw-product-button--outline:hover {
	background: #1565c0;
	color: #fff;
}
@media (max-width: 768px) {
	.pcw-corp-erase__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.pcw-corp-erase__item img {
		height: 180px;
	}
}

/* ---- 03 プラン ---- */
.pcw-corp-plans__lead {
	font-size: 14px;
	color: #5a6b80;
	margin-top: 8px;
}
.pcw-plan-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
}
.pcw-plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3eaf2;
	border-radius: 16px;
	padding: 26px 22px 24px;
	box-shadow: 0 8px 20px rgba(11, 61, 145, 0.07);
}
.pcw-plan-card--featured {
	border: 2px solid #1565c0;
	box-shadow: 0 14px 30px rgba(21, 101, 192, 0.18);
}
.pcw-plan-card__ribbon {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: #ffb300;
	color: #1a237e;
	font-size: 12px;
	font-weight: 800;
	padding: 5px 18px;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.pcw-plan-card__head {
	border-bottom: 1px dashed #d6e0ec;
	padding-bottom: 14px;
	margin-bottom: 16px;
}
.pcw-plan-card__tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	color: #1565c0;
	background: #e8f1fb;
	padding: 3px 12px;
	border-radius: 999px;
	margin-bottom: 8px;
}
.pcw-plan-card__head h3 {
	font-size: 20px;
	font-weight: 800;
	color: #0b3d91;
	margin: 0 0 6px;
}
.pcw-plan-card__target {
	font-size: 13px;
	color: #5a6b80;
	margin: 0;
}
.pcw-plan-card__example-label {
	font-size: 12px;
	font-weight: 700;
	color: #8392a5;
	margin: 0 0 8px;
}
.pcw-plan-card .pcw-spec-list {
	margin-bottom: 14px;
}
.pcw-plan-card__include {
	list-style: none;
	padding: 0;
	margin: 0 0 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.pcw-plan-card__include li {
	position: relative;
	padding-left: 20px;
	font-size: 13.5px;
	line-height: 1.7;
	color: #3c4b5e;
}
.pcw-plan-card__include li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #1e88e5;
	font-weight: 800;
}
.pcw-plan-card__note {
	font-size: 12.5px;
	color: #7a8aa0;
	line-height: 1.7;
	margin: 0 0 16px;
}
.pcw-plan-card .pcw-product-button {
	margin-top: auto;
}
.pcw-corp-plans__disclaimer {
	font-size: 12px;
	color: #8392a5;
	margin-top: 18px;
	line-height: 1.7;
}

/* ---- 05 まとめ買いメリット ---- */
.pcw-merit-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.pcw-merit-card {
	background: #fff;
	border: 1px solid #e3eaf2;
	border-radius: 14px;
	padding: 22px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.pcw-merit-card strong {
	font-size: 16px;
	color: #0b3d91;
	font-weight: 800;
}
.pcw-merit-card span {
	font-size: 13.5px;
	line-height: 1.8;
	color: #44546a;
}

/* ---- 06 導入の流れ（縦型ステップ） ---- */
.pcw-flow {
	list-style: none;
	counter-reset: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}
.pcw-flow li {
	position: relative;
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 32px;
	align-items: start;
	background: #fff;
	border-radius: 10px;
	padding: 28px 36px;
	box-shadow: 0 6px 16px rgba(11, 61, 145, 0.05);
}
/* カード間の下向き矢印 */
.pcw-flow li:not(:last-child)::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-left: 11px solid transparent;
	border-right: 11px solid transparent;
	border-top: 13px solid #1565c0;
	margin: 16px auto;
	grid-column: 1 / -1;
}
.pcw-flow li > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #1565c0;
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	flex: 0 0 auto;
}
.pcw-flow li h3 {
	grid-row: 1;
	grid-column: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	font-weight: 800;
	color: #0b3d91;
	margin: 0;
	line-height: 1.5;
}
.pcw-flow li p {
	grid-row: 1;
	grid-column: 2;
	font-size: 14.5px;
	line-height: 1.9;
	color: #44546a;
	margin: 0;
	padding-top: 4px;
}

/* ---- 07 お客様の声（法人導入事例） ---- */
.pcw-corp-voice,
.pcdo-corporation-main .pcw-corp-voice {
	padding: 60px 0 !important;
	background: #f5f8fc;
}
.pcw-corp-voice__lead {
	font-size: 15px;
	line-height: 1.9;
	color: #5a6b80;
	margin-top: 10px;
}
.pcw-corp-voice__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 32px;
}
.pcw-corp-voice__card {
	margin: 0;
	background: #fff;
	border: 1px solid #e3eaf2;
	border-radius: 14px;
	padding: 26px 28px;
	box-shadow: 0 6px 16px rgba(11, 61, 145, 0.05);
	position: relative;
}
.pcw-corp-voice__card {
	text-align: left;
}
.pcw-corp-voice__cat {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 800;
	color: #1565c0;
	background: #e8f1fc;
	border-radius: 999px;
	padding: 5px 14px;
	margin: 0 0 14px;
}
.pcw-corp-voice__card blockquote {
	margin: 0 0 14px;
	font-size: 14.5px;
	line-height: 1.95;
	color: #2b3a4d;
	text-align: left;
}
.pcw-corp-voice__card figcaption {
	font-size: 13px;
	font-weight: 700;
	color: #6a7a8c;
	text-align: right;
}
.pcw-corp-voice__note {
	margin-top: 22px;
	font-size: 12px;
	color: #8a98a8;
	text-align: center;
}
@media (max-width: 768px) {
	.pcw-corp-voice__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* ---- 07.5 よくある質問 ---- */
.pcw-corp-faq,
.pcdo-corporation-main .pcw-corp-faq {
	padding: 60px 0 !important;
	background: #fff;
}
.pcw-corp-faq__list {
	max-width: 860px;
	margin: 32px auto 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.pcw-corp-faq__item {
	border: 1px solid #e3eaf2;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(11, 61, 145, 0.04);
	overflow: hidden;
}
.pcw-corp-faq__item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 24px;
	font-size: 16px;
	font-weight: 800;
	color: #0b3d91;
	line-height: 1.55;
	position: relative;
}
.pcw-corp-faq__item summary::-webkit-details-marker {
	display: none;
}
.pcw-corp-faq__item summary::before {
	content: "Q";
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #1565c0;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}
.pcw-corp-faq__item summary::after {
	content: "";
	flex: 0 0 auto;
	margin-left: auto;
	width: 10px;
	height: 10px;
	border-right: 2px solid #1565c0;
	border-bottom: 2px solid #1565c0;
	transform: rotate(45deg);
	transition: transform 0.2s;
}
.pcw-corp-faq__item[open] summary::after {
	transform: rotate(-135deg);
}
.pcw-corp-faq__body {
	padding: 0 24px 22px 66px;
}
.pcw-corp-faq__body p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.95;
	color: #44546a;
}
@media (max-width: 560px) {
	.pcw-corp-faq__item summary {
		padding: 18px 18px;
		font-size: 15px;
		gap: 12px;
	}
	.pcw-corp-faq__body {
		padding: 0 18px 20px 18px;
	}
}

/* ---- 08 法人コンタクト ---- */
.pcw-corp-contact {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 36px;
	align-items: start;
}
.pcw-corp-contact__lead h2 {
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.45;
	margin: 10px 0 16px;
	font-weight: 800;
	/* 句読点が行頭に来る「ださい。」のような不自然な折り返しを防ぐ */
	line-break: strict;
	word-break: auto-phrase;
}
.pcw-corp-contact__lead > p {
	font-size: 15px;
	line-height: 1.9;
	color: #cfe0f2;
	margin-bottom: 22px;
}
.pcw-corp-contact__phone {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.pcw-corp-contact__phone span {
	font-size: 13px;
	color: #bbdefb;
	font-weight: 700;
}
.pcw-corp-contact__phone a {
	font-size: 28px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.02em;
}
.pcw-corp-contact__phone small {
	font-size: 12px;
	color: #aac6e4;
}
.pcw-corp-contact__form {
	background: #fff;
	border-radius: 16px;
	padding: 28px 26px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* CF7フォームの体裁を home_2 トーンに寄せる */
.pcw-corp-contact__form .wpcf7 p {
	margin: 0 0 16px;
}
.pcw-corp-contact__form label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #2a3a4d;
	margin-bottom: 6px;
}
.pcw-corp-contact__form .pcw-required {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 4px;
	background: #e53935;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	vertical-align: middle;
	letter-spacing: 0.04em;
}
.pcw-corp-contact__form input[type="text"],
.pcw-corp-contact__form input[type="email"],
.pcw-corp-contact__form input[type="tel"],
.pcw-corp-contact__form select,
.pcw-corp-contact__form textarea {
	width: 100%;
	border: 1px solid #cdd8e4;
	border-radius: 8px;
	padding: 11px 13px;
	font-size: 14px;
	color: #1f2d3d;
	background: #fbfdff;
	box-sizing: border-box;
}
.pcw-corp-contact__form textarea {
	min-height: 120px;
	resize: vertical;
}
.pcw-corp-contact__form input:focus,
.pcw-corp-contact__form select:focus,
.pcw-corp-contact__form textarea:focus {
	outline: none;
	border-color: #1565c0;
	box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}
.pcw-corp-contact__form .wpcf7-list-item {
	display: inline-block;
	margin: 0 14px 6px 0;
}
.pcw-corp-contact__form .wpcf7-submit {
	width: 100%;
	background: #ffb300;
	color: #1a237e;
	font-size: 16px;
	font-weight: 800;
	border: none;
	border-radius: 10px;
	padding: 14px;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(255, 179, 0, 0.3);
}
.pcw-corp-contact__form .wpcf7-submit:hover {
	background: #ffc233;
}
/* ---- CF7 メッセージ（送信失敗・成功・入力不備が白文字で読めない問題の修正） ---- */
.pcw-corp-contact__form .wpcf7-response-output {
	margin: 16px 0 0 !important;
	padding: 12px 16px !important;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	color: #b71c1c;
	background: #fdecea;
	border: 1px solid #f5c2c0 !important;
}
/* 送信成功（mail sent） */
.pcw-corp-contact__form .wpcf7-mail-sent-ok .wpcf7-response-output,
.pcw-corp-contact__form form.sent .wpcf7-response-output {
	color: #1b5e20;
	background: #e9f6ec;
	border-color: #b6dfbd !important;
}
/* 各入力欄の不備ツールチップ */
.pcw-corp-contact__form .wpcf7-not-valid-tip {
	color: #b71c1c;
	font-size: 12.5px;
	font-weight: 700;
}
.pcw-corp-contact__form .wpcf7-not-valid {
	border-color: #e53935 !important;
	background: #fff7f7 !important;
}

/* ---- ナビ／メニューの法人CTA色（home_2と共存） ---- */
.pcw-nav-cta--business,
.pcw-mobile-menu__cta--business {
	color: #0b3d91;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 960px) {
	.pcw-corp-hero__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.pcw-corp-hero__media {
		order: -1;
	}
	.pcw-corp-problem-grid,
	.pcw-plan-grid {
		grid-template-columns: 1fr;
	}
	.pcw-merit-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.pcw-corp-contact {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.pcw-plan-card--featured {
		order: -1;
	}
}

@media (max-width: 560px) {
	.pcw-corp-hero,
	.pcdo-corporation-main .pcw-corp-hero {
		padding: 40px 0 44px !important;
	}
	.pcw-corp-hero-break,
	.pcw-corp-contact-break {
		display: none;
	}
	.pcw-merit-grid {
		grid-template-columns: 1fr;
	}
	/* 縦型フロー：モバイルでは見出しと本文を縦積みに */
	.pcw-flow li {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 22px 22px;
	}
	.pcw-flow li p {
		grid-row: 2;
		grid-column: 1;
		padding-top: 0;
	}
	.pcw-corp-contact__form {
		padding: 22px 18px;
	}
}
