/* =========================================================
   01. 基本設定
   - トップページと同じ黒背景・ブルーアクセント系に合わせる
========================================================= */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	background: #05070d;
	color: #f5f7fb;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

.site-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 18% 18%, rgba(48, 169, 255, .18), transparent 32%),
		radial-gradient(circle at 80% 20%, rgba(121, 216, 255, .10), transparent 28%),
		linear-gradient(135deg, #05070d 0%, #07111f 48%, #05070d 100%);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}

.skip-link:focus {
	left: 20px;
	top: 20px;
	z-index: 10;
	background: #fff;
	color: #111;
	padding: 10px 14px;
}

/* =========================================================
   02. ヘッダー
========================================================= */
.contact-shell {
	width: min(1180px, calc(100% - 160px));
	margin: 0 auto;
}

.contact-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.brand-logo-wrap {
	position: relative;
	display: inline-block;
	width: 184px;
	height: 126px;
}

.brand-logo-base,
.brand-logo-dot {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.brand-logo-dot {
	pointer-events: none;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.header-link {
	margin-top: 42px;
	color: #c8d9ea;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.header-link:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* =========================================================
   03. メイン・ヒーロー
========================================================= */
.contact-main {
	padding: 52px 0 90px;
}

.contact-main.narrow {
	max-width: 920px;
	margin: 0 auto;
}

.contact-hero {
	max-width: 880px;
	margin: 0 auto 42px;
	text-align: center;
}

.eyebrow {
	margin: 0 0 16px;
	color: #75d8ff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.contact-hero h1 {
	margin: 0 0 20px;
	color: #ffffff;
	font-size: clamp(38px, 5vw, 68px);
	line-height: 1.18;
	letter-spacing: .02em;
}

.contact-hero .lead {
	margin: 0 auto;
	max-width: 780px;
	color: #d8e4ef;
	font-size: 18px;
	line-height: 2;
}

/* =========================================================
   04. レイアウト
========================================================= */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
	gap: 34px;
	align-items: start;
}

.contact-info,
.contact-card {
	border: 1px solid rgba(159, 210, 255, .20);
	background: rgba(255, 255, 255, .07);
	border-radius: 28px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
	backdrop-filter: blur(14px);
}

.contact-info {
	padding: 34px 32px;
}

.contact-info h2,
.contact-card h2 {
	margin: 0 0 18px;
	color: #ffffff;
	font-size: 24px;
	line-height: 1.5;
}

.contact-info p,
.contact-note,
.privacy-note,
.center p {
	color: #d8e4ef;
	font-size: 15px;
	line-height: 1.9;
}

.contact-info ul {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.contact-info li {
	position: relative;
	margin: 0 0 14px;
	padding-left: 22px;
	color: #f5f7fb;
	line-height: 1.8;
}

.contact-info li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .75em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #75d8ff;
	box-shadow: 0 0 18px rgba(117, 216, 255, .75);
}

.contact-card {
	padding: 38px 36px;
}

/* =========================================================
   05. フォーム
========================================================= */
.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 22px;
}

.form-field {
	margin: 0 0 24px;
}

.form-field.full {
	margin-top: 2px;
}

label {
	display: block;
	margin: 0 0 9px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
}

label span {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 6px;
	background: #75d8ff;
	color: #06111c;
	font-size: 11px;
	line-height: 1.3;
	border-radius: 999px;
}

label em {
	display: inline-block;
	margin-left: 6px;
	color: #aebfce;
	font-style: normal;
	font-size: 12px;
}

input,
select,
textarea {
	width: 100%;
	border: 1px solid rgba(159, 210, 255, .24);
	border-radius: 14px;
	background: rgba(255, 255, 255, .10);
	color: #ffffff;
	padding: 14px 15px;
	font-size: 16px;
	line-height: 1.5;
}

select option {
	color: #111;
}

textarea {
	min-height: 190px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: 3px solid rgba(117, 216, 255, .24);
	border-color: #75d8ff;
	background: rgba(255, 255, 255, .14);
}

::placeholder {
	color: #8fa2b5;
}

.form-actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 30px;
}

button,
.back-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(117, 216, 255, .45);
	border-radius: 999px;
	background: linear-gradient(135deg, #75d8ff, #2a92d8);
	color: #06111c;
	padding: 15px 30px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 18px 44px rgba(42, 146, 216, .28);
}

button:hover,
.back-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 22px 54px rgba(42, 146, 216, .34);
}

button.secondary {
	background: rgba(255, 255, 255, .08);
	color: #ffffff;
	box-shadow: none;
}

button.secondary:hover {
	background: rgba(255, 255, 255, .13);
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.error-box {
	margin: 0 0 24px;
	padding: 15px 18px;
	border: 1px solid rgba(255, 130, 130, .4);
	background: rgba(255, 80, 80, .10);
	color: #ffd1d1;
	border-radius: 14px;
}

.error-box p {
	margin: 0;
}

.error {
	margin: 8px 0 0;
	color: #ffd1d1;
	font-size: 13px;
	line-height: 1.6;
}

/* =========================================================
   06. 確認画面
========================================================= */
.confirm-list {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	margin: 28px 0;
	border: 1px solid rgba(159, 210, 255, .20);
	border-radius: 18px;
	overflow: hidden;
	background: rgba(255, 255, 255, .05);
}

.confirm-list dt,
.confirm-list dd {
	margin: 0;
	padding: 16px 18px;
	border-bottom: 1px solid rgba(159, 210, 255, .16);
	line-height: 1.8;
}

.confirm-list dt {
	background: rgba(117, 216, 255, .10);
	color: #ffffff;
	font-weight: 700;
}

.confirm-list dd {
	color: #d8e4ef;
}

.confirm-list dt:last-of-type,
.confirm-list dd:last-of-type {
	border-bottom: none;
}

.confirm-actions form {
	margin: 0;
}

.center {
	text-align: center;
}

/* =========================================================
   07. スマホ
========================================================= */
@media (max-width: 860px) {
	.contact-shell {
		width: min(100% - 32px, 1180px);
	}

	.contact-header {
		align-items: flex-start;
		padding: 22px 0;
	}

	.brand-logo-wrap {
		width: 184px;
		height: 126px;
	}

	.header-link {
		margin-top: 38px;
	}

	.contact-main {
		padding: 36px 0 64px;
	}

	.contact-hero {
		text-align: left;
	}

	.contact-hero h1 {
		font-size: 42px;
	}

	.contact-hero .lead {
		font-size: 16px;
		line-height: 1.9;
	}

	.contact-layout {
		grid-template-columns: 1fr;
	}

	.contact-info,
	.contact-card {
		border-radius: 22px;
	}

	.contact-info,
	.contact-card {
		padding: 28px 22px;
	}

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

	.confirm-list {
		grid-template-columns: 1fr;
	}

	.confirm-list dt {
		border-bottom: none;
		padding-bottom: 6px;
	}

	.confirm-list dd {
		padding-top: 6px;
	}

	.form-actions {
		flex-direction: column;
	}

	button,
	.back-link {
		width: 100%;
	}
}
