/* Web版 購入画面 */
#webtext-order-page {
	padding-top: 22px;
	padding-bottom: 44px;
	color: #26384d;
}

#webtext-order-page .webtext-purchase-narrow {
	max-width: 1040px;
	margin-right: auto;
	margin-left: auto;
}

#webtext-order-page .webtext-purchase-panel {
	overflow: hidden;
	border: 0;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(44, 73, 110, .12);
}

#webtext-order-page .webtext-purchase-main-heading {
	padding: 18px 24px;
	border: 0;
	background: linear-gradient(135deg, #eef7ff 0%, #f7fbff 48%, #eef4ff 100%);
	color: #1f5f99;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .03em;
}

#webtext-order-page .webtext-purchase-main-heading i {
	margin-right: 8px;
	color: #3f8fc8;
}

#webtext-order-page .webtext-purchase-panel .panel-body {
	padding: 24px;
}

#webtext-order-page .webtext-purchase-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

#webtext-order-page .webtext-purchase-left {
	position: sticky;
	top: 18px;
}

#webtext-order-page .webtext-purchase-summary {
	overflow: hidden;
	border: 1px solid #dfeaf5;
	border-radius: 5px;
	box-shadow: 0 6px 16px rgba(44, 73, 110, .08);
}

#webtext-order-page .webtext-purchase-summary-thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 190px;
	padding: 18px;
}

#webtext-order-page .webtext-purchase-summary-mark {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 9px;
	border-radius: 5px;
	background: #2f7fbc;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: 0 3px 8px rgba(47, 127, 188, .24);
}

#webtext-order-page .webtext-thumb {
	display: block;
	width: 100%;
	max-width: 220px;
	max-height: 170px;
	object-fit: cover;
	border: 1px solid #d6e3ee;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(37, 60, 85, .12);
}

#webtext-order-page .webtext-thumb-none {
	width: 170px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed #b9cada;
	border-radius: 5px;
	background: #fff;
	color: #789;
	font-size: 13px;
}

#webtext-order-page .webtext-purchase-summary-body {
	padding: 14px 16px 16px;
	background: #fff;
}

#webtext-order-page .webtext-purchase-summary-author {
	margin: 0;
	color: #64748b;
	font-size: 14px;
	line-height: 1.7;
}

#webtext-order-page .webtext-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;
}

#webtext-order-page .webtext-purchase-return-link {
	margin-top: 14px;
	text-align: center;
}

#webtext-order-page .webtext-purchase-return-link .btn {
	border-color: #cbd8e4;
	border-radius: 5px;
	color: #43566c;
}

#webtext-order-page .webtext-purchase-right {
	min-width: 0;
}

#webtext-order-page .webtext-purchase-info-well {
	margin-bottom: 24px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: #fff;
	box-shadow: none;
}

#webtext-order-page .webtext-purchase-product-card {
	overflow: hidden;
	border: 1px solid #dfeaf5;
}

#webtext-order-page .webtext-purchase-product-detail {
	margin: 0;
}

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

#webtext-order-page .webtext-purchase-product-detail-row:last-child {
	border-bottom: 0;
}

#webtext-order-page .webtext-purchase-product-detail dt,
#webtext-order-page .webtext-purchase-product-detail dd {
	margin: 0;
	padding: 16px 18px;
	line-height: 1.75;
}

#webtext-order-page .webtext-purchase-product-detail dt {
	display: flex;
	align-items: center;
	background: #f2f7fc;
	color: #2f5e85;
	font-weight: 700;
}

#webtext-order-page .webtext-purchase-product-detail dd {
	background: #fff;
	color: #26384d;
}

#webtext-purchase-product-detail-row:first-child dd {
	font-weight: bold;
}

#webtext-order-page .webtext-purchase-product-detail-price strong {
	margin-right: 2px;
	color: #d9534f;
	font-size: 28px;
	line-height: 1;
}

#webtext-order-page .webtext-purchase-product-detail-price span {
	margin-left: 4px;
	color: #66788c;
	font-size: 13px;
}

#webtext-order-page .webtext-note {
	margin: 0;
	white-space: pre-line;
}

#webtext-order-page .webtext-purchase-section-title {
	margin: 28px 0 10px;
	color: #23445f;
	font-size: 20px;
	font-weight: 700;
}

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

#webtext-order-page .webtext-purchase-form-well {
	padding: 22px 20px 8px;
	border: 1px solid #e2ebf3;
	border-radius: 5px;
	background: #fff;
	box-shadow: none;
}

#webtext-order-page .webtext-purchase-form-well .form-group {
	margin-bottom: 16px;
}

#webtext-order-page .webtext-purchase-form-well .control-label {
	color: #344b61;
	font-weight: 700;
}

#webtext-order-page .webtext-purchase-form-well .form-control {
	height: 42px;
	border-color: #ccdbe8;
	border-radius: 5px;
	box-shadow: none;
}

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

#webtext-order-page .webtext-purchase-auth-note {
	margin-top: 8px;
	color: #66788c;
	font-size: 13px;
	line-height: 1.7;
}

#webtext-order-page .password_col {
	display: block;
}

#webtext-order-page .password_col .form-control {
	display: block;
}

#webtext-order-page .password_note {
	display: block;
	clear: both;
	margin-top: 6px;
	color: #66788c;
	font-size: 13px;
	line-height: 1.6;
	white-space: normal;
}

#webtext-order-page .webtext-purchase-fixed-note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	color: #66788c;
	font-size: 13px;
	line-height: 1.7;
}

#webtext-order-page .webtext-purchase-fixed-note i {
	color: #3f8fc8;
}

#webtext-order-page .webtext-purchase-card-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 24px 0 8px;
	color: #5b6f83;
	font-size: 13px;
}

#webtext-order-page .webtext-purchase-card-brand img {
	width: auto;
	height: 24px;
}

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

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

#webtext-order-page .stripe_button:hover,
#webtext-order-page .stripe-button-el:hover {
	transform: translateY(-1px);
	box-shadow: 0 11px 22px rgba(47, 127, 188, .32);
}

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

#webtext-order-page .parsley-errors-list {
	margin: 5px 0 0;
	padding-left: 0;
	list-style: none;
	color: #d9534f;
	font-size: 13px;
}

@media (max-width: 991px) {
	#webtext-order-page .webtext-purchase-layout {
		grid-template-columns: 1fr;
	}

	#webtext-order-page .webtext-purchase-left {
		position: static;
	}

	#webtext-order-page .webtext-purchase-summary {
		display: grid;
		grid-template-columns: 220px minmax(0, 1fr);
		align-items: stretch;
	}

	#webtext-order-page .webtext-purchase-summary-thumb {
		min-height: 160px;
	}

	#webtext-order-page .webtext-purchase-return-link {
		text-align: left;
	}
}

@media (max-width: 767px) {
	#webtext-order-page {
		padding-top: 12px;
		padding-bottom: 28px;
	}

	#webtext-order-page .webtext-purchase-panel .panel-body {
		padding: 16px 14px 20px;
	}

	#webtext-order-page .webtext-purchase-main-heading {
		padding: 15px 16px;
		font-size: 18px;
	}

	#webtext-order-page .webtext-purchase-summary {
		display: block;
	}

	#webtext-order-page .webtext-purchase-summary-thumb {
		min-height: 150px;
		padding: 16px;
	}

	#webtext-order-page .webtext-thumb {
		max-height: 145px;
	}

	#webtext-order-page .webtext-purchase-product-detail-row {
		grid-template-columns: 1fr;
	}

	#webtext-order-page .webtext-purchase-product-detail dt,
	#webtext-order-page .webtext-purchase-product-detail dd {
		padding: 11px 14px;
	}

	#webtext-order-page .webtext-purchase-section-title {
		margin-top: 22px;
		font-size: 18px;
	}

	#webtext-order-page .webtext-purchase-form-well {
		padding: 16px 14px 4px;
	}

	#webtext-order-page .webtext-purchase-card-brand {
		flex-wrap: wrap;
		justify-content: center;
	}

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

/* 購入者情報：お名前・メールアドレス入力欄を薄水色にする */
#webtext-order-page .webtext-purchase-form-well input[name="buyer_name"],
#webtext-order-page .webtext-purchase-form-well input[name="buyer_email"] {
	background: #f2f9fd;
}

#webtext-order-page .webtext-purchase-form-well input[name="buyer_name"]:focus,
#webtext-order-page .webtext-purchase-form-well input[name="buyer_email"]:focus {
	background: #fff;
}

/* Web版 決済画面：PDF版決済画面に合わせる */
#web-text-payment-page {
	padding-top: 22px;
	padding-bottom: 44px;
	color: #26384d;
}

#web-text-payment-page .webtext-payment-panel {
	overflow: hidden;
	margin-top: 18px;
	border: 0;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(44, 73, 110, .12);
}

#web-text-payment-page .panel-default>.panel-heading.webtext-payment-main-heading,
#web-text-payment-page .webtext-payment-main-heading {
	padding: 18px 24px;
	border: 0;
	background: linear-gradient(135deg, #eef7ff 0%, #f7fbff 48%, #eef4ff 100%);
	color: #1f5f99;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .03em;
	text-align: left !important;
}

#web-text-payment-page .webtext-payment-main-heading i {
	margin-right: 8px;
	color: #3f8fc8;
}

#web-text-payment-page .webtext-payment-panel .panel-body {
	padding: 24px;
}

#web-text-payment-page .webtext-payment-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

#web-text-payment-page .webtext-payment-left,
#web-text-payment-page .webtext-payment-right {
	min-width: 0;
}

#web-text-payment-page .webtext-payment-summary {
	display: block;
	overflow: hidden;
	margin: 0;
	padding: 14px;
	border: 1px solid #dfeaf5;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 6px 16px rgba(44, 73, 110, .08);
}

#web-text-payment-page .webtext-payment-summary-thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 190px;
	margin: 0 0 14px;
	padding: 18px;
	border: 1px solid #d8e0ea;
	border-radius: 5px;
	background: #f8fafc;
}

#web-text-payment-page .webtext-payment-summary-thumb img {
	display: block;
	width: 100%;
	max-width: 220px;
	max-height: 170px;
	height: auto;
	object-fit: cover;
}

#web-text-payment-page .webtext-payment-summary-mark {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 9px;
	border-radius: 5px;
	background: #2f7fbc;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: 0 3px 8px rgba(47, 127, 188, .24);
}

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

#web-text-payment-page .webtext-payment-return-link {
	margin-top: 14px;
	text-align: center;
}

#web-text-payment-page .webtext-payment-return-link .btn,
#web-text-payment-page .webtext-payment-bottom-back .btn {
	border-color: #cbd8e4;
	border-radius: 5px;
	color: #43566c;
}

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

#web-text-payment-page .webtext-payment-product-detail {
	margin: 0;
}

#web-text-payment-page .webtext-payment-product-detail-row {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 0;
	padding: 0;
	border-bottom: 1px solid #e8f0f7;
}

#web-text-payment-page .webtext-payment-product-detail-row:last-child {
	border-bottom: 0;
}

#web-text-payment-page .webtext-payment-product-detail dt,
#web-text-payment-page .webtext-payment-product-detail dd {
	margin: 0;
	padding: 16px 18px;
	line-height: 1.75;
}

#web-text-payment-page .webtext-payment-product-detail dt {
	display: flex;
	align-items: center;
	background: #f2f7fc;
	color: #2f5e85;
	font-weight: 700;
	white-space: nowrap;
}

#web-text-payment-page .webtext-payment-product-detail dd {
	background: #fff;
	color: #26384d;
	word-break: break-word;
}

#web-text-payment-page .webtext-payment-product-detail-row:first-child dd {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

#web-text-payment-page .webtext-payment-product-detail-price strong,
#web-text-payment-page .webtext-payment-confirm-price strong {
	margin-right: 2px;
	color: #d9534f;
	font-size: 28px;
	line-height: 1;
}

#web-text-payment-page .webtext-payment-product-detail-price span,
#web-text-payment-page .webtext-payment-confirm-price span {
	margin-left: 4px;
	color: #66788c;
	font-size: 13px;
	font-weight: 400;
}

#web-text-payment-page .webtext-payment-note-box {
	margin-bottom: 24px;
	padding: 14px 16px;
	border: 1px solid #e2ebf3;
	border-radius: 5px;
	background: #fff;
	color: #475569;
	line-height: 1.7;
}

#web-text-payment-page .webtext-payment-section-title {
	margin: 28px 0 10px;
	color: #23445f;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

#web-text-payment-page .webtext-payment-section-title--first {
	margin-top: 0;
}

#web-text-payment-page .webtext-payment-confirm-well {
	overflow: hidden;
	margin-bottom: 10px;
	padding: 0;
	border: 1px solid #dfeaf5;
	border-radius: 5px;
	background: #fff;
	box-shadow: none;
}

#web-text-payment-page .webtext-payment-confirm-table {
	margin-bottom: 0;
	font-size: 14px;
	line-height: 1.75;
	background: #fff;
}

#web-text-payment-page .webtext-payment-confirm-table th,
#web-text-payment-page .webtext-payment-confirm-table td {
	padding: 16px 18px !important;
	border-color: #e8f0f7 !important;
	vertical-align: middle !important;
}

#web-text-payment-page .webtext-payment-confirm-table th {
	width: 150px;
	background: #f2f7fc !important;
	color: #2f5e85;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

#web-text-payment-page .webtext-payment-confirm-table td {
	background: #fff;
	color: #26384d;
	font-size: 14px;
	word-break: break-word;
}

#web-text-payment-page .webtext-payment-info-note {
	margin: 10px 0 22px;
	color: #64748b;
	font-size: 13px;
	line-height: 1.7;
	text-align: right;
}

#web-text-payment-page .webtext-payment-card-area {
	margin-top: 0;
}

#web-text-payment-page .order_form_area {
	padding: 22px 20px 20px;
	border: 1px solid #e2ebf3;
	border-radius: 5px;
	background: #fff;
	box-shadow: none;
}

#web-text-payment-page .card-title,
#web-text-payment-page .card_note {
	color: #344b61;
	font-weight: 700;
}

#web-text-payment-page .paylogo,
#web-text-payment-page .webtext-payment-paylogo {
	text-align: center;
}

#web-text-payment-page .webtext-payment-paylogo img {
	width: auto;
	max-height: 40px;
}

#web-text-payment-page .stripe_button,
#web-text-payment-page .stripe-button-el,
#web-text-payment-page #card-submit-button {
	min-width: 260px;
	height: auto;
	padding: 14px 36px;
	border: 0;
	border-radius: 5px;
	background: linear-gradient(135deg, #2f7fbc 0%, #1f689e 100%);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: 0 8px 18px rgba(47, 127, 188, .28);
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

#web-text-payment-page .stripe_button:hover,
#web-text-payment-page .stripe-button-el:hover,
#web-text-payment-page #card-submit-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 11px 22px rgba(47, 127, 188, .32);
}

#web-text-payment-page .stripe_button:disabled,
#web-text-payment-page .stripe-button-el:disabled,
#web-text-payment-page #card-submit-button:disabled {
	opacity: .65;
	transform: none;
	box-shadow: none;
}

#web-text-payment-page .webtext-payment-button-row {
	text-align: center;
}

#web-text-payment-page .webtext-payment-secure-note {
	color: #64748b;
	font-size: 13px;
	line-height: 1.7;
}

#web-text-payment-page .webtext-payment-bottom-back {
	margin-top: 18px;
}

@media (max-width: 991px) {
	#web-text-payment-page .webtext-payment-layout {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 20px;
	}
}

@media (max-width: 767px) {
	#web-text-payment-page {
		padding-top: 12px;
		padding-bottom: 28px;
	}

	#web-text-payment-page .webtext-payment-panel .panel-body {
		padding: 16px 14px 20px;
	}

	#web-text-payment-page .panel-default>.panel-heading.webtext-payment-main-heading,
	#web-text-payment-page .webtext-payment-main-heading {
		padding: 15px 16px;
		font-size: 18px;
		text-align: left !important;
	}

	#web-text-payment-page .webtext-payment-layout {
		display: block;
	}

	#web-text-payment-page .webtext-payment-left {
		margin-bottom: 22px;
	}

	#web-text-payment-page .webtext-payment-summary-thumb {
		min-height: 150px;
		padding: 16px;
	}

	#web-text-payment-page .webtext-payment-return-link {
		display: none;
	}

	#web-text-payment-page .webtext-payment-product-detail-row {
		grid-template-columns: 1fr;
	}

	#web-text-payment-page .webtext-payment-product-detail dt,
	#web-text-payment-page .webtext-payment-product-detail dd {
		padding: 11px 14px;
	}

	#web-text-payment-page .webtext-payment-product-detail-row:first-child dd {
		font-size: 22px;
	}

	#web-text-payment-page .webtext-payment-section-title {
		margin-top: 22px;
		font-size: 18px;
	}

	#web-text-payment-page .webtext-payment-confirm-table,
	#web-text-payment-page .webtext-payment-confirm-table tbody,
	#web-text-payment-page .webtext-payment-confirm-table tr,
	#web-text-payment-page .webtext-payment-confirm-table th,
	#web-text-payment-page .webtext-payment-confirm-table td {
		display: block;
		width: 100% !important;
	}

	#web-text-payment-page .webtext-payment-confirm-table {
		border: 0;
	}

	#web-text-payment-page .webtext-payment-confirm-table tr {
		margin-bottom: 10px;
		border: 1px solid #e8f0f7;
		border-radius: 5px;
		background: #fff;
	}

	#web-text-payment-page .webtext-payment-confirm-table th {
		padding: 8px 10px !important;
		border: 0 !important;
		border-bottom: 1px solid #e8f0f7 !important;
		background: #f2f7fc !important;
		white-space: normal;
	}

	#web-text-payment-page .webtext-payment-confirm-table td {
		padding: 8px 10px !important;
		border: 0 !important;
	}

	#web-text-payment-page .webtext-payment-confirm-well {
		padding: 0;
		border: 0;
		background: transparent;
	}

	#web-text-payment-page .webtext-payment-info-note {
		text-align: left;
	}

	#web-text-payment-page .order_form_area {
		padding: 16px 14px 18px;
	}

	#web-text-payment-page .stripe_button,
	#web-text-payment-page .stripe-button-el,
	#web-text-payment-page #card-submit-button {
		width: 100%;
		min-width: 0;
	}
}

/* Web版決済画面 20260706_02: 最終確認テーブル統合・戻るボタン整理 */
#web-text-payment-page .webtext-payment-main-heading i {
	margin-right: 10px;
	color: #3f8fc8;
	font-size: 18px;
}

#web-text-payment-page .webtext-payment-confirm-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

#web-text-payment-page .webtext-payment-confirm-table th {
	width: 150px;
}

#web-text-payment-page .webtext-payment-bottom-back {
	display: none !important;
}

/* Web版 決済画面：最終確認テーブルの商品名を大きくする */
#web-text-payment-page .webtext-payment-confirm-table tr:first-child td {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}