@charset "UTF-8";

/* dia2_seriesから移植 */
.mainte {
	width: 16.2% !important;
}

.bgwhiteEnd {
	display: none;
}

.dia2_series_links {
	display: flex;
	justify-content: center;
	gap: 12px;
	/* 少しだけ余白 */
	width: fit-content;
	margin: 0 auto;
}

.dia2_series_links a {
	flex: 0 0 160px;
	/* ←これが超重要（かなり小さめ） */
}

.dia2_series_links img {
	width: 100%;
	height: auto;
}

.gridList03.dia2_series_links {
	width: auto;
}
/* END dia2_seriesから移植 */

.genealogy {
	width: 100%;
	margin-top: 20px;
	text-align: center;
	/* ←これ追加 */
}

.genealogy img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	/* 念のため中央寄せ */
}

/* ダイヤIIキーパーのメンテナンス案内全体 keeper_dia2.cssから分離移植 */
.dia2_info {
    margin: 2rem 0 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ロゴ画像と説明文 */
.dia2_info div.item1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* ロゴ画像 */
.dia2_info div.item1 img {
    display: inline-block;
    max-height: 2rem;
    width: 380px;
    margin-right: 5px;
}

/* 案内文 */
.dia2_info p {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 2.5rem;
}

/* 赤文字の強調文 */
.dia2_info p.point {
    color: #e50012;
}

/* 価格表の区切り線 */
.hr-lineup {
    border: 0.5px solid #e8e8e8;
    margin: 20px 0;
}

/* スマートフォン表示 */
@media screen and (max-width: 667px) {
    .dia2_info div.item1 {
        flex-direction: column !important;
        align-items: center;
        margin-bottom: 0.3rem;
    }

    .dia2_info div.item1 img {
        width: 80%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .dia2_info div.item1 p {
        display: block !important;
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    .dia2_info p {
        font-size: 1.05em;
        font-weight: bold;
        line-height: 1.3rem;
    }

    .dia2_info div.item2 {
        text-align: center;
    }

    .dia2_info.dis-pc {
        display: none;
    }

    .dia2_info.dis-sp {
        margin: 2rem 0 1rem 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
/* END ダイヤIIキーパーのメンテナンス案内全体 keeper_dia2.cssから分離移植 */

/* ダイヤシリーズリンクバナー用 対応するソースは現在コメントアウト　*/
@media screen and (max-width: 667px) {
	/* .dia2_series_links {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 8px;
	} */

	/* 各カード */
	/* .dia2_series_links a {
		flex: 0 0 30%;
		display: flex;
		align-items: center;
		justify-content: center;
	} */

	/* 画像のズレ完全防止 */
	/* .dia2_series_links img {
		display: block;
		width: 100%;
		height: auto;
	} */
}
