@charset "UTF-8";
/* =========================================================
   request.css — カタログダウンロード / サンプル請求（4画面共通）
   Figma: 2016:7391 / 2092:5411 / 2984:19294 / 2984:19386
   ========================================================= */

/* ---------- 入力画面 ---------- */
.p-request__inner { padding-top: 63px; padding-bottom: 113px; }
.p-request--sample .p-request__inner { padding-top: 57px; padding-bottom: 147px; } /* 2984:19294: ヒーロー→目的 57 / 送信→フッター 147 */
.p-request-form { max-width: 1071px; }

/* 小見出し catHead */
.p-request-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.65;
	color: var(--c-text);
}
.p-request-head::before {
	content: "";
	flex: none;
	width: 4px;
	height: 30px;
	border-radius: 2px;
	background: var(--c-blue);
}

.p-request-block { margin: 0; padding: 0; border: 0; min-width: 0; }
.p-request-block + .p-request-block { margin-top: 60px; }
.p-request-purpose + .p-request-fields { margin-top: 86px; }
.p-request--sample .p-request-purpose + .p-request-fields { margin-top: 72px; }
.p-request-product + .p-request-fields { margin-top: 44px; } /* カタログ: 製品名 → 入力項目（Figma 4742:14368） */

/* 製品名 */
.p-request-product__current {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 20px;
	margin-top: 13px;
	font-size: 16px;
	line-height: 25px;
	color: var(--c-text);
}
.p-request-product__change {
	font-size: 13px;
	color: var(--c-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.p-request-product__change:hover { text-decoration: none; }
.p-request-product__select { margin-top: 13px; }
.p-request-product__select[hidden] { display: none; }
.p-request-product__select .c-select { min-width: 395px; }
.p-request-product__select select { font-size: 16px; }

/* 目的 */
.p-request-note { margin-top: 13px; font-size: 16px; line-height: 25px; color: var(--c-text-sub); }
.p-request-checks { display: flex; flex-wrap: wrap; row-gap: 12px; margin-top: 21px; padding-left: 1px; }
.p-request-check {
	position: relative;
	display: inline-flex;
	align-items: flex-start;
	gap: 11px;
	width: 223px;
	font-size: 16px;
	line-height: 25px;
	color: var(--c-text);
	cursor: pointer;
}
.p-request-check__input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 2px 0 0; }
.p-request-check__box,
.p-request-privacy__box {
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 3px;
	border: 1px solid #5a6b7b;
	border-radius: 4px;
	background: var(--c-white);
	transition: background-color .15s, border-color .15s;
}
.p-request-check__input:checked + .p-request-check__box,
.p-request-privacy__input:checked + .p-request-privacy__box { background: var(--c-blue); border-color: var(--c-blue); }
.p-request-check__input:checked + .p-request-check__box::after,
.p-request-privacy__input:checked + .p-request-privacy__box::after,
.p-request-dc__input:checked + .p-request-dc__check::after,
.p-request-dl__all-input:checked + .p-request-dl__all-check::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 45%;
	width: 6px;
	height: 11px;
	border: solid var(--c-white);
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -50%) rotate(45deg);
}
.p-request-check__input:focus-visible + .p-request-check__box,
.p-request-privacy__input:focus-visible + .p-request-privacy__box,
.p-request-dc__input:focus-visible + .p-request-dc__check { outline: 2px solid var(--c-blue); outline-offset: 2px; }

/* 入力項目 */
.p-request-rows { display: flex; flex-direction: column; gap: 31px; margin-top: 21px; }
.p-request-row { display: grid; grid-template-columns: 234px 1fr; align-items: center; }
.p-request-row--textarea { align-items: start; }
.p-request-row--textarea .p-request-row__head { padding-top: 20px; }
.p-request-row__head { display: grid; grid-template-columns: 158px 46px; align-items: center; }
.p-request-row__label {
	font-size: 16px;
	font-weight: 500;
	line-height: 27px;
	letter-spacing: .09em;
	color: var(--c-text);
	white-space: nowrap;
}
.p-request-badge {
	grid-column: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 22px;
	border-radius: 4px;
	background: var(--c-blue);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .09em;
	color: var(--c-white);
}
.p-request-row__body { min-width: 0; }
.p-request-row--cols .p-request-row__body { display: grid; grid-template-columns: 1fr 1fr; gap: 47px; }
.p-request-input {
	display: block;
	width: 100%;
	height: 68px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: #f7f9fb; /* #f1f5f9 60% on white */
	font-size: 16px;
	line-height: 27px;
	letter-spacing: .09em;
	color: var(--c-text);
	transition: border-color .15s, background-color .15s;
}
.p-request-input--textarea { height: 68px; min-height: 68px; padding-top: 20px; padding-bottom: 20px; resize: vertical; }
.p-request-input::placeholder { color: rgba(90, 107, 123, .3); opacity: 1; }
.p-request-input:focus { outline: none; border-color: var(--c-blue); background: var(--c-white); }
.p-request-input:user-invalid { border-color: #d64545; }

/* プライバシー */
.p-request-row--privacy { align-items: start; }
/* ダウンロード経緯（カタログ。Figma 4949:14236）: 見出しの下に「(複数選択可)」、右にチェックボックス（間 33px 前後） */
.p-request-row--checks { align-items: start; }
.p-request-row--checks .p-request-row__head { align-items: start; }
.p-request-row__sub { display: block; font-size: 16px; font-weight: 400; line-height: 1.7; letter-spacing: 0; color: var(--c-text-sub); }
.p-request-row--checks .p-request-checks { gap: 12px 0; margin-top: 0; padding-left: 0; }
.p-request-row--checks .p-request-check { width: auto; margin-right: 33px; }
.p-request-row--checks .wpcf7-not-valid-tip { flex-basis: 100%; } /* エラー文は選択肢の下の行に */
.p-request-check[hidden] { display: none; }
.p-request-privacy {
	position: relative;
	display: inline-flex;
	align-items: flex-start;
	gap: 23px;
	padding-left: 5px;
	font-size: 14px;
	line-height: 27px;
	letter-spacing: .09em;
	color: var(--c-text);
	cursor: pointer;
}
.p-request-privacy__input { position: absolute; left: 5px; top: 0; opacity: 0; width: 22px; height: 22px; margin: 3px 0 0; }
.p-request-privacy__box { border: 1px solid rgba(90, 107, 123, .6); background: var(--c-bg-gray); margin-top: 1px; } /* 枠線でチェックボックスと分かるように */
.p-request-privacy__label a { color: inherit; text-decoration: underline; text-underline-offset: 3px; } /* 下線はリンク（プライバシーポリシー）だけ。「に同意する」を押すとチェックが入る */
.p-request-privacy__label a:hover { color: var(--c-blue); }
.p-request-row--privacy .p-request-row__head { padding-top: 3px; }
/* 同意せずに送信したとき（CF7 の data-status="unaccepted"）: チェックボックスを赤枠に */
.wpcf7-form[data-status="unaccepted"] .p-request-privacy__input:not(:checked) + .p-request-privacy__box { border-color: #d93a3a; box-shadow: 0 0 0 1px #d93a3a; }

/* Contact Form 7 の出力（inc/request-cf7.php）: 入力欄・チェックボックス群の包み、エラー表示 */
.p-request-form .wpcf7-form-control-wrap { display: block; min-width: 0; }
.p-request-form .wpcf7-list-item { display: block; margin: 0; }
.p-request-checks .wpcf7-form-control-wrap, .p-request-checks .wpcf7-checkbox, .p-request-checks .wpcf7-list-item { display: contents; }
.c-select .wpcf7-form-control-wrap { flex: 1; }
.p-request-form .wpcf7-not-valid-tip { margin-top: 6px; color: #d64545; font-size: 13px; line-height: 1.5; }
.p-request-input.wpcf7-not-valid { border-color: #d64545; }
.p-request-form .wpcf7-response-output { margin: 40px 0 0 !important; padding: 14px 18px !important; border-radius: 4px; font-size: 14px; line-height: 1.7; }
.p-request-form .wpcf7-spinner { position: absolute; margin: 20px 0 0 16px; }
.p-request-form__submit { position: relative; }

.p-request-form__submit { margin-top: 66px; }
.p-request--sample .p-request-form__submit { margin-top: 126px; }
.p-request-form__submit .c-submit { margin-left: calc(50% - 248.5px + (1140px - 1071px) / 2 - .5px); margin-right: 0; }

/* ---------- 完了画面 ---------- */
.p-request-thanks {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 1126px;
	padding: 15px 24px;
	border-radius: 8px;
	background: var(--c-white);
	text-align: center;
}
.p-request-thanks__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #e6f6f4;
}
.p-request-thanks__body { display: flex; flex-direction: column; gap: 13px; max-width: 580px; }
.p-request-thanks__title { font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--c-text); }
.p-request-thanks__desc { font-size: 16px; line-height: 1.5; color: var(--c-text-sub); }
.p-request-thanks--note {
	gap: 0;
	padding: 24px;
	min-height: 149px;
	justify-content: center;
	border: 1px solid #dbe1ec;
	background: #f6f9fc;
}
.p-request-thanks--note .p-request-thanks__title { font-size: 16px; line-height: 1.5; color: var(--c-blue); }
.p-request-thanks--note .p-request-thanks__desc { font-size: 14px; }

.p-request--catalog-complete > .l-container:first-child { padding-top: 35px; padding-bottom: 90px; }
.p-request--sample-complete > .l-container:first-child { padding-top: 108px; }

.p-request__back { padding-top: 90px; padding-bottom: 172px; }
.p-request--sample-complete .p-request__back { padding-top: 109px; padding-bottom: 205px; }
.p-request__back-btn.c-submit--ghost { background: var(--c-bg-gray); }
.p-request__back-btn.c-submit--ghost:hover { background: var(--c-blue); }

/* カタログ一覧（Figma 2092:5620）
   head(42) → すべて選択(+35) → 製品のカタログ 313x300 gap33(+33) → その他 head(+58) → 一覧 194x245 gap24(+33)
   → ボタン(+58) → 注意(+58) */
.p-request-dl { padding: 42px 0 150px; background: var(--c-blue-pale); overflow: hidden; }
.p-request-dl .p-request-head { margin-left: -2px; }
.p-request-dl__all {
	display: inline-flex;
	align-items: center;
	gap: 19px;
	margin: 35px 0 0 10px;
	cursor: pointer;
}
.p-request-dl__all-check {
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
	border: 1.5px solid #dce3ea;
	border-radius: 3px;
	background: #dce3ea;
	transition: background-color .15s, border-color .15s;
}
.p-request-dl__all-label { font-size: 18px; font-weight: 700; line-height: 1.65; color: #000; }
.p-request-dl__all-input:checked + .p-request-dl__all-check { background: var(--c-blue); border-color: var(--c-blue); }
.p-request-dl__all-input:focus-visible + .p-request-dl__all-check { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.p-request-dl__main { display: flex; flex-wrap: wrap; gap: 33px; margin-top: 31px; }
.p-request-dl__all + .p-request-dl__main { margin-top: 33px; }
.p-request-dl__group + .p-request-dl__others-head { margin-top: 58px; }
.p-request-dl__list {
	display: flex;
	gap: 24px;
	margin-top: 33px;
	margin-right: calc((100vw - 100%) / -2);
	padding: 0 20px 12px 0;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: #b9c7d8 transparent;
}
.p-request-dl__action { margin-top: 46px; }
.p-request-dl__btn { margin-inline: auto; }
.p-request-dl__btn.is-disabled { opacity: .5; pointer-events: none; }
.p-request-dl .p-request-thanks--note { margin-top: 58px; margin-left: 8px; }

/* dc カード（名前が上・表紙が下） */
.p-request-dc {
	position: relative;
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid #dce3ea;
	background: var(--c-white);
	cursor: pointer;
	scroll-snap-align: start;
	transition: box-shadow .15s, border-color .15s;
}
.p-request-dc:hover { border-color: #b9c7d8; box-shadow: 0 4px 14px rgba(15, 44, 77, .08); }
.p-request-dc:has(.p-request-dc__input:checked) { border-color: var(--c-blue); }
.p-request-dc.is-disabled { cursor: not-allowed; }
.p-request-dc.is-disabled:hover { border-color: #dce3ea; box-shadow: none; }
.p-request-dc.is-disabled .p-request-dc__box { opacity: .5; }
.p-request-dc--l { width: 313px; min-height: 300px; padding: 10px 12px 12px; gap: 15px; border-radius: 6px; }
.p-request-dc--s { width: 194px; min-height: 245px; padding: 6px 8px 8px; gap: 10px; border-radius: 4px; }
.p-request-dc__check {
	position: absolute;
	left: 9px;
	top: 14px;
	width: 20px;
	height: 20px;
	border: 1.5px solid #dce3ea;
	border-radius: 3px;
	background: #c5cacf;
	transition: background-color .15s, border-color .15s;
}
.p-request-dc--s .p-request-dc__check { left: 6px; top: 9px; width: 18px; height: 18px; border-width: 1px; border-color: #c5cacf; border-radius: 2px; }
.p-request-dc__input:checked + .p-request-dc__check { background: var(--c-blue); }
.p-request-dc--s .p-request-dc__input:checked + .p-request-dc__check { border-color: var(--c-blue); }
.p-request-dc.is-disabled .p-request-dc__check { background: #e1e5e9; }
.p-request-dc__name { font-weight: 700; line-height: 1.65; color: var(--c-text); }
.p-request-dc--l .p-request-dc__name { max-width: 100%; padding: 0 22px; font-size: 18px; text-align: center; }
.p-request-dc--s .p-request-dc__name { width: 134px; min-height: calc(1.65em * 2); font-size: 14px; }
.p-request-dc__soon { font-size: 11px; font-weight: 400; color: var(--c-text-sub); }
.p-request-dc__box { display: block; flex: none; overflow: hidden; border: .5px solid #8a98a6; background: var(--c-white); }
.p-request-dc--l .p-request-dc__box { width: 156px; height: 220px; }
.p-request-dc--s .p-request-dc__box { width: 116px; height: 165px; }
.p-request-dc__box img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.p-request-dc__box.is-logo { border-color: transparent; }
.p-request-dc__box.is-logo img { object-fit: contain; object-position: center; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1180px) {
	.p-request-form__submit .c-submit,
	.p-request-dl__btn { margin-inline: auto; }
}
@media (max-width: 1024px) {
	.p-request-row { grid-template-columns: 200px 1fr; }
	.p-request-row__head { grid-template-columns: 1fr 46px; padding-right: 20px; }
	.p-request-row--cols .p-request-row__body { gap: 20px; }
}
/* ---------- SP（≤767px）Figma 3516:35868 / 3516:36262 / 3516:36539 / 3516:36778 ---------- */
@media (max-width: 767px) {
	/* 入力画面 */
	.p-request__inner { padding-top: 32px; padding-bottom: 107px; }
	.p-request--sample .p-request__inner { padding-top: 32px; padding-bottom: 120px; } /* サンプル請求_SP: 送信→CTA 120 */
	.p-request-form { max-width: none; }

	.p-request-head { gap: 8px; font-size: 16px; line-height: 1.65; }
	.p-request-head::before { width: 3px; height: 25px; }

	.p-request-block + .p-request-block { margin-top: 26px; }
	.p-request-purpose + .p-request-fields { margin-top: 33px; }
	.p-request--sample .p-request-purpose + .p-request-fields { margin-top: 39px; }

	.p-request-product__current {
		gap: 4px 16px;
		margin-top: 8px;
		font-size: 14px;
		font-weight: 500;
		line-height: 27px;
		letter-spacing: .09em;
	}
	.p-request-product__change { font-size: 12px; letter-spacing: 0; }
	.p-request-product__select { margin-top: 8px; }
	.p-request-product__select .c-select { min-width: 0; width: 100%; }
	.p-request-product__select select { font-size: 14px; }

	.p-request-note { margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 27px; letter-spacing: .09em; }
	.p-request-checks { row-gap: 11px; margin-top: 8px; padding-left: 0; }
	.p-request-check {
		width: 50%;
		gap: 11px;
		font-size: 14px;
		font-weight: 500;
		line-height: 28px;
		letter-spacing: .09em;
	}
	.p-request-check__box { margin-top: 3px; }
	.p-request-check__label { text-wrap: pretty; } /* 長いラベルの折返しで1文字だけ次行に残さない */
	.p-request-row--checks .p-request-check { width: 50%; margin-right: 0; }
	.p-request-row--checks .p-request-row__body { margin-top: 8px; }
	.p-request-check__input { margin-top: 3px; }

	.p-request-rows { gap: 15px; margin-top: 17px; }
	.p-request-row,
	.p-request-row--textarea { display: block; }
	.p-request-row__head { display: flex; align-items: center; gap: 10px; padding: 0 !important; }
	.p-request-row__label { font-size: 14px; line-height: 28px; letter-spacing: .09em; }
	.p-request-badge { width: 42px; height: 21px; font-size: 12px; letter-spacing: .09em; }
	.p-request-row__body { margin-top: 6px; }
	.p-request-row--cols .p-request-row__body { grid-template-columns: 1fr; gap: 9px; }
	.p-request-input,
	.p-request-input--textarea {
		height: 47px;
		min-height: 47px;
		padding: 0 17px;
		font-size: 14px;
		line-height: 27px;
		letter-spacing: .09em;
	}
	.p-request-input--textarea { padding-top: 10px; padding-bottom: 10px; resize: none; } /* Figma にリサイズつまみなし */

	.p-request-row--privacy { margin-top: 10px; }
	.p-request--sample .p-request-row--privacy { margin-top: 20px; }
	.p-request-row--privacy .p-request-row__head { display: flex; }
	.p-request-row--privacy .p-request-row__body { margin-top: 10px; }
	.p-request-privacy { gap: 11px; padding-left: 0; font-size: 14px; line-height: 27px; }
	.p-request-privacy__input { left: 0; margin-top: 2px; }
	.p-request-privacy__box { margin-top: 2px; }

	.p-request-form__submit,
	.p-request--sample .p-request-form__submit { margin-top: 76px; }
	.p-request-form__submit .c-submit { margin-inline: auto; }

	/* 完了カード */
	.p-request--catalog-complete > .l-container:first-child { padding-top: 32px; padding-bottom: 36px; }
	.p-request--sample-complete > .l-container:first-child { padding-top: 32px; }
	.p-request-thanks {
		justify-content: center;
		gap: 9px;
		min-height: 220px;
		padding: 14px 14px 20px;
		border: 1px solid #dce3ea;
		border-radius: 4px;
	}
	.p-request-thanks__icon { width: 28px; height: 28px; }
	.p-request-thanks__icon svg,
	.p-request-thanks__icon img { width: 14px; height: 14px; }
	.p-request-thanks__body { gap: 15px; max-width: 289px; width: 100%; }
	.p-request-thanks__title { font-size: 16px; line-height: 1.4; }
	.p-request-thanks__desc { font-size: 14px; line-height: 1.5; text-align: left; }

	.p-request-thanks--note {
		gap: 0;
		min-height: 195px;
		padding: 24px;
		border-radius: 8px;
		background: rgba(255, 255, 255, .57);
	}
	.p-request-thanks--note .p-request-thanks__body { gap: 13px; max-width: none; }
	.p-request-thanks--note .p-request-thanks__title { font-size: 16px; line-height: 1.45; color: #1b3a7b; }
	.p-request-thanks--note .p-request-thanks__desc { font-size: 14px; color: #627d98; text-align: center; }

	/* カタログ一覧 */
	.p-request-dl { padding: 29px 0 62px; }
	.p-request-dl .p-request-head { margin-left: 0; }
	.p-request-dl__all { gap: 10px; margin: 20px 0 0; }
	.p-request-dl__all-check { width: 18px; height: 18px; }
	.p-request-dl__all-label { font-size: 15px; }
	.p-request-dl__main,
	.p-request-dl__all + .p-request-dl__main,
	.p-request-dl__list {
		flex-wrap: nowrap;
		gap: 12px;
		margin-top: 20px;
		margin-right: calc(-1 * var(--gutter));
		padding: 0 20px 4px 0;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.p-request-dl__main::-webkit-scrollbar,
	.p-request-dl__list::-webkit-scrollbar { display: none; }
	.p-request-dl__group + .p-request-dl__others-head { margin-top: 40px; }
	.p-request-dl__action { margin-top: 40px; }
	.p-request-dl .p-request-thanks--note { margin-top: 35px; margin-left: 0; }

	.p-request-dc--l { width: 170px; min-height: 0; padding: 8px 8px 10px; gap: 10px; border-radius: 4px; }
	.p-request-dc--l .p-request-dc__name { padding: 0 16px; font-size: 13px; }
	.p-request-dc--l .p-request-dc__box { width: 112px; height: 158px; }
	.p-request-dc--l .p-request-dc__check { left: 6px; top: 9px; width: 16px; height: 16px; border-radius: 2px; }
	.p-request-dc--s { width: 140px; min-height: 0; padding: 5px 6px 8px; gap: 8px; border-radius: 3px; }
	.p-request-dc--s .p-request-dc__name { width: 100%; padding-left: 18px; font-size: 11px; line-height: 1.5; min-height: 3em; }
	.p-request-dc--s .p-request-dc__soon { font-size: 9px; }
	.p-request-dc--s .p-request-dc__box { width: 90px; height: 128px; }
	.p-request-dc--s .p-request-dc__check { left: 5px; top: 7px; width: 14px; height: 14px; }
	.p-request-dc__input:checked + .p-request-dc__check::after { width: 4px; height: 8px; border-width: 0 1.5px 1.5px 0; }

	/* TOPへ戻る */
	.p-request__back,
	.p-request--sample-complete .p-request__back { padding-top: 51px; padding-bottom: 112px; }
	.p-request--sample-complete .p-request__back { padding-top: 32px; padding-bottom: 80px; } /* complete_SP: TOPボタン→CTA 80 */
	.p-request__back-btn.c-submit--ghost { margin-inline: auto; border: 1px solid var(--c-blue); background: var(--c-bg-gray); }
}
