:root {
	--color-green: #199331;
	--color-gray: #f7f7f7;
	--color-white: #ffffff;
	--color-black: #222222;

	--color-shadow: rgba(0, 0, 0, 0.1);

	--text-black: #222222;
	--text-gray: #777;
}


/**************************************************
h2設定削除
**************************************************/
h2 {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
}

h2:first-child {
	margin: 0;
}


/**************************************************
トップ共通パーツ
**************************************************/
/* ==============================
top-title
============================== */
.top-title {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	font-size: 24px;
	text-align: center;
}

.top-title:first-child {
	margin: 0;
}

.top-title span {
	display: block;
}

.top-title__en {
	text-align: center;
	font-size: 40px;
}

.top-title__ja {
	text-align: center;
	font-size: 13px;
	color: var(--color-green);
}

/* 白文字設定 */
.top-title--white {
	color: var(--color-white);
}

.top-title--white .top-title__ja {
	color: var(--color-white);
}




/**************************************************
メインスライダー
**************************************************/
.bx-wrapper:has(.top-slider) {
	margin-bottom: 0;
}

.top-slider {
	width: 100%;
	height: 250px;
	overflow: hidden;
	position: relative;
}

.top-slider__item,
.top-slider__item-inner {
	height: inherit;
}

.top-slider__item {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* 個別設定：画像 */
.top-slider__item {
	&._slider01 {
		background-image: url(../images/slider/s1.webp);
	}

	&._slider02 {
		background-image: url(../images/slider/s2.webp);
	}

	&._slider03 {
		background-image: url(../images/slider/s3.webp);
	}
}

.top-slider__item-inner {
	display: grid;
	place-items: center;
}

.top-slider__item-text {
	text-align: center;
	font-size: clamp(20px, 3.5vw, 40px);
	color: var(--color-white);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: 2px;
	z-index: 1;
	position: relative;
}

/* 個別設定：テキスト */
.top-slider__item {
	&._slider01 .slider01-text_en,
	&._slider02 .slider02-text_en {
		display: inline-block;
		font-size: 14px;
		color: #00468d;
		line-height: 1.3;
		font-weight: bold;
		font-style: italic;
	}

	&._slider01 .slider01-text_ja {
		position: relative;
		display: block;
		padding: 5px 20px;
		margin-top: 0;
		font-size: clamp(24px, 3.3vw, 48px);
		color: #fff;
		line-height: 1.1;
		font-weight: 700;
		letter-spacing: 2px;
		z-index: 1;
		text-shadow: rgba(0, 0, 0, 0.2) 2px 2px;
	}

	&._slider02 .slider02-text_ja {
		position: relative;
		display: block;
		padding: 5px 20px;
		margin-top: 0;
		font-size: clamp(20px, 3.3vw, 48px);
		color: #00468d;
		line-height: 1.1;
		font-weight: 700;
		z-index: 1;
		text-shadow: rgba(255, 255, 255, 0.2) 1px 1px;
	}

	&._slider03 .top-slider__item-text {
		text-shadow: rgba(0, 0, 0, 0.9) 0px 0px 6px;
		position: relative;
		top: 20px;
	}
}

.top-slider__item-text img {
	display: block;
	width: 600px;
	height: auto;
}

@media (min-width:920px) {
	.top-slider::before {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		width: 220px;
		height: 500px;
		background: url(../images/slider/slide_l.webp) no-repeat center center;
		z-index: 100;
	}

	.top-slider::after {
		content: "";
		position: absolute;
		right: 0;
		top: 0;
		width: 220px;
		height: 500px;
		background: url(../images/slider/slide_r.webp) no-repeat center center;
		z-index: 100;
	}
}

@media (min-width:768px) {
	.top-slider {
		height: 500px;
	}

	.top-slider__item {

		&._slider01 .slider01-text_en,
		&._slider02 .slider02-text_en {
			background: url(../images/slider/st_bg.webp) right center no-repeat;
			padding: 25px 30px 40px 0;
			font-size: 26px;
		}

		&._slider01 .top-slider__item-text,
		&._slider02 .top-slider__item-text {
			position: relative;
			top: -30px;
		}
	}
}




/**************************************************
メニュー
**************************************************/
.top-menu {
	background-color: var(--color-gray);

}

.top-menu__list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.top-menu__item {
	background: var(--color-white);
	padding: 0 0 15px;
	box-shadow: 0 2px 2px var(--color-shadow);
	border-radius: 7px;
	overflow: hidden;
}

/* タイトル */
.top-menu__item-title {
	position: relative;
	background-image: none;
	background-color: var(--color-black);
	padding: 20px 15px;
	margin: 0 !important;
	color: var(--color-white);
	text-align: center;
	border: none;
	z-index: 1;
}

/* 個別設定 */
.top-menu__item {
	&._about .top-menu__item-title {
		background-color: #00488f;
	}

	&._jro .top-menu__item-title {
		background-color: #0071bc;
	}

	&._member .top-menu__item-title {
		background-color: #51A6CA;
	}
}

/* タイトル下の写真とテキスト */
.top-menu__item-text {
	background-position: right center;
	background-size: cover;
	background-repeat: no-repeat;
	font-size: 16px;
	padding: 35px 40px;
	margin: 0;
	text-align: left;
	font-weight: bold;
}

/* 個別設定 */
.top-menu__item {
	&._about .top-menu__item-text {
		color: #00488f;
		background-color: #00488f;
		background-image: url(../images/top-menu_01.webp);
		position: relative;
	}

	&._jro .top-menu__item-text {
		color: #0071bc;
		background-color: #0071bc;
		background-image: url(../images/top-menu_02.webp);
		position: relative;
	}

	&._member .top-menu__item-text {
		color: #368cb1;
		background-color: #51A6CA;
		background-image: url(../images/top-menu_03.webp);
		position: relative;
	}
}

/* タイトル下の三角形 */
.top-menu__item .top-menu__item-text::before {
	content: '';
	display: block;
	width: 16px;
	height: 8px;
	clip-path: polygon(100% 0, 50% 100%, 0 0);
	background-color: inherit;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

/* リンク一覧 */
.top-menu__link-list {
	padding: 15px 15px 0 !important;
}

.top-menu__link-item a {
	color: var(--text-black);
	font-size: 15px;
	margin: 0;
	font-weight: bold;
}

.top-menu__link-item a:hover {
	color: var(--text-gray);
}

/* リンクレイアウト個別設定 */
.top-menu__item {
	&._about .top-menu__link-list {
		display: grid;
		grid-template-columns: repeat(2, auto);
		column-gap: 10px;
	}
}

/* 注釈 */
.top-menu__item-note {
	font-size: 12.5px;
	font-weight: bold;
	padding: 0 15px;
	margin: 0;
}

@media (min-width:1200px) {
	.top-menu__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width:768px) {
	.top-menu__list {
		margin-top: 0;
		position: relative;
		top: -40px;
		margin-bottom: -40px;
	}
}


/**************************************************
バナー
**************************************************/
.top-banner {
	background-color: var(--color-gray);
	padding-top: 20px;
	padding-bottom: 60px;
}

.top-banner__list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
}

.top-banner__item {
	width: 100%;
	max-width: 460px;
	margin-inline: auto;
}

.top-banner__item a {
	display: block;
}

.top-banner__item img {
	display: block;
	width: 100%;
	height: 100%;
}

@media (min-width:768px) {
	.top-banner__list {
		grid-template-columns: repeat(3, 1fr);
	}
}



/**************************************************
リコール情報
**************************************************/
.top-recall {
	padding-top: clamp(15px, 2.7vw, 40px);
	padding-inline: unset;
	background-color: #00468d;
	background: url(../images/top-recall_bg.svg) no-repeat center center;
	background-size: cover;
	border-radius: 14px;

	margin: 60px auto 0;
	width:92%;
    max-width: 1200px;
}

.top-recall__title {
	color: var(--color-white);
	text-align: center;
}

.top-recall__title-head {
	display: block;
	font-size: clamp(30px, 3.5vw, 38px);
	line-height: 1.5;
	font-weight: bold;
}

.top-recall__title-sub {
	font-size: clamp(13px, 2.5vw, 20px);
}

.top-recall__content {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: clamp(15px, 2.7vw, 40px);
	padding:4%;
}

.top-recall__item-title {
	display: block;
	width: fit-content;
	margin: 0 auto 10px;
	padding: 10px 20px;
	text-box: trim-both cap alphabetic;
	border: none;
	background-color: var(--color-black);
	color: var(--color-white);
}

.top-recall__item {
	&._domestic .top-recall__item-title {
		background-color: #1c478a;
	}

	&._overseas .top-recall__item-title {
		background-color: #18992d;
	}
}

.top-recall__item {
	background-color: var(--color-white);
	padding: 20px;
	border-radius: 7px;
	display: flex;
	flex-direction: column;
}

.top-recall__more {
	margin-top: auto;
}

@media (min-width:980px) {
	.top-recall__content {
		grid-template-columns: repeat(2, 1fr);
	}
}


/**************************************************
リンク
**************************************************/
.top-link {
	margin-top: 60px;
}

.top-link__list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: clamp(15px, 4.16vw, 60px);
	margin: 0;
}

.top-link__item {
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
	width: 100%;
	max-width: 460px;
	margin-inline: auto;
}

.top-link__item a {
	display: block;
}

.top-link__item img {
	display: block;
	width: 100%;
	height: 100%;
}

@media (min-width:768px){
	.top-link__list {
		grid-template-columns: repeat(2, 1fr);
	}	
}



/**************************************************
コンセプト
**************************************************/
.top-concept {
	background-color: #00468d;
	background: url(../images/top-concept_bg.svg) no-repeat center center;
	background-size: cover;
	padding-block: 60px;
	margin-top: 60px;
}

.top-concept__title {
	text-transform: uppercase;
}

.top-concept__text {
	border-top: 1px solid var(--color-white);
	margin-top: 40px;
	padding-top: 30px;

	color: var(--color-white);
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.8;
	font-weight: bold;
}

.top-concept__image-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
	margin-top: 40px;
	max-width: 340px;
}

.top-concept__image-item {
	text-align: center;
	width: 50%;
	max-width: 150px;
	padding-inline: 10px;
	box-sizing: border-box;
}

.top-concept__image-item img {
	display: block;
	width: 100%;
}

.top-concept__image-item h3 {
	margin: 0;
	padding: 0;
	border: none;
	color: var(--color-white);
	font-size: clamp(14px, 1.25vw, 16px);
	font-weight: bold;
}

@media (min-width:768px) {
	.top-concept__text {
		text-align: center;
	}

	.top-concept__image-list {
		max-width: 600px;
	}

	.top-concept__image-item {
		max-width: 180px;
		width: 30%;
	}
}

@media (min-width:980px) {
	.top-concept__image-list {
		max-width: 900px;
	}

	.top-concept__image-item {
		width: 20%;
	}
}



/**************************************************
講習会・セミナー情報、お知らせ
**************************************************/
.top-information {
	margin-top: 60px;
}

.top-information__list {
	margin-top: 20px !important;
}


/**************************************************
ニュースリリース
**************************************************/
.top-news {
	margin-top: 60px;
	padding-block: 60px;
	background-color: #f0f3f7;
}

.top-news__list {
	margin-top: 20px !important;
}