@charset "UTF-8";
/*
Theme Name: ACTIVE CARSHOP
Description: Active Carshop WordPress Theme (Layout & UI Components)
Version: 1.1.9
*/

/* ==========================================================================
	1. 共通レイアウト (Main, Section, Container)
========================================================================== */
main {
	margin: 0 auto;
}
article {
	margin: 0;
}
aside {
	margin: 0;
}
section {
	margin: 0;
	padding: 5rem 0;
}
.container {
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
	max-width: 1420px;
}

/* ==========================================================================
	2. ヘッダー＆ナビゲーション (Header & Navigation)
========================================================================== */
#header {
	padding: 0 40px;
	width: 100%;
	height: var(--header-h);
	display: flex;
	position: fixed;
	z-index: 9500;
	top: 0;
	left: 0;
	color: #FFF;
	background: transparent;
	transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease, height 0.3s ease;
	align-items: center;
	justify-content: space-between;
}
#header.scrolled {
	height: 110px;
	color: #FFF;
	background: var(--color-primary);
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo a {
	display: block;
	line-height: 0;
	outline: none;
}
.logo img {
	width: 250px;
	height: auto;
	transition: 0.3s;
	filter: brightness(0) invert(1);
}
#header.scrolled .logo img {
	filter: brightness(0) invert(1);
}
.header-right-pc {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
}
.header-top-sns {
	display: none;
}

@media screen and (min-width: 901px) {
	.header-top-sns {
		padding: 15px 5px;
		display: flex;
		flex-direction: column;
		position: fixed;
		z-index: 9999;
		top: 40%;
		right: 0;
		border-radius: 10px 0 0 10px;
		background: rgb(255 255 255 / 75%);
		box-shadow: 0 0 15px rgba(0,0,0,0.1);
		transform: translateY(-50%);
		gap: 10px;
		backdrop-filter: blur(5px);
	}
	.header-top-sns a {
		width: 42px;
		height: 42px;
		display: flex;
		background: transparent;
		transition: 0.3s;
		align-items: center;
		justify-content: center;
	}
	.header-top-sns a img {
		width: 32px;
		height: auto;
		display: block;
	}
	.header-top-sns a:hover {
		opacity: 0.8;
		transform: scale(1.1);
	}
}
.pc-nav-list {
	display: flex;
	font-size: 0.95rem;
	font-weight: 400;
	align-items: center;
	gap: 30px;
}
.pc-nav-item {
	padding: 10px 0;
	position: relative;
}
.pc-nav-item > a {
	padding-right: 5px;
	display: block;
	position: relative;
	color: var(--color-white) !important;
	white-space: nowrap;
}
.pc-nav-item > a::after {
	width: 0;
	height: 2px;
	position: absolute;
	bottom: -5px;
	left: 0;
	content: '';
	background: currentColor;
	transition: width 0.3s;
}
.pc-nav-item:hover > a::after {
	width: 100%;
}
.pc-nav-item.has-child > a {
	padding-right: 18px;
}
.pc-nav-item.has-child > a::before {
	width: 10px;
	height: 10px;
	position: absolute;
	top: 50%;
	right: 0;
	content: '';
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23FFF' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 0.3s;
	transform: translateY(-50%);
}
.pc-nav-item.has-child:hover > a::before {
	transform: translateY(-50%) rotate(180deg);
}
.pc-nav-item .dropdown {
	padding: 10px 0;
	min-width: 220px;
	visibility: hidden;
	position: absolute;
	top: 100%;
	left: 50%;
	text-align: left;
	border-top: 3px solid var(--color-primary);
	border-radius: 6px;
	background: #FFF;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	opacity: 0;
	transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
	transform: translateX(-50%) translateY(10px);
}
.pc-nav-item:hover .dropdown {
	visibility: visible;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
.dropdown li a {
	padding: 10px 20px;
	display: block;
	font-size: 0.9rem;
	font-weight: 400;
	color: #555;
	white-space: nowrap;
}
.dropdown li a:hover {
	color: var(--color-primary);
	background: #F9F9F9;
}
.dropdown li a::after {
	display: none;
}
.pc-nav-tel {
	margin-right: 15px;
	display: flex;
	font-family: var(--font-en);
	font-size: 1.2rem;
	font-weight: 400;
	color: #FFF;
	white-space: nowrap;
	align-items: center;
	gap: 5px;
}
#header.scrolled .pc-nav-tel {
	color: #FFF;
}
.free-dial {
	width: 220px;
	height: auto;
}
.header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}
.header-sns {
	display: flex;
	align-items: center;
	gap: 15px;
}
.sns-link {
	font-size: 1.5rem;
	color: inherit;
}
.menu-trigger {
	width: 50px;
	height: 50px;
	display: flex;
	position: relative;
	z-index: 9600;
	color: inherit;
	align-items: center;
	gap: 15px;
	justify-content: center;
}
.trigger-text {
	display: none;
}
.trigger-icon {
	width: 30px;
	height: 14px;
	position: relative;
}
.trigger-icon span {
	width: 100%;
	height: 2px;
	position: absolute;
	left: 0;
	background: currentColor;
	transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.trigger-icon span:nth-child(1) {
	top: 0;
}
.trigger-icon span:nth-child(2) {
	bottom: 0;
}
.menu-trigger.active .trigger-icon span {
	background: #FFF;
}
.menu-trigger.active .trigger-icon span:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}
.menu-trigger.active .trigger-icon span:nth-child(2) {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
}
#global-menu {
	width: 100%;
	height: 100vh;
	display: flex;
	position: fixed;
	z-index: 9000;
	top: 0;
	left: 0;
	background: rgba(191, 0, 8, 0.95);
	transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
	align-items: center;
	justify-content: center;
	clip-path: inset(100% 0 0 0);
}
#global-menu.open {
	clip-path: inset(0 0 0 0);
}
.menu-inner ul {
	text-align: center;
}
.menu-inner a,
.sp-menu-details summary {
	margin: 1.2rem 0;
	display: block;
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--color-light) !important;
	opacity: 0;
	transition: 0.5s;
	transform: translateY(20px);
}
#global-menu.open .menu-inner a,
#global-menu.open .sp-menu-details summary {
	opacity: 1;
	transform: translateY(0);
}
.menu-inner a:visited {
	color: var(--color-light) !important;
}
/* PCサイズだけど画面幅が少し狭い時（1150px以下）のヘッダーナビ縮小調整 */
@media screen and (min-width: 901px) and (max-width: 1150px) {
	.pc-nav-list {
		gap: 15px;
		font-size: 0.85rem;
	}
	.pc-nav-item.has-child > a {
		padding-right: 14px;
	}
	.free-dial {
		width: 180px;
	}
}

/* ==========================================================================
	3. フッター (Footer)
========================================================================== */
footer {
	margin-top: 0;
	padding: 3rem 0 1.5rem;
	font-size: 1rem;
	color: #AAA;
	text-align: center;
	background: var(--color-tertiary);
}
.footer-links {
	margin-bottom: 30px;
	display: flex;
	font-size: 0.8rem;
	justify-content: center;
	gap: 30px;
}
.footer-links a {
	display: inline-block;
	transition: color 0.3s;
}
.footer-links a:hover {
	color: var(--color-primary) !important;
}
.contact {
	margin-bottom: 2.5rem;
	display: flex;
	text-align: center;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 40px;
}
footer .logo img {
	margin: .5rem auto 2rem;
	width: 230px;
	filter: none;
}
footer a,
footer a:visited {
	color: var(--color-light) !important;
}
.copyright {
	margin-top: 20px;
	font-size: 0.8rem;
}
#wpfront-scroll-top-container img {
	filter: opacity(0.5);
}

/* ==========================================================================
	4. UIコンポーネント (Loader, Breadcrumbs, Buttons)
========================================================================== */
#loader {
	width: 100vw;
	height: 100vh;
	display: flex;
	overflow: hidden;
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	background: var(--color-primary);
	align-items: center;
	justify-content: center;
}
.loader-logo {
	width: 420px;
	max-width: 80%;
	overflow: hidden;
}
.loader-logo img {
	width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
}
.breadcrumbs {
	margin-bottom: 2rem;
	font-size: .8rem;
	color: var(--color-gray) !important;
}
.breadcrumbs a {
	color: var(--color-gray) !important;
}
.btn-more, .service-intro-more, .service-btn {
	margin-top: 1.5rem;
	position: relative;
	z-index: 2;
	text-align: center;
}
.is-style-active-btn-more, .wp-block-button.is-style-active-btn-more {
	margin-top: .5rem;
	margin-bottom: 1rem;
	position: relative;
	z-index: 2;
}
.btn-more a, .service-intro-more a, .btn-primary, .is-style-active-btn-more a, .is-style-active-btn-more .wp-block-button__link {
	padding: 0 1.5rem 0 3.2rem;
	min-width: 12rem;
	height: 2.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	position: relative;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	background: transparent !important;
	border: none;
	border-radius: 1.5rem;
	transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
	z-index: 1;
}
.btn-more a, .btn-primary, .is-style-active-btn-more a, .is-style-active-btn-more .wp-block-button__link {
	color: var(--color-dark) !important;
}
.service-intro-more a {
	color: #FFF !important;
	font-family: var(--font-jp);
	letter-spacing: 1px;
}
.btn-more a::before, .service-intro-more a::before, .btn-primary::before, .is-style-active-btn-more a::before, .is-style-active-btn-more .wp-block-button__link::before {
	margin: auto;
	width: 2.6rem;
	height: 2.6rem;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	content: '';
	border-radius: 1.5rem;
	transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
	z-index: -1;
}
.btn-more a::before, .btn-primary::before, .is-style-active-btn-more a::before, .is-style-active-btn-more .wp-block-button__link::before {
	background: var(--color-quaternary);
}
.service-intro-more a::before {
	background: var(--color-primary);
}
.btn-more a::after, .service-intro-more a::after, .btn-primary::after, .is-style-active-btn-more a::after, .is-style-active-btn-more .wp-block-button__link::after {
	margin: auto;
	width: 1.1rem;
	height: 1.1rem;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0.75rem;
	content: '';
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='2' y1='12' x2='20' y2='12'/%3E%3Cpolyline points='14 6 20 12 14 18'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}
.btn-more a:hover, .btn-primary:hover, .is-style-active-btn-more a:hover, .is-style-active-btn-more .wp-block-button__link:hover {
	color: #FFF !important;
}
.btn-more a:hover::before, .service-intro-more a:hover::before, .btn-primary:hover::before, .is-style-active-btn-more a:hover::before, .is-style-active-btn-more .wp-block-button__link:hover::before {
	width: 100%;
}
.btn-more a:hover::before, .btn-primary:hover::before, .is-style-active-btn-more a:hover::before, .is-style-active-btn-more .wp-block-button__link:hover::before {
	background: var(--color-primary);
}
.service-intro-more a:hover::before {
	background: var(--color-quaternary);
}
.btn-more a:hover::after, .service-intro-more a:hover::after, .btn-primary:hover::after, .is-style-active-btn-more a:hover::after, .is-style-active-btn-more .wp-block-button__link:hover::after {
	transform: translateX(0.5rem);
}

/* ==========================================================================
	5. レスポンシブ (Responsive)
========================================================================== */
@media screen and (max-width: 900px) {
	#header {
		padding: 0 15px;
		height: 90px;
		display: flex;
		background: var(--color-primary);
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		align-items: center;
	}
	#header.scrolled {
		height: 90px !important;
	}
	.logo {
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.logo img {
		width: 200px;
		height: auto;
	}
	#header.scrolled .logo img {
		width: 200px !important;
	}
	.menu-inner a {
		font-size: 1.2rem;
	}
	.header-top-sns {
		padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
		width: 100%;
		display: flex;
		flex-direction: row;
		position: fixed;
		z-index: 9999;
		bottom: 0;
		left: 0;
		border-radius: 0;
		background: #FFF;
		box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
		justify-content: space-around;
	}
	.header-top-sns a {
		width: 42px;
		height: 42px;
		display: flex;
		background: transparent;
		transition: 0.3s;
		align-items: center;
		justify-content: center;
	}
	.header-top-sns a img {
		width: 32px;
		height: auto;
		display: block;
	}
	.header-top-sns a:hover {
		opacity: 0.8;
		transform: scale(1.1);
	}
	.header-sns .sns-link img {
		width: 36px;
		height: auto;
	}
	#global-menu {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		display: block;
		overflow: hidden;
		top: 0;
		left: 0;
	}
	.menu-inner {
		margin: 0;
		padding: 110px 20px 150px;
		width: 100%;
		height: 100%;
		overflow-y: auto;
		position: absolute;
		top: 0;
		left: 0;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-y: contain;
		touch-action: pan-y;
	}
	.menu-inner > ul > li {
		margin: 1.5rem 0;
	}
	.menu-inner > ul > li::before {
		content: '';
	}
	.menu-inner a,
	.sp-menu-details summary {
		margin: 0 !important;
		font-size: 1.2rem;
	}
	.sp-menu-details summary,
	.sidebar-details summary {
		display: flex;
		list-style: none;
		cursor: pointer;
		outline: none;
		align-items: center;
	}
	.sp-menu-details summary {
		justify-content: center;
	}
	.sidebar-details summary {
		justify-content: space-between;
	}
	.sp-menu-details summary::-webkit-details-marker,
	.sidebar-details summary::-webkit-details-marker {
		display: none;
	}
	.sp-menu-details summary::after,
	.sidebar-details summary::after {
		margin-left: 10px;
		width: 14px;
		height: 14px;
		display: inline-block;
		content: '';
		background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23FFF' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		transition: transform 0.3s;
	}
	.sidebar-details summary::after {
		background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23252525' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
	}
	.sp-menu-details[open] summary::after,
	.sidebar-details[open] summary::after {
		transform: rotate(180deg);
	}
	.sp-menu-details[open] summary,
	.sidebar-details[open] summary {
		margin-bottom: 1rem;
	}
	.sp-sub-menu {
		margin-top: 1rem;
		margin-bottom: 0;
		padding: 10px 0;
		border-radius: 6px;
		background: rgba(0, 0, 0, 0.2);
	}
	.sp-sub-menu li {
		margin: 0;
	}
	.sp-sub-menu a {
		margin: 0.8rem 0 !important;
		font-size: 1.1rem !important;
		color: rgba(255,255,255,0.8) !important;
	}
	footer {
		padding: 2rem 0 calc(70px + env(safe-area-inset-bottom));
	}
	footer .logo img {
		margin: .5rem auto 1rem;
		width: 200px;
	}
	.footer-links {
		margin: 20px 0 !important;
		width: 100%;
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		gap: 10px;
	}
	.footer-links a {
		margin: 0;
		padding: 5px;
		display: block;
		font-size: 0.75rem;
	}
	.btn-more a,
	.service-intro-more a {
		font-size: 0.9rem;
	}
	.wp-block-columns.is-not-stacked-on-mobile.col-md-2 {
		flex-wrap: wrap !important;
	}
	.wp-block-columns.is-not-stacked-on-mobile.col-md-2 >.wp-block-column {
		flex-basis: 45% !important;
	}
	.wp-block-columns.gap-10 {
		gap: 10px !important;
	}
}