@charset "utf-8";
/* ===============================================
   Contact ページ
   =============================================== */

/* --- 2カラム --- */
body .wp-block-columns.contact-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) calc(380px + var(--page-side));
	gap: 0;
	width: 100vw;
	max-width: none;
	margin: 0 calc(50% - 50vw);
	padding: 0;
}
.contact-wrap > .wp-block-column {
	flex-basis: auto;
	min-width: 0;
	margin: 0;
}

/* 左：フォーム */
.contact-wrap .contact-form-side {
	padding: 72px 56px 72px calc(80px + var(--page-side));
	border-right: 1px solid #e8e8e8;
	background: #f8f8f8;
}

/* 右：Access */
.contact-wrap .contact-info-side {
	padding: 72px calc(48px + var(--page-side)) 72px 48px;
	background: #fafafa;
}

/* reCAPTCHA の表記：薄いグレーの背景で読めるように */
body .contact-form-side .wpcf7 p.cf7-recaptcha-note {
	color: #888;
}

/* ===============================================
   右カラム：Access
   =============================================== */
body .contact-info-side .contact-info__title {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.3;
	color: var(--blue);
}

/* 地図 */
body .contact-info-side .contact-map {
	position: relative;
	height: 200px;
	margin: 0 0 20px;
	border-radius: 4px;
	overflow: hidden;
	background: #eee;
}
.contact-map iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 各ブロック */
body .contact-info-side .contact-block {
	margin: 0 0 36px;
}
body .contact-info-side .contact-block:last-child {
	margin-bottom: 0;
}
body .contact-info-side .contact-block__title {
	margin: 0 0 16px;
	padding: 0 0 8px;
	border: 0;
	border-bottom: 2px solid var(--blue);
	background: none;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--blue);
}

/* 住所・電話・駅 */
body .contact-info-side .contact-item {
	position: relative;
	margin: 0 0 14px;
	padding-left: 30px;
	font-size: 16px;
	line-height: 1.6;
	color: #444;
}
body .contact-info-side .contact-item:last-child {
	margin-bottom: 0;
}
.contact-item::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 16px;
	height: 16px;
	background-color: var(--gold);
	-webkit-mask: var(--contact-icon) no-repeat center / contain;
	mask: var(--contact-icon) no-repeat center / contain;
}
.contact-item--address {
	--contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 1a5 5 0 0 0-5 5c0 3.8 5 9 5 9s5-5.2 5-9a5 5 0 0 0-5-5zm0 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E");
}
.contact-item--tel {
	--contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.1 1.5 6.4 1.3l1.4 3.4-1.6 1.2a8.5 8.5 0 0 0 4.3 4.3l1.2-1.6 3.4 1.4-.2 2.3A2.1 2.1 0 0 1 12.8 14 12.6 12.6 0 0 1 2 3.2a2.1 2.1 0 0 1 2.1-1.7z'/%3E%3C/svg%3E");
}
.contact-item--station {
	--contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4 1h8a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2l1.5 2.5h-1.7L10.5 12h-5l-1.3 2.5H2.5L4 12a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2zm0 2v4h8V3H4zm1 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E");
}
.contact-item a {
	color: var(--blue);
	font-weight: 500;
	text-decoration: none;
}
.contact-item a:hover {
	text-decoration: underline;
}
.contact-item strong {
	color: #222;
}

/* Follow Us のボタン */
body .contact-info-side .contact-social-btn {
	margin: 8px 0 0;
}
.contact-social-btn a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 3px;
	background: var(--blue);
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color .2s;
}
.contact-social-btn a:hover {
	background: var(--blue-hover);
	color: var(--white);
	text-decoration: none;
}

/* ===============================================
   左カラム：Contact Form 7
   =============================================== */
.cf7-form {
	padding: 0;
	border-radius: 0;
	background: none;
}

/* 導入文 */
.cf7-intro {
	margin-bottom: 32px;
}
body .cf7-form .cf7-intro__text {
	margin: 0;
	font-size: var(--fs-text);
	line-height: var(--lh-text);
	color: #555;
}

/* 行・列 */
.cf7-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
	margin-bottom: 20px;
}
.cf7-row--full {
	grid-template-columns: 1fr;
}
body .container :is(.is-layout-flow, .is-layout-constrained) .cf7-col p:where(:not(:last-child)),
.cf7-col p {
	margin-bottom: 0 !important;
}

/* ラベル */
.cf7-label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #444;
}
.cf7-form .cf7-req {
	margin-left: 2px;
	color: #c0392b;
}

/* 入力欄 */
.cf7-form .cf7-input,
.cf7-form .cf7-select,
.cf7-form .cf7-textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid #ddd;
	border-radius: 3px;
	background: var(--white);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	box-sizing: border-box;
	transition: border-color .2s, box-shadow .2s;
}
.cf7-form .cf7-input:focus,
.cf7-form .cf7-select:focus,
.cf7-form .cf7-textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(50, 18, 122, .08);
}
.cf7-form .cf7-textarea {
	min-height: 140px;
	resize: vertical;
}

.cf7-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

/* セレクトボックスの矢印 */
.cf7-form .cf7-select {
	height: auto;
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	color: #555;
}

/* 同意チェック */
.cf7-consent {
	margin: 16px 0 0;
}
.cf7-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}
.cf7-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 16px;
	line-height: 1.7;
	color: #444;
	cursor: pointer;
}
.cf7-form .wpcf7-acceptance input[type="checkbox"] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: var(--blue);
	cursor: pointer;
}
.cf7-form .wpcf7-acceptance a {
	color: var(--blue);
	text-decoration: underline;
}

/* 区切り線 */
.cf7-form .cf7-divider {
	margin: 20px 0;
	border: 0;
	border-top: 1px solid #e0e0e0;
	opacity: 1;
}

/* NEWS & INSIGHTS の見出し */
body .cf7-form .cf7-consent-title h4 {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.4;
	text-transform: uppercase;
	color: #999;
}
.cf7-consent-title + .cf7-consent {
	margin-top: 0;
}

/* 送信ボタン */
.cf7-submit {
	margin-top: 20px;
}
.cf7-form .cf7-btn {
	display: inline-block;
	padding: 13px 36px;
	border: 0;
	border-radius: 3px;
	background: var(--blue);
	color: var(--white);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	cursor: pointer;
	transition: background-color .2s;
	-webkit-appearance: none;
}
.cf7-form .cf7-btn:hover {
	background: var(--blue-hover);
}
.cf7-form .cf7-btn:disabled {
	opacity: .5;
	cursor: not-allowed;
}

/* 送信中スピナー */
.cf7-form .wpcf7-spinner {
	margin: 0 0 0 14px;
	vertical-align: middle;
}

/* エラー・完了メッセージ */
.cf7-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 12px;
	color: #c0392b;
}
.cf7-form .wpcf7-form-control.wpcf7-not-valid {
	border-color: #c0392b;
}
.cf7-form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 18px;
	border-radius: 3px;
	font-size: 13px;
	background: var(--white);
}

/* ===============================================
   レスポンシブ
   =============================================== */
/* タブレット */
@media (max-width: 991.98px) {
	body .wp-block-columns.contact-wrap {
		grid-template-columns: 1fr;
	}
	.contact-wrap .contact-form-side {
		padding: 56px var(--content-gutter);
		border-right: 0;
		border-bottom: 1px solid #e8e8e8;
	}
	.contact-wrap .contact-info-side {
		padding: 56px var(--content-gutter);
	}
	body .contact-info-side .contact-map {
		height: 240px;
	}
}

/* スマホ */
@media (max-width: 767.98px) {
	.cf7-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.cf7-form .cf7-btn {
		width: 100%;
	}
}

/* SP：見出し */
@media (max-width: 767.98px) {
	body .contact-info-side .contact-info__title {
		font-size: 26px;
	}
}

/* SP：フォームをトップの Stay Updated と揃える */
@media (max-width: 767.98px) {
	.cf7-row {
		gap: 16px;
		margin-bottom: 16px;
	}
	.cf7-label {
		margin-bottom: 6px;
		font-family: "Open Sans", sans-serif;
		font-size: 12px;
		font-weight: 400;
		line-height: 18px;
		letter-spacing: 1px;
		text-transform: uppercase;
	}
	.cf7-form .cf7-input,
	.cf7-form .cf7-select,
	.cf7-form .cf7-textarea {
		padding: 16px;
		border: 1px solid #ddd;
		border-radius: 8px;
		font-family: "Open Sans", sans-serif;
		font-size: 15px;
		line-height: 20px;
	}
	.cf7-form .cf7-input,
	.cf7-form .cf7-select {
		min-height: 56.5px;
	}
	.cf7-form .cf7-select {
		padding-right: 40px;
	}
}

/* SP：ページの上下の余白 48px */
@media (max-width: 767.98px) {
	.contact-wrap .contact-form-side,
	.contact-wrap .contact-info-side {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}
