/* ==========================================================================
   Under Up テーマ — main.css
   - rem単位ベース設計（文字サイズ切替 小/中/大 に対応）
   - ブランドカラー: #dd2f33 / #222222 / #ffffff
   - 基本文字サイズ 18px（55歳以上のターゲット層向け）
   ========================================================================== */

/* --------------------------------------------------------------------------
   ベース変数
   -------------------------------------------------------------------------- */
:root {
	/* Brand colors */
	--color-primary: #dd2f33;
	--color-primary-hover: #c12428;
	--color-text: #222222;
	--color-text-muted: #555555;
	--color-bg: #ffffff;
	--color-bg-subtle: #f5f5f5;
	--color-border: #dddddd;

	/* Font size scale — 小/中/大 で html.font-size が切り替わる */
	--font-size-small: 16px;
	--font-size-medium: 18px;
	--font-size-large: 22px;

	/* Layout */
	--container-max: 75rem;        /* 1200px @ 16px base */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;

	/* Typography */
	--line-height-body: 1.9;
	--line-height-heading: 1.4;
	--font-family-base: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;

	/* Tap targets */
	--min-tap-size: 2.75rem;       /* 44px @ 16px base — WCAG */
}

/* --------------------------------------------------------------------------
   Claude Design System — トークン (colors_and_type.css より)
   JSX 由来のインラインスタイルが参照する --uu-* 変数
   -------------------------------------------------------------------------- */
/* Google Fonts loaded via wp_enqueue_style in functions.php */

:root {
  /* Brand colors */
  --uu-red:           #dd2f33;
  --uu-red-deep:      #b8242a;
  --uu-red-darker:    #8c1b20;
  --uu-red-soft:      #fbe6e7;
  --uu-red-line:      #f3c5c7;

  /* Secondary */
  --uu-navy:          #2d3e5e;
  --uu-navy-deep:     #1f2c44;
  --uu-navy-soft:     #eef1f6;

  /* Neutrals */
  --uu-fg-1:          #222222;
  --uu-fg-2:          #4a4a4a;
  --uu-fg-3:          #6b6b6b;
  --uu-fg-mute:       #8e8e8e;
  --uu-line:          #e3ddd2;
  --uu-line-strong:   #c9c2b5;
  --uu-bg:            #ffffff;
  --uu-bg-warm:       #faf6ef;
  --uu-bg-cream:      #f4ecde;
  --uu-bg-paper:      #fffcf6;

  /* Semantic */
  --uu-success:       #2f8a4a;
  --uu-warn:          #c87a00;
  --uu-info:          var(--uu-navy);
  --uu-danger:        var(--uu-red);

  /* Tel */
  --uu-tel:           var(--uu-red);
  --uu-tel-deep:      var(--uu-red-deep);
  --uu-tel-ink:       #ffffff;

  /* Typography */
  --uu-font-body:    "Noto Sans JP", "Hiragino Kaku Gothic ProN",
                     "ヒラギノ角ゴ ProN W3", "Yu Gothic", "メイリオ",
                     Meiryo, sans-serif;
  --uu-font-display: "M PLUS Rounded 1c", "Noto Sans JP",
                     "Hiragino Maru Gothic ProN", sans-serif;
  --uu-font-num:     "M PLUS Rounded 1c", "Noto Sans JP",
                     ui-rounded, system-ui, sans-serif;

  /* Shadows */
  --uu-shadow-1: 0 1px 0 rgba(0,0,0,.04), 0 2px 6px rgba(34,34,34,.06);
  --uu-shadow-2: 0 2px 0 rgba(0,0,0,.04), 0 6px 18px rgba(34,34,34,.08);
  --uu-shadow-press: 0 4px 0 var(--uu-red-darker);
  --uu-shadow-ring:  0 0 0 4px rgba(221,47,51,.18);
}

/* 文字サイズ切替（JSで html に data-font-size を付与） */
html { font-size: var(--font-size-medium); }
html[data-font-size="small"]  { font-size: var(--font-size-small); }
html[data-font-size="medium"] { font-size: var(--font-size-medium); }
html[data-font-size="large"]  { font-size: var(--font-size-large); }

/* --------------------------------------------------------------------------
   リセット & 基本
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-family-base);
	font-size: 1rem;
	line-height: var(--line-height-body);
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-text-size-adjust: 100%;
	word-break: break-word;
	overflow-wrap: anywhere;
}

img, picture, video { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
	line-height: var(--line-height-heading);
	margin: 0 0 var(--space-sm);
}
h1 { font-size: 1.875rem; }   /* ~34px @ medium */
h2 { font-size: 1.5rem; }     /* ~27px @ medium */
h3 { font-size: 1.25rem; }    /* ~22px @ medium */

p { margin: 0 0 var(--space-sm); }

a {
	/* WCAG AA: --color-primary(#dd2f33) on 白系背景でコントラスト 4.25:1 となり AA(4.5:1) 未達。
	   テキストリンクには --uu-red-deep(#b8242a) を使用してコントラスト 5.51:1 以上を確保。
	   ナビ・CTA等の独自スタイルが上書きするため、本文リンクのみ影響。 */
	color: var(--uu-red-deep, #b8242a);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
a:hover, a:focus { color: var(--color-primary-hover); }

button, .btn {
	min-height: var(--min-tap-size);
	padding: 0.5rem 1rem;
	font-size: 1rem;
	background: var(--color-primary);
	color: #fff;
	border: 0;
	border-radius: 0.25rem;
	cursor: pointer;
}
button:hover, .btn:hover { background: var(--color-primary-hover); }

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: static;
	width: auto; height: auto;
	clip: auto; clip-path: none;
	background: var(--color-primary);
	color: #fff; padding: 0.5rem 1rem;
}

/* --------------------------------------------------------------------------
   レイアウト
   -------------------------------------------------------------------------- */
.page-container,
.site-header__inner,
.site-footer__inner {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--space-md) var(--space-sm);
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
	background: var(--color-bg);
	border-bottom: 0.25rem solid var(--color-primary);
}
.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	align-items: center;
	justify-content: space-between;
}
/* ヘッダーロゴ: max-height 4rem→3rem（75%サイズ） */
.site-branding__logo { max-height: 3rem; width: auto; }
.site-branding__name { font-size: 1.4rem; font-weight: 700; color: var(--color-text); letter-spacing: .05em; }
.custom-logo-link img { max-height: 3rem; width: auto; }

.site-header__utilities {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	align-items: center;
}

.site-header__phone {
	display: inline-flex;
	flex-direction: column;
	padding: 0.5rem 1rem;
	background: var(--color-primary);
	color: #fff;
	text-decoration: none;
	border-radius: 0.25rem;
	min-height: var(--min-tap-size);
}
.site-header__phone-number { font-size: 1.5rem; font-weight: bold; }

/* 文字サイズ切替 */
.font-size-switcher {
	display: inline-flex;
	gap: 0.25rem;
	align-items: center;
}
.font-size-switcher__label { font-size: 0.875rem; color: var(--color-text-muted); }
.font-size-switcher__btn {
	min-width: var(--min-tap-size);
	min-height: var(--min-tap-size);
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	background: var(--color-bg-subtle);
	color: var(--color-text);
	border: 1px solid var(--color-border);
}
.font-size-switcher__btn.is-active {
	background: var(--color-primary);
	color: #fff;
	border-color: var(--color-primary);
}

/* グローバルナビ ─────────────────────────────────── */
.site-nav {
	background: #fff;
	border-bottom: 3px solid var(--color-primary);
	position: sticky;
	top: 0;
	z-index: 200;
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.site-nav__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: var(--container-max);
	margin-inline: auto;
	overflow-x: auto;
	scrollbar-width: none;
}
.site-nav__list::-webkit-scrollbar { display: none; }

/* 各メニュー項目 */
.site-nav__list > li {
	flex-shrink: 0;
}
.site-nav__list > li > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 10px 14px 8px;
	color: var(--color-text);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
	position: relative;
	transition: color .18s;
	min-width: 60px;
	text-align: center;
}

/* アクティブ下線 */
.site-nav__list > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 12px;
	right: 12px;
	height: 3px;
	background: var(--color-primary);
	border-radius: 3px 3px 0 0;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s cubic-bezier(.4,0,.2,1);
}
.site-nav__list > li > a:hover::after,
.site-nav__list > .current-menu-item > a::after {
	transform: scaleX(1);
}

/* ホバー・アクティブ */
.site-nav__list > li > a:hover { color: var(--color-primary); text-decoration: none; }
.site-nav__list > .current-menu-item > a {
	color: var(--color-primary);
	font-weight: 800;
}

/* アイコン */
.site-nav__list .nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #f5f5f5;
	color: var(--color-text);
	transition: background .18s, color .18s;
	flex-shrink: 0;
}
.site-nav__list > li > a:hover .nav-icon,
.site-nav__list > .current-menu-item > a .nav-icon {
	background: #fde8e8;
	color: var(--color-primary);
}

/* ラベル */
.site-nav__list .nav-label {
	line-height: 1.2;
}

/* スマホ・タブレット縦: 4列グリッド×2行で全項目を横スクロール無しで可視化
   320px下限: 320÷4=80pxにアイコン+短いラベルが収まる設計。
   横スクロールに頼らず、最小タッチターゲット44pxを維持。 */
@media (max-width: 768px) {
	.site-nav__list {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 0;
		overflow: visible;
	}
	.site-nav__list > li {
		flex-shrink: initial;
		min-width: 0; /* gridアイテムのテキスト省略を許容 */
	}
	.site-nav__list > li > a {
		padding: 8px 4px 6px;
		font-size: 11px;
		min-width: 0;
		min-height: 56px; /* タッチターゲット 44px を超える */
		width: 100%;
		gap: 4px;
	}
	.site-nav__list .nav-icon {
		width: 26px;
		height: 26px;
	}
	.site-nav__list .nav-label {
		font-size: 12px;
		line-height: 1.15;
		word-break: keep-all;
	}
	/* アクティブ下線: paddingに依存しない */
	.site-nav__list > li > a::after {
		left: 8px;
		right: 8px;
	}
}

/* 360px以下: アイコン弱優先・ラベルは1行で詰める */
@media (max-width: 360px) {
	.site-nav__list > li > a { padding: 6px 2px 6px; gap: 3px; }
	.site-nav__list .nav-icon { width: 24px; height: 24px; }
	.site-nav__list .nav-label { font-size: 10.5px; }
}

/* --------------------------------------------------------------------------
   メイン
   -------------------------------------------------------------------------- */
.site-main { min-height: 50vh; padding: var(--space-md) 0; }

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
	margin-top: var(--space-xl);
	padding: var(--space-lg) 0;
	background: var(--color-bg-subtle);
	border-top: 0.25rem solid var(--color-primary);
}
.site-footer__inner { display: grid; gap: var(--space-md); }
.site-footer__name { font-weight: bold; font-size: 1.125rem; }
.site-footer__call-recording {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	padding: var(--space-sm);
	background: #fff;
	border-left: 0.25rem solid var(--color-primary);
}
.site-footer__copyright { font-size: 0.875rem; color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   404ページ
   -------------------------------------------------------------------------- */
.error-404-body { display: flex; flex-direction: column; gap: var(--space-lg); }
.error-404-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.error-404-links a { display: inline-block; padding: 0.5rem 1rem; background: var(--color-bg-gray); border-radius: 4px; color: var(--color-text); text-decoration: none; }
.error-404-links a:hover { background: var(--color-primary); color: #fff; }
.error-404-phone { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.error-404-hours { font-size: 0.875rem; color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   期間限定お知らせバナー
   -------------------------------------------------------------------------- */
.announcement-banners {
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9000;
	box-shadow: 0 4px 12px rgba(0,0,0,.12);
	transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s;
}
.admin-bar .announcement-banners { top: 32px; }
@media screen and (max-width:782px) {
	.admin-bar .announcement-banners { top: 46px; }
}
.announcement-banners.is-hidden {
	transform: translateY(-110%);
	opacity: 0;
	pointer-events: none;
}

/* CSS animation による自動閉じタイマー（setTimeout がthrottleされる
   Claude Desktop WebView 等の非アクティブWebView環境向け確実な閉じ実装）。
   animation 開始から N 秒経過後、keyframes の 100% で translate/opacity が変化し、
   animationend を JS が listen して hideBanners() の後処理を実行する。 */
@keyframes uu-banner-autoclose-20s {
	0%, 99% { transform: translateY(0); opacity: 1; }
	100%    { transform: translateY(-110%); opacity: 0; }
}
@keyframes uu-banner-autoclose-5s {
	0%, 96% { transform: translateY(0); opacity: 1; }
	100%    { transform: translateY(-110%); opacity: 0; }
}
.announcement-banners[data-auto-close="20"]:not(.is-hidden) {
	animation: uu-banner-autoclose-20s 20s linear forwards;
}
.announcement-banners[data-auto-close="5"]:not(.is-hidden) {
	animation: uu-banner-autoclose-5s 5s linear forwards;
}
.announcement-banner {
	position: relative;
	padding: var(--space-sm) 3rem var(--space-sm) var(--space-sm);
	color: #1a1a1a;
	border-bottom: 2px solid rgba(192,57,43,.20);
	overflow: hidden;
	transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .3s, padding .4s, margin .4s, border-color .3s;
	max-height: 400px;
	opacity: 1;
}
.announcement-banner.is-closing {
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
	border-color: transparent;
}
.announcement-banner__inner {
	max-width: var(--container-max);
	margin: 0 auto;
}
.announcement-banner__title {
	font-size: 1.05rem;
	margin: 0 0 0.25rem;
	font-weight: 800;
	color: var(--color-primary, #c0392b);
}
.announcement-banner__body { font-size: 0.95rem; line-height: 1.6; color: #333; }
.announcement-banner__body a {
	color: var(--color-primary, #c0392b);
	text-decoration: underline;
	/* スマホでタップしやすいよう inline-block + 上下 padding でタップ領域を拡大 */
	display: inline-block;
	padding: 6px 2px;
	min-height: 44px;
	line-height: 32px;
}
.announcement-banner__close {
	position: absolute;
	top: 0.5rem; right: 0.5rem;
	min-width: var(--min-tap-size);
	min-height: var(--min-tap-size);
	background: transparent;
	color: var(--color-primary, #c0392b);
	font-size: 1.5rem;
	border: none;
	cursor: pointer;
	font-weight: 700;
}
.announcement-banner__close:hover { color: #8e2520; }

/* --------------------------------------------------------------------------
   ヒーロー（トップページ）
   -------------------------------------------------------------------------- */
.hero { padding: var(--space-xl) var(--space-sm); text-align: center; }
.hero__title { font-size: 2.25rem; }
.hero__subtitle { font-size: 1.25rem; color: var(--color-text-muted); }
.hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: var(--space-md);
	padding: 1rem 2rem;
	background: var(--color-primary);
	color: #fff !important;
	font-size: 1.25rem;
	font-weight: bold;
	text-decoration: none;
	border-radius: 0.5rem;
	min-height: var(--min-tap-size);
}
.hero__cta:hover {
	background: #b71c1c;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   中古PC一覧
   -------------------------------------------------------------------------- */
.used-pc-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: var(--space-md);
	list-style: none;
	padding: 0;
}
.used-pc-card {
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	overflow: hidden;
	background: #fff;
}
.used-pc-card__link { display: block; color: inherit; text-decoration: none; padding: var(--space-sm); }
.used-pc-card__title { font-size: 1.125rem; margin: var(--space-sm) 0 0; }

/* --------------------------------------------------------------------------
   バッジ（販売ステータス・カテゴリ）
   -------------------------------------------------------------------------- */
.badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	font-size: 0.875rem;
	font-weight: bold;
	border-radius: 0.25rem;
	color: #fff;
	letter-spacing: 0.025em;
}
.badge--on-sale  { background: #2e8540; }
.badge--in-talks { background: #c79a00; }
.badge--sold     { background: #555555; }

/* --------------------------------------------------------------------------
   中古PC 一覧拡張
   -------------------------------------------------------------------------- */
.used-pc-notice {
	padding: var(--space-md);
	background: #fff5f5;
	border-left: 0.25rem solid var(--color-primary);
	margin: var(--space-md) 0 var(--space-lg);
}
.used-pc-notice p { margin: 0 0 var(--space-xs); }
.used-pc-notice p:last-child { margin-bottom: 0; }

.used-pc-card__image {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--color-bg-subtle);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.used-pc-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.used-pc-card__no-image {
	color: var(--color-text-muted);
	font-size: 0.875rem;
}
.used-pc-card__badge {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
}
.used-pc-card__specs {
	margin: var(--space-xs) 0 0;
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}

.used-pc-empty {
	padding: var(--space-lg);
	text-align: center;
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
}

/* --------------------------------------------------------------------------
   中古PC 詳細
   -------------------------------------------------------------------------- */
.used-pc-detail__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--space-sm) var(--space-md);
	margin-bottom: var(--space-md);
}
.used-pc-detail__title {
	margin: 0;
}
.used-pc-detail__status {
	margin: 0;
}

.used-pc-detail__main {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 1fr);
	gap: var(--space-lg);
	margin-bottom: var(--space-lg);
}

.used-pc-detail__specs {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.5rem var(--space-md);
	margin: 0 0 var(--space-md);
	padding: var(--space-sm);
	background: var(--color-bg-subtle);
	border-radius: 0.25rem;
}
.used-pc-detail__specs dt {
	font-weight: bold;
	color: var(--color-text-muted);
}
.used-pc-detail__specs dd {
	margin: 0;
}

.used-pc-detail__price-notice {
	padding: var(--space-md);
	background: #fff5f5;
	border: 2px solid var(--color-primary);
	border-radius: 0.5rem;
	text-align: center;
}
.used-pc-detail__price-notice p { margin: 0 0 var(--space-sm); }
.used-pc-detail__limited {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-top: var(--space-sm) !important;
}

.used-pc-detail__cautions {
	margin: var(--space-lg) 0;
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
}
.used-pc-detail__cautions h2 {
	font-size: 1.125rem;
	margin-top: 0;
}
.used-pc-detail__cautions ul {
	margin: 0;
	padding-left: 1.5rem;
}
.used-pc-detail__cautions li {
	margin-bottom: 0.5rem;
}

.used-pc-detail__back {
	margin-top: var(--space-lg);
	padding-top: var(--space-md);
	border-top: 1px solid var(--color-border);
}


/* --------------------------------------------------------------------------
   YouTube セクション（トップページ）
   -------------------------------------------------------------------------- */
.youtube-section {
	padding: var(--space-md) 0;
}
.youtube-section__header {
	text-align: center;
	margin-bottom: var(--space-md);
}
.youtube-section__title {
	margin: 0 0 var(--space-xs);
}
.youtube-section__subtitle {
	color: var(--color-text-muted);
	margin: 0;
}
.youtube-section__latest {
	max-width: 40rem;
	margin: 0 auto var(--space-md);
}
.youtube-section__latest a {
	display: block;
	color: inherit;
	text-decoration: none;
}
.youtube-section__latest img {
	width: 100%;
	height: auto;
	border-radius: 0.5rem;
}
.youtube-section__latest-title {
	margin: var(--space-sm) 0 0;
	font-weight: bold;
	font-size: 1.125rem;
	text-align: center;
}
.youtube-section__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: var(--space-md);
	list-style: none;
	padding: 0;
	margin: 0 0 var(--space-md);
}
.youtube-section__list a {
	display: block;
	color: inherit;
	text-decoration: none;
}
.youtube-section__list img {
	width: 100%;
	height: auto;
	border-radius: 0.25rem;
}
.youtube-section__list span {
	display: block;
	margin-top: var(--space-xs);
	font-size: 0.9375rem;
}
.youtube-section__subscribe {
	text-align: center;
	margin: var(--space-md) 0 0;
}
.btn--youtube {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: #ff0000;
	color: #fff;
	text-decoration: none;
	border-radius: 0.5rem;
	font-weight: bold;
	min-height: var(--min-tap-size);
}
.btn--youtube:hover {
	background: #cc0000;
	color: #fff;
}

/* --------------------------------------------------------------------------
   電話 CTA
   -------------------------------------------------------------------------- */
.phone-cta {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--color-primary);
	text-decoration: underline;
	min-height: var(--min-tap-size);
}
.phone-number-large a {
	font-size: 2rem;
	font-weight: bold;
}

/* --------------------------------------------------------------------------
   警告ボックス
   -------------------------------------------------------------------------- */
.warning {
	padding: var(--space-sm);
	background: #fff5f5;
	border-left: 0.25rem solid var(--color-primary);
}

/* --------------------------------------------------------------------------
   調査費用お知らせページ（page-investigation-fee-notice.php）
   -------------------------------------------------------------------------- */
.investigation-fee-notice__hero {
	text-align: center;
	padding: var(--space-lg) var(--space-sm);
	background: #fff5f5;
	border-radius: 0.5rem;
	margin-bottom: var(--space-lg);
}
.investigation-fee-notice__badge {
	display: inline-block;
	padding: 0.25rem 1rem;
	background: var(--color-primary);
	color: #fff;
	font-size: 0.875rem;
	font-weight: bold;
	border-radius: 1rem;
	margin: 0 0 var(--space-sm);
}
.investigation-fee-notice__title {
	font-size: 1.875rem;
	color: var(--color-text);
	margin: 0 0 var(--space-md);
}
.investigation-fee-notice__lead {
	font-size: 1.125rem;
	max-width: 40rem;
	margin: 0 auto var(--space-sm);
}
.investigation-fee-notice__meta {
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

.notice-section {
	margin-bottom: var(--space-lg);
}

.change-summary-card {
	padding: var(--space-md);
	background: #fff5f5;
	border-left: 0.375rem solid var(--color-primary);
	border-radius: 0.25rem;
}
.change-summary-card__title {
	color: var(--color-primary);
	font-size: 1.25rem;
	margin: 0 0 var(--space-sm);
}
.change-summary-card__items {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: var(--space-xs) var(--space-md);
	margin: 0;
}
.change-summary-card__items dt {
	font-weight: bold;
	color: var(--color-text-muted);
}
.change-summary-card__items dd {
	margin: 0;
	font-size: 1.125rem;
}
.change-summary-card__note {
	margin: var(--space-sm) 0 0;
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}

.compare-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: var(--space-md);
	margin: var(--space-md) 0;
}
.compare-card {
	padding: var(--space-md);
	background: #fff;
	border: 2px solid var(--color-border);
	border-radius: 0.5rem;
	text-align: center;
}
.compare-card--good { border-color: #2e8540; }
.compare-card--charge { border-color: var(--color-primary); }
.compare-card__icon {
	font-size: 5rem;
	line-height: 1;
	margin: 0 0 var(--space-xs);
}
.compare-card__title {
	font-size: 1.125rem;
	margin: 0 0 var(--space-sm);
}
.compare-card__verdict {
	font-size: 1.0625rem;
	margin: 0 0 var(--space-sm);
}
.compare-card__note {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin: 0;
}

.faq dt {
	font-weight: bold;
	font-size: 1.0625rem;
	margin-top: var(--space-md);
	color: var(--color-text);
}
.faq dd {
	margin: 0.5rem 0 0 0;
	padding-left: 1.5rem;
}

.investigation-fee-notice__cta {
	text-align: center;
	padding: var(--space-lg) var(--space-sm);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
}

.investigation-fee-notice__related ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	justify-content: space-between;
	border-top: 1px solid var(--color-border);
	padding-top: var(--space-md);
	margin-top: var(--space-lg);
}
.investigation-fee-notice__hero-mascot {
	margin-top: var(--space-md);
}
.investigation-fee-notice__hero-mascot img {
	height: auto;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.10));
}
.notice-section__mascot {
	text-align: right;
	margin-top: var(--space-sm);
}
.notice-section__mascot img {
	height: auto;
	width: 400px;   /* 160px × 2.5 = 250% */
	max-width: 100%;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,.08));
}

/* --------------------------------------------------------------------------
   お知らせ一覧（archive.php / template-parts/news-list.php）
   -------------------------------------------------------------------------- */
.news-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.news-list__item {
	border-bottom: 1px solid var(--color-border);
}
.news-list__item:first-child {
	border-top: 1px solid var(--color-border);
}
.news-list__link {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem var(--space-md);
	align-items: baseline;
	padding: var(--space-sm) 0;
	color: inherit;
	text-decoration: none;
}
.news-list__link:hover { color: var(--color-primary); text-decoration: underline; }
.news-list__date {
	flex-shrink: 0;
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	white-space: nowrap;
}
.news-list__title { flex: 1; min-width: 10rem; }
.news-list__more { margin-top: var(--space-md); text-align: right; }

/* --------------------------------------------------------------------------
   お知らせ詳細（single.php）
   -------------------------------------------------------------------------- */
.news-article__header {
	margin-bottom: var(--space-md);
	padding-bottom: var(--space-md);
	border-bottom: 1px solid var(--color-border);
}
.news-article__date {
	display: block;
	color: var(--color-text-muted);
	font-size: 0.875rem;
	margin-bottom: var(--space-xs);
}
.news-article__title { margin: 0 0 var(--space-sm); }
.news-article__categories {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: var(--space-sm) 0 0;
}
.news-article__categories li {
	padding: 0.125rem 0.75rem;
	background: var(--color-bg-subtle);
	font-size: 0.875rem;
	border-radius: 1rem;
}
.news-article__content { margin-top: var(--space-md); }
.news-article__content p { line-height: var(--line-height-body); }
/* お知らせ本文内の画像（自動投稿の中古PC写真など）は中央寄せ + 表示幅を制限
   PC: 本文幅50% かつ 360px が上限（min() で両条件の小さい方を採用）
   モバイル(≤640px): 80% に緩和して中央寄せ
   対象:
   - single.php → .news-article__content
   - index.php (アーカイブ /news/) → .entry-content */
.news-article__content figure.wp-block-image,
.entry-content figure.wp-block-image {
	max-width: min(50%, 360px);
	margin-left: auto;
	margin-right: auto;
}
.news-article__content figure.wp-block-image img,
.entry-content figure.wp-block-image img {
	width: 100%;
	height: auto;
	display: block;
}
@media (max-width: 640px) {
	.news-article__content figure.wp-block-image,
	.entry-content figure.wp-block-image { max-width: 80%; }
}

/* お知らせアーカイブ (index.php) で複数の article が並ぶ際の区切り線
   - .page-container 直下に <article> が並ぶのは index.php (= /news/ アーカイブ) 限定
   - single.php は article 1個 + .news-article クラスなので影響しない
   - + セレクタなので最初の article には適用されず重複線が出ない */
.page-container > article + article {
	border-top: 2px solid var(--uu-line-strong, #c9c2b5);
	margin-top: 2.5rem;
	padding-top: 2.5rem;
}

/* トップページお知らせ: スマホ(≤640px)で 2カラム+1カラム の2段構成
   1段目: 日付（左） | バッジ（右寄せ）
   2段目: タイトル（全幅・折り返し可）
   インラインスタイル上書きのため !important が必要 */
@media (max-width: 640px) {
	.fp2-news-item {
		display: grid !important;
		grid-template-columns: 1fr auto !important;
		grid-template-rows: auto auto !important;
		align-items: center !important;
		gap: 4px 10px !important;
		padding: 12px 14px !important;
	}
	.fp2-news-item .fp2-news-date  { grid-row: 1; grid-column: 1; min-width: 0 !important; }
	.fp2-news-item .fp2-news-badge { grid-row: 1; grid-column: 2; }
	.fp2-news-item .fp2-news-link  {
		grid-row: 2;
		grid-column: 1 / -1;  /* 全幅 span */
		font-size: 15px;
		line-height: 1.55;
	}
}

/* --------------------------------------------------------------------------
   固定ページ汎用（page.php）
   -------------------------------------------------------------------------- */
.page-article__header {
	margin-bottom: var(--space-lg);
	padding-bottom: var(--space-md);
	border-bottom: 0.25rem solid var(--color-primary);
}
.page-article__title { margin: 0; }
.page-article__content > *:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   アーカイブ共通ヘッダー
   -------------------------------------------------------------------------- */
.archive-header {
	margin-bottom: var(--space-lg);
	padding-bottom: var(--space-md);
	border-bottom: 0.25rem solid var(--color-primary);
}
.archive-header__title { margin: 0; }

/* --------------------------------------------------------------------------
   ページネーション
   -------------------------------------------------------------------------- */
.pagination { margin: var(--space-lg) 0; }
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: var(--min-tap-size);
	padding: 0 0.5rem;
	border: 1px solid var(--color-border);
	border-radius: 0.25rem;
	color: var(--color-text);
	text-decoration: none;
}
.page-numbers.current {
	background: var(--color-primary);
	color: #fff;
	border-color: var(--color-primary);
}
.page-numbers:not(.current):hover { background: var(--color-bg-subtle); }

/* --------------------------------------------------------------------------
   戻るリンク
   -------------------------------------------------------------------------- */
.back-link {
	margin-top: var(--space-lg);
	padding-top: var(--space-md);
	border-top: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   費用ページ（page-price.php）
   -------------------------------------------------------------------------- */
.price-section {
	margin-bottom: var(--space-lg);
	padding-bottom: var(--space-lg);
	border-bottom: 1px solid var(--color-border);
}
.price-section:last-of-type { border-bottom: 0; }
.price-section h2 { color: var(--color-primary); }
.price-section ul, .price-section ol {
	padding-left: 1.5rem;
}
.price-section li { margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   会社情報（page-about.php）
   -------------------------------------------------------------------------- */
.about-section, .access-section { margin-bottom: var(--space-lg); }
.company-info {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.5rem var(--space-md);
	margin: 0;
	padding: var(--space-sm);
	background: var(--color-bg-subtle);
	border-radius: 0.25rem;
}
.company-info dt { font-weight: bold; color: var(--color-text-muted); }
.company-info dd { margin: 0; }
.access-map {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--color-bg-subtle);
	margin: var(--space-md) 0;
	border-radius: 0.5rem;
	overflow: hidden;
}
.access-map iframe { width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   ご依頼方法（page-how-to-request.php）
   -------------------------------------------------------------------------- */
.how-to-request { display: flex; flex-direction: column; gap: var(--space-lg); }
.how-to-request__method {
	padding: var(--space-md);
	border: 1px solid var(--color-border);
	border-left: 0.375rem solid var(--color-primary);
	border-radius: 0.25rem;
}
.how-to-request__method h2 { margin-top: 0; color: var(--color-primary); }
.how-to-request__common-notice {
	margin-top: var(--space-md);
	padding: var(--space-sm);
	background: var(--color-bg-subtle);
	border-radius: 0.25rem;
}

/* --------------------------------------------------------------------------
   新品パソコン販売（page-new-pc.php）
   -------------------------------------------------------------------------- */
.new-pc-section, .new-pc-flow, .new-pc-notice { margin-bottom: var(--space-lg); }
.new-pc-flow ol, .new-pc-notice ul { padding-left: 1.5rem; }
.new-pc-flow li, .new-pc-notice li { margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   対応範囲（page-scope.php）
   -------------------------------------------------------------------------- */
.scope-section { margin-bottom: var(--space-lg); }
.scope-section--can h2 { color: #2e8540; }
.scope-section--cannot h2 { color: var(--color-primary); }
.scope-section ul { padding-left: 1.5rem; }
.scope-section li { margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   費用ページ共通（page-price.php）
   -------------------------------------------------------------------------- */
.price-hero__lead {
	font-size: 1.125rem;
	color: var(--color-text-muted);
	margin: var(--space-sm) 0 0;
}

/* 調査基本費用カード */
.investigation-notice-card {
	padding: var(--space-md) var(--space-lg);
	background: #fff5f5;
	border-left: 0.375rem solid var(--color-primary);
	border-radius: 0.25rem;
}
.investigation-notice-card__badge {
	display: inline-block;
	padding: 0.125rem 0.75rem;
	background: var(--color-primary);
	color: #fff;
	font-size: 0.875rem;
	font-weight: bold;
	border-radius: 1rem;
	margin: 0 0 var(--space-sm);
}
.investigation-notice-card__title {
	font-size: 1.375rem;
	margin: 0 0 var(--space-xs);
}
.investigation-notice-card__fee {
	font-size: 1.25rem;
	color: var(--color-primary);
	margin: 0 0 var(--space-xs);
}
.investigation-notice-card__date {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin: 0 0 var(--space-md);
}

/* アウトラインボタン */
.btn--outline {
	background: transparent;
	color: var(--color-primary);
	border: 2px solid var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: #fff; }

/* 費用パターンカード */
.price-patterns__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: var(--space-md);
	margin: var(--space-md) 0;
}
.price-pattern-card {
	padding: var(--space-md);
	border: 2px solid var(--color-border);
	border-radius: 0.5rem;
	text-align: center;
}
.price-pattern-card--a { border-color: #2e8540; }
.price-pattern-card--b { border-color: var(--color-primary); }
.price-pattern-card--c { border-color: #c79a00; }
.price-pattern-card__icon  { font-size: 5rem; line-height: 1; margin: 0 0 var(--space-xs); }
.price-pattern-card__label { font-size: 0.875rem; color: var(--color-text-muted); margin: 0 0 var(--space-xs); }
.price-pattern-card__flow  { font-size: 1rem; margin: 0 0 var(--space-sm); font-weight: bold; }
.price-pattern-card__verdict { font-size: 1.0625rem; margin: 0 0 var(--space-xs); }
.price-pattern-card__note { font-size: 0.9375rem; color: var(--color-text-muted); margin: 0; }
.price-patterns__closing {
	margin-top: var(--space-md);
	font-weight: bold;
	font-size: 1.0625rem;
	text-align: center;
}

/* 価格テーブル */
.price-table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--space-md) 0;
}
.price-table th,
.price-table td {
	padding: 0.75rem var(--space-sm);
	border: 1px solid var(--color-border);
	text-align: left;
	line-height: 1.6;
}
.price-table th { background: var(--color-bg-subtle); font-weight: bold; }
.price-table__amount { font-weight: bold; color: var(--color-primary); white-space: nowrap; }
.price-table__overnight-row { background: #fff5f5; }

/* ─── スマホ: 3カラム → 1行目2カラム + 2行目1カラム（備考） ───
   <table><tr><td>項目</td><td>金額</td><td>備考</td></tr></table>
   を、各 <tr> を CSS grid（2列）化して
   3つ目のセル（備考）を 2 列目まで span させ全幅表示にする。
   サブグリッドではなく各行が独立した grid 1個ずつなので、
   行ごとの内容が長くても他の行へ影響しない（レイアウト崩れ防止）。 */
@media (max-width: 640px) {
	.price-table {
		display: block;
		border: 1px solid var(--color-border);
		border-radius: 8px;
		overflow: hidden;
	}
	/* thead は項目見出しが長くなりがちで、データ側にも内容が含まれるため非表示にする */
	.price-table thead { display: none; }
	.price-table tbody { display: block; }
	.price-table tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0;
		border-top: 1px solid var(--color-border);
	}
	.price-table tr:first-child { border-top: none; }
	.price-table td {
		border: none;
		padding: 0.65rem 0.9rem;
		line-height: 1.55;
		min-width: 0; /* grid セル内の長い文字列がはみ出さないように */
	}
	/* 1行目: 1列目=項目, 2列目=金額（右寄せで強調） */
	.price-table td:nth-child(1) { font-weight: 700; }
	.price-table td:nth-child(2) { text-align: right; }
	/* 金額が長い場合はモバイルでは折り返し可能にする */
	.price-table .price-table__amount { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
	/* 2行目: 3列目（備考）— grid 2列に span して全幅表示 */
	.price-table td:nth-child(3) {
		grid-column: 1 / -1;
		font-size: 0.875rem;
		color: var(--color-text-muted);
		background: var(--color-bg-subtle);
		padding-top: 0.5rem;
		padding-bottom: 0.65rem;
	}
	/* 備考が空の場合は2行目を表示しない */
	.price-table td:nth-child(3):empty { display: none; }
}
.price-travel__note,
.price-work__note { font-size: 0.9375rem; color: var(--color-text-muted); }

/* ─── 出張交通費 自動算出ツール ─── */
.travel-fee-calc__lead { margin-bottom: var(--space-md); }

.travel-fee-calc__form { margin: var(--space-md) 0; }
.travel-fee-calc__label {
	display: block;
	font-weight: bold;
	margin-bottom: var(--space-xs);
}
.travel-fee-calc__input-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	align-items: flex-end;
}
.travel-fee-calc__input {
	flex: 1;
	min-width: 14rem;
	padding: 0.625rem var(--space-sm);
	font-size: 1rem;
	border: 2px solid var(--color-border);
	border-radius: 0.25rem;
	min-height: var(--min-tap-size);
}
.travel-fee-calc__input:focus {
	outline: none;
	border-color: var(--color-primary);
}
.travel-fee-calc__btn { flex-shrink: 0; }

.travel-fee-calc__loading {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	padding: var(--space-sm);
	color: var(--color-text-muted);
}
.travel-fee-calc__loading[hidden] {
	display: none;
}
.travel-fee-calc__spinner {
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	border: 3px solid var(--color-border);
	border-top-color: var(--color-primary);
	border-radius: 50%;
	animation: underup-spin 0.8s linear infinite;
}
@keyframes underup-spin { to { transform: rotate(360deg); } }

.travel-fee-calc__result {
	margin: var(--space-md) 0;
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
	border-left: 0.375rem solid var(--color-primary);
}
.travel-fee-result__data {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.5rem var(--space-md);
	margin: 0 0 var(--space-md);
}
.travel-fee-result__data dt { font-weight: bold; color: var(--color-text-muted); }
.travel-fee-result__data dd { margin: 0; }
.travel-fee-result__total-dt { color: var(--color-primary) !important; }
.travel-fee-result__total-dd { font-size: 1.375rem; font-weight: bold; color: var(--color-primary); }
.travel-fee-result__overnight-dt,
.travel-fee-result__overnight-dd { color: #c62828; }
.travel-fee-result__warning {
	padding: var(--space-sm);
	background: #fff5f5;
	border: 1px solid #e57373;
	border-radius: 0.25rem;
	margin-bottom: var(--space-sm);
}
.travel-fee-result__warning p { margin: 0 0 var(--space-xs); }
.travel-fee-result__warning p:last-child { margin-bottom: 0; }
.travel-fee-result__notice { font-size: 0.875rem; color: var(--color-text-muted); margin: var(--space-sm) 0 0; }
.travel-fee-result__out-of-range { text-align: center; }
/* 算出ツール 結果カード */
.travel-fee-result__card { }
.travel-fee-result__addr { font-size: 0.875rem; color: var(--color-text-muted); margin: 0 0 0.5rem; }
.travel-fee-result__dist { font-size: 1.0625rem; margin: 0 0 1rem; }
.travel-fee-result__dist strong { color: var(--color-primary); font-size: 1.25rem; }
.travel-fee-result__table { width: 100%; border-collapse: collapse; margin-bottom: 0.75rem; }
.travel-fee-result__table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--color-border); }
.travel-fee-result__table .fee { text-align: right; white-space: nowrap; }
.travel-fee-result__table .total td { border-top: 2px solid var(--color-primary); border-bottom: none; }
.travel-fee-result__table .total-val { color: var(--color-primary); font-size: 1.125rem; }
.travel-fee-result__zone { font-size: 0.9375rem; margin: 0; }
.travel-fee-result__error { color: #c62828; }
.travel-fee-result__label { font-size: 1.0625rem; font-weight: bold; margin: 0 0 var(--space-sm); }
.travel-fee-result__error { color: var(--color-primary); font-weight: bold; margin: 0; }
.travel-fee-calc__note { font-size: 0.875rem; color: var(--color-text-muted); }
.travel-fee-calc__unavailable {
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
	text-align: center;
}

/* ─── 出張交通費エリアマップ ─── */
.travel-fee-map {
	width: 100%;
	height: 480px;
	border-radius: 0.5rem;
	overflow: hidden;
	margin: var(--space-md) 0;
	border: 1px solid var(--color-border);
}
.travel-fee-map--placeholder {
	background: var(--color-bg-subtle);
	display: flex;
	align-items: center;
	justify-content: center;
}

.travel-fee-map__legend { margin-top: var(--space-md); }
.travel-fee-map__legend-title { font-size: 1rem; margin: 0 0 var(--space-sm); }
.travel-fee-map__legend-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.travel-fee-map__legend-item {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	flex-wrap: wrap;
}
.travel-fee-map__legend-color {
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 0.25rem;
	flex-shrink: 0;
}
.travel-fee-map__legend-label { min-width: 7rem; }
.travel-fee-map__legend-fee { color: var(--color-primary); font-weight: bold; }
.travel-fee-map__legend-item--overnight .travel-fee-map__legend-fee { color: #c62828; }
.travel-fee-map__legend-note { font-size: 0.875rem; color: var(--color-text-muted); margin-top: var(--space-sm); }

/* ─── お支払い方法 ─── */
.payment-methods {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: var(--space-md);
	margin: var(--space-md) 0;
}
.payment-method {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: var(--space-md);
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	gap: var(--space-xs);
}
.payment-method__icon { font-size: 5rem; line-height: 1; margin: 0 0 var(--space-xs); }
.payment-method__name { font-weight: bold; font-size: 1.0625rem; }
.payment-method__brands { font-size: 0.8125rem; color: var(--color-text-muted); }
.payment-method__note { font-size: 0.875rem; color: var(--color-text-muted); }
.price-payment__note { font-size: 0.875rem; color: var(--color-text-muted); }

/* ─── CTA セクション ─── */
.price-cta {
	text-align: center;
	padding: var(--space-lg) var(--space-sm);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
}
.price-cta h2 { margin-top: 0; }

/* --------------------------------------------------------------------------
   お問い合わせページ（page-contact.php）
   -------------------------------------------------------------------------- */
.contact-phone, .contact-form { margin-bottom: var(--space-xl); }
.contact-phone h2, .contact-form h2 { color: var(--color-primary); }
.contact-phone__notice {
	margin-top: var(--space-md);
	font-size: 0.875rem;
	color: var(--color-text-muted);
	padding: var(--space-sm);
	background: var(--color-bg-subtle);
	border-left: 0.25rem solid var(--color-border);
}
.contact-phone__hours { color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   共通ユーティリティ（複数ページ共有）
   -------------------------------------------------------------------------- */
.page-hero__lead {
	font-size: 1.125rem;
	color: var(--color-text-muted);
	margin: var(--space-xs) 0 0;
}

.page-cta {
	text-align: center;
	padding: var(--space-lg) var(--space-sm);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
	margin-top: var(--space-xl);
}
.page-cta__lead {
	font-size: 1.25rem;
	font-weight: bold;
	margin: 0 0 var(--space-md);
}
.page-cta__hours {
	margin: var(--space-sm) 0 0;
	color: var(--color-text-muted);
}
.page-cta__sub { margin: var(--space-sm) 0 0; }
/* WCAG AA: --color-primary(#dd2f33) on #f5f5f5 = 4.25:1 で AA 未達 → --uu-red-deep に */
.page-cta__sub a { color: var(--uu-red-deep, #b8242a); }

/* 電話 CTA バリアント */
.phone-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--color-primary);
	text-decoration: none;
	min-height: var(--min-tap-size);
	padding: 0.25rem 0.5rem;
}
.phone-cta:hover { text-decoration: underline; }
.phone-cta--large {
	font-size: 2rem;
	padding: 0.5rem 1rem;
	min-height: 3.5rem;
	border: 2px solid var(--color-primary);
	border-radius: 0.375rem;
}
.phone-cta--large:hover { background: #fff5f5; }
.phone-cta__icon { font-style: normal; }

/* --------------------------------------------------------------------------
   対応範囲（page-scope.php）
   -------------------------------------------------------------------------- */
.scope-section { margin-bottom: var(--space-xl); }

.scope-section--can h2 { color: #2e8540; }
.scope-section--cannot h2 { color: var(--color-text); }
.scope-section__lead { color: var(--color-text-muted); margin-bottom: var(--space-md); }

.scope-section__badge {
	display: inline-block;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	text-align: center;
	line-height: 1.75rem;
	font-size: 0.875rem;
	font-weight: bold;
	margin-right: 0.5rem;
	vertical-align: middle;
}
.scope-section__badge--ok  { background: #e8f5e9; color: #2e8540; }
.scope-section__badge--ng  { background: var(--color-bg-subtle); color: var(--color-text-muted); }

.scope-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.scope-list li {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	padding: 0.75rem var(--space-sm);
	border-radius: 0.25rem;
	min-height: var(--min-tap-size);
}
.scope-list--can li  { background: #f1f8f2; }
.scope-list--pc  li  { background: var(--color-bg-subtle); }
.scope-list--cannot li { background: #fafafa; border: 1px solid var(--color-border); }

.scope-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	font-weight: bold;
	font-size: 0.875rem;
	flex-shrink: 0;
}
.scope-badge--ok       { background: #2e8540; color: #fff; }
.scope-badge--triangle { background: #f9a825; color: #fff; }
.scope-badge--ng       { background: #757575; color: #fff; }

.scope-item__text  { flex: 1; line-height: 1.6; }
.scope-item__note  { display: block; font-size: 0.875rem; color: var(--color-text-muted); }
.scope-item__reason {
	display: block;
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-top: 0.25rem;
}

.scope-pc-box {
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
}
.scope-pc-box h2 { color: var(--color-text); margin-top: 0; }
.scope-pc-box__note {
	margin: var(--space-sm) 0 0;
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   ご依頼方法（page-how-to-request.php）
   -------------------------------------------------------------------------- */
.htr-hero { margin-bottom: var(--space-lg); }
.htr-hero__sub {
	font-size: 1.125rem;
	color: var(--color-text-muted);
	margin: var(--space-xs) 0 var(--space-md);
}
.htr-hero__notice {
	padding: var(--space-md);
	background: #fff5f5;
	border-left: 0.375rem solid var(--color-primary);
	border-radius: 0.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-md);
}
.htr-hero__notice p { margin: 0; font-weight: bold; }

.htr-methods { margin-bottom: var(--space-xl); }

/* タブナビ（PC専用：モバイルでは非表示） */
.htr-tabs {
	display: none;
}
.htr-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.75rem 1.25rem;
	background: var(--color-bg-subtle);
	border: 2px solid var(--color-border);
	border-bottom: none;
	border-radius: 0.375rem 0.375rem 0 0;
	cursor: pointer;
	font-size: 1rem;
	font-family: var(--font-family-base);
	color: var(--color-text);
	min-height: var(--min-tap-size);
	transition: background 0.15s;
}
.htr-tab:hover { background: #fff0f0; }
.htr-tab--active {
	background: #fff;
	border-color: var(--color-primary);
	color: var(--color-primary);
	font-weight: bold;
}
.htr-tab__icon { font-size: 1.25rem; }

/* アコーディオン */
.htr-accordion {
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	margin-bottom: var(--space-sm);
	overflow: hidden;
}
.htr-accordion[open] {
	border-color: var(--color-primary);
}
.htr-accordion__summary {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: var(--space-md);
	cursor: pointer;
	font-size: 1.125rem;
	font-weight: bold;
	list-style: none;
	min-height: var(--min-tap-size);
	background: var(--color-bg-subtle);
}
.htr-accordion[open] .htr-accordion__summary {
	background: #fff0f0;
	color: var(--color-primary);
}
.htr-accordion__summary::-webkit-details-marker { display: none; }
.htr-accordion__summary::before {
	content: '▶';
	font-size: 0.75rem;
	transition: transform 0.2s;
	margin-left: auto;
	order: 99;
}
.htr-accordion[open] .htr-accordion__summary::before {
	transform: rotate(90deg);
}

.htr-method__body {
	padding: var(--space-md);
}
.htr-method__body h3 {
	color: var(--color-primary);
	font-size: 1rem;
	margin: 0 0 var(--space-xs);
}
.htr-method__body h3:not(:first-child) { margin-top: var(--space-md); }

.htr-method__list {
	padding-left: 1.25rem;
	margin: 0 0 var(--space-sm);
}
.htr-method__list li { margin-bottom: 0.5rem; line-height: 1.7; }
.htr-method__list--ng li::marker { color: var(--color-text-muted); }

.htr-callout {
	padding: var(--space-sm) var(--space-md);
	border-radius: 0.25rem;
	margin: var(--space-sm) 0;
}
.htr-callout p { margin: 0 0 var(--space-xs); }
.htr-callout p:last-child { margin-bottom: 0; }
.htr-callout--notice {
	background: #f0f4ff;
	border-left: 0.25rem solid #4a7aff;
}
.htr-callout--warning {
	background: #fff5f5;
	border-left: 0.25rem solid var(--color-primary);
}
.htr-callout--recommend {
	background: #f0fff4;
	border-left: 0.25rem solid #2e8540;
}

.htr-common-notice {
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
	margin-bottom: var(--space-xl);
}
.htr-common-notice h2 { margin-top: 0; color: var(--color-text); }

/* --------------------------------------------------------------------------
   当店について（page-about.php）
   -------------------------------------------------------------------------- */
.about-section  { margin-bottom: var(--space-xl); }
.access-section { margin-bottom: var(--space-xl); }

.company-info__tel {
	font-weight: bold;
	font-size: 1.125rem;
	color: var(--color-primary);
}
.about-section__note {
	margin-top: var(--space-sm);
	color: var(--color-text-muted);
	font-size: 0.9375rem;
}

.access-map {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--color-bg-subtle);
	margin: var(--space-md) 0;
	border-radius: 0.5rem;
	overflow: hidden;
	max-height: 450px;
}
.access-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access-map__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: var(--space-md);
	text-align: center;
}
.access-map__caption {
	margin: var(--space-xs) 0 var(--space-md);
	font-size: 1rem;
	text-align: center;
}

.access-directions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-lg);
	margin-top: var(--space-md);
}
.access-directions__col h3 { color: var(--color-text); margin-top: 0; }
.access-directions__list { padding-left: 1.25rem; margin: 0 0 var(--space-sm); }
.access-directions__list li { margin-bottom: 0.5rem; }

.parking-section { margin-bottom: var(--space-xl); }
.parking-section h2 { color: var(--color-primary); }

.parking-info {
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
	margin-bottom: var(--space-md);
}
.parking-info__list {
	padding-left: 1.25rem;
	margin: 0;
}
.parking-info__list li { margin-bottom: 0.5rem; line-height: 1.7; }

.parking-warning {
	padding: var(--space-md);
	background: #fff5f5;
	border: 2px solid var(--color-primary);
	border-radius: 0.5rem;
}
.parking-warning__title {
	font-size: 1.0625rem;
	font-weight: bold;
	color: var(--color-primary);
	margin: 0 0 var(--space-sm);
}
.parking-warning p { margin: 0; line-height: 1.7; }

/* --------------------------------------------------------------------------
   お問い合わせページ（page-contact.php）
   -------------------------------------------------------------------------- */
.contact-phone { margin-bottom: var(--space-xl); }
.contact-phone h2 { color: var(--color-primary); }

.contact-phone__block {
	padding: var(--space-lg) var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
	text-align: center;
	margin-bottom: var(--space-md);
}
.contact-phone__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 3.5rem;
	font-weight: bold;
	color: var(--color-primary);
	text-decoration: none;
	min-height: 5.5rem;
	padding: 0.5rem 1rem;
	line-height: 1.2;
}
.contact-phone__link:hover { text-decoration: underline; }
.contact-phone__icon { font-size: 2.5rem; }
.contact-phone__number { letter-spacing: 0.05em; white-space: nowrap; }
.contact-phone__link { white-space: nowrap; flex-wrap: nowrap; }
.contact-phone__hours {
	margin: var(--space-sm) 0 0;
	color: var(--color-text-muted);
	font-size: 1rem;
	line-height: 1.6;
}
.contact-phone__recording-notice {
	padding: var(--space-sm) var(--space-md);
	background: var(--color-bg-subtle);
	border-left: 0.25rem solid var(--color-border);
	border-radius: 0.25rem;
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
}
.contact-phone__recording-notice p { margin: 0; }

.contact-divider {
	text-align: center;
	padding: var(--space-md);
	margin-bottom: var(--space-lg);
	position: relative;
}
.contact-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--color-border);
	z-index: 0;
}
.contact-divider p {
	display: inline-block;
	position: relative;
	z-index: 1;
	background: var(--color-bg);
	padding: 0 var(--space-md);
	margin: 0;
}

.contact-form { margin-bottom: var(--space-xl); }
.contact-form h2 { color: var(--color-primary); }
.contact-form__cf7-notice {
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
	text-align: center;
	color: var(--color-text-muted);
}
.contact-form__privacy {
	margin-top: var(--space-md);
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}

.contact-phone-again {
	text-align: center;
	padding: var(--space-lg) var(--space-md);
	margin-top: var(--space-xl);
	border-top: 1px solid var(--color-border);
}
.contact-phone-again p { margin: 0 0 var(--space-md); }

/* --------------------------------------------------------------------------
   トップページ（front-page.php）
   -------------------------------------------------------------------------- */
.front-page { }

/* ヒーロー拡張 */
.hero__inner {
	max-width: 64rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: var(--space-lg);
}
.hero__text {
	flex: 1 1 auto;
}
.hero__mascot {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-end;
}
.hero__mascot img {
	width: 280px;
	height: auto;
	max-width: 100%;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,.12));
}
.hero__eyebrow {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin: 0 0 var(--space-xs);
}
.hero__lead {
	font-size: 1.125rem;
	max-width: 36rem;
	margin: var(--space-sm) 0 var(--space-md);
	color: var(--color-text-muted);
}
.hero__hours {
	margin: var(--space-sm) 0 0;
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}
.hero__secondary-btn {
	display: inline-block;
	margin-top: var(--space-md);
	font-size: 1rem;
}

/* ページヘッダー + マスコット */
.page-article__header--with-mascot {
	display: flex;
	align-items: flex-start; /* 見出しを上揃えにし、マスコット画像高による上部余白を解消 */
	gap: var(--space-md);
}
.page-article__header--with-mascot .page-article__header-text {
	flex: 1 1 auto;
}
.page-article__header--with-mascot .page-article__header-mascot {
	flex: 0 0 auto;
}
.page-article__header--with-mascot .page-article__header-mascot img {
	height: auto;
	max-width: 100%;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.10));
}

/* セクション共通 */
.fp-section { padding: var(--space-xl) 0; }
.fp-section--gray { background: var(--color-bg-subtle); }
.fp-section__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-sm);
}
.fp-section__inner--narrow { max-width: 48rem; }
.fp-section__title {
	font-size: 1.75rem;
	margin: 0 0 var(--space-sm);
	text-align: center;
}
.fp-section__lead {
	text-align: center;
	color: var(--color-text-muted);
	margin: 0 0 var(--space-lg);
}
.fp-section__more {
	text-align: center;
	margin-top: var(--space-lg);
}

/* ② 当店の強み */
.strengths__mascot-wrap {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	justify-content: center;
	margin-bottom: var(--space-md);
}
.strengths__mascot-bubble {
	background: var(--color-primary);
	color: #fff;
	border-radius: 1rem 1rem 1rem 0;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	font-weight: bold;
	white-space: nowrap;
}
.strengths__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: var(--space-md);
	list-style: none;
	padding: 0;
	margin: var(--space-md) 0 0;
}
.strengths__item {
	padding: var(--space-md);
	background: #fff;
	border-radius: 0.5rem;
	border: 1px solid var(--color-border);
	text-align: center;
}
.fp-section--gray .strengths__item { background: var(--color-bg); }
.strengths__icon { font-size: 2.5rem; display: block; margin: 0 0 var(--space-sm); }
.strengths__item-title { margin: 0 0 var(--space-xs); font-size: 1.0625rem; color: var(--color-primary); }
.strengths__item-body { margin: 0; font-size: 0.9375rem; line-height: 1.7; }

/* ③ サービス紹介 */
.services__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: var(--space-md);
	list-style: none;
	padding: 0;
	margin: var(--space-md) 0 0;
}
.services__item { }
.services__link {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	padding: var(--space-md);
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	color: inherit;
	text-decoration: none;
	height: 100%;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.services__link:hover {
	border-color: var(--color-primary);
	box-shadow: 0 2px 8px rgba(221,47,51,0.12);
	color: inherit;
	text-decoration: none;
}
.services__icon { font-size: 2rem; }
.services__item-title { margin: 0; font-size: 1.0625rem; color: var(--color-primary); }
.services__item-body { margin: 0; font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.6; }

/* ④ ご依頼の流れ（共有） */
.flow__steps {
	list-style: none;
	padding: 0;
	margin: var(--space-md) 0 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.flow__step {
	display: flex;
	gap: var(--space-md);
	padding: var(--space-md) 0;
	border-bottom: 1px solid var(--color-border);
	align-items: flex-start;
}
.flow__step:last-child { border-bottom: none; }
.flow__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	min-width: 2.5rem;
	background: var(--color-primary);
	color: #fff;
	font-weight: bold;
	font-size: 1.125rem;
	border-radius: 50%;
	flex-shrink: 0;
}
.flow__step-body { flex: 1; }
.flow__step-title { margin: 0 0 var(--space-xs); font-size: 1.0625rem; }
.flow__step-desc { margin: 0; color: var(--color-text-muted); font-size: 0.9375rem; line-height: 1.7; }
.flow__mascot-balloon {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: var(--space-sm);
}
.flow__mascot-text {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 0.5rem 0.5rem 0.5rem 0;
	padding: 0.4rem 0.75rem;
	font-size: 0.875rem;
	font-weight: bold;
	color: var(--color-text);
	margin: 0;
}

/* ⑤ 中古PC フロントページ版 */
.used-pc-featured__notice {
	padding: var(--space-md);
	background: #fff5f5;
	border-left: 0.375rem solid var(--color-primary);
	border-radius: 0.25rem;
	margin-bottom: var(--space-md);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-md);
}
.used-pc-featured__notice p { margin: 0; font-size: 1.0625rem; }
.used-pc-featured__empty {
	text-align: center;
	color: var(--color-text-muted);
	padding: var(--space-md);
}
.used-pc-list--front { margin-top: var(--space-md); }

/* ⑥ 新品PC プロモ */
.new-pc-promo__body { margin-bottom: var(--space-md); }
.new-pc-promo__note { font-size: 0.9375rem; color: var(--color-text-muted); }

/* ⑩ アクセス */
.fp-access__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-xl);
	align-items: start;
	margin-top: var(--space-md);
}
.fp-access__dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.5rem var(--space-md);
	margin: 0 0 var(--space-md);
}
.fp-access__dl dt { font-weight: bold; color: var(--color-text-muted); }
.fp-access__dl dd { margin: 0; }
.fp-access__phone-block { text-align: center; }
.fp-access__phone-lead { font-weight: bold; margin: 0 0 var(--space-md); }

/* --------------------------------------------------------------------------
   新品パソコン販売（page-new-pc.php）
   -------------------------------------------------------------------------- */
.new-pc-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: var(--space-md);
	list-style: none;
	padding: 0;
	margin: var(--space-md) 0;
}
.new-pc-feature {
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
	text-align: center;
}
.new-pc-feature__icon { font-size: 4rem; line-height: 1; display: block; margin: 0 0 var(--space-sm); }
.new-pc-feature h3 { margin: 0 0 var(--space-xs); font-size: 1.0625rem; color: var(--color-primary); }
.new-pc-feature p { margin: 0; font-size: 0.9375rem; line-height: 1.7; }
.new-pc-notice__list {
	padding-left: 1.25rem;
	margin: 0;
}
.new-pc-notice__list li { margin-bottom: var(--space-sm); line-height: 1.7; }

/* --------------------------------------------------------------------------
   サービスページ共通（page-ssd-upgrade.php / page-data-deletion.php）
   -------------------------------------------------------------------------- */
.service-section {
	margin-bottom: var(--space-xl);
	padding-bottom: var(--space-lg);
	border-bottom: 1px solid var(--color-border);
}
.service-section:last-of-type { border-bottom: none; }
.service-section h2 { color: var(--color-primary); margin-top: 0; }

.service-cost__list {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.75rem var(--space-lg);
	margin: 0;
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
}
.service-cost__list dt { font-weight: bold; color: var(--color-text-muted); }
.service-cost__list dd { margin: 0; }
.service-cost__note { display: block; font-size: 0.875rem; color: var(--color-text-muted); }

.service-caution__list {
	padding-left: 1.25rem;
	margin: 0;
}
.service-caution__list li { margin-bottom: var(--space-sm); line-height: 1.7; }

/* SSD交換 ビフォー/アフター */
.ssd-compare__grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: var(--space-md);
	align-items: center;
	margin: var(--space-md) 0;
}
.ssd-compare__before {
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
}
.ssd-compare__after {
	padding: var(--space-md);
	background: #fff5f5;
	border: 2px solid var(--color-primary);
	border-radius: 0.5rem;
}
.ssd-compare__label {
	font-weight: bold;
	margin: 0 0 var(--space-sm);
	font-size: 1.0625rem;
}
.ssd-compare__label--before { color: var(--color-text-muted); }
.ssd-compare__label--after { color: var(--color-primary); }
.ssd-compare__list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.ssd-compare__list li { margin-bottom: 0.5rem; line-height: 1.6; }
.ssd-compare__arrow {
	font-size: 2rem;
	color: var(--color-primary);
	font-weight: bold;
	text-align: center;
	flex-shrink: 0;
}
.ssd-compare__highlight {
	padding: var(--space-md);
	background: #e8f5e9;
	border-left: 0.375rem solid #2e8540;
	border-radius: 0.25rem;
	margin-top: var(--space-md);
}
.ssd-compare__highlight p { margin: 0 0 var(--space-xs); }
.ssd-compare__highlight p:last-child { margin-bottom: 0; }

/* データ消去 */
.data-del-methods {
	list-style: none;
	padding: 0;
	margin: var(--space-md) 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}
.data-del-method {
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 0.5rem;
	border-left: 0.375rem solid var(--color-primary);
}
.data-del-method h3 { margin: 0 0 var(--space-xs); font-size: 1.0625rem; }
.data-del-method p { margin: 0; line-height: 1.7; }

/* --------------------------------------------------------------------------
   プライバシーポリシー（page-privacy-policy.php）
   -------------------------------------------------------------------------- */
.page-container--narrow {
	max-width: 45rem;
}
.privacy-body { }
.privacy-section {
	margin-bottom: var(--space-lg);
	padding-bottom: var(--space-lg);
	border-bottom: 1px solid var(--color-border);
}
.privacy-section:last-of-type { border-bottom: none; }
.privacy-section h2 {
	font-size: 1.25rem;
	margin-top: 0;
	padding-left: var(--space-sm);
	border-left: 0.25rem solid var(--color-primary);
}
.privacy-section ul {
	padding-left: 1.25rem;
	margin: 0;
}
.privacy-section ul li { margin-bottom: 0.5rem; }
.privacy-recording-notice {
	margin: var(--space-md) 0;
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-left: 0.375rem solid var(--color-primary);
	border-radius: 0.25rem;
	font-style: normal;
}
.privacy-recording-notice p { margin: 0; line-height: 1.9; }
.privacy-dates {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.5rem var(--space-md);
	margin: var(--space-md) 0 0;
	font-size: 0.9375rem;
}
.privacy-dates dt { font-weight: bold; color: var(--color-text-muted); }
.privacy-dates dd { margin: 0; }

/* --------------------------------------------------------------------------
   中古PC 詳細ページ（単独表示ページ）
   -------------------------------------------------------------------------- */
/* パンくず */
.breadcrumb {
	margin-bottom: var(--space-md);
	font-size: 0.875rem;
	color: var(--color-text-muted);
}
.breadcrumb__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.5rem;
}
.breadcrumb__list li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb__list li:not(:last-child)::after { content: '›'; color: var(--color-border); }
.breadcrumb__list a { color: var(--color-text-muted); }
.breadcrumb__list a:hover { text-decoration: underline; }
.breadcrumb__list li[aria-current="page"] { color: var(--color-text); font-weight: 600; }

/* パンくずバー（ヘッダー直下・全下層ページ共通）
   .site-main の上paddingに負マージンで食い込ませ、上下の余白を約8pxに抑える */
.breadcrumb-bar {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: -1rem;      /* .site-main の上padding(1.5rem)を一部相殺 → 上余白 約8px */
	margin-bottom: 0.5rem;  /* 下余白 8px */
}
.breadcrumb-bar .breadcrumb { margin-bottom: 0; }

/* 地図ファサード（クリックで読込）ホバー */
.uu-map-facade:hover,
.uu-map-facade:focus-visible { background: var(--uu-bg-warm-deep, #fdf0e6); outline: 2px solid var(--uu-red); outline-offset: -2px; }

/* 価格ブロック（新デザイン） */
.used-pc-detail__price-block {
	padding: var(--space-md);
	background: #fff5f5;
	border: 2px solid var(--color-primary);
	border-radius: 0.5rem;
	text-align: center;
}
.used-pc-detail__price-label {
	font-weight: bold;
	font-size: 1.0625rem;
	margin: 0 0 var(--space-sm);
}

/* 注意事項アコーディオン */
.used-pc-cautions {
	margin: var(--space-xl) 0;
}
.used-pc-cautions h2 { color: var(--color-text); margin-top: 0; }
.used-pc-cautions__lead {
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
}
.used-pc-caution-item {
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	margin-bottom: 0.5rem;
	overflow: hidden;
}
.used-pc-caution-item[open] { border-color: var(--color-text-muted); }
.used-pc-caution-item__summary {
	display: flex;
	align-items: center;
	padding: var(--space-sm) var(--space-md);
	cursor: pointer;
	background: var(--color-bg-subtle);
	font-weight: bold;
	min-height: var(--min-tap-size);
	list-style: none;
	gap: 0.5rem;
}
.used-pc-caution-item__summary::-webkit-details-marker { display: none; }
.used-pc-caution-item__summary::after {
	content: '▶';
	font-size: 0.75rem;
	margin-left: auto;
	transition: transform 0.2s;
}
.used-pc-caution-item[open] .used-pc-caution-item__summary::after { transform: rotate(90deg); }
.used-pc-caution-item__body {
	padding: var(--space-sm) var(--space-md);
	margin: 0;
	line-height: 1.8;
	border-top: 1px solid var(--color-border);
}

/* 関連中古PC */
.used-pc-related { margin: var(--space-xl) 0; }
.used-pc-related h2 { margin-top: 0; }
.used-pc-list--related .used-pc-card__title { font-size: 1rem; }
.used-pc-card--small .used-pc-card__image { aspect-ratio: 4/3; }

/* 中古PC一覧 通知バナー（強化） */
.used-pc-notice {
	padding: var(--space-md) var(--space-lg);
	background: #fff5f5;
	border: 2px solid var(--color-primary);
	border-radius: 0.5rem;
	margin: var(--space-md) 0 var(--space-lg);
	text-align: center;
}
.used-pc-notice__price { font-size: 1.125rem; margin: 0 0 var(--space-sm); }
.used-pc-notice__limit {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin: var(--space-sm) 0 0;
}
.used-pc-card__price-note {
	margin: var(--space-xs) 0 0;
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   レスポンシブ（全ページ統合）
   -------------------------------------------------------------------------- */

/* --- PC（769px以上） --- */
@media (min-width: 769px) {
	/* ご依頼方法: PCではタブUIを表示 */
	.htr-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: -1px; }
	.htr-accordion { border-radius: 0 0 0.375rem 0.375rem; margin-bottom: 0; }
	.htr-accordion + .htr-accordion { border-top: none; }
	.htr-accordion:not([open]) { display: none; }
	.htr-accordion__summary { display: none; }

	/* アクセスマップ: PC では高さ固定 */
	.access-map { aspect-ratio: unset; height: 450px; }

	/* 電話リンク */
	.contact-phone__link { font-size: 4.5rem; }
}

/* --- モバイル（768px以下） --- */
@media (max-width: 768px) {
	/* ヘッダー: utilitiesを1行に */
	.site-header__inner { flex-direction: column; align-items: stretch; }
	.site-header__utilities {
		justify-content: space-between;
		flex-wrap: nowrap;
		gap: 8px;
	}
	.font-size-switcher__label { display: none; }
	/* 重要タッチターゲット: 文字サイズ切替は48px下限を必須（55歳以上層・モバイル誤タップ対策） */
	.font-size-switcher__btn   { min-width: 48px; min-height: 48px; padding: 0.35rem 0.5rem; font-size: 0.9rem; }
	.site-header__tel-pill         { padding: 0.5rem 0.85rem; min-height: 48px; }
	.site-header__tel-pill__number { font-size: 1rem; }
	.site-header__tel-pill__hours  { font-size: 0.75rem; }

	/* ヒーロー */
	.hero__title { font-size: 1.75rem; }
	.hero__inner { flex-direction: column; gap: var(--space-md); }
	.hero__mascot { display: none; }

	/* ページヘッダー + マスコット: モバイルでは非表示 */
	.page-article__header--with-mascot { display: block; }
	.page-article__header--with-mascot .page-article__header-mascot { display: none; }

	/* ご依頼方法: モバイルではタブを非表示、アコーディオンのみ */
	.htr-tabs { display: none; }
	.htr-hero__notice { flex-direction: column; align-items: flex-start; }

	/* アクセス方向: モバイルでは縦並び */
	.access-directions { grid-template-columns: 1fr; gap: var(--space-md); }

	/* 電話リンク: モバイル幅でも改行しないよう clamp で流動スケール */
	.contact-phone__link { font-size: clamp(1.6rem, 8.5vw, 2.5rem); min-height: 4rem; gap: 0.35rem; padding: 0.5rem 0.4rem; }
	.contact-phone__icon { font-size: clamp(1.4rem, 6vw, 2.5rem); }

	/* 会社情報テーブル: モバイルで縦並び */
	.company-info { grid-template-columns: 1fr; }
	.company-info dt { margin-top: var(--space-xs); }

	/* トップページ各セクション: モバイル対応 */
	.fp-section { padding: var(--space-lg) 0; }
	.fp-access__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
	.fp-access__dl { grid-template-columns: 1fr; }

	/* SSD比較: モバイルでは縦並び */
	.ssd-compare__grid { grid-template-columns: 1fr; }
	.ssd-compare__arrow { transform: rotate(90deg); }

	/* サービスコスト: モバイルでは縦並び */
	.service-cost__list { grid-template-columns: 1fr; }

	/* 中古PC詳細: モバイルでは縦並び */
	.used-pc-detail__main { grid-template-columns: 1fr; }

	/* お問い合わせ: モバイル */
	.contact-form-section { padding: var(--space-md); }

	/* ---------- 新デザイン モバイル対応 ---------- */
	.hero-new__inner { flex-direction: column; }
	.hero-new__catchphrase h1 { font-size: 1.5rem; }
	.fp-request-methods__cards { grid-template-columns: repeat(2, 1fr); }
	.fp-stats__cards { grid-template-columns: 1fr; }
	.fp-repair-menu__grid { grid-template-columns: 1fr; }
	.fp-used-pc-new__grid { grid-template-columns: repeat(2, 1fr); }
	.fp-news-youtube__inner { grid-template-columns: 1fr; }
	.fp-access-new__map-row { grid-template-columns: 1fr; }
	.fp-access-new__transport { grid-template-columns: 1fr; }
	.site-footer-new__main { grid-template-columns: 1fr; }
}

/* ==========================================================================
   新デザイン（Claude Design プロトタイプ反映 2026-05）
   ========================================================================== */

/* --------------------------------------------------------------------------
   ヘッダー TEL ピル型ボタン
   -------------------------------------------------------------------------- */
.site-header__tel-pill {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	background: var(--color-primary);
	color: #fff;
	border-radius: 2rem;
	padding: 0.4rem 1rem;
	text-decoration: none;
	min-height: var(--min-tap-size);
	justify-content: center;
}
.site-header__tel-pill:hover {
	background: #b71c1c;
	color: #fff;
	text-decoration: none;
}
.site-header__tel-pill__number {
	font-size: 1.125rem;
	font-weight: bold;
	line-height: 1.2;
}
.site-header__tel-pill__hours {
	font-size: 0.75rem;
	/* opacity: 0.9 だと白文字の実効色が #fceaeb となり赤背景 #dd2f33 とのコントラストが
	   3.99:1 で WCAG AA(4.5:1) 未達。白を維持して可読性を確保 */
	color: #fff;
}

/* --------------------------------------------------------------------------
   ヒーロー 新デザイン
   -------------------------------------------------------------------------- */
.hero-new {
	background: #faf7f4;
	padding: var(--space-xl) var(--space-sm);
}
.hero-new__inner {
	max-width: 72rem;
	margin: 0 auto;
	display: flex;
	gap: var(--space-lg);
	align-items: center;
}
.hero-new__text { flex: 1; }
.hero-new__right {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	align-items: center;
}

/* タグライン */
.hero-new__tagline {
	font-size: 1.125rem;
	margin-bottom: var(--space-sm);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.hero-new__tagline-accent {
	color: var(--color-primary);
	font-weight: bold;
}

/* 吹き出し風キャッチ */
.hero-new__catchphrase {
	background: #fff;
	border-radius: 1rem;
	padding: 1.25rem 1.5rem;
	margin: var(--space-sm) 0;
	box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.hero-new__catchphrase h1 {
	font-size: 1.75rem;
	font-weight: bold;
	line-height: 1.4;
	margin: 0;
}

.hero-new__sub {
	font-size: 1rem;
	line-height: 1.8;
	margin: var(--space-sm) 0;
}

/* チェックリスト */
.hero-new__checklist {
	list-style: none;
	padding: 0;
	margin: var(--space-md) 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.hero-new__checklist li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1rem;
}
.hero-new__checklist li::before {
	content: '\2713';
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	font-weight: bold;
	font-size: 0.875rem;
	flex-shrink: 0;
}

/* 円形マスコット */
.hero-new__mascot-circle {
	position: relative;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	border: 4px solid var(--color-primary);
	overflow: visible;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}
.hero-new__mascot-circle img {
	width: 260px;
	height: 260px;
	object-fit: contain;
	border-radius: 50%;
}
.hero-new__badge--jisseki {
	position: absolute;
	top: -8px;
	right: -8px;
	background: var(--color-primary);
	color: #fff;
	border-radius: 1rem;
	padding: 0.25rem 0.75rem;
	font-size: 0.875rem;
	font-weight: bold;
	white-space: nowrap;
}
.hero-new__badge--travel {
	position: absolute;
	bottom: 0;
	left: -16px;
	background: var(--color-primary);
	color: #fff;
	border-radius: 50%;
	width: 5rem;
	height: 5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: bold;
	text-align: center;
	line-height: 1.4;
}

/* CTAボックス */
.hero-new__cta-box {
	background: var(--color-primary);
	color: #fff;
	border-radius: 1rem;
	padding: 1.25rem 1.5rem;
	text-align: center;
	width: 280px;
}
.hero-new__cta-label {
	font-size: 0.9375rem;
	margin: 0 0 0.5rem;
}
.hero-new__cta-number {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 1.75rem;
	font-weight: bold;
	margin: 0.25rem 0;
}
.hero-new__cta-number:hover {
	color: #fff;
	text-decoration: none;
	opacity: 0.9;
}
.hero-new__cta-hours {
	font-size: 0.8125rem;
	margin: 0.5rem 0 0;
	opacity: 0.9;
}

/* --------------------------------------------------------------------------
   ご依頼方法
   -------------------------------------------------------------------------- */
.fp-request-methods {
	padding: var(--space-xl) var(--space-sm);
}
.fp-request-methods__inner {
	max-width: 72rem;
	margin: 0 auto;
}
.fp-request-methods__title {
	text-align: center;
	font-size: 1.375rem;
	margin-bottom: var(--space-lg);
	line-height: 1.6;
}
.fp-request-methods__num {
	color: var(--color-primary);
	font-size: 2rem;
}
.fp-request-methods__cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-md);
}
.fp-request-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 1rem;
	padding: var(--space-md);
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.fp-request-card__icon {
	font-size: 3rem;
	margin-bottom: var(--space-sm);
	display: block;
}
.fp-request-card__title {
	font-size: 1.0625rem;
	font-weight: bold;
	margin-bottom: var(--space-xs);
}
.fp-request-card__desc {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin: 0;
}

/* --------------------------------------------------------------------------
   統計インフォ
   -------------------------------------------------------------------------- */
.fp-stats {
	background: #f8f8f8;
	padding: var(--space-lg) var(--space-sm);
}
.fp-stats__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-md);
	max-width: 64rem;
	margin: 0 auto;
}
.fp-stat-card {
	background: #fff;
	border-radius: 1rem;
	padding: var(--space-md);
	display: flex;
	gap: var(--space-sm);
	align-items: flex-start;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.fp-stat-card__icon {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
}
.fp-stat-card__body { flex: 1; }
.fp-stat-card__title {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin: 0 0 0.25rem;
}
.fp-stat-card__value {
	font-size: 1.75rem;
	font-weight: bold;
	color: var(--color-primary);
	margin: 0;
	line-height: 1.3;
}
.fp-stat-card__value--sm {
	font-size: 1rem;
}
.fp-stat-card__note {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin: 0.25rem 0 0;
}

/* --------------------------------------------------------------------------
   修理メニュー
   -------------------------------------------------------------------------- */
.fp-repair-menu {
	padding: var(--space-xl) var(--space-sm);
}
.fp-repair-menu__inner {
	max-width: 72rem;
	margin: 0 auto;
}
.fp-repair-menu__label {
	text-align: center;
	font-size: 0.875rem;
	color: var(--color-primary);
	letter-spacing: .1em;
	margin-bottom: 0.25rem;
}
.fp-repair-menu__title {
	text-align: center;
	font-size: 1.75rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}
.fp-repair-menu__accent { color: var(--color-primary); }
.fp-repair-menu__sub {
	text-align: center;
	color: var(--color-text-muted);
	margin-bottom: var(--space-lg);
}
.fp-repair-menu__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-md);
}
.fp-repair-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 1rem;
	padding: var(--space-md);
	position: relative;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.fp-repair-card__num {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 1.5rem;
	font-weight: bold;
	color: #eee;
	line-height: 1;
}
.fp-repair-card__icon {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	margin-bottom: var(--space-sm);
}
.fp-repair-card__title {
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: var(--space-xs);
}
.fp-repair-card__desc {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	line-height: 1.7;
	margin: 0;
}

/* --------------------------------------------------------------------------
   中古パソコン 新デザイン
   -------------------------------------------------------------------------- */
.fp-used-pc-new {
	background: #f8f8f8;
	padding: var(--space-xl) var(--space-sm);
}
.fp-used-pc-new__inner {
	max-width: 72rem;
	margin: 0 auto;
}
.fp-used-pc-new__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--space-lg);
	flex-wrap: wrap;
	gap: var(--space-sm);
}
.fp-used-pc-new__heading {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0;
}
.fp-used-pc-new__badge {
	background: var(--color-primary);
	color: #fff;
	border-radius: 2rem;
	padding: 0.2rem 0.75rem;
	font-size: 0.875rem;
	font-weight: bold;
}
.fp-used-pc-new__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-md);
	margin-bottom: var(--space-md);
}
.fp-used-pc-card2 {
	background: #fff;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.fp-used-pc-card2__img {
	aspect-ratio: 4/3;
	overflow: hidden;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fp-used-pc-card2__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fp-used-pc-card2__body {
	padding: var(--space-sm);
}
.fp-used-pc-card2__title {
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: 0.25rem;
}
.fp-used-pc-card2__specs {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-sm);
}
.fp-used-pc-card2__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	background: var(--color-primary);
	color: #fff;
	border-radius: 2rem;
	padding: 0.6rem 1rem;
	font-size: 0.9375rem;
	font-weight: bold;
	text-decoration: none;
	min-height: var(--min-tap-size);
}
.fp-used-pc-card2__btn:hover {
	background: #b71c1c;
	color: #fff;
	text-decoration: none;
}
.fp-used-pc-new__note {
	text-align: center;
	font-size: 0.875rem;
	color: var(--color-text-muted);
}
.fp-used-pc-new__empty {
	text-align: center;
	padding: var(--space-lg);
	color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   お知らせ + YouTube 2カラム
   -------------------------------------------------------------------------- */
.fp-news-youtube {
	padding: var(--space-xl) var(--space-sm);
}
.fp-news-youtube__inner {
	max-width: 72rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: var(--space-xl);
	align-items: start;
}
.fp-news-youtube__section-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--space-md);
	flex-wrap: wrap;
	gap: var(--space-sm);
}
.fp-news-youtube__title {
	font-size: 1.25rem;
	font-weight: bold;
	margin: 0;
}
.fp-news-list2 {
	list-style: none;
	padding: 0;
	margin: 0;
}
.fp-news-list2 li {
	display: flex;
	gap: var(--space-sm);
	padding: 0.75rem 0;
	border-bottom: 1px solid #eee;
	align-items: baseline;
	flex-wrap: wrap;
}
.fp-news-list2__date {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	white-space: nowrap;
}
.fp-news-list2__badge {
	background: var(--color-primary);
	color: #fff;
	border-radius: 2rem;
	padding: 0.1rem 0.5rem;
	font-size: 0.75rem;
	white-space: nowrap;
}
.fp-news-list2__text {
	font-size: 0.9375rem;
	flex: 1;
	color: inherit;
}
.fp-news-list2__text:hover { color: var(--color-primary); }

/* YouTube カード */
.fp-youtube-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 1rem;
	padding: var(--space-md);
	text-align: center;
	position: relative;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.fp-youtube-card__badge {
	position: absolute;
	top: -0.75rem;
	right: 1rem;
	background: #ffd600;
	color: #222;
	border-radius: 2rem;
	padding: 0.2rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: bold;
	white-space: nowrap;
}
.fp-youtube-card__logo {
	font-size: 0.875rem;
	color: var(--color-primary);
	font-weight: bold;
	margin-bottom: 0.25rem;
}
.fp-youtube-card__title {
	font-size: 1.125rem;
	font-weight: bold;
	margin-bottom: var(--space-xs);
}
.fp-youtube-card__desc {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-sm);
}
.fp-youtube-card__mascot {
	width: 80px;
	margin: 0 auto var(--space-sm);
}
.fp-youtube-card__mascot img { width: 80px; height: auto; }
.fp-youtube-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--color-primary);
	color: #fff;
	border-radius: 2rem;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: bold;
	text-decoration: none;
	min-height: var(--min-tap-size);
}
.fp-youtube-card__btn:hover {
	background: #b71c1c;
	color: #fff;
	text-decoration: none;
}

/* ボタン小さめバリアント */
.btn--sm {
	font-size: 0.875rem;
	padding: 0.375rem 0.75rem;
	min-height: var(--min-tap-size);
}

/* --------------------------------------------------------------------------
   アクセス 新デザイン
   -------------------------------------------------------------------------- */
.fp-access-new {
	background: #f8f8f8;
	padding: var(--space-xl) var(--space-sm);
}
.fp-access-new__inner {
	max-width: 72rem;
	margin: 0 auto;
}
.fp-access-new__title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: var(--space-lg);
}
.fp-access-new__map-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: var(--space-md);
	margin-bottom: var(--space-lg);
}
.fp-access-new__store-img {
	background: #f0ebe4;
	border-radius: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	padding: var(--space-md);
	min-height: 200px;
}
.fp-access-new__store-img img {
	max-width: 120px;
	opacity: 0.7;
}
.fp-access-new__store-label {
	color: var(--color-text-muted);
	font-size: 0.875rem;
}
.fp-access-new__info {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.fp-access-new__company {
	font-size: 1.125rem;
	font-weight: bold;
	margin: 0;
}
.fp-access-new__tel {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--color-primary);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-height: var(--min-tap-size);
}
.fp-access-new__tel:hover { text-decoration: underline; }
.fp-access-new__map-embed {
	border-radius: 1rem;
	overflow: hidden;
	min-height: 200px;
	background: #e8f0e8;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fp-access-new__map-embed iframe {
	width: 100%;
	height: 100%;
	min-height: 200px;
	border: 0;
	display: block;
}
.fp-access-new__map-placeholder {
	padding: var(--space-md);
	text-align: center;
}
.fp-access-new__transport {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-md);
}
.fp-access-transport-card {
	background: #fff;
	border-radius: 1rem;
	padding: var(--space-md);
	display: flex;
	gap: var(--space-sm);
	align-items: flex-start;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.fp-access-transport-card__icon {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
}
.fp-access-transport-card__title {
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: 0.25rem;
	margin-top: 0;
}
.fp-access-transport-card__desc {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin: 0;
}

/* --------------------------------------------------------------------------
   フッター 新デザイン
   -------------------------------------------------------------------------- */
.site-footer-new {
	background: #2c2c2c;
	color: #ccc;
	margin-top: 0;
}
.site-footer-new__main {
	max-width: 72rem;
	margin: 0 auto;
	padding: var(--space-xl) var(--space-sm);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-xl);
}
.site-footer-new__logo img {
	max-width: 160px;
	filter: brightness(0) invert(1);
	opacity: 0.8;
	margin-bottom: var(--space-sm);
}
/* カスタムロゴの場合 */
.site-footer-new__logo .custom-logo-link img {
	max-width: 160px;
	filter: brightness(0) invert(1);
	opacity: 0.8;
}
.site-footer-new__company {
	font-size: 1rem;
	font-weight: bold;
	color: #fff;
	margin-bottom: 0.25rem;
}
.site-footer-new__tagline {
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
}
.site-footer-new__address {
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
}
.site-footer-new__call-recording {
	font-size: 0.8125rem;
	color: #888;
	margin-top: var(--space-sm);
	line-height: 1.7;
}
.site-footer-new__nav-wrap { padding-top: var(--space-sm); }
.site-footer-new__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: flex-start;
	list-style: none;
	padding: 0;
	margin: 0;
}
.site-footer-new__nav li { margin: 0; }
.site-footer-new__nav a {
	color: #ccc;
	text-decoration: none;
	font-size: 0.875rem;
}
.site-footer-new__nav a:hover { color: #fff; }
.site-footer-new__bottom {
	background: #1a1a1a;
	text-align: center;
	padding: var(--space-sm);
	font-size: 0.8125rem;
	color: #888;
}
.site-footer-new__bottom p { margin: 0; }

/* ─── お問い合わせフォーム ─── */
.contact-form__form { max-width: 640px; margin: 0 auto; }
.contact-form__row { margin-bottom: 1.25rem; }
.contact-form__label { display: block; font-weight: 600; margin-bottom: 0.375rem; font-size: 0.9375rem; }
.contact-form__required { background: var(--uu-red, #dd2f33); color: #fff; font-size: 0.6875rem; font-weight: 700; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
/* WCAG AA: #fff on #8c8f94 = 3.24:1 で不足 → #595c61 で 7:1 確保 */
.contact-form__optional { background: #595c61; color: #fff; font-size: 0.6875rem; font-weight: 700; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
.contact-form__input { width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--color-border, #ddd); border-radius: 6px; font-size: 1rem; font-family: inherit; transition: border-color .15s; box-sizing: border-box; }
.contact-form__input:focus { outline: none; border-color: var(--uu-red, #dd2f33); box-shadow: 0 0 0 3px rgba(221,47,51,.12); }
.contact-form__row--submit { text-align: center; margin-top: 1.75rem; }

/* =====================================================================
   フロントページ v2 — レスポンシブ（モバイル）
   インラインスタイルを !important で上書き
   ===================================================================== */
@media (max-width: 768px) {
	/* ヒーロー H1: 3行構成（各行 white-space: nowrap）を画面幅に応じて流動スケール
	   各行 10文字程度 → モバイル幅でも全行が1行に収まるよう clamp で抑える */
	.fp2-hero-h1       { font-size: clamp(18px, 5.5vw, 40px) !important; line-height: 1.35 !important; }
	.fp2-hero-desc     { font-size: clamp(13px, 4vw, 17px) !important; line-height: 1.7 !important; }

	/* グリッド折り返し */
	.fp2-hero-grid     { grid-template-columns: 1fr !important; }
	.fp2-hero-left     { padding-right: 0 !important; }
	.fp2-methods-grid  { grid-template-columns: 1fr !important; }
	.fp2-stats-grid    { grid-template-columns: 1fr !important; }
	.fp2-repair-grid   { grid-template-columns: 1fr !important; }
	.fp2-usedpc-grid   { grid-template-columns: 1fr !important; }
	.fp2-newpc-grid    { grid-template-columns: repeat(2, 1fr) !important; }
}

/* 新品パソコン販売 ヘッダー: スマホ ≤640px で h2 + バッジが崩れないよう調整 */
@media (max-width: 640px) {
	#new-pc .fp2-new-pc-header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 10px !important;
	}
	#new-pc .fp2-new-pc-header h2 {
		flex-wrap: wrap !important;
		font-size: 22px !important;
		gap: 8px !important;
		line-height: 1.35 !important;
	}
	#new-pc .fp2-new-pc-badge {
		font-size: 13px !important;
		padding: 4px 10px !important;
		margin-left: 0 !important;
	}

	/* 中古パソコンセクション ヘッダー: 同パターンで h2 を 2 行化対策
	   iPhone 13 Pro Max (428px) など 420-640px でも崩れないようにする */
	#used .fp2-used-pc-header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 10px !important;
	}
	#used .fp2-used-pc-header h2 {
		flex-wrap: wrap !important;
		font-size: 22px !important;
		gap: 8px !important;
		line-height: 1.35 !important;
	}
	#used .fp2-used-pc-badge {
		font-size: 13px !important;
		padding: 4px 10px !important;
		margin-left: 0 !important;
	}

	/* 4つのご依頼方法 カード h3: 2列×2行で 1行に収まるサイズに統一 */
	.fp2-methods-grid h3 { font-size: 17px !important; line-height: 1.35 !important; }

	/* 中古PCカード タイトル h3: 横幅狭め時は font-size 抑える */
	.fp2-usedpc-grid h3 { font-size: 15px !important; line-height: 1.45 !important; }
}

/* 320px 級の狭い端末では 4 特長カードを 1 列に */
@media (max-width: 420px) {
	.fp2-newpc-grid { grid-template-columns: 1fr !important; }
	.fp2-news-grid     { grid-template-columns: 1fr !important; }
	.fp2-access-main-grid      { grid-template-columns: 1fr !important; }
	.fp2-access-transport-grid { grid-template-columns: 1fr !important; }

	/* 浮遊装飾円を非表示 */
	.uu-decor-mini     { display: none !important; }

	/* ヒーロー H1 は 768px ブロックの clamp() に委ねる（ここでは指定しない） */

	/* アイブロウ：フォントサイズ縮小・＼／を隠す */
	.fp2-eyebrow       { font-size: 15px !important; gap: 6px !important; margin-bottom: 10px !important; flex-wrap: wrap !important; }
	.fp2-eyebrow-deco  { display: none !important; }

	/* スピーチバブル：パディング縮小・右向きテール非表示 */
	.fp2-bubble        { padding: 14px 20px !important; display: block !important; }
	.fp2-bubble-tail   { display: none !important; }

	/* サブテキスト */
	.fp2-hero-desc     { font-size: 14px !important; }

	/* トラストリスト：幅いっぱい */
	.fp2-trust-item    { font-size: 14px !important; padding: 10px 14px !important;
	                     align-self: stretch !important; width: 100% !important;
	                     box-sizing: border-box !important; }

	/* TEL CTAの電話番号・受付時間 */
	.fp2-tel-num       { font-size: 26px !important; }
	.fp2-tel-hours     { display: none !important; }

	/* セクション見出し: 装飾デコ・強調スパン縮小 */
	.fp2-h2-deco       { display: none !important; }
	.fp2-h2-accent     { font-size: 26px !important; vertical-align: 0 !important; }

	/* 中古PCヘッダー行: 折り返し・バッジ非表示 */
	.fp2-used-pc-header  { flex-wrap: wrap !important; gap: 6px !important; }
	.fp2-used-pc-badge   { display: none !important; }

	/* ご依頼方法カードのh3: 2列グリッド内で1行に収める */
	.fp2-methods-grid h3 { font-size: 16px !important; }

	/* （ここから上はPC幅。PC幅では YouTubeサムネを130%拡大） */
}
@media (min-width: 769px) {
	/* PC閲覧時にサムネ width を130%拡大（150px→195px / 300px→390px）
	   コピー部が圧迫されないよう、超広幅では上限を 360px に抑制 */
	.fp2-yt-thumb {
		width: clamp(195px, 23.4vw, 390px) !important;
	}
}
/* 超広幅(1600px+) でも 130% = 390px 上限を維持（clamp の max が効く） */
@media (max-width: 768px) {

	/* YouTubeカード: モバイルではカード全体を縦積みに切替
	   コピー部 → サムネ2枚横並び → マスコット の順で表示し、
	   サムネが flex 圧縮で消える問題を解消 */
	.fp2-yt-card       { margin-top: 12px !important; padding-top: 36px !important;
	                     flex-direction: column !important;
	                     align-items: stretch !important; }
	.fp2-yt-mascot     { display: flex !important; position: static !important;
	                     flex-shrink: 0 !important;
	                     justify-content: center !important;
	                     align-items: flex-end !important;
	                     width: auto !important;
	                     align-self: center !important; }
	.fp2-yt-mascot img { width: 120px !important; margin: 0 !important; }
	.fp2-yt-title      { font-size: 22px !important; }
	.fp2-yt-accent     { font-size: 26px !important; }
	.fp2-yt-btn        { font-size: 13px !important; padding: 10px 14px !important;
	                     align-self: center !important; justify-content: center !important;
	                     white-space: nowrap !important; }
	/* モバイル: YouTubeサムネは2枚横並びを維持。サムネ幅を flex で均等分割 */
	.fp2-yt-thumbs       { gap: 8px !important; align-self: stretch !important; width: 100% !important; }
	.fp2-yt-thumbs .fp2-yt-thumb { width: auto !important; flex: 1 1 0 !important; min-width: 0 !important; }
	/* ご依頼方法カード: preserveAspectRatio=slice でSVGが全域を覆い上部空白を解消 */
	.fp2-method-img    { margin-top: 14px !important; padding: 0 !important; align-items: stretch !important; }
	.fp2-method-img svg { width: 100% !important; height: 100% !important; }
}

/* =====================================================================
   YouTube PR 動画依頼ページ
   ===================================================================== */
.ytpr-section { margin: 0 0 2.5rem; }
.ytpr-section h2 {
	font-family: var(--uu-font-display);
	font-weight: 800;
	font-size: 1.375rem;
	color: var(--uu-fg-1);
	border-left: 6px solid var(--uu-red);
	padding: 0.25rem 0 0.25rem 14px;
	margin: 0 0 1rem;
	line-height: 1.4;
	background: linear-gradient(to right, rgba(221,47,51,.06), transparent 60%);
}
.ytpr-section p {
	font-size: 1rem;
	line-height: 1.85;
	color: var(--uu-fg-1);
	margin: 0 0 0.875rem;
}
.ytpr-section p small {
	display: inline-block;
	font-size: 0.875rem;
	color: var(--uu-fg-2);
	background: var(--uu-bg-warm, #fffaf4);
	padding: 0.3rem 0.7rem;
	border-radius: 6px;
	margin-top: 0.25rem;
}
.ytpr-section ul,
.ytpr-section ol {
	margin: 0.75rem 0 1rem;
	padding-left: 1.5rem;
	line-height: 1.85;
}
.ytpr-section ul li,
.ytpr-section ol li {
	margin-bottom: 0.4rem;
	color: var(--uu-fg-1);
}
.ytpr-section ul li::marker { color: var(--uu-red); }
.ytpr-section ol li::marker { color: var(--uu-red); font-weight: 700; }
.ytpr-section strong {
	color: var(--uu-red-deep, #b8242a);
	background: linear-gradient(transparent 65%, rgba(255, 230, 100, .55) 65%);
	padding: 0 2px;
}

/* PR申込みフォーム */
.ytpr-form-section {
	background: linear-gradient(180deg, var(--uu-bg-warm, #fffaf4) 0%, #fff 100%);
	border: 2px solid var(--uu-red-line, #f5d8d8);
	border-radius: 14px;
	padding: 2rem 1.75rem;
	margin: 2.5rem 0 1.5rem;
}
.ytpr-form-section h2 {
	font-family: var(--uu-font-display);
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--uu-red);
	margin: 0 0 0.5rem;
	text-align: center;
}
.ytpr-form-section__lead {
	text-align: center;
	font-size: 0.9375rem;
	color: var(--uu-fg-2);
	margin: 0 0 1.5rem;
	line-height: 1.7;
}
.ytpr-form__row { margin-bottom: 1.1rem; }
.ytpr-form__label {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--uu-fg-1);
	margin-bottom: 0.4rem;
}
.ytpr-form__required {
	display: inline-block;
	background: var(--uu-red);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	margin-left: 6px;
	vertical-align: middle;
}
.ytpr-form__optional {
	display: inline-block;
	background: var(--uu-fg-3);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	margin-left: 6px;
	vertical-align: middle;
}
.ytpr-form__input,
.ytpr-form__textarea {
	width: 100%;
	padding: 0.7rem 0.95rem;
	border: 1.5px solid var(--uu-line, #e3ddd2);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	background: #fff;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
}
.ytpr-form__input:focus,
.ytpr-form__textarea:focus {
	outline: none;
	border-color: var(--uu-red);
	box-shadow: 0 0 0 3px rgba(221,47,51,.12);
}
.ytpr-form__hint {
	font-size: 0.8125rem;
	color: var(--uu-fg-2);
	margin-top: 0.35rem;
	line-height: 1.6;
}
.ytpr-form__submit-row {
	text-align: center;
	margin-top: 1.5rem;
}
.ytpr-form__submit {
	background: var(--uu-red);
	color: #fff;
	font-family: var(--uu-font-display);
	font-weight: 800;
	font-size: 1.0625rem;
	padding: 0.85rem 2.5rem;
	border: none;
	border-radius: 999px;
	box-shadow: 0 4px 0 var(--uu-red-darker);
	cursor: pointer;
	transition: transform .1s;
}
.ytpr-form__submit:hover { transform: translateY(-1px); }
.ytpr-form__submit:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--uu-red-darker); }
/* ハニーポット: 視覚的に完全非表示だがスクリーンリーダーには「触らないで」と伝える */
.ytpr-form__honey {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}
.ytpr-form__consent {
	background: #fff;
	border: 1px solid var(--uu-line);
	border-radius: 8px;
	padding: 0.9rem 1.1rem;
	margin: 1.25rem 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.ytpr-form__consent input[type="checkbox"] {
	flex-shrink: 0;
	margin-top: 0.3rem;
	width: 1.1rem;
	height: 1.1rem;
	accent-color: var(--uu-red);
}
.ytpr-form__result {
	padding: 1rem 1.25rem;
	border-radius: 8px;
	margin-bottom: 1.25rem;
	scroll-margin-top: 100px;
}
.ytpr-form__result--ok {
	background: #e8f5e9;
	border-left: 4px solid #43a047;
	color: #1b5e20;
}
.ytpr-form__result--ng {
	background: #ffebee;
	border-left: 4px solid #e53935;
	color: #b71c1c;
}

/* YouTube PR ページ 言語切替 */
.ytpr-lang-switcher {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 0 1.25rem;
	padding: 0.5rem 0;
}
.ytpr-lang-switcher__btn {
	display: inline-block;
	padding: 0.4rem 0.95rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--uu-fg-2);
	background: #fff;
	border: 1.5px solid var(--uu-line, #e3ddd2);
	border-radius: 999px;
	text-decoration: none;
	transition: all .15s;
}
.ytpr-lang-switcher__btn:hover {
	color: var(--uu-red);
	border-color: var(--uu-red-line, #f5d8d8);
	background: var(--uu-bg-warm, #fffaf4);
}
.ytpr-lang-switcher__btn.is-active {
	color: #fff;
	background: var(--uu-red);
	border-color: var(--uu-red);
	box-shadow: 0 2px 0 var(--uu-red-darker);
}
@media (max-width: 640px) {
	.ytpr-lang-switcher { justify-content: center; flex-wrap: wrap; gap: 6px; }
	.ytpr-lang-switcher__btn { padding: 0.35rem 0.75rem; font-size: 0.8125rem; }
}
