@charset "UTF-8";

body{
	overflow-x: hidden;
}

h1 {
	margin: 20px 0;
	font-size: 2rem;
	font-weight: bold;
}

h2 {
	margin: 40px 0 40px;
	border-left: 2px solid #099;
	font-size: 1.75rem;
	font-weight: bold;
}

h3 {
	font-size: 1.5rem;
	font-weight: bold;
}

h4 {
	margin: 40px 0 20px;
	font-size: 1.25rem;
	font-weight: bold;
}

img {
	object-fit: cover;
}


.wide20 {
	width: 20%;
}

.wide100 {
	width: 100%;
}

.pink {
	color: #FC0FC0;
}


/* ボタンの初期スタイル */
#estimate-btn {
	display: none; /* 初期状態は非表示 */
	position: fixed;
	right: 0;
	background-color: #FC0FC0;
	color: white;
	transform: translateY(-50%);
	top: 50%;
	padding: 20px 5px;
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 2px;
	border-radius: 10px 0px 0px 10px;
	z-index: 1000;
	border: 0px;
	transition: opacity 1s ease;
	opacity: 0; /* 初期は透明 */
	writing-mode: vertical-rl; /* 文字を縦書き */
	text-orientation: upright;
}

.estbtn {
	background-color: #FC0FC0;
}



.bi-envelope-fill {
	position: relative;
	left: 3px;
	padding-right: 10px;
}

.container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0px;
	font-weight: normal;
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	line-height: 2;
}

/* ヒーローセクション全体のスタイル */
.hero {
	position: relative;
	width: 100%;
	height: 100%;
/*	display: flex;*/
/*	justify-content: center;*/
/*	align-items: center;*/
/*	overflow: hidden;*/
	background-image: url(img/cover.png);
	border: 0px solid green;
}


/* ヒーローセクションのコンテンツ */
.hero-content {
/*	position: relative;
	color: white;
	text-align: center;*/
	z-index: 1;
	padding-left: 20px;
}


.btnform {
	text-align: center;
	background-color: #FC0FC0;
	color: #fff;
	margin-bottom: 60px;
	padding: 10px 20px;
	border: none;
	border-radius: 10px;
	font-size: 1.75rem;
	font-weight: bold;
	letter-spacing: -0.05em;
	line-height: 1.25;
	text-decoration: none;
	overflow: hidden;
	animation: bounce 4s infinite;
	opacity: 1.0;
}

.btnform:hover {
	opacity: 0.8;
}

.fs-12 {
	font-size: 12px;
}


/* ボタン全体のスタイル */
.button-container {
	display: inline-block;
	text-align: center;
	background: linear-gradient(45deg, #43cea2, #185a9d);
	color: #fff;
	padding: 10px 20px;
	border-radius: 10px;
	font-size: 1.75rem;
	font-weight: bold;
	line-height: 1.25;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	animation: bounce 4s infinite;
	top: 360px;
	left: 5%;
}

/* 画像のスタイル */
.hero-content .btn img,
.button-container img {
	width: 80px;
	height: 40px;
	margin-bottom: 0px;
}


.block {
	display: flex;
/*	align-items: center;*/
	gap: 20px;
	margin-bottom: 20px;
	padding: 0px;
}

.block img {
	width: 320px;
}

.block .text {
	text-align: left;
}

.card {
	text-align: center;
}

.card-img-top img {
	margin-bottom: 0px;
	padding-bottom: 0px;
	width: 60px;
}

.card img {
	width: 60%;
}

.card-body {
	padding-top: 10px;
	line-height: 1.3;
}

.card-text {
	font-size: 14px;
}


/* 横幅が784px以下のスタイル */
@media (max-width: 720px) {

	.summary {
	display: none;
	}

	.block {
	flex-direction: column;
	}

	.block img, .block .text, .card img {
	margin: 2%;
	width: 96%;
	}

	.block img {
	height: auto;
	}
	
	.card {
	margin: 0 10px;
	}
	
	.card img {
	width: 60%;
	}
	
	.accordion {
	margin: 0 2%;
	width: 96%;
	}

	#estimate-btn {
	padding: 10px 0;
	top: auto;
	right: auto;
	bottom: 0;
	width: 100%;
	transform: none;
	border-radius: 0px;
/*	text-align: center;*/
	writing-mode: horizontal-tb; /* 横書きに戻す */
	}
	
	.eye {
	max-width: 100%; /* 画像の最大幅を親要素に合わせる */
	height: auto; /* 高さを自動調整 */
	}
	
	.btnform {
	font-size: 16px; /* スマホでは文字サイズを少し小さく */
	padding: 10px 16px; /* スマホ用の余白を調整 */
	width: 100%; /* スマホではボタン幅を全体に広げる */
	}
	
	.shrink {
	white-space: nowrap;        /* 改行を防止 */
	overflow: hidden;           /* はみ出した部分を隠す */
	font-size: clamp(10px, 1.8vw, 14px); /* スマホ幅に応じて文字サイズを自動調整 */
	}
	
	.br-sp {
	display: inline;
	}
	
}

.br-sp {
	display: none;
}

.policy {
	height: 150px; /* 長い文章をシミュレーション */
	overflow-y: auto;
	background-color: #FFFFFF;
	padding:20px;
}

.policy_item_ttl {
	font-size: 1rem;
	margin: 10px 0;
	padding: 10px 0;
}

.policy_lead, .policy_item_text, .policy_item_list {
	font-size: 0.8rem;
	line-height: 1.6;
}






.step {
	text-align: center;
	padding: 15px;
	color: #FFFFFF;
	border-radius: 5px;
	flex: 1;
}

.step-active {
	background-color: #007bff; /* primary */
	background-color: #28a745; /* success */
}

.step-inactive {
	background-color: #6c757d; /* 灰色 */
}

.arrow {
	margin: 0 10px;
	width: 0;
	height: 0;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	border-left: 20px solid #CCC; /* 灰色の矢印 */
}

.form-check-label {
	position: relative;
	top: -5px;
}

.copyright {
	text-align: center;
	font-size: 14px;
}