@charset "UTF-8";

/* =========================================
   FTA02000 新規登録画面 - Clean & Professional
   ========================================= */

/* Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-md);
	background-color: #f5f7fa;
	color: #333;
	line-height: 1.6;
}

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

/* =========================================
   Slim Header (50px)
   ========================================= */
.slim-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #1a2332;
	height: 50px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 0 24px;
	max-width: 1400px;
	margin: 0 auto;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-left .logo {
	height: 22px;
}

.header-left .divider {
	width: 1px;
	height: 16px;
	background: rgba(255, 255, 255, 0.3);
}

.header-left .page-title {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

/* Header Navigation */
.header-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nav-link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
	font-weight: 500;
	border-radius: 4px;
	transition: all 0.2s;
	background: transparent;
	cursor: pointer;
}

/* アイコンのみを囲むボックス */
.nav-link i {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.15);
	padding: 6px;
	border-radius: 4px;
	transition: all 0.2s;
}

/* ホバー時の全体反応（テキスト＋アイコン） */
.nav-link:hover {
	color: #fff;
}

.nav-link:hover i {
	background: rgba(255, 255, 255, 0.3);
	color: #fff;
}

.nav-link:hover span {
	color: #fff;
}

/* =========================================
   Step Indicator
   ========================================= */
.step-indicator {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px 0;
	background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
	border-bottom: 1px solid #e9ecef;
	gap: 0;
}

.step {
	display: flex;
	align-items: center;
}

.step-circle {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.step-circle.completed {
	background: #409EFF;
	color: white;
	border-color: #409EFF;
}

.step-circle.active {
	background: white;
	color: #409EFF;
	border: 2px solid #409EFF;
	box-shadow: 0 2px 8px rgba(64, 158, 255, 0.25);
}

.step-circle.pending {
	background: #f5f7fa;
	color: #c0c4cc;
	border: 2px solid #e4e7ed;
}

.step-label {
	margin-left: 8px;
	font-size: 13px;
	font-weight: 500;
}

.step.completed .step-label,
.step.active .step-label {
	color: #303133;
}

.step.pending .step-label {
	color: #909399;
}

.step-line {
	width: 60px;
	height: 2px;
	background: #e4e7ed;
	margin: 0 15px;
}

.step-line.completed {
	background: #409EFF;
}

/* =========================================
   Main Content
   ========================================= */
#app {
	padding-top: 50px;
	padding-bottom: 60px;
}

.signin-information {
	max-width: 620px;
	margin: 0 auto;
	padding: 0 16px;
}

/* =========================================
   Card Section
   ========================================= */
.card-section,
#company-info-group,
#constract-info-group,
#user-info-group {
	scroll-margin-top: 140px;
}

.card-section {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	padding: 24px 28px;
	margin-bottom: 20px;
	position: relative;
}

/* 上部の青ライン（単色） */
.card-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #409EFF;
	border-radius: 8px 8px 0 0;
}

/* Section Header */
.section-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

/* アイコンボックス（単色ブルー） */
.icon-box {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: #fff;
	background: #409EFF;
}

.icon-box.blue {
	background: #409EFF;
}

.icon-box.green {
	background: #409EFF;
}

.icon-box.orange {
	background: #409EFF;
}

.section-header h3 {
	font-size: 15px;
	font-weight: 700;
	color: #303133;
	margin: 0;
}

/* =========================================
   フォーム要素（ラベル横配置）
   ========================================= */
.el-form-item {
	margin-bottom: 18px;
}

.el-form-item__label {
	font-size: 13px;
	font-weight: 600;
	color: #303133 !important;
	line-height: 38px !important;
}

/* 必須項目のアスタリスク */
.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label-wrap>.el-form-item__label::before,
.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label::before {
	color: #f56c6c;
	margin-right: 2px;
}

/* 入力欄のラッパー */
.el-input,
.el-select {
	width: 100%;
}

/* ====== Element Plusのスタイルを強制上書き ====== */

/* 通常状態：グレー背景 */
#app .el-form .el-input .el-input__wrapper,
#app .el-form .el-select .el-input .el-input__wrapper,
.signin-information .el-input__wrapper {
	background-color: #f5f7fa !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	border: 1px solid #e4e7ed !important;
	padding: 0 12px !important;
	transition: all 0.2s !important;
}

/* ホバー状態 */
#app .el-form .el-input .el-input__wrapper:hover,
#app .el-form .el-select .el-input .el-input__wrapper:hover,
.signin-information .el-input__wrapper:hover {
	box-shadow: none !important;
	border-color: #dcdfe6 !important;
}

/* フォーカス状態：白背景＋青枠線 */
#app .el-form .el-input .el-input__wrapper.is-focus,
#app .el-form .el-select .el-input .el-input__wrapper.is-focus,
.signin-information .el-input__wrapper.is-focus {
	box-shadow: none !important;
	background-color: #fff !important;
	border: 1px solid #409EFF !important;
}

/* 入力済み状態(is-filled)：白背景＋青枠線 */
#app .el-form .el-input.is-filled .el-input__wrapper,
#app .el-form .el-select.is-filled .el-input .el-input__wrapper,
.signin-information .el-input.is-filled .el-input__wrapper {
	box-shadow: none !important;
	background-color: #fff !important;
	border: 1px solid #409EFF !important;
}

/* バリデーションエラー時 */
#app .el-form .el-form-item.is-error .el-input__wrapper,
.signin-information .el-form-item.is-error .el-input__wrapper {
	box-shadow: none !important;
	border: 1px solid #f56c6c !important;
	background-color: #fff !important;
}

/* 入力欄の内部スタイル */
.el-input__inner {
	height: 38px !important;
	font-size: 13px !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

.el-input__inner::placeholder {
	color: #c0c4cc;
	font-size: 13px;
}

/* セレクトスタイル（グレー背景＋枠線） */
#app .el-form .el-select .el-input .el-input__wrapper,
#app .el-form .el-select .el-select__wrapper,
.signin-information .el-select .el-input__wrapper,
.signin-information .el-select .el-select__wrapper {
	background-color: #f5f7fa !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	border: 1px solid #e4e7ed !important;
}

/* セレクトのフォーカス時は白背景 */
#app .el-form .el-select .el-input.is-focus .el-input__wrapper,
#app .el-form .el-select.is-focus .el-select__wrapper,
.signin-information .el-select .el-input.is-focus .el-input__wrapper,
.signin-information .el-select.is-focus .el-select__wrapper {
	background-color: #fff !important;
	border: 1px solid #409EFF !important;
}

/* セレクトの選択済み状態は白背景 */
#app .el-form .el-select.is-filled .el-input .el-input__wrapper,
#app .el-form .el-select.is-filled .el-select__wrapper,
.signin-information .el-select.is-filled .el-input__wrapper,
.signin-information .el-select.is-filled .el-select__wrapper {
	background-color: #fff !important;
	border: 1px solid #409EFF !important;
}

/* 文字数カウンター */
.el-input__count {
	font-size: 11px;
	color: #909399;
	background: transparent !important;
}

.el-input__count-inner {
	background: transparent !important;
}

/* =========================================
   Agreement Section
   ========================================= */
.agreement-container {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	padding: 24px 28px;
	margin-bottom: 20px;
	text-align: center;
}

.agreement-container h2 {
	font-size: 14px;
	font-weight: 700;
	color: #303133;
	margin: 0 0 10px 0;
}

.agreement-container p {
	font-size: 12px;
	color: #909399;
	line-height: 1.7;
	margin: 0 0 16px 0;
}

.agreement-checkbox-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: #f5f7fa;
	border-radius: 6px;
}

.agreement-checkbox-wrapper input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
	accent-color: #409EFF;
}

.agreement-checkbox-wrapper label {
	font-size: 13px;
	font-weight: 500;
	color: #606266;
}

.agreement-checkbox-wrapper a {
	color: #409EFF;
	font-weight: 600;
}

/* =========================================
   Buttons
   ========================================= */
.btn-container {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.confirm-btn,
.btn.confirm-btn {
	min-width: 140px;
	height: 44px;
	font-size: 14px;
	font-weight: 600;
	background: #409EFF;
	border: none;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s;
}

.confirm-btn:hover:not(:disabled) {
	background: #66b1ff;
}

.confirm-btn:disabled {
	background: #a0cfff;
	cursor: not-allowed;
}

.back-btn,
.btn.back-btn {
	min-width: 140px;
	height: 44px;
	font-size: 14px;
	font-weight: 500;
	background: #fff;
	border: 1px solid #dcdfe6;
	border-radius: 6px;
	color: #606266;
	cursor: pointer;
	transition: all 0.2s;
}

.back-btn:hover {
	border-color: #c0c4cc;
	color: #409EFF;
}

/* =========================================
   1ヶ月無料バナー
   ========================================= */
.free-trial-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	border: 2px solid #66bb6a;
	border-radius: 12px;
	padding: 18px 24px;
	margin-bottom: 24px;
	box-shadow: 0 4px 12px rgba(102, 187, 106, 0.25);
	position: relative;
	overflow: hidden;
}

.free-trial-banner::before {
	content: '';
	position: absolute;
	top: -20px;
	right: -20px;
	width: 100px;
	height: 100px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
}

.free-trial-icon {
	font-size: 2.4rem;
	color: #2e7d32;
	flex-shrink: 0;
	animation: bounce 1.8s infinite;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

.free-trial-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.free-trial-title {
	font-size: 0.88rem;
	font-weight: 700;
	color: #1b5e20;
	white-space: nowrap;
}

.free-trial-title strong {
	font-size: 1rem;
	color: #e53935;
}

.free-trial-sub {
	font-size: 0.78rem;
	color: #388e3c;
	white-space: nowrap;
}

.free-trial-badge {
	background: linear-gradient(135deg, #43a047, #1b5e20);
	color: #fff;
	font-size: 1rem;
	font-weight: 900;
	text-align: center;
	line-height: 1.2;
	padding: 10px 16px;
	border-radius: 50%;
	width: 68px;
	height: 68px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 3px 8px rgba(0,0,0,0.2);
	letter-spacing: 0.5px;
}

.free-trial-badge span {
	font-size: 0.72rem;
	font-weight: 600;
	opacity: 0.9;
}

/* =========================================
   Legacy Support
   ========================================= */
.container-tittle,
.sub-tittle,
.tittle-row,
.tittle,
.group-tittle {
	display: none !important;
}

.company-info-group,
.constract-info-group,
.user-info-group {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	padding: 24px 28px;
	margin-bottom: 20px;
	position: relative;
}

.company-info-group::before,
.constract-info-group::before,
.user-info-group::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #409EFF;
	border-radius: 8px 8px 0 0;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
	.header-left .page-title {
		display: none;
	}

	.nav-link span {
		display: none;
	}

	.signin-information {
		padding: 0 12px;
	}

	.card-section,
	.agreement-container {
		padding: 20px;
	}

	.btn-container {
		flex-direction: column;
		align-items: center;
	}

	.confirm-btn,
	.back-btn {
		width: 100%;
		max-width: 240px;
	}
}