@charset "utf-8";




/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css@13.0.0/sanitize.css");

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&display=swap');

/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	margin: 0;padding: 0;
	height: 100%;
	font-size: 13px;	/*基準となるフォントサイズ。下の方にある「画面幅900px以上」で基準を大きなサイズに再設定しています。*/
}

body {
	font-family: 'BIZ UDPGothic', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #555;		/*全体の文字色*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*ul,olタグ*/
ul, ol {margin-bottom: 30px;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #57524b;	/*文字色*/
	transition: 0.3s;
}

a:hover {
	opacity: 0.8;	/*マウスオン時に80%の透明度にする*/
}


/*sectionタグと、詳細ページの共通設定
---------------------------------------------------------------------------*/
section,
main > article {
	margin: 0 auto;
	max-width: 1300px;	/*最大幅。これ以上広がらない。*/
	padding: 2% 5%;		/*ボックス内の余白*/
}


/*containerブロック
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	display: flex;				/*flexボックスを使う指定*/
	align-items: center;		/*垂直揃えの指定。上下中央に配置されるように。*/
	justify-content: flex-end;	/*並びかたの種類の指定*/
	background: #111;			/*背景色*/
	color: #fff;				/*文字色*/
	position: relative; z-index: 1;
}

/*ヘッダーのリンクテキストの文字色*/
header a {
	color: #fff;
}

/*ロゴ画像*/
header #logo img {display: block;}
header #logo {
	margin: 0;
	background: linear-gradient(150deg, #ff0e0e, #770000);/*背景グラデーションdegは角度。*/
	width: 200px;		/*ロゴの幅*/
	padding: 25px 25px;	/*ロゴ内の余白。ロゴ画像と背景グラデーションの余白です。*/
	position: absolute;
	left: 3%;	/*ヘッダーの左からの配置場所の指定*/
	top: 0px;	/*ヘッダーの上からの配置場所の指定*/
	box-shadow: 0px 0px 30px rgba(119,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅の順番。rgbaの数字は、最初の３つがRGBでの色指定で最後の小数点が透明度の指定。*/
}


/*menubarブロック初期設定
---------------------------------------------------------------------------*/
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*メニューを非表示にしておく*/
#menubar {display: none;}

/*開閉用のスタイル*/
#menubar.db {display: block;}
#menubar.dn {display: none;}

/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
	text-align: center;		/*テキストを中央に*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする指定*/
}


/*小さな端末時にアイコン類だけ横並びにする
---------------------------------------------------------------------------*/
.s #menubar.db li.inline,
.s #menubar.db li.inline a {
	display: inline-block;
}


/*小さな端末用の開閉ブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.s #menubar.db {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 70px 0;	/*上下、左右へのブロック内の余白*/
	background: rgba(0,0,0,0.9);		/*背景色。0,0,0は黒の事で0.9は色が90%出た状態。*/
	color: #fff;						/*文字色*/
	animation: animation1 0.2s both;	/*animation.cssの、animation1を実行する。0.2sは0.2秒の事。*/
	text-align: center;
}

/*メニュー１個あたりの設定*/
.s #menubar.db a {
	color: #fff;	/*文字色*/
	padding: 20px;	/*メニュー内の余白*/
}


/*ドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンを非表示にしておく*/
#menubar .ddmenu_parent ul {
	display: none;
}

/*ドロップダウンメニューを持つ親に矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f103";		/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
}

/*ドロップダウンを持つ親のマウスオン時にリンク用のカーソルでなくデフォルトの矢印を出す*/
a.ddmenu {
	cursor: default;
}

/*ドロップダウンメニュー１個あたりの設定*/
.ddmenu_parent ul a {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒の事で0.8は色が80%出た状態の事。*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*開閉用のスタイル*/
#menubar_hdr.db {display: flex;}
#menubar_hdr.dn {display: none;}

/*３本バーを囲むブロック*/
#menubar_hdr {
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 3%;			/*左からの配置場所指定*/
	top: 0px;			/*上からの配置場所指定*/
	padding: 16px 14px;	/*上下、左右への余白*/
	width: 52px;		/*幅（３本バーが出ている場合の幅になります）*/
	height: 52px;		/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	order: 0;						/*表示させる順番。「#menubar_hdr」「#logo」「#header-icon」それぞれに指定しており、数字の「小さな順」に左から並びます。*/
	background: rgba(0,0,0,0.5);	/*背景色*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 2px solid #fff;	/*線の幅、線種、色*/
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
	width: 26px;						/*バーの幅*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(6px, 7px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(6px, -7px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;	/*２本目は使わないので非表示にする*/
}


/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {	
	flex: 1;
}

/*トップページ以外のページのmain上部に余白をとる*/
body:not(.home) main {
	padding-top: 80px;
}

/*お問い合わせページのmain上部に余白をとる（body class="home"の場合でも）*/
body.contact-page main,
body:has(section:first-child h2:first-child) main {
	padding-top: 80px;
}

/*お問い合わせページのsection内のh2に余白を追加*/
body.contact-page main section:first-child h2:first-child,
main section:first-child h2:first-child {
	margin-top: 0;
}

/*mainブロック内のh2タグ*/
main h2 {
	margin-bottom: 30px;	/*下に空けるスペース*/
	position: relative;		/*アニメーションに必要な設定*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる設定*/
	border-bottom: 3px solid #f5f5f5;	/*デフォルトのラインの色。下の「bottom」と「height」の３ヶ所の数字部分を合わせる*/
}

/*下線スタイル*/
main h2 .uline {
	display: inline-block;position: relative;
	padding: 10px 20px;	/*h2タグ内の余白。上下、左右への順番。*/
	bottom: -3px;		/*上の「border-bottom」と下の「height」の３ヶ所の数字部分を合わせる。※この行だけマイナスをつけるように。*/
}
main h2 .uline::before {
	content: "";position: absolute;bottom: 0px;left: 0px;width: 100%;
	height: 3px;	/*ラインの高さ。上の「border-bottom」と「bottom」の３ヶ所の数字部分を合わせる*/
	background: #111;			/*アニメーション時のラインの色*/
	transition: 1s 0.5s;		/*1sはアニメーションの実行時間は1秒。0.5秒遅れてスタートする指定。*/
	transform: scaleX(0);		/*幅。最初は0にして見えなくしておく。*/
	transform-origin: left top;	/*線の出現起点が左からになるように。中央からの出現がよければこの１行削除。*/
}
main h2.linestyle .uline::before {
	transform: scaleX(1);
}

/*mainブロック内のh3タグ*/
main h3 {
	margin-bottom: 20px;	/*下に空けるスペース*/
}

/*mainブロックのh3タグの冒頭の装飾設定*/
main h3::before {
	display: inline-block;
	content: "■";			/*この記号を表示させる*/
	transform: scale(0.5);	/*実寸の50%に縮小する指定*/
	padding-right: 10px;	/*記号とテキストとの間にとる余白*/
	margin-left: -0.4em;	/*少しだけ左側に移動する*/
}

/*tire.htmlページのh3要素の疑似要素を削除*/
body.tire-page main h3::before {
	content: none;
	display: none;
}

/*mainブロックのpタグ*/
main p {
	margin: 0 20px 8px;	/*上、左右、下へ空けるスペース*/
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.7rem;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
	background: #111;		/*背景色*/
	color: #fff;			/*文字色*/
	margin-top: 50px;
}

/*リンクテキスト*/
footer a {text-decoration: none;color: #fff;}

/*著作部分*/
footer .pr {
	display: block;
	margin-top: 10px;
}


/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#footermenu {
	margin: 0;padding: 0;
	margin-bottom: 15px;	/*下に空けるスペース*/
}

/*メニュー１個あたり*/
#footermenu li {
	display: inline-block;	/*横並びにする*/
	padding: 0 10px;		/*上下、左右への余白*/
	font-size: 1.2em;
}


/*スライドショー（slickを使用）
---------------------------------------------------------------------------*/
.mainimg {
	position: relative;
}

/*丸いページナビボタン全体を囲むブロック*/
ul.slick-dots {
	margin:0;padding: 0;
	line-height: 1;
	width: 100%;
	text-align: center;
	position: absolute;
	bottom: 10px;	/*下からの配置場所指定*/
}

/*丸いページナビボタン１個あたりの設定*/
ul.slick-dots li {
	display: inline-block;
	margin: 0 10px;
	cursor: pointer;
}

/*buttonタグ*/
ul.slick-dots li button {
	border: none;padding: 0;
	display: block;
	text-indent: -9999px;	/*デフォルトで文字が出るので画面の外に追い出す指定*/
	width: 12px;			/*ボタンの幅*/
	height: 12px;			/*ボタンの高さ*/
	border-radius: 50%;		/*丸くする指定*/
	cursor: pointer;		/*クリックで画像へジャンプするので、わかりやすいようhover時にpointerになるように。*/
	background: #fff;		/*背景色。白。*/	
}

/*buttonのアクティブ時（現在表示されている画像を示すボタン）*/
ul.slick-dots li.slick-active button {
	background: #ff0e0e;	/*色*/
}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 20px;	/*上下、左右へのボックス内の余白*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	padding: 5px 0;		/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
#new dt {
	width: 8em;	/*幅。8文字(em)分。※下の「900px以上」の端末用の設定に再設定があります。*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 8em);	/*「8em」は上の「#new dt」のwidthの値です。※下の「900px以上」の端末用の設定に再設定があります。*/
}


/*listブロック
---------------------------------------------------------------------------*/
.list {
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px 20px 70px 20px;	/*ボックス内の余白（上、右、下、左）*/
	background: #fff;		/*背景色*/
	color: #262626;			/*文字色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	position: relative;
}

/*ボックス内のh4タグ*/
.list h4 {
	margin: 0;
	color: #666;	/*文字色*/
}
.list h4 a {
	color: #666;	/*リンクテキストの文字色*/
}

/*ボックス内のpタグ*/
.list p {
	margin: 0;
	font-size: 0.8em;	/*文字サイズを80%に*/
}

/*list内のNEWマーク*/
.list .new {
	font-size: 0.6em;		/*文字サイズ*/
	background: #ff0000;	/*背景色*/
	color: #fff;			/*文字色*/
	width: 50px;			/*幅*/
	line-height: 50px;		/*高さ*/
	border-radius: 50%;		/*角丸のサイズ。円形になります。*/
	text-align: center;		/*テキストをセンタリング*/
	position: absolute;
	left: -10px;			/*listブロックに対して左からの配置場所の指定*/
	top: -10px;				/*listブロックに対して上からの配置場所の指定*/
	transform: rotate(-30deg);	/*回転。まっすぐ表示させたいならこの１行を削除。*/
}

/*list内でのbtn*/
.list .btn {
	margin-top: 1em;	/*ボタンの上に１文字分のスペースを空ける*/
}
.list .btn a {
	display: block;
}


/*FAQ
---------------------------------------------------------------------------*/
/*FAQボックス全体*/
.faq {
	padding: 0 5px;	/*上下、左右へのボックス内の余白*/
}

/*質問*/
.faq dt {
	border-radius: 3px;		/*枠を角丸にする指定*/
	margin-bottom: 20px;	/*下に空けるスペース*/
	background: linear-gradient(#fff, #f7f7f7);	/*背景グラデーション*/
	text-indent: -2em;				/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
	padding: 5px 1em 5px 3em;		/*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
	border: 1px solid #e4e2d7;		/*枠線の幅、線種、色*/
}

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f059";		/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	color: #770000;			/*アイコンの色*/
	padding-right: 1em;		/*アイコンとテキストの間の余白*/
}

/*回答*/
.faq dd {
	padding: 5px 1em 30px 3em;		/*ボックス内の余白**/
}

/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}

.faq dt span {text-indent: 0;}


/*btnの設定
---------------------------------------------------------------------------*/
p.btn {margin: 0;}

/*ボタンを囲むブロック*/
.btn {
	text-align: center;	/*内容をセンタリング*/
}

/*ボタン*/
.btn a,
.btn input {
	display: inline-block;text-decoration: none;border: none;
	font-size: 1em;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅の順。0,0,0は黒の事で0.2は色が20%出た状態。*/
	background: linear-gradient(150deg, #ff0e0e, #770000);/*背景グラデーション。#logoと合わせています。*/
	letter-spacing: 0.1em;	/*文字間隔を少し広くする指定*/
	color: #fff;			/*文字色*/
	transition: 0.3s;		/*hoverまでにかける時間。0.3秒。*/
	padding: 1em 2em;		/*余白*/
	margin: 0 auto 30px;	/*ボタンの外側に空けるスペース。上、左右、下への順番。*/
}

/*ボタンのマウスオン時*/
.btn a:hover,
.btn input:hover {
	cursor: pointer;		/*inputタグを使う場合に「手」のマークになるように。リンクと同じ表示になるようにという事です。*/
	opacity: 0.8;			/*冒頭のリンクテキストのhoverと合わせました*/
	transform: scale(1.02);	/*実寸の102%に拡大*/
}

/*listブロック内のボタン*/
.list .btn a {
	margin: 0;
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 10px 5px;		/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: #eee;		/*背景色*/
	margin-bottom: 15px;	/*下に空けるスペース*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	border-top: 1px solid #ccc;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;
	margin: 0 auto 30px;		/*最後の「30px」がテーブルの下に空けるスペースです*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #ccc;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 10px 5px;		/*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
}


/*背景色パターン
---------------------------------------------------------------------------*/
.bg1 {
	background: #eee;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5em;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: #770000 !important;}
.color-check, .color-check a {color: #f00 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb30 {margin-bottom: 30px !important;}
.mt30 {margin-top: -30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #666; color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.look .color-check {color: #ffcc00 !important;}
.small {font-size: 0.6em;}

/*モバイルサイズでのボタンとテキストの重なり防止*/
@media screen and (max-width: 599px) {
	/*モバイルサイズでのロゴサイズ調整*/
	header #logo {
		width: 120px;		/*ロゴの幅を小さく*/
		padding: 15px 15px;	/*ロゴ内の余白を小さく*/
	}
	
	.text-box .btn.mt30 {
		margin-top: 20px !important;
		position: relative;
		z-index: 1;
	}
	
	.text-box p {
		margin-bottom: 20px;
	}
	
	/*モバイルサイズでのlist.blur.blurstyleの下部余白調整*/
	.list.blur.blurstyle {
		margin-bottom: 15px;
		padding-bottom: 10px;
	}
	
	/*パーツページのモバイル用設定を強化*/
	section .parts-container,
	section .direct-service-container {
		display: flex;
		flex-direction: column;
		gap: 20px;
		width: 100%;
	}
	
	section .left-content,
	section .right-content {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	.parts-support,
	.direct-service-box {
		width: 100%;
		box-sizing: border-box;
	}
	
	.price-table {
		font-size: 0.8em;
		width: 100%;
	}
	
	.price-table th,
	.price-table td {
		padding: 8px 5px;
		word-break: break-all;
	}
	
	.price-table td:last-child {
		width: 25%;
	}
}


/*-----------------------------------------------------------------------------
 追加CSS
-----------------------------------------------------------------------------*/


/*ボタン*/
.btn02 {
	text-align: center;	/*内容をセンタリング*/
	margin-top: 30px;
	margin-bottom: 30px;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
}

.btn02 a{
	display: inline-block;text-decoration: none;border: none;
	font-size: 1em;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅の順。0,0,0は黒の事で0.2は色が20%出た状態。*/
	background: linear-gradient(150deg, #000000, #fff1f1);/*背景グラデーション。#logoと合わせています。*/
	letter-spacing: 0.1em;	/*文字間隔を少し広くする指定*/
	color: #fff;			/*文字色*/
	transition: 0.3s;		/*hoverまでにかける時間。0.3秒。*/
	padding: 1em 2em;		/*余白*/
	margin: 0 auto 30px;	/*ボタンの外側に空けるスペース。上、左右、下への順番。*/
}

/*ボタンのマウスオン時*/
.btn02 a:hover {
	cursor: pointer;		/*inputタグを使う場合に「手」のマークになるように。リンクと同じ表示になるようにという事です。*/
	opacity: 0.8;			/*冒頭のリンクテキストのhoverと合わせました*/
	transform: scale(1.02);	/*実寸の102%に拡大*/
}

/*listブロック内のボタン*/
.list .btn02 a {
	margin: 0;
}
/* GoogleMapの高さ */
iframe {height: 600px;}

/* 分かりやすい行き方からのmargin-top */
.ikikata {margin-top: 50px;}

/* 分かりやすい行き方のテキスト */
.ikikata-txt1 {margin: -8px 0 0}
.ikikata-txt2 {margin: 30px 0 0}
.ikikata-txt3 {margin: 30px 0 0}

/* 地図画像のスタイル */
.map {
	width: 100%;
	height: auto;
	display: block;
	margin: 20px 0;
}

/* 著作権表示 */
.autority {color: black;font-size: 1px;}

/* h3の下線 */
.underline {
	text-decoration: underline;
}

/* タイヤ交換のh3 */
.section-title-tire {
	font-size: 1.8em;
	font-weight: bold;
	color: #ff0000;
	text-align: center;
	background: linear-gradient(135deg, #fff5f5, #ffe6e6);
	border: 3px solid #770000;
	border-radius: 10px;
	padding: 20px;
	margin: 30px 0;
	box-shadow: 0 4px 8px rgba(119, 0, 0, 0.2);
	position: relative;
}

.section-title-tire::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 3px;
	background: linear-gradient(90deg, transparent, #770000, transparent);
}

/* タイヤ画像のスタイル */
.tire-image {
	margin: 30px 0;
}

.tire-image img {
	display: block;
	width: 100%;
	max-width: 600px;
	margin: 20px auto;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* タイヤ紹介セクションのスタイル */
.tire-intro {
	margin: 30px 0;
}

.tire-intro img {
	display: block;
	width: 100%;
	max-width: 400px;
	margin: 20px auto;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.company-map {
	width: 100%;
	height: 300px;
}

/* サービスページの文章のmargin-top */
.service-info{
	margin-top: 20px;
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px 20px 20px 20px;	/*ボックス内の余白（上、右、下、左）*/
	background: #fff;		/*背景色*/
	color: #262626;			/*文字色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	position: relative;
}

/* 板金塗装の流れ画像 */
.flow-image{
	margin-top: 20px;
	margin-bottom: 20px;
}

/* デスクトップ表示での横並びレイアウト */
@media screen and (min-width: 900px) {
	.tire-intro {
		margin: 40px 0;
	}
	
	.tire-intro .content-wrapper {
		display: flex;
		align-items: flex-start;
		gap: 40px;
		margin-top: 30px;
	}
	
	.tire-intro img {
		flex: 0 0 400px;
		margin: 0;
	}
	
	.tire-intro p {
		flex: 1;
		margin: 0;
	}
}

/* パーツページの文章の装飾 */
.bold{
	font-weight: bold;
}

/*---------------------------------------------------------------------------
ここから下は画面幅600px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:600px) {


/*listブロック
---------------------------------------------------------------------------*/
.list {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}

/*ボックス内のfigure画像*/
.list figure {
	width: 30%;
	margin-right: 5%;
}

/*ボックス内のtextブロック*/
.list .text {
	flex: 1;
	margin-right: 5%;
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}





/*---------------------------------------------------------------------------
ここから下は画面幅900px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:900px) {


/*全体の設定
---------------------------------------------------------------------------*/
html, body {
	font-size: 15px;	/*基準となるフォントサイズの上書き*/
}


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: fixed;	/*スクロールしても一緒に移動しない為の設定。画面上に固定表示されます。*/
	width: 100%;
}


/*menubarブロック設定
---------------------------------------------------------------------------*/
/*メニューブロックの設定*/
#menubar {
	font-size: 0.85em;	/*文字サイズを少し小さくする*/
}
#menubar ul {
	display: flex;	/*flexボックスを使う指定*/
}

/*メニュー１個あたりの設定*/
#menubar a {
	padding: 10px 15px;	/*上下、左右への余白*/
}


/*ドロップダウンメニュー
---------------------------------------------------------------------------*/
#menubar .ddmenu_parent ul {
	position: absolute;
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*ハンバーガーメニューを非表示にする*/
#menubar_hdr {display: none;}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*日付(dt)設定*/
#new dt {
	width: 14em;	/*幅。14文字(em)分。*/
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: inline-block;	/*表示させる*/
	width: 6em;				/*幅。6文字(em)分。*/
	background: #999;		/*背景色*/
	color: #fff;			/*文字色*/
	font-size: 0.8em;		/*文字サイズを80%に。*/
	text-align: center;		/*文字をセンタリング*/
	margin-right: 1em;		/*アイコンの右側に空けるスペース*/
	align-self: flex-start;	/*高さを間延びさせない指定*/
	line-height: 1.8;		/*行間を少し狭く*/
	position: relative;top: 0.4em;	/*上下の配置バランスの微調整*/
}

/*bg1設定。サンプルテンプレートでは「サービス」と書いてあるマーク*/
#new dt span.icon-bg1 {
	background: #770000;	/*背景色*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 14em);	/*「14em」は上の「#new dt」のwidthの値です。*/
}


/*listブロック
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック*/
.list-container {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}

/*１個あたりのボックス設定*/
.list {
	flex-direction: column;			/*子要素を縦並びにする*/
	width: 32%;		/*幅。３列になります。*/
}

/*ボックス内のfigure画像*/
.list figure {
	width: 100%;
	margin-right: 0;
}

/*ボックス内のtextブロック*/
.list .text {
	margin-right: 0;
}

/*ボックス内のh4タグ*/
.list h4 {
	margin: 10px 0;	/*上下、左右への余白*/
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	padding: 5px 15px;		/*上下、左右へのボックス内の余白*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 20px 15px;		/*上下、左右へのボックス内の余白*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 20%;		/*幅*/
}


/*その他
---------------------------------------------------------------------------*/
.ws {width: 100%;display: inline;}

/*-----------------------------------------------------------------------------
追加CSS
-----------------------------------------------------------------------------*/
iframe {height: 600px;}

.service-info{
	margin-top: 50px;
}

/* デスクトップ表示での地図画像のスタイル */
.map {
	width: 100%;
	height: auto;
	display: block;
	margin: 20px 0;
}

/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}

/*text-boxクラスの設定*/
.text-box {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.text-box p {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.text-box p:last-child {
	flex: 0 0 auto;
}

/*#container {
	padding-top: 130px;
}*/

/*パーツページ*/
section .parts-container,
section .direct-service-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
section .left-content,
section .right-content {
	width: 100%;
}
.parts-support,
.direct-service-box {
	background: #f8f0f0;
	padding: 20px;
	border: 2px solid #a00000;
}
.parts-support h4,
.direct-service-box h4 {
	background: #a00000;
	color: #fff;
	text-align: center;
	padding: 10px;
	font-size: 1.2em;
	margin: -20px -20px 15px -20px;
}
.parts-support h5,
.direct-service-box h5 {
	font-size: 1.1em;
	text-align: center;
	margin-bottom: 15px;
	font-weight: bold;
}
.direct-service-box .sub-heading {
	text-align: center;
	font-weight: bold;
	margin-bottom: 15px;
}
.direct-service-box .direct-notes, .notes-box ul {
	list-style: none;
	padding: 0;
}
.direct-service-box .direct-notes li, .notes-box ul li {
	position: relative;
	padding-left: 1.4em;
}
.direct-service-box .direct-notes li::before, .notes-box ul li::before {
	content: "※";
	position: absolute;
	left: 0;
}
.notes-box {
	border: 1px solid #ccc;
	padding: 20px;
	margin-top: 20px;
}
.notes-box h4 {
	font-weight: bold;
	margin-bottom: 10px;
}
.bg-lightgray {
	background: #f7f7f7;
	padding-top: 40px;
	padding-bottom: 20px;
}
/*価格表*/
.price-table {
	max-width: 600px;
	border-collapse: collapse;
	table-layout: fixed;
	margin: 20px auto;
	font-size: 0.9em;
}
.price-table th,
.price-table td {
	border: 1px solid #ccc;
	padding: 10px 15px;
	vertical-align: middle;
}
.price-table th {
	background-color: #f2f2f2;
	font-weight: normal;
	text-align: center; /* 見出しは中央揃えのまま */
}

/* 1行目の1列目（左上のセル）のみ白背景・罫線なし */
.price-table thead th:first-child {
	background-color: #fff;
	border: none; /* 罫線を削除 */
}

.price-table td:last-child {
	text-align: right;
	width: 19%;
}
.price-table small {
	display: block;
	font-size: 0.9em;
	color: #666;
	margin-top: 5px;
}

/* 1行おきに背景色を変更して視認性を向上 */
.price-table tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

.price-table tbody tr:nth-child(odd) {
	background-color: #ffffff;
}

.price-table tbody tr:hover {
	background-color: #f0f8ff;
}
/*画面の横幅が768px以上になったら*/
@media screen and (min-width:768px) {
	section .parts-container,
	section .direct-service-container {
		flex-direction: row;
		align-items: flex-start;
	}
	section .left-content {
		width: 58%;
	}
	section .right-content {
		width: 40%;
	}
	.price-table {
		font-size: 1em;
	}
	.price-table td:last-child {
		width: 18%;
	}
}

/* ------------------------------------------------------------------ */
/* syaken.html */
/* ------------------------------------------------------------------ */

/* 共通タイトルバー */
.section-title-blue-bar {
	font-size: 1.2em;
	padding: 0.5em 1em;
	background: linear-gradient(150deg, #a00000, #770000);/*背景グラデーション。#logoと合わせています。*/
	color: white;
	margin-bottom: 1em;
}

/* 車検について */
.syaken-intro h4 {
	font-weight: bold;
	margin: 1.5em 0 0.5em;
	color: #800000;
}
.syaken-intro p {
	line-height: 1.8;
}

/* 価格表 */
.price-tables-container {
	display: flex;
	flex-direction: column;
	gap: 2em;
}
.price-table-wrapper {
	background: #fff;
	border: 1px solid #ddd;
	padding: 1.5em;
	border-radius: 5px;
}

/* デスクトップ用テーブルは初期状態で非表示 */
.desktop-table {
	display: none;
}

.car-images {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 20px;
	text-align: right;
	gap: 15px;
}

.mobile-table-1 .car-images {
	gap: 13px;
}

.mobile-table-2 .car-images {
	gap: 48px;
}

.mobile-table-2 .car-images p {
	text-align: center;
	margin-left: 0px;
	margin-right: 0px;
}

.car-images div {
	width: 20%;
	min-width: 80px;
}
.car-images img {
	max-width: 100%;
	height: auto;
	margin-bottom: 0.5em;
	max-height: 60px;
}
.car-images p {
	font-weight: bold;
	font-size: 0.7em;
	white-space: nowrap;
}

.price-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.price-table th, .price-table td {
	border: 1px solid #ddd;
	padding: 0.8em;
	text-align: center;
	font-size: 0.8em;
	width: 20%; /* 5列均等に分割 */
}
.price-table th {
	background-color: #f2f2f2;
	font-weight: normal;
	text-align: center; /* 見出しは中央揃えのまま */
}

/* 2列目以降のヘッダーのみ白背景・罫線なし */
.price-table th:not(:first-child) {
	background-color: #fff;
	border: none; /* 罫線を削除 */
}

.price-table td {
	text-align: right; /* 数値は右端揃え */
}
.price-table tfoot th, .price-table tfoot td {
	background-color: #e6e6fa;
	font-weight: bold;
}
.price-table tfoot th {
	text-align: center; /* フッターの見出しは中央揃え */
}
.price-table tfoot td {
	text-align: right; /* フッターの数値も右端揃え */
}
.price-table tfoot td strong {
	color: #e60000;
	font-size: 1.5em;
	font-family: Arial, sans-serif;
}

.syaken-benefits {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
	margin-top: 1.5em;
	flex-wrap: wrap;
	background: #fff;
	border: 1px solid #ddd;
	padding: 1.5em;
	border-radius: 5px;
}
.syaken-benefits p {
	font-weight: bold;
	color: #004080;
}
.benefit-icons {
	display: flex;
	gap: 1em;
}
.benefit-item {
	background: #ff0;
	border: 2px dashed #e60000;
	padding: 1em;
	text-align: center;
	font-weight: bold;
	color: #e60000;
	border-radius: 10px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px; /* 最小の高さを設定 */
}

/* 車検と一緒に */
.maintenance-container {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}
.maintenance-menu table {
	width: 100%;
	border-collapse: collapse;
}
.maintenance-menu th, .maintenance-menu td {
	border: 1px solid #ddd;
	padding: 1em;
}
.maintenance-menu th {
	background-color: #f2f2f2;
	width: 60%;
}
.maintenance-menu td {
	text-align: right;
	font-weight: bold;
}
.maintenance-note {
	margin-top: 1em;
	padding: 1em;
	border: 2px solid #004080;
	text-align: center;
}
.maintenance-image img {
	width: 100%;
	height: auto;
}

/* ご用意いただくもの */
.required-docs-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5em;
}
.doc-item {
	background-color: #fff;
	padding: 1em;
	border: 1px solid #ddd;
}
.doc-item h4 {
	font-weight: bold;
	border-left: 5px solid #004080;
	padding-left: 0.5em;
	margin-bottom: 0.5em;
}
.doc-item h4 .fa-check-square {
	color: #004080;
	margin-right: 0.3em;
}
.doc-item img {
	max-width: 150px;
	height: auto;
	float: left;
	margin-right: 1em;
	margin-bottom: 0.5em;
}
.doc-item p {
	line-height: 1.7;
	overflow: hidden; /* clear float */
}
.doc-item.lock-nut img {
	float: none;
	display: block;
	margin: 0.5em auto;
}
.doc-item.lock-nut p {
	text-align: center;
}

/* ------------------------------------------------------------------- */
/* Media Queries */
/* ------------------------------------------------------------------- */

@media screen and (min-width: 768px) {
	/* 価格表 */
	.price-tables-container {
		flex-direction: column;
	}
	.price-table-wrapper {
		width: 100%;
	}
	
	/* モバイル用テーブルを非表示 */
	.mobile-table-1,
	.mobile-table-2 {
		display: none;
	}
	
	/* デスクトップ用テーブルを表示 */
	.desktop-table {
		display: block;
	}
	
	.desktop-table .car-images {
		display: flex;
		justify-content: flex-end; /* 右端揃えに変更 */
		margin-bottom: 20px;
		gap: 35px; /* 画像間の間隔を追加 */
	}
	
	.desktop-table .car-images div {
		text-align: center;
		width: auto; /* 固定幅を解除 */
	}
	
	.desktop-table .car-images img {
		max-width: 150px;
		width: auto;
		height: auto;
		margin-bottom: 10px;
		object-fit: contain;
	}
	
	.desktop-table .car-images p {
		margin: 0;
		font-size: 12px;
		font-weight: bold;
	}
	
	.syaken-benefits {
		margin-top: 2em;
		justify-content: center;
	}
	.syaken-benefits p {
		margin-bottom: 0;
	}
	
	/* 車検と一緒に */
	.maintenance-container {
		flex-direction: row;
		align-items: center;
	}
	.maintenance-menu {
		flex: 1;
	}
	.maintenance-image {
		flex: 1;
		max-width: 50%;
	}

	/* ご用意いただくもの */
	.required-docs-container {
		grid-template-columns: repeat(2, 1fr);
	}
	.doc-item.lock-nut {
		grid-column: 1 / -1;
	}
	
	/* 板金塗装フロー行の横並び設定 */
	.bk-section-flow-row {
		display: block;
		margin-bottom: 18px;
	}
}

/* 板金塗装セクション用スタイル */
.bk-section-title-bar {
  background: #195c5c;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 1.2em;
  letter-spacing: 0.1em;
}
.bk-section-lead {
  margin-bottom: 10px;
  font-size: 1.1em;
}
.bk-section-kizu-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.bk-section-kizu-text {
  font-size: 2.8em;
  color: #b11c1c;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1;
}
.bk-section-banner-img {
  height: 48px;
  vertical-align: middle;
}
.bk-section-flow-title {
  margin-bottom: 20px;
  font-size: 0.95em;
}
.bk-section-flow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  margin-top: 40px;
}
.bk-section-flow-icon {
  text-align: center;
  width: 300px;
}
.bk-section-flow-icon img {
  width: 300px;
  height: auto;
  object-fit: contain;
}
.bk-section-flow-label {
  font-size: 0.8em;
  color: #b11c1c;
  font-weight: bold;
}
.bk-section-flow-main {
  font-size: 1.1em;
  font-weight: bold;
  color: #195c5c;
}
.bk-section-flow-desc {
  font-size: 0.95em;
}
.bk-section-flow-arrow {
  text-align: center;
  margin: 20px 0;
}
.bk-section-flow-arrow img {
  width: 60px;
  height: auto;
  object-fit: contain;
}
.bk-section-list {
  margin-bottom: 18px;
  font-size: 0.98em;
  line-height: 1.7;
  padding-left: 1.2em;
}
.bk-section-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  margin-top: 40px;
}
.bk-section-price-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px #bbb;
  padding: 10px 18px 6px 18px;
  text-align: center;
  min-width: 180px;
  flex: 1;
  max-width: 300px;
}
.bk-section-price-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 2px;
}
.bk-section-price-value {
  color: #b11c1c;
  font-size: 2em;
  font-weight: bold;
}
.bk-section-note {
  font-size: 0.95em;
  color: #333;
  line-height: 1.7;
  margin-bottom: 10px;
}
@media screen and (max-width: 700px) {
  .bk-section-kizu-text {
    font-size: 2em;
  }
  .bk-section-price-row {
    flex-direction: column;
    gap: 10px;
  }
  .bk-section-price-panel {
    min-width: unset;
    max-width: unset;
  }
}

/* Contact Form 7 のスタイル調整 */
.wpcf7-form {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px;
}

.wpcf7-form label {
    display: flex;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    transition: border 0.2s;
    background: #fafbfc;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border: 1.5px solid #770000;
    outline: none;
    background: #fff;
}

.wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}

.wpcf7-form input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fafbfc;
    transition: border 0.2s;
}

.wpcf7-form input[type="file"]:focus {
    border: 1.5px solid #770000;
    outline: none;
    background: #fff;
}

.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    background: #e60012;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 14px 0;
    margin-top: 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
    background: #b8000d;
}

.wpcf7-form input[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Contact Form 7 のメッセージスタイル */
.wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpcf7-spam-blocked {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 5px;
}

.wpcf7-form-control-wrap {
    position: relative;
}

/* バッジスタイル */
.badge {
    display: inline-block;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 6px;
    padding: 2px 10px;
    margin-right: 10px;
}

.badge-required {
    background: linear-gradient(90deg, #ff0e0e, #770000);
    color: #fff;
}

.badge-optional {
    background: #888;
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .wpcf7-form {
        padding: 18px 4vw;
        margin: 20px auto;
    }
    
    .wpcf7-form label {
        font-size: 1em;
    }
    
    .wpcf7-form input[type="submit"] {
        width: 100%;
        padding: 15px;
    }
}
