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

.error_message{
	border: 1px solid #FF5050;
	font-size: 0.7em;
	color: #FF5050;
	padding: 15px;
	border-radius: 5px;
	line-height: 1.6;
}

.contact-container{
	margin: 50px 0 50px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.contact-container form{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contact-first{
	margin-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.contact-title{
	color: #FFFFFF;
	font-size: 1.3em;
	font-weight: bold;
	background: linear-gradient(45deg, #3D63CC 70%, #FFFFFF);
	padding: 10px 0 10px 10px;
	width: 100%;
}

.contact-number{
	padding: 10px 0px 0px 10px;
	font-weight: bold;
	width: 100%;
}

.contact-number h3{
	font-size: clamp(20px, 7vw, 40px); 
}

.contact-number-mailto, .contact-hoshuu{
	color: #1A0DAB;
	text-decoration: underline;
}

.contact-partslist{
	color: red;
	text-decoration: underline;
}

.contact-number-mailto{
	margin-left: 1px;
}
.contact-hoshuu,.contact-partslist{
	margin-left: 20px;
}

.contact-box{
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	max-width: 1200px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.contact-text{
	line-height: 1.6;
	margin-top: 20px;
	width: 100%;
}

.contact-text p{
	margin-top: 0.5em;
}

.contact-text-mail{
	font-size: 0.8em;
	margin-top: 10px;
	margin-bottom: 10px;
	width: 100%;
}

.contact-mail-howto-box p{
	margin-top: 10px;
	padding: 8px 10px;
	display: inline-block;
	background: #666666;
	color: #FFFFFF;
	border-radius: 5px;
	font-size: 15px;
	transition: .3s;
}

.contact-mail-howto-box p::after{
	content: "";
	display: inline-block;
	left: 10px;
	top: 0;
	bottom: 0;
	margin: auto auto auto 5px;
	width: 9px;
	height: 9px;
	border-radius: 1px;
	border-top: 2px solid #FFFFFF;
	border-right: 2px solid #FFFFFF;
	transform: rotate(45deg);
	box-sizing: content-box;
}

.contact-mail-howto-box p:hover{
	background: #2ACEEB;
}

.contact-mail{
	font-weight: bold;
	line-height: 1.6;
}

.contact-mail-margin{
	margin-top: 10px;
}

.contact-mail a{
	color: #FF5050;
	text-decoration: underline;
}

/* リストのスタイル調整 */
.contact-notes-list {
    margin-bottom: 10px;
    list-style: none;
    padding-left: 10px;
}

.contact-notes-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 2px;
}

.contact-notes-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.contact-notes-day {
	margin-top: 15px;
    margin-bottom: 10px;
    list-style: none;
    padding-left: 10px;
}

.contact-notes-day li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
}

.contact-notes-day li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* 補修部品セクションの囲い */
.hoshuu-section {
    border: 1px solid #FF5050;
    border-radius: 5px;
    overflow: hidden;
	margin-bottom: 10px;
}

.contact-hoshuu-title {
	padding: 3px 15px;
	font-size: 1.1em;
	font-weight: bold;
	color: #FFFFFF;
	background: #FF5050;
	display: inline-block;
	margin-left: 6px;
    margin-left: 0;
    width: 100%;
    display: block;
    text-align: center;
	padding: 5px;
}

.hoshuu-content {
    padding: 20px;
    background-color: #f9f9f9;
}

.hoshuu-section.is-gray {
    border-color: #5b5b5b;
}

.hoshuu-section.is-gray .contact-hoshuu-title {
    background: #5b5b5b;
}

.hoshuu-section.is-gray .btn-parts {
    background-color: #5b5b5b;
}

.hoshuu-section.is-gray .btn-parts:hover {
    background-color: #9e9e9e;
}

.hoshuu-main-text {
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.hoshuu-main-text small {
    color: #666;
    font-weight: normal;
}

.hoshuu-steps {
    font-size: 0.95em;
    margin-bottom: 15px;
}

.hoshuu-steps p{
	margin-bottom: 7px;
	line-height: 1.5em;
}

.hoshuu-example {
    background: #fff;
    border: 1px dashed #ccc;
    padding: 10px;
    font-size: 0.9em;
    margin-bottom: 20px;
}

@media screen and (max-width: 480px) {
    .hoshuu-content {
        padding: 15px 12px;
    }

    .hoshuu-main-text {
        font-size: 1.05rem;
        line-height: 1.4;
    }

    .hoshuu-steps {
        font-size: 0.9rem;
    }

    .hoshuu-steps p {
        margin-bottom: 12px;
        line-height: 1.6;
    }

    .hoshuu-example {
        padding: 12px;
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media screen and (min-width: 1025px) {
    .contact-flex-container .hoshuu-section {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .hoshuu-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hoshuu-links {
        margin-top: auto; 
    }

    .contact-flex-container {
        flex-direction: row;
        align-items: stretch; 
    }
}

/* お問い合わせ前の確認エリア */
.faq-check-box {
    background-color: #f0f4ff;
    border: 2px solid #3D63CC;
    border-radius: 8px;
    padding: 25px 20px;
    margin: 10px auto;
    text-align: center;
}

.faq-check-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #3D63CC;
}

.faq-check-title h3 {
    font-size: 1.25em;
    font-weight: bold;
    margin: 0;
}

.icon-info {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #3D63CC;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 10px;
    font-weight: bold;
}

.faq-check-text {
    line-height: 1.6;
	text-align:left;
}

/* スマホ表示の調整 */
@media screen and (max-width: 767px) {
    .faq-check-box {
        margin: 20px 10px;
        padding: 20px 15px;
    }
}

/* ボタンリンクのスタイル */
.hoshuu-links {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.hoshuu-links a {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.9em;
    transition: 0.3s;
}

.btn-detail {
    background-color: #3D63CC;
    color: #fff ;
}

.btn-parts {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    background-color: #FF5050;
    color: #ffffff ;
    transition: 0.3s;
}

.btn-parts:hover {
    background-color: #ff8b8b;
    color: #fff ;
    text-decoration: none ;
}

/* モバイル対応の微調整 */
@media screen and (max-width: 767px) {
    .hoshuu-links a {
        width: 100%;
    }
}

/* --- 共通設定（スマホ優先） --- */
.contact-flex-container {
    display: flex;
    flex-direction: column; /* スマホでは縦並び */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 0; /* 枠いっぱいにタイトルを表示するため */
}

/* 強調したい箇所の装飾 */
.important-note {
    color: #d00;
    background: #fff5f5;
    padding: 5px;
    border-radius: 4px;
}

/* --- PCサイズでのレイアウト--- */
@media screen and (min-width: 1025px) {
    .contact-flex-container {
        flex-direction: row; /* PCでは横並び */
        align-items: stretch;
    }

    .contact-box {
        width: calc(50% - 10px);
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }

    .contact-content-inner {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .contact-number {
        width: 100%;
    }

    .contact-text {
        width: 100%;
        margin-top: auto;
    }
}

.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-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-number {
        margin-right: 0;
        margin-bottom: 10px;
        z-index: 2; /* 矢印より上に表示 */
    }

    /* 矢印を数字（36px）の中央に固定する */
    .step-arrow {
        display: block;
        flex-grow: 1; /* 隙間を埋める */
        height: 2px;
        background: #3D63CC;
        /* 数字アイコン(36px)の半分(18px)の位置に固定 */
        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;
    }
}

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

	.kakunin-container dt, .kakunin-container dd{
		width: 45%;
	}
	
	.contact-text-p{
		display: flex;
		flex-direction: row;
	}

	.contact-number-mailto{
		margin-left: 1px;
	} 
	
	.contact-hoshuu,.contact-partslist{
		margin-left: 10px;
	}
	
	.contact-mail-howto-box p{
		font-size: 20px;
	}
	
	.contact-mail-howto-box p{
		padding: 8px 15px;
	}

.contact-mail-howto-box p::after{
		margin: auto auto auto 8px;
	}
		
}
/*===================
横幅1025px以上でのレイアウト　メイン
===================*/
@media screen and (min-width: 1025px){
	.container{
		flex-direction: row;
		margin-top: 105px;
		position: relative;
	}
	
	.bottom-menu{
		display: none;
	}
	
	.contact-mail a{
		text-decoration: none;
	}
	
	.contact-mail a:hover{
		text-decoration: underline;
	}
	
	.contact-number h3{
		font-size: clamp(20px, 7vw, 34px); 
	}

	.contact-number-mailto, .contact-hoshuu, .contact-partslist{
		text-decoration: none;
	}
	
	.contact-number-mailto:hover, .contact-hoshuu:hover, .contact-partslist:hover{
		text-decoration: underline;
	}
}
/*===================
横幅1400px以上でのレイアウト　メイン
===================*/
@media screen and (min-width: 1400px){
	.main-container{
		padding: 0 50px;
	}
}
