/* shindan
-------------------------------------------------------*/
:root{
	--main-color: #00A99D;
}
body{
	background: url("../img/site-bg.png") no-repeat;
	background-position: top center;
	background-size: cover;
}
#shindan-header{
	padding: 15px 0 0 0;
	text-align: center;
	position: relative;
	z-index: 2;
}
#shindan-header img{
	width: 270px;
	height: auto;
}
#shindan-header a img{
	opacity: 1;
	transition: opacity 0.3s ease;
}
#shindan-header a:hover img{
	opacity: 0.6;
}
#shindan-wrap{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 50px;
}
.layout-box{
	position: relative;
	width: 100%;
	max-width: 1090px;
}
.content{
	background: #fff;
	border: 3px solid var(--main-color);
	border-radius: 13px;
}
.content .inner{
	max-width: 800px;
	margin: 0 auto;
}
/* result
-------------------------------------------------------*/

#result{
	display: none;
	transition: all 0.1s linear;
	z-index: 10;
	width: 100%;
	max-width: 1090px;
	margin-top: 20px;
}
#result.active{
	display: block;
	animation: fade-in 0.3s linear forwards;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#result .content{
	padding: 50px 50px;
	border-color: #F7B756;
}
.lead{
	background: url("../img/lead-bg.svg") no-repeat;
	background-size: cover;
	border-radius: 12px;
	padding: 8px;
	margin-top: 40px;
	position: relative;
}
/* 予約専用面 (/yoyaku/) 固有: 診断面では .lead は #result .results
   (max-width:800px; margin:auto) の中にあり、内側の .inner (max-width:800px) と
   同幅になるので padding:8px がそのままオレンジ枠の太さになる。本面は .results を
   持たないため .lead がコンテンツ幅 (984px) まで広がり、.inner との差分が左右だけ
   太いオレンジ帯として出る。診断面と同じ 800px カラムに .lead 自体を揃えて
   上下左右 8px の均一な枠に戻す。 */
.lead{
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
.lead::before,
.lead::after{
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-right: 50px solid transparent;
	border-left: 50px solid transparent;
	border-top: 35px solid #E77119;
	border-bottom: 0;
	position: absolute;
	bottom: -45px;
	left: calc(50% - 50px);
}
.lead::after{
	bottom: -65px;
}
.lead .inner{
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}
.lead .p01{
	text-align: center;
	font-size: 3.6rem;
	line-height: 1.75;
	font-weight: 600;
	margin-top: 40px;
	margin-bottom: 20px;
}
.lead small{
	font-size: 1.2rem;
}
.lead .underline{
	border-bottom: 1px solid #EAB994;
}
.lead strong{
	font-weight: 600;
	color: #FE4500;
}
.lead .note{
	background: #F5F5F5;
	padding: 10px;
	color: #4D4D4D;
	font-size: 1.4rem;
	line-height: 1.75;
	max-width: 680px;
	margin: 40px auto;
	border-radius: 10px;
}
.lead .img{
	text-align: center;
}
.lead .img img{
	display: block;
	margin: auto;
}
.lead .img .img01{
	width: 240px;
	height: auto;
}
.lead .img .img02{
	width: auto;
	height: auto;
}
.lead .p03{
	text-align: center;
	font-size: 2.2rem;
	line-height: 1.75;
	font-weight: 600;
	padding: 20px;
	background: #FFEFC7;
	color: #552B00;
}

/* timerex
-------------------------------------------------------*/
#tr-wrap{
	/* 予約専用面 (/yoyaku/): 法定開示ブロックと予約カレンダー見出しの間隔。
	   診断面から複製した 100px は予約導線には過大なため約 1/3 に詰める（owner 2026-07-24）。 */
	margin-top: 32px;
}
.tr-title{
	background: linear-gradient(96deg,rgba(38, 166, 154, 1) 0%, rgba(1, 141, 127, 1) 100%);
	color: #fff;
	border: 2px solid #11153A;
	padding: 20px 100px 20px 30px;
	border-radius: 10px;
	font-size: 2.9rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	position: relative;
	box-shadow: 6px 6px 0px 0px rgba(0,0,0,0.14);
}
.tr-title::before{
	content: "";
	display: inline-block;
	width: 51px;
	height: 51px;
	background: url("../img/ico-calendar.png");
	background-size: contain;
	margin-right: 20px;
}

/* SP
-------------------------------------------------------*/
br.sp{
	display: none;
}
@media only screen and (max-width: 767px) {
	br.pc{
		display: none;
	}
	br.sp{
		display: inline;
	}
	#shindan-header{
		padding: 5px 0 0 0;
		text-align: center;
	}
	#shindan-header img{
		width: 140px;
		height: auto;
	}
	#shindan-wrap{
		padding: 0 15px;
	}
	#result{
		margin-top: 10px;
	}
	#result .content{
		padding: 30px 15px;
	}
	#result .lead{
		font-size: 1.4rem;
	}
	.underline{
		line-height: 1.5;
		font-size: 2rem;
	}
	.underline span{
		padding-bottom: 0;
	}
	.lead .inner{
	}
	.lead .p01{
		margin-top: 17px;
		font-size: 2rem;
		line-height: 1.5;
		padding: 0 14px;
		margin-bottom: 0;
	}
	.lead .note{
		margin: 20px 14px 10px 14px;
		font-size: 1.2rem;
	}
	.lead .p03{
		font-size: 1.5rem;
		line-height: 1.75;
	}
	.lead::before, .lead::after{
		border-right: 40px solid transparent;
		border-left: 40px solid transparent;
		border-top: 27px solid #E77119;
		left: calc(50% - 40px);
		bottom: -35px;
	}
	.lead::after{
		bottom: -50px;
	}
	.lead .img01{
		width: 204px;
	}
	.lead .img02{
		width: 100%;
		height: auto;
	}

	#tr-wrap{
		padding: 0;
		/* SP でも同様に約 1/3 へ（60px→20px・owner 2026-07-24）。 */
		margin-top: 20px;
	}
	.tr-title{
		padding: 15px 15px;
		font-size: 1.8rem;
		line-height: 1.5;
	}
	.tr-title::before{
		flex-shrink: 0;
		width: 39px;
		height: 39px;
		margin-right: 15px;
	}
}

.legal-footer {
	padding: 24px 16px 32px;
	text-align: center;
}

.legal-footer .legal-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 16px;
	font-size: 12px;
	line-height: 1.6;
}

.legal-footer .legal-links a {
	color: #333;
	text-decoration: underline;
}
/* SEO-WF-S6DISC-DISCLOSURE: 認定司法書士の権限境界 必須法定開示ブロック */
.legal-disclosure{
	max-width: 800px;
	margin: 40px auto 0;
	padding: 20px 24px;
	border: 1px solid #F7B756;
	border-radius: 8px;
	background: #FFFDF7;
	font-size: 1.3rem;
	line-height: 1.7;
	color: #555;
}
.legal-disclosure p{
	margin: 0 0 8px;
}
.legal-disclosure p:last-child{
	margin-bottom: 0;
}
