@charset "UTF-8";
/*
Theme Name: ACTIVE CARSHOP
Description: Active Carshop WordPress Theme (Home Page)
Version: 1.1.7
*/

/* ==========================================================================
	1. ヒーローセクション (Hero Section)
========================================================================== */
#hero {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100vh;
	display: flex;
	overflow: hidden;
	position: relative;
	background: transparent;
	align-items: center;
	justify-content: center;
}
.hero-slider-wrap {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	background-color: #000;
	perspective: 1000px;
	transform-style: preserve-3d;
}
.hero-slider-wrap::after {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	content: '';
	pointer-events: none;
	background-color: rgba(0, 0, 0, 0.5);
}
.hero-slide {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 2s ease-in-out;
	will-change: opacity;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.hero-slide.active {
	z-index: 1;
	opacity: 1;
}
.hero-slide picture,
.hero-slide img {
	width: 100%;
	height: 100%;
	display: block;
	outline: 1px solid transparent;
	transition: none;
	transform: scale(1);
	object-fit: cover;
	object-position: right center;
	will-change: transform;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
	image-rendering: -webkit-optimize-contrast;
	transform-origin: right center;
}
.hero-slide.active img {
	animation: heroZoom 6s linear forwards;
}
@keyframes heroZoom {
	0% {
		transform: scale(1.1) rotate(0.01deg);
	}
	100% {
		transform: scale(1) rotate(0.01deg);
	}
}
.hero-title {
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
	max-width: 1420px;
	display: block;
	z-index: 5;
	color: #FFF;
	text-align: left;
	pointer-events: none;
}
.hero-catch {
	margin-bottom: 1rem;
	padding-bottom: 5px;
	display: inline-block;
	font-size: 1.45rem;
	font-weight: 400;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5);
	letter-spacing: 1px;
	background: linear-gradient(transparent 75%, #BF0008 30%);
}
.hero-main {
	margin-bottom: 2rem;
	font-family: var(--font-en);
	font-size: clamp(2.55rem, 8vw, 8rem);
	font-weight: 400;
	line-height: 1.2;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-desc {
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.7;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5);
	letter-spacing: 1px;
}
.scrolldown {
	position: absolute;
	z-index: 10;
	bottom: 180px;
	left: 40px;
	font-family: var(--font-en);
	font-size: 0.9rem;
	font-weight: 400;
	color: #FFF;
	letter-spacing: 0.1em;
	opacity: 0.8;
	transform: none;
	writing-mode: vertical-rl;
	text-orientation: mixed;
}
.scrolldown::after {
	margin: 10px auto 0 auto;
	width: 1px;
	height: 60px;
	display: block;
	content: '';
	background: #FFF;
	animation: scrollDownAnim 2s infinite;
}
@keyframes scrollDownAnim {
	0% {
		transform: scaleY(0);
		transform-origin: top;
	}
	50% {
		transform: scaleY(1);
		transform-origin: top;
	}
	50.1% {
		transform: scaleY(1);
		transform-origin: bottom;
	}
	100% {
		transform: scaleY(0);
		transform-origin: bottom;
	}
}
/* ヒーローエリアのメーカーロゴ（無限スクロール） */
.hero-brands {
	position: absolute;
	bottom: 80px;
	left: 0;
	z-index: 10;
	width: 100%;
	overflow: hidden; /* はみ出したロゴを隠す */
}
.hero-brands-title {
	font-family: var(--font-en);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 0.1em;
	margin-bottom: 10px !important;
	text-align: center; /* タイトルは中央揃え */
}
.hero-brands-ticker {
	display: flex;
	width: max-content;
}
.hero-brands-list {
	display: flex;
	gap: 20px;
	padding-right: 20px;
	list-style: none;
	margin: 0 !important;
	animation: tickerAnim 60s linear infinite;
}
.hero-brands-list li {
	padding: 2px 2px !important;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-brands-list li::before {
	display: none !important;
}
.hero-brands-list img {
	height: 45px;
	width: auto;
	filter: none !important;
	transition: 0.3s;
}
.hero-brands-list li:hover img {
	transform: scale(1.1);
}
@keyframes tickerAnim {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}
@media screen and (max-width: 900px) {
	.hero-brands {
		bottom: 100px;
	}
	.hero-brands-list {
		gap: 20px;
		padding-right: 20px;
	}
	.hero-brands-list li {
		padding: 5px 15px !important;
	}
	.hero-brands-list img {
		height: 24px;
	}
}

/* ==========================================================================
	2. ニュース・ブログ (News Topics & Blog)
========================================================================== */
#news {
	overflow: hidden;
	position: relative;
	z-index: 1;
	background: #FFF;
}
.news-wrapper {
	display: flex;
	gap: 40px;
	justify-content: space-between;
}
.news-column {
	width: 48%;
}
.news-column .section-header {
	margin-bottom: 2rem;
	padding: 0;
	text-align: left;
}
.news-column .section-header .en-title {
	font-size: 2rem;
}
.news-list {
	margin: 0 0 1.5rem 0;
	padding: 0;
	position: relative;
	z-index: 2;
}
.news-item {
	padding: 20px 0;
	display: flex;
	position: relative;
	cursor: pointer;
	border-bottom: 1px solid #DDD;
	transition: 0.3s;
	align-items: center;
}
.news-item:hover {
	padding-left: 20px;
	border-color: var(--color-primary);
}
.news-thumb {
	margin-right: 20px;
	width: 120px;
	overflow: hidden;
	flex-shrink: 0;
}
.news-thumb img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.news-text {
	display: flex;
	flex-direction: column;
	flex: 1;
}
.news-date {
	margin-bottom: 5px;
	display: block;
	font-family: var(--font-jp);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-gray);
	letter-spacing: 0 !important;
}
.news-title {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
}

/* ==========================================================================
	3. 横スクロール・サービス (Horizontal Scroll Menu)
========================================================================== */
.pin-spacer {
	z-index: 10 !important;
}
#menu-wrapper {
	overflow: hidden;
	position: relative;
	z-index: 10;
	color: #FFF;
	background: var(--color-light);
}
.h-scroll-container {
	width: 500%;
	height: 100vh;
	display: flex;
	flex-wrap: nowrap;
}
.h-section {
	padding: 0 2%;
	width: 100vw;
	height: 100vh;
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
}
.h-section:nth-child(odd) {
	background-color: var(--color-tertiary);
}
.h-section:nth-child(even) {
	background-color: var(--color-secondary);
}
.h-section:first-child {
	position: relative;
	background: url('assets/images/background/bg-service.jpg') no-repeat center center/cover;
}
.webp .h-section:first-child {
	position: relative;
	background: url('assets/images/background/bg-service.webp') no-repeat center center/cover;
}
.h-section:first-child::before {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	content: '';
	background: rgba(0, 0, 0, 0.5);
}
.h-section:first-child .section-header {
	position: relative;
	z-index: 2;
}
.service-container {
	position: relative;
	z-index: 2;
}
#service .section-header {
	margin-bottom: 3rem;
}
#service .section-header .jp-sub {
	color: var(--color-white);
}
.service-intro-grid {
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}
.service-intro-column {
	padding: 2rem;
	text-align: left;
	border-radius: 6px;
	background: rgb(0 0 0 / 50%);
}
.service-intro-title {
	margin-bottom: 1rem;
	font-size: clamp(1.2rem, 2.5vw, 2rem);
	color: #FFF;
}
.service-intro-desc {
	margin-bottom: 0;
	font-size: 0.95rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.9);
}
.menu-content {
	width: 100%;
	max-width: 1400px;
	display: grid;
	position: relative;
	z-index: 2;
	/* 左右の比率を「4:6」 */
	grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
	gap: 50px;
	align-items: center;
}
.menu-img-wrap {
	width: 100%;
	min-width: 0;
	overflow: hidden;
	position: relative;
	border-radius: 6px;
	aspect-ratio: 1 / 1;
	transform: translateZ(0);
}
.menu-img-wrap picture {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.menu-img-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	transform: translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	will-change: transform;
}
.menu-info h3 {
	margin-bottom: 0.5rem;
	color: #FFF;
}
.service-jp-sub {
	margin-bottom: 1.5rem;
	display: block;
	font-size: 1.1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--color-primary);
	letter-spacing: 0.15em;
}
.menu-info p {
	font-size: 1rem;
	line-height: 2;
	color: rgba(255,255,255,0.9);
}
.menu-num {
	position: absolute;
	z-index: 1;
	top: 140px;
	left: 3%;
	font-family: var(--font-en);
	font-size: clamp(4rem, 10vw, 8rem);
	font-weight: 400;
	line-height: 1;
	opacity: 0.7;
}

/* ==========================================================================
	4. トータルカーサービス (Car Service Section)
========================================================================== */
#car-service {
	padding: 100px 0;
	background: #FFF;
}
.service-grid {
	margin-bottom: 3rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.service-item {
	text-align: center;
}
.service-img {
	margin-bottom: 1.5rem;
}
.service-img.js-reveal-wrap {
	overflow: hidden;
}
.service-img img {
	width: 100%;
	height: auto;
	transition: transform 0.4s;
}
.service-item:hover .service-img img {
	transform: scale(1.05);
}
.service-title {
	margin-bottom: 1rem;
	display: block;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--color-quaternary);
	text-align: center;
}
.service-title a {
	color: var(--color-dark) !important;
}
.service-desc {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--color-dark);
	text-align: left;
}
.service-desc small {
	margin-top: 0.3rem;
	display: block;
	font-size: 0.8rem;
	line-height: 1.5;
	color: var(--color-gray);
}
.service-card {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	text-align: center;
	border-radius: 6px;
	background: #F9F9F9;
	transition: box-shadow 0.3s;
	justify-content: space-between;
}
.service-card:hover {
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.service-card-content {
	margin-bottom: .5rem;
}
.restore-block {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 50px;
	align-items: center;
}
.restore-text .en-title {
	font-size: clamp(2.4rem, 5vw, 3.5rem);
	color: var(--color-quaternary);
}
.restore-img {
	width: 100%;
	border-radius: 6px;
	aspect-ratio: 16 / 9;
}
.restore-img img {
	width: 100%;
	height: 100%;
	border-radius: 6px;
	object-fit: cover;
}

/* ==========================================================================
	5. コンセプト＆ロゴ (Concept & Maker Logos)
========================================================================== */
#concept {
	height: 120vh;
	display: flex;
	overflow: hidden;
	position: relative;
	z-index: 1;
	align-items: center;
	justify-content: center;
}
.concept-bg {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
}
.concept-bg img {
	height: 120%;
	filter: grayscale(0.5);
}
.concept-text {
	padding: 80px;
	text-align: center;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.concept-text h2.en-title {
	font-size: clamp(2rem, 8vw, 3.7rem);
}
#concept h3 {
	margin-bottom: 20px;
	font-family: var(--font-en);
	font-size: 2rem;
	color: var(--color-quaternary);
}
.maker-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 20px;
	align-items: center;
}
.maker-item {
	text-align: center;
}
.maker-item img {
	margin: 0 auto;
	width: 100%;
	max-width: 80px;
	height: auto;
	display: block;
}

/* ==========================================================================
	6. 実績スライダー (Experiences)
========================================================================== */
#experiences {
	padding: 5rem 5%;
	position: relative;
	background: #F9F9F9;
}
.experiences-slider {
	width: 100%;
	overflow: hidden;
	position: relative;
}
.experiences-slider .swiper-slide {
	height: auto;
}
.experiences-card {
	padding: 10px;
	height: 100%;
	display: flex;
	flex-direction: column;
	text-align: center;
	border: 1px solid #EEE;
	border-radius: 6px;
	background: #FFF;
	transition: 0.3s;
}
.experiences-card:hover {
	border-color: var(--color-gray);
	background: var(--color-gray);
}
.experiences-card:hover .experiences-title {
	color: #FFF;
}
.experiences-card:hover img {
	opacity: 1 !important;
}
.experiences-thumb {
	width: 100%;
}
.experiences-thumb a {
	display: block;
}
.experiences-thumb img {
	width: 100%;
	display: block;
	border-radius: 4px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.experiences-text {
	margin-top: 15px;
	display: flex;
	flex-direction: column;
	text-align: left;
	flex-grow: 1;
}
.experiences-title {
	margin-bottom: auto;
	display: block;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--color-dark);
	transition: var(--transition);
}
.experiences-title:hover {
	color: var(--color-primary);
}
.experiences-prev,
.experiences-next {
	margin-top: -22px;
	position: absolute;
	z-index: 10;
	top: 55%;
	cursor: pointer;
	color: var(--color-primary) !important;
	transform: scale(0.7);
}
.experiences-prev {
	left: 1%;
}
.experiences-next {
	right: 1%;
}
.experiences-pagination {
	margin-top: 30px;
	margin-bottom: 20px;
	position: relative !important;
	z-index: 10;
	bottom: auto !important;
	text-align: center;
}
.experiences-pagination .swiper-pagination-bullet-active {
	background: var(--color-primary) !important;
}

/* ==========================================================================
	7. レスポンシブ (Responsive)
========================================================================== */
@media screen and (max-width: 900px) {
	.hero-title h1 {
		font-size: 1.3rem;
		line-height: 1.4;
	}
	.hero-desc {
		font-size: 1.15rem;
		line-height: 1.5;
	}
	.scrolldown {
		bottom: 180px;
		left: 20px;
		font-size: 0.8rem;
	}
	.news-wrapper {
		flex-direction: column;
		gap: 60px;
	}
	.news-column {
		width: 100%;
	}
	.h-scroll-container {
		width: 100%;
		height: auto;
		flex-direction: column;
	}
	.h-section {
		padding: 5rem 5%;
		width: 100%;
		height: auto;
		align-items: flex-start;
	}
	#service.h-section {
		padding: 6rem 5% 5rem;
		align-items: flex-start;
	}
	.h-section:first-child {
		position: relative;
		background: url('assets/images/background/bg-service_sp.jpg') no-repeat center center/cover;
	}
	.webp .h-section:first-child {
		position: relative;
		background: url('assets/images/background/bg-service_sp.webp') no-repeat center center/cover;
	}
	.service-container {
		padding: 0;
	}
	.service-intro-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.service-intro-column {
		padding: 1.5rem;
	}
	.service-intro-desc {
		font-size: 0.9rem;
		line-height: 1.6;
	}
	.menu-content {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.menu-img-wrap {
		aspect-ratio: 4 / 3;
	}
	.menu-num {
		top: 100px;
		font-size: 4rem;
	}
	.service-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.restore-block {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.restore-img {
		aspect-ratio: 4 / 3;
	}
	.maker-grid {
		grid-template-columns: repeat(8, 1fr);
		gap: 5px;
	}
	#concept {
		padding: 8rem 5% 5rem;
		height: auto;
	}
	.concept-text h2.en-title {
		font-size: 2rem !important;
	}
	.concept-text p {
		text-align: left;
	}
	.concept-bg img {
		height: 100%;
	}
	.concept-text {
		padding: 2.5rem 1.5rem;
	}
}