@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{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding: 0 4vw;
	position: relative;
	max-width: 1300px;
	margin-left: auto;
	margin-right: auto;
}

.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: #3D63CC;
	left: 0;
	bottom: -7px;
	height: 3px;
	width: 30%;
}


.first-wrapper{
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.first-container{
	width: 100%;
	margin: 50px 0;
	line-height: 1.6;
	padding: 20px 0;
}

.first-title{
	font-size: 1.4em;
	text-align: center;
	font-weight: bold;
	border-bottom: 2px solid #FF5050;
}
/* ------------------------- タイトル ------------------------- */
.title{
	width: 100%;
	font-size: 1.4em;
    text-align: center;
    font-weight: bold;
	margin-top: 80px;
    border-bottom: 2px solid #FF5050;
	padding-bottom: 5px;
}

.guide-section{
	display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

/* ----------本文---------- */
.text-wrapper {
    width: fit-content;
    margin: 20px auto;
    max-width: 90%;
}

.flex-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}

@media (min-width: 768px) {
    .flex-container {
        flex-direction: row;
        justify-content: center;
    }
    .info-column {
        flex: 1;
    }
}

.setumei {
    text-align: left;
    line-height: 1.4em;
    margin: 0;
}

.kome {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    line-height: 1.4em;
    font-size: 0.9em;
}

.kome li {
    display: flex;
}

.kome li::before {
    content: "※";
    flex-shrink: 0;
}

.store {
    display: table;
    margin: 10px auto 0;
    padding: 0;
    list-style: none;
    font-size: 1.1em;
    line-height: 1.4;
    text-align: left;
}

.store li {
    display: flex;
    align-items: flex-start;
}

.store li::before {
    content: "●";
    flex-shrink: 0;
    margin-right: 0.5em;
}

.button-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 10px;
	margin-bottom: 30px;
}

.button-container a {
    display: inline-block;
    width: 100%;
    max-width: 500px;
    color: #FFFFFF;
	font-weight: bold;
    padding: 15px 20px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.info-column {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

.is-carmodel {
    background-color: #f0f7ff;
    border-color: #007bff;
	border: 1px solid #006adc;
}

.is-catalog {
    background-color: #f0fff4;
    border-color: #28a745;
	border: 1px solid #1d8a36;
}

.is-carmodel .button-container a {
    background-color: #007bff;
}

.is-catalog .button-container a {
    background-color: #28a745;
}

.info-unknown {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

.is-faq .button-container a {
    background-color: #ef1e1e;
}

.is-inquiry .button-container a {
    background-color: #06a02a;
}

.button-container a:hover{
	opacity: 0.8;
}

.button-container .sub-text {
    display: block;
    font-size: 0.9em;
	font-weight: normal;
}

.tyuui-icon{
	width: 100%;
	margin: 10px 0 10px 10px;
	display: flex;
}

.tyuui-icon-box{
	height: 32px;
	border: 2px solid #FF5050;
	border-radius: 5px;
	padding: 1px 10px;
	display: flex;
	align-items: center;
}

.tyuui-icon-text{
	font-size: 1.2em;
	font-weight: bold;
	color: #FF5050;
	padding-left: 5px;
}

.tyuui-icon svg{
	width: 25px;
	height: 25px;
	fill: #FF5050;
}

/* ----------流れ---------- */
.order-steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fdfdfd;
    border: 2px solid #3D63CC;
    border-radius: 8px;
    padding: 10px 20px;
    margin: 20px 0;
    width: 100%;
}

.order-steps-title {
    font-size: 1.25em;
    font-weight: bold;
    color: #3D63CC;
    margin-bottom: 13px;
    padding-bottom: 5px;
    border-bottom: 2px solid #3D63CC;
    width: 100%;
    text-align: center;
}

.step-item {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item-kounyuu {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.step-item-kounyuu:last-child {
    margin-bottom: 0;
}

.step-number {
    background: #3D63CC;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    flex-shrink: 0;
    margin-right: 15px;
}

.step-title {
    font-weight: bold;
    margin: 0;
    color: #3D63CC;
    font-size: 1.05em;
}

.step-desc {
    font-size: 0.85em;
    margin: 3px 0 0 0;
    line-height: 1.4;
    color: #555;
}

/* スマホでは矢印を非表示 */
.step-arrow {
    display: none;
}

/* PCサイズ（1025px以上）の設定 */
@media screen and (min-width: 1025px) {
    .order-steps-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 20px;
        align-items: flex-start;
    }

    .order-steps-title {
        margin-bottom: 16px;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        width: 17%; /* ステップの幅を固定 */
        margin-bottom: 0;
    }

    .step-item-kounyuu {
        flex-direction: column;
        text-align: center;
        width: 23%; /* ステップの幅を固定 */
        margin-bottom: 0;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 10px;
        z-index: 2; /* 矢印より上に表示 */
    }

    /* 矢印を数字（36px）の中央に固定する */
    .step-arrow {
        display: block;
        flex-grow: 1; /* 隙間を埋める */
        height: 2px;
        background: #3D63CC;
        margin-top: 18px;
        position: relative;
        margin-left: -5px; /* 前後の隙間調整 */
        margin-right: -5px;
    }

    .step-arrow::after {
        content: "";
        position: absolute;
        top: -4px; /* 矢印の先端を中央に */
        right: -6px;
        border-left: 8px solid #3D63CC;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
    }
}

/* ------------------------- 代理店一覧 ------------------------- */
.agent-container{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 30px;
}

.agent-border{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #CCCCCC;
    min-width: 0;
}

.agent-container h4{
	width: 100%;
	text-align: center;
	font-weight: bold;
	padding: 10px 0;
	background: #EEEEEE;
}

.agent-list{
margin-top: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.agent-box{
padding: 15px 10px;
    display: flex;
    flex-direction: column; /* スマホでは縦並びにして、はみ出しを防ぎます */
    justify-content: flex-start;
    border-bottom: 1px dotted #AAAAAA;
    width: 100%;
    box-sizing: border-box;
}

.agent-box:last-of-type{
	border-bottom: none;
}

.agent-name{
    width: 100%;
    padding-left: 60px;
}

.url-text{
	font-size: 0.8em;
}

.agent-url{
    width: 100%;
    padding-left: 60px;
    margin-top: 5px;
}

.agent-url a{
	width: 100%;
	color: #1558D6;
	text-decoration: underline;
	font-size: 0.8em;
}

@media screen and (min-width: 768px) {
    .agent-border {
        width: 100%;
        max-width: 700px;
    }
    .agent-box {
        flex-direction: row;
        align-items: center;
    }
    .agent-name {
        width: 40%;
        padding-left: 60px;
    }
    .agent-url {
        width: 60%;
        margin-top: 0;
    }
}

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

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

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