/**
 * CMS Editor Styles
 * ノーコードCMS管理画面のスタイル
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
	--color-brand: #003391;
	--color-brand-sub: #fc7730;
	--color-text: #000000;
	--color-text-sub: #666666;
	--color-nav: #000000;
	--color-required: #ff0000;
	--color-bg-form: rgba(216, 231, 244, 0.4);
	--font-family-base:
		"Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
	--font-size-base: 1.6rem;
	--font-size-section-title--ja: 2rem;
	--font-size-section-title--en: 1.8rem;
	--font-size-page-title: 2.4rem;
	--line-height-base: 1.6;
	--container-max-width: 124rem;
}

/* ============================================
   Reset Styles
   ============================================ */
/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.min.css */
*,
::before,
::after {
	box-sizing: border-box;
	border-style: solid;
	border-width: 0;
	min-width: 0;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}

body {
	margin: 0;
}

main {
	display: block;
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
	margin: 0;
}

/* h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
} */

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

dt {
	font-weight: 700;
}

dd {
	margin-left: 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	border-top-width: 1px;
	margin: 0;
	clear: both;
	color: inherit;
}

pre {
	font-family: monospace, monospace;
	font-size: inherit;
}

address {
	font-style: inherit;
}

a {
	background-color: transparent;
	text-decoration: none;
	color: inherit;
}

a:hover {
	text-decoration: none !important;
	color: inherit;
}

abbr[title] {
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: inherit;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

svg,
img,
embed,
object,
iframe {
	vertical-align: bottom;
}

button,
input,
optgroup,
select,
textarea {
	/* -webkit-appearance: none;
  appearance: none; */
	vertical-align: middle;
	color: inherit;
	font: inherit;
	background: transparent;
	padding: 0;
	margin: 0;
	border-radius: 0;
	text-align: inherit;
	text-transform: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
	cursor: default;
}

:-moz-focusring {
	outline: auto;
}

select:disabled {
	opacity: inherit;
}

option {
	padding: 0;
}

fieldset {
	margin: 0;
	padding: 0;
	min-width: 0;
}

legend {
	padding: 0;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

[type="number"] {
	-moz-appearance: textfield;
}

label[for] {
	cursor: pointer;
}

details {
	display: block;
}

summary {
	display: list-item;
}

[contenteditable]:focus {
	outline: auto;
}

table {
	border-color: inherit;
	border-collapse: collapse;
}

caption {
	text-align: left;
}

td,
th {
	vertical-align: top;
	padding: 0;
}

th {
	text-align: left;
	font-weight: 700;
}

/* ============================================
   Base Styles
   ============================================ */
html {
	font-size: 62.5%;
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
}

@media (width >=640px) {
	html {
		font-size: clamp(7.5px, 1.171875vw, 10px);
	}
}

@media (width > 800px) {
	html {
		font-size: clamp(6.5px, 0.8125vw, 10px);
	}
}

@media (width >=1440px) {
	html {
		font-size: 62.5%;
	}
}

body {
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	color: var(--color-text);
}

img {
	vertical-align: bottom;
	width: 100%;
	height: auto;
}

a[href^="tel:"] {
	pointer-events: none;
	cursor: default;
}

@media (width <=800px) {
	a[href^="tel:"] {
		pointer-events: auto;
		cursor: pointer;
	}
}

.container {
	max-width: 144rem;
	width: 124rem;
	margin-inline: auto;
}

.container__inner {
	padding: 10rem 0;
}

@media (width <=800px) {
	.container {
		width: 94%;
	}

	.container__inner {
		padding: 5.6rem 0;
	}
}

/* ==================== ページヘッダー ==================== */
.page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid #e9ecef;
	border-radius: 4px;
}

.page-header h1 {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: #333;
}

.page-header-actions {
	display: flex;
	gap: 10px;
}

.page-header-actions-item .btn {
	margin: 0;
	padding: 10px 20px;
	font-size: 14px;
}

/* ==================== CMS エディタコンテナ ==================== */
.cms-editor-container {
	padding: 0;
}

.cms-page-editor {
	background: #fff;
	border-radius: 4px;
}

/* ==================== セクションリスト ==================== */
.sections-list {
	/* margin-bottom: 30px;
    padding: 20px; */
}

.section-item {
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-item:hover {
	/* border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px); */
}

.section-item.sortable-ghost {
	opacity: 0.4;
	background: #f0f0f0;
}

/* ==================== セクションヘッダー ==================== */
.section-header {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	padding: 15px;
	border-bottom: 1px solid #dee2e6;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

.section-info {
	flex: 1;
}

.section-info h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.section-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	white-space: nowrap;
}

.section-actions .btn {
	margin: 0;
	padding: 6px 12px;
	font-size: 13px;
}

.drag-handle {
	cursor: grab;
	color: #adb5bd;
	font-size: 18px;
	padding: 5px;
	transition: color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.drag-handle:hover {
	color: #495057;
}

.drag-handle:active {
	cursor: grabbing;
}

/* ==================== セクションプレビュー ==================== */
.section-preview {
	background: #fafbfc;
	min-height: 100px;
	border-top: 1px solid #e9ecef;
	overflow-x: auto;
	overflow-y: visible;
	position: relative;
}

/* セクションホバー時の操作ボタン */
.section-hover-actions {
	position: absolute;
	/* top: 10px;
    right: 10px; */
	display: none;
	flex-direction: column;
	gap: 8px;
	z-index: 1000;
	/* background: rgba(255, 255, 255, 0.98); */
	/* padding: 10px; */
	border-radius: 4px;
	/* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
	min-width: 200px;
}

.section-item:hover .section-hover-actions,
.section-preview:hover .section-hover-actions {
	display: flex;
}

.section-preview,
.editable-site-header,
.editable-site-hero {
	position: relative;
	transition: all 0.2s ease;
}

.section-preview::after,
.editable-site-header::after,
.editable-site-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: transparent;
	transition: background 0.2s ease;
	pointer-events: none;
}

.section-preview:hover::after,
.editable-site-header:hover::after,
.editable-site-hero:hover::after {
	background: rgba(92, 89, 232, 0.3);
	border: 2px dotted #5c59e8;
}

.section-action-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	font-size: 13px;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	background: #fff;
	color: #333;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
	text-align: left;
}

.section-action-btn:hover:not(:disabled) {
}

.section-action-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f8f9fa;
	color: #6c757d;
}

.section-action-btn i {
	font-size: 14px;
	width: 16px;
	text-align: center;
}

.section-preview img {
	max-width: 100%;
	height: auto;
	display: block;
}

.section-preview h1,
.section-preview h2,
.section-preview h3,
.section-preview h4,
.section-preview h5,
.section-preview h6 {
	margin-top: 0;
	margin-bottom: 10px;
	color: #333;
}

.section-preview p {
	margin-bottom: 10px;
	line-height: 1.6;
	color: #666;
}

/* ==================== 空状態 ==================== */
.empty-state {
	text-align: center;
	padding: 60px 20px;
	background: #f8f9fa;
	border-radius: 4px;
	color: #6c757d;
}

.empty-state p {
	margin: 0;
	font-size: 15px;
}

/* ==================== セクション追加エリア ==================== */
.add-section-area {
	text-align: center;
	padding: 20px;
	background: #fff;
	border-top: 1px solid #dee2e6;
}

.add-section-area .btn {
	width: 100%;
	max-width: 400px;
	padding: 15px;
	font-size: 16px;
	font-weight: 600;
}

/* ==================== レイアウト選択グリッド ==================== */
.layout-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	padding: 20px;
}

.layout-card {
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: #fff;
}

.layout-thumbnail {
	width: 100%;
	/* height: 240px; */
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: visible;
}

.layout-thumbnail img {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

.layout-thumbnail img:hover {
	border-color: #007bff;
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.layout-thumbnail.active img {
	border-color: #4f6df5;
}

/* check icon circle */
.layout-thumbnail.active::after {
	content: "✓";
	position: absolute;
	top: -12px;
	right: -12px;
	width: 24px;
	height: 24px;
	background: #4f6df5;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.layout-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.layout-placeholder {
	font-size: 40px;
	color: #ccc;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.layout-info {
	padding-bottom: 15px;
	padding-top: 5px;
}

.layout-info h4 {
	margin: 0 0 8px 0;
	font-size: 14px;
	font-weight: 600;
	color: #4f4f4f;
	font-weight: 400;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.layout-info p {
	margin: 0;
	font-size: 12px;
	color: #6c757d;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ==================== フォーム ==================== */
.edit-content-fields {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 10px 0;
}

.form-group {
	margin-bottom: 0;
}

.form-group label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 16px;
	color: #333333;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group textarea,
.form-group .form-control {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	font-size: 13px;
	font-family: inherit;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}

.form-group textarea,
.form-group .form-control {
	resize: vertical;
	min-height: 60px;
}

.form-group input[type="text"]:focus,
.form-group input[type="url"]:focus,
.form-group textarea:focus,
.form-group .form-control:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* ==================== モーダル ==================== */
.modal-header {
	background: white;
	border-bottom: 1px solid #e0e0e0;
	padding: 16px 24px;
}

.modal-title {
	font-size: 16px;
	font-weight: 700;
	color: #333333;
}

.modal-body {
	padding: 24px;
	max-height: calc(100vh - 200px);
	overflow-y: auto;
}

.modal-footer {
	justify-content: unset !important;
	padding: 1rem 44px !important;
}

/* ==================== ローディング ==================== */
.cms-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.spinner {
	width: 40px;
	height: 40px;
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ==================== アラート ==================== */
.alert {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1050;
	min-width: 300px;
	max-width: 500px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert-success {
	background: #d4edda;
	border-color: #c3e6cb;
	color: #155724;
}

.alert-danger {
	background: #f8d7da;
	border-color: #f5c6cb;
	color: #721c24;
}

.alert-info {
	background: #d1ecf1;
	border-color: #bee5eb;
	color: #0c5460;
}

.alert-warning {
	background: #fff3cd;
	border-color: #ffeeba;
	color: #856404;
}

.alert i {
	margin-right: 8px;
}

/* ==================== 保存完了スナックバー（リロード後表示） ==================== */
.cms-saved-snackbar {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 1060;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 16px;
	background-color: #5c59e8;
	color: #f5eff7;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.02em;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	opacity: 0;
	transform: translateY(10px);
	box-shadow: 0px 2px 8px 0px #00000040;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
	min-width: 344px;
}

.cms-saved-snackbar.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.cms-saved-snackbar__text {
	flex: 1;
}

.cms-saved-snackbar__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	padding: 0;
	background: none;
	border: none;
	color: #f5eff7;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.85;
	border-radius: 2px;
}

.cms-saved-snackbar__close:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.15);
}

/* ==================== レスポンシブ ==================== */
@media (max-width: 768px) {
	.page-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.page-header h1 {
		font-size: 24px;
	}

	.section-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.section-actions {
		width: 100%;
		justify-content: flex-start;
	}

	.layout-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: 15px;
	}

	.layout-thumbnail {
		height: 120px;
	}

	.add-section-area .btn {
		max-width: 100%;
	}
}

/* ==================== プリント対応 ==================== */
@media print {
	.cms-editor-container,
	.section-actions,
	.add-section-area {
		display: none;
	}

	.section-item {
		page-break-inside: avoid;
	}
}

.layout-container-1 {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 20px;
}

/* タイトルセクション */
.layout-container-1-title-section {
	text-align: center;
	margin-bottom: 40px;
}

.layout-container-1-main-title {
	font-size: 40px;
	font-weight: 700;
	color: #000000;
	line-height: 58px;
	margin-bottom: 20px;
	white-space: pre-line;
}

.layout-container-1-subtitle {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 32px;
	text-align: center;
	white-space: pre-line;
}

/* 2カラムレイアウト */
.layout-container-1-content-section {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 80px;
	margin-top: 40px;
}

/* 画像プレースホルダー */
.layout-container-1-image-placeholder {
	width: 720px;
	height: 400px;
	background: #f2f2f2;
	border-radius: 4px;
	position: relative;
	flex-shrink: 0;
}

.layout-container-1-image-placeholder > div {
	height: 100%;
}

.layout-container-1-image-placeholder .cms-image-placeholder {
	height: 100%;
}

.layout-container-1-image-placeholder img {
	width: 100%;
	height: 100% !important;
}

.layout-container-1-image-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 10%;
	height: 18%;
	background: #bdbdbd;
	clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* テキストコンテンツ */
.layout-container-1-text-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 486px;
}

.layout-container-1-heading {
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	line-height: 35px;
	white-space: pre-line;
}

.layout-container-1-body-text {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 32px;
	white-space: pre-line;
}

.layout-container-1-body-text p,
.layout-container-1-subtitle p {
	white-space: pre-line;
}

/* ボタン */
.layout-container-1-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 8px 24px;
	height: 40px;
	background: #2f80ed;
	color: #ffffff;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s;
}

.layout-container-1-button:hover {
	opacity: 0.9;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
	.layout-container-1-content-section {
		flex-direction: column;
		gap: 40px;
	}

	.layout-container-1-image-placeholder {
		width: 100%;
		max-width: 720px;
	}

	.layout-container-1-text-content {
		width: 100%;
		max-width: 486px;
	}
}

@media (max-width: 768px) {
	.layout-container-1-main-title {
		font-size: 32px;
		line-height: 48px;
	}

	.layout-container-1-subtitle {
		font-size: 16px;
		line-height: 28px;
	}

	.layout-container-1-image-placeholder {
		height: auto;
	}
}

/* 編集可能な要素のスタイル */
.site-edit-page .cms-editable-text-wrapper {
	position: relative;
	display: inline-block;
}

.site-edit-page .cms-editable-text {
	cursor: default;
	position: relative;
	transition: background-color 0.2s ease;
	padding: 2px 4px;
	border-radius: 3px;
}

.site-edit-page .cms-editable-text-wrapper:hover .cms-editable-text {
	background-color: rgba(0, 123, 255, 0.1);
	outline: 2px dashed rgba(0, 123, 255, 0.3);
	outline-offset: 2px;
}

/* テキスト編集ボタン - デフォルトで非表示 */
.site-edit-page .cms-text-edit-btn {
	position: absolute;
	top: 35px;
	right: 0;
	transform: translateY(-100%);
	margin-bottom: 0.4rem;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.6rem 1.2rem;
	border-radius: 0.4rem;
	border: none;
	background-color: #ffffff;
	color: #333333;
	border: 1px solid #e0e0e0;
	font-family: "Meiryo", sans-serif;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.5;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
}

/* ホバー時にボタンを表示 */
.site-edit-page .cms-editable-text-wrapper:hover .cms-text-edit-btn {
	opacity: 1;
	pointer-events: auto;
}

/* 空状態：コンテンツが空のときは追加ボタンを常時表示し、クリック領域を確保 */
.site-edit-page .cms-editable-text-wrapper--empty {
	min-width: 180px;
	min-height: 2.5em;
}

.site-edit-page .cms-editable-text-wrapper--empty .cms-text-edit-btn {
	opacity: 1;
	pointer-events: auto;
}

.site-edit-page .cms-editable-text-placeholder {
	color: #999;
	font-style: italic;
}

.site-edit-page .cms-text-edit-btn:hover {
	/* background-color: #4a47d6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); */
}

.site-edit-page .cms-text-edit-btn i {
	font-size: 1.4rem;
	margin: 0;
}

.site-edit-page .cms-editable-image-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
}

.site-edit-page .cms-editable-image {
	cursor: default;
	position: relative;
	transition: opacity 0.2s ease;
	display: block;
}

.site-edit-page .cms-editable-image-wrapper:hover .cms-editable-image {
	opacity: 0.9;
}

.site-edit-page .cms-image-placeholder {
	min-height: 200px;
	cursor: default;
	position: relative;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.site-edit-page .cms-editable-image-wrapper:hover .cms-image-placeholder {
	background-color: #e0e0e0;
	border-color: #007bff;
}

/* プレビューモードでは編集可能な要素のスタイルを無効化 */
.preview-page .cms-editable-text,
.preview-page .cms-editable-image-wrapper {
	cursor: default;
}

.preview-page .cms-editable-text:hover,
.preview-page .cms-editable-image-wrapper:hover .cms-editable-image {
	background-color: transparent;
	outline: none;
	opacity: 1;
}

.preview-page .cms-image-edit-btn {
	display: none;
}

.preview-page .cms-link-edit-actions {
	display: none;
}

/* ==================== ボタン編集機能 ==================== */
.site-edit-page .cms-editable-button-wrapper {
	position: relative;
	display: inline-block;
}

.site-edit-page .cms-button-edit-actions {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: row;
	gap: 8px;
	z-index: 1000;
	padding: 8px;
	padding-bottom: 12px;
	margin-bottom: 0;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.site-edit-page .cms-editable-button-wrapper:hover .cms-button-edit-actions {
	opacity: 1;
	pointer-events: auto;
}

/* ==================== リンク編集機能（benefits-item用） ==================== */
.site-edit-page .cms-editable-link-wrapper {
	position: relative;
	display: block;
}

.site-edit-page .cms-link-edit-actions {
	position: absolute;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: row;
	gap: 8px;
	z-index: 1000;
	padding: 8px;
	padding-bottom: 12px;
	margin-bottom: 0;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.site-edit-page .cms-editable-link-wrapper:hover .cms-link-edit-actions {
	opacity: 1;
	pointer-events: auto;
}

.cms-button-edit-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	font-size: 12px;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	background: #fff;
	color: #333;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}

.cms-button-edit-btn:hover {
	background: #5c59e8;
	color: #fff;
	border-color: #5c59e8;
}

.cms-button-edit-btn i {
	font-size: 12px;
}

/* ボタンスタイルオプション */
.button-style-options {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 16px;
}

.button-style-option {
	cursor: pointer;
}

.button-style-preview {
	position: relative;
	padding: 12px 24px;
	border-radius: 4px;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: #2f80ed;
	background: #2f80ed;
	border: 2px solid #2f80ed;
	transition: all 0.2s;
}

.button-style-preview.solid {
	border-radius: 4px;
	color: #ffffff;
}

.button-style-preview.solid-rounded {
	border-radius: 20px;
	color: #ffffff;
}

.button-style-preview.outline {
	background: transparent;
	color: #2f80ed;
}

.button-style-preview.outline-rounded {
	background: transparent;
	color: #2f80ed;
	border-radius: 20px;
}

.button-style-preview.text {
	background: transparent;
	border: none;
	color: #2f80ed;
	text-decoration: underline;
	padding: 0;
}

.button-style-preview.text-arrow {
	background: transparent;
	border: none;
	color: #2f80ed;
	text-decoration: underline;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.button-style-preview.solid-arrow {
	border-radius: 4px;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.button-style-preview.solid-rounded-arrow {
	border-radius: 20px;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.button-style-option:hover .button-style-preview {
	opacity: 0.8;
	transform: scale(1.05);
}

.button-style-preview-selected {
	border-color: #007bff !important;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.button-style-checkmark {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 24px;
	height: 24px;
	background: #007bff;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 12px;
}

.button-style-option.selected .button-style-checkmark {
	display: flex;
}

.button-style-option.selected .button-style-preview,
.button-style-preview-selected {
	border-color: #007bff !important;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25) !important;
}

/* プレビューモードでは編集可能な要素のスタイルを無効化 */
.preview-page .cms-editable-button-wrapper {
	cursor: default;
}

.preview-page .cms-button-edit-actions {
	display: none !important;
}

/* ボタンスタイルクラス */
.layout-container-1-button.button-style-rounded {
	border-radius: 20px !important;
}

.layout-container-1-button.button-style-outline {
	background-color: transparent !important;
}

.layout-container-1-button.button-style-text {
	background-color: transparent !important;
	border: none !important;
	text-decoration: underline !important;
	padding: 0 !important;
	width: auto !important;
	height: auto !important;
}

.layout-container-1-button.button-style-text i {
	margin-left: 4px;
}

/* ==================== ヘッダーメニュー項目 ==================== */
.header-menu-item {
	position: relative;
	display: flex;
	align-items: center;
	padding: 12px 16px;
	margin-bottom: 8px;
	background: #fff;
	border: 1px solid #e0e2e7;
	border-radius: 8px;
	transition: all 0.2s;
	gap: 12px;
}

.header-menu-item:hover {
	border-color: #dee2e6;
}

.menu-drag-handle {
	color: #6c757d;
	cursor: grab;
}

.menu-drag-handle:active {
	cursor: grabbing;
}

.menu-item-text {
	flex: 1;
	font-size: 16px;
	font-weight: 400;
	color: #4f4f4f;
}

.menu-item-input {
	flex: 1;
	font-size: 14px;
	padding: 6px 12px;
	border: 1px solid #ced4da;
	border-radius: 4px;
}

.menu-item-actions {
	position: relative;
	margin-left: auto;
}

.menu-item-edit-btn {
	background: none;
	border: none;
	padding: 4px 8px;
	color: #6c757d;
	cursor: pointer;
	font-size: 16px;
	transition: color 0.2s;
}

.menu-item-edit-btn:hover {
	color: #495057;
}

.menu-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 4px;
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	min-width: 180px;
	overflow: hidden;
}

.menu-dropdown-item {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	cursor: pointer;
	transition: background-color 0.2s;
	border-bottom: 1px solid #f1f3f5;
}

.menu-dropdown-item:last-child {
	border-bottom: none;
}

.menu-dropdown-item:hover {
	background-color: #f8f9fa;
}

.menu-dropdown-item.active {
	background-color: #e7e3ff;
}

.menu-dropdown-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
	color: #6c757d;
	font-size: 14px;
	font-weight: 500;
}

.menu-dropdown-icon i {
	font-size: 14px;
}

.menu-dropdown-item span {
	flex: 1;
	font-size: 14px;
	color: #333;
}

.menu-item-done-btn {
	margin-left: 8px;
	padding: 6px 16px;
	background: #6f42c1;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.menu-item-done-btn:hover {
	background: #5a32a3;
}

/* ==================== 設定を保存ボタンのスタイル ==================== */
.save-settings-btn {
	background-color: #5c59e8;
	color: #ffffff;
	border: none !important;
	border-radius: 17px !important;
	padding: 0px 16px !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 2px 4px rgba(92, 82, 231, 0.2) !important;
	height: 32px !important;
	line-height: 2.4;
}

.save-settings-btn:hover {
	background-color: #4a42d4;
	box-shadow: 0 4px 8px rgba(92, 82, 231, 0.3);
	transform: translateY(-1px);
	color: #fff;
}

.save-settings-btn:active {
	background-color: #3d36b8;
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(92, 82, 231, 0.2);
}

/* ==================== メディアアップロードエリア ==================== */
.media-upload-area {
	min-height: 300px;
	border: 1px dashed #5c59e8;
	border-radius: 8px;
	background-color: #f0f0fa;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: all 0.3s ease;
	width: 60%;
	margin-left: 20%;
}

.media-upload-area:hover {
	border-color: #6b5ce6;
	background-color: #e8edff;
}

.media-upload-area.dragover {
	border-color: #5c52e7;
	background-color: #e0e7ff;
	border-style: solid;
}

.media-upload-content {
	text-align: center;
	padding: 40px 20px;
}

.media-upload-text {
	font-size: 14px;
	font-weight: 400;
	color: #4f4f4f;
	margin: 0 0 12px 0;
}

.media-upload-or {
	font-size: 14px;
	color: #4f4f4f;
	margin: 0 0 20px 0;
}

.media-upload-btn {
	display: inline-block;
	background: #5c59e8;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 4px 32px;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
	text-decoration: none;
	height: 30px;
}

.media-upload-preview {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.media-upload-preview img {
	max-width: 100%;
	max-height: 400px;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: all 0.2s ease;
}

.media-upload-preview img:hover {
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
	transform: scale(1.02);
}

.media-upload-preview video {
	max-width: 100%;
	max-height: 400px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* メディアアップロードモーダル：タブ */
#edit-hero-image-modal .modal-dialog {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	min-height: 100vh;
}

#edit-hero-image-modal .modal-content {
	margin: auto;
}

#edit-hero-image-modal .modal-header.media-upload-modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	border-bottom: 1px solid #e9ecef;
	padding: 16px 20px;
	flex-wrap: wrap;
	gap: 12px;
}

.media-upload-modal-tabs {
	display: flex;
	align-items: center;
	gap: 0;
}

.media-upload-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	font-size: 16px;
	font-weight: 700;
	color: #333333;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	cursor: pointer;
	transition:
		color 0.2s,
		border-color 0.2s;
}

.media-upload-tab:hover {
	color: #333;
}

.media-upload-tab:focus,
.media-upload-tab:focus-visible {
	border: none;
}

.media-upload-tab.active {
	color: #5b63f6;
	border-bottom-color: #5b63f6;
}

.media-upload-tab-icon {
	flex-shrink: 0;
}

.media-upload-tab-plus {
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}

.media-library-grid-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#edit-hero-image-modal .close {
	color: black;
	opacity: 1;
	font-size: 24px;
	font-weight: 300;
	margin: 0;
	padding: 0 0 0 16px;
}

#edit-hero-image-modal .close:hover {
	color: #333;
}

/* メディアアップロード タブパネル */
.media-upload-tab-panel {
	display: none;
}

.media-upload-tab-panel.active {
	display: block;
}

/* メディアライブラリ：画像グリッド */
.media-library-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	max-height: 600px;
	overflow: visible;
	overflow-y: auto;
	padding: 8px;
}

.media-library-item {
	position: relative;
	aspect-ratio: 1;
	border: 2px solid transparent;
	cursor: pointer;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
	background: #f5f5f5;
	max-height: 160px;
	width: 97%;
}

.media-library-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.media-library-item.selected {
	border-color: #5b63f6;
	box-shadow: 0 0 0 1px #5b63f6;
}

.media-library-item.selected::after {
	content: "";
	position: absolute;
	top: -12px;
	right: -12px;
	width: 20px;
	height: 20px;
	background: #5c59e8;
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
	background-size: 11px;
	background-position: center;
	background-repeat: no-repeat;
	border: 2px solid #ffffff;
}

.media-library-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.media-library-empty,
.media-library-loading {
	text-align: center;
	padding: 48px 24px;
	color: #6c757d;
	font-size: 14px;
}

.media-library-loading {
	color: #5b63f6;
}

/* メディアアップロードモーダル フッター（デザイン：青ボタン + 赤削除リンク、中央揃え） */
.media-upload-modal-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-top: 1px solid #e9ecef;
	background: #fff;
}

.media-upload-footer-spacer {
	flex: 1;
	min-width: 0;
}

.media-upload-footer-right {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

.media-apply-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0px 14px !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #fff !important;
	background: #5c59e8 !important;
	border: none !important;
	border-radius: 17px !important;
	cursor: pointer;
	transition: background 0.2s;
	height: 30px !important;
}

.media-apply-btn:hover {
	background: #1d4ed8 !important;
	color: #fff !important;
}

.media-delete-selected-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #eb5757 !important;
	text-decoration: underline;
}

.media-delete-selected-btn:hover {
	color: #b91c1c !important;
}

.media-delete-selected-btn i {
	font-size: 14px;
}

#edit-hero-image-modal .modal-body {
	padding: 24px 30px;
	min-height: 320px;
}

/* ============================================
   Site Editor Styles
   ============================================ */
.site-edit-page {
	min-height: 100vh;
	background-color: #f8f7fc;
}

.site-editor {
	padding: 0;
	gap: 0;
	width: 100%;
	max-width: 100%;
	background-color: #f8f7fc;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/*-----------------------------------------------
Editor Toolbar
-----------------------------------------------*/
.site-editor__toolbar {
	background-color: #fff;
	border-bottom: 1px solid #e0e0e0;
	padding: 0.55rem 1.6rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.4rem;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-editor__toolbar-left {
	display: flex;
	align-items: center;
}

.site-editor__logo {
	max-width: 16rem;
	height: auto;
}

.site-editor__toolbar-center {
	display: flex;
	align-items: center;
	gap: 2.4rem;
	flex: 1;
	justify-content: center;
	flex-wrap: wrap;
}

.site-editor__status {
	font-family: "Meiryo", sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.857;
	color: #828282;
	white-space: nowrap;
}

.site-editor__preview {
	font-family: "Meiryo", sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.857;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
}

@media (hover: hover) {
	.site-editor__preview:hover,
	.site-editor__preview:focus {
		opacity: 0.8;
	}
}

@media (hover: none) and (pointer: fine) {
	.site-editor__preview:hover,
	.site-editor__preview:focus {
		opacity: 0.8;
	}
}

.site-editor__badge {
	height: 3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.4rem;
	border-radius: 1.7rem;
	background-color: #dedefa;
	font-family: "Meiryo", sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.857;
	color: #5c59e8;
	white-space: nowrap;
}

.site-editor__btn {
	height: 3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.4rem;
	border-radius: 1.7rem;
	border: none;
	font-family: "Meiryo", sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.857;
	cursor: pointer;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.site-editor__btn--primary {
	background-color: #5c59e8;
	color: #fff;
}

@media (hover: hover) {
	.site-editor__btn:hover,
	.site-editor__btn:focus {
		opacity: 0.85;
	}
}

@media (hover: none) and (pointer: fine) {
	.site-editor__btn:hover,
	.site-editor__btn:focus {
		opacity: 0.85;
	}
}

.site-editor__toolbar-right {
	display: flex;
	align-items: center;
}

.site-editor__title {
	height: 3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.6rem;
	border-radius: 1.6rem;
	background-color: #f2f2f2;
	font-family: "Meiryo", sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.5;
	color: #4f4f4f;
	white-space: nowrap;
}

/*-----------------------------------------------
Editor Canvas
-----------------------------------------------*/
.site-editor__canvas {
	width: 100%;
	max-width: 144rem;
	margin: 0 auto;
	background-color: #fff;
}

/*-----------------------------------------------
Site Header (within canvas)
-----------------------------------------------*/
.site-header {
	position: relative;
	padding: 2.4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.4rem;
	width: 100%;
}

.site-header__nav {
	display: flex;
	align-items: center;
	gap: 2.4rem;
	flex-wrap: nowrap;
}

.site-header__nav-link {
	font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.447;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.site-header__nav-link--active {
	text-align: center;
}

.site-header__nav-link--dropdown {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

@media (hover: hover) {
	.site-header__nav-link:hover,
	.site-header__nav-link:focus {
		opacity: 0.8;
	}
}

@media (hover: none) and (pointer: fine) {
	.site-header__nav-link:hover,
	.site-header__nav-link:focus {
		opacity: 0.8;
	}
}

.site-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-header__logo img {
	max-width: 20rem;
	height: auto;
}

.site-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 0.5rem;
	width: 4rem;
	height: 4rem;
	padding: 0;
	border: 1px solid #e0e0e0;
	border-radius: 0.8rem;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.site-header__toggle-line {
	display: block;
	width: 2rem;
	height: 0.2rem;
	background-color: currentColor;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease;
}

.site-header__toggle[aria-expanded="true"]
	.site-header__toggle-line:nth-child(1) {
	transform: translateY(0.7rem) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"]
	.site-header__toggle-line:nth-child(2) {
	opacity: 0;
}

.site-header__toggle[aria-expanded="true"]
	.site-header__toggle-line:nth-child(3) {
	transform: translateY(-0.7rem) rotate(-45deg);
}

/*-----------------------------------------------
Related Links Dropdown Panel
-----------------------------------------------*/
.site-header__nav-dropdown-icon {
	transition: transform 0.2s ease;
}
[aria-expanded="true"] .site-header__nav-dropdown-icon {
	transform: rotate(180deg);
}

.site-header__related-links-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	z-index: 100;
	background-color: #fff;
	border-top: 1px solid #e0e0e0;
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
	padding: 6rem;
}
.site-header__related-links-panel[aria-hidden="false"] {
	display: block;
}

.site-header__related-links-inner {
	display: flex;
	justify-content: center;
	gap: 8rem;
}

.site-header__related-links-column {
	display: flex;
	flex-direction: column;
	gap: 2.4rem;
	width: 24rem;
	flex-shrink: 0;
}

.site-header__related-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
	padding: 0 0 1.6rem;
	border-bottom: 1px solid #e0e0e0;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.site-header__related-link span {
	font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.447;
	color: #4f4f4f;
}
.site-header__related-link svg {
	width: 1.6rem;
	height: 1.6rem;
	flex-shrink: 0;
}
@media (hover: hover) {
	.site-header__related-link:hover,
	.site-header__related-link:focus {
		opacity: 0.7;
	}
}
@media (hover: none) and (pointer: fine) {
	.site-header__related-link:hover,
	.site-header__related-link:focus {
		opacity: 0.7;
	}
}

@media (max-width: 768px) {
	.site-header {
		position: sticky;
		top: 0;
		z-index: 1003;
		background: #fff;
		padding: 1.6rem 2rem;
		gap: 1.6rem;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.site-header__logo {
		display: flex;
		order: 1;
		z-index: 1;
	}

	.site-header__toggle {
		display: inline-flex;
		order: 2;
		position: relative;
		z-index: 1002;
		width: 3.2rem;
		height: 3.2rem;
		border: none;
		border-radius: 0;
		background: transparent;
	}

	.site-header__nav {
		display: none;
		order: 3;
		flex-direction: column;
		align-items: center;
		gap: 2.4rem;
	}

	.site-header__nav.is-open {
		display: flex;
		position: fixed;
		inset: 0 0 auto 0;
		z-index: 1001;
		background: #fff;
		padding: 12rem 2.4rem 4.8rem;
		overflow-y: auto;
		max-height: auto;
		box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.35);
	}

	.site-header__nav.is-open .site-header__nav-link {
		width: min(20rem, 100%);
		text-align: center;
		font-size: 1.8rem;
		line-height: 1.6;
		justify-content: center;
	}

	.site-header__related-links-panel {
		position: static;
		width: min(20rem, 100%);
		height: auto;
		padding: 0.8rem 0 0;
		margin: 0;
		border-top: none;
		box-shadow: none;
		background: transparent;
		z-index: auto;
		overflow: visible;
	}

	.site-header__related-links-inner {
		flex-direction: column;
		gap: 1.2rem;
		align-items: flex-start;
	}

	.site-header__related-links-column {
		width: min(20rem, 100%);
		gap: 1.2rem;
	}
}

/*-----------------------------------------------
Site Hero Section
-----------------------------------------------*/
.site-hero {
	position: relative;
	width: 100%;
	min-height: 60rem;
	display: flex;
	align-items: center;
}

.site-hero__image {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.site-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-hero__content {
	position: relative;
	z-index: 1;
	gap: 2.4rem;
	padding: 4rem 2.4rem;
	width: 100%;
	display: flex;
}

.site-hero__text-wrapper-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: start;
	width: fit-content;
	padding: 2rem;
}

.site-hero__text {
	padding: 1rem 2.4rem;
	margin: 10px 0;
	background-color: #fff;
	font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	font-size: 4.8rem;
	font-weight: 700;
	line-height: 1.447;
	letter-spacing: 0.1em;
	color: #000;
	white-space: pre-line;
}

.site-hero__text--hidden {
	display: none !important;
}

.site-hero__text-placeholder {
	margin-top: 1rem;
	font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
	color: #999;
}

/*-----------------------------------------------
Site Section
-----------------------------------------------*/
.site-section {
	padding: 4rem 2.4rem;
}

.site-section__title {
	font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.447;
	color: #333;
}

/*-----------------------------------------------
Site Footer
-----------------------------------------------*/
.site-footer {
	background-color: #262626;
	padding: 4rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	position: relative;
	width: 100%;
	margin: 0 auto;
}

/* プレビューページでのフッター表示 */
.preview-page .site-footer {
	max-width: 100%;
	margin: 0;
}

.site-footer__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	justify-content: center;
}

.site-footer__logo img {
	max-width: 16rem;
	height: auto;
}

.site-footer__scroll-top {
	position: absolute;
	top: 0;
	right: 8rem;
	width: 4.8rem;
	height: 4.8rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.4rem;
	background-color: #333;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.site-footer__scroll-top img {
	width: 1.6rem;
	height: 1.6rem;
}

@media (max-width: 768px) {
	.site-footer__scroll-top {
		right: 1rem;
	}
}

@media (hover: hover) {
	.site-footer__scroll-top:hover,
	.site-footer__scroll-top:focus {
		opacity: 0.85;
	}
}

@media (hover: none) and (pointer: fine) {
	.site-footer__scroll-top:hover,
	.site-footer__scroll-top:focus {
		opacity: 0.85;
	}
}

.site-footer__copyright {
	width: 100%;
	text-align: center;
	margin-top: 4rem;
	border-top: 1px solid #4f4f4f;
	padding-top: 4rem;
	font-family: "Inter", sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.21;
}

/* プレビューページでのフッター表示調整 */
.preview-page .cms-frontend-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.preview-page .cms-frontend-page > div:not(.site-footer) {
	flex: 1;
}

/*-----------------------------------------------
Add Content Section
-----------------------------------------------*/
.site-editor__add-content {
	position: relative;
	width: 100%;
	min-height: 10rem;
	margin: 2.4rem 0;
}

.site-editor__add-content-image {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.site-editor__add-content-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-editor__add-btn {
	position: absolute;
	bottom: 2.4rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 0.6rem 1.4rem;
	border-radius: 1.7rem;
	background-color: #5c59e8;
	border: none;
	font-family: "Meiryo", sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.625;
	color: #fff;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.site-editor__add-btn img {
	width: 1.6rem;
	height: 1.6rem;
}

@media (hover: hover) {
	.site-editor__add-btn:hover,
	.site-editor__add-btn:focus {
		opacity: 0.85;
	}
}

@media (hover: none) and (pointer: fine) {
	.site-editor__add-btn:hover,
	.site-editor__add-btn:focus {
		opacity: 0.85;
	}
}

/*-----------------------------------------------
編集ボタン
-----------------------------------------------*/
.site-editor__edit-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;

	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	opacity: 0;
	transition: opacity 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	background-color: #ffffff;
	color: #696969;
	padding: 8px 16px;
	font-weight: 500;
	gap: 8px;
	/* アイコンとテキストの間隔 */
	height: auto;
	min-height: 32px;
}

.editable-site-header:hover .site-header__edit-btn,
.editable-site-footer:hover .site-footer__edit-btn {
	opacity: 1;
}

/* ヒーロー画像編集ボタン */
.editable-hero-image {
	/* position: relative; */
}

.editable-hero-image .site-hero__image-edit-btn {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 10;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.editable-hero-image:hover .site-hero__image-edit-btn {
	opacity: 1;
}

.editable-hero-image .site-hero__image-edit-btn:hover {
	background-color: #f8f9fa;
	border-color: #5a5a5a;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.editable-hero-image .site-hero__image-edit-btn i {
	color: #696969;
	margin: 0;
}

/* ヒーローテキスト編集ボタン */
.editable-hero-content {
	/* position: relative; */
}

.editable-hero-content .site-hero__text-edit-btn {
	position: absolute;
	top: -5rem;
	left: 1rem;
	right: unset !important;
	z-index: 10;
	opacity: 0;
	transition: opacity 0.3s ease;
	min-width: 160px;
}

.edit-site-hero__text-wrapper-container:hover {
	border: 2px dotted #5c59e8;
}

.editable-hero-content:hover .site-hero__text-edit-btn {
	opacity: 1;
}

.cms-editable-video-wrapper:hover .cms-video-edit-btn {
	opacity: 1 !important;
}

.site-editor__edit-btn i {
	margin: 0;
}

.editable-site-header,
.editable-site-hero,
.editable-site-footer {
	position: relative;
}

/* 画像スロット編集ボタン */
.cms-editable-image-wrapper {
	position: relative;
	display: inline-block;
}

.cms-editable-image-wrapper .cms-image-edit-btn {
	position: absolute;
	width: max-content;
	top: 10px;
	right: 10px;
	z-index: 10;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.cms-editable-image-wrapper:hover .cms-image-edit-btn {
	opacity: 1;
}

.cms-editable-image-wrapper .cms-image-edit-btn:hover {
	opacity: 1 !important;
}

/* ============================================
   ヒーローテキスト編集モーダル
   ============================================ */

/* モーダルサイズ */
.hero-text-modal-dialog {
	width: 480px;
	max-width: 480px;
	margin: 30px auto;
}

.hero-text-modal-content {
	width: 480px;
	height: 560px;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.hero-text-modal-content .modal-header {
	flex-shrink: 0;
	border-radius: 4px 4px 0 0;
	padding: 16px 20px;
	border-bottom: 1px solid #dee2e6;
}

.hero-text-modal-content .modal-body {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0;
	scrollbar-width: thin;
	scrollbar-color: #ccc #f5f5f5;
}

.hero-text-modal-content .modal-body::-webkit-scrollbar {
	width: 8px;
}

.hero-text-modal-content .modal-body::-webkit-scrollbar-track {
	background: #f5f5f5;
}

.hero-text-modal-content .modal-body::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 4px;
}

.hero-text-modal-content .modal-body::-webkit-scrollbar-thumb:hover {
	background: #999;
}

/* タブ内のフッター（保存ボタン） */
.hero-tab-footer {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
	display: flex;
	justify-content: flex-start;
}

/* タブスタイル */
.hero-text-modal-tabs {
	border-bottom: 1px solid #dee2e6;
	margin-bottom: 0;
}

.hero-text-modal-tabs .nav-link {
	color: #666;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.hero-text-modal-tabs .nav-link i {
	font-size: 16px;
}

.hero-text-modal-tabs .nav-link.active {
	color: #6f42c1;
	border-bottom-color: #6f42c1;
	background: transparent;
}

.hero-text-modal-tabs .nav-link:hover {
	color: #6f42c1;
	border-bottom-color: #6f42c1;
}

/* モードに応じたタブの表示/非表示 */
.hero-text-modal-tabs [data-tab-for="hero"] {
	display: list-item;
}

.hero-text-modal-tabs [data-tab-for="slot"] {
	display: none;
}

/* コンテンツフィールドグループの表示/非表示 */
.content-field-group[data-mode="hero"] {
	display: block;
}

.content-field-group[data-mode="slot"] {
	display: none;
}

.tab-content {
	padding: 20px 40px;
}

/* タブコンテンツのパディング */
#hero-text-tab-content {
	padding: 0 20px;
}

/* コンテンツタブ */
.hero-text-content-form {
	padding: 24px 0;
}

.hero-copy-field {
	margin-bottom: 24px;
}

.hero-copy-field label {
	font-weight: 600;
	font-size: 14px;
	color: #333;
	margin-bottom: 8px;
	display: block;
}

.textarea-wrapper {
	position: relative;
}

.hero-copy-textarea {
	width: 100%;
	min-height: 80px;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	resize: vertical;
	font-family: inherit;
}

.hero-copy-textarea:focus {
	outline: none;
	border-color: #6f42c1;
	box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

.char-counter {
	position: absolute;
	bottom: 8px;
	right: 12px;
	font-size: 12px;
	color: #999;
	background: rgba(255, 255, 255, 0.9);
	padding: 2px 4px;
}

.char-counter .char-count {
	font-weight: 600;
}

/* カラータブ */
.hero-text-color-form {
	padding: 24px 0;
}

.color-picker-section {
	margin-bottom: 32px;
}

.color-section-label {
	font-weight: 600;
	font-size: 14px;
	color: #333;
	margin-bottom: 16px;
	display: block;
}

.color-picker-container {
	/* display: flex; */
	gap: 24px;
	align-items: flex-start;
}

.color-picker-wrapper {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.color-picker-saturation {
	width: 200px;
	height: 150px;
	position: relative;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: crosshair;
	background:
		linear-gradient(to bottom, transparent, black),
		linear-gradient(to right, white, currentColor);
}

.color-picker-handle {
	width: 12px;
	height: 12px;
	border: 2px solid white;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.color-picker-hue {
	width: 200px;
	height: 20px;
	position: relative;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	background: linear-gradient(
		to right,
		#ff0000,
		#ffff00,
		#00ff00,
		#00ffff,
		#0000ff,
		#ff00ff,
		#ff0000
	);
}

.color-picker-hue-handle {
	width: 20px;
	height: 100%;
	border: 2px solid white;
	border-radius: 2px;
	position: absolute;
	top: 0;
	left: 0;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
	pointer-events: none;
	background: rgba(255, 255, 255, 0.3);
}

.color-input-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.color-code-label {
	font-size: 12px;
	color: #666;
	font-weight: 500;
}

.color-input-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.color-code-input {
	width: 120px;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: monospace;
}

.color-code-input:focus {
	outline: none;
	border-color: #6f42c1;
	box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

.color-preview {
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	border-radius: 4px;
	flex-shrink: 0;
}

/* レイアウトタブ */
.hero-text-layout-form {
	padding: 24px 0;
}

.layout-options {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.layout-option {
	cursor: pointer;
}

.layout-preview-box {
	position: relative;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 24px;
	background: #f8f9fa;
	transition: all 0.2s ease;
}

.layout-preview-box:hover {
	border-color: #ccc;
}

.layout-preview-box.layout-preview-selected {
	border-color: #6f42c1;
}

.layout-preview-content {
	min-height: 80px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
}

.layout-preview-text {
	font-size: 16px;
	color: #333;
	font-weight: 500;
}

.layout-checkmark {
	position: absolute;
	top: -12px;
	right: -12px;
	width: 24px;
	height: 24px;
	background: #6f42c1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 12px;
}

.layout-label {
	margin-top: 8px;
	font-size: 14px;
	color: #666;
	text-align: center;
}

/* 保存ボタン */
.hero-save-btn {
	background-color: #5c59e8;
	color: white;
	padding: 0px 24px !important;
	font-weight: 400 !important;
	font-size: 14px !important;
	line-height: 26px !important;
	letter-spacing: 0% !important;
	text-align: center !important;
}

.hero-save-btn:hover {
	background-color: #5a32a3;
	border-color: #5a32a3;
	color: white;
}

/* ============================================
   ロゴ・メニュー設定モーダル
   ============================================ */

.logo-menu-modal-content {
	width: 900px;
	max-width: 900px;
	border-radius: 8px;
	overflow: hidden;
}

.logo-menu-modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-menu-modal-header .modal-title {
	font-size: 16px;
	font-weight: 700;
	color: #333333;
	margin: 0;
}

.logo-menu-modal-body {
	padding: 0;
	min-height: 600px;
}

.logo-menu-modal-container {
	display: flex;
	height: 600px;
}

/* 左サイドバー */
.logo-menu-sidebar {
	width: 240px;
	border-right: 1px solid #e0e0e0;
	display: flex;
	flex-direction: column;
}

.logo-menu-sidebar-title {
	padding: 20px 24px;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	border-bottom: 1px solid #e0e0e0;
}

.logo-menu-nav {
	flex: 1;
	padding: 20px;
}

.logo-menu-nav-item {
	display: block;
	padding: 10px 16px;
	color: #667085;
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	transition: background-color 0.2s ease;
	cursor: pointer;
	border-radius: 8px;
}

.logo-menu-nav-item:hover {
	background-color: #e8e8e8;
	color: #333;
}

.logo-menu-nav-item.active {
	background-color: #dedefa;
	color: #5c59e8;
	font-weight: 500;
}

/* 右コンテンツエリア */
.logo-menu-content {
	flex: 1;
	overflow-y: auto;
	background-color: #fff;
}

.logo-menu-section {
	display: none;
	padding: 20px 40px;
}

.logo-menu-section.active {
	display: block;
}

.logo-menu-section.active#header-section {
	padding: unset !important;
}

.section-title {
	font-size: 16px;
	font-weight: 700;
	color: #333333;
}

.section-logo-title {
	font-weight: 400;
	font-size: 12px;
	line-height: 32px;
	letter-spacing: 0.5%;
	margin-bottom: 10px;
	color: #4f4f4f;
}

/* ロゴセクション */
.logo-upload-section {
	margin-bottom: 24px;
}

.logo-selection-area {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
}

.logo-selection-box {
	width: 200px;
	height: 80px;
	border: 2px solid #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background-color: #e0e0e0;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.logo-selection-box:hover {
	border-color: #ccc;
}

.logo-selection-box.selected {
	border-color: #5c59e8;
}

.logo-preview {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}

.logo-preview img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.logo-placeholder {
	font-size: 18px;
	font-weight: 600;
	color: #5c59e8;
}

.logo-placeholder-text {
	font-size: 14px;
	font-weight: 400;
	color: #4f4f4f;
}

.logo-checkmark {
	position: absolute;
	top: -12px;
	right: -12px;
	width: 24px;
	height: 24px;
	background-color: #5c59e8;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 12px;
}

.logo-selection-box:not(.selected) .logo-checkmark {
	display: none;
}

.logo-delete-link {
	display: inline-block;
	color: #5c59e8;
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 0%;
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-thickness: 0%;
}

.logo-delete-link:hover {
	text-decoration: underline;
}

.logo-upload-btn {
	border: 1px solid #5c59e8;
	background-color: white;
	padding: 0px 20px !important;
	border-radius: 8px !important;
	width: 260px !important;
	height: 44px !important;
	color: #5c59e8;
	font-weight: 400 !important;
	font-size: 16px !important;
	line-height: 2.2;
	letter-spacing: 0%;
}

.logo-info-box {
	background-color: #fffaf1;
	border: 1px solid #d6b76c;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 24px;
}

.logo-info-box .info-icon {
	color: #ff9800;
	font-size: 14px;
	font-weight: 700;
	color: #4f4f4f;
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-info-box .info-text {
	font-size: 14px;
	color: #4f4f4f;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 5px;
}

.text-logo-section {
	margin-top: 24px;
}

.text-logo-input {
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
}

/* ヘッダータブ */
.header-tabs {
	border-bottom: 1px solid #e0e0e0;
}

.header-tabs .nav-link {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #4f4f4f;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 400;
}

.header-tabs .nav-link.active {
	color: #5c59e8;
	border-bottom-color: #5c59e8;
	background: transparent;
}

.header-tabs .nav-link:hover {
	color: #5c59e8;
	border-bottom-color: #5c59e8;
}

.header-tab-content {
	min-height: 400px;
}

/* ヘッダーメニュー設定 */
.header-menu-settings {
	padding: 0;
}

.add-header-menu-item-btn {
	background-color: #5c59e8;
	border-color: #5c59e8;
	color: white;
	padding: 0 20px !important;
	border-radius: 17px !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	margin-bottom: 24px;
	height: 28px !important;
}

/* ナビゲーション並び順（ヘッダー編集モーダル内） */
.header-nav-order-list {
	margin-bottom: 24px;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	background: #f8f9fa;
	padding: 8px 0;
}
.header-nav-order-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	margin: 0 8px 4px;
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	cursor: default;
}
.header-nav-order-item:last-child {
	margin-bottom: 0;
}
.header-nav-order-handle {
	cursor: move;
	color: #6c757d;
	font-size: 14px;
}
.header-nav-order-handle:hover {
	color: #495057;
}
.header-nav-order-label {
	flex: 1;
	font-size: 14px;
}
.header-nav-order-item.dragging {
	opacity: 0.6;
}
.header-nav-order-item--hidden {
	opacity: 0.6;
	background: #e9ecef;
}
.header-nav-order-item--hidden .header-nav-order-label {
	color: #6c757d;
}
.header-nav-order-visibility {
	color: #6c757d;
	font-size: 14px;
	margin-left: auto;
}
.header-nav-order-visibility:hover {
	color: #495057;
}

.header-menu-list {
	margin-bottom: 24px;
}
.header-menu-list-main {
	/* 3メインタブの並び替えグループ */
}
.header-menu-list-related-sep {
	font-size: 13px;
	font-weight: 600;
	color: #6c757d;
	margin: 12px 0 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid #dee2e6;
}
.header-menu-list-related {
	/* 関連リンクメニューの並び替えグループ（常に3メインの下） */
}

.header-menu-item.dragging {
	opacity: 0.5;
}

/* 3メインナビ（header-menu-list 内の行） */
.header-menu-item--main .header-nav-order-visibility {
	margin-left: auto;
}
.header-menu-item--main.header-nav-order-item--hidden {
	opacity: 0.6;
	background: #e9ecef;
}
.header-menu-item--main.header-nav-order-item--hidden .menu-item-text {
	color: #6c757d;
}

.menu-drag-handle {
	cursor: move;
	color: #999;
	font-size: 16px;
	display: flex;
}

.menu-item-text.editing {
	display: none;
}

.menu-item-input {
	flex: 1;
	padding: 6px 10px;
	border: 1px solid #5c59e8;
	border-radius: 4px;
	font-size: 14px;
	display: none;
}

.menu-item-input.editing {
	display: block;
}

.menu-item-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}

.menu-item-edit-btn,
.menu-item-delete-btn {
	background: none;
	border: none;
	color: #666;
	cursor: pointer;
	padding: 4px 8px;
	font-size: 14px;
}

.menu-item-edit-btn:hover,
.menu-item-delete-btn:hover {
	color: #333;
}

.menu-item-done-btn {
	background-color: #5c59e8;
	border-color: #5c59e8;
	color: white;
	padding: 0px 12px;
	border-radius: 9px;
	font-size: 12px;
	font-weight: 400;
	height: 17px;
	display: none;
}

.menu-item-done-btn.editing {
	display: block;
}

.menu-item-visibility-btn {
	background: none;
	border: none;
	color: #666;
	cursor: pointer;
	padding: 4px 8px;
	font-size: 14px;
}

.header-menu-info-box {
	background-color: #fffaf1;
	border-radius: 8px;
	border: 1px solid #d6b76c;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 45%;
}

.header-menu-info-box .info-icon {
	display: flex;
	align-items: center;
	gap: 10px;
}

.header-menu-info-box .info-content {
	flex: 1;
}

.header-menu-info-box .info-icon .info-title {
	font-size: 14px;
	font-weight: 700;
	color: #4f4f4f;
}

.header-menu-info-box .info-list {
	list-style: disc;
	margin-left: 20px;
	margin-bottom: 8px;
}

.header-menu-info-box .info-list li {
	font-size: 14px;
	color: #4f4f4f;
	font-weight: 400;
	margin-bottom: 4px;
}

.header-menu-info-box .info-text {
	font-size: 14px;
	color: #4f4f4f;
	font-weight: 400;
}

/* カラー設定 */
.header-color-settings,
.footer-color-settings {
	padding: 0;
}

.logo-menu-tab-footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
	display: flex;
	justify-content: flex-start;
}

.save-header-color-btn,
.save-footer-color-btn {
	background-color: #5c59e8;
	border-color: #5c59e8;
	color: white;
	padding: 10px 24px;
	font-weight: 500;
}

.save-header-color-btn:hover,
.save-footer-color-btn:hover {
	background-color: #4a47d6;
	border-color: #4a47d6;
}

/*-----------------------------------------------
レイアウトセクションホバー時のボタン表示
-----------------------------------------------*/
.section-item {
	position: relative;
	margin-bottom: 2.4rem;
}

.section-preview {
	position: relative;
	transition: border 0.3s ease;
}

/* セクションをホバーしたときに点線の青いボーダーを表示 */
.section-item:hover .section-preview {
	/* border: 2px dashed #5c59e8; */
	border-radius: 4px;
}

/* セクションホバー時の操作ボタン - デフォルトで非表示 */
.section-hover-actions {
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

/* セクションをホバーしたときにボタンを表示 */
.section-item:hover .section-hover-actions {
	opacity: 1;
	pointer-events: auto;
}

/* 右上のコントロールグループ（青いボタン） */
.section-hover-actions--top-right {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	z-index: 10;
}

/* ボタンを1行に並べる行 */
.section-action-row {
	display: flex;
	flex-direction: row;
	gap: 0.8rem;
}

/* 右下のコントロールグループ内の行を右寄せ */
.section-hover-actions--bottom-right .section-action-row {
	justify-content: flex-end;
	margin-left: auto;
}

/* 右下のコントロールグループ（グレーのボタン） */
.section-hover-actions--bottom-right {
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	z-index: 10;
}

/* 下部中央のコントロールボタン（青いボタン） */
.section-hover-actions--bottom-center {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
}

/* セクションアクションボタンの基本スタイル */
.section-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	padding: 0.8rem 1.6rem;
	border-radius: 0.4rem;
	border: none;
	font-family: "Meiryo", sans-serif;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.5;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	white-space: nowrap;
}

/* 青いボタン（プライマリ） */
.section-action-btn--primary {
	background-color: #5c59e8;
	color: #ffffff;
}

/* グレーのボタン（セカンダリ） */
.section-action-btn--secondary {
	background-color: #e8e8e8;
	color: #333333;
}

.section-action-btn--secondary:hover {
	/* background-color: #D8D8D8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); */
}

.section-action-btn i {
	font-size: 1.4rem;
}

/* 上下移動ボタンは小さな正方形（グレー背景、白アイコン） */
.section-move-up-btn,
.section-move-down-btn {
	width: 3.2rem;
	height: 3.2rem;
	padding: 0 !important;
	min-width: 3.2rem;
	background-color: #e8e8e8 !important;
	color: #ffffff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0 !important;
}

.section-move-up-btn i,
.section-move-down-btn i {
	margin: 0 !important;
	padding: 0 !important;
	color: #ffffff !important;
	display: block;
	line-height: 1;
	width: auto;
	height: auto;
}

.section-move-up-btn:hover,
.section-move-down-btn:hover {
	background-color: #d8d8d8 !important;
}

/* 削除ボタンのスタイル（グレー背景、黒テキスト） */
.section-delete-btn {
	background-color: #e8e8e8;
	color: #333333;
}

.section-delete-btn:hover {
	background-color: #d8d8d8;
}

/* 無効化されたボタン */
.section-action-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.section-action-btn:disabled:hover {
	background-color: inherit;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

img {
	max-width: 100%;
	height: auto;
}

/* ===========================================
 Layout
 =========================================== */
.container {
	max-width: 1440px;
	margin: 20px auto;
	padding: 0 20px;
}

@media (max-width: 768px) {
	.container {
		margin-top: 0;
	}
}
/* ===========================================
 Section Styles
 =========================================== */
.section {
	padding: 80px 0;
}

.section:first-child {
	padding-top: 100px;
}

/* セクション内のタイトル・本文で改行を有効にする（クラス未指定の要素も対象） */
.cms-section-wrapper h1,
.cms-section-wrapper h2,
.cms-section-wrapper h3,
.cms-section-wrapper h4,
.cms-section-wrapper p {
	white-space: pre-line;
}

/* 公開トップ・プレビュー: 親セクション直後に追加コンテンツ（text-image-add / image-text-border-add）があるときの余白 */
.cms-frontend-page .cms-section.section-text-image-add .section,
.cms-frontend-page
	.cms-section.section-image-text-border-add
	.strategy-section {
	padding: 1px 0;
}

.cms-frontend-page
	.cms-section.section-text-image-add:not(:has(+ .section-text-image-add))
	.section,
.cms-frontend-page
	.cms-section.section-image-text-border-add:not(
		:has(+ .section-image-text-border-add)
	)
	.strategy-section {
	padding-bottom: 80px;
}

.cms-frontend-page
	.cms-section:not(.section-text-image-add):has(
		+ .cms-section.section-text-image-add
	)
	.section,
.cms-frontend-page
	.cms-section:not(.section-image-text-border-add):has(
		+ .cms-section.section-image-text-border-add
	)
	.strategy-section {
	padding-bottom: 1px;
}

.layout-section-title {
	font-size: 40px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 20px;
	text-align: center;
	line-height: 1.4;
	white-space: pre-line;
}

.layout-section-subtitle {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	text-align: center;
	margin-bottom: 60px;
	line-height: 1.8;
	white-space: pre-line;
}

.separator {
	width: 100%;
	height: 1px;
	background: #e0e0e0;
	margin: 60px 0;
}

.center-button {
	text-align: center;
	margin-top: 40px;
}

/* ===========================================
 Buttons
 =========================================== */
.btn {
	display: inline-block;
	padding: 12px 32px;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 17px;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid;
}

.btn--outline {
	background: #ffffff;
	color: #000000;
	border-color: #000000;
	border-width: 1px;
}

.btn--outline:hover {
	background: #000000;
	color: #ffffff;
	border-color: #000000;
}

.btn--primary {
	background: #4a90e2;
	color: #ffffff;
	border-color: #4a90e2;
}

.btn--primary:hover {
	background: #357abd;
	border-color: #357abd;
}

.btn--center {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.btn--black {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 40px;
	background: #000000;
	color: #ffffff;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 30px;
	transition: all 0.3s ease;
	border: none;
}

.btn--black:hover {
	background: #333333;
}

.btn--blue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	background: #4a90e2;
	color: #ffffff;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 30px;
	transition: all 0.3s ease;
	border: none;
}

.btn--blue:hover {
	background: #357abd;
}

.btn--outline-rounded {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	background: #ffffff;
	color: #000000;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 30px;
	border: 1px solid #e0e0e0;
	transition: all 0.3s ease;
}

.btn--outline-rounded:hover {
	background: #f5f5f5;
	border-color: #cccccc;
}

/* ===========================================
 Two Column Layout
 =========================================== */
.two-column {
	display: flex;
	align-items: center;
	gap: 80px;
	margin-bottom: 80px;
	position: relative;
}

.two-column--reverse {
	flex-direction: row-reverse;
}

.two-column__text {
	flex: 1;
}

.two-column__image {
	flex: 1;
}

.two-column__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.two-column__title {
	font-size: 32px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 24px;
	line-height: 1.4;
	white-space: pre-line;
}

.two-column__body {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	margin-bottom: 24px;
	white-space: pre-line;
}

.two-column__list {
	list-style: none;
	margin-bottom: 24px;
}

.two-column__list-item {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	padding-left: 20px;
	position: relative;
	margin-bottom: 12px;
}

/* ===========================================
 Single Column
 =========================================== */
.single-column {
	text-align: center;
	margin-bottom: 80px;
}

.single-column__image {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 40px;
}

.single-column__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

/* ===========================================
 Icon Cards Section
 =========================================== */
.icon-cards-section {
	background: #e8f4f8;
	padding: 80px 0;
}

.icon-cards-section .layout-section-title,
.icon-cards-section .layout-section-subtitle {
	color: #000000;
}

.icon-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 60px;
}

.icon-card {
	background: #ffffff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.icon-card__icon {
	width: 80px;
	height: 80px;
	margin-bottom: 24px;
	background: transparent;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.icon-card__icon img {
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.icon-card__icon > div {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.icon-card__icon .cms-image-placeholder {
	min-height: unset !important;
}

.icon-card__title {
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 16px;
	white-space: pre-line;
}

.icon-card__body {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	margin-bottom: 24px;
	white-space: pre-line;
}

.icon-card__button {
	margin-top: auto;
}

/* ===========================================
 Profile Cards
 =========================================== */
.profile-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 60px;
}

.profile-card {
	background: #ffffff;
	text-align: left;
}

.profile-card img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	object-position: top;
	margin-bottom: 24px;
	border-radius: 0;
}

.profile-card__catchphrase {
	font-size: 28px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 24px;
	line-height: 1.5;
	white-space: pre-line;
}

.profile-card__company {
	font-size: 16px;
	font-weight: 400;
	color: #000000;
	margin-bottom: 8px;
	white-space: pre-line;
}

.profile-card__name {
	font-size: 18px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 24px;
	white-space: pre-line;
}

.profile-card__title {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	margin-bottom: 16px;
}

.profile-card__description {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	margin-bottom: 24px;
}

.profile-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid #000000;
	padding-bottom: 4px;
	transition: all 0.3s ease;
}

.profile-card__link:hover {
	opacity: 0.8;
}

.profile-card__link::after {
	content: ">";
	font-size: 18px;
}

/* ===========================================
 Feature Cards
 =========================================== */
.feature-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 60px;
}

.feature-card {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.feature-card img {
	width: 100%;
	height: auto;
	display: block;
}

.feature-card__content {
	padding: 32px;
}

.feature-card__title {
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 16px;
}

.feature-card__body {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	margin-bottom: 24px;
}

/* ===========================================
 Company Info Section
 =========================================== */
.company-info {
	display: flex;
	gap: 80px;
	align-items: flex-start;
}

.company-info__text {
	flex: 1;
}

.company-info__image {
	flex: 1;
}

.company-info__image img {
	width: 100%;
	height: auto;
	display: block;
}

.company-info__subsection {
	margin-bottom: 40px;
}

.company-info__subsection-title {
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 16px;
}

.company-info__subsection-body {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
}

/* ===========================================
 Video Section
 =========================================== */
.video-section {
	text-align: center;
}

.video-player {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	aspect-ratio: 16/9;
	/* background: #000000; */
	border-radius: 8px;
	overflow: hidden;
}

.video-player__thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 外部URL動画（iframe）を .video-player いっぱいに表示（Preview・TopPage・編集画面共通） */
.video-player .cms-video-embed-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-player .cms-video-embed-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.video-player__play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.video-player__play-button:hover {
	background: rgba(255, 255, 255, 1);
	transform: translate(-50%, -50%) scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-player__play-icon {
	width: 0;
	height: 0;
	border-left: 24px solid #000000;
	border-top: 14px solid transparent;
	border-bottom: 14px solid transparent;
	margin-left: 6px;
}

/* 会社紹介動画：メディア編集 / 動画リンク設定の2ボタン（ホバー時表示） */
.cms-company-video-editor .video-player {
	position: relative;
	min-height: 200px;
	background: linear-gradient(
		135deg,
		rgba(100, 80, 160, 0.15) 0%,
		rgba(80, 60, 140, 0.2) 100%
	);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed rgba(100, 80, 160, 0.5);
	border-radius: 8px;
}

.cms-company-video-editor .video-player:hover .cms-company-video-actions {
	opacity: 1;
	pointer-events: auto;
}

.cms-company-video-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 10px 14px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	background: rgba(0, 0, 0, 0.35);
	border-radius: 8px;
}

.cms-company-video-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 200px;
	padding: 12px 20px;
	background: #fff;
	color: #4f4f4f;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	transition:
		background 0.2s,
		box-shadow 0.2s;
	font-weight: 400;
	font-style: Regular;
	line-height: 26px;
	letter-spacing: 0%;
}

.cms-company-video-btn:hover {
	background: #f5f5f5;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cms-company-video-editor .cms-video-embed-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.cms-company-video-editor .cms-video-embed-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.cms-company-video-editor .cms-editable-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.cms-company-video-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.cms-video-placeholder-play {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	display: block;
}

.cms-video-placeholder-play::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin: 18px 0 0 24px;
	border-left: 24px solid rgba(255, 255, 255, 0.9);
	border-top: 14px solid transparent;
	border-bottom: 14px solid transparent;
}

.cms-video-placeholder-text {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
}

/* 動画リンク設定モーダル */
.video-link-label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: #333;
}

#video-link-embed-input {
	resize: vertical;
	min-height: 80px;
}

/* ===========================================
 Strategy Section
 =========================================== */
.strategy-section {
	padding: 80px 0;
}

.strategy-section__header {
	margin-bottom: 60px;
}

.strategy-section__title {
	font-size: 40px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 20px;
	text-align: left;
	line-height: 1.4;
	white-space: pre-line;
}

.strategy-section__divider {
	width: 100%;
	height: 1px;
	background: #e0e0e0;
	margin-bottom: 24px;
}

.strategy-section__intro {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	text-align: left;
	margin-bottom: 40px;
	white-space: pre-line;
}

.strategy-block {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	margin-bottom: 60px;
	padding-bottom: 60px;
	border-bottom: 1px solid #e0e0e0;
}

.strategy-block--border {
	border-top: 1px solid #e0e0e0;
	border-bottom: unset !important;
	padding-top: 60px;
}

.strategy-block:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.strategy-block--reverse {
	flex-direction: row-reverse;
}

.strategy-block__image {
	flex-shrink: 0;
	width: 40%;
}

.strategy-block__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.strategy-block__content {
	flex: 1;
}

.strategy-block__subtitle {
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 16px;
	line-height: 1.4;
	white-space: pre-line;
}

.strategy-block__description {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	margin-bottom: 24px;
	white-space: pre-line;
}

.strategy-block__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #ffffff;
	color: #000000;
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	transition: all 0.3s ease;
}

.strategy-block__button:hover {
	background: #f5f5f5;
	border-color: #cccccc;
}

.strategy-block__button::after {
	content: "→";
	font-size: 18px;
}

/* ===========================================
 Benefits Section
 =========================================== */
.benefits-section {
	padding: 80px 0;
}

.benefits-section__header {
	text-align: center;
	margin-bottom: 60px;
}

.benefits-section__title {
	font-size: 40px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 20px;
	line-height: 1.4;
	white-space: pre-line;
}

.benefits-section__subtitle {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	white-space: pre-line;
}

.benefits-content {
	display: flex;
	align-items: stretch;
	gap: 60px;
}

.benefits-content--reverse {
	flex-direction: row-reverse;
}

.benefits-content__image {
	flex: 1;
	min-height: 400px;
}

.benefits-content__image > div {
	height: 100% !important;
}

.benefits-content__image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.benefits-content__list {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.benefits-item {
	border-top: 1px solid #e0e0e0;
	padding: 24px 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.benefits-item:last-child {
	border-bottom: 1px solid #e0e0e0;
}

.benefits-item__content {
	flex: 1;
}

.benefits-item__title {
	font-size: 20px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 12px;
	line-height: 1.4;
	white-space: pre-line;
}

.benefits-item__description {
	font-size: 16px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	white-space: pre-line;
}

.benefits-item__arrow {
	font-size: 24px;
	color: #000000;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-top: 20px;
}

/* ===========================================
 Job Categories Section
 =========================================== */
.job-categories-section {
	padding: 80px 0;
}

.job-categories-section__title {
	font-size: 40px;
	font-weight: 700;
	color: #000000;
	text-align: center;
	margin-bottom: 60px;
	line-height: 1.4;
	white-space: pre-line;
}

.job-categories-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 60px;
}

.job-category-card {
	text-align: left;
}

.job-category-card__image {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	margin-bottom: 24px;
	border-radius: 0;
}

.job-category-card__title {
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 16px;
	line-height: 1.4;
}

.job-category-card__description {
	font-size: 16px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	margin-bottom: 20px;
}

.job-category-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 700;
	color: #000000;
	text-decoration: none;
	border-bottom: 2px solid #000000;
	padding-bottom: 4px;
	transition: all 0.3s ease;
}

.job-category-card__link:hover {
	opacity: 0.7;
}

.job-category-card__link::after {
	content: ">";
	font-size: 18px;
}

/* ===========================================
 Environment Section
 =========================================== */
.environment-section {
	padding: 80px 0;
	background: #f5f7fa;
}

.environment-section__header {
	text-align: center;
	margin-bottom: 60px;
}

.environment-section__title {
	font-size: 40px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 20px;
	line-height: 1.4;
}

.environment-section__subtitle {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
}

.environment-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.environment-card {
	background: #ffffff;
	padding: 60px 40px;
	text-align: center;
	border-right: 1px solid #e0e0e0;
}

.environment-card:last-child {
	border-right: none;
}

.environment-card__icon {
	width: 100px;
	height: 100px;
	margin: 0 auto 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.environment-card__icon svg,
.environment-card__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.environment-card__title {
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 24px;
	line-height: 1.4;
}

/* ===========================================
 Recruitment Section
 =========================================== */
.recruitment-section {
	padding: 80px 0;
}

.recruitment-section__header {
	text-align: center;
	margin-bottom: 60px;
}

.recruitment-section__title {
	font-size: 40px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 20px;
	line-height: 1.4;
	white-space: pre-line;
}

.recruitment-section__subtitle {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	white-space: pre-line;
}

.recruitment-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 60px;
}

.recruitment-card {
	background: #f5f7fa;
	border-radius: 16px;
	overflow: hidden;
	padding: 24px;
}

.recruitment-card__image {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 20px;
	background: #e8eef5;
}

.recruitment-card__title {
	font-size: 20px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 12px;
	line-height: 1.5;
}

.recruitment-card__description {
	font-size: 14px;
	font-weight: 400;
	color: #000000;
	line-height: 1.8;
	margin-bottom: 20px;
}

/* ===========================================
 Responsive - Tablet
 =========================================== */
@media (max-width: 1200px) {
	.container {
		padding: 0 40px;
	}

	.two-column,
	.two-column--reverse {
		flex-direction: column;
		gap: 40px;
	}

	.icon-cards,
	.profile-cards,
	.feature-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.company-info {
		flex-direction: column;
	}
}

/* ===========================================
 Responsive - Mobile
 =========================================== */
@media (max-width: 768px) {
	.container {
		padding: 0 20px;
	}

	.section {
		padding: 60px 0;
	}

	.section-title {
		font-size: 32px;
	}

	.two-column__title {
		font-size: 24px;
	}

	.icon-cards,
	.profile-cards,
	.feature-cards {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.icon-card,
	.feature-card {
		padding: 30px;
	}

	/* Strategy Section */
	.strategy-section {
		padding: 60px 0;
	}

	.strategy-section__title {
		font-size: 32px;
	}

	.strategy-block,
	.strategy-block--reverse {
		flex-direction: column;
		gap: 30px;
	}

	.strategy-block__image {
		width: 100%;
		max-width: 300px;
	}

	.strategy-block__subtitle {
		font-size: 20px;
	}

	.strategy-block__description {
		font-size: 16px;
	}

	/* Benefits Section */
	.benefits-section {
		padding: 60px 0;
	}

	.benefits-section__title {
		font-size: 32px;
	}

	.benefits-content,
	.benefits-content--reverse {
		flex-direction: column;
		gap: 40px;
	}

	.benefits-content__image {
		min-height: 300px;
	}

	.benefits-item__title {
		font-size: 18px;
	}

	.benefits-item__description {
		font-size: 14px;
	}

	/* Job Categories Section */
	.job-categories-section {
		padding: 60px 0;
	}

	.job-categories-section__title {
		font-size: 32px;
		margin-bottom: 40px;
	}

	.job-categories-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.job-category-card__title {
		font-size: 20px;
	}

	/* Environment Section */
	.environment-section {
		padding: 60px 0;
	}

	.environment-section__title {
		font-size: 32px;
	}

	.environment-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.environment-card {
		border-right: none;
		border-bottom: 1px solid #e0e0e0;
		padding: 40px 20px;
	}

	.environment-card:last-child {
		border-bottom: none;
	}

	.environment-card__title {
		font-size: 20px;
	}

	/* Recruitment Section */
	.recruitment-section {
		padding: 60px 0;
	}

	.recruitment-section__title {
		font-size: 32px;
	}

	.recruitment-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.recruitment-card__title {
		font-size: 18px;
	}
}

.video-link-form-footer {
	border: unset !important;
	justify-content: start !important;
	background: white !important;
}

.video-link-form-footer button {
	padding: 10px 14px !important;
	border-radius: 17px !important;
	background: #5c59e8 !important;
	width: 98px !important;
	font-weight: 400 !important;
	font-size: 14px !important;
	line-height: 14px !important;
	letter-spacing: 0% !important;
	text-align: center !important;
}

/* ============================================
   リソース削除確認モーダル（独自デザイン）
   ============================================ */

.cms-delete-confirm-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1060;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.cms-delete-confirm-modal.is-open {
	display: flex;
}

.cms-delete-confirm-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	cursor: default;
}

.cms-delete-confirm-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	padding: 16px 24px;
	max-width: 350px;
	width: 100%;
	text-align: center;
}

.cms-delete-confirm-modal__title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 700;
	color: #000;
	text-align: center;
}

.cms-delete-confirm-modal__message {
	margin: 0 0 24px;
	font-size: 14px;
	font-weight: 400;
	color: #000;
	line-height: 1.5;
}

.cms-delete-confirm-modal__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.cms-delete-confirm-modal__btn {
	padding: 5px 14px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	border-radius: 17px;
	cursor: pointer;
	transition:
		background-color 0.2s,
		border-color 0.2s,
		color 0.2s;
}

.cms-delete-confirm-modal__btn--cancel {
	background: #fff;
	border: 1px solid #e0e0e0;
	color: #4f4f4f;
}

.cms-delete-confirm-modal__btn--cancel:hover {
	background: #f5f5f5;
	border-color: #999;
	color: #333;
}

.cms-delete-confirm-modal__btn--delete {
	background: #eb5757;
	border: none;
	color: #fff;
}

.cms-delete-confirm-modal__btn--delete:hover {
	background: #d94e47;
}
