/*==================== タイトル ====================*/

#title {
	font-feature-settings: "palt";
	text-align: left;
}
#title h1 {
	font-family: "Hiragino Kaku Gothic W1 JIS2004";
}
#title h1 small {
	display: block;
	margin-bottom: 0.5em;
	font-size: 40%;
	letter-spacing: 0.2em;
	opacity: 0.45;
}

@media all and (max-width: 640px) {
	#title {
		border-bottom: 2em solid #e5e5e5;
	}
	#title h1 {
		margin: 0;
		padding: 2rem 1.5rem;
		background: #e6e6e6 url(../images/lsp/title_image.png) no-repeat right center;
		background-size: contain;
		font-size: 1.9rem;
		line-height: 1.2;
	}
	#title p br {
		display: none;
	}
	#title p {
		padding: 0 1rem;
		text-align: justify;
	}
}
@media all and (min-width: 641px) {
	#title {
		padding: 3rem;
		background: #e6e6e6 url(../images/lsp/title_image.png) no-repeat right center;
		background-size: contain;
		color: #000000;
	}
	#title h1 {
		margin: 0;
		font-size: 2.5rem;
		line-height: 1;
	}
	#title h1 br {
		display: none;
	}
	#title p {
		margin: 1.5rem 0 0;
		font-size: 0.75rem;
		line-height: 1.8;
	}
	#title p:nth-of-type(1) {
		margin-top: 2rem;
	}
}

/*==================== 比較 ====================*/

#comp h2 {
	margin: 0;
}

#comp p,
#comp figurecaption {
	text-align: justify;
}

/* head */
#comp h3 {
	margin: 0;
	font-family: "Shin Go Regular";
	font-feature-settings: "palt";
}
#comp h3 small {
	display: block;
	color: rgba(0,0,0,0.4);
	font-family: "Shin Go Light";
	font-size: 80%;
}
#comp .general h3 {
	color: #5b8db0;
}
#comp .lealea h3 {
	color: #f59300;
}
#comp figure {
	margin: 0;
	padding: 0;
}
#comp figurecaption {
	display: block;
	margin: 0.5em 0 0;
	font-size: 90%;
}

#shopLesson {
	display: inline-block;
	margin-top: 2em;
	border-radius: 0.5em;
	padding: 1em;
	background: rgba(0,0,0,0.05);
}
#shopLesson h4 {
	margin: 0;
	color: #999;
	font-family: "Shin Go Light";
}
#shopLesson ul {
	margin: 0.5em 0 0;
	padding: 0;
	list-style-type: none;
	display: table;
	border-spacing: 0.5em 0;
}
#shopLesson li {
	display: table-cell;
	white-space: nowrap;
}

#phase3 figure {
	position: relative;
}

#comp .finish p {
	margin: 0;
	font-family: "Shin Go Regular";
	font-feature-settings: "palt";
	text-align: center;
}

#comp .general .finish {
	background: #d1e3f0;
}
#comp .lealea .finish {
	background: #ffe666;
}

@media all and (max-width: 640px) {
	#comp {
		padding: 0 1rem;
	}
	#comp > div {
		margin-top: 3em;
	}
	#comp .general,
	#comp .lealea {
		padding: 1em;
	}
	#comp .lealea {
		margin-top: 1em;
		padding-top: 1.5em;
		border-top: 1px solid #ccc;
	}
	#comp h3 {
		font-size: 120%;
		white-space: nowrap;
	}
	#comp h3 small {
		margin: 0 0 1em;
		font-size: 85%;
	}
	#comp h3 img {
		display: inline-block;
		vertical-align: middle;
		width: 1.5em;
		margin-right: 0.1em;
	}
	#comp .finish {
		margin-top: 1em;
	}
	#comp .finish p {
		padding: 1em 0;
		font-size: 110%;
	}

	#shopLesson ul {
		font-size: 90%;
	}

	#phase3 .general figure {
		overflow: hidden;
		height: 16rem;
	}
	#phase3 .general figure img {
		display: inline-block;
		margin-top: -2rem;
	}
}

@media all and (min-width: 641px) {
	#comp {
		padding-top: 4em;
	}
	#comp > div {
		display: table;
		table-layout: fixed;
		width: 100%;
	}
	#comp h2 {
		position: relative;
		display: table-caption;
		margin: 0;
	}
	#comp h2::before {
		content: "";
		position: absolute;
		left: 0;
		top: 49%;
		width: 100%;
		border-top: 1px solid #ccc;
	}
	#comp h2 img {
		position: relative;
		width: 28rem;
		vertical-align: bottom;
	}

	#comp .general,
	#comp .lealea {
		display: table-cell;
		vertical-align: top;
		position: relative;
		padding: 2em 5%;
	}
	#comp .general::before,
	#comp .lealea::before {
		content: "";
		display: block;
		position: absolute;
		top: 0;
		width: 0.1rem;
		height: 100%;
		border: 0 solid;
	}
	#comp .general::before {
		right: 0;
		border-left-width: 0.4rem;
		border-color: #d1e3f0;
	}
	#comp .lealea::before {
		left: 0;
		border-right-width: 0.4rem;
		border-color: #ffe666;
	}
	#comp #phase4 .general::before {
		border-left-width: 0.3rem;
		border-left-style: dashed;
	}
	#comp h3 {
		font-size: 135%;
	}
	#comp h3 small {
		height: 3rem;
	}
	#comp > div:not(#phase1) h3 small {
		display: none;
	}
	#comp .general h3 small {
		font-size: 100%;
	}
	#comp .lealea h3 small {
		font-size: 120%;
	}
	#comp h3 img {
		display: block;
		width: auto;
		height: 4em;
		margin: 0 auto 1em;
	}
	#comp .cap p {
		min-height: 5em;
	}
	#phase3 .cap p,
	#phase4 .cap p {
		min-height: 6.5em;
	}

	#comp > div:last-child > div {
		padding-bottom: 13em;
	}
	#comp .finish {
		position: absolute;
		left: 0;
		bottom: 0;
		box-sizing: border-box;
		width: 100%;
		padding: 1.5rem 0;
	}
	#comp .finish p {
		font-size: 130%;
	}
}

/*==================== 事例紹介 ====================*/
#report h2 {
	font-family: 'Shin Go Light';
	color: #999;
}

@media all and (min-width: 641px) {
	#report {
		margin-top: 4em;
	}
	#report h2 {
		font-size: 180%;
	}
	#report h2 br {
		display: none;
	}
}
