@charset "UTF-8";

/* ==========================================================================
   サービス利用規約ページ固有スタイル (terms.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   ページヘッダー拡張（メタ情報・バッジ・リード文）
   -------------------------------------------------------------------------- */

.p-terms-hero__lead {
	line-height: 1.8;
	color: #555555;
	margin-top: 14px;
	margin-bottom: 0;
}

.p-terms-hero__date-meta {
	margin-top: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 14px;
	color: #666666;
}

.p-terms-hero__date-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.p-terms-hero__date-icon {
	color: #E86A33;
}

/* --------------------------------------------------------------------------
   規約本文メインコンテナ
   -------------------------------------------------------------------------- */
.p-terms-main {
	padding: 40px 20px 80px;
}

.p-terms-container {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

/* --------------------------------------------------------------------------
   章見出し (Chapter Heading - フルアクセント帯デザイン)
   -------------------------------------------------------------------------- */
.p-terms-chapter {
	margin-top: 48px;
	margin-bottom: 24px;
	background: linear-gradient(to right, #E86A33, #FF3D27);
	border-radius: 8px;
	padding: 12px 16px;
	box-shadow: 0 4px 12px rgba(232, 106, 51, 0.20);
	display: flex;
	align-items: center;
}

.p-terms-chapter:first-of-type {
	margin-top: 0;
}

.p-terms-chapter__title {
	font-family: var(--font_family_serif);
	font-size: 18px;
	font-weight: 700;
	color: #FFFFFF;
	letter-spacing: 0.05em;
	position: relative;
	padding-left: 0;
	line-height: 1.4;
	margin: 0;
}

.p-terms-chapter__title::before {
	display: none;
}

/* --------------------------------------------------------------------------
   条文カード (Article Card)
   -------------------------------------------------------------------------- */
.p-terms-article {
	background-color: #FFFFFF;
	border-radius: 16px;
	border: 1px solid #E5DCD3;
	padding: 24px 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	margin-bottom: 20px;
	transition: box-shadow 0.25s ease;
}

.p-terms-article:hover {
	box-shadow: 0 4px 16px rgba(232, 106, 51, 0.08);
}

.p-terms-article__header {
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid #F0EAE1;
}

.p-terms-article__title {
	font-size: 18px;
	font-weight: 700;
	color: #222222;
	line-height: 1.5;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.p-terms-article__title::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: #E86A33;
	border-radius: 50%;
	flex-shrink: 0;
}

.p-terms-article__body {
	line-height: 1.9;
	color: #444444;
}

.p-terms-article__body p {
	margin-bottom: 14px;
}

.p-terms-article__body p:last-child {
	margin-bottom: 0;
}

.p-terms-article__body strong {
	font-weight: 700;
	color: #222222;
}

/* 箇条書きリスト */
.p-terms-list {
	list-style: none;
	padding-left: 0;
	margin: 12px 0 16px;
}

.p-terms-list li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
	line-height: 1.8;
}

.p-terms-list li::before {
	content: "・";
	position: absolute;
	left: 4px;
	top: 0;
	color: #E86A33;
	font-weight: 700;
}

/* インデント付き下位項目 */
.p-terms-sublist {
	list-style: none;
	padding-left: 16px;
	margin: 8px 0 12px;
}

.p-terms-sublist li {
	padding-left: 0;
	margin-bottom: 6px;
}

.p-terms-sublist li::before {
	content: none;
	display: none;
}

/* 強調注意テキスト */
.p-terms-note {
	background-color: #FFF9F5;
	border-left: 3px solid #E86A33;
	padding: 12px 16px;
	border-radius: 0 8px 8px 0;
	font-size: 14px;
	color: #555555;
	margin: 12px 0;
}

/* --------------------------------------------------------------------------
   テーブル（取消料表・改定履歴表）
   -------------------------------------------------------------------------- */
.p-terms-table-wrap {
	width: 100%;
	overflow-x: auto;
	margin: 16px 0 20px;
	border-radius: 10px;
	border: 1px solid #E5DCD3;
}

.p-terms-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	min-width: 480px;
}

.p-terms-table th,
.p-terms-table td {
	padding: 14px 18px;
	border-bottom: 1px solid #E5DCD3;
	line-height: 1.6;
}

.p-terms-table th {
	background-color: #FAF7F2;
	color: #333333;
	font-weight: 700;
	white-space: nowrap;
}

.p-terms-table tr:last-child th,
.p-terms-table tr:last-child td {
	border-bottom: none;
}

.p-terms-table td {
	background-color: #FFFFFF;
	color: #444444;
}

.p-terms-table td strong {
	color: #D32F2F;
}


/* --------------------------------------------------------------------------
   レスポンシブ: タブレット対応 (768px 〜)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {
	.p-terms-hero__lead {
		font-size: 16px;
	}

	.p-terms-hero__date-meta {
		font-size: 15px;
	}

	.p-terms-main {
		padding: 56px 0 100px;
	}

	.p-terms-chapter {
		margin-top: 64px;
		margin-bottom: 28px;
		padding: 16px 24px;
		border-radius: 10px;
	}

	.p-terms-chapter__title {
		font-size: 22px;
		padding-left: 0;
	}

	.p-terms-article {
		padding: 32px 36px;
		margin-bottom: 28px;
	}

	.p-terms-article__title {
		font-size: 19px;
	}

	.p-terms-article__body {
		font-size: 15.5px;
	}

	.p-terms-table {
		font-size: 15px;
	}

	.p-terms-table th,
	.p-terms-table td {
		padding: 16px 22px;
	}

}

/* --------------------------------------------------------------------------
   レスポンシブ: PC対応 (1025px 〜)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1025px) {
	.p-terms-chapter {
		margin-top: 72px;
		margin-bottom: 32px;
		padding: 18px 28px;
	}

	.p-terms-chapter__title {
		font-size: 24px;
	}

	.p-terms-article {
		padding: 36px 44px;
	}

	.p-terms-article__title {
		font-size: 20px;
	}

}