/* =========================================================
   STEELPIPE Industrial — main stylesheet
   ========================================================= */
:root {
	--sp-steel: #0f172a;
	--sp-steel-2: #1e293b;
	--sp-steel-3: #020617;
	--sp-line: #1e293b;
	--sp-orange: #ea580c;
	--sp-orange-d: #c2410c;
	--sp-orange-l: #fb923c;
	--sp-blue: #2563eb;
	--sp-blue-d: #1d4ed8;
	--sp-text: #1e293b;
	--sp-muted: #64748b;
	--sp-bg: #f8fafc;
	--sp-light: #f1f5f9;
	--sp-border: #e2e8f0;
	--sp-green: #16a34a;
	--sp-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--sp-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
	--sp-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--sp-radius: 14px;
	--sp-header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sp-header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sp-sans); color: var(--sp-text); background: var(--sp-bg); line-height: 1.75; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--sp-blue-d); }
h1, h2, h3, h4 { font-family: var(--sp-serif); line-height: 1.35; margin: 0 0 .6em; color: inherit; }
p { margin: 0 0 1em; }
.sp-skip { position: absolute; left: -9999px; }
.sp-skip:focus { left: 8px; top: 8px; z-index: 1000; background: #fff; padding: 8px 12px; }

.sp-container { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; width: 100%; }
@media (min-width: 640px) { .sp-container { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .sp-container { padding-left: 32px; padding-right: 32px; } }
.sp-narrow { max-width: 896px; }
.sp-orange { color: var(--sp-orange); }

/* Buttons */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 700; font-size: 14px; line-height: 1.2; padding: 12px 20px; border-radius: 8px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s, border-color .15s, color .15s; font-family: var(--sp-sans); }
.sp-btn:active { transform: scale(.97); }
.sp-btn--orange { background: var(--sp-orange); color: #fff; box-shadow: 0 4px 14px rgba(234, 88, 12, .25); }
.sp-btn--orange:hover { background: var(--sp-orange-d); color: #fff; }
.sp-btn--blue { background: var(--sp-blue); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, .25); }
.sp-btn--blue:hover { background: var(--sp-blue-d); color: #fff; }
.sp-btn--outline { background: #fff; color: var(--sp-text); border-color: var(--sp-border); }
.sp-btn--outline:hover { border-color: var(--sp-orange); }
.sp-btn--ghost { background: transparent; color: #94a3b8; }
.sp-btn--ghost:hover { background: var(--sp-steel-2); color: #fff; }
.sp-btn--block { width: 100%; }
.sp-btn--lg { padding: 18px 48px; font-size: 16px; }
.sp-btn[disabled] { background: var(--sp-steel-2); color: #64748b; box-shadow: none; cursor: not-allowed; }
.sp-btn--mail::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-mail) center/contain no-repeat; mask: var(--i-mail) center/contain no-repeat; }

/* Icons (mask) */
:root {
	--i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
	--i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
	--i-scale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z'/%3E%3Cpath d='m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z'/%3E%3Cpath d='M7 21h10'/%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2'/%3E%3C/svg%3E");
	--i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--i-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E");
	--i-building: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4M10 10h4M10 14h4M10 18h4'/%3E%3C/svg%3E");
	--i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--i-layers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/%3E%3Cpath d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/%3E%3Cpath d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/%3E%3C/svg%3E");
	--i-calc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cline x1='8' x2='16' y1='6' y2='6'/%3E%3Cline x1='16' x2='16' y1='14' y2='18'/%3E%3Cpath d='M16 10h.01M12 10h.01M8 10h.01M12 14h.01M8 14h.01M12 18h.01M8 18h.01'/%3E%3C/svg%3E");
	--i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}
.sp-icon { width: 48px; height: 48px; border-radius: 10px; margin: 0 0 16px !important; position: relative; }
.sp-icon::after { content: ""; position: absolute; inset: 12px; background: currentColor; -webkit-mask: var(--i-globe) center/contain no-repeat; mask: var(--i-globe) center/contain no-repeat; }
.sp-icon--globe { background: #dbeafe; color: var(--sp-blue-d); }
.sp-icon--scale { background: #ffedd5; color: var(--sp-orange-d); }
.sp-icon--scale::after { -webkit-mask-image: var(--i-scale); mask-image: var(--i-scale); }
.sp-icon--shield { background: #dcfce7; color: #15803d; }
.sp-icon--shield::after { -webkit-mask-image: var(--i-shield); mask-image: var(--i-shield); }
.sp-truck::before, .sp-ttl-building::before, .sp-ttl-pin::before, .sp-layers, .sp-calc { content: ""; display: inline-block; vertical-align: -3px; width: 20px; height: 20px; margin-right: 8px; background: currentColor; -webkit-mask: var(--i-truck) center/contain no-repeat; mask: var(--i-truck) center/contain no-repeat; }
.sp-ttl-building::before { -webkit-mask-image: var(--i-building); mask-image: var(--i-building); color: #3b82f6; background: #3b82f6; }
.sp-ttl-pin::before { -webkit-mask-image: var(--i-pin); mask-image: var(--i-pin); background: #3b82f6; }
.sp-layers { -webkit-mask-image: var(--i-layers); mask-image: var(--i-layers); background: var(--sp-blue); }
.sp-calc { -webkit-mask-image: var(--i-calc); mask-image: var(--i-calc); background: var(--sp-orange); }

/* Header */
.sp-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--sp-border); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.admin-bar .sp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sp-header { top: 46px; } }
.sp-header__inner { height: var(--sp-header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sp-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.sp-logo img { height: 56px; width: auto; object-fit: contain; }
.sp-logo__text { font-family: var(--sp-serif); font-weight: 900; color: var(--sp-steel); font-size: 20px; letter-spacing: .05em; }
.sp-nav__list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.sp-nav__list a { color: #475569; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.sp-nav__list a:hover { color: var(--sp-blue-d); }
.sp-header__cta { display: flex; align-items: center; gap: 8px; }
.sp-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--sp-border); background: #fff; border-radius: 8px; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.sp-burger span { display: block; height: 2px; background: var(--sp-steel); border-radius: 2px; transition: transform .2s, opacity .2s; }
.sp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 767px) {
	:root { --sp-header-h: 68px; }
	.sp-logo img { height: 42px; }
	.sp-burger { display: flex; }
	.sp-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--sp-border); box-shadow: 0 10px 20px rgba(15, 23, 42, .08); display: none; }
	.sp-nav.is-open { display: block; }
	.sp-nav__list { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
	.sp-nav__list a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--sp-light); font-size: 15px; }
	.sp-header__cta .sp-btn { padding: 10px 12px; font-size: 13px; white-space: nowrap; }
	.sp-header__cta .sp-btn--mail::before { display: none; }
}

/* Front page: neutralise block layout spacing */
.sp-front > * { margin: 0; }
.sp-front .wp-block-group, .sp-front .wp-block-columns { margin-top: 0; margin-bottom: 0; }
.sp-main { display: block; }
.sp-front .wp-block-columns { display: flex; flex-wrap: wrap; align-items: stretch; }
.sp-front .wp-block-column { flex: 1 1 100%; min-width: 0; }
@media (min-width: 782px) {
	.sp-front .wp-block-columns { flex-wrap: nowrap; }
	.sp-front .wp-block-column { flex-basis: 0; flex-grow: 1; }
	.sp-front .wp-block-column[style*="flex-basis"] { flex-grow: 0; }
}
.sp-front .wp-block-buttons { display: flex; flex-wrap: wrap; }
.sp-front .wp-block-button__link { display: inline-block; text-decoration: none; text-align: center; }
.sp-front figure { margin: 0; }

/* Sections */
.sp-section { padding: 80px 0; position: relative; overflow: hidden; }
.sp-white { background: #fff; }
.sp-light { background: var(--sp-light); border-top: 1px solid var(--sp-border); border-bottom: 1px solid var(--sp-border); }
.sp-dark { background: var(--sp-steel); color: #fff; }
.sp-grid-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(128, 128, 128, .07) 1px, transparent 1px), linear-gradient(to bottom, rgba(128, 128, 128, .07) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.sp-section > .sp-container { position: relative; z-index: 1; }
.sp-head { text-align: center; max-width: 768px; margin: 0 auto 64px !important; }
.sp-head h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; color: var(--sp-steel); }
.sp-dark .sp-head h2 { color: #fff; }
.sp-head h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--sp-orange); margin: 16px auto 0; }
.sp-head p { color: #475569; margin: 24px 0 0; }
.sp-dark .sp-head p { color: #94a3b8; }
.sp-eyebrow { display: inline-block; color: var(--sp-orange); font-size: 13px; font-weight: 700; letter-spacing: .1em; background: rgba(234, 88, 12, .1); border: 1px solid rgba(234, 88, 12, .2); padding: 4px 12px; border-radius: 999px; margin: 0 0 16px !important; font-family: var(--sp-sans); }

/* Hero */
.sp-hero { position: relative; background: var(--sp-steel); color: #fff; overflow: hidden; padding: 96px 0; }
@media (min-width: 768px) { .sp-hero { padding: 128px 0; } }
.sp-hero__bg { position: absolute !important; inset: 0; margin: 0 !important; opacity: .4; z-index: 0; }
.sp-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.sp-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to right, #020617 0%, rgba(15, 23, 42, .85) 50%, rgba(15, 23, 42, 0) 100%); }
.sp-hero__inner { position: relative; z-index: 1; }
.sp-hero__inner > * { max-width: 768px; }
.sp-hero__badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; background: rgba(249, 115, 22, .1); border: 1px solid rgba(249, 115, 22, .3); border-radius: 999px; padding: 6px 16px 6px 6px; margin-bottom: 24px !important; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--sp-orange-l); }
.sp-hero__badge strong { background: var(--sp-orange); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.sp-hero__title { font-size: clamp(36px, 6vw, 60px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 24px; color: #fff; }
.sp-hero__lead { font-size: clamp(16px, 1.6vw, 20px); color: #cbd5e1; line-height: 1.8; margin-bottom: 32px !important; }
.sp-hero__btns { display: flex; flex-wrap: wrap; gap: 16px; }
.sp-hero__btns .wp-block-button__link { padding: 20px 32px; font-weight: 700; font-size: 16px; border-radius: 8px; transition: background .15s, transform .1s; }
.sp-b-blue .wp-block-button__link { background: var(--sp-blue); color: #fff; box-shadow: 0 10px 25px rgba(30, 58, 138, .3); }
.sp-b-blue .wp-block-button__link:hover { background: var(--sp-blue-d); }
.sp-b-outline .wp-block-button__link { background: transparent; color: #fff; border: 1px solid #94a3b8; }
.sp-b-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 639px) { .sp-hero__btns .wp-block-button { width: 100%; } .sp-hero__btns .wp-block-button__link { width: 100%; text-align: center; } }

/* Feature cards */
.sp-cards { gap: 32px !important; }
.sp-card { background: var(--sp-bg); border-radius: var(--sp-radius); padding: 32px 28px; box-shadow: 0 4px 6px -1px rgba(15, 23, 42, .08); transition: box-shadow .3s, transform .3s; }
.sp-card:hover { box-shadow: 0 20px 25px -5px rgba(15, 23, 42, .12); transform: translateY(-2px); }
.sp-card h3 { font-size: 20px; font-weight: 700; color: var(--sp-steel); }
.sp-card p:not(.sp-icon) { color: #475569; font-size: 14px; line-height: 1.85; margin: 0; }

/* Logistics */
.sp-dcards { gap: 48px !important; }
.sp-dcard { background: rgba(2, 6, 23, .6); border: 1px solid var(--sp-line); border-radius: 18px; padding: 24px; transition: border-color .3s; }
@media (min-width: 640px) { .sp-dcard { padding: 32px; } }
.sp-dcard:hover { border-color: rgba(249, 115, 22, .35); }
.sp-dcard__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px !important; }
.sp-dcard__head h3 { font-size: 20px; margin: 0; color: #fff; }
.sp-truck::before { background: var(--sp-orange-l); width: 22px; height: 22px; }
.sp-tag { margin: 0 !important; font-family: var(--sp-mono); font-size: 12px; color: var(--sp-orange-l); border: 1px solid rgba(249, 115, 22, .3); background: rgba(249, 115, 22, .06); border-radius: 6px; padding: 3px 10px; }
.sp-dcard__img { margin: 0 0 24px !important; border-radius: 12px; overflow: hidden; border: 1px solid rgba(30, 41, 59, .5); height: 256px; }
.sp-dcard__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-muted { color: #94a3b8; font-size: 14px; line-height: 1.85; }
.sp-label { color: #64748b; font-size: 12px; font-weight: 700; letter-spacing: .05em; border-top: 1px solid rgba(30, 41, 59, .8); padding-top: 16px; margin-bottom: 8px !important; }
.sp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-stat { background: var(--sp-steel); border: 1px solid rgba(30, 41, 59, .5); border-radius: 6px; padding: 10px; margin: 0 !important; font-size: 12px; color: #64748b; line-height: 1.5; }
.sp-stat strong { color: #fff; font-size: 14px; }
.sp-footnote { margin: 48px 0 0 !important; background: rgba(2, 6, 23, .4); border: 1px solid var(--sp-line); border-radius: 12px; padding: 16px; text-align: center; font-size: 12px; color: #94a3b8; }

/* Catalog */
.sp-note-pill { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin: -40px auto 40px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 8px 16px; font-size: 14px; color: #1e40af; }
.sp-i { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--sp-blue); color: var(--sp-blue); font: 700 11px/15px var(--sp-sans); text-align: center; }
.sp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; background: #fff; border: 1px solid var(--sp-border); border-radius: 12px; padding: 4px; width: fit-content; max-width: 100%; margin: 0 auto 40px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.sp-tab { border: 0; background: transparent; padding: 10px 20px; border-radius: 8px; font: 700 14px/1.4 var(--sp-sans); color: #475569; cursor: pointer; transition: background .15s, color .15s; }
.sp-tab:hover { color: var(--sp-steel); }
.sp-tab.is-active { background: var(--sp-steel); color: #fff; }
.sp-tabpanel { display: none; }
.sp-tabpanel.is-active { display: block; animation: spFade .25s ease; }
@keyframes spFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sp-cat { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .sp-cat { grid-template-columns: 5fr 7fr; } }
.sp-cat__card, .sp-cat__table { background: #fff; border-radius: 18px; border: 1px solid var(--sp-border); box-shadow: 0 4px 6px -1px rgba(15, 23, 42, .08); overflow: hidden; }
.sp-cat__img { aspect-ratio: 4/3; background: #e2e8f0; }
.sp-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-cat__body { padding: 24px; }
.sp-cat__body h3 { font-size: 20px; }
.sp-cat__body p { color: #475569; font-size: 14px; }
.sp-cat__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.sp-cat__gallery figure { margin: 0; border: 1px solid var(--sp-light); background: var(--sp-bg); border-radius: 8px; padding: 8px; }
.sp-cat__gallery img { width: 100%; height: 96px; object-fit: cover; border-radius: 4px; }
.sp-cat__gallery figcaption { font-size: 10px; color: var(--sp-muted); text-align: center; margin-top: 4px; }
.sp-checks { list-style: none; margin: 0; padding: 0; font-size: 12px; color: var(--sp-muted); }
.sp-checks li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.sp-checks li::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; background: var(--sp-green); -webkit-mask: var(--i-check) center/contain no-repeat; mask: var(--i-check) center/contain no-repeat; }
.sp-cat__table { padding: 24px; }
.sp-cat__table h4 { font-size: 18px; display: flex; align-items: center; }
.sp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.sp-table th { background: var(--sp-bg); color: var(--sp-steel); font-weight: 700; text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--sp-border); white-space: nowrap; }
.sp-table td { padding: 12px 8px; border-bottom: 1px solid var(--sp-border); vertical-align: middle; }
.sp-table tr:hover td { background: rgba(248, 250, 252, .6); }
.sp-table td strong { display: block; color: var(--sp-steel); }
.sp-table td small { display: block; color: var(--sp-muted); font-size: 12px; margin-top: 2px; }
.sp-table .r { text-align: right; }
.sp-table .mono { font-family: var(--sp-mono); white-space: nowrap; }
.sp-table .sm { font-size: 12px; color: var(--sp-muted); }
.sp-table .blue { color: var(--sp-blue-d); font-weight: 600; }
.sp-table .b { font-weight: 700; color: var(--sp-steel); }

/* Simulator */
.sp-sim { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .sp-sim { grid-template-columns: 2fr 1fr; } }
.sp-sim__inputs { background: var(--sp-bg); border: 1px solid var(--sp-border); border-radius: 18px; padding: 24px; display: grid; gap: 32px; }
@media (max-width: 639px) { .sp-sim__inputs { padding: 12px; gap: 16px; } }
.sp-sim__cat { background: #fff; border: 1px solid var(--sp-light); border-radius: 12px; padding: 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
@media (max-width: 639px) { .sp-sim__cat { padding: 16px; } }
.sp-sim__cat h3 { font-size: 18px; border-left: 4px solid var(--sp-blue); padding-left: 12px; margin-bottom: 16px; }
.sp-sim__row { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--sp-light); }
.sp-sim__row:last-child { border-bottom: 0; }
@media (min-width: 640px) { .sp-sim__row { flex-direction: row; align-items: center; justify-content: space-between; } }
.sp-sim__name strong { display: block; color: var(--sp-steel); font-size: 15px; }
.sp-sim__name small { display: block; color: var(--sp-muted); font-size: 12px; margin-top: 2px; }
.sp-sim__ctrl { display: flex; align-items: center; gap: 16px; align-self: flex-end; flex-shrink: 0; }
@media (min-width: 640px) { .sp-sim__ctrl { align-self: auto; } }
.sp-sim__price { text-align: right; line-height: 1.3; }
.sp-sim__price small { display: block; font-size: 12px; color: #94a3b8; }
.sp-sim__price span { font-family: var(--sp-mono); font-weight: 700; font-size: 14px; color: var(--sp-steel-2); }
.sp-sim__ctrl input { width: 112px; text-align: right; font-family: var(--sp-mono); font-size: 16px; padding: 8px 10px; border: 1px solid var(--sp-border); border-radius: 6px; background: var(--sp-bg); }
.sp-sim__ctrl input:focus { outline: 2px solid var(--sp-blue); outline-offset: 1px; background: #fff; }
.sp-sim__unit { font-size: 14px; color: var(--sp-muted); }
.sp-sim__summary { position: sticky; top: calc(var(--sp-header-h) + 16px); }
.sp-sum { background: var(--sp-steel); color: #fff; border: 1px solid var(--sp-line); border-radius: 18px; padding: 24px; box-shadow: 0 20px 25px -5px rgba(15, 23, 42, .25); }
.sp-sum h3 { font-size: 20px; display: flex; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--sp-line); margin-bottom: 24px; }
.sp-sum dl { margin: 0 0 16px; display: grid; gap: 14px; }
.sp-sum dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; color: #94a3b8; }
.sp-sum dt { margin: 0; white-space: nowrap; }
.sp-sum dd { margin: 0; text-align: right; font-size: 12px; }
.sp-sum dd b { font-family: var(--sp-mono); color: #fff; font-size: 14px; }
.sp-sum .line { padding-bottom: 10px; border-bottom: 1px solid var(--sp-line); }
.sp-sum .line-top { padding-top: 14px; border-top: 1px solid var(--sp-line); }
.sp-sum .ton { font-size: 24px; font-weight: 900; color: #4ade80; }
.sp-sum .ton.is-under { color: var(--sp-orange); }
.sp-sum .usd { font-size: 20px; color: #60a5fa; }
.sp-sum .jpy { font-size: 26px; font-weight: 900; color: var(--sp-orange); }
.sp-sum__note { font-size: 12px; color: #94a3b8; border-top: 1px solid #334155; padding-top: 12px; margin-bottom: 20px; line-height: 1.7; }
.sp-sum__note strong { color: #cbd5e1; }
.sp-sum__alert { background: rgba(69, 10, 10, .5); border: 1px solid #7f1d1d; color: #fecaca; border-radius: 12px; padding: 14px 16px; font-size: 12px; line-height: 1.7; margin-bottom: 20px; }
.sp-sum__alert strong { display: block; font-size: 14px; margin-bottom: 4px; color: #fca5a5; }
.sp-sum__empty { text-align: center; padding: 24px 8px; font-size: 14px; color: #64748b; border: 1px dashed var(--sp-line); border-radius: 12px; }
.sp-sum__actions { display: grid; gap: 10px; }
.sp-sum__actions .sp-btn--orange { padding: 18px; border-radius: 12px; }
.sp-sim__mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--sp-steel); border-top: 1px solid #334155; box-shadow: 0 -10px 25px rgba(0, 0, 0, .3); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); color: #fff; }
@media (min-width: 768px) { .sp-sim__mobile { display: none !important; } }
.sp-sim__mrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sp-sim__mrow .t { font-size: 12px; font-weight: 700; display: flex; align-items: center; }
.sp-sim__mrow .t .sp-calc { width: 16px; height: 16px; }
.sp-sim__mrow .v { text-align: right; line-height: 1.2; font-size: 12px; }
.sp-sim__mrow .v small { display: block; color: #94a3b8; font-size: 11px; }
.sp-sim__mrow .v b { font-family: var(--sp-mono); font-size: 14px; color: #4ade80; }
.sp-sim__mrow .v b.jpy { color: var(--sp-orange); }
.sp-sim__malert { background: rgba(69, 10, 10, .6); border: 1px solid #991b1b; border-radius: 8px; padding: 6px 10px; margin-bottom: 8px; font-size: 12px; color: #fca5a5; }
.sp-sim__mbtns { display: flex; gap: 8px; align-items: center; }
.sp-sim__mbtns .sp-btn--orange { flex: 1; padding: 10px; font-size: 12px; }
.sp-sim__mbtns .sp-btn--ghost { padding: 10px 12px; font-size: 12px; }
.sp-sim__mhint { flex: 1; text-align: center; font-size: 12px; color: #64748b; }
body.sp-sim-bar .sp-line { display: none; }

/* Company */
.sp-company__bg { position: absolute !important; inset: 0; margin: 0 !important; opacity: .1; z-index: 0; }
.sp-company__bg img { width: 100%; height: 100%; object-fit: cover; }
.sp-company { border-top: 1px solid var(--sp-line); }
.sp-company__cols { gap: 48px !important; align-items: flex-start !important; }
.sp-panel { background: rgba(2, 6, 23, .6); backdrop-filter: blur(6px); border: 1px solid var(--sp-line); border-radius: 18px; padding: 24px; }
@media (min-width: 640px) { .sp-panel { padding: 32px; } }
.sp-company h3 { font-size: 20px; border-bottom: 1px solid var(--sp-line); padding-bottom: 12px; margin-bottom: 24px; display: flex; align-items: center; color: #fff; }
.sp-company-table { margin: 0; }
.sp-company-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sp-company-table td { border: 0; border-bottom: 1px solid var(--sp-line); padding: 16px 0; vertical-align: top; color: #e2e8f0; line-height: 1.8; }
.sp-company-table tr:last-child td { border-bottom: 0; }
.sp-company-table td:first-child { width: 33%; color: #94a3b8; font-weight: 500; padding-right: 16px; }
.sp-office { background: rgba(2, 6, 23, .4); border: 1px solid rgba(30, 41, 59, .8); border-radius: 12px; padding: 20px; margin-bottom: 16px !important; transition: border-color .3s; }
.sp-office:hover { border-color: rgba(59, 130, 246, .5); }
.sp-office h4 { font-size: 16px; margin-bottom: 6px; color: #fff; }
.sp-office__role { display: inline-block; font-size: 12px; color: #cbd5e1; border: 1px solid #334155; border-radius: 6px; padding: 2px 8px; margin-bottom: 8px !important; }
.sp-office__addr { font-size: 12px; color: #cbd5e1; margin: 0 !important; padding-left: 20px; position: relative; }
.sp-office__addr::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; background: #64748b; -webkit-mask: var(--i-pin) center/contain no-repeat; mask: var(--i-pin) center/contain no-repeat; }

/* Contact form */
.sp-form { background: var(--sp-bg); border: 1px solid var(--sp-border); border-radius: 18px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(15, 23, 42, .08); display: grid; gap: 24px; }
@media (min-width: 640px) { .sp-form { padding: 40px; } }
.sp-form__grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .sp-form__grid { grid-template-columns: 1fr 1fr; } }
.sp-form label { display: block; font-size: 14px; font-weight: 700; color: #334155; }
.sp-form label em { color: #ef4444; font-style: normal; }
.sp-form input[type=text], .sp-form input[type=email], .sp-form input[type=tel], .sp-form textarea { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; font: 16px/1.6 var(--sp-sans); border: 1px solid var(--sp-border); border-radius: 6px; background: #fff; color: var(--sp-text); }
.sp-form input:focus, .sp-form textarea:focus { outline: 2px solid var(--sp-blue); outline-offset: 0; border-color: var(--sp-blue); }
.sp-form__privacy { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 16px; font-size: 12px; color: #9a3412; line-height: 1.8; }
.sp-form__privacy a { color: #9a3412; }
.sp-check { margin-top: 10px; font-size: 13px !important; color: #7c2d12 !important; display: flex !important; align-items: center; gap: 8px; cursor: pointer; }
.sp-check input { width: 18px; height: 18px; accent-color: var(--sp-orange); }
.sp-form__submit { text-align: center; padding-top: 8px; }
@media (max-width: 639px) { .sp-form__submit .sp-btn { width: 100%; padding: 18px; } }
.sp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sp-form-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 8px; padding: 12px 16px; font-size: 14px; }
.sp-form-done { background: rgba(240, 253, 244, .6); border: 1px solid #bbf7d0; border-radius: 18px; padding: 40px 24px; text-align: center; }
.sp-form-done__icon { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #dcfce7; color: var(--sp-green); font-size: 32px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sp-form-done h3 { font-size: 24px; color: var(--sp-steel); }
.sp-form-done p { color: #475569; font-size: 14px; max-width: 28rem; margin: 0 auto 24px; }

/* Footer */
.sp-footer { background: var(--sp-steel-3); color: #94a3b8; border-top: 1px solid #0f172a; padding: 48px 0; }
.sp-footer__grid { display: grid; gap: 32px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid #0f172a; }
@media (min-width: 768px) { .sp-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.sp-footer__brand { display: block; color: #fff; font: 700 18px/1.4 var(--sp-serif); letter-spacing: .05em; margin-bottom: 16px; }
.sp-footer__about p { font-size: 12px; line-height: 1.9; max-width: 24rem; }
.sp-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.sp-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12px; }
.sp-footer__links a { color: #94a3b8; text-decoration: none; transition: color .15s; }
.sp-footer__links a:hover { color: #fff; }
.sp-footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; text-align: center; }
.sp-footer__bottom p { margin: 0; }
.sp-footer__bottom .dim { color: #475569; }
@media (min-width: 640px) { .sp-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* LINE floating card */
.sp-line { position: fixed; right: 16px; bottom: 24px; z-index: 65; width: 288px; max-width: calc(100vw - 32px); border-radius: 12px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35); transition: opacity .25s, transform .25s; animation: spUp .3s ease; }
.sp-line.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
@keyframes spUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sp-line__head { background: #06C755; padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.sp-line__icon { width: 32px; height: 32px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sp-line__icon svg { width: 20px; height: 20px; }
.sp-line__ttl { flex: 1; line-height: 1.3; }
.sp-line__ttl b { display: block; color: #fff; font-size: 12px; }
.sp-line__ttl small { color: #dcfce7; font-size: 12px; }
.sp-line__close { width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: #bbf7d0; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
.sp-line__close:hover { background: #15803d; color: #fff; }
.sp-line__body { background: #fff; padding: 16px; }
.sp-line__body p { color: #475569; font-size: 12px; line-height: 1.7; margin-bottom: 12px; }
.sp-line__body a { display: block; text-align: center; background: #06C755; color: #fff; font-size: 14px; font-weight: 700; padding: 10px; border-radius: 8px; text-decoration: none; }
.sp-line__body a:hover { background: #05a847; }

/* Generic pages */
.sp-page { padding: 64px 0; }
.sp-page__container { max-width: 880px; }
.sp-page__card { background: #fff; border: 1px solid var(--sp-border); padding: 32px 20px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); margin-bottom: 24px; }
@media (min-width: 640px) { .sp-page__card { padding: 48px; } }
.sp-page__head { border-bottom: 1px solid var(--sp-border); padding-bottom: 24px; margin-bottom: 32px; }
.sp-page__head h1 { font-size: clamp(24px, 3.5vw, 30px); font-weight: 900; color: #111827; margin: 0; }
.sp-page__head h2 { font-size: 22px; margin: 0; }
.sp-page__head h2 a { color: var(--sp-steel); text-decoration: none; }
.sp-page__back { text-align: center; }
.sp-archive-title { font-size: 28px; margin-bottom: 24px; }
.sp-date { color: var(--sp-muted); font-size: 13px; margin: 8px 0 0; }
.sp-content { font-size: 15px; color: #374151; line-height: 1.9; }
.sp-content h2 { font-size: 18px; color: #111827; margin: 2em 0 .6em; padding-left: 12px; border-left: 4px solid var(--sp-orange); }
.sp-content > :first-child { margin-top: 0; }
.sp-legal-table { margin: 0 0 32px; }
.sp-legal-table table { width: 100%; border-collapse: collapse; border: 1px solid var(--sp-border); font-size: 14px; }
.sp-legal-table td { border: 0; border-bottom: 1px solid var(--sp-border); padding: 18px 20px; vertical-align: top; color: #4b5563; }
.sp-legal-table td:first-child { width: 32%; font-weight: 700; color: #111827; background: #f9fafb; }
@media (max-width: 639px) { .sp-legal-table td { display: block; width: 100% !important; } .sp-legal-table td:first-child { border-bottom: 0; padding-bottom: 6px; } }
.sp-signature { margin: 0 0 0 auto; width: fit-content; }
.sp-404 { text-align: center; }

/* Editor tweaks (block editor shows the same look) */
.editor-styles-wrapper .sp-hero__bg, .editor-styles-wrapper .sp-company__bg { pointer-events: none; }
.editor-styles-wrapper .sp-icon { min-height: 48px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
