@charset "utf-8";
/* monap CSS */
:root {
	--bass: #d80000;
	--dark: #190707;/*#280c0f;*/
	--pale: #f9f7f9;
	--point: #d75150;
	--grayText: #443838;/*#a56363;*/
	--grayBorder: #c0c0c0;
	--btRed: #fd0000;
	--btBlue: #2563eb; 
	--radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::before, ::after {box-sizing: border-box;}
body {font-family: 'Noto Sans JP', sans-serif; color: #1e293b; line-height: 1.6; background: #ffffff; scroll-behavior: smooth; }
a {text-decoration: none; color: inherit; transition: all 0.3s ease-in-out; }
ul {list-style: none;}
.dispSp{@media (min-width: 768px) {display: none}}
.hideSp {@media (max-width: 767px) {display: none}}

img {display: block;width: 100%;height: auto;}
header {z-index: 100;}
.menu-trigger {z-index: 110;}	
.green {font-style: normal;color:var(--point);}

.flex { display: flex; }
.grid {display: grid;}

.bold {font-weight: 700;}



main > section {
	background: #fff;
	@media(min-width:768px){padding: 110px 0 80px 0 ;}
	@media (max-width: 767px) {padding: 80px 0 50px 0;}
}
main > section#about {
	@media(min-width:768px){padding: 40px 0 80px 0;}
	@media (max-width: 767px) {padding: 40px 0 50px 0;}
}

main > section > div {
	padding-left: 1rem;
	padding-right: 1rem;
	@media (min-width: 768px) {
		max-width: 1200px;
		margin-right: auto;
		margin-left: auto;
	}
	@media (max-width: 767px) {
		width: 94%;
		margin: auto;
	}
}

@media (min-width: 768px) {
	main > section#contact > div {max-width: 56rem;}
	main > section#price > div {max-width: 56rem;}
	main > section#news > div {max-width: 56rem;}
	main > section#faq > div {max-width: 48rem;}
}

h2 {
	margin-bottom: 2rem !important;
	font-size: 1.9rem !important;
	font-weight:900 !important;
	text-align: center;
	color: #000;
	@media (max-width: 767px) {
		font-size: 5.4vw !important;
	}
}


.tit {
	margin-bottom: 4rem;
	text-align: center;
}
.tit h2 {
	margin-bottom: 1rem !important;
}
.tit p {
	margin-top: 8px;
	font-size: 1.0rem;
	font-weight: normal;
	color: var(--grayText);
}
.tit p span{
	display: inline-block;
}

.btn1 a,
.btn2 a {
	display: table;
	padding: 1em 2em;
	color: #fff;
	font-weight: 700;
	text-align: center;
	border: 1px solid #fff;
	border-radius: 0.75rem;
}
.btn1 a {background: var(--btRed);}
.btn2 a {background: var(--btBlue);}



/* --- ヘッダー・特定のカスタムスタイル --- */
header {
	position: fixed;
	z-index: 50;
	top: 0;
	left: 0;
	width: 100%;
	padding: 10px 0;
	background-color: rgba(0, 0, 0, 0.98);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid #000;
}

header > div {
	@media (min-width: 768px) {
		display: flex;
		justify-content: space-between;
		width: 90%;
		max-width: 1800px;
		margin-right: auto;
		margin-left: auto;
	}
	@media (max-width: 767px) {
		width: 94%;
		margin: auto;
	}
}

#logo {
	flex-basis: 30%;
}
#logo img {
	width: 100%;
	max-width: 270px;
	height: auto;
	margin-top: 5px;
	@media (max-width: 767px) {
		width: 31%;
		margin-top: 5px;
	}

}
header nav {
	@media (min-width: 768px) {
		width: 70%;
		flex-basis: 70%;
		display: flex;
		justify-content: flex-end;
	}
}
header nav ul{
	@media (min-width: 768px) {
		display: flex;
		justify-content: flex-end;
		margin-top: 1em;
	}
}
header nav li{
	@media (min-width: 768px) {
		margin: auto 1em;
	}
	@media screen and (min-width: 768px) and (max-width: 1100px) {
		font-size: 1.5vw;
	}
}
header nav li a{
	@media (min-width: 768px) {
		color: #fff;
	}
}
header nav li a:hover{
	color: var(--grayText);
}
header nav li:last-of-type a {
	@media (min-width: 768px) {
		line-height: 1;
		padding: 0.8em 1em;
		background: var(--bass);
		border-radius: 4px;
		color: #fff;
	}		
}

/* --- ハンバーガーボタン (767px以下のみ表示) --- */
.menu-trigger {
	display: none; /* デフォルト非表示 */
}

@media (max-width: 767px) {
	.menu-trigger {
		position: absolute;
		top: 50%;
		right: 15px;
		transform: translateY(-50%);
		display: block;
		width: 38px;
		height: 38px;
		border-radius: 4px;
		cursor: pointer;
		z-index: 100;
		transition: all 0.3s ease-in-out;
	}

	/* 中央ライン (before) */
	.menu-trigger::before {
		content: "";
		display: block;
		width: 76%;
		height: 2px;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		background: #fff;/*var(--bass); /* ラインの色 */
		transition: all 0.3s ease-in-out;
	}

	/* アクティブ時の中央ライン（消える） */
	.menu-active .menu-trigger::before {
		width: 0px;
		height: 0px;
		opacity: 0;
	}

	/* 上下ラインの親 (span) */
	.menu-trigger span {
		display: block;
		width: 76%;
		height: 58%;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		transition: all 0.3s ease-in-out;
	}

	/* 上下ライン (spanのbefore/after) */
	.menu-trigger span::before,
	.menu-trigger span::after {
		content: '';
		position: absolute;
		right: 0;
		width: 100%;
		height: 2px;
		background: #fff;/*var(--bass);*/
		transition: all 0.3s ease-in-out;
	}

	.menu-trigger span::before { top: 0px; }
	.menu-trigger span::after { bottom: 0px; }

	/* アクティブ時の上下ライン（クロス） */
	.menu-active .menu-trigger span::before,
	.menu-active .menu-trigger span::after {
		top: 50%;
		right: 0;
		transform-origin: 50% 50%;
		background: var(--bass);
	}

	.menu-active .menu-trigger span::before {
		transform: rotate(-135deg);
	}

	.menu-active .menu-trigger span::after {
		transform: rotate(135deg);
	}

	/* --- ナビゲーション本体 --- */
	header nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		height: 100vh;
		background: rgba(255, 255, 255, 0.98);
		box-shadow: -5px 0 15px rgba(0,0,0,0.1);
		transition: all 0.4s ease-out;
		z-index: 90;
		padding-top: 80px;
		opacity: 0;
		visibility: hidden;
	}

	.menu-active header nav {
		right: 0;
		opacity: 1;
		visibility: visible;
	}

	header nav ul {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 2rem 0;
	}

	header nav li {
		margin: 1rem 0;
		width: 80%;
		text-align: center;
	}
}		

/* ---- section  headerImage h1 --------------------------*/
#hero {
	background: url('img/monap_intro.webp') no-repeat center bottom / cover;
	@media (min-width: 768px) {
		padding-top: 8rem;
		padding-bottom: 5rem;

	}
	@media (max-width: 767px) {
		padding-top: 7rem;
		padding-bottom: 2rem;
	}
}

#introBlock {
	margin: auto;
	position: relative;
	background: url("img/hero01.webp") no-repeat right center;
	@media (min-width: 768px) {
		display: grid;
		align-items: center;
		grid-template-columns: 65% 31%;
		column-gap: 4%;
		width: 90%;
		max-width: 1500px;
		background-size: auto 86%;
		padding: 70px 0;
	}
	@media (max-width: 767px) {
		width: 100%;
		z-index: 3;
		background-position: right 2% center;
		background-size: auto 84%;
	}
}

#introBlock .blockL {
	@media (min-width: 768px) {
		max-width: 1040px;
		padding: 25px;

	}
}
#introBlock .logo {
	margin: 0 !important;
	height: auto;
	@media (min-width: 768px) {
		width: 54%;
		max-width: 450px;
	}
	@media (max-width: 767px) {
		width: 53%;
	}
}

h1 {
	font-weight: 900;
	color: #fff;
	line-height: 1;
	@media (min-width: 768px) {
		margin-top: 20px !important;
		margin-bottom: 30px !important;
	}
	@media (max-width: 767px) {
		margin-top: 20px !important;
		margin-bottom: 30px !important;
	}
}

h1 span {
	display: table;
	font-weight: 700;
	@media (min-width: 768px) and (max-width: 1759px){
		font-size: 3vw;
	}
	@media (max-width: 767px) {
		line-height: 1.3;
		font-size: 5.9vw;
		letter-spacing: 2px;
	}
	@media (min-width: 1760px) {
		font-size: 3rem;
	}
}

h1 span:nth-of-type(1) {
	color: var(--point);
	@media (min-width: 768px) {
		margin-bottom: 9px;
	}
	@media (max-width: 767px) {
		margin-bottom: 9px;
	}
}

#introBlock .blockL .txt {
	margin-bottom: 2rem;
	color: #fff;
	@media (max-width: 767px) {
		width: 68%;
		font-size: 3.1vw;
	}
	@media (max-width: 767px) {
		display: none;
	}
}

#introBlock .btn1 a{
	@media (min-width: 768px) {
		width: 22em;
		font-size: 1.2rem;
	}
	@media (max-width: 767px) {
		width: 60%;
		font-size: 3.3vw;
		margin-bottom: 30px;
	}
}


#introBlock .blockR {
	@media (max-width: 767px) {
		position: absolute;
		bottom: 0;
		right: 3%;
		left: auto;
		width: 30%;
		z-index: 0;
	}
}

#introBlock .blockR p {
	display: block;
}
#introBlock .blockR p img  {max-width: 320px;}
	
	
}
		

/* ---- About Section（30秒でわかるTruckCALL） --------------------------*/
#about h2 {
	color: var(--bass);
}

#about .block {
	margin-bottom: 3rem;
	@media (min-width: 768px) {
		text-align: center; 
	}
	@media screen and (max-width: 767px) {

	}
}

#about .txt{
	@media (min-width: 768px) {
		margin-bottom: 65px;
		font-size: 1.2rem;
	}
	@media (max-width: 767px) {
		margin-bottom: 70px;
		font-size: 1.0rem;
	}
}
#about .txt span{
	@media (min-width: 768px) {
		display: inline-block;
	}
}

#about dl {
	display: table;
	margin: 50px auto;
	text-align: center;
	font-size: 0.9rem;
}

#about .btn1 a{
	margin: 50px auto auto auto;
	@media (min-width: 768px) {
		width: 22em;
		font-size: 1.2rem;
	}
	@media (max-width: 767px) {
		width: 80%;
	}
}



/* --- Problem section （こんな課題、抱えていませんか？）　--- */
#problem {
	background: var(--dark);
	color: #fff;
}
#problem h2{
	color: var(--point);
}

#problem .tit p {color: #fff !important;}
#problem .grid {
	@media (min-width: 768px) {
		display: grid;
		/* 3カラムのグリッドを作成 */
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: auto auto auto; 
		gap: 5%;
		margin-left: auto;
		margin-right: auto;
	}
	@media (max-width: 767px) {
		display: flex;
		flex-direction: column;
		gap: 30px;
	}
}
#problem article {
	position: relative;
	margin-bottom: 2rem;
	@media (min-width: 768px) {
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 3;
		align-self: stretch; 
		height: 100%;
	}
}
#problem article picture {
	display: block;
	width: 2.8rem;
	height: 2.8rem;
	position: absolute;
	left: 5px;
	top: 7px;
	@media (min-width: 768px) {
		align-self: stretch; 
	}
}
#problem article h3 {
	margin-bottom: 1.5em;
	padding: 0 0 12px 5rem;
	font-size: 1.2rem;
	border-bottom: 5px solid var(--point);
}
#problem article h3 span{
	display: inline-block;
}
#problem article li {
	position: relative;
	margin-bottom: 0.6em;
	padding-left: 1.5em;
	color: #bfbcbf;
}
#problem article li::before {
	position: absolute;
	top: 0.4em;
	left: 0;
	content: "";
	display: block;
	width: 0.3em;
	height: 1px;
	font-size: 2em;
	background-color: var(--point);
}



/* --- what section （monapで解決できること）　--- */
#what {background: rgba(215,81,80,0.35);/}
#what h2{color: var(--bass);}
#what .tit p {
	color: #443838 !important;
	font-weight: 700;
}

#what .grid {
	@media (min-width: 768px) {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		/* h3, picture, p の3つの行を定義 */
		grid-template-rows: auto auto 1fr; 
		gap: 0 4%;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 2rem;
	}
	@media (max-width: 767px) {
		display: flex;
		flex-direction: column;
		gap: 30px;
	}
}
#what .grid article {
	border-radius: var(--radius);
	background: #fff;
	@media (min-width: 768px) {
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 3;
	}
	@media (max-width: 767px) {
		display: grid; 
		grid-template-columns: 1fr 1fr; 
		grid-template-rows: auto auto; 
		gap: 25px 0; 
		grid-template-areas: 
			"h3 h3"
			"txt img";
		margin-bottom: 2rem;
		padding-bottom:18px;
	}
}
#what .grid h3 {
	font-weight: 700;
	margin-bottom: 0;
	@media (min-width: 768px) {
		padding: 1em 0;
		font-size: 1.1rem;
		text-align: center;
	}
	@media (max-width: 767px) {
		grid-area: h3;
		margin-top: 1em;
		font-size: 4.4vw;
		text-align: left;
		background: var(--pale);
		padding-left: 18px;
	}
}
#what .grid h3 span {display: inline-block !important;}

#what .grid picture {
	@media (min-width: 768px) {
		display: block;
		margin-bottom: 1.5rem;
		text-align: center;
		background: var(--pale);
	}
	@media (max-width: 767px) {
		grid-area: img;
		justify-self: stretch; 
		align-self: start;
	}
}
#what .grid picture img{
	width: 50%;
	hieght: auto;
	margin: auto;
	@media screen and (min-width: 768px) and (max-width: 1100px) {
		width: 76%;
	}
	@media (max-width: 767px) {
		width: 80%;
		max-width: 400px;
		height: auto;
	}
}
#what .grid p{
	text-align: left;
	color: #000;
	@media (min-width: 768px) {
		display: flex;
		align-self: start;      /* 行の中での上揃え */
		padding: 0 1.5em 1em 1.5em;
		line-height: 1.5;
	}
	@media (max-width: 767px) {
		grid-area: txt;
		justify-self: start; 
		align-self: start;
		padding-left: 18px;
		font-size: 0.9em;
	}
}



/* --- features section （ながらスマホを仕組みで抑止するmonapの機能）　--- */
#features {
	background: var(--pale);
}

#features .grid {
	@media (min-width: 768px) {
		gap: 2rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: center;
	}
	@media (max-width: 767px) {
		gap: 1rem;
		grid-template-columns: repeat(1, minmax(0, 1fr));
		align-items: center;
	}
}
#features article {
	background: #fff;
	border: 1px solid var(--grayBorder);
	border-radius: var(--radius);
	grid-template-rows: auto auto auto;
	align-items: center;
	align-self: stretch; 
	@media (min-width: 768px) {
		grid-template-rows: auto auto auto;
		align-items: center;
		align-self: stretch; 
		padding: 1.7rem;
		gap: 2rem;
	}
	@media (max-width: 767px) {
		display: grid;
		grid-template-columns: 2.8em 1fr; 
		grid-template-rows: auto auto; 
		gap: 16px 0px; 
		grid-template-areas: 
			"img h3"
			"txt txt";
		padding: 1rem;
	}
}
#features article picture {
	position: relative;
	display: block;
	margin: auto auto 1rem auto;
	padding-top: 8px;
	background: var(--bass);
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	display: none !important;
}

#features article picture svg {
	display: block;
	width: 1.8rem;
	height: 1.8rem;
	margin: auto auto;
}

#features article div {
	display: block;
	width: 2em;
	height: 2em;
	margin: auto auto 1em auto;
	background: rgba(215,81,80,0.5);
	border-radius: 50%;
	text-align: center;
	line-height: 1;
	padding-top: 0.5em;
	color: #fff;
	@media (max-width: 767px) {
		grid-area: img; 
	}

}

#features article h3 {
	font-weight: 700;
	margin-bottom: 1rem;
	color: #000;
	@media (min-width: 768px) {
		align-items: top;
		justify-self: center; 
		font-size: 1rem;
	}
	@media (max-width: 767px) {
		font-size: 3.7vw;
		grid-area: h3; 
	}
}
#features article p {
	line-height: 1.6;
	@media (min-width: 768px) {
		font-size: 0.9rem;
	}
	@media (max-width: 767px) {
		font-size: 3vw;
		grid-area: txt; 
	}
}

#priceBlock ul{
	@media (min-width: 768px) {
		display: grid;
		margin: 80px auto auto auto;
		gap: 0;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
		justify-items: center;
	}
}
#priceBlock ul li{
	@media (min-width: 768px) {
		align-self: start;
		justify-self: center;
		text-align: center;
	}
	@media (max-width: 767px) {
		display: table !important;
		width: 90% !important;
		margin: 20px auto;
	}
}
#priceBlock ul li a{
	@media (min-width: 768px) {
		margin: 0 auto 1em auto;
		font-size: 1.4rem;
	}
}


/* --- 導入実績 --------------------------------------*/

/*#case .grid {
	@media (min-width: 768px) {
		gap: 4rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
	}
}
#case article {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 1.5rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: 0.3s;
}
@media (min-width: 768px) {
	#case article { flex-direction: row; }
}
#case article:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
#case .case-logo {
	background: #f1f5f9;
	padding: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 30%;
}
*/

/* --- price section（ご利用料金） --------------------- */
#price {background: #fff;}
#price .block {
	background-color: #ffffff;
	padding: 2rem;
	border-width: 1px;
	border-color: #e2e8f0;
	border-radius: 1.5rem;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	@media (min-width: 768px) {
		padding: 3rem;
	}

}
#price .flex {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	@media (min-width: 768px) {
		flex-direction: row;
		justify-content: space-between;
	}
}
#price .pay{
	font-weight: 700;
	@media (min-width: 768px) {
		font-size: 1.2rem;
	}
	@media (max-width: 767px) {
		font-size: 1.2rem;
		text-align: center;
	}
}
#price .pay strong{
	@media (min-width: 768px) {
		font-size: 3rem;
	}
	@media (max-width: 767px) {
		font-size: 2.0rem;
	}
}
#price ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.875rem;
	color: var(--grayText);
	line-height: 1.6;
}		
#price li{font-size: 0.875rem;}





/* --- faq section（よくある質問） --------------------- */
#faq {background: #fff;}
#faq section {margin-bottom: 60px;}
#faq section h3 {
	margin-bottom: 1em;
	@media (min-width: 768px) {
		text-align: center;
	}
	
}
#faq details {
	margin-bottom: 8px;
	padding: 1rem 2rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
}

#faq .js-details summary{
	position: relative;
	padding: 1rem 0 1rem 0;
	font-weight: 700;
	color: #000;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: 0.3s ease-out;
}

#faq .strong {
	font-weight: 700;
	display: inline-block;
	margin-right: 1em;
}

/* --- PCでのHover設定 --- */
@media (hover: hover) {
	#faq .js-details summary:hover{
		color: var(--point);
	}
}

/* --- すべての端末：開いている時のテキストカラー --- */
#faq .js-details[open] summary  {
    color: var(--point)!important;
}

#faq .js-details summary::-webkit-details-marker { display: none; }

/* 閉じている時は中身を隠す */
#faq .js-details .content {
    overflow: hidden;
    height: 0;             /* 初期状態は0 */
    transition: height 0.3s ease-out;
}

/* アイコン（SVG）の初期状態 */
#faq .js-details summary svg {
    transition: transform 0.3s ease; /* 回転のアニメーション */
	background: none;
	border-radius: 50%;
}

/* detailsが開いている時のSVGの動き（上下反転） */
#faq .js-details[open] summary svg {
    transform: rotate(180deg);
	color: #fff;
	background: var(--point);
}

#faq details p {
	margin: 0;
	padding: 1rem 0;
	font-size: 0.875rem;
	border-top: 1px solid #e2e8f0;
}

/* 中身のアニメーション用ラッパー */
#faq details .content {
    overflow: hidden;
    transition: height 0.3s ease-in-out; /* 高さの変化をアニメーションに */
}



/* --- 問い合わせフォーム ---------------------------*/
#contact {background: var(--pale);}
#contact .contact-badge { 
	display: inline-flex; /* アイコンとテキストを横並びに */
	align-items: center;  /* 垂直中央揃え */
	gap: 10px;            /* アイコンとテキストの間隔 */
	margin-top: 50px;

	/* 背景とボーダー（透過 green） */
	background: rgba(215,81,80,0.15); 
	border: 1px solid var(--bass);
	border-radius: var(--radius);

	/* テキストスタイル */
	padding: 16px 24px;
	color: var(--dark);
	font-size: .9rem;
	font-weight: 600;	
}
#contact .contact-badge svg {
	width: 20px;
	height: 20px;
	/* HTML側の属性: stroke="currentColor" により、親のcolor(green)が継承されます */
	flex-shrink: 0; /* テキストが長くなってもアイコンが潰れないように設定 */
}
#contact .block {
	padding: 24px;
	border: 1px solid #e2e8f0;
	border-radius: 1.5rem;
	background: #fff;/*var(--pale)*/;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}


#contact form > * + * {
    margin-top: 1.5rem;
}

#contact label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e293b;
}

#contact label span {
    color: #ef4444;
    margin-left: 0.25rem;
}

#contact .grid {
    display: grid;
    gap: 1.5rem;
	@media (min-width: 768px) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

#contact .flex {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
	width: 20em;
	margin: 1.5em auto;
}

#contact #privacy {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    cursor: pointer;
}

#contact #privacy + label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

#contact #privacy + label a {
    color: #2563eb;
    text-decoration: underline;
}

#contact .btn-submit {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--point);
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s;
	transition: opacity 0.3s;
}
#contact .btn-submit:disabled {
    background-color: #ccc;   /* グレーアウト */
    cursor: not-allowed;      /* 禁止カーソル */
    opacity: 0.6;
}
#contact .btn-submit:hover {background: var(--point);}
/* エラーメッセージ（JSで動的に追加される） */
#contact .error-message {
    color: #ef4444; /* 赤色 */
    font-size: 0.75rem; /* ワンサイズ小さく */
    font-weight: 700;
    margin-top: 4px;
    height: 1.2em; /* レイアウト崩れ防止 */
}

/* 入力欄のエラー枠線 */
#contact .input-error {
    border: 2px solid #ef4444 !important;
    background-color: #fff5f5 !important;
}
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
textarea,
select {
	display: block;
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 0.75rem;
	border: 1px solid #cbd5e1;
	font-size: 1rem;
	outline: none;
	transition: 0.2s;
	background: var(--pale);

	-webkit-appearance: none !important; /* Safari/Chrome用 */
	-moz-appearance: none !important;    /* Firefox用 */
	appearance: none !important;         /* 標準 */
}

input:focus,
select:focus,
textarea:focus {
	border-color: #2563eb;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
textarea {
	min-height: 15em;
	overflow-y: scroll;
	resize: none;
}

.comp main > div {
	margin: 200px auto;
	text-align: center;
}
.comp main > div .btn a {
	display: table;
	margin: 50px auto;
	padding: 0.5em 2em;
	background: #c0c0c0;
	color: #000;
	text-align: center;
	border-radius: 1em;
	white-space: nowrap;
}

/* --- news section（お知らせ） --------------------- */
#news h2 {
	text-align: left;
}

#news .block > * + * {
    border-top: 1px solid #f1f5f9;
}

#news dl {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	padding-bottom: 1.5em;
    padding-top: 1.5rem;
	border-bottom: 1px solid var(--grayBorder);
	@media (min-width: 768px) {
		flex-direction: row;
		align-items: center;
		gap: 2rem;
	}
}

#news dt {
    color: var(--grayText);
    font-size: 0.875rem;
    font-weight: 500;
}

#news dd {
    margin: 0;
    color: #334155;
    font-weight: 500;
}

#news dd a {text-decoration: underline !important;}




/* --- footer --- */
footer {
	padding: 4rem 1rem;
	background: var(--dark);
	color: #ffffff;
	text-align: center;
	@media (max-width: 767px) {
		padding: 2rem 1rem 5rem 1rem;
	}
}
footer picture{
	display: table;
	margin: auto auto 10px auto;
	max-width: 400px;
	@media (max-width: 767px) {
		width: 50%;
	}

}
footer ul.anno {
	display: table;
	margin: auto auto 40px auto;
	text-align: left !important;
	font-size: 0.8em;
}
footer ul.anno li {
	position: relative;
	padding-left: 1.25em;
}
footer ul.anno li::before {
	content: "・";
	display: block;
	font-size: 1em;
	position: absolute;
	left: 0;
	top: 0;
}

footer nav ul {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	margin-bottom: 20px;
}
footer nav li {
	margin: auto 10px;
	font-size: 0.875rem;
}
footer nav li a {
	color: #fff;
}
footer nav li a:hover {
	color: var(--grayText);
}
footer small {
	display: table;
	margin: auto;
	font-size: 0.875rem;
	color: #fff;
	@media (max-width: 767px) {
		font-size: 2.8vw;
	}

}



/* --- スマホ固定フッター (#footerAsk) --- */
@media (min-width: 768px) {
	#footerAsk {
		display: none !important;
	}
}

@media screen and (max-width: 767px) {
	#footerAsk {
		display: flex !important;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: stretch;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 50;
		background: #fff;
		padding: 3px 0 0 0;
		margin: 0;
		list-style: none;
	}

	#footerAsk li {
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		border-radius: 6px;
		box-sizing: border-box;
	}

	#footerAsk li a {
		position: relative;
		display: block;
		width: 100%;
		padding: 0em 0 0em 1em;
		color: #fff;
		text-decoration: none;
		font-size: 3.6vw;
		text-align: center;
		line-height: 1.2;
		box-sizing: border-box;
	}

	#footerAsk li a::before {
		position: absolute;
		content: "";
		display: block;
		background-size: contain;
	}

	/* 1つ目のボタン（ホーム/資料請求） */
	#footerAsk li:nth-of-type(1) {
		width: 39.5%;
		margin-right: 0.5%;
		background: var(--btRed);
	}
	#footerAsk li:nth-of-type(1) a::before {
		width: 7vw;
		height: 7vw;
		top: 50%;
		left: 1.5em;
		transform: translateY(-50%);
		background: url("img/footerAsk_order.png") no-repeat center center;
		background-size: contain;
		letter-spacing: 2px;
	}

	/* 2つ目のボタン（メイン・お問い合わせ） */
	#footerAsk li:nth-of-type(2) {
		width: 40%;
		background: var(--btRed);
	}
	#footerAsk li:nth-of-type(2) a::before {
		width: 1.8em;
		height: 1.8em;
		top: 50%;
		left: 1em;
		transform: translateY(-50%);
		background: url("img/footerAsk_ask.png") no-repeat center center;
		background-size: contain;
	}

	/* 3つ目のボタン（ページトップ） */
	#footerAsk li:last-of-type {
		width: 17.5%;
		margin-left: 0.5%;
		background: var(--dark);
	}
	#footerAsk li:last-of-type img{
		width: 80%;
		margin: auto;
	}
}

/* 縦持ちタブレット (想定: 768px〜959px) */
@media screen and (min-width: 768px) and (max-width: 959px) {
	#footerAsk li a {
		font-size: 0.9rem;
	}
}

/* 横持ちスマホ (想定: landscapeモード) */
@media screen and (max-width: 959px) and (orientation: landscape) {
	#footerAsk li a {
		padding: 0.4em 0 0.6em 1em;
		font-size: 2.2vw !important;
	}
}

/* PC・横持ちタブレット (960px以上) */
@media screen and (min-width: 960px) {
	#footerAsk {
		display: none !important;
	}
}


/* --- ページトップボタン (PC/タブレット) --- */
#ptBtnPc {
	display: none !important;
	opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* PC・タブレット（768px以上）の設定 */
@media screen and (min-width: 768px) {
	#ptBtnPc {
		display: block !important;
		position: fixed;
		bottom: 16px;
		right: 20px;
		width: 60px;
		height: 60px;
		background: var(--bass); 
		border-radius: 50%;
		z-index: 110;
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		transition: all 0.3s ease-in-out;
	}

	/* JavaScriptで付与する表示クラス (.on) */
	#ptBtnPc.on {
		bottom: 20px;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}

	#ptBtnPc:hover {
		transform: translateY(-5px);
		background: var(--btBlue);
		cursor: pointer;
	}

	#ptBtnPc a {
		display: block;
		position: relative;
		width: 100%;
		height: 100%;
	}

	#ptBtnPc a img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 80%;
		height: 80%;
		object-fit: contain;
	}
}

@media print {
  #ptBtnPc {display: none !important;}
}		

	



