/* ============================================================
   top.css — トップページ専用スタイル
   読み込み順: base.css → common.css → pages/top.css
   全スタイルは .page-top で囲む
   ============================================================ */

/* ===== セクションラベル共通（top専用定義） ===== */

.page-top .section-label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-shrink: 0;
}

.page-top .section-label__heading {
	display: flex;
	align-items: center;
	gap: 10px;
}

.page-top .section-label__dot {
	display: block;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: linear-gradient(135deg, #00A7D4 0%, #0071BC 100%);
	flex-shrink: 0;
}

.page-top .section-label__en {
	font-weight: 600;
	font-size: 20px;
	color: #00A7D4;
	line-height: 1;
}

.page-top .section-label__ja {
	font-weight: 700;
	font-size: 34px;
	color: var(--color-heading-dark);
	line-height: 1.4;
	margin: 0;
}

/* ============================================================
   KV（キービジュアル）
   ============================================================ */

.page-top .kv {
	position: relative;
	margin: 68px 20px 0;
	border-radius: 20px;
	aspect-ratio: 1400 / 540;
	overflow: hidden;
}

.page-top .kv__slides {
	position: absolute;
	inset: 0;
}

.page-top .kv__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
}

.page-top .kv__slide.is-active {
	opacity: 1;
	z-index: 1;
}

/* 旧スライド：最前面でフェードアウト → 下の新スライドが透けない */
.page-top .kv__slide.is-leaving {
	opacity: 0;
	z-index: 2;
	transition: opacity 1.2s ease;
}

.page-top .kv__slide-left {
	position: absolute;
	inset: 0;
	clip-path: polygon(0 0, 58% 0, 48% 100%, 0 100%);
}

.page-top .kv__slide-right {
	position: absolute;
	inset: 0;
	clip-path: polygon(52% 0, 100% 0, 100% 100%, 42% 100%);
}

.page-top .kv__slide-img {
	position: absolute;
	width: 60%;
	height: auto;
	top: 50%;
	transform: translateY(-50%);
}

.page-top .kv__slide-left .kv__slide-img {
	left: 0;
}

.page-top .kv__slide-right .kv__slide-img {
	right: 0;
}

.page-top .kv__content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	white-space: nowrap;
	text-align: center;
}

.page-top .kv__catch {
	font-weight: 600;
	font-size: 50px;
	line-height: 1.5;
	color: #ffffff;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-top .kv__dots {
	position: absolute;
	bottom: 28px;
	right: 48px;
	display: flex;
	gap: 10px;
	z-index: 2;
}

.page-top .kv__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.3s;
}

.page-top .kv__dot.is-active {
	background: #ffffff;
}

/* ============================================================
   About Us
   ============================================================ */

.page-top .top-about {
	position: relative;
	overflow: hidden;
	padding: 100px 0;
}

.page-top .top-about__ellipse {
	position: absolute;
	right: -100px;
	top: -80px;
	width: 600px;
	height: auto;
	pointer-events: none;
	z-index: 0;
}

.page-top .top-about__inner {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 110px;
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.page-top .top-about__row {
	display: flex;
	align-items: flex-start;
	gap: 80px;
}

.page-top .top-about__label {
	flex-shrink: 0;
	width: 280px;
}

.page-top .top-about__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.page-top .top-about__body p {
	font-weight: 500;
	font-size: 18px;
	letter-spacing: 0.05em;
	line-height: 2;
	color: #000;
}

/* About Us カード */
.page-top .top-about__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.page-top .top-about__card {
	display: flex;
	align-items: center;
	gap: 25px;
	padding: 25px 35px;
	background: #fff;
	border: 1px solid transparent;
	border-radius: 20px;
	text-decoration: none;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
	transition: border-color 0.25s, box-shadow 0.25s;
}

.page-top .top-about__card:hover {
	border-color: #00A7D4;
	box-shadow: 0 4px 20px rgba(0, 167, 212, 0.18);
	opacity: 1;
}

.page-top .top-about__card-icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.page-top .top-about__card-text {
	flex: 1;
	font-weight: 700;
	font-size: 20px;
	color: #000;
	transition: color 0.25s;
}

.page-top .top-about__card:hover .top-about__card-text {
	color: #00A7D4;
}

.page-top .top-about__card-arrow {
	display: block;
	width: 12px;
	height: 12px;
	border-right: 2px solid #00A7D4;
	border-top: 2px solid #00A7D4;
	transform: rotate(45deg);
	flex-shrink: 0;
}

/* ============================================================
   Service（取扱い商品）
   ============================================================ */

.page-top .top-service {
	padding: 100px 0;
}

.page-top .top-service__inner {
	max-width: 1400px;
	margin: 0 auto;
	border-radius: 20px;
	background: url('../../images/top/business_background.png') center / cover no-repeat;
	padding: 80px 110px;
}

.page-top .top-service__heading-area {
	display: flex;
	align-items: flex-start;
	gap: 80px;
	margin-bottom: 60px;
}

.page-top .top-service__lead {
	font-weight: 500;
	font-size: 16px;
	line-height: 1.9;
	color: var(--color-text);
	padding-top: 10px;
}

.page-top .top-service__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.page-top .top-service__card {
	background: #fff;
	border-radius: 20px;
	padding: 52px 40px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.page-top .top-service__card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	flex: 1;
}

.page-top .top-service__card-logo-wrap {
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-top .top-service__card-logo--anshin {
	width: 276px;
	height: auto;
}

.page-top .top-service__card-logo--riskguard {
	width: 313px;
	height: auto;
}

.page-top .top-service__card-desc {
	font-weight: 500;
	font-size: 15px;
	line-height: 1.9;
	color: #000000;
	text-align: center;
}



.page-top .top-service__more {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}


/* ============================================================
   Contact（お問い合わせ・事故のご連絡）
   ============================================================ */

.page-top .top-contact {
	position: relative;
	padding: 100px 0;
	background: #fff;
}

.page-top .top-contact__inner {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 110px;
}

.page-top .top-contact__label {
	margin-bottom: 60px;
}

.page-top .top-contact__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	position: relative;
	z-index: 2;
}

.page-top .top-contact__body {
	background: #F2FBFD;
	border-radius: 20px;
	margin-top: -182px;
	margin-left: -110px;
	margin-right: -110px;
	padding: 222px 110px 60px;
	position: relative;
	z-index: 1;
}

.page-top .top-contact__card {
	background: #fff;
	border-radius: 20px;
	padding: 40px 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.page-top .top-contact__card-title {
	font-weight: 700;
	font-size: 18px;
	color: var(--color-heading-dark);
	text-align: center;
}



.page-top .top-contact__divider {
	width: 100%;
	border: none;
	border-bottom: 1px solid #e0e0e0;
	padding: 20px 0 0 0;
}

.page-top .top-contact__tel-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 20px 0 4px;
}

.page-top .top-contact__tel-header {
	font-weight: 500;
	font-size: 14px;
	color: var(--color-sub);
	text-align: center;
}

.page-top .top-contact__tel-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.page-top .top-contact__tel-label {
	font-weight: 500;
	font-size: 15px;
	color: var(--color-heading-dark);
}

.page-top .top-contact__tel-num {
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	font-size: 30px;
	color: #00A7D4;
	text-decoration: none;
	letter-spacing: 0.04em;
	line-height: 1;
	transition: opacity 0.2s;
}

.page-top .top-contact__tel-num:hover {
	opacity: 0.75;
}

.page-top .top-contact__tel-note {
	font-weight: 500;
	font-size: 13px;
	color: var(--color-muted);
	text-align: center;
}

.page-top .top-contact__sub {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
}

.page-top .top-contact__sub-text {
	font-weight: 600;
	font-size: 16px;
	white-space: nowrap;
}



/* ============================================================
   News（お知らせ）
   ============================================================ */

.page-top .top-news {
	padding: 100px 0;
	background: #fff;
}

.page-top .top-news__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 110px;
	display: flex;
	gap: 80px;
	align-items: flex-start;
}

.page-top .top-news__heading-area {
	flex-shrink: 0;
	width: 240px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.page-top .top-news__list {
	flex: 1;
	min-width: 0;
	list-style: none;
}

.page-top .top-news__item {
	border-bottom: 1px solid #E5E5E5;
}


.page-top .top-news__link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 0;
	text-decoration: none;
	color: #000;
	transition: color 0.2s;
}

.page-top .top-news__link:hover {
	color: #00A7D4;
	opacity: 1;
}

.page-top .top-news__date {
	font-family: 'Outfit', sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: var(--color-muted);
	flex-shrink: 0;
	line-height: 1;
}

.page-top .top-news__title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.7;
	color: inherit;
}

.page-top .top-news__pdf-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	display: block;
}

/* ============================================================
   Banner
   ============================================================ */

.page-top .top-banner {
	padding: 100px 0;
	background: #fff;
}

.page-top .top-banner__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 110px;
}

.page-top .top-banner__inner p{
	text-align: right;
	font-size: 12px;
}

.page-top .top-banner__card {
	display: block;
	transition: opacity 0.2s;
}

.page-top .top-banner__card:hover {
	opacity: 0.9;
}

.page-top .top-banner__img {
	display: block;
	width: 100%;
	height: auto;
}

/* ============================================================
   レスポンシブ（1024px以下）
   ============================================================ */

@media (max-width: 1024px) {
	.page-top .kv {
		height: 540px;
	}

	.page-top .kv__content {
		left: 40px;
	}

	.page-top .kv__catch {
		font-size: 40px;
	}

	.page-top .section-label__dot {
		width: 10px;
		height: 10px;
	}

	.page-top .top-about {
		padding: 80px 0;
	}

	.page-top .top-about__inner,
	.page-top .top-service__inner,
	.page-top .top-contact__inner,
	.page-top .top-news__inner,
	.page-top .top-banner__inner {
		padding-left: 55px;
		padding-right: 55px;
	}

	.page-top .top-service {
		padding: 80px 0;
	}

	.page-top .top-service__heading-area {
		display: block;
		margin-bottom: 25px;
	}

	.page-top .top-contact {
		padding: 80px 0;
	}

	.page-top .top-contact__body {
		margin-left: -55px;
		margin-right: -55px;
		padding-left: 55px;
		padding-right: 55px;
	}

	.page-top .top-news {
		padding: 80px 0;
	}

	.page-top .top-banner {
		padding: 80px 0;
	}

	.page-top .section-label__ja {
		font-size: 32px;
	}
}

/* ============================================================
   レスポンシブ（768px以下）
   ============================================================ */

@media (max-width: 768px) {
	.page-top .kv {
		margin: 40px 12px 0;
		border-radius: 16px;
		aspect-ratio: 3 / 2;
		height: auto;
	}

	.page-top .kv__slide-img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: var(--pos-sp, center);
		transform: none;
		top: 0;
	}

	.page-top .kv__content {
		left: 50%;
		right: auto;
		transform: translate(-50%, -50%);
		white-space: nowrap;
		top: 80%;
		
	}

	.page-top .kv__catch {
		font-size: 26px;
		text-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.5);
	}

	.page-top .kv__sub {
		font-size: 12px;
	}

	.page-top .top-about {
		padding: 50px 0;
	}

	.page-top .top-about__inner,
	.page-top .top-service__inner,
	.page-top .top-contact__inner,
	.page-top .top-news__inner,
	.page-top .top-banner__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.page-top .top-about__inner {
		gap: 25px;
	}

	.page-top .top-about__row {
		flex-direction: column;
		gap: 25px;
	}

	.page-top .top-about__label {
		width: auto;
	}

	.page-top .top-about__cards {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.page-top .top-about__body p {
		font-size: 15px;
		line-height: 1.8;
	}

	.page-top .top-about__card {
    	padding: 15px 20px;
		border-radius: 15px;
	}

	.page-top .top-about__card-icon {
		width: 30px;
		height: 30px;
	}

	.page-top .top-about__card-text {
    	font-size: 16px;
	}

	/* Service */
	.page-top .top-service {
		padding: 50px 0;
		margin: 0 16px;
	}

	.page-top .top-service__inner {
		padding-top: 40px;
		padding-bottom: 40px;
		border-radius: 15px;
	}

	.page-top .top-service__cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.page-top .top-service__card {
		padding: 32px 20px 28px;
		gap: 20px;
		border-radius: 15px;
	}

	.page-top .top-service__card-logo-wrap {
		height: auto;
		width: 100%;
	}

	.page-top .top-service__card-logo--anshin,
	.page-top .top-service__card-logo--riskguard {
		width: 100%;
		max-width: 200px;
		height: auto;
	}

	.page-top .top-service__card-desc {
		font-size: 14px;
		line-height: 1.7;
	}

	.page-top .top-service__lead {
		text-align: left;
		font-size: 14px;
		line-height: 1.7;
	}

	/* Contact */
	.page-top .top-contact {
		padding: 56px 0;
		overflow: hidden;
	}

	.page-top .top-contact__label {
		margin-bottom: 32px;
	}

	.page-top .top-contact .section-label__ja {
		font-size: 20px;
	}

	.page-top .top-contact__tel-area {
		padding: unset;
	}

	.page-top .top-contact__divider {
		padding: 10px 0 0 0;
	}

	.page-top .top-contact__body {
		margin-top: -55px;
		margin-left: -20px;
		margin-right: -20px;
		padding: 70px 20px 50px;
		border-radius: 15px;
	}

	.page-top .top-contact__cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.page-top .top-contact__card {
		padding: 32px 24px;
	}

	.page-top .top-contact .btn-blue {
		width: 100%;
		justify-content: center;
		padding-left: 24px;
		padding-right: 24px;
	}

	/* 電話番号レイアウト：縦並びに変更 */
	.page-top .top-contact__tel-row {
		flex-direction: column;
		align-items: center;
		gap: 4px;
	}

	.page-top .top-contact__tel-label {
		font-size: 13px;
	}

	.page-top .top-contact__tel-num {
		font-size: 26px;
	}

	.page-top .top-contact__sub {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		text-align: center;
	}

	/* News */
	.page-top .top-news {
		padding: 50px 0;
	}

	.page-top .top-news__inner {
		flex-direction: column;
		gap: 32px;
	}

	.page-top .top-news__heading-area {
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.page-top .top-news__title {
		font-size: 14px;
	}

	/* Banner */
	.page-top .top-banner {
		padding: 20px 0 50px;
	}

	.page-top .section-label__ja {
		font-size: 26px;
	}

	.page-top .top-banner__inner p {
		text-align: left;
		font-size: 9px;
	}
}

@media (max-width: 480px) {
	.page-top .kv {
		margin: 48px 10px 0;
		border-radius: 12px;
	}

	.page-top .kv__catch {
		font-size: 20px;
	}

	.page-top .top-service {
		margin: 0 12px;
	}

	.page-top .top-contact__card {
		padding: 28px 20px;
	}

	.page-top .top-contact__tel-num {
		font-size: 24px;
	}

	.page-top .section-label__en {
		font-size: 16px;
	}

	.page-top .section-label__ja {
		font-size: 20px;
	}
}
