﻿@charset "UTF-8";

*{
	min-width: 0;
	min-height: 0;
}

#wrapper{ /* 全体を囲う */
	margin: auto;
	width: 100%;
	font-size: 1em; /* 基本文字サイズ */
	color: #333333; /* 基本文字色 */
	position: relative;
	display: none;
}

body{
	overflow-x: hidden;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", "メイリオ","Meiryo", sans-serif;
	background: #FFFFFF;
	
}

.icon-pdf::after{ /* 文字の後ろにpdfアイコンを表示 */
	margin-left: 10px;
	content: "";
	width: 1.5em;
	height: 1.5em;
 	display: inline-block;
	background-image: url(../../../images/all-menu/icon-pdf.png);
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
	transform: translateY(-3px);
}

/*===============================================================
 メイン
=================================================================*/

.container{ /* メインからフッター前まで囲う */
	display: flex;
	flex-direction: column;
	margin-top: 50px;
}

.bottom-menu{ /* 下メニュー(スマホ用) */
	position:fixed;
	bottom: 0;
	z-index: 4;
	width: 100%;
	transition: .3s;
	box-shadow: 0px -1px 6px #BAC2D0;
	background-color: rgba(255,255,255,0.8);
	height: 125px;
}

.bottom-menu ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}
.bottom-menu li{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 33%;
}

.bottom-menu a{
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 0.6em;
	padding: 5px 0;
	position: relative;
	color: #3D63CC;
	font-weight: bold;
}

.bottom-menu svg{
	width: 36px;
	height: 48px;
	fill: #3D63CC;
}

.bottom-menu.hide{
	transform: translateY(100%);
}

.bottom-menu-text{
	position: absolute;
	bottom: 0;
}

.main-contents{
	display:flex;
	flex-direction: column;
	width: 100%;
	position: absolute;
	top: 0;
	right: 0;
}

/* パンくずリスト */
.breadcrumbs{
	background: #f7f7f7;
	padding-left: 10px;
}

.breadcrumbs ul{
	margin: 20px auto 10px auto;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8em;
	width: 100%;
	max-width: 1200px;
}

.breadcrumbs a{
	padding: 5px;
}

.breadcrumbs a:hover{
	text-decoration: underline;
}

.breadcrumbs li:last-child{
	font-weight: bold;
	pointer-events: none; /* 最後(現在地)のリンク無効に */
}

.breadcrumbs li::after{
	content: "\03e";
	margin: 0 10px;
	color: #888888;
}

.breadcrumbs li:last-child::after{ /* 最後の記号をなしに */
	content: "";
}

/*===================メインコンテンツ===================*/

.main-container{
	width: 100%;
	padding: 0 4vw;
	margin-left: auto;
	margin-right: auto;
	max-width: 1300px;
}

.main-title{
	margin-top: 50px;
	width: 100%;
}

.main-title h2{
	font-weight: bold;
	font-size: 1.6em;
	text-align: center;
}

.title-deco h2{
	position: relative;
}

.title-deco h2::before{ /* 各タイトル前の四角 */
	content: "";
	position: absolute;
	background-color: #EEEEEE;
	left: 0;
	bottom: -7px;
	height: 3px;
	width: 100%;
}

.title-deco h2::after{ /* 各タイトル前の四角 */
	content: "";
	position: absolute;
	background-color: #FF5050;
	left: 0;
	bottom: -7px;
	height: 3px;
	width: 30%;
}

.carmodel-tyuui{
	line-height: 1.6;
	border: 1px solid #666666;
	padding: 10px;
}

.carmodel-tyuui-title{
	color: #FF5050;
	margin-bottom: 6px;
	font-weight: bold;
	text-align: center;
}

.carmodel-tyuui-text{
	width: 100%;
	font-size: 0.9em;
}

.carmodel-tyuui-text a{
	color: #1558D6;
	text-decoration: underline;
}

.carmodel-tyuui-text ul{
	margin-top: 10px;
	text-align: left;
}

.carmodel-tyuui-text li{
	list-style:none;
}

.carmodel-tyuui-text li::before{
	content: '※'; 
}

.carmodel-tyuui-text-days{
	margin-top: 5px;
	text-align: right;
	font-size: 0.9em;
}

.carmodel-container{
	margin: 50px 0 50px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.carmodel-catalog{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    width: auto;
    margin-top: 10px;
}

.carmodel-box{
	margin-top: 30px;
	max-width: 500px;
	text-align: center;
}

.carmodel-box img{
    width: 100%;
    height: auto;
}

.carmodel-text{
    font-size: 1.2em;
    text-align: left;
    width: 100%; 
}

.carmodel-text span{
	display: inline-block;
	margin-left: 0.8em;
}

.carmodel-text::before{
	content: "\025c6";
}

@media screen and (max-width: 767px) {
    .carmodel-catalog {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .carmodel-box {
        max-width: 90%;
        text-align: left;
    }

    .carmodel-box img {
        width: 70%;
        margin: 0 auto 10px auto;
        display: block;
    }

.carmodel-text{
    text-align: center;
}
}

/*===================
横幅768px以上でのレイアウト　メイン
===================*/
@media screen and (min-width: 768px){
	.container{
		margin-top: 65px;
	}
	
	.breadcrumbs{
		padding-left: 30px;
	}

	
	.carmodel-box{
		max-width: 600px;
	}
}
/*===================
横幅1025px以上でのレイアウト　メイン
===================*/
@media screen and (min-width: 1025px){
	.container{
		flex-direction: row;
		margin-top: 105px;
		position: relative;
	}
	
	.bottom-menu{
		display: none;
	}
	
	.catalog{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: stretch;
		width: 100%;
	}

	.carmodel-box{
		width: 32%;
	}
	
	.carmodel-kaigyou{
		display: inline-block;
	}
	
	.carmodel-text{
		height: 28px;
	}

	
	.carmodel-tyuui-text a{
		text-decoration:none;
	}
	
	.carmodel-tyuui-text a:hover{
		text-decoration:underline;
	}

}
/*===================
横幅1400px以上でのレイアウト　メイン
===================*/
@media screen and (min-width: 1400px){
	.main-container{
		padding: 0 50px;
	}
}
