/* ==========================================================================
   プレイボックス byGMO（/playbox）
   値は旧Studioサイトに合わせている。PC → 768px以下（SP）で切り替え
   ========================================================================== */

/* リピータスのヘッダー（.l-header）を出さないページなので、ヘッダーの高さを0にする
   （本文の開始位置・サブナビの位置・ページ内リンクの止まる位置が、すべてこれで上に詰まる） */
:root {
	--rp-header-h: 0px;
}

.p-playbox {
	--p-subnav-h: 64px;
	--p-blue-pale: #eef6fb;
	--p-bg-section: #ecf5ff;
	--p-orange: #fe824e;
	overflow-x: clip;
	padding-top: var(--p-subnav-h);
	color: var(--rp-text);
}

.p-playbox [id] {
	scroll-margin-top: var(--p-subnav-h);
}

/* SPでは改行しない <br> */
@media (max-width: 768px) {
	.p-playbox__br {
		display: none;
	}
}

/* --- サブナビ（共通ヘッダーの下に固定） ---------------------------------------- */
.p-playbox__subnav {
	position: fixed;
	top: var(--rp-header-h);
	right: 0;
	left: 0;
	z-index: 90;
	height: var(--p-subnav-h);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.p-playbox__subnav-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1074px;
	height: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

.p-playbox__subnav-logo {
	flex: none;
	width: 146px;
	line-height: 0;
}

.p-playbox__subnav-list {
	display: flex;
	align-items: center;
}

.p-playbox__subnav-list a {
	display: block;
	padding: 10px;
	border-radius: 2px;
	color: #000;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
}

.p-playbox__subnav-list a:hover {
	color: var(--rp-blue);
}

.p-playbox__subnav-contact {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 183px;
	height: 47px;
	margin-left: auto;
	padding: 4px 12px;
	border-radius: 44px;
	background: var(--p-orange);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s;
}

.p-playbox__subnav-contact:hover {
	opacity: 0.8;
}

/* ハンバーガーメニューを開くボタン（タブレット・スマホのみ） */
.p-playbox__subnav-menu {
	display: none;
	flex: none;
	padding: 10px;
	border: 0;
	background: none;
	color: #000;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

/* タブレット・スマホは、ページ内リンクをハンバーガーメニューに入れる */
@media (max-width: 1200px) {
	.p-playbox__subnav-list {
		display: none;
	}

	.p-playbox__subnav-menu {
		display: block;
	}
}

@media (max-width: 768px) {
	.p-playbox__subnav-inner {
		justify-content: space-between;
		padding: 0 6px 0 18px;
	}

	.p-playbox__subnav-logo {
		width: 124px;
	}

	.p-playbox__subnav-contact {
		display: none;
	}
}

/* --- ファーストビュー ---------------------------------------------------------- */
.p-playbox__fv {
	padding: 32px 20px 0;
	background: #eee url("../images/playbox/fv-bg.webp") center / cover no-repeat;
}

.p-playbox__fv-inner {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 80px;
	max-width: 894px;
	margin: 0 auto;
}

.p-playbox__fv-body {
	display: flex;
	flex: 0 1 534px;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-width: 0;
}

.p-playbox__fv-tagline {
	color: #333;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
}

.p-playbox__fv-logo {
	width: 480px;
	max-width: 100%;
	line-height: 0;
}

.p-playbox__fv-logo img {
	width: 100%;
}

.p-playbox__fv-title {
	color: var(--rp-blue-dark);
	font-size: 38px;
	font-weight: 900;
	line-height: 1.4;
}

.p-playbox__fv-badge {
	width: 382px;
	max-width: 100%;
	margin: 25px 0;
	line-height: 0;
}

.p-playbox__fv-badge img {
	width: 100%;
}

.p-playbox__fv-phone {
	flex: none;
	width: 280px;
	margin-top: 32px;
	line-height: 0;
}

/* 画像の下端がセクションの下端（原本どおり余白なし） */
.p-playbox__fv-phone img {
	display: block;
	width: 100%;
}

@media (max-width: 990px) {
	.p-playbox__fv-inner {
		gap: 40px;
	}

	.p-playbox__fv-title {
		font-size: 32px;
	}
}

@media (max-width: 768px) {
	.p-playbox__fv {
		padding: 24px 12px 0;
		background-color: var(--rp-blue);
	}

	.p-playbox__fv-inner {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.p-playbox__fv-body {
		flex: none;
		align-items: center;
		gap: 8px;
		width: 100%;
		text-align: center;
	}

	.p-playbox__fv-tagline {
		font-size: 20px;
		text-shadow: 0 2px 5px #fff;
	}

	.p-playbox__fv-logo {
		width: auto;
		margin: 0 12px 12px;
	}

	.p-playbox__fv-logo img {
		width: auto;
		height: 38px;
	}

	.p-playbox__fv-title {
		font-size: 24px;
	}

	.p-playbox__fv-badge {
		width: 100%;
		max-width: 420px;
		margin: 0;
		padding: 20px;
	}

	.p-playbox__fv-phone {
		margin-top: 12px;
	}
}

/* --- セキュリティ表記 ---------------------------------------------------------- */
.p-playbox__security {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
	padding: 24px 20px;
	background: #fff;
}

.p-playbox__security-text {
	width: 460px;
	max-width: 100%;
	color: #000;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: -0.02em;
}

.p-playbox__security-text a {
	color: inherit;
}

.p-playbox__security-logos {
	display: flex;
	flex: none;
	align-items: center;
	gap: 40px;
}

.p-playbox__security-logos a {
	display: block;
	line-height: 0;
}

.p-playbox__security-globalsign {
	width: 182px;
}

.p-playbox__security-ierae {
	width: 300px;
}

.p-playbox__security-logos img {
	width: 100%;
}

@media (max-width: 990px) {
	.p-playbox__security {
		flex-direction: column;
		gap: 16px;
	}
}

@media (max-width: 768px) {
	.p-playbox__security {
		padding: 10px 20px 16px;
	}

	.p-playbox__security-text {
		width: auto;
		font-size: 12px;
	}

	.p-playbox__security-logos {
		flex: 1 1 auto;
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px 24px;
		max-width: 100%;
	}

	.p-playbox__security-globalsign {
		width: 140px;
	}

	.p-playbox__security-ierae {
		width: 220px;
		max-width: 100%;
	}
}

/* --- セクション共通 ------------------------------------------------------------ */
.p-playbox__head {
	padding: 0 20px 40px;
	text-align: center;
}

.p-playbox__title {
	padding-bottom: 20px;
	color: var(--rp-blue);
	font-size: 40px;
	font-weight: 900;
	line-height: 1.4;
}

.p-playbox__lead {
	color: #333;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}

.p-playbox__lead--sub {
	margin-top: 20px;
}

.p-playbox__note {
	padding: 0 20px;
	color: #333;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
}

@media (max-width: 768px) {
	.p-playbox__head {
		padding-bottom: 32px;
	}

	.p-playbox__title {
		font-size: 28px;
	}

	.p-playbox__lead {
		font-size: 16px;
	}

	.p-playbox__note {
		margin-top: 14px;
		font-size: 12px;
	}
}

/* --- カード（プレイボックスとは／提供ゲームカテゴリ） --------------------------------- */
.p-playbox__cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 20px;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 20px;
}

.p-playbox__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 365px;
	max-width: 100%;
	padding: 20px 18px;
	border-radius: 12px;
	background: var(--p-blue-pale);
	text-align: center;
}

.p-playbox__card-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background: #fff;
}

.p-playbox__card-icon img {
	width: 81px;
	height: 81px;
}

.p-playbox__card-icon.is-small img {
	width: 76px;
	height: 76px;
}

.p-playbox__card-title {
	margin-top: 12px;
	color: var(--rp-blue);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.4;
}

.p-playbox__card-icon + .p-playbox__card-text {
	margin-top: 12px;
}

.p-playbox__card-text {
	padding-top: 8px;
	color: #000;
	font-size: 18px;
	line-height: 1.4;
}

.p-playbox__card-detail {
	display: grid;
	place-items: center;
	width: 300px;
	max-width: 100%;
	margin-top: 16px;
	padding: 16px;
	border-radius: 20px;
	background: #fff;
}

.p-playbox__card-detail img {
	width: 100%;
}

.p-playbox__cards--price {
	gap: 20px 40px;
}

@media (max-width: 768px) {
	.p-playbox__cards {
		gap: 20px;
		padding: 0 24px;
	}

	.p-playbox__card {
		width: calc(50% - 10px);
		padding: 20px 12px;
	}

	.p-playbox__card-title,
	.p-playbox__card-text {
		font-size: 14px;
	}

	/* 料金表の画像は文字が小さくなるのでSPは1列にする */
	.p-playbox__cards--price .p-playbox__card {
		width: 100%;
		max-width: 400px;
	}

	.p-playbox__card-detail {
		width: 100%;
	}
}

/* --- プレイボックスとは ---------------------------------------------------------- */
.p-playbox__about {
	padding: 80px 0;
	background: #fff;
}

@media (max-width: 768px) {
	.p-playbox__about .p-playbox__cards {
		padding-bottom: 20px;
	}
}

/* --- 導入効果・システム連携 ------------------------------------------------------- */
.p-playbox__benefit {
	padding: 80px 20px 40px;
	background: var(--p-bg-section);
}

.p-playbox__benefit .p-playbox__head {
	padding-right: 0;
	padding-left: 0;
}

.p-playbox__benefit-body {
	display: flex;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
}

.p-playbox__points {
	flex: 2;
	min-width: 0;
	padding: 46px 60px;
}

.p-playbox__point-num {
	width: 164px;
	margin-bottom: 10px;
}

.p-playbox__point-title {
	color: #333;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.4;
}

.p-playbox__point-text {
	margin: 8px 20px 32px;
	color: #333;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
}

.p-playbox__point:last-child .p-playbox__point-text {
	margin-bottom: 20px;
}

.p-playbox__system {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding: 50px;
	border-radius: 20px;
	background: #fff;
}

.p-playbox__system-title {
	color: #333;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
}

.p-playbox__system-img {
	width: 100%;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.p-playbox__system-title + .p-playbox__system-img {
	margin-top: 8px;
}

.p-playbox__system-img + .p-playbox__system-title {
	margin-top: 40px;
}

@media (max-width: 990px) {
	.p-playbox__points {
		padding: 46px 32px;
	}

	.p-playbox__system {
		padding: 40px 24px;
	}
}

@media (max-width: 768px) {
	.p-playbox__benefit {
		padding: 80px 10px 24px;
	}

	.p-playbox__benefit .p-playbox__head {
		padding: 0 6px 32px;
	}

	.p-playbox__benefit-body {
		flex-direction: column;
		gap: 20px;
	}

	.p-playbox__points {
		width: 100%;
		padding: 24px 12px 46px;
		border-radius: 10px;
		background: #eff6fd;
	}

	.p-playbox__point-num {
		width: 120px;
	}

	.p-playbox__point-title {
		font-size: 22px;
	}

	.p-playbox__point-text {
		margin-right: 0;
		margin-left: 0;
		font-size: 16px;
	}

	.p-playbox__system {
		width: 100%;
		padding: 24px 16px;
	}

	.p-playbox__system-title {
		font-size: 16px;
	}
}

/* --- 提供ゲームカテゴリと料金 ----------------------------------------------------- */
.p-playbox__prices {
	padding: 104px 0 64px;
	background: #fff;
}

.p-playbox__prices .p-playbox__head {
	padding-bottom: 48px;
}

.p-playbox__prices .p-playbox__lead:not(.p-playbox__lead--sub) {
	font-weight: 400;
}

.p-playbox__prices .p-playbox__note {
	margin-top: 48px;
}

@media (max-width: 768px) {
	.p-playbox__prices {
		padding: 80px 0 48px;
	}

	.p-playbox__prices .p-playbox__head {
		padding-bottom: 32px;
	}

	.p-playbox__prices .p-playbox__lead:not(.p-playbox__lead--sub) {
		font-weight: 500;
	}

	.p-playbox__prices .p-playbox__note {
		margin-top: 24px;
	}
}

/* --- 導入フロー --------------------------------------------------------------- */
.p-playbox__process {
	padding: 80px 20px 50px;
	background: var(--p-bg-section);
}

.p-playbox__process .p-playbox__head {
	padding-right: 0;
	padding-left: 0;
}

.p-playbox__steps {
	max-width: 800px;
	margin: 0 auto;
}

.p-playbox__step {
	display: flex;
	align-items: center;
	margin-bottom: 32px;
	border-radius: 4px;
	overflow: hidden;
	background: var(--rp-bg-gray);
}

.p-playbox__step-num {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	width: 80px;
	min-height: 80px;
	background: var(--rp-blue);
	color: #fff;
	font-family: var(--rp-font-en);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.p-playbox__step-digit {
	font-size: 32px;
	line-height: 0.9;
}

.p-playbox__step-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 12px 24px;
	text-align: center;
}

.p-playbox__step-title {
	color: var(--rp-blue);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
}

.p-playbox__step-text {
	color: #000;
	font-size: 14px;
	line-height: 1.4;
}

@media (max-width: 768px) {
	.p-playbox__process {
		padding: 80px 20px 24px;
	}

	.p-playbox__step {
		flex-direction: column;
	}

	.p-playbox__step-num {
		flex-direction: row;
		align-items: flex-end;
		gap: 2px;
		width: 100%;
		min-height: 0;
		padding: 8px;
	}

	.p-playbox__step-body {
		width: 100%;
		padding: 24px;
	}

	.p-playbox__step-title,
	.p-playbox__step-text {
		font-size: 18px;
	}
}

/* --- 締めのCTA --------------------------------------------------------------- */
.p-playbox__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 60px 20px;
	background: linear-gradient(90deg, #a9dfff 0%, #fff 100%);
	text-align: center;
}

.p-playbox__cta-title {
	padding-bottom: 50px;
	color: var(--rp-blue);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
}

.p-playbox__cta-text {
	margin-bottom: 40px;
	color: #333;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}

.p-playbox__cta-btn {
	display: block;
	width: 400px;
	max-width: 100%;
	padding: 15px 50px;
	border-radius: 48px;
	background: var(--rp-grad-document);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: opacity 0.2s;
}

.p-playbox__cta-btn:hover {
	opacity: 0.8;
}

@media (max-width: 768px) {
	.p-playbox__cta {
		padding: 20px 20px 40px;
	}

	.p-playbox__cta-title {
		padding-bottom: 32px;
		font-size: 20px;
		font-weight: 900;
	}

	.p-playbox__cta-text {
		font-size: 16px;
	}

	.p-playbox__cta-btn {
		width: 80%;
		padding: 12px 20px;
	}
}
