/* ==================================================================
   お問い合わせ欄・フッター 新デザイン（2026-10-28 作成・2026-11-09 本番反映）
   部品：parts/contact-{default,faq,apply}.html・parts/footer.html（make_parts.py で生成）
   - デザインの基本は機種詳細ページ（/server/vivi-water-long/ など）。見出しは機種ページの .h2-ttl-box と同じ書体・大きさ
     （日本語の見出し 32px／スマホ24px・#333）。英字のサブ見出しと点々は付けない。並びは左寄せのまま
   - お問い合わせ欄：左に見出し、右に「お電話／Webでお申し込み／Webでお問い合わせ」を行で並べる。
     ページによって行の数が変わっても同じ形
   - 方針（2026-10-28 千葉さん）：レイアウトは ANKER Japan、見た目（色・文字・線・角丸）は Apple のサイトを参考にする
   - フッター：並びは ANKER（上に白いカード／小見出し＋文字リンクの段組み／SNS／線で区切って規約と©。スマホは2列でたたまない）。
     見た目は Apple（小見出しに飾りなし・角丸18px・枠線なしのカード・規約は細い縦線で区切る）
   - 色は新しく増やさず、今のサイト（機種詳細ページ）で使っている色だけにする（2026-10-28 千葉さん）
     灰色は5段階（テーマにもともとある色）で使い分けて、Appleのように「濃さで大事さの順番」を作る
       --vu-g1 #333 … 見出し・カードの名前・電話番号・本文
       --vu-g2 #666 … 補足・リンク・受付時間・注意書き・規約・©（文字はここより薄くしない＝読みやすさのため）
       --vu-g3 #999 … 矢印・外部リンクなどのアイコンだけ（文字には使わない）
       --vu-g4 #ccc … 区切り線
       --vu-g5 #f3f3f3 … 面（フッター・アイコンの下地）
     ほかは白 #fff と、ボタンの青 #0465cc だけ
   - アイコンは Google Material Symbols（Outlined）だけ。SNSはロゴを自作せず名前の文字で出す
   - 既存のテーマCSSに引っ張られないよう、.vu- で始まる名前だけを使い、必要なところは打ち消す
================================================================== */

.vu-contact,
.vu-footer {
	--vu-g1: #333;
	--vu-g2: #666;
	--vu-g3: #999;
	--vu-g4: #ccc;
	--vu-g5: #f3f3f3;
	--vu-ink: var(--vu-g1);
	--vu-text: var(--vu-g1);
	--vu-mute: var(--vu-g2);
	--vu-line: var(--vu-g4);
	--vu-blue: #0465cc; /* 11/6 #3797db・#1579c1 を試したが元の #0465cc に戻した */
	--vu-gutter: clamp(20px, 4vw, 56px);
	--vu-gap: clamp(32px, 5vw, 72px);
	font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	letter-spacing: 0.02em;
	-webkit-font-smoothing: antialiased;
}

.vu-contact *,
.vu-footer * {
	box-sizing: border-box;
}

.vu-contact p,
.vu-contact h2,
.vu-contact ul,
.vu-footer p,
.vu-footer ul {
	margin: 0;
	padding: 0;
}

.vu-contact ul,
.vu-footer ul {
	list-style: none;
}

/* テーマ側の中央ぞろえを打ち消す */
.vu-contact,
.vu-contact *,
.vu-footer,
.vu-footer * {
	text-align: left;
}

.vu-contact ul li::before,
.vu-footer ul li::before,
.vu-footer ul li a::before,
.vu-footer ul li a::after {
	content: none !important;
	display: none !important;
}

.vu-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--vu-gutter);
}

.vu-sp {
	display: none;
}

/* Material Symbols（parts/head.html で読み込み） */
.vu-ic {
	display: inline-block;
	flex: 0 0 auto;
	font-family: "Material Symbols Outlined" !important;
	font-weight: normal;
	font-style: normal;
	font-size: 20px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	direction: ltr;
	-webkit-font-feature-settings: "liga";
	font-feature-settings: "liga";
	font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 20;
	-webkit-font-smoothing: antialiased;
}

.vu-arw {
	font-size: 18px;
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- お問い合わせ欄 ---------- */
.vu-contact {
	padding: clamp(48px, 5.5vw, 72px) 0;
	background: #fff;
	border-top: 1px solid var(--vu-line);
	color: var(--vu-text);
}

.vu-contact-in {
	display: grid;
	grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
	gap: var(--vu-gap);
	align-items: start;
}

/* 見出し：機種ページの .h2-ttl-box と同じ形 */
.vu-ttl {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.vu-contact .vu-ttl h2 {
	margin: 0;
	padding: 0;
	background: none;
	font-family: "Lato", "Noto Sans JP", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 1.4px;
	color: var(--vu-g1);
}

.vu-contact .vu-ttl h2::before,
.vu-contact .vu-ttl h2::after {
	content: none;
}

.vu-lead {
	margin-top: 14px !important;
	font-size: 15px;
	line-height: 1.9;
	color: var(--vu-mute);
}

.vu-rows {
	border-top: 1px solid var(--vu-line);
}


.vu-row {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid var(--vu-line);
}

.vu-row-ttl {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--vu-ink);
}

.vu-row-sub {
	margin-top: 4px !important;
	font-size: 12px;
	color: var(--vu-mute);
}

.vu-row-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.vu-row-text {
	font-size: 14px;
	line-height: 1.8;
	color: var(--vu-text);
}

.vu-tels {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	width: 100%;
}

/* 2つを同じ幅で横に並べ、番号が入りきらないときだけ 0800 を下の段へ。番号そのものは途中で折り返さない */
.vu-tels > li {
	flex: 1 1 0;
}

.vu-tel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 2px 6px;
	padding: 0;
	color: var(--vu-ink);
	text-decoration: none;
}

.vu-tel-num {
	white-space: nowrap;
	font-family: "Lato", "Noto Sans JP", sans-serif;
	font-size: clamp(24px, 2.2vw, 28px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	transition: color 0.3s;
}

/* 窓口の名前は番号の上、電話アイコンは番号の左、受付時間は番号の下（名前・時間は番号の頭にそろえる） */
.vu-tel-label {
	grid-column: 2;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--vu-g2);
}

.vu-tel-line {
	display: contents; /* PCではアイコンと番号をそのまま並びに参加させる（スマホでは1行のかたまりにする） */
}

.vu-tel-ic {
	grid-row: 2;
	font-size: clamp(22px, 2vw, 26px);
	color: inherit;
}

.vu-tel-num,
.vu-tel-time {
	grid-column: 2;
}

.vu-tel:hover .vu-tel-num {
	color: var(--vu-blue);
}

.vu-tel-time {
	font-size: 13px;
	line-height: 1.5;
	color: var(--vu-mute);
}

.vu-nw {
	white-space: nowrap;
}

.vu-note {
	font-size: 12px;
	color: var(--vu-mute);
}

.vu-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--vu-blue);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	transition: opacity 0.3s, transform 0.4s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.vu-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

.vu-btn:hover .vu-arw {
	transform: translateX(3px);
}

/* ---------- フッター（並びは ANKER、見た目は Apple） ---------- */
footer.vu-footer {
	--vu-ft-strong: var(--vu-g1);
	--vu-ft-text: var(--vu-g2);
	--vu-ft-mute: var(--vu-g2);
	--vu-ft-line: var(--vu-g4);
	position: relative;
	margin: 0;
	padding: 40px 0 48px;
	background: var(--vu-g5) !important;
	color: var(--vu-ft-mute);
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: 0;
	text-align: left;
}

footer.vu-footer::before,
footer.vu-footer::after {
	content: none !important;
	display: none !important;
}

.vu-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s, background 0.2s;
}

/* 上段：白いカード（角丸大きめ・枠線なし） */
.vu-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.vu-card {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 18px 18px 18px 20px;
	border-radius: 18px;
	background: #fff;
	color: var(--vu-g1) !important;
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.1, 1), box-shadow 0.4s;
}

.vu-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.vu-card-ic {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--vu-g5);
	color: var(--vu-g1);
}

.vu-card-ic .vu-ic {
	font-size: 24px;
}

.vu-card-txt b {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.vu-card-txt small {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--vu-g2);
}

.vu-card-go {
	font-size: 20px;
	color: var(--vu-g3);
	transition: transform 0.3s, color 0.3s;
}

.vu-card:hover .vu-card-go {
	color: var(--vu-blue);
	transform: translateX(2px);
}

/* 中段：小見出し＋文字リンクの段組み（小見出しに線や飾りは付けない） */
.vu-ft-cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr);
	gap: 32px;
	padding: 40px 0 36px;
}

.vu-footer .vu-col-ttl {
	padding: 0;
	border: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--vu-ft-strong);
}

.vu-col ul {
	display: grid;
	gap: 10px;
	margin-top: 12px !important;
}

.vu-footer .vu-col a,
.vu-footer .vu-legal a,
.vu-footer .vu-sns a {
	font-weight: 400;
	color: var(--vu-ft-text) !important;
}

.vu-footer .vu-col a:hover,
.vu-footer .vu-legal a:hover,
.vu-footer .vu-sns a:hover {
	color: var(--vu-ft-strong) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vu-col a,
.vu-sns a {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 13px;
	line-height: 1.5;
}

.vu-ext {
	font-size: 13px;
	color: var(--vu-g3);
}

.vu-footer a:hover .vu-ext {
	color: inherit;
}

/* SNS */
.vu-ft-mid {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--vu-ft-line);
}

.vu-sns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

/* 下段：規約（細い縦線で区切る）と© */
.vu-ft-bottom {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding-top: 16px;
}

.vu-legal {
	display: flex;
	flex-wrap: wrap;
	row-gap: 6px;
	margin-right: auto !important;
}

.vu-legal li {
	padding: 0 10px;
	border-left: 1px solid var(--vu-ft-line);
	line-height: 1;
}

.vu-legal li:first-child {
	padding-left: 0;
	border-left: 0;
}

.vu-legal a {
	font-size: 12px;
	line-height: 1;
}

.vu-footer .vu-copy {
	font-size: 12px;
	font-weight: 400;
	color: var(--vu-ft-mute);
}

/* ==================================================================
   タブレット・スマホ
================================================================== */
@media (max-width: 1024px) {
	.vu-contact-in {
		grid-template-columns: minmax(0, 1fr);
	}

	.vu-ft-cols {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 40px;
	}

	.vu-col-wide {
		grid-column: 1 / -1;
	}

	.vu-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
}

@media (max-width: 768px) {
	.vu-sp {
		display: inline;
	}

	.vu-contact {
		padding: 40px 0 44px;
	}

	.vu-contact-in {
		gap: 20px;
	}

	.vu-contact .vu-ttl h2 {
		font-size: 24px;
	}

	.vu-lead {
		margin-top: 8px !important;
		font-size: 14px;
		line-height: 1.8;
	}

	/* ---------- スマホは中央ぞろえのレイアウト（11/6 千葉さん） ---------- */
	.vu-contact .vu-contact-head,
	.vu-contact .vu-contact-head *,
	.vu-contact .vu-row-head,
	.vu-contact .vu-row-head *,
	.vu-contact .vu-row-text,
	.vu-contact .vu-note,
	.vu-contact .vu-tel,
	.vu-contact .vu-tel * {
		text-align: center;
	}

	.vu-ttl {
		align-items: center;
	}

	.vu-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		padding: 24px 0;
	}

	.vu-row-head {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
	}

	.vu-row-sub {
		margin-top: 0 !important;
	}

	.vu-row-body {
		align-items: stretch;
		gap: 10px;
	}

	/* 電話番号は1つずつ白いカード（細い線で囲む）に。押せる場所だとわかるように */
	.vu-tels {
		flex-direction: column;
		gap: 10px;
	}

	.vu-tels > li {
		flex: none;
	}

	.vu-tel {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		padding: 16px 12px 14px;
		border: 1px solid var(--vu-g4);
		border-radius: 18px;
		background: #fff;
	}

	.vu-tel-line {
		display: inline-flex;
		align-items: center;
		gap: 6px;
	}

	.vu-tel-label {
		font-size: 12px;
	}

	.vu-tel-num {
		font-size: 26px;
	}

	.vu-tel-ic {
		font-size: 22px;
	}

	.vu-tel-time {
		font-size: 12px;
	}

	.vu-note {
		margin-top: 2px;
	}

	.vu-row-text {
		font-size: 13px;
		line-height: 1.7;
	}

	.vu-row-body > .vu-btn {
		width: 100%;
		height: 48px;
		justify-content: center;
	}

	footer.vu-footer {
		padding: 32px 0 40px;
	}

	.vu-card {
		grid-template-columns: 40px minmax(0, 1fr) auto;
		gap: 12px;
		padding: 14px 12px 14px 16px;
	}

	.vu-card-ic {
		width: 40px;
		height: 40px;
	}

	.vu-card-ic .vu-ic {
		font-size: 22px;
	}

	.vu-card-txt b {
		font-size: 14px;
	}

	/* ANKERと同じく、スマホでも2列で全部見せる（たたまない） */
	.vu-ft-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 16px;
		padding: 40px 0 36px;
	}

	.vu-col ul {
		gap: 12px;
		margin-top: 12px !important;
	}

	.vu-col a {
		font-size: 13px;
	}

	.vu-ft-mid {
		padding-bottom: 20px;
	}

	.vu-ft-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.vu-legal {
		row-gap: 12px;
	}
}
