/* ==========================================================
 * PC-FIX SASEBO テーマ
 * 配色：紺（ベース）× オレンジ（アクセント）／LINEは緑
 * ======================================================== */

:root {
	--navy: #14325C;
	--navy-dark: #0B1F3A;
	--navy-soft: #2C5A93;
	--accent: #B4430E;
	--accent-dark: #963709;
	--accent-tint: #FFF1E8;
	--line-green: #077A35;
	--line-green-dark: #08722F;
	--ink: #1B2533;
	--text: #3A4657;
	--muted: #4A5668;
	--sub: #5B6778;
	--border: #E1E8F0;
	--border-strong: #D5DEEA;
	--rule: #EDF1F6;
	--bg-gray: #F2F5F9;
	--bg-tint: #EEF3F9;
	--bg-ph: #DCE4EE;
	--star: #E8A317;
	--closed: #FDE3D3;
	--closed-ink: #8A2E06;
	--radius-lg: 22px;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 10px 30px rgba(11, 31, 58, .06);
	--shadow-strong: 0 16px 40px rgba(11, 31, 58, .14);
	--font: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	--font-num: 'Outfit', 'Zen Kaku Gothic New', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body.pcfix {
	margin: 0;
	background: #FFFFFF;
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-text-size-adjust: 100%;
	line-break: strict;
	overflow-wrap: anywhere;
}
.pcfix a { color: var(--navy); }
.pcfix a:hover { color: var(--navy-dark); }
.pcfix img { max-width: 100%; height: auto; display: block; }
.pcfix h1, .pcfix h2, .pcfix h3, .pcfix p, .pcfix figure, .pcfix dl, .pcfix dd { margin: 0; }
.pcfix ol, .pcfix ul { margin: 0; padding: 0; list-style: none; }
.pcfix :focus-visible { outline: 3px solid #F4A06B; outline-offset: 2px; }

.num { font-family: var(--font-num); font-feature-settings: 'tnum'; }
.sp-only { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: #FFFFFF; padding: 12px 16px; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 880px; }
.wrap--mid { max-width: 960px; }
.wrap--cal { max-width: 560px; }

/* ---------- 共通部品 ---------- */
.label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--accent); }
.label::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.label--light { color: #F4A06B; }
.muted { color: var(--muted); font-size: 15px; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px !important; }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }
.more { font-weight: 700; text-decoration: none; white-space: nowrap; }
.more--line { display: inline-block; margin-top: 18px; padding-bottom: 2px; border-bottom: 2px solid var(--accent); }
.more-wrap { margin-top: 40px !important; text-align: center; }

.ph { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; height: 100%; min-height: 160px; padding: 16px; background: var(--bg-ph); color: var(--muted); font-size: 13px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; white-space: nowrap; }
.btn--block { display: flex; width: 100%; }
.pcfix .btn--white { background: #FFFFFF; color: var(--navy-dark); }
.pcfix .btn--outline { background: #FFFFFF; color: var(--navy); border-color: var(--navy); }
.pcfix .btn--navy { background: var(--navy); color: #FFFFFF; }

/* 問い合わせボタン：LINE（緑）→ WEB予約（オレンジ）→ WEBフォーム（紺） */
.cbtns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cbtn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 14px; border-radius: var(--radius-sm); text-decoration: none; white-space: nowrap; transition: filter .15s, transform .15s; }
.pcfix .cbtn, .pcfix .cbtn:hover { color: #FFFFFF; }
.cbtn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cbtn--line { background: var(--line-green); }
.cbtn--reserve { background: var(--accent); }
.cbtn--form { background: var(--navy); }
.ico, .illust { flex-shrink: 0; }
.cbtn__txt { display: flex; flex-direction: column; line-height: 1.25; }
.cbtn__label { font-weight: 700; font-size: 16px; }
.cbtn__sub { font-size: 11px; }
.cbtns--sm { display: flex; gap: 8px; }
.cbtns--sm .cbtn { padding: 10px 16px; }
.cbtns--sm .cbtn__label { font-size: 14px; }
.cbtns--lg .cbtn { padding: 20px; }
.cbtns--lg .cbtn__label { font-size: 18px; }
.cbtns--lg .cbtn--form { background: var(--navy-soft); }
.cbtns--side { grid-template-columns: 1fr; }
.cbtns--side .cbtn { justify-content: flex-start; padding: 14px 16px; }

.telline { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; text-decoration: none; font-size: 15px; white-space: nowrap; }
.telline .num { font-weight: 800; font-size: 19px; color: var(--navy); }
.telline--center { display: flex; justify-content: center; margin-top: 28px; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--mt { margin-top: 32px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.split--center { align-items: center; }
.split--price { grid-template-columns: 1fr 1.2fr; }

.sec { padding: 96px 0; }
.sec--tight { padding: 0 0 96px; }
.sec--gray { background: var(--bg-gray); }
.sec--cta { padding: 0 0 96px; }
.sec--gray + .sec--cta, .sec--gray + .sec--tight { padding-top: 96px; }

.shead { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.shead--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.shead__main { display: flex; flex-direction: column; gap: 10px; }
.shead__title { font-size: 34px; font-weight: 900; line-height: 1.4; color: var(--navy-dark); }
.shead__lead { color: var(--muted); }
.shead--light .shead__title { color: #FFFFFF; }

.panel { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.panel--soft { background: var(--bg-tint); border-color: transparent; padding: 24px 28px; }
.panel--article { padding: 40px 44px; }

/* ---------- 上部の帯・ヘッダー ---------- */
.topbar { background: var(--navy-dark); color: #DCE5F0; font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar__today { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar__info { white-space: nowrap; }
.today { font-weight: 700; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.today--open { background: #DDF3E6; color: #11663A; }
.today--closed { background: var(--closed); color: var(--closed-ink); }

.header { background: #FFFFFF; border-bottom: 1px solid #E6EBF2; position: relative; z-index: 50; }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.logo .logo__img { display: block; height: 64px; width: auto; max-width: none; }
.logo__mark { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text small { font-size: 12px; color: var(--sub); letter-spacing: .04em; }
.logo__name { font-family: var(--font-num); font-size: 26px; font-weight: 800; color: var(--navy); }
.header__right { display: flex; align-items: center; gap: 14px; }
.header__tel { display: flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; margin-right: 6px; }
.header__tel > span { display: flex; flex-direction: column; line-height: 1.15; }
.header__tel .num { font-size: 22px; font-weight: 800; color: var(--navy); }
.header__tel small { font-size: 11px; color: var(--sub); }

.gnav { border-top: 1px solid var(--rule); }
.gnav__in { display: flex; justify-content: space-between; }
.gnav a { padding: 14px 0; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.gnav a:hover { color: var(--accent); }
.gnav a[aria-current="page"] { border-bottom-color: var(--accent); }

.spnav { display: none; position: relative; }
.spnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--border-strong); border-radius: 10px; }
.spnav summary::-webkit-details-marker { display: none; }
.spnav summary span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }
.spnav nav { position: absolute; right: 0; top: 52px; width: min(280px, 82vw); background: #FFFFFF; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-strong); padding: 8px; display: flex; flex-direction: column; }
.spnav nav a { padding: 12px 14px; text-decoration: none; font-weight: 700; border-radius: 8px; }
.spnav nav a:hover { background: var(--bg-gray); }

/* ---------- トップ：ヒーロー ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-gray); }
.hero__bg { position: absolute; right: -120px; top: -160px; width: 640px; height: 640px; border-radius: 50%; background: #E3EAF3; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #FFFFFF; border: 1px solid var(--border-strong); color: var(--navy); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.hero__title { font-size: 46px; line-height: 1.35; font-weight: 900; color: var(--navy-dark); white-space: nowrap; }
.hero__accent { color: var(--accent); }
.hero__lead { font-size: 17px; color: var(--text); max-width: 560px; }
.hero .telline { margin-top: 0; }
.hero__visual { position: relative; height: 440px; }
.hero__photo { position: absolute; inset: 0 0 0 40px; border-radius: 28px; overflow: hidden; background: #C9D5E3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo .ph { background: #C9D5E3; }
.hero__badge { position: absolute; border-radius: var(--radius); padding: 18px 22px; display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; box-shadow: var(--shadow-strong); }
.hero__badge small { font-size: 12px; }
.hero__badge--review { left: 0; bottom: 36px; background: #FFFFFF; color: var(--sub); }
.hero__score { display: flex; align-items: baseline; gap: 8px; }
.hero__score .num { font-size: 34px; font-weight: 800; color: var(--navy-dark); }
.stars { color: var(--star); letter-spacing: 2px; }
.hero__badge--years { right: -12px; top: 32px; background: var(--navy); color: #FFFFFF; }
.hero__badge--years small { color: #BFD0E4; }
.hero__badge--years .num { font-size: 34px; font-weight: 800; }
.hero__badge--years .num span { font-family: var(--font); font-size: 16px; }

/* ---------- 症状カード（イラスト） ---------- */
.symptoms { gap: 20px; }
.scard { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pcfix a.scard { color: var(--ink); }
.scard:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.scard__illust { height: 150px; background: var(--bg-tint); display: flex; align-items: center; justify-content: center; }
.scard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.scard__title { font-size: 19px; font-weight: 900; color: var(--navy-dark); white-space: nowrap; }
.scard__desc { font-size: 14px; color: var(--muted); }
.scard__price { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--accent); }
.scard__arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; }
.scard--row { flex-direction: row; align-items: stretch; }
.scard--row .scard__illust { width: 120px; height: auto; flex-shrink: 0; }
.scard--row .scard__body { justify-content: center; }

/* ---------- お知らせ＋カレンダー ---------- */
.newscal { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.news { padding: 36px; }
.news__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.news__title { font-size: 26px; font-weight: 900; color: var(--navy-dark); margin-top: 8px !important; }
.news__list li a { display: grid; grid-template-columns: 100px 76px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.pcfix .news__list a { color: var(--ink); }
.news__list a:hover .news__t { color: var(--accent); }
.news__list time { font-family: var(--font-num); font-size: 14px; color: var(--sub); }
.news__t { font-size: 15px; font-weight: 700; }
.news--page { padding: 12px 32px; }
.news--page .news__list li:first-child a { border-top: 0; }
.ntag { font-size: 12px; font-weight: 700; text-align: center; padding: 3px 0; border-radius: 6px; }
.ntag--info { background: var(--bg-tint); color: var(--navy); }
.ntag--closed { background: var(--closed); color: var(--closed-ink); }
.ntag--arrival { background: #E3F4EA; color: #11663A; }

.calbox__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.calbox__name { font-size: 20px; font-weight: 900; color: var(--navy-dark); }
.calbox__nav { display: flex; gap: 6px; }
.calbox__btn { width: 36px; height: 36px; border: 1px solid var(--border-strong); border-radius: 10px; background: #FFFFFF; color: var(--navy); font-size: 18px; cursor: pointer; }
.calbox__btn:disabled { opacity: .35; cursor: default; }
.cal__title { font-family: var(--font-num); font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 6px !important; }
.cal__table { width: 100%; border-collapse: separate; border-spacing: 4px; text-align: center; font-size: 14px; }
.cal__table th { font-weight: 700; color: var(--muted); padding: 4px 0; font-size: 13px; }
.cal__table th.is-sun { color: var(--accent); }
.cal__table th.is-sat { color: #1D4ED8; }
.cal__table td { padding: 0; }
.cal__table td > span { font-family: var(--font-num); font-weight: 600; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.cal__table .is-sun { color: var(--accent); }
.cal__table .is-sat { color: #1D4ED8; }
.cal__table .is-regular, .cal__table .is-holiday { background: var(--closed); color: var(--closed-ink); }
.cal__table .is-temp_closed { background: var(--accent); color: #FFFFFF; }
.cal__table .is-temp_open { background: #E3F4EA; color: #11663A; }
.cal__table .is-today { outline: 2px solid var(--navy); outline-offset: -2px; }
.calbox__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px !important; font-size: 13px; color: var(--muted); }
.calbox__legend li { display: flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 4px; }
.lg--closed { background: var(--closed); }
.lg--temp { background: var(--accent); }
.lg--today { border: 2px solid var(--navy); }

/* ---------- スマホ修理の帯 ---------- */
.phone { position: relative; overflow: hidden; background: var(--navy-dark); color: #FFFFFF; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.phone::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: #13305A; }
.phone > * { position: relative; z-index: 1; }
.phone__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.phone__title { font-size: 34px; font-weight: 900; line-height: 1.4; }
.phone__lead { color: #C9D5E3; }
.phone__menus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.phone__menu { background: #FFFFFF; border-radius: var(--radius); padding: 16px 18px; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pcfix .phone__menu { color: var(--navy-dark); }
.phone__menu .illust { flex-shrink: 0; }
.phone__menu > span { display: flex; flex-direction: column; line-height: 1.4; }
.phone__menu strong { font-weight: 900; white-space: nowrap; }
.phone__menu small { font-size: 12px; color: var(--sub); }

/* ---------- 料金 ---------- */
.formula { display: flex; align-items: stretch; gap: 10px; margin: 8px 0 18px; }
.formula__box { flex: 1; background: #FFFFFF; border: 1px solid var(--border-strong); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.formula__box small { font-size: 12px; color: var(--sub); }
.formula__box strong { font-size: 18px; font-weight: 900; color: var(--navy-dark); }
.formula__box--main { flex: 1.2; background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.formula__box--main small { color: #BFD0E4; }
.formula__box--main .num { font-size: 28px; font-weight: 800; line-height: 1.2; }
.formula__box--main .num span { font-family: var(--font); font-size: 14px; }
.formula__plus { align-self: center; font-size: 22px; font-weight: 900; color: #8796AA; }
.pricebox { border: 2px solid var(--navy); }
.pricebox .formula { margin-top: 14px; }

/* 角丸の表（全ページ共通） */
.table { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table thead th { padding: 18px 28px; font-size: 13px; font-weight: 700; color: var(--sub); text-align: left; border-bottom: 1px solid var(--rule); background: #FAFBFD; }
.table tbody th, .table td { padding: 17px 28px; border-bottom: 1px solid var(--rule); text-align: left; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 700; color: var(--navy-dark); }
.table .num { text-align: right; font-weight: 600; white-space: nowrap; }
.table thead th.num { font-family: var(--font); }

/* ---------- 流れ・ご依頼方法・理由 ---------- */
.step { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius); background: var(--bg-gray); }
.step__no { font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.step strong { font-size: 18px; color: var(--navy-dark); }
.step span:last-child { font-size: 14px; color: var(--muted); }
.way { display: flex; flex-direction: column; gap: 10px; }
.way__no { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.way__title { font-size: 19px; font-weight: 900; color: var(--navy-dark); line-height: 1.5; }
.way p { font-size: 15px; color: var(--text); }
.way__price { margin-top: auto !important; padding-top: 6px; font-weight: 700; color: var(--accent) !important; }

/* ---------- 投稿カード ---------- */
.post { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.pcfix a.post { color: var(--ink); }
.post__img { position: relative; aspect-ratio: 1200 / 630; border-radius: var(--radius); overflow: hidden; background: var(--bg-ph); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post:hover .post__img img { transform: scale(1.03); }
.post__tag { position: absolute; left: 14px; top: 14px; background: #FFFFFF; color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.post__tag--static { position: static; background: var(--bg-tint); }
.sold { position: absolute; right: 12px; top: 12px; background: var(--ink); color: #FFFFFF; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.post__date { font-family: var(--font-num); font-size: 13px; color: var(--sub); }
.post__title { font-size: 18px; font-weight: 900; color: var(--navy-dark); line-height: 1.5; }
.post:hover .post__title { color: var(--accent); }
.post__by { font-size: 12px; color: var(--sub); }

/* ---------- 口コミ ---------- */
.reviews { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.reviews__summary { display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); border: 0; }
.reviews__name { font-size: 22px; font-weight: 900; color: var(--navy-dark); }
.reviews__score { display: flex; align-items: baseline; gap: 10px; }
.reviews__score .num { font-size: 56px; font-weight: 800; color: var(--navy-dark); line-height: 1; }
.reviews__score .stars { font-size: 22px; }
.reviews__count { font-size: 14px; color: var(--sub); }
.review { background: #FFFFFF; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.review__who { font-weight: 700; }
.review .stars { margin-left: auto; letter-spacing: 1px; }
.review blockquote { margin: 0; font-size: 15px; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #FFFFFF; border: 1px solid var(--border); border-radius: 16px; padding: 0 24px; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 700; color: var(--navy-dark); padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '＋'; position: absolute; right: 0; top: 18px; color: var(--accent); }
.faq details[open] summary::after { content: '－'; }
.faq details p { padding: 0 0 20px; color: var(--text); }

/* ---------- 店舗情報 ---------- */
.dlist { display: grid; grid-template-columns: 104px 1fr; border-top: 1px solid #E6EBF2; font-size: 15px; margin-top: 8px; }
.dlist dt, .dlist dd { padding: 14px 0; border-bottom: 1px solid #E6EBF2; }
.dlist dt { color: var(--sub); }
.dlist--panel { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 8px 28px; }
.dlist--panel dt:last-of-type, .dlist--panel dd:last-of-type { border-bottom: 0; }
.dlist--panel { border-top: 1px solid var(--border); }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--bg-ph); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; background: var(--bg-ph); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.split > div > p { color: var(--text); }

/* ---------- 問い合わせ帯 ---------- */
.cta { background: var(--navy-dark); color: #FFFFFF; border-radius: 28px; padding: 48px 56px; display: flex; flex-direction: column; gap: 28px; }
.cta__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cta__title { font-size: 30px; font-weight: 900; }
.cta__lead { color: #C9D5E3; }
.cta__tel { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.pcfix .cta__tel { color: #FFFFFF; }
.cta__tel small { font-size: 13px; color: #C9D5E3; }
.cta__tel .num { font-size: 26px; font-weight: 800; }

/* ---------- 下層ページの見出し ---------- */
.phead { position: relative; overflow: hidden; background: var(--bg-gray); border-bottom: 1px solid #E6EBF2; }
.phead__bg { position: absolute; right: -100px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: #E3EAF3; }
.phead__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 28px; padding-bottom: 56px; }
.phead__main { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.phead__title { font-size: 38px; font-weight: 900; line-height: 1.4; color: var(--navy-dark); }
.phead__lead { color: var(--text); font-size: 16px; margin-top: 4px !important; }
.phead__illust { flex-shrink: 0; width: 210px; height: 210px; border-radius: 36px; background: #FFFFFF; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.crumbs { margin-bottom: 18px; font-size: 13px; color: var(--sub); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: '›'; margin: 0 6px; color: #9AA6B6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* 2カラム（本文＋サイド） */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-top: 56px; padding-bottom: 96px; }
.block { margin-top: 48px; }
.block:first-child { margin-top: 0; }
.block__title { font-size: 24px; font-weight: 900; color: var(--navy-dark); line-height: 1.5; margin-bottom: 18px !important; display: flex; align-items: center; gap: 12px; }
.block__title::before { content: ''; width: 6px; height: 26px; border-radius: 3px; background: var(--accent); flex-shrink: 0; }
.layout__side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }

.answer { background: var(--accent-tint); border: 1px solid #F3D3BF; border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 48px; }
.answer__label { display: inline-block; font-size: 13px; font-weight: 900; color: #FFFFFF; background: var(--accent); padding: 2px 12px; border-radius: 999px; margin-bottom: 10px !important; }
.answer__text { font-size: 17px; line-height: 1.85; }

.checklist { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 24px; }
.checklist li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ''; position: absolute; left: 4px; top: 22px; width: 13px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.panel .checklist { border: 0; padding: 0; }
.numlist { counter-reset: n; background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 24px; }
.numlist li { counter-increment: n; position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--rule); }
.numlist li:last-child { border-bottom: 0; }
.numlist li::before { content: counter(n); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #FFFFFF; font-family: var(--font-num); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.byline { margin-top: 40px !important; font-size: 13px; color: var(--sub); }

.sidebox { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.sidebox--contact { border: 2px solid var(--navy); }
.sidebox__title { font-weight: 900; color: var(--navy-dark); font-size: 17px; }
.sidebox__tel { font-family: var(--font-num); font-size: 24px; font-weight: 800; text-align: center; text-decoration: none; }
.sidebox__note { font-size: 12px; color: var(--sub); text-align: center; }
.sidelinks li a { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 14px; font-weight: 700; }
.sidelinks li:last-child a { border-bottom: 0; }
.sidelinks li a:hover { color: var(--accent); }
.sidelinks__ill { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.models li { display: flex; align-items: center; gap: 8px; background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 700; }
.models .ico { color: var(--accent); flex-shrink: 0; }

/* お問い合わせページ */
.wcard { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: var(--radius-lg); text-decoration: none; transition: transform .15s, filter .15s; }
.pcfix .wcard, .pcfix .wcard:hover { color: #FFFFFF; }
.wcard:hover { transform: translateY(-2px); filter: brightness(1.06); }
.wcard--line { background: var(--line-green); }
.wcard--reserve { background: var(--accent); }
.wcard--form { background: var(--navy); }
.wcard__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; }
.wcard__title { font-size: 22px; font-weight: 900; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.wcard__title small { font-size: 13px; font-weight: 700; background: #FFFFFF; color: var(--accent); padding: 2px 10px; border-radius: 999px; }
.wcard__desc { font-size: 15px; opacity: .95; }
.wcard__go { margin-top: auto; padding-top: 8px; font-weight: 700; }
.formbox { padding: 40px; }

/* 一覧の絞り込み・ページ送り */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter a { padding: 9px 18px; border: 1px solid var(--border-strong); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; background: #FFFFFF; }
.filter a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.pager { margin-top: 56px; }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pager a, .pager span { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); text-decoration: none; font-family: var(--font-num); font-weight: 700; background: #FFFFFF; }
.pager .current { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.soldnote { background: var(--accent-tint); border: 1px solid #F3D3BF; border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 24px !important; }
.searchbox { padding: 24px; }

/* 記事 */
.artmeta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--sub); margin-bottom: 24px; }
.eyecatch { margin: 0 0 32px !important; border-radius: var(--radius); overflow: hidden; }
.eyecatch img { width: 100%; }
.author { display: grid; grid-template-columns: 96px 1fr; gap: 20px; margin-top: 48px; padding: 24px; background: var(--bg-gray); border-radius: var(--radius); }
.author__img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--bg-ph); }
.author__img .ph { min-height: 96px; }
.author__label { font-size: 12px; color: var(--sub); }
.author__name { font-weight: 900; color: var(--navy-dark); }
.author__text { font-size: 14px; color: var(--text); margin-top: 6px !important; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; font-size: 14px; font-weight: 700; }
.prevnext a { text-decoration: none; }
.prevnext__next { margin-left: auto; text-align: right; }

/* 本文（ブロックエディタの内容） */
.entry { font-size: 16px; line-height: 1.9; }
.entry > * + * { margin-top: 1.2em !important; }
.entry h2 { font-size: 24px; font-weight: 900; color: var(--navy-dark); margin-top: 2em !important; padding-left: 16px; border-left: 6px solid var(--accent); line-height: 1.5; }
.entry h3 { font-size: 19px; font-weight: 700; color: var(--navy-dark); margin-top: 1.8em !important; padding-bottom: 8px; border-bottom: 2px solid var(--rule); line-height: 1.5; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li + li { margin-top: .3em; }
.entry img { border-radius: var(--radius-sm); }
.entry figure { margin-left: 0; margin-right: 0; }
.entry figcaption { font-size: 13px; color: var(--sub); text-align: center; margin-top: 6px; }
.entry a { text-decoration: underline; }
.entry blockquote { margin-left: 0; margin-right: 0; padding: 18px 22px; background: var(--bg-gray); border-radius: var(--radius-sm); }
/* 本文の表も角丸に */
.entry .wp-block-table, .entry > table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.entry .wp-block-table table, .entry > table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
.entry table th, .entry table td { border: 0; border-bottom: 1px solid var(--rule); padding: 14px 20px; text-align: left; }
.entry table tr:last-child th, .entry table tr:last-child td { border-bottom: 0; }
.entry table th { background: #FAFBFD; width: 32%; color: var(--navy-dark); }
.entry > table { display: table; }
.entry input[type="text"], .entry input[type="email"], .entry input[type="tel"], .entry input[type="url"], .entry textarea, .entry select {
	width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #C9D3DF; border-radius: 10px; background: #FFFFFF;
}
.entry input[type="submit"], .entry button[type="submit"] {
	font: inherit; font-weight: 700; color: #FFFFFF; background: var(--accent); border: 0; border-radius: var(--radius-sm); padding: 14px 36px; min-height: 52px; cursor: pointer;
}
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form label { flex: 1; }
.search-field { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #C9D3DF; border-radius: 10px; }
.search-submit { font: inherit; font-weight: 700; padding: 12px 22px; border: 0; border-radius: 10px; background: var(--navy); color: #FFFFFF; }

/* ---------- フッター ---------- */
.footer { background: var(--navy-dark); color: #BFD0E4; padding: 64px 0 28px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__shop p { margin-bottom: 6px !important; }
.footer__name { font-family: var(--font-num); font-size: 24px; font-weight: 800; color: #FFFFFF; }
.footer__nav { display: flex; flex-direction: column; gap: 8px; }
.footer__head { font-weight: 700; color: #FFFFFF; margin-bottom: 4px !important; }
.pcfix .footer a { color: #BFD0E4; text-decoration: none; }
.pcfix .footer a:hover { color: #FFFFFF; }
.footer__copy { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: #9FB0C7; }

.mbar { display: none; }

/* ==========================================================
 * レスポンシブ
 * ======================================================== */
@media (max-width: 1240px) {
	.header__tel { display: none; }
	.gnav a { font-size: 14px; }
}

@media (max-width: 1080px) {
	.hero__in { grid-template-columns: 1fr; }
	.hero__visual { height: 360px; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newscal, .split, .split--price, .reviews, .phone { grid-template-columns: 1fr; }
	.layout { grid-template-columns: 1fr; }
	.layout__side { position: static; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__shop { grid-column: 1 / -1; }
	.header__right { display: none; }
	.spnav { display: block; }
	.gnav { display: none; }
}

@media (max-width: 768px) {
	.wrap { padding: 0 16px; }
	.sec { padding: 60px 0; }
	.sec--tight, .sec--cta { padding-bottom: 60px; }
	.sec--gray + .sec--cta, .sec--gray + .sec--tight { padding-top: 60px; }
	body.pcfix { padding-bottom: 64px; }
	.topbar__info { display: none; }
	.topbar__in { padding-top: 8px; padding-bottom: 8px; font-size: 12px; }
	.topbar__today { white-space: normal; flex-wrap: wrap; gap: 4px 8px; line-height: 1.5; }
	.logo .logo__img { height: 40px; }
	.logo__mark { width: 40px; height: 40px; }
	.logo__name { font-size: 21px; }
	.logo__text small { font-size: 10px; }

	.hero__in { padding-top: 28px; padding-bottom: 48px; gap: 28px; }
	.hero__title { font-size: 27px; }
	.hero__lead { font-size: 15px; }
	.chips li { font-size: 11px; padding: 3px 10px; }
	.hero__visual { height: 220px; }
	.hero__photo { inset: 0; border-radius: 20px; }
	.hero__badge { padding: 10px 14px; }
	.hero__badge--review { left: 12px; bottom: -18px; }
	.hero__badge--years { right: 12px; top: auto; bottom: -18px; }
	.hero__badge small { font-size: 10px; }
	.hero__score .num, .hero__badge--years .num { font-size: 24px; }
	.hero__badge--years small:last-child { display: none; }

	.cbtns { grid-template-columns: 1fr; }
	.cbtn { justify-content: flex-start; padding: 14px 16px; }

	.shead { margin-bottom: 24px; }
	.shead--row { flex-direction: column; align-items: flex-start; }
	.shead__title { font-size: 23px; }

	.grid--2, .grid--3 { grid-template-columns: 1fr; }
	.symptoms { gap: 10px; }
	.scard__illust { height: 104px; }
	.scard__illust .illust { width: 80px; height: 80px; }
	.scard__body { padding: 10px 12px 12px; gap: 2px; }
	.scard__title { font-size: 15px; }
	.pc-only { display: none; }
	.sp-only { display: inline; }
	.scard__desc { display: none; }
	.scard__price { font-size: 12px; padding-top: 4px; }
	.scard__arrow { display: none; }
	.scard--row .scard__illust { width: 96px; }
	.scard--row .scard__desc { display: block; font-size: 12px; }

	.panel { padding: 22px; }
	.panel--article { padding: 24px 20px; }
	.news { padding: 22px; }
	.news__list li a { grid-template-columns: 1fr; gap: 4px; }
	.news__list .ntag { justify-self: start; padding: 2px 10px; }
	.cal__table td > span { height: 36px; }

	.phone { padding: 32px 20px; border-radius: 22px; gap: 28px; }
	.phone__title { font-size: 24px; }
	.phone__menus { grid-template-columns: 1fr; gap: 10px; }

	.formula { flex-wrap: wrap; }
	.formula__box { flex-basis: 40%; }
	.formula__box--main { flex-basis: 100%; }
	.formula__plus { display: none; }

	.table table { font-size: 14px; }
	.table thead th, .table tbody th, .table td { padding: 13px 14px; }
	.table thead th:first-child, .table tbody th { width: 46%; }

	.reviews { gap: 20px; }
	.dlist { grid-template-columns: 84px 1fr; }
	.map, .map iframe { min-height: 300px; }

	.cta { padding: 28px 20px; border-radius: 22px; }
	.cta__head { flex-direction: column; align-items: flex-start; }
	.cta__title { font-size: 22px; }

	.phead__in { padding-top: 16px; padding-bottom: 32px; }
	.phead__title { font-size: 25px; }
	.phead__illust { display: none; }
	.layout { padding-top: 32px; padding-bottom: 60px; }
	.block__title { font-size: 20px; }
	.answer { padding: 20px; }
	.answer__text { font-size: 16px; }
	.models { grid-template-columns: 1fr; }
	.wcard { padding: 24px; }
	.formbox { padding: 22px; }
	.author { grid-template-columns: 64px 1fr; padding: 18px; }
	.author__img { width: 64px; height: 64px; }
	.prevnext { flex-direction: column; }
	.entry h2 { font-size: 21px; }
	.footer__grid { grid-template-columns: 1fr; }

	.mbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: #FFFFFF; border-top: 1px solid var(--border); box-shadow: 0 -6px 18px rgba(11, 31, 58, .08); }
	.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
	.pcfix .mbar__line { background: var(--line-green); color: #FFFFFF; }
	.pcfix .mbar__reserve { background: var(--accent); color: #FFFFFF; }
	.pcfix .mbar__form { background: var(--navy); color: #FFFFFF; }
	.pcfix .mbar__tel { color: var(--navy); }
}

@media (max-width: 380px) {
	.hero__title { font-size: 24px; }
	.scard__title { font-size: 14px; }
}

/* ==========================================================
 * お問い合わせフォーム（Contact Form 7）
 * ======================================================== */
.cf7 { display: flex; flex-direction: column; gap: 26px; }
.cf7-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.cf7-row { display: flex; flex-direction: column; gap: 8px; margin: 0 !important; }
.entry .cf7 > * + *, .entry .cf7-grid > * + * { margin-top: 0 !important; }
.cf7-label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--navy-dark); margin: 0 !important; }
.cf7-req { font-size: 11px; font-weight: 700; color: #FFFFFF; background: var(--accent); padding: 1px 8px; border-radius: 999px; }
.cf7-help { font-size: 13px; color: var(--sub); margin: 0 !important; }
.cf7 .wpcf7-form-control-wrap { display: block; }
.cf7 input[type="text"], .cf7 input[type="email"], .cf7 input[type="tel"], .cf7 textarea, .cf7 select {
	width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid #C9D3DF; border-radius: var(--radius-sm); background: #FFFFFF; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.cf7 textarea { min-height: 160px; resize: vertical; }
.cf7 select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2314325C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.cf7 input:focus, .cf7 textarea:focus, .cf7 select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 50, 92, .15); }
.cf7 ::placeholder { color: #6B7787; }

/* ラジオボタンを選びやすいボタン型に */
.cf7-choices { display: flex !important; flex-wrap: wrap; gap: 8px; }
.cf7-choices .wpcf7-list-item { margin: 0; }
.cf7-choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid #C9D3DF; border-radius: 999px; background: #FFFFFF; cursor: pointer; font-size: 14px; font-weight: 700; transition: border-color .15s, background .15s; }
.cf7-choices label:hover { border-color: var(--navy); }
.cf7-choices input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.cf7-choices label:has(input:checked) { border-color: var(--navy); background: var(--bg-tint); color: var(--navy); }

/* ファイル添付 */
.cf7 input[type="file"] { width: 100%; font: inherit; font-size: 14px; padding: 12px; border: 1.5px dashed #C9D3DF; border-radius: var(--radius-sm); background: #FAFBFD; }
.cf7 input[type="file"]::file-selector-button { font: inherit; font-weight: 700; margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 8px; background: var(--navy); color: #FFFFFF; cursor: pointer; }

/* 同意・送信 */
.cf7-agree { padding: 18px 20px; background: var(--bg-gray); border-radius: var(--radius-sm); margin: 0 !important; }
.cf7-agree .wpcf7-list-item { margin: 0; }
.cf7-agree label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.cf7-agree input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.cf7-submit { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 !important; }
.cf7 input[type="submit"] { width: min(100%, 420px); font: inherit; font-size: 17px; font-weight: 700; color: #FFFFFF; background: var(--accent); border: 0; border-radius: var(--radius-sm); padding: 18px 32px; min-height: 58px; cursor: pointer; transition: filter .15s, transform .15s; }
.cf7 input[type="submit"]:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cf7 input[type="submit"]:disabled { background: #AAB4C3; cursor: not-allowed; transform: none; filter: none; }
.cf7-submit .wpcf7-spinner { margin: 0; }

/* エラー・送信結果の表示 */
.cf7 .wpcf7-not-valid { border-color: #C2341B !important; background: #FFF7F5; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: #C2341B; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0 !important; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 700; border-width: 2px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #077A35; background: #E9F6EE; color: #0B5E2B; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #C2341B; background: #FFF7F5; color: #9A2612; }

@media (max-width: 768px) {
	.cf7-grid { grid-template-columns: 1fr; }
	.cf7-choices label { font-size: 13px; padding: 9px 14px; }
}

/* 確認画面（入力 → 確認 → 完了） */
.cf7-steps { display: flex; justify-content: center; gap: 0; margin: 0 0 32px !important; padding: 0 !important; list-style: none !important; counter-reset: st; }
.cf7-steps li { counter-increment: st; flex: 1; max-width: 180px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #6B7787; position: relative; margin: 0 !important; }
.cf7-steps li::before { content: counter(st); width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; border: 2px solid #D5DEEA; color: #6B7787; display: flex; align-items: center; justify-content: center; font-family: var(--font-num); font-size: 15px; position: relative; z-index: 1; }
.cf7-steps li + li::after { content: ''; position: absolute; top: 18px; right: 50%; width: 100%; height: 2px; background: #D5DEEA; }
.cf7-steps li.is-current, .cf7-steps li.is-done { color: var(--navy); }
.cf7-steps li.is-current::before { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.cf7-steps li.is-done::before { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.cf7-steps li.is-done + li::after, .cf7-steps li.is-current::after { background: var(--navy); }
.cf7-steps li.is-current + li::after { background: #D5DEEA; }

.cf7.is-confirm > .cf7-row, .cf7.is-confirm > .cf7-grid, .cf7.is-confirm > .cf7-agree, .cf7.is-confirm > .cf7-to-confirm { display: none !important; }
.cf7[data-confirm-ready] > .cf7-submit:not(.cf7-to-confirm) { display: none !important; }
.cf7[data-confirm-ready].is-confirm > .cf7-submit:not(.cf7-to-confirm) { display: flex !important; order: 2; }
.cf7.is-confirm > .cf7-confirm { order: 1; }
.cf7-confirm__lead { margin: 0 0 16px !important; font-weight: 700; color: var(--navy-dark); }
.cf7-confirm__list { display: grid; grid-template-columns: 200px 1fr; margin: 0 !important; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cf7-confirm__list dt, .cf7-confirm__list dd { margin: 0 !important; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.cf7-confirm__list dt { background: #FAFBFD; font-weight: 700; font-size: 14px; color: var(--navy-dark); }
.cf7-confirm__list dd { white-space: pre-wrap; word-break: break-word; }
.cf7-confirm__list dd.is-empty { color: #6B7787; }
.cf7-confirm__list dt:nth-last-of-type(1), .cf7-confirm__list dd:last-of-type { border-bottom: 0; }

.cf7-btn-confirm, .cf7-btn-back { font: inherit; font-weight: 700; cursor: pointer; border-radius: var(--radius-sm); transition: filter .15s, transform .15s; }
.cf7-btn-confirm { width: min(100%, 420px); font-size: 17px; color: #FFFFFF; background: var(--navy); border: 0; padding: 18px 32px; min-height: 58px; }
.cf7-btn-confirm:hover { filter: brightness(1.15); transform: translateY(-1px); }
.cf7-btn-back { width: min(100%, 420px); font-size: 15px; color: var(--navy); background: #FFFFFF; border: 2px solid var(--navy); padding: 12px 24px; min-height: 48px; }

.cf7 .is-error input, .cf7 .is-error textarea, .cf7 .is-error select, .cf7-agree.is-error { border-color: #C2341B !important; background: #FFF7F5; }
.cf7-err { margin: 0 !important; font-size: 13px; font-weight: 700; color: #C2341B; }
.cf7-done { text-align: center; padding: 40px 24px; border: 2px solid #077A35; border-radius: var(--radius); background: #F2FAF5; }
.cf7-done:focus { outline: none; }
.cf7-done__title { font-size: 22px; font-weight: 900; color: #0B5E2B; margin-bottom: 10px !important; }

@media (max-width: 768px) {
	.cf7-confirm__list { grid-template-columns: 1fr; }
	.cf7-confirm__list dt { border-bottom: 0; padding-bottom: 4px; }
	.cf7-confirm__list dd { padding-top: 4px; }
}
.cf7[hidden], .cf7-confirm[hidden], .cf7-done[hidden], .cf7-steps[hidden] { display: none !important; }

/* ===== スマホ修理の料金表 ===== */
#price, .pblock { scroll-margin-top: 90px; }
.ptabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.ptabs a { background: #FFFFFF; border: 1px solid var(--border-strong); color: var(--navy); padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.ptabs a:hover { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.pblock + .pblock { margin-top: 56px; }
.pblock__title { font-size: 22px; font-weight: 900; color: var(--navy-dark); margin-bottom: 16px; padding-left: 14px; border-left: 5px solid var(--accent); line-height: 1.3; }
.pblock__sub { font-size: 17px; font-weight: 700; color: var(--navy-dark); margin: 28px 0 12px; }
.pblock__lead { color: var(--text); margin-bottom: 16px; }
.ptable__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable--wide table { min-width: 760px; }
.ptable--wide tbody th, .ptable--wide thead th:first-child { position: sticky; left: 0; background: #FFFFFF; z-index: 1; }
.ptable--wide thead th:first-child { background: #FAFBFD; }
.ptable--wide thead th, .ptable--wide tbody th, .ptable--wide td { padding-left: 18px; padding-right: 18px; }
.ptable tbody tr:hover th, .ptable tbody tr:hover td { background: var(--bg-tint); }
.ptable__sub { display: block; font-size: 11px; font-weight: 500; color: var(--sub); margin-top: 2px; letter-spacing: .02em; }
.ptable td.is-none { color: var(--border-strong); font-weight: 400; }
.pnotes { margin-top: 16px; display: grid; gap: 6px; }
.pnotes li { position: relative; padding-left: 1.2em; font-size: 14px; color: var(--muted); line-height: 1.7; }
.pnotes li::before { content: "※"; position: absolute; left: 0; }
.ptable--wide .ptable__scroll:focus-visible { outline: 3px solid var(--navy-soft); outline-offset: -3px; }

@media (max-width: 768px) {
	.ptabs { gap: 8px; margin-bottom: 28px; }
	.ptabs a { padding: 8px 14px; font-size: 14px; }
	.pblock + .pblock { margin-top: 44px; }
	.pblock__title { font-size: 19px; }
	.ptable--wide table { min-width: 640px; }
	.ptable--wide thead th:first-child, .ptable--wide tbody th { width: auto; min-width: 140px; box-shadow: 1px 0 0 var(--rule); }
	.ptable--wide thead th, .ptable--wide tbody th, .ptable--wide td { padding: 12px 12px; }
}
@media (max-width: 768px) {
	.ptable--wide tbody th { white-space: nowrap; }
}

/* ===== 「料金は目安です」のお知らせ ===== */
.pnotice { display: flex; gap: 16px; align-items: flex-start; background: var(--accent-tint); border: 2px solid var(--accent); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 28px; }
.pnotice__icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font-family: var(--font-num); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; line-height: 1; }
.pnotice__body { display: flex; flex-direction: column; gap: 4px; }
.pnotice__title { font-size: 18px; font-weight: 900; color: var(--accent-dark); line-height: 1.5; }
.pnotice__title strong { font-weight: 900; background: linear-gradient(transparent 62%, #FFD3B8 62%); }
.pnotice__text { font-size: 14px; color: var(--ink); line-height: 1.75; }
.pnotice--compact { padding: 14px 18px; margin: 16px 0; }
.pnotice--compact .pnotice__title { font-size: 16px; }
.pnotice--compact .pnotice__icon { width: 28px; height: 28px; font-size: 17px; }
@media (max-width: 768px) {
	.pnotice { padding: 16px; gap: 12px; }
	.pnotice__title { font-size: 16px; }
	.pnotice__text { font-size: 13px; }
}

.dlist__list { display: grid; gap: 4px; }
.dlist__list li { position: relative; padding-left: 1em; }
.dlist__list li::before { content: "・"; position: absolute; left: 0; }
.dlist dd a { color: var(--navy); font-weight: 700; }
.footer__license { font-size: 12px; color: #9FB0C7; margin-bottom: 6px; }
.policy h2 { font-size: 20px; font-weight: 900; color: var(--navy-dark); margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.policy h2:first-of-type { margin-top: 0; }
.policy p, .policy li { line-height: 1.9; }
.policy ul { margin: 10px 0 0; padding-left: 1.3em; list-style: disc; }
.policy ol { margin: 10px 0 0; padding-left: 1.5em; list-style: decimal; }
.policy li + li { margin-top: 4px; }
.policy .policy__date { margin-top: 44px; text-align: right; color: var(--sub); font-size: 14px; }

/* 記事内の表：WordPress標準の太い線を消し、スマホで読みやすく */
.entry .wp-block-table thead { border-bottom: 0; }
.entry .wp-block-table thead th { border-bottom: 1px solid var(--border); font-size: 13px; color: var(--sub); }
.entry .wp-block-table td:first-child { font-weight: 700; color: var(--navy-dark); }
.entry .wp-block-table .has-fixed-layout { table-layout: auto; }
@media (max-width: 768px) {
	.entry .wp-block-table table { font-size: 14px; }
	.entry table th, .entry table td { padding: 12px 12px; }
	.entry .wp-block-table th:first-child, .entry .wp-block-table td:first-child { width: 36%; }
}

@media (max-width: 600px) {
	.steps { grid-template-columns: 1fr !important; }
	.step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 18px 20px; }
	.step__no { grid-row: span 2; font-size: 26px; }
}
/* 料金表の機種名は単語の途中で切らない */
.ptable th { overflow-wrap: normal; min-width: 9.5em; }
.author__name { word-break: keep-all; }
@media (max-width: 768px) {
	.table thead th:first-child, .table tbody th { width: 52%; }
	.table thead th, .table tbody th, .table td { padding-left: 10px; padding-right: 10px; }
}

/* ===== 改行の方針 =====
   文章は行の端まで自然に流し、わざと改行位置をずらす指定（文節での改行・行の長さをそろえる指定）は使わない。
   ・見出しだけは、言葉の途中で切れないように「区切りのよい所でだけ」改行する（行の長さはそろえない）
   ・カードの説明やラベルなど短い文は、1行に収まる長さで書く（改行が出ない文にする）
   ・製品名・金額・日付・名前は途中で切らない（inc/linebreak.php で自動処理） */
.pcfix h1, .pcfix h2, .pcfix h3, .pcfix h4 {
	word-break: auto-phrase;
}
html.jw .pcfix h1, html.jw .pcfix h2, html.jw .pcfix h3, html.jw .pcfix h4 { word-break: keep-all; }
.nw { white-space: nowrap; }
/* 文章の最後の行が1〜2文字だけになる「泣き別れ」だけは防ぐ（改行位置を大きく動かすことはしない） */
.pcfix p, .pcfix li, .pcfix td, .pcfix dd, .pcfix summary, .note { text-wrap: pretty; }
@media (max-width: 600px) {
	.dlist { grid-template-columns: 7.5em 1fr; }
}
/* 記事内の表：列が狭いスマホでは横にスクロールさせ、見出しのセルは1文字ずつ折れないようにする */
.entry .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry .wp-block-table table, .table table { overflow-wrap: normal; }
.entry .wp-block-table thead th { white-space: nowrap; }
@media (max-width: 600px) {
	.entry .wp-block-table table { min-width: 520px; }
	.entry .wp-block-table:has(th:nth-child(2):last-child) table { min-width: 0; }
}
.entry .wp-block-table td:first-child, .entry .wp-block-table th:first-child { min-width: 6.5em; }
@media (max-width: 600px) {
	.entry .wp-block-table td:first-child, .entry .wp-block-table th:first-child { width: 38%; }
}
/* 単語の区切り（nowrap.js が入れる区切り）でだけ改行する。スクリプトが動いたときだけ有効 */
html.jw body.pcfix { word-break: keep-all; overflow-wrap: anywhere; }
/* お問い合わせボタンの文字は1行で（「LINEで／問い合わせ」のように折れないように） */
.cbtn__label, .cbtn__sub { white-space: nowrap; }

/* reCAPTCHA の表示文言（Contact Form 7 で reCAPTCHA を有効にしたときだけ出ます） */
.cf7-recaptcha-note { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--muted, #5B6675); text-align: center; }
.cf7-recaptcha-note a { color: inherit; text-decoration: underline; }

/* ==========================================================
 * 中古パソコン・修理事例（入力欄から作る表示）2.12.0
 * ======================================================== */
.pcfix .btn--line { background: var(--line-green); color: #FFFFFF; }
.pcfix .btn--line:hover { background: var(--line-green-dark); color: #FFFFFF; }

/* 1列表示（タブレット・スマホ）で、写真の元の大きさに引っぱられて横にはみ出さないように */
.layout__main, .layout__side { min-width: 0; }

/* 写真ギャラリー */
.gallery__main { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-ph); aspect-ratio: 4 / 3; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; background: #F7F9FC; }
.gallery__main--empty { display: flex; }
.gallery__thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gallery__thumbs a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .75; }
.gallery__thumbs a[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.gallery__thumbs a:hover { opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumbs li { min-width: 0; }

/* 中古パソコンの商品ページ */
.item { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.item .eyecatch { margin: 0 !important; }
.item__info { display: flex; flex-direction: column; gap: 14px; }
.item__status { align-self: flex-start; background: var(--accent-tint); color: var(--accent-dark); font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.item__status.is-sold { background: var(--ink); color: #FFFFFF; }
.item__price { font-weight: 700; color: var(--ink); line-height: 1.2; }
.item__price .num { font-family: var(--font-num); font-size: 40px; font-weight: 800; color: var(--accent); margin-right: 2px; }
.item__price small { font-size: 14px; font-weight: 500; color: var(--sub); margin-left: 4px; }
.item__price--ask { font-size: 18px; color: var(--navy-dark); }
.item__spec { font-weight: 700; color: var(--navy-dark); }
.item__feat { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.item__feat li { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--bg-tint); padding: 4px 12px; border-radius: 999px; }
.item__btn { align-self: stretch; margin-top: 6px; }
.item__btn svg { width: 22px; height: 22px; }
.entry .spec td.num, .entry .spec .num { font-family: var(--font-num); font-weight: 600; }
.entry .spec .spec__total th, .entry .spec .spec__total td { background: var(--accent-tint); color: var(--accent-dark); font-weight: 800; }

/* 一覧カード（中古パソコン） */
.post--used .post__img { aspect-ratio: 4 / 3; }
.post__price { font-weight: 700; color: var(--ink); font-size: 14px; }
.post__price .num { font-family: var(--font-num); font-size: 24px; font-weight: 800; color: var(--accent); }
.post__price small { font-size: 12px; color: var(--sub); font-weight: 500; }
.post__spec { font-size: 13px; color: var(--sub); line-height: 1.6; }

/* 修理事例 */
.wlead { font-size: 17px; font-weight: 700; color: var(--navy-dark); line-height: 1.8; padding: 18px 22px; background: var(--bg-tint); border-radius: var(--radius-sm); margin-bottom: 28px !important; }
.ba { display: grid; gap: 20px; margin-bottom: 36px; }
.ba--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ba__label { display: inline-block; font-size: 13px; font-weight: 800; color: #FFFFFF; background: var(--sub); padding: 3px 14px; border-radius: 999px; margin-bottom: 10px !important; }
.ba__label--after { background: var(--accent); }
.ba--two .gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wphotos { list-style: none !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wphotos li + li { margin-top: 0 !important; }
.wphotos a { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; }
.wphotos img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.wnote { font-size: 14px; color: var(--muted); margin-top: .6em !important; }
.wcomment { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 20px 22px; background: var(--bg-gray); border-radius: var(--radius); margin-top: 2em !important; }
.wcomment__img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--bg-ph); }
.wcomment__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.wcomment__img .ph { min-height: 64px; padding: 0; }
.wcomment__label { font-weight: 900; color: var(--navy-dark); font-size: 15px; }
.wcomment p + p, .wcomment__label + p { margin-top: .4em !important; }

@media (max-width: 768px) {
	.item { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 28px; }
	.item__price .num { font-size: 34px; }
	.ba--two { grid-template-columns: minmax(0, 1fr); }
	.gallery__thumbs, .ba--two .gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wphotos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wcomment { grid-template-columns: 48px 1fr; padding: 16px; }
	.wcomment__img { width: 48px; height: 48px; }
}
