/* ==========================================================
   SW Main — 現行（Elementor）の見た目を再現
   色: 黒 #000 / シアン #00ACC1（キット84）
   書体: 見出し New York、本文 Noto Sans JP 系
   ========================================================== */
:root {
	--sw-black: #000;
	--sw-cyan: #00ACC1;
	--sw-cyan-dark: #008a9b;
	--sw-gold: #d3b574;
	--sw-white: #fff;
	--sw-gray: #626060;
	--sw-max: 1140px;
	--sw-serif: "New York", "Times New Roman", "Yu Mincho", serif;
	--sw-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	--sw-header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--sw-sans);
	font-size: 16px;
	line-height: 1.8;
	color: var(--sw-black);
	background: var(--sw-white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--sw-cyan); }
h1, h2, h3, h4, h5, h6 { font-family: var(--sw-serif); font-weight: 600; line-height: 1.3; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
strong { font-weight: inherit; }

.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:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
	padding: 8px 16px; background: var(--sw-white); color: var(--sw-black); z-index: 1000;
}
.sw-container { width: 100%; max-width: var(--sw-max); margin: 0 auto; padding: 0 20px; }
.sw-icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: middle; }

/* ---------- ボタン ---------- */
.sw-btn, .button, .wp-block-button__link {
	display: inline-block; padding: 9px 40px; border: 3px solid var(--sw-cyan); border-radius: 50px; line-height: 1.5;
	background: var(--sw-black); color: var(--sw-white); font-family: var(--sw-serif); font-weight: 600;
	text-decoration: none; letter-spacing: .05em; transition: background .3s, border-color .3s, color .3s; cursor: pointer;
}
.sw-btn:hover, .button:hover, .wp-block-button__link:hover { background: var(--sw-cyan); color: var(--sw-white); }
.sw-btn--small { padding: 6px 18px; font-size: 14px; }
.sw-btn--light { border-color: var(--sw-white); }
.sw-btn--swap { position: relative; font-family: var(--sw-sans); font-size: 16px; padding-top: 8px; padding-bottom: 8px; overflow: hidden; }
.sw-btn--swap .sw-btn__hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: Roboto, var(--sw-sans); font-size: 15px; opacity: 0; transform: translateY(100%); transition: .3s; }
.sw-btn--swap .sw-btn__normal { display: inline-block; transition: .3s; }
.sw-btn--swap:hover .sw-btn__normal, .sw-btn--swap:focus .sw-btn__normal { opacity: 0; transform: translateY(-100%); }
.sw-btn--swap:hover .sw-btn__hover, .sw-btn--swap:focus .sw-btn__hover { opacity: 1; transform: none; }

/* ---------- ヘッダー（全幅・スクロールで上部に固定） ---------- */
.sw-header { position: sticky; top: -36px; z-index: 100; background: var(--sw-white); }
.admin-bar .sw-header { top: -4px; }
@media (max-width: 782px) { .admin-bar .sw-header { top: 10px; } }
@media (max-width: 600px) { .admin-bar .sw-header { top: -36px; } }
.sw-header .sw-container { max-width: none; padding: 0 40px 0 64px; }
.sw-topbar__inner { height: 36px; min-height: 0; }
.sw-header.is-scrolled .sw-mainbar { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
@media (max-width: 1024px) { .sw-header .sw-container { padding: 0 16px 0 24px; } }
@media (max-width: 767px) { .sw-header .sw-container { padding: 0 8px 0 16px; } }
.sw-topbar { background: var(--sw-black); color: var(--sw-white); }
.sw-topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.sw-topbar__tagline { margin: 0; font-family: Arial, sans-serif; font-size: 13px; font-weight: 500; }
.sw-topbar__tools { display: flex; align-items: center; gap: 14px; }
.sw-search-toggle { background: none; border: 0; color: var(--sw-white); cursor: pointer; font-size: 16px; padding: 4px; }
.sw-search-toggle:hover, .sw-search-toggle:focus { color: var(--sw-gold); }
.sw-social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; font-size: 14px; }

.sw-mainbar { background: var(--sw-white); border-bottom: 1px solid #eee; }
.sw-mainbar__inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 64px; gap: 24px; }
.sw-header .sw-mainbar .sw-container { padding-right: 0; }
.sw-logo { display: flex; align-items: center; }
.sw-logo img { display: block; width: 160px; height: auto; }
.sw-nav { display: flex; align-items: stretch; gap: 8px; }
.sw-nav .sw-menu { align-self: center; }
.sw-menu { list-style: none; margin: 0; padding: 0; }
.sw-nav .sw-menu { display: flex; align-items: center; }
.sw-nav .sw-menu > li { position: relative; }
.sw-nav .sw-menu > li > a {
	display: block; padding: 20px 14px; color: var(--sw-black); text-decoration: none;
	font-family: var(--sw-serif); font-size: 15px; font-weight: 500; position: relative;
}
.sw-nav .sw-menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 2px;
	background: var(--sw-cyan); transform: scaleX(0); transition: transform .3s;
}
.sw-nav .sw-menu > li:hover > a::after, .sw-nav .sw-menu > li > a:focus::after,
.sw-nav .sw-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.sw-nav .sw-menu > li.current-menu-item > a { color: var(--sw-cyan); }
.sw-nav .sw-menu > li.menu-item-has-children > a { padding-right: 26px; }
.sw-nav .sw-menu > li.menu-item-has-children > a::before { content: ""; position: absolute; right: 12px; top: 50%; margin-top: -2px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.sw-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px 0;
	background: var(--sw-white); box-shadow: 0 8px 24px rgba(0,0,0,.12); opacity: 0; visibility: hidden;
	transform: translateY(6px); transition: .2s; z-index: 50;
}
.sw-nav li:hover > .sub-menu, .sw-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sw-nav .sub-menu a { display: block; padding: 8px 18px; color: var(--sw-black); text-decoration: none; font-size: 14px; }
.sw-nav .sub-menu a:hover { color: var(--sw-cyan); }
.sw-contact-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 160px; margin-left: 16px; padding: 0 20px 0 24px;
	background: var(--sw-cyan); color: var(--sw-white); text-decoration: none;
	font-family: var(--sw-serif); font-weight: 500; font-size: 16px;
}
.sw-contact-btn:hover { background: var(--sw-black); }
.sw-menu-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--sw-black); padding: 0 16px; }

/* ドロワー（スマホ） */
.sw-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.4); }
.sw-drawer[hidden] { display: none; }
.sw-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); overflow-y: auto;
	background: var(--sw-black); color: var(--sw-white); padding: 64px 24px 32px;
}
.sw-drawer__close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: var(--sw-white); font-size: 24px; cursor: pointer; }
.sw-menu--mobile a { display: block; padding: 12px 0; color: var(--sw-white); text-decoration: none; font-family: var(--sw-serif); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.12); }
.sw-menu--mobile .sub-menu { list-style: none; padding-left: 16px; margin: 0; }
.sw-menu--mobile .sub-menu a { font-family: var(--sw-sans); font-weight: 400; font-size: 14px; }
.sw-menu--mobile-account { margin-top: 24px; }

/* 検索（全画面） */
.sw-search-overlay {
	position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
	background: rgba(22,22,63,.9);
}
.sw-search-overlay[hidden] { display: none; }
.sw-search-overlay__form { width: min(90vw, 800px); }
.sw-search-overlay input[type="search"] {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.5);
	color: var(--sw-white); font-family: Montserrat, sans-serif; font-size: 40px; font-weight: 300; padding: 8px 0; outline: none;
}
.sw-search-overlay__close { position: absolute; top: 24px; right: 24px; background: none; border: 0; color: var(--sw-white); font-size: 28px; cursor: pointer; }

/* スマホ下部ナビ（1024px 以下・320px スクロールで表示） */
.sw-bottom-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none;
	justify-content: space-around; background: var(--sw-black); padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
	opacity: 0; transform: translateY(100%); transition: opacity .25s, transform .25s;
}
.sw-bottom-nav.is-visible { opacity: 1; transform: none; }
.sw-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--sw-white); text-decoration: none; font-size: 11px; }
.sw-bottom-nav a { flex: 0 0 20%; font-weight: 700; font-size: 12px; }
.sw-bottom-nav .sw-icon { width: 32px; height: 32px; fill: var(--sw-white); }
@media (max-width: 767px) { .sw-bottom-nav .sw-icon { width: 24px; height: 24px; } }

/* ---------- 本文 ---------- */
.sw-main { min-height: 40vh; }
.sw-page { padding-top: 48px; padding-bottom: 80px; }
.sw-page--full { padding: 0; }
.sw-page__title { font-size: 32px; margin-bottom: 32px; }
.sw-content > * + * { margin-top: 0; }
:where(.sw-content) :where(p, li, td) a { text-decoration: underline; font-weight: 600; }
:where(.sw-content) h2 { font-size: 24px; margin-top: 2em; }
:where(.sw-content) h3 { font-size: 20px; margin-top: 1.6em; }
.sw-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.sw-content th, .sw-content td { border: 1px solid #ddd; padding: 12px 16px; text-align: left; vertical-align: top; }
.sw-content th { background: #f7f7f7; width: 30%; font-weight: 600; }

.sw-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; font-size: 13px; color: var(--sw-gray); }
.sw-breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.sw-breadcrumb a { color: var(--sw-gray); text-decoration: none; }
.sw-breadcrumb a:hover { color: var(--sw-cyan); }

/* 英語見出し＋日本語の小見出し（旧 with-jp-title） */
.sw-section-title { font-family: var(--sw-serif); font-weight: 800; font-size: 46px; line-height: .9; letter-spacing: 0; }
.sw-section-title span { font-size: 50%; font-weight: 500; }
.sw-section-title span::before { content: " - "; margin-left: 6px; }

/* ---------- トップページ ---------- */
.sw-hero {
	position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
	min-height: calc(100svh - var(--sw-header-h)); padding: 70px 20px 74px; color: var(--sw-white);
	background: #000 var(--sw-hero-bg, none) center / cover no-repeat;
}
.sw-hero::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .1; }
.sw-hero > * { position: relative; }
.sw-hero__eyebrow { font-family: Montserrat, sans-serif; font-size: 24px; font-weight: 500; margin-bottom: 12px; }
.sw-hero__title { font-family: Archivo, sans-serif; font-size: 57px; font-weight: 800; line-height: 1; color: var(--sw-white); margin-bottom: 28px; }
.sw-hero__lead { font-size: 20px; font-weight: 500; line-height: 1.7; text-shadow: 0 0 10px rgba(0,0,0,.95); margin-bottom: 32px; }

.sw-band { background: var(--sw-cyan); color: var(--sw-black); padding: 56px 20px; text-align: center; }
/* HOME の WHAT WE DO：下の余白なしで各ブロックに続ける（本番の Elementor 設定） */
.sw-content--home .sw-band:not(.sw-band--cta) { padding: 80px 64px 0; }
@media (max-width: 1024px) { .sw-content--home .sw-band:not(.sw-band--cta) { padding: 48px 32px 0; } }
@media (max-width: 767px) { .sw-content--home .sw-band:not(.sw-band--cta) { padding: 48px 16px 16px; } }
.sw-band .sw-section-title { margin: 0; }
.sw-band--cta { padding: 64px 20px; }
.sw-band--cta h2 { font-family: var(--sw-sans); font-weight: 700; font-size: 32px; margin: 0; }

.sw-feature { padding: 48px 64px; }
.sw-feature__inner { max-width: var(--sw-max); margin: 0 auto; display: flex; align-items: center; }
.sw-feature__text { flex: 1; padding: 32px 56px 32px 0; }
.sw-feature__media { width: 428px; max-width: 39%; flex: none; }
.sw-feature--reverse .sw-feature__inner { flex-direction: row-reverse; }
.sw-feature--reverse .sw-feature__text { padding: 32px 0 32px 56px; }
.sw-feature__media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50px; }
.sw-feature__label { font-family: "Rock Salt", cursive; font-size: 2.8em; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.sw-feature__title { font-family: var(--sw-sans); font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 16px; }
.sw-feature__body { text-align: justify; line-height: 1.8; }
.sw-feature__text > p:last-child { margin: 16px 0 32px; }
.sw-feature--cyan { background: var(--sw-cyan); }
.sw-hero { background-attachment: fixed; }
.sw-home-section--tint { background: #ECF8FA; }
@media (hover: none) { .sw-hero { background-attachment: scroll; } }

.sw-home-section { padding: 80px 0; }
.sw-home-section .sw-section-title { margin-bottom: 40px; }

/* ---------- カード一覧（製品・ツール） ---------- */
.sw-grid { display: grid; gap: 32px; }
.sw-grid--cols-1 { grid-template-columns: 1fr; }
.sw-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.sw-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.sw-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.sw-card { display: flex; flex-direction: column; background: var(--sw-white); }
.sw-card__thumb { position: relative; display: block; overflow: hidden; }
.sw-card__thumb img { display: block; width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; transition: transform .4s; }
.sw-card--product .sw-card__thumb img { aspect-ratio: 3 / 2; height: auto; object-fit: contain; }
.sw-card:hover .sw-card__thumb img { transform: scale(1.04); }
.sw-card__badge { position: absolute; top: 10px; left: 10px; padding: 2px 10px; background: var(--sw-black); color: var(--sw-white); font-size: 12px; }
.sw-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 0 0; }
.sw-card__sub { margin: 0 0 4px; font-size: 13px; color: var(--sw-gray); }
.sw-card__title { font-size: 18px; margin: 0 0 8px; }
.sw-card__title a { color: var(--sw-black); text-decoration: none; }
.sw-card__title a:hover { color: var(--sw-cyan); }
.sw-card__ver { margin: 0 0 8px; font-size: 13px; color: var(--sw-gray); }
.sw-card__desc { font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sw-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.sw-card__foot .button { padding: 8px 20px; font-size: 14px; }
.sw-free-price { color: var(--sw-cyan) !important; font-weight: 700; }
.sw-tax { font-size: 12px; font-weight: 400; margin-left: 2px; }
.sw-grid-empty { color: var(--sw-gray); }

/* アーカイブ */
.sw-archive { padding-top: 48px; padding-bottom: 80px; }
.sw-archive__head { margin-bottom: 40px; }
.sw-archive__title { font-size: 40px; font-weight: 800; }
.sw-archive__title span { font-family: var(--sw-sans); font-size: 45%; font-weight: 500; }
.sw-archive__search { display: flex; max-width: 420px; border: 1px solid #ccc; }
.sw-archive__search input { flex: 1; border: 0; padding: 10px 14px; font-size: 15px; }
.sw-archive__search button { border: 0; background: var(--sw-cyan); color: var(--sw-white); padding: 0 16px; cursor: pointer; }

/* 製品個別 */
.sw-product { padding-top: 32px; padding-bottom: 80px; }
.sw-product__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.sw-product__image { width: 100%; height: auto; display: block; }
.sw-product__sub { color: var(--sw-gray); margin-bottom: 4px; }
.sw-product__title { font-size: 32px; }
.sw-product__ver { color: var(--sw-gray); font-size: 14px; }
.sw-product__price { font-size: 24px; font-weight: 700; }
.sw-product__section { margin-top: 64px; }
.sw-product__heading { font-size: 24px; border-bottom: 2px solid var(--sw-cyan); padding-bottom: 8px; }
.sw-free-download-wrap { margin-top: 16px; }
.sw-free-note { display: block; margin-top: 6px; opacity: .8; font-size: 13px; }

/* マイページ */
.sw-account { padding-bottom: 96px; }
.sw-account__hero { background: var(--sw-black); color: var(--sw-white); padding: 56px 0 48px; margin-bottom: 48px; }
.sw-account__eyebrow { font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .24em; color: var(--sw-cyan); margin: 0 0 8px; }
.sw-account__title { font-family: var(--sw-serif); font-size: 34px; font-weight: 400; margin: 0; }
.sw-account__mail { margin: 6px 0 0; font-size: 14px; opacity: .65; }
.sw-account__body { min-width: 0; }
.sw-account__layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; align-items: start; }
.sw-account__nav { position: sticky; top: calc(var(--sw-header-h) - 20px); }
.sw-account__nav ul { list-style: none; margin: 0; padding: 0; }
.sw-account__nav a { display: block; padding: 11px 14px; border-left: 2px solid #e6e6e6; color: var(--sw-black); text-decoration: none; font-size: 15px; transition: color .2s, border-color .2s; }
.sw-account__nav a:hover { color: var(--sw-cyan); }
.sw-account__nav .is-active a { border-left-color: var(--sw-cyan); color: var(--sw-cyan); font-weight: 600; }
.sw-account__nav .sw-account__logout { margin-top: 16px; }
.sw-account__nav .sw-account__logout a { color: var(--sw-gray); font-size: 14px; border-left-color: transparent; }
.sw-account__heading { font-family: var(--sw-serif); font-size: 24px; font-weight: 400; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 1px solid #e6e6e6; }
.sw-account__section + .sw-account__section { margin-top: 56px; }
.sw-account__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.sw-account-card { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 22px 22px 20px; border: 1px solid #e3e3e3; color: var(--sw-black); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.sw-account-card:hover { border-color: var(--sw-cyan); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.sw-account-card__icon { grid-row: 1 / span 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(0,172,193,.1); color: var(--sw-cyan); border-radius: 50%; }
.sw-account-card__icon .sw-icon { width: 18px; height: 18px; fill: currentColor; }
.sw-account-card__title { font-weight: 600; font-size: 16px; }
.sw-account-card__text { font-size: 13px; color: var(--sw-gray); margin-top: 2px; }
.sw-account__empty { padding: 40px 24px; text-align: center; background: #f7f7f7; }
.sw-account__empty p { margin: 0 0 12px; }
.sw-account__empty p:last-child { margin: 0; }
.sw-account__portal { margin-top: 28px; }
.sw-account__portal small { color: var(--sw-gray); }
.sw-account__danger .sw-account__heading { color: #b3261e; }

.sw-downloads { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid #eee; }
.sw-downloads__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px; border-bottom: 1px solid #eee; }
.sw-downloads__title { color: var(--sw-black); font-weight: 600; text-decoration: none; }
.sw-downloads__title:hover { color: var(--sw-cyan); }
.sw-downloads__meta { display: block; font-size: 13px; color: var(--sw-gray); }

.sw-licenses { display: grid; gap: 16px; }
.sw-license { border: 1px solid #e3e3e3; padding: 22px 24px; }
.sw-license__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sw-license__title { font-size: 18px; margin: 0; }
.sw-license__title a { color: var(--sw-black); text-decoration: none; }
.sw-license__key { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.sw-license__key code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .04em; background: #f4f4f4; padding: 6px 10px; }
.sw-license__meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; font-size: 14px; }
.sw-license__meta dt { color: var(--sw-gray); font-size: 12px; }
.sw-license__meta dd { margin: 0; }
.sw-license__sites { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; }
.sw-license__sites li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px dashed #e6e6e6; }
.sw-license__sites small { color: var(--sw-gray); }
.sw-license__sites form { margin: 0; }
.sw-license__actions { margin: 16px 0 0; }
.sw-link-btn { background: none; border: 0; padding: 0; color: var(--sw-cyan); cursor: pointer; font-size: 14px; text-decoration: underline; }
.sw-badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #eee; color: var(--sw-gray); white-space: nowrap; }
.sw-badge--active { background: rgba(0,172,193,.12); color: var(--sw-cyan-dark); }
.sw-badge--expired, .sw-badge--canceled { background: #f3efe4; color: #8a6d2f; }
.sw-badge--revoked { background: #fbe9e7; color: #b3261e; }
.sw-btn--ghost { background: transparent; color: var(--sw-black); }
.sw-btn--danger { border-color: #b3261e; color: #b3261e; background: transparent; }
.sw-btn--danger:hover { background: #b3261e; color: var(--sw-white); }
.sw-btn--disabled { opacity: .45; pointer-events: none; }
.sw-btn--buy { font-size: 17px; padding: 12px 48px; }
.sw-buy { margin-top: 20px; }
.sw-buy__notes { margin: 12px 0 0; padding-left: 1.2em; font-size: 13px; color: var(--sw-gray); }

.sw-table-wrap { overflow-x: auto; }
.sw-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sw-table th, .sw-table td { border-bottom: 1px solid #eee; padding: 10px 8px; text-align: left; white-space: nowrap; }
.sw-table th { font-weight: 600; color: var(--sw-gray); font-size: 13px; }
.sw-table .sw-num { text-align: right; }
.sw-form p { margin: 0 0 16px; }
.sw-form label { display: block; font-size: 14px; margin-bottom: 6px; }
.sw-form .sw-check { display: flex; align-items: center; gap: 8px; }
.sw-form input[type="text"], .sw-form input[type="email"], .sw-form input[type="password"] { width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 0; font-size: 15px; background: #fff; }
.sw-form input:focus { outline: 2px solid rgba(0,172,193,.35); border-color: var(--sw-cyan); }
.sw-form input:disabled { background: #f4f4f4; color: var(--sw-gray); }
.sw-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 204px)); gap: 12px; }
.sw-form__note { font-size: 13px; color: var(--sw-gray); }
.sw-notice { padding: 10px 14px; margin: 0 0 20px; background: rgba(0,172,193,.08); border-left: 3px solid var(--sw-cyan); }
.sw-notice--error { background: #fdecea; border-left-color: #b3261e; }

/* ツールのログイン案内（プラグインが無いときの簡易版） */
.sw-tool-login-cta { max-width: 800px; margin: 40px auto; padding: 40px; text-align: center; border: 1px solid rgba(0,172,193,.3); border-radius: 20px; }

/* ---------- フッター ---------- */
.sw-footer { background: var(--sw-cyan); color: var(--sw-black); }
.sw-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.sw-footer__brand img { width: 200px; height: auto; }
.sw-footer__title { font-family: var(--sw-serif); font-size: 18px; font-weight: 600; text-transform: uppercase; margin-bottom: 16px; }
.sw-footer__links { list-style: none; margin: 0; padding: 0; }
.sw-footer__links a { color: var(--sw-black); text-decoration: none; font-size: 15px; line-height: 2; }
.sw-footer__links a:hover { color: var(--sw-gray); }
.sw-footer__links .sw-menu, .sw-footer .sw-menu { display: block; }
.sw-footer__text { font-family: Roboto, sans-serif; font-size: 16px; font-weight: 300; line-height: 1.6; }
.sw-copyright { background: var(--sw-black); color: var(--sw-white); }
.sw-copyright p { margin: 0; min-height: 40px; display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* ---------- 改行ユーティリティ（旧 Typography.css から） ---------- */
@media (min-width: 1025px) { .pc_br::before, .pc-sp_br::before { content: "\A"; white-space: pre; } }
@media (max-width: 1024px) { .tb_br::before, .tb-sp_br::before { content: "\A"; white-space: pre; } }
@media (min-width: 768px) { .pc-tb_br::before { content: "\A"; white-space: pre; } }
@media (max-width: 767px) {
	.sp_br::before, .pc-sp_br::before { content: "\A"; white-space: pre; }
	.tb_br::before { content: none; white-space: normal; }
}
.t50 { font-size: 50%; } .t80 { font-size: 80%; } .t90 { font-size: 90%; } .t120 { font-size: 120%; }
.huto { font-weight: bold; } .red { color: #e7343f; }

/* ---------- タブレット ---------- */
@media (max-width: 1024px) {
	.sw-nav { display: none; }
	.sw-menu-toggle { display: block; }
	.sw-bottom-nav { display: flex; }
	.sw-hero__title { font-size: 44px; }
	.sw-grid--cols-3, .sw-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
	.sw-feature { padding: 32px; }
	.sw-feature__text, .sw-feature__media { width: 50%; max-width: none; }
	.sw-feature__text { padding: 24px 32px 24px 0; }
	.sw-feature--reverse .sw-feature__text { padding: 24px 0 24px 32px; }
	.sw-footer__inner { grid-template-columns: 1fr 1fr; }
	.sw-footer__text, .sw-footer__links a { font-size: 14px; }
	.sw-copyright p { font-size: 14px; }
	body { padding-bottom: 72px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
	.sw-mainbar__inner { min-height: 54px; }
	.sw-logo img { width: 140px; }
	.sw-menu-toggle { line-height: 1; }
	.sw-topbar__social, .sw-social, .sw-search-toggle { display: none; }
	.sw-hero__eyebrow { font-size: 18px; }
	.sw-hero__title { font-size: 34px; }
	.sw-hero__lead { font-size: 16px; }
	.sw-section-title { font-size: 34px; }
	.sw-feature { padding: 4px 16px 32px; }
	.sw-feature__inner, .sw-feature--reverse .sw-feature__inner { flex-direction: column; }
	.sw-feature__text, .sw-feature--reverse .sw-feature__text { width: 100%; padding: 24px 0 0; }
	.sw-feature__media { width: 90%; max-width: none; order: -1; margin: 0 auto; }
	.sw-feature__text > p:last-child { text-align: center; }
	.sw-feature__label { font-size: 2em; }
	.sw-grid--cols-2, .sw-grid--cols-3, .sw-grid--cols-4 { grid-template-columns: 1fr; }
	.sw-product__top { grid-template-columns: 1fr; gap: 24px; }
	.sw-account__hero { padding: 40px 0 32px; margin-bottom: 0; }
	.sw-account__title { font-size: 26px; }
	.sw-account__layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sw-account__nav { position: static; margin: 0 -20px; border-bottom: 1px solid #e6e6e6; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.sw-account__nav ul { display: flex; padding: 0 12px; }
	.sw-account__nav a { border-left: 0; border-bottom: 2px solid transparent; padding: 14px 10px; white-space: nowrap; font-size: 14px; }
	.sw-account__nav .is-active a { border-bottom-color: var(--sw-cyan); }
	.sw-account__nav .sw-account__logout { margin: 0 0 0 auto; }
	.sw-account__cards { grid-template-columns: 1fr; }
	.sw-form__row { grid-template-columns: 1fr 1fr; }
	.sw-license { padding: 18px 16px; }
	.sw-downloads__item { flex-direction: column; align-items: flex-start; }
	.sw-footer__inner { grid-template-columns: 1fr; padding: 15% 5% 5%; }
	.sw-page__title, .sw-archive__title { font-size: 26px; }
	.sw-search-overlay input[type="search"] { font-size: 26px; }
}

/* ---------- About ---------- */
.sw-section-title--light { color: var(--sw-white); }
.sw-section-title--sm { font-size: 32px; }
.sw-about-hero, .sw-about-beyond {
	position: relative; background-color: #050B10; background-position: center; background-size: cover; background-attachment: fixed;
	color: var(--sw-white); padding: 96px 0;
}
.sw-about-hero::before, .sw-about-beyond::before { content: ""; position: absolute; inset: 0; background: rgba(5,11,16,.55); }
.sw-about-hero > *, .sw-about-beyond > * { position: relative; }
.sw-about-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.sw-about-hero__box { background: rgba(5,11,16,.85); padding: 40px; }
.sw-about-beyond { min-height: 640px; display: flex; align-items: center; }
.sw-about-work img { display: block; width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; margin-bottom: 16px; }
.sw-about-work h3 { font-family: var(--sw-sans); font-size: 20px; font-weight: 600; }
@media (hover: none) { .sw-about-hero, .sw-about-beyond { background-attachment: scroll; } }
@media (max-width: 767px) {
	.sw-about-hero__grid { grid-template-columns: 1fr; }
	.sw-about-hero__box { padding: 24px; }
	.sw-about-beyond { min-height: 480px; }
}

/* ---------- 入場アニメーション（旧 Elementor の Entrance Animation、速さ fast＝0.75秒） ---------- */
.sw-js [data-sw-anim] { opacity: 0; }
.sw-js [data-sw-anim].is-animated { animation-duration: .75s; animation-fill-mode: both; animation-timing-function: ease-out; }
.sw-js [data-sw-anim="fadeInUp"].is-animated { animation-name: swFadeInUp; }
.sw-js [data-sw-anim="fadeInLeft"].is-animated { animation-name: swFadeInLeft; }
.sw-js [data-sw-anim="fadeInRight"].is-animated { animation-name: swFadeInRight; }
.sw-js [data-sw-anim="slideInUp"].is-animated { animation-name: swSlideInUp; }
.sw-js [data-sw-anim="lightSpeedIn"].is-animated { animation-name: swLightSpeedIn; }
@keyframes swFadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes swFadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes swFadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes swSlideInUp { from { opacity: 1; transform: translate3d(0, 100%, 0); visibility: visible; } to { opacity: 1; transform: none; } }
@keyframes swLightSpeedIn {
	from { opacity: 0; transform: translate3d(100%, 0, 0) skewX(-30deg); }
	60% { opacity: 1; transform: skewX(20deg); }
	80% { transform: skewX(-5deg); }
	to { opacity: 1; transform: none; }
}
.sw-hero, .sw-band, .sw-feature, .sw-home-section { overflow-x: clip; }
@media (max-width: 767px) { .sw-js .sw-feature [data-sw-anim] { opacity: 1; animation: none !important; } }
@media (prefers-reduced-motion: reduce) { .sw-js [data-sw-anim] { opacity: 1 !important; animation: none !important; } }

/* ---------- タブレット（768〜1024px）：本番の Elementor 設定に合わせる ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
	.sw-hero { min-height: 420px; padding: 24px 64px; gap: 16px; }
	.sw-hero__eyebrow { font-size: 24px; margin-bottom: 0; }
	.sw-hero__title { font-size: 40px; margin-bottom: 0; }
	.sw-hero__lead { line-height: 1.5; margin-bottom: 0; }
	.sw-hero .sw-btn { font-size: 17px; }
	.sw-mainbar__inner { justify-content: flex-start; }
	.sw-logo { width: calc(50% - 56px); }
	.sw-logo img { width: 200px; }
	.sw-feature { padding: 32px; }
	.sw-feature__inner { align-items: flex-start; }
	.sw-feature__text, .sw-feature--reverse .sw-feature__text { padding-top: 0; padding-bottom: 0; }
	.sw-feature__label { line-height: 1.1; }
	.sw-feature__body { line-height: 1.7; }
	.sw-feature__media { padding-left: 16px; }
	.sw-feature--reverse .sw-feature__media { padding-left: 0; padding-right: 16px; }
}
