/* ==========================================================================
   Archinet theme — main stylesheet
   ========================================================================== */

:root {
	--c-text: #0F172A;
	--c-muted: #475569;
	--c-muted-2: #5B6B80;
	--c-line: #DCE3EE;
	--c-line-2: #CBD5E1;
	--c-bg: #FFFFFF;
	--c-soft: #F4F7FB;
	--c-soft-blue: #EEF6FB;
	--c-grid: #E3EAF3;
	--c-accent: #0369A1;
	--c-accent-dark: #0C4A6E;
	--c-violet: #6D28D9;
	--c-green: #047857;
	--c-sky: #38BDF8;
	--c-sky-light: #7DD3FC;
	--c-dark: #06142E;
	--c-dark-2: #081E45;
	--c-danger: #B91C1C;
	--c-danger-bg: #FEF2F2;

	--f-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--f-en: "Space Grotesk", var(--f-sans);

	--w-container: 1280px;
	--pad-x: clamp(20px, 4vw, 40px);
	--sec-y: clamp(72px, 9vw, 112px);
	--radius: 10px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 1.8;
	color: var(--c-text);
	background: var(--c-bg);
	font-feature-settings: "palt" 1;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--c-accent); }
a:hover { color: var(--c-accent-dark); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--c-text); color: #fff; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 8px; color: #fff; }

.container { max-width: var(--w-container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.container--narrow { max-width: 860px; }
.section { padding: var(--sec-y) 0; border-top: 1px solid var(--c-line); }
.section--soft { background: var(--c-soft); }
.section--soft-blue { background: var(--c-soft-blue); }
.section--dots { background-color: #fff; background-image: radial-gradient(#D5DEEA 1px, transparent 1px); background-size: 24px 24px; }
.nowrap-chunk { display: inline-block; }

/* ---------- Typography helpers ---------- */
.label { font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; margin: 0 0 10px; color: var(--c-accent); }
.label--violet { color: var(--c-violet); }
.label--green { color: var(--c-green); }
.label--sky { color: var(--c-sky-light); }
.label--muted { color: var(--c-muted-2); }
.h-section { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; margin-bottom: 20px; }
.h-section--spaced { margin-bottom: 48px; }
.lead { font-size: 17px; color: var(--c-muted); max-width: 760px; }
.muted { color: var(--c-muted); }
.small { font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 14px 32px; border-radius: 6px; border: 1px solid transparent;
	font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn--mono { font-family: var(--f-mono); font-size: 20px; }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--c-text); border-color: var(--c-line-2); }
.btn--outline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn--sky { background: var(--c-sky); color: var(--c-dark); }
.btn--sky:hover { background: var(--c-sky-light); color: var(--c-dark); }
.btn--ghost-light { background: rgba(7, 21, 48, .35); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.text-link { font-weight: 700; font-size: 15px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--c-line); backdrop-filter: saturate(1.2) blur(6px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.site-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-text); }
.site-logo:hover { color: var(--c-text); }
.site-logo__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.site-logo__en { font-family: "Montserrat", var(--f-sans); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.site-logo__tag { font-family: "Montserrat", var(--f-sans); font-size: 11px; font-weight: 500; letter-spacing: .01em; color: var(--c-muted); }
.site-logo--footer .site-logo__en { font-size: 22px; }
.site-logo--footer .site-logo__tag { font-size: 10px; }
.custom-logo-link img { max-height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav__menu { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.site-nav__menu a { color: var(--c-text); text-decoration: none; padding: 6px 0; display: inline-block; }
.site-nav__menu a:hover, .site-nav__menu .current-menu-item > a { color: var(--c-accent); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--c-line); border-radius: 8px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars { display: flex; flex-direction: column; gap: 5px; }
.nav-toggle__bars span { display: block; width: 20px; height: 2px; background: var(--c-text); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--pad-x) 24px; background: #fff; border-bottom: 1px solid var(--c-line);
		box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
	}
	.site-nav.is-open { display: flex; }
	.site-nav__menu { flex-direction: column; gap: 0; font-size: 16px; }
	.site-nav__menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
	.site-nav__cta { width: 100%; min-height: 52px; font-size: 16px; }
}

/* ---------- Photos ---------- */
.photo { display: block; width: 100%; border-radius: var(--radius); object-fit: cover; }
.photo--placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	background: #EEF2F8; border: 1px dashed #B8C4D6; color: var(--c-muted-2); font-size: 14px; text-align: center; padding: 16px;
}
.photo__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background-color: #fff;
	background-image: linear-gradient(var(--c-grid) 1px, transparent 1px), linear-gradient(90deg, var(--c-grid) 1px, transparent 1px);
	background-size: 56px 56px;
	border-bottom: 1px solid var(--c-line);
}
.hero__network { position: absolute; right: -80px; top: -40px; width: 720px; opacity: .55; pointer-events: none; }
.hero__inner { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero__main { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; margin-bottom: 72px; }
.hero__text { flex: 1 1 560px; min-width: 0; }
.hero__media { flex: 1 1 440px; min-width: 0; }
.hero__media .photo { height: 440px; box-shadow: 0 16px 40px rgba(15, 23, 42, .10); }
.hero__title { font-size: clamp(34px, 6vw, 60px); font-weight: 900; line-height: 1.3; letter-spacing: -.01em; }
.hero__lead { margin: 32px 0 44px; font-size: 18px; color: var(--c-muted); max-width: 720px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.product-card {
	display: block; text-decoration: none; color: var(--c-text); background: #fff;
	border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .06); transition: border-color .15s, transform .15s;
}
.product-card:hover { color: var(--c-text); border-color: var(--c-accent); transform: translateY(-2px); }
.product-card__label { font-family: var(--f-mono); font-size: 12px; margin-bottom: 8px; }
.product-card__name { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.product-card__text { font-size: 15px; color: var(--c-muted); }
.product-card__sub { font-size: 14px; font-weight: 700; color: var(--c-violet); margin: -4px 0 10px; }
.product-card--has-node { position: relative; }
.product-card__node { position: absolute; top: 14px; right: 16px; line-height: 0; }
.product-card--has-node .product-card__label, .product-card--has-node .product-card__name { padding-right: 84px; }
@media (max-width: 480px) {
	.product-card--has-node .product-card__label { padding-bottom: 52px; }
	.product-card--has-node .product-card__name { padding-right: 0; }
}
.product-card__powered { font-family: var(--f-mono); font-size: 11px; color: var(--c-muted-2); margin-top: 12px; }
@media (max-width: 640px) {
	.hero__media .photo { height: 260px; }
	.hero__lead { font-size: 16px; }
}

/* ---------- News strip (front) ---------- */
.news-strip { border-bottom: 1px solid var(--c-line); background: #fff; }
.news-strip__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.news-strip__title { font-weight: 700; font-size: 15px; color: var(--c-accent); }
.news-strip__list { list-style: none; margin: 0; padding: 0; flex: 1 1 520px; display: flex; flex-direction: column; gap: 4px; }
.news-strip__list a { color: var(--c-text); text-decoration: none; }
.news-strip__list a:hover { color: var(--c-accent); }
.news-strip__list time { font-family: var(--f-mono); font-size: 13px; color: var(--c-muted-2); margin-right: 12px; }
.news-strip__more { font-size: 14px; }

/* ---------- Problem ---------- */
.problem__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.problem__text { flex: 1 1 600px; min-width: 0; }
.problem__media { flex: 1 1 400px; min-width: 0; }
.problem__media .photo { height: 360px; }

/* ---------- Product band (dark, with illustration) ---------- */
.band { background-color: var(--c-dark); color: #fff; }
.band--check { background-image: radial-gradient(circle at 28% 50%, #0E3A7A 0%, var(--c-dark-2) 38%, var(--c-dark) 70%); }
.band--concierge { background-image: radial-gradient(circle at 72% 50%, #0E3A7A 0%, var(--c-dark-2) 38%, var(--c-dark) 70%); }
.band--build { background-image: radial-gradient(circle at 28% 50%, #0E3A7A 0%, var(--c-dark-2) 38%, var(--c-dark) 70%); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; min-height: 440px; padding-top: 56px; padding-bottom: 56px; }
.band--reverse .band__inner { flex-wrap: wrap-reverse; }
.band__art { flex: 1 1 480px; min-width: 0; }
.band__art .illus { display: block; width: 100%; max-width: 620px; height: auto; }
.band--reverse .band__art .illus { margin-left: auto; }
.band__text { flex: 1 1 420px; min-width: 0; max-width: 560px; }
.band__title { font-size: clamp(28px, 4.5vw, 44px); font-weight: 900; color: #fff; margin-bottom: 20px; }
.band__lead { font-size: 18px; color: #D6DEEA; }
.band__sub { font-size: 18px; font-weight: 700; color: #C4B5FD; margin: -12px 0 6px; }
.band__powered { font-family: var(--f-mono); font-size: 12px; color: #A9B8CC; margin-bottom: 20px; }
.band__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.band .label--violet { color: #C4B5FD; }
.band .label--green { color: #6EE7B7; }

/* ---------- Feature list + mock panels ---------- */
.feature__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.feature__list-col { flex: 1 1 460px; min-width: 0; }
.feature__mock-col { flex: 1 1 520px; min-width: 0; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.check-list li { display: flex; gap: 14px; }
.check-list li::before { content: ">"; font-family: var(--f-mono); color: var(--c-accent); }
.check-list--violet li::before { color: var(--c-violet); }

.mock { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.mock__bar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--c-line); font-family: var(--f-mono); font-size: 12px; color: var(--c-muted-2); }
.mock__alert { color: var(--c-danger); }
.mock__body { padding: 8px 20px 20px; }
.mock__row { padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.mock__row:last-child { border-bottom: 0; padding-bottom: 0; }
.mock__row-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.mock__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-family: var(--f-mono); font-size: 13px; }
.mock__pair span { background: var(--c-danger-bg); color: var(--c-danger); padding: 8px 12px; border-radius: 4px; overflow-wrap: anywhere; }

.chat { padding: 24px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.chat__q { align-self: flex-end; background: #EEF2F8; padding: 12px 18px; border-radius: 12px 12px 4px 12px; max-width: 80%; }
.chat__a { align-self: flex-start; background: #F0F9FF; border: 1px solid #BAE6FD; padding: 14px 18px; border-radius: 12px 12px 12px 4px; max-width: 88%; }
.chat__src { font-family: var(--f-mono); font-size: 12px; color: var(--c-accent); margin-top: 6px; }

/* ---------- Build ---------- */
.build__inner { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.build__text { flex: 1 1 420px; min-width: 0; }
.build__more { margin-top: 24px; }
.build__grid { list-style: none; margin: 0; padding: 0; flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; }
.tile__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tile__text { font-size: 14px; color: var(--c-muted); }
.combo { margin-top: 56px; background: var(--c-soft); border: 1px solid var(--c-line); border-radius: 12px; padding: 28px; }
.combo__title { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.combo__flow { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.combo__step { flex: 1 1 220px; min-width: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px 20px; position: relative; }
.combo__step:last-child { border-color: var(--c-accent); }
.combo__key { font-family: var(--f-mono); font-size: 12px; }
.combo__text { font-size: 16px; font-weight: 700; margin-top: 2px; }

/* ---------- How ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px; counter-increment: step; }
.steps li:last-child { border-color: var(--c-accent); }
.steps__num { font-family: var(--f-mono); font-size: 13px; color: var(--c-muted-2); }
.steps__num::after { content: counter(step, decimal-leading-zero); }
.steps li:nth-child(2) .steps__num, .steps li:nth-child(3) .steps__num { color: var(--c-violet); }
.steps li:last-child .steps__num { color: var(--c-accent); }
.steps__title { font-size: 20px; font-weight: 700; margin: 8px 0; }
.steps__text { font-size: 15px; color: var(--c-muted); }

/* ---------- Works ---------- */
.photos-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 48px 0 32px; }
.photos-3 .photo { height: 200px; }
.works-spacer { height: 40px; }
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.works-grid li { background: #fff; padding: 22px 24px; border: 1px solid var(--c-line); border-radius: var(--radius); }
.works-grid__cat { font-family: var(--f-mono); font-size: 12px; color: var(--c-muted-2); }
.works-grid__name { font-weight: 700; margin-top: 4px; }

/* ---------- About ---------- */
.about__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.about__msg { flex: 1 1 520px; min-width: 0; max-width: 820px; display: flex; flex-direction: column; justify-content: center; }
.about__heading { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.about__company { font-size: 15px; font-weight: 700; color: var(--c-muted-2); margin-top: 28px; }
.about__company + .about__name { margin-top: 4px; }
.about__name { font-size: 20px; font-weight: 700; margin-top: 28px; }
.about__cred { font-size: 14px; color: var(--c-muted-2); margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
	background-color: #071530;
	background-image: radial-gradient(circle at 20% 30%, #0E3A7A 0%, rgba(7, 21, 48, 0) 45%), radial-gradient(circle at 85% 70%, #0B4A6E 0%, rgba(7, 21, 48, 0) 40%);
	background-size: cover; background-position: center 40%; background-repeat: no-repeat; color: #fff;
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; padding-top: clamp(80px, 10vw, 128px); padding-bottom: clamp(80px, 10vw, 128px); }
.cta-band__text { flex: 1 1 560px; min-width: 0; }
.cta-band__title { font-size: clamp(28px, 4.5vw, 44px); font-weight: 900; color: #fff; margin-bottom: 16px; }
.cta-band__lead { color: #D6DEEA; }
.cta-band__actions { flex: 0 1 400px; width: 100%; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--c-line); font-size: 14px; color: var(--c-muted-2); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 32px; padding-top: 40px; padding-bottom: 40px; }
.site-footer__address { margin-top: 10px; }
.site-footer__address a { color: inherit; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-menu a { color: var(--c-muted-2); }
.site-footer__copy { width: 100%; font-size: 13px; }

/* ---------- Page header (sub pages) ---------- */
.page-head {
	background-color: #fff;
	background-image: linear-gradient(var(--c-grid) 1px, transparent 1px), linear-gradient(90deg, var(--c-grid) 1px, transparent 1px);
	background-size: 56px 56px; border-bottom: 1px solid var(--c-line);
}
.page-head__inner { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(40px, 6vw, 64px); }
.page-head__title { font-size: clamp(28px, 4.5vw, 44px); font-weight: 900; }
.page-head__lead { margin-top: 16px; font-size: 17px; color: var(--c-muted); max-width: 760px; }
.breadcrumb { font-size: 13px; color: var(--c-muted-2); margin-bottom: 12px; }
.breadcrumb a { color: var(--c-muted-2); }
.breadcrumb--product { margin: 0; padding: 14px 0; }

/* ---------- Entry content ---------- */
.entry { padding: var(--sec-y) 0; }
.entry-content { font-size: 17px; line-height: 1.95; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 900; margin-top: 2.4em; padding-bottom: .4em; border-bottom: 2px solid var(--c-text); }
.entry-content h3 { font-size: 20px; font-weight: 700; margin-top: 2em; padding-left: 12px; border-left: 4px solid var(--c-accent); }
.entry-content h4 { font-size: 17px; font-weight: 700; margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: 8px; }
.entry-content blockquote { margin-left: 0; padding: 16px 20px; background: var(--c-soft); border-left: 4px solid var(--c-line-2); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line); padding: 12px 14px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--c-soft); width: 28%; }
.entry-content .wp-block-button__link { background: var(--c-accent); border-radius: 6px; font-weight: 700; }
.entry-content a { text-underline-offset: 3px; }
.alignwide { margin-left: calc(-1 * min(10vw, 120px)); margin-right: calc(-1 * min(10vw, 120px)); }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--c-muted-2); margin-top: 6px; }

/* ---------- News list / single ---------- */
.news-layout { display: flex; flex-wrap: wrap; gap: 48px; padding: var(--sec-y) 0; }
.news-layout__main { flex: 999 1 560px; min-width: 0; }
.news-layout__side { flex: 1 1 260px; min-width: 0; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.news-list__item { border-bottom: 1px solid var(--c-line); }
.news-list__link { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 20px 4px; text-decoration: none; color: var(--c-text); }
.news-list__link:hover { color: var(--c-accent); background: var(--c-soft); }
.news-list__date { font-family: var(--f-mono); font-size: 14px; color: var(--c-muted-2); flex: 0 0 auto; }
.news-list__cat { font-size: 12px; border: 1px solid var(--c-line-2); border-radius: 999px; padding: 2px 10px; color: var(--c-muted); align-self: center; }
.news-list__title { flex: 1 1 360px; font-weight: 500; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-family: var(--f-mono); font-size: 14px; color: var(--c-muted-2); margin-bottom: 12px; }
.post-thumb { margin-bottom: 32px; }
.post-thumb img { border-radius: var(--radius); width: 100%; }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 15px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 6px; text-decoration: none; color: var(--c-text); }
.pagination .page-numbers.current { background: var(--c-text); color: #fff; border-color: var(--c-text); }
.widget { margin-bottom: 32px; }
.widget-title { font-size: 15px; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); margin-bottom: 12px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 6px 0; }

/* ---------- Product page ---------- */
.product-body { padding: var(--sec-y) 0; }
.other-products { padding: var(--sec-y) 0; background: var(--c-soft); border-top: 1px solid var(--c-line); }

/* ---------- Contact page ---------- */
.contact-layout { display: flex; flex-wrap: wrap; gap: 48px; padding: var(--sec-y) 0; align-items: flex-start; }
.contact-layout__form { flex: 999 1 560px; min-width: 0; }
.contact-layout__side { flex: 1 1 300px; min-width: 0; background: var(--c-soft); border: 1px solid var(--c-line); border-radius: 12px; padding: 28px; }
.contact-tel { display: block; font-family: var(--f-mono); font-size: 28px; font-weight: 700; color: var(--c-text); text-decoration: none; margin: 8px 0 4px; }

/* Form defaults (Contact Form 7 / generic) */
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content input[type="url"],
.entry-content input[type="number"], .entry-content select, .entry-content textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--c-text);
	border: 1px solid var(--c-line-2); border-radius: 6px; background: #fff;
}
.entry-content textarea { min-height: 180px; }
.entry-content input[type="submit"], .entry-content button[type="submit"] {
	min-height: 52px; padding: 14px 40px; border: 0; border-radius: 6px; background: var(--c-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.entry-content input[type="submit"]:hover { background: var(--c-accent-dark); }
.wpcf7-form p { margin-top: 1.2em; }
.wpcf7-not-valid-tip { color: var(--c-danger); font-size: 14px; }

/* ---------- 404 / search ---------- */
.notfound { padding: var(--sec-y) 0; text-align: center; }
.notfound__code { font-family: var(--f-mono); font-size: 64px; color: var(--c-accent); }
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 24px auto 0; }
.search-form .search-field { flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: 6px; font: inherit; }
.search-form .search-submit { min-height: 48px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--c-text); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* ===== デザイン済みページ（製品ページ・実績） ===== */
.designed-page { line-height: 1.8; }
.designed-page h1, .designed-page h2, .designed-page h3 { letter-spacing: 0; }
.designed-page img, .designed-page svg { max-width: 100%; height: auto; }
.bg-check-illus { background-color: #06142E; background-image: radial-gradient(circle at 28% 50%, #0E3A7A 0%, #081E45 38%, #06142E 70%); }
.bg-concierge-illus { background-color: #06142E; background-image: radial-gradient(circle at 72% 50%, #0E3A7A 0%, #081E45 38%, #06142E 70%); }
.bg-contact { background-color: #071530; background-size: cover; background-position: center 40%; background-repeat: no-repeat; }
.designed-page .todo { background: #FEF3C7; color: #92400E; font-weight: 700; padding: 1px 6px; border-radius: 4px; border: 1px dashed #D97706; }
.designed-page .sr, .works-page .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.designed-page details > summary::-webkit-details-marker { display: none; }
.designed-page :focus-visible, .works-page :focus-visible { outline: 3px solid #F59E0B; outline-offset: 3px; border-radius: 4px; }
@media (max-width: 600px) {
	.designed-page section > div, .works-page section > div { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ===== お問い合わせフォーム（見やすさ強化 v1.4.1） ===== */
.contact-layout__form .wpcf7 {
	background: var(--c-soft); border: 1px solid var(--c-line); border-radius: 12px; padding: 32px 32px 36px;
}
.wpcf7-form p { margin: 0 0 22px; }
.wpcf7-form label { display: block; font-weight: 700; font-size: 16px; color: var(--c-text); line-height: 1.6; }
.wpcf7-form label .wpcf7-form-control-wrap { display: block; margin-top: 8px; font-weight: 400; }
.entry-content .wpcf7-form input[type="text"], .entry-content .wpcf7-form input[type="email"],
.entry-content .wpcf7-form input[type="tel"], .entry-content .wpcf7-form input[type="url"],
.entry-content .wpcf7-form input[type="number"], .entry-content .wpcf7-form select, .entry-content .wpcf7-form textarea {
	background: #FFFFFF; border: 1.5px solid #64748B; border-radius: 8px; min-height: 52px; padding: 12px 14px;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06); transition: border-color .15s, box-shadow .15s;
}
.entry-content .wpcf7-form textarea { min-height: 200px; line-height: 1.7; }
.entry-content .wpcf7-form select {
	appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, #334155 50%), linear-gradient(135deg, #334155 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.entry-content .wpcf7-form input:hover, .entry-content .wpcf7-form select:hover, .entry-content .wpcf7-form textarea:hover { border-color: #334155; }
.entry-content .wpcf7-form input:focus, .entry-content .wpcf7-form select:focus, .entry-content .wpcf7-form textarea:focus {
	outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, .25);
}
.entry-content .wpcf7-form ::placeholder { color: #64748B; opacity: 1; }
.wpcf7-form .wpcf7-not-valid { border-color: #B91C1C !important; background: #FEF2F2 !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #B91C1C; font-size: 14px; font-weight: 700; }
.wpcf7-form .wpcf7-acceptance { display: block; }
.wpcf7-form .wpcf7-acceptance label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.wpcf7-form input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--c-accent); cursor: pointer; flex: 0 0 auto; }
.entry-content .wpcf7-form input[type="submit"] { min-width: 240px; font-size: 17px; }
.entry-content .wpcf7-form input[type="submit"]:focus-visible { outline: 3px solid #F59E0B; outline-offset: 3px; }
.entry-content .wpcf7-form input[type="submit"]:disabled { background: #94A3B8; cursor: not-allowed; }
.wpcf7-form .wpcf7-spinner { vertical-align: middle; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 12px 16px; border-radius: 8px; border-width: 2px; font-weight: 700; }
@media (max-width: 600px) {
	.contact-layout__form .wpcf7 { padding: 22px 18px 26px; }
	.entry-content .wpcf7-form input[type="submit"] { width: 100%; min-width: 0; }
}
/* フォーム上の余白を詰める */
.wpcf7-form .hidden-fields-container { display: none; border: 0; margin: 0; padding: 0; }
.wpcf7-form > p:first-of-type, .wpcf7-form > :first-child { margin-top: 0; }
.contact-layout__form .entry-content > .wpcf7:first-child, .contact-layout__form .entry-content > :first-child { margin-top: 0; }
.contact-layout__form .wpcf7 { padding-top: 26px; }
.wpcf7-form label br { display: none; }
.contact-layout { padding-top: 40px; }
