/* PDF商品購入手続き */

#pdf-product-order-page .panel-default>.panel-heading.pdf-purchase-main-heading,
#pdf-product-order-page .pdf-purchase-main-heading {
	padding: 18px 24px;
	border: 0;
	background: linear-gradient(135deg, #eef5fb 0%, #f8fbfd 50%, #edf3f8 100%);
	color: #274c6b;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .03em;
	text-align: left !important;
}

#pdf-product-order-page .pdf-purchase-main-heading i {
	margin-right: 8px;
	color: #4f86ad;
}

#pdf-product-order-page .pdf-purchase-main-heading .fa-file-pdf {
	font-size: 18px;
}

.pdf-purchase-narrow {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.pdf-purchase-panel {
	overflow: hidden;
	max-width: 1080px;
	margin-top: 18px;
	border: 0;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(44, 73, 110, .12);
}

.pdf-purchase-panel .panel-body {
	padding: 22px 24px;
}

.pdf-purchase-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.pdf-purchase-left,
.pdf-purchase-right {
	min-width: 0;
}

.pdf-purchase-summary {
	display: block;
	margin: 0;
	padding: 14px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #fff;
}

.pdf-purchase-summary-thumb {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0 0 14px;
	padding: 5px;
	border: 1px solid #d8e0ea;
	border-radius: 5px;
	background: #f8fafc;
}

.pdf-purchase-summary-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.pdf-purchase-summary-thumb-none {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 150px;
	color: #94a3b8;
	font-size: 12px;
}

.pdf-purchase-summary-mark {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 21px;
	padding: 0 7px;
	border-radius: 5px;
	background: #3f7fa8;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.pdf-purchase-summary-title {
	margin: 0 0 8px;
	color: #1f2937;
	font-size: 21px;
	line-height: 1.45;
	word-break: break-word;
}

.pdf-purchase-summary-author {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}

.pdf-purchase-return-link {
	margin-top: 14px;
	text-align: center;
}

.pdf-purchase-product-card {
	overflow: hidden;
	margin-bottom: 24px;
	padding: 0;
	border: 1px solid #dfeaf5;
	border-radius: 5px;
	background: #fff;
	box-shadow: none;
}

.pdf-purchase-product-detail {
	margin: 0;
}

.pdf-purchase-product-detail-row {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 0;
	padding: 0;
	border-top: 0;
	border-bottom: 1px solid #e8f0f7;
}

.pdf-purchase-product-detail-row:first-child {
	padding-top: 0;
	border-top: 0;
}

.pdf-purchase-product-detail-row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.pdf-purchase-product-detail dt {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 16px 18px;
	background: #eef5fb;
	color: #2f5f83;
	font-weight: 700;
	white-space: nowrap;
}

.pdf-purchase-product-detail dd {
	margin: 0;
	padding: 16px 18px;
	background: #fff;
	color: #26384d;
	line-height: 1.75;
	word-break: break-word;
}

.pdf-purchase-product-detail-price strong {
	margin-right: 2px;
	color: #c94a4a;
	font-size: 28px;
	line-height: 1;
}

.pdf-purchase-product-detail-price span {
	margin-left: 4px;
	color: #66788c;
	font-size: 13px;
	font-weight: 400;
}

.pdf-purchase-product-detail-row--note {
	padding-left: 0;
	padding-right: 0;
	border-radius: 0;
	background: transparent;
}

.pdf-purchase-product-detail-row--note dd {
	color: #26384d;
	font-size: 13px;
}

.pdf-purchase-section-title {
	margin: 28px 0 10px;
	color: #274c6b;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

.pdf-purchase-input-note {
	margin: 0 0 10px;
	padding: 10px 14px;
	border-radius: 5px;
	background: #f9f9f9;
	color: #435f76;
	font-size: 13px;
	line-height: 1.7;
}

.pdf-purchase-right .well {
	margin-bottom: 18px;
	border-radius: 5px;
	box-shadow: none;
}

.pdf-purchase-right .well:not(.pdf-purchase-product-card) {
	padding: 22px 20px 8px;
	border: 1px solid #e2ebf3;
	background: #fff;
}

.pdf-purchase-right .form-horizontal .control-label,
.pdf-purchase-right .control-label {
	color: #344b61;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.pdf-purchase-right .form-control {
	width: 100%;
	max-width: 100%;
	height: 42px;
	border-color: #ccdbe8;
	border-radius: 5px;
	box-shadow: none;
}

.pdf-purchase-right .form-control:focus {
	border-color: #6ba7d6;
	box-shadow: 0 0 0 3px rgba(107, 167, 214, .16);
}

.pdf-purchase-info-well {
	margin-bottom: 22px;
}

.pdf-seller-terms-title,
.pdf-purchase-terms-title,
.pdf-purchase-right .seller-terms-title,
.pdf-purchase-right .terms-title {
	margin: 28px 0 10px;
	color: #274c6b;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

.pdf-seller-terms {
	padding: 18px;
	border: 1px solid #e2ebf3;
	border-radius: 5px;
	background: #fff;
}

.pdf-seller-terms-body {
	font-size: 12px;
	line-height: 1.8;
}

.pdf-seller-terms-agreement {
	display: block;
	margin: 12px 0 0;
	color: #344b61;
	font-weight: 700;
}

#pdf-product-order-page .pdf-purchase-card-brand {
	display: flex !important;
	align-items: center;
	justify-content: center !important;
	gap: 10px;
	width: 100%;
	margin: 24px auto 8px;
	color: #5b6f83;
	font-size: 13px;
	text-align: center !important;
	float: none !important;
}

#pdf-product-order-page .pdf-purchase-card-brand img {
	width: auto;
	height: 24px;
	padding: 0;
	border-radius: 0;
	background: transparent;
}

#pdf-product-order-page .order_button {
	margin-top: 18px;
	text-align: center;
}

#pdf-product-order-page .stripe_button,
#pdf-product-order-page .stripe-button-el {
	min-width: 260px;
	height: auto;
	padding: 14px 36px;
	border: 0;
	border-radius: 5px;
	background: linear-gradient(135deg, #4f86ad 0%, #2f6488 100%);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: 0 8px 18px rgba(47, 100, 136, .24);
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

#pdf-product-order-page .stripe_button:hover,
#pdf-product-order-page .stripe-button-el:hover {
	transform: translateY(-1px);
	box-shadow: 0 11px 22px rgba(47, 100, 136, .28);
}

#pdf-product-order-page .stripe_button:disabled,
#pdf-product-order-page .stripe-button-el:disabled {
	opacity: .65;
	transform: none;
	box-shadow: none;
}

@media (max-width: 991px) {
	.pdf-purchase-layout {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.pdf-purchase-narrow {
		max-width: none;
	}

	.pdf-purchase-panel .panel-body {
		padding: 16px;
	}

	#pdf-product-order-page .panel-default>.panel-heading.pdf-purchase-main-heading,
	#pdf-product-order-page .pdf-purchase-main-heading {
		padding: 15px 16px;
		font-size: 18px;
		text-align: left !important;
	}

	.pdf-purchase-layout {
		display: block;
	}

	.pdf-purchase-left {
		margin-bottom: 22px;
	}

	.pdf-purchase-summary-thumb {
		max-width: 220px;
		margin-left: auto;
		margin-right: auto;
	}

	.pdf-purchase-return-link {
		display: none;
	}

	.pdf-purchase-product-card {
		padding: 0;
	}

	.pdf-purchase-product-detail-row {
		display: block;
		padding: 0;
	}

	.pdf-purchase-product-detail dt,
	.pdf-purchase-product-detail dd {
		padding: 11px 14px;
	}

	.pdf-purchase-product-detail dt {
		margin-bottom: 0;
	}

	.pdf-purchase-right .form-horizontal .control-label,
	.pdf-purchase-right .control-label {
		text-align: left;
		white-space: normal;
	}

	#pdf-product-order-page .pdf-purchase-card-brand {
		flex-wrap: wrap;
		justify-content: center !important;
		margin-top: 20px;
	}

	#pdf-product-order-page .stripe_button,
	#pdf-product-order-page .stripe-button-el {
		width: 100%;
		min-width: 0;
	}
}


/* PDF商品購入手続き: 左カラムの著者情報 */
.pdf-purchase-author-block {
	margin-top: 14px;
	padding: 14px;
	border-top: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #fafafa;
}

.pdf-purchase-side-title {
	margin: 0 0 10px;
	color: #334155;
	font-size: 13px;
	font-weight: 700;
}

.pdf-purchase-author {
	text-align: center;
}

.pdf-purchase-author-image-wrap {
	margin-bottom: 9px;
}

.pdf-purchase-author-image {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 auto;
	object-fit: cover;
	border: 1px solid #e2e8f0;
	border-radius: 50%;
	background: #f8fafc;
}

.pdf-purchase-author-name {
	margin-bottom: 7px;
	color: #1f2937;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

.pdf-purchase-author-intro {
	margin-bottom: 10px;
	color: #475569;
	font-size: 12px;
	line-height: 1.7;
	text-align: left;
	word-break: break-word;
}

.pdf-purchase-author-link {
	display: block;
	width: 100%;
	margin-top: 8px;
}

@media (max-width: 767px) {
	.pdf-purchase-author-block {
		margin-top: 12px;
	}

	.pdf-purchase-author-image {
		width: 64px;
		height: 64px;
	}
}


/* PDF商品購入手続き: 左カラムを決済向けに簡略化 */
.pdf-purchase-summary-title {
	display: none;
}

.pdf-purchase-summary-author--only {
	margin: 10px 0 0;
	padding: 9px 10px;
	border-radius: 5px;
	background: #f8fafc;
	color: #475569;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.pdf-purchase-product-detail-row:first-child dd {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.pdf-purchase-product-detail-price strong {
	font-size: 28px;
}

@media (max-width: 767px) {
	.pdf-purchase-summary-author--only {
		font-size: 13px;
	}

	.pdf-purchase-product-detail-row:first-child dd {
		font-size: 22px;
	}
}

/* 購入者情報：お名前・メールアドレス入力欄の背景色 */
#pdf-product-order-page .pdf-purchase-right input[type="text"],
#pdf-product-order-page .pdf-purchase-right input[type="email"] {
	background: #f2f9fd;
}
#pdf-product-order-page .pdf-purchase-right input[type="text"]:focus,
#pdf-product-order-page .pdf-purchase-right input[type="email"]:focus {
	background: #fff;
}