/* ============================================================
   contact.css — contact.html 専用スタイル
   依存: style.css（共通）を先に読み込むこと
   ============================================================ */

/* =============================================
   現在ページ強調
   ============================================= */

.nav-current {
	color: var(--yellow) !important;
}

.nav-current::after {
	width: 100% !important;
}

/* =============================================
   PAGE HERO
   ============================================= */

.contact-hero {
	position: relative;
	height: 52vh;
	min-height: 340px;
	display: flex;
	align-items: flex-end;
	padding: 64px 60px;
	overflow: hidden;
	margin-top: 70px;
}

.contact-hero-bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(192, 57, 43, 0.25) 0%, transparent 55%),
		linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%),
		url("../img/top-3.JPG") center / cover no-repeat;
	transform: scale(1.04);
	animation: heroBgZoom 20s ease infinite alternate;
}

@keyframes heroBgZoom {
	from {
		transform: scale(1.04);
	}
	to {
		transform: scale(1.1);
	}
}

.contact-hero-noise {
	position: absolute;
	inset: 0;
	opacity: 0.3;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
}

.contact-hero-frame {
	position: absolute;
	inset: 20px;
	border: 1px solid rgba(245, 197, 24, 0.15);
	pointer-events: none;
}

.contact-hero-frame::before,
.contact-hero-frame::after {
	content: "";
	position: absolute;
	width: 30px;
	height: 30px;
	border-color: var(--yellow);
	border-style: solid;
}

.contact-hero-frame::before {
	top: -1px;
	left: -1px;
	border-width: 2px 0 0 2px;
}
.contact-hero-frame::after {
	bottom: -1px;
	right: -1px;
	border-width: 0 2px 2px 0;
}

.contact-hero-content {
	position: relative;
	z-index: 2;
}

.contact-hero-label {
	font-family: var(--font-heading);
	font-size: 0.68rem;
	letter-spacing: 0.6em;
	color: var(--yellow);
	margin-bottom: 12px;
	opacity: 0;
	animation: fadeInUp 0.7s forwards 0.2s;
}

.contact-hero-title {
	font-family: var(--font-display);
	font-size: clamp(5rem, 13vw, 9rem);
	letter-spacing: 0.08em;
	line-height: 0.9;
	color: var(--white);
	opacity: 0;
	animation: fadeInUp 0.7s forwards 0.4s;
}

.contact-hero-sub {
	font-family: var(--font-script);
	font-size: clamp(1.2rem, 3vw, 1.8rem);
	color: rgba(245, 240, 232, 0.45);
	margin-top: 12px;
	opacity: 0;
	animation: fadeInUp 0.7s forwards 0.6s;
}

/* =============================================
   BODY レイアウト
   ============================================= */

.contact-body {
	background: var(--black);
	padding: 80px 0 0;
}

.contact-container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 60px;
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 80px;
	align-items: start;
}

/* =============================================
   LEFT: 情報パネル
   ============================================= */

.contact-info {
	position: sticky;
	top: 100px;
}

.info-catch {
	margin-bottom: 32px;
}

.info-catch-ja {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 2;
	color: var(--white);
	font-weight: 300;
	margin-bottom: 12px;
}

.info-catch-en {
	font-family: var(--font-script);
	font-size: 0.95rem;
	line-height: 1.8;
	color: rgba(245, 240, 232, 0.35);
}

.info-divider {
	height: 1px;
	background: rgba(245, 240, 232, 0.08);
	margin: 28px 0;
}

.info-block {
	margin-bottom: 4px;
}

.info-block-title {
	font-family: var(--font-heading);
	font-size: 0.68rem;
	letter-spacing: 0.45em;
	color: var(--yellow);
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.info-block-title i {
	font-size: 0.8rem;
}

/* ジャンルリスト */
.info-genre-list {
	list-style: none;
	padding: 0;
}

.info-genre-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.82rem;
	color: rgba(245, 240, 232, 0.65);
	padding: 9px 0;
	border-bottom: 1px solid rgba(245, 240, 232, 0.05);
	letter-spacing: 0.03em;
	transition: color 0.2s;
}

.info-genre-list li:last-child {
	border-bottom: none;
}

.info-genre-list li:hover {
	color: var(--white);
}

.genre-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--yellow);
	flex-shrink: 0;
}

/* 連絡先 */
.info-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(245, 240, 232, 0.05);
}

.info-contact-item:last-child {
	border-bottom: none;
}

.info-contact-item i {
	color: var(--yellow);
	font-size: 0.85rem;
	width: 16px;
	text-align: center;
	flex-shrink: 0;
}

.info-contact-item a,
.info-contact-item span {
	font-size: 0.8rem;
	color: rgba(245, 240, 232, 0.65);
	letter-spacing: 0.03em;
	transition: color 0.2s;
}

.info-contact-item a:hover {
	color: var(--yellow);
}

/* SNS */
.info-social {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.social-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 14px;
	border: 1px solid rgba(245, 240, 232, 0.07);
	color: rgba(245, 240, 232, 0.55);
	font-family: var(--font-heading);
	font-size: 0.72rem;
	letter-spacing: 0.3em;
	transition:
		color 0.25s,
		border-color 0.25s,
		background 0.25s;
	position: relative;
	overflow: hidden;
}

.social-link::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(245, 197, 24, 0.05);
	transform: translateX(-100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover::before {
	transform: translateX(0);
}
.social-link:hover {
	color: var(--yellow);
	border-color: rgba(245, 197, 24, 0.3);
}
.social-link i {
	font-size: 1rem;
	width: 18px;
	text-align: center;
	position: relative;
	z-index: 1;
}
.social-link span {
	position: relative;
	z-index: 1;
}

/* =============================================
   RIGHT: フォームカラム
   ============================================= */

.contact-form-col {
	padding-bottom: 100px;
}

/* フォームヘッダー */
.form-header {
	margin-bottom: 48px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

.form-heading {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: 0.2em;
	color: var(--white);
	margin-bottom: 10px;
}

.form-subheading {
	font-size: 0.82rem;
	color: rgba(245, 240, 232, 0.45);
	line-height: 1.8;
	letter-spacing: 0.05em;
}

/* フォームグループ */
.form-group {
	margin-bottom: 30px;
	position: relative;
}

.form-label {
	display: block;
	font-family: var(--font-heading);
	font-size: 0.68rem;
	letter-spacing: 0.45em;
	color: var(--yellow);
	margin-bottom: 10px;
	transition: color 0.2s;
}

.form-required {
	color: var(--red);
	margin-left: 4px;
}

/* インプット共通 */
.form-control {
	width: 100%;
	padding: 16px 18px;
	background: rgba(245, 240, 232, 0.03);
	border: 1px solid rgba(245, 240, 232, 0.1);
	border-bottom-color: rgba(245, 240, 232, 0.2);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 0.9rem;
	outline: none;
	transition:
		border-color 0.3s,
		background 0.3s;
	-webkit-appearance: none;
	border-radius: 0;
}

.form-control::placeholder {
	color: rgba(245, 240, 232, 0.2);
	font-size: 0.82rem;
}

.form-control:focus {
	border-color: var(--yellow);
	background: rgba(245, 197, 24, 0.03);
}

/* フォーカス時ラベルを白に */
.form-group:focus-within .form-label {
	color: var(--white);
}

/* テキストエリア */
.form-textarea {
	height: 180px;
	resize: vertical;
	line-height: 1.8;
}

/* セレクト */
.form-select-wrap {
	position: relative;
}

.form-select {
	cursor: pointer;
	padding-right: 44px;
}

.form-select option {
	background: var(--gray);
	color: var(--white);
}

.form-select-icon {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--yellow);
	font-size: 0.7rem;
	pointer-events: none;
}

/* エラーメッセージ */
.form-error {
	display: block;
	margin-top: 6px;
	font-family: var(--font-heading);
	font-size: 0.62rem;
	letter-spacing: 0.2em;
	color: var(--red);
	min-height: 16px;
}

.form-group.has-error .form-control {
	border-color: var(--red);
}

/* 送信ボタン */
.form-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-family: var(--font-heading);
	font-size: 0.85rem;
	letter-spacing: 0.5em;
	padding: 20px 32px;
	background: transparent;
	border: 1px solid var(--yellow);
	color: var(--yellow);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: color 0.3s;
	margin-top: 8px;
}

.form-submit::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--yellow);
	transform: translateX(-100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-submit:hover::before {
	transform: translateX(0);
}
.form-submit:hover {
	color: var(--black);
}
.form-submit-text,
.form-submit i {
	position: relative;
	z-index: 1;
}

.form-submit.sending {
	pointer-events: none;
	opacity: 0.6;
}

/* =============================================
   送信完了
   ============================================= */

.form-success {
	display: none;
	text-align: center;
	padding: 80px 40px;
}

.success-icon {
	width: 72px;
	height: 72px;
	border: 1px solid var(--yellow);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 32px;
	font-size: 1.5rem;
	color: var(--yellow);
	animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes successPop {
	from {
		transform: scale(0.5);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.success-title {
	font-family: var(--font-display);
	font-size: 3.5rem;
	letter-spacing: 0.3em;
	color: var(--white);
	margin-bottom: 28px;
}

.success-body-ja {
	font-size: 0.9rem;
	line-height: 2;
	color: rgba(245, 240, 232, 0.7);
	margin-bottom: 8px;
}

.success-body-en {
	font-size: 0.78rem;
	line-height: 1.9;
	color: rgba(245, 240, 232, 0.35);
	font-style: italic;
	margin-bottom: 48px;
}

.success-btn {
	display: inline-flex;
}

/* =============================================
   レスポンシブ
   ============================================= */

@media (max-width: 1050px) {
	.contact-container {
		grid-template-columns: 320px 1fr;
		gap: 60px;
	}
}

@media (max-width: 860px) {
	.contact-hero {
		padding: 48px 24px;
	}
	.contact-container {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 0 24px;
	}
	.contact-info {
		position: static;
		padding: 60px 0 48px;
		border-bottom: 1px solid rgba(245, 240, 232, 0.08);
	}
	.contact-form-col {
		padding-top: 60px;
		padding-bottom: 80px;
	}
	.contact-body {
		padding: 60px 0 0;
	}
}

@media (max-width: 540px) {
	.contact-hero-title {
		font-size: clamp(4rem, 18vw, 6rem);
	}
	.info-social {
		gap: 2px;
	}
}
