@charset "UTF-8";

/* ========================================
   変数定義 (カラーパレット・フォント)
======================================== */
:root {
	--font-sans: 'Noto Sans JP', sans-serif;
	--font-serif: 'Shippori Mincho', serif;
	--font-en: 'Playfair Display', serif;
	--font-eng: 'Playfair Display', serif;

	--gold: #c5a059;
	--gold-dark: #a38042;
	--dark-bg: #0f0f0f;

	/* パネルと入力欄のすりガラス用半透明カラー */
	--panel-bg: rgba(26, 26, 26, 0.85);
	--input-bg: rgba(36, 36, 36, 0.7);
	--border-color: rgba(255, 255, 255, 0.1);

	--text-main: #d4d4d8;
	--text-muted: #a1a1aa;
	--text-dim: #71717a;
}

/* ========================================
   Base Reset
======================================== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-sans);
	color: var(--text-main);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	position: relative;
	z-index: 0;
}

/* ========================================
   背景 & オーバーレイ (すりガラス)
======================================== */
.bg-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: -2;
	background-image: url('https://images.unsplash.com/photo-1578683010236-d716f9a3f461?auto=format&fit=crop&w=1920&q=80');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.blur-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

/* ========================================
   Header & Footer
======================================== */
.site-header {
	margin-bottom: 2rem;
	text-align: center;
}
.site-logo {
	display: inline-block;
	font-family: var(--font-en);
	font-size: 2.25rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #fff;
	text-decoration: none;
	transition: color 0.3s;
}
.site-logo:hover {
	color: var(--gold);
}
.site-subtitle {
	color: var(--text-dim);
	font-size: 0.75rem;
	margin-top: 0.5rem;
	font-family: var(--font-serif);
	letter-spacing: 0.1em;
}

.site-footer {
	margin-top: 2rem;
	text-align: center;
	color: var(--text-dim);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	font-family: var(--font-en);
	background: initial;
}

/* ========================================
   Main Panel
======================================== */
.main-panel {
	width: 100%;
	max-width: 450px;
	background: var(--panel-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: 0.75rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	border: 1px solid var(--border-color);
	overflow: hidden;
}

/* ========================================
   Tab Navigation
======================================== */
.tab-nav {
	display: flex;
	border-bottom: 1px solid var(--border-color);
}
.tab-btn {
	flex: 1;
	padding: 1rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	color: var(--text-dim);
	cursor: pointer;
	transition: all 0.3s;
	font-family: inherit;
}
.tab-btn:hover {
	color: #fff;
}
.tab-btn.active {
	color: #fff;
	border-bottom-color: var(--gold);
}

/* ========================================
   Forms
======================================== */
.form-container {
	padding: 2rem;
}
.form-block {
	display: none;
}
.form-block.active {
	display: block;
	animation: fadeIn 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.form-title {
	font-size: 1.25rem;
	font-family: var(--font-serif);
	color: #fff;
	margin-bottom: 1.5rem;
	text-align: center;
}

.form-group {
	margin-bottom: 1.25rem;
	position: relative;
}
.form-label {
	display: block;
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-bottom: 0.25rem;
	letter-spacing: 0.05em;
}

.form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.25rem;
}
.form-link {
	font-size: 0.75rem;
	color: var(--gold);
	text-decoration: none;
	transition: color 0.3s;
}
.form-link:hover {
	color: var(--gold-dark);
}

.form-input {
	width: 100%;
	background: var(--input-bg);
	border: 1px solid var(--border-color);
	border-radius: 0.25rem;
	padding: 0.75rem 1rem;
	color: #fff;
	font-size: 1rem;
	font-family: inherit;
	transition: all 0.3s;
	outline: none;
}
.form-input:focus {
	border-color: var(--gold);
	box-shadow: 0 0 0 1px var(--gold);
}

/* ブラウザの自動入力(オートフィル)時に背景が白くなるのを防ぐハック */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px #242424 inset !important;
	-webkit-text-fill-color: white !important;
	transition: background-color 5000s ease-in-out 0s;
}

.form-checkbox-wrap {
	display: flex;
	align-items: center;
	margin-top: 0.5rem;
}
.form-checkbox {
	width: 1rem;
	height: 1rem;
	accent-color: var(--gold);
	cursor: pointer;
}
.form-checkbox-label {
	margin-left: 0.5rem;
	font-size: 0.875rem;
	color: var(--text-muted);
	cursor: pointer;
}

.form-text-small {
	font-size: 0.75rem;
	color: var(--text-dim);
	margin-top: 1rem;
	line-height: 1.6;
}

/* ========================================
   Buttons
======================================== */
.btn-submit {
	width: 100%;
	background: var(--gold);
	color: var(--dark-bg);
	font-weight: 700;
	padding: 0.75rem 1rem;
	border: none;
	border-radius: 0.25rem;
	cursor: pointer;
	transition: background 0.3s;
	letter-spacing: 0.1em;
	margin-top: 1.5rem;
	font-family: inherit;
	font-size: 1rem;
}
.btn-submit:hover {
	background: var(--gold-dark);
}

.btn-outline {
	background: transparent;
	border: 1px solid var(--gold);
	color: var(--gold);
}
.btn-outline:hover {
	background: var(--gold);
	color: var(--dark-bg);
}






		p.er   { width:100%; max-width: 600px; margin:0 auto 10px auto; padding:10px; background: #FD4D4D; color:#fff; text-align: center; font-size:90%; }
		p.rock { width:100%; max-width: 600px; margin:0 auto 10px auto; padding:10px; background: #B64CE7; color:#fff; text-align: center; font-size:90%; }

		#tpass  { position:absolute; top:50%; right: 5%; width: 25px; height: 25px; cursor: pointer; }
		#tpass_add1  { position:absolute; top:50%; right: 5%; width: 25px; height: 25px; cursor: pointer; }
		#tpass_add2  { position:absolute; top:50%; right: 5%; width: 25px; height: 25px; cursor: pointer; }
		.eye { background-image: url(../forget/img/eye-open.png); background-size: 100% 100%; opacity: 0.4; }
		.no-eye { background-image: url(../forget/img/eye-close.png); background-size: 100% 100%; opacity: 0.4; }

		.hide { display: none; }