@charset "UTF-8";
/*
Template: swell
Theme Name: SWELL CHILD
Theme URI: https://swell-theme.com/
Description: SWELLの子テーマ
Version: 1.2.1
Author: LOOS WEB STUDIO
Author URI: https://loos-web-studio.com/

License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ブランド一覧ページ */
.p-brandList {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.p-brandList__item {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	border: 1px solid var(--color_border);
	transition: transform .2s, box-shadow .2s;
}
.p-brandList__item:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 12px rgba(0,0,0,.1);
	opacity: 1;
}
.p-brandList__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 140px;
	padding: 16px;
	background: #f7f7f7;
	overflow: hidden;
}
.p-brandList__thumb img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	transition: filter .2s;
}
.p-brandList__item:hover .p-brandList__thumb img {
	filter: grayscale(0);
}
.p-brandList__body {
	padding: 16px;
}
.p-brandList__name {
	display: block;
	font-weight: 600;
	font-size: 1.05em;
	margin-bottom: 4px;
}
.p-brandList__desc {
	display: block;
	font-size: .85em;
	color: var(--color_text);
	opacity: .75;
}
@media (max-width: 959px) {
	.p-brandList {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}
@media (max-width: 599px) {
	.p-brandList {
		grid-template-columns: 1fr;
	}
}

/* ブランド縦長ローテーション表示ショートコード */
.p-brandRotate {
	display: flex;
	width: 100%;
	height: 500px;
}
.p-brandRotate__item {
	position: relative;
	flex: 1;
	display: block;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
}
.p-brandRotate__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.p-brandRotate__item:hover .p-brandRotate__img {
	transform: scale(1.05);
	opacity: 1;
}
.p-brandRotate__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 40%);
}
.p-brandRotate__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	z-index: 1;
	text-align: center;
	font-size: 1.1em;
	font-weight: 600;
	letter-spacing: .05em;
}
@media (max-width: 959px) {
	.p-brandRotate {
		height: 380px;
	}
}
@media (max-width: 599px) {
	.p-brandRotate {
		flex-wrap: wrap;
		height: auto;
	}
	.p-brandRotate__item {
		flex: 1 1 50%;
		height: 240px;
	}
}

/* お知らせ一覧ショートコード */
.p-infoList {
	list-style: none;
	margin: 0;
	padding: 0;
}
.p-infoList__item {
	border-bottom: 1px solid var(--color_border);
}
.p-infoList__link {
	display: flex;
	align-items: baseline;
	gap: 1.5em;
	padding: 1em 0.5em;
	color: inherit;
	text-decoration: none;
	transition: opacity .2s;
}
.p-infoList__link:hover {
	opacity: .6;
}
.p-infoList__date {
	flex-shrink: 0;
	font-size: .9em;
	color: var(--color_text);
	opacity: .6;
}
.p-infoList__title {
	flex: 1;
}
@media (max-width: 599px) {
	.p-infoList__link {
		flex-direction: column;
		gap: .25em;
	}
}


/* ============================================================
 * v1.1.0 Lightning 風デザイン（2026-11-02）
 * ============================================================ */
:root {
	--acek-accent: #1f4e8c;
	--acek-accent-light: #e8eef6;
	--acek-text: #333;
	--acek-sub: #666;
	--acek-line: #e5e5e5;
	--acek-gray: #f3f3f3;
	--acek-serif-en: "Cormorant Garamond", serif;
	--acek-serif-ja: "Shippori Mincho B1", serif;
	--acek-sans: "Zen Kaku Gothic New", sans-serif;
}

/* ---------- 全体 ---------- */
body,
#body_wrap {
	font-family: var(--acek-sans);
	color: var(--acek-text);
	letter-spacing: .04em;
}
.post_content h2,
.post_content h3,
.c-pageTitle,
.c-postTitle__ttl {
	font-family: var(--acek-serif-en), var(--acek-serif-ja);
	letter-spacing: .06em;
}

/* ---------- ヘッダー ---------- */
.l-header {
	background: #fff;
	border-bottom: 1px solid var(--acek-line);
	box-shadow: none;
}
.l-header__inner {
	min-height: 72px;
}
/* ロゴ画像が未設定の間は文字ロゴ「ace-K 株式会社エースケー」を表示（ロゴ画像を設定したらこのブロックは削除） */
.c-headLogo.-txt .c-headLogo__link {
	font-size: 0 !important;
	line-height: 1;
	display: flex;
	align-items: baseline;
	gap: 12px;
}
.c-headLogo.-txt .c-headLogo__link::before {
	content: "ace-K";
	font-family: var(--acek-serif-en);
	font-weight: 700;
	font-size: 32px;
	letter-spacing: .04em;
	color: var(--acek-text);
}
.c-headLogo.-txt .c-headLogo__link::after {
	content: "株式会社エースケー";
	font-family: var(--acek-sans);
	font-size: 12px;
	color: var(--acek-sub);
	letter-spacing: .05em;
}
.c-gnav > .menu-item > a {
	position: relative;
	padding: 0 18px;
	color: var(--acek-text);
}
.c-gnav > .menu-item > a .ttl {
	font-family: var(--acek-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .08em;
}
.c-gnav > .menu-item > a .desc,
.c-gnav > .menu-item > a .ttl > span {
	display: none; /* メニュー名の英語表記（「ブランドBrand」の Brand 部分）を非表示 */
}
.acek-fnav a span {
	display: none;
}
/* フッター前ウィジェットに残っている WordPress 標準の「メタ情報」を非表示 */
.w-beforeFooter .widget_meta {
	display: none;
}
.c-gnav > .menu-item > a::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 0;
	height: 2px;
	background: var(--acek-accent);
	transform: scaleX(0);
	transition: transform .25s;
}
.c-gnav > .menu-item > a:hover::after,
.c-gnav > .current-menu-item > a::after {
	transform: scaleX(1);
}

/* ---------- ボタン・見出し（共通部品） ---------- */
.acek-btn {
	display: inline-block;
	border: 1px solid var(--acek-text);
	padding: 10px 32px;
	color: var(--acek-text);
	font-family: var(--acek-serif-en), var(--acek-serif-ja);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .15em;
	text-decoration: none;
	transition: .2s;
}
.acek-btn:hover {
	background: var(--acek-text);
	color: #fff;
	opacity: 1;
}
.acek-btn.-white {
	border-color: #fff;
	color: #fff;
	padding: 14px 40px;
}
.acek-btn.-white:hover {
	background: #fff;
	color: var(--acek-accent);
}
.acek-secTitle {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-top: 3px solid var(--acek-accent);
	padding-top: 16px;
	margin-bottom: 32px;
}
.acek-secTitle h2 {
	font-family: var(--acek-serif-en), var(--acek-serif-ja);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: .06em;
	margin: 0;
}
.acek-secTitle h2 small {
	font-family: var(--acek-serif-en);
	font-style: italic;
	font-size: 18px;
	font-weight: 500;
	color: var(--acek-sub);
	letter-spacing: .1em;
	margin-left: 12px;
}
.acek-secTitle a {
	font-size: 14px;
	color: var(--acek-accent);
	text-decoration: none;
}
.acek-secTitle a:hover {
	text-decoration: underline;
}

/* ---------- トップページ：レイアウト ---------- */
.home #content.l-content {
	max-width: none;
	padding: 0;
	margin: 0;
	display: block;
}
.home #sidebar {
	display: none;
}
.home .acek-front {
	width: 100%;
	max-width: none;
	padding: 0;
}
.acek-section {
	padding: 72px 0;
}
.acek-section.-gray {
	background: var(--acek-gray);
}

/* ---------- メインビジュアル ---------- */
.acek-mv {
	position: relative;
	background: linear-gradient(120deg, #f7f9fc 0%, #eaf0f7 100%);
	overflow: hidden;
}
.acek-mv__slide {
	display: none;
}
.acek-mv__slide.is-active {
	display: block;
	animation: acekFade .8s;
}
@keyframes acekFade {
	from { opacity: 0; }
	to   { opacity: 1; }
}
.acek-mv__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
	min-height: 440px;
}
.acek-mv__label {
	font-family: var(--acek-serif-en);
	font-style: italic;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: .2em;
	color: var(--acek-accent);
	margin: 0 0 8px;
}
.acek-mv__title {
	font-family: var(--acek-serif-en), var(--acek-serif-ja);
	font-size: 44px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: .06em;
	margin: 0 0 16px;
	color: var(--acek-text);
}
.acek-mv__text {
	color: var(--acek-sub);
	margin: 0 0 28px;
}
.acek-mv__img {
	height: 440px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.acek-mv__img img {
	max-height: 400px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 12px 24px rgba(0,0,0,.15));
}
.acek-mv__img.-photo img {
	max-height: 380px;
	filter: none;
	box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.acek-mv__dots {
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.acek-mv__dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 50%;
	border: none;
	background: #c5cfdc;
	cursor: pointer;
}
.acek-mv__dots button.is-active {
	background: var(--acek-accent);
}

/* ---------- 取扱ブランド：縦長パネル ---------- */
.acek-panels {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.acek-panel {
	position: relative;
	display: block;
	aspect-ratio: 9 / 16;
	max-height: 560px;
	width: 100%;
	overflow: hidden;
	background: #111;
	color: #fff;
	text-decoration: none;
}
.acek-panel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s ease, filter .5s;
}
.acek-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 45%);
}
.acek-panel:hover {
	opacity: 1;
}
.acek-panel:hover img {
	transform: scale(1.06);
	filter: brightness(.85);
}
.acek-panel__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 28px;
	z-index: 1;
	text-align: center;
	padding: 0 12px;
}
.acek-panel__label h3 {
	font-family: var(--acek-serif-en);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.2;
	color: #fff;
	margin: 0;
	border: none;
	padding: 0;
	background: none;
}
.acek-panel__label small {
	display: block;
	font-size: 11px;
	letter-spacing: .15em;
	opacity: .85;
	margin-top: 6px;
}
.acek-panel__more {
	display: inline-block;
	font-family: var(--acek-serif-en);
	font-style: italic;
	font-size: 15px;
	letter-spacing: .1em;
	margin-top: 10px;
	opacity: 0;
	transform: translateY(6px);
	transition: .4s;
	border-bottom: 1px solid rgba(255,255,255,.6);
}
.acek-panel:hover .acek-panel__more {
	opacity: 1;
	transform: none;
}
.acek-brandLogos {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
	margin-top: 48px;
}
.acek-brandLogos a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 10px;
	border: 1px solid var(--acek-line);
	background: #fff;
	color: var(--acek-text);
	font-family: var(--acek-serif-en), var(--acek-serif-ja);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .06em;
	text-align: center;
	text-decoration: none;
	transition: .2s;
}
.acek-brandLogos a:hover {
	border-color: var(--acek-accent);
	color: var(--acek-accent);
	opacity: 1;
}

/* ---------- 会社紹介 ---------- */
.acek-about {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 48px;
	align-items: center;
}
.acek-about__img img {
	width: 100%;
}
.acek-about__head {
	background: #e3e3e3;
	padding: 10px 16px;
	font-family: var(--acek-serif-en), var(--acek-serif-ja);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: .06em;
	margin: 0 0 20px;
}
.acek-about p {
	margin: 0 0 16px;
}
.acek-about dl {
	display: grid;
	grid-template-columns: 7em 1fr;
	gap: 6px 12px;
	font-size: 14px;
	margin: 20px 0 24px;
}
.acek-about dt {
	color: var(--acek-sub);
}
.acek-about dd {
	margin: 0;
}

/* ---------- お知らせ ---------- */
.acek-news {
	list-style: none;
	margin: 0;
	padding: 0;
}
.acek-news li {
	border-bottom: 1px solid var(--acek-line);
}
.acek-news li:first-child {
	border-top: 1px solid var(--acek-line);
}
.acek-news a {
	display: grid;
	grid-template-columns: 110px 90px 1fr;
	gap: 16px;
	align-items: center;
	padding: 18px 8px;
	color: var(--acek-text);
	text-decoration: none;
	transition: background .2s;
}
.acek-news a:hover {
	background: #fafafa;
	opacity: 1;
}
.acek-news time {
	font-family: var(--acek-serif-en);
	font-size: 17px;
	font-variant-numeric: lining-nums;
	letter-spacing: .08em;
	color: var(--acek-sub);
}
.acek-news__tag {
	font-size: 12px;
	border: 1px solid var(--acek-accent);
	color: var(--acek-accent);
	text-align: center;
	padding: 1px 0;
}
.acek-news__tag.-new {
	background: var(--acek-accent);
	color: #fff;
}

/* ---------- バナー ---------- */
.acek-banners {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
.acek-banner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 28px;
	border: 1px solid var(--acek-line);
	background: #fff;
	color: var(--acek-text);
	text-decoration: none;
	transition: .2s;
}
.acek-banner:hover {
	border-color: var(--acek-accent);
	opacity: 1;
}
.acek-banner__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--acek-accent-light);
	font-size: 24px;
}
.acek-banner h3 {
	font-family: var(--acek-serif-en), var(--acek-serif-ja);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .06em;
	margin: 0;
}
.acek-banner p {
	font-size: 14px;
	color: var(--acek-sub);
	margin: 0;
}

/* ---------- お問合せ CTA ---------- */
.acek-cta {
	background: var(--acek-accent);
	color: #fff;
	text-align: center;
	padding: 56px 0;
}
.acek-cta h2 {
	font-family: var(--acek-serif-en), var(--acek-serif-ja);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: .06em;
	color: #fff;
	margin: 0 0 8px;
}
.acek-cta p {
	opacity: .85;
	font-size: 15px;
	margin: 0 0 24px;
}
.acek-cta__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 24px;
}
.acek-cta__tel {
	font-family: var(--acek-serif-en);
	font-size: 38px;
	font-weight: 600;
	font-variant-numeric: lining-nums;
	letter-spacing: .06em;
	line-height: 1.2;
}
.acek-cta__tel small {
	display: block;
	font-family: var(--acek-sans);
	font-size: 12px;
	font-weight: 400;
	opacity: .8;
}

/* ---------- フッター ---------- */
.l-footer {
	background: #fff;
	color: var(--acek-text);
	border-top: 3px solid var(--acek-accent);
}
.acek-fnav {
	border-bottom: 1px solid var(--acek-line);
}
.acek-fnav ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
.acek-fnav a {
	display: block;
	padding: 12px 16px;
	font-size: 13px;
	color: var(--acek-text);
	border-left: 1px solid var(--acek-line);
	text-decoration: none;
}
.acek-fnav li:last-child a {
	border-right: 1px solid var(--acek-line);
}
.acek-fwidgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
	padding-top: 48px;
	padding-bottom: 48px;
}
.acek-fwidgets h3 {
	position: relative;
	font-family: var(--acek-serif-en), var(--acek-serif-ja);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .06em;
	padding-bottom: 8px;
	margin: 0 0 16px;
	border-bottom: 1px solid var(--acek-line);
}
.acek-fwidgets h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 30%;
	height: 1px;
	background: var(--acek-accent);
}
.acek-fwidgets p,
.acek-fwidgets li {
	font-size: 13px;
	line-height: 1.9;
}
.acek-fwidgets ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.acek-fwidgets a {
	color: var(--acek-text);
	text-decoration: none;
}
.acek-fwidgets a:hover {
	color: var(--acek-accent);
	text-decoration: underline;
}
.l-footer__foot {
	background: #fff;
	border-top: 1px solid var(--acek-line);
}
.l-footer .copyright {
	font-family: var(--acek-serif-en);
	font-size: 14px;
	font-variant-numeric: lining-nums;
	letter-spacing: .1em;
	color: var(--acek-sub);
	text-align: center;
	padding: 20px 0;
	margin: 0;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 959px) {
	.acek-panels {
		grid-template-columns: repeat(2, 1fr);
	}
	.acek-panel {
		max-height: none;
		aspect-ratio: 3 / 4;
	}
	.acek-brandLogos {
		grid-template-columns: repeat(3, 1fr);
	}
	.acek-mv__inner {
		grid-template-columns: 1fr;
		gap: 0;
		min-height: auto;
		padding-top: 32px;
		padding-bottom: 48px;
	}
	.acek-mv__img {
		height: 260px;
		order: -1;
	}
	.acek-mv__img img {
		max-height: 240px;
	}
	.acek-mv__title {
		font-size: 30px;
	}
	.acek-section {
		padding: 48px 0;
	}
	.acek-secTitle h2 {
		font-size: 22px;
	}
	.acek-about {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.acek-news a {
		grid-template-columns: auto auto;
		justify-content: start;
		gap: 4px 12px;
	}
	.acek-news__tag {
		padding: 1px 10px;
	}
	.acek-news__title {
		grid-column: 1 / -1;
	}
	.acek-banners,
	.acek-fwidgets {
		grid-template-columns: 1fr;
	}
	.acek-fwidgets {
		gap: 32px;
	}
}
@media (max-width: 599px) {
	.c-headLogo.-txt .c-headLogo__link::after {
		display: none;
	}
	.acek-panel {
		aspect-ratio: 4 / 5;
	}
	.acek-panel__label h3 {
		font-size: 20px;
	}
	.acek-panel__more {
		opacity: 1;
		transform: none;
	}
	.acek-brandLogos {
		grid-template-columns: repeat(2, 1fr);
	}
	.acek-cta__tel {
		font-size: 30px;
	}
}


/* ============================================================
 * v1.2.0 取扱ブランドをスライダー化
 * ============================================================ */
.acek-brandSlider {
	position: relative;
	--per: 4;
}
.acek-brandSlider__viewport {
	overflow: hidden;
}
.acek-brandSlider__track.acek-panels {
	display: flex;
	gap: 0;
	transition: transform .7s cubic-bezier(.4, 0, .2, 1);
	will-change: transform;
}
.acek-brandSlider__track .acek-panel {
	flex: 0 0 calc(100% / var(--per));
	max-height: 560px;
}
.acek-brandSlider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 48px;
	height: 48px;
	margin-top: -36px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	color: var(--acek-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
	transition: background .2s;
}
.acek-brandSlider__arrow:hover {
	background: #fff;
}
.acek-brandSlider__arrow.-prev {
	left: -24px;
}
.acek-brandSlider__arrow.-next {
	right: -24px;
}
.acek-brandSlider__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}
.acek-brandSlider__dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #c5cfdc;
	cursor: pointer;
}
.acek-brandSlider__dots button.is-active {
	background: var(--acek-accent);
}
@media (max-width: 959px) {
	.acek-brandSlider {
		--per: 2;
	}
	.acek-brandSlider__track .acek-panel {
		aspect-ratio: 3 / 4;
	}
	.acek-brandSlider__arrow.-prev {
		left: 4px;
	}
	.acek-brandSlider__arrow.-next {
		right: 4px;
	}
}
@media (max-width: 599px) {
	.acek-brandSlider {
		--per: 1;
	}
	.acek-brandSlider__track .acek-panel {
		aspect-ratio: 4 / 5;
	}
}


/* ============================================================
 * v1.2.1 スマホ表示の修正
 * ============================================================ */
/* スマホのドロワーメニューも英語表記を非表示 */
.c-spnav a span {
	display: none;
}
/* トップページではフッター前の旧ウィジェット（Twitter・検索・アーカイブ等）を出さない */
.home .w-beforeFooter {
	display: none;
}
.acek-cta__tel a {
	color: inherit;
	text-decoration: none;
}
@media (max-width: 959px) {
	/* 写真スライドの画像が枠からはみ出して文字に重なるのを防ぐ */
	.acek-mv__img.-photo img,
	.acek-mv__img img {
		max-height: 240px;
		max-width: 100%;
	}
}
@media (max-width: 599px) {
	/* 見出しの英字を改行して、一覧リンクが折り返さないようにする */
	.acek-secTitle {
		align-items: flex-end;
		gap: 12px;
	}
	.acek-secTitle h2 small {
		display: block;
		margin: 2px 0 0;
		font-size: 15px;
	}
	.acek-secTitle a {
		white-space: nowrap;
		flex-shrink: 0;
	}
}
