@charset "UTF-8";

/* =========================================================
   相談者様の声（customer-voice）
   ※ free-consultation.css の構成・配色を踏襲
   ========================================================= */

#main #breadcrumb {
	background-color: #fff;
	height: 36px;
}

#main #breadcrumb .wrapper {
	width: 1004px;
	margin: 0 auto;
	position: relative;
	top: 0;
}

#main #breadcrumb p {
	margin: 0 0 0 5px;
	padding: 2px 0 0 0;
	width: 100vw;
	background-color: #fff;
}
#main #breadcrumb p a {
	color: #333;
}


/* ---- ページタイトルボックス ---- */
#main #main_title {
	position: relative;
	margin: 20px auto 25px auto;
	border-radius: 17px;
	background: #fff;
	border: 3px solid #c0d953;
	overflow: hidden;
}

#main #main_title div.title {
	display: flex;
	flex-direction: column;		/* 最狭幅：イラスト上・文字下 */
	align-items: center;
	padding: 16px 10px 12px 10px;
}

#main #main_title div.title p {
	width: 139px;
	margin: 0 0 6px 0;
	text-align: center;
}

#main #main_title div.title p img {
	width: 139px;
	height: auto;
}

#main #main_title div.title h2 {
	font-weight: bold;
	font-size: 1.5rem;
	line-height: 34px;
	color: #007b44;
	text-align: center;
}

#main #main_title div.title h2 br.brk {
	display: inline;				/* 狭いときは「無料出張相談サービスを」の後で改行 */
}

#main #main_title div.syogai {
	border-radius: 0px 0px 17px 17px;
	background: #c0d953;
	border: 3px solid #c0d953;
	margin: 0 -3px -3px -3px;
}

#main #main_title div.syogai p {
	padding: 0 10px 10px 15px;
	margin: 10px auto 0 auto;
	font-size: 1rem;
	color: #333;
}


/* ---- セクションタイトル ---- */
#contents .title {
	border-left: 8px solid #3db680;
	margin: 0 auto 30px auto;
}

#contents .title h3 {
	margin: 0 0 0 5px;
	padding: 5px 0 5px 25px;
	font-size: 1.13rem;
	font-weight: normal;
	background-color: #c0d860;
}


/* ---- 声カード ---- */
#contents .voice {
	background: #fff;
	border: 1px solid #c0d860;
	margin: 0 15px 40px 15px;
}

#contents .voice_head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding: 12px 12px;
	background-color: #eef6d8;
	border-bottom: 1px solid #c0d860;
}

#contents .voice_no {
	display: inline-block;
	font-size: 1rem;
	font-weight: bold;
	color: #fff;
	background-color: #3db680;
	padding: 4px 16px;
	border-radius: 3px;
	white-space: nowrap;
}

#contents .voice_attr {
	font-size: 0.94rem;
	color: #007b44;
	font-weight: bold;
}

#contents .voice_body {
	padding: 18px 12px 6px 12px;
}


/* ---- スキャン画像サムネイル ---- */
#contents .voice_scan {
	margin: 0 auto 18px auto;
	text-align: center;
}

#contents .voice_scan a.lightbox {
	display: inline-block;
	position: relative;
	width: 190px;
	max-width: 60%;
	padding: 6px;
	background: #fff;
	border: 1px solid #d8d8d8;
	box-shadow: 0 2px 6px rgba(0,0,0,0.12);
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow .2s, transform .2s;
}

#contents .voice_scan a.lightbox:hover {
	box-shadow: 0 5px 14px rgba(0,0,0,0.22);
	transform: translateY(-2px);
}

#contents .voice_scan a.lightbox img {
	display: block;
	width: 100%;
	height: auto;
}

#contents .voice_scan figcaption {
	margin: 7px 0 0 0;
	font-size: 0.8rem;
	color: #007b44;
}

#contents .voice_scan a.lightbox:after {
	content: "🔍";
	position: absolute;
	right: 10px;
	bottom: 34px;
	width: 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	font-size: 0.9rem;
	color: #fff;
	background: rgba(61,182,128,0.9);
	border-radius: 50%;
}


/* ---- Q&A ---- */
#contents .voice_qa dl {
	margin: 0 0 18px 0;
}

#contents .voice_qa dt {
	position: relative;
	font-size: 0.95rem;
	font-weight: bold;
	color: #333;
	background-color: #f4f8e6;
	border-left: 5px solid #c0d860;
	padding: 9px 12px 9px 40px;
	line-height: 1.5;
}

#contents .voice_qa dt:before {
	content: "Q";
	position: absolute;
	left: 10px;
	top: 8px;
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	font-size: 0.9rem;
	color: #fff;
	background-color: #3db680;
	border-radius: 50%;
}

#contents .voice_qa dd {
	position: relative;
	font-size: 0.94rem;
	color: #333;
	padding: 12px 12px 12px 45px;
	margin: 0;
	line-height: 1.8;
}

#contents .voice_qa dd:before {
	content: "A";
	position: absolute;
	left: 15px;
	top: 12px;
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	font-size: 0.9rem;
	color: #fff;
	background-color: #ffaa41;
	border-radius: 50%;
}


/* ---- 注釈 ---- */
#contents #note {
	font-size: 0.88rem;
	color: #333;
	margin: 40px 15px 60px 15px;
}

#contents #note p {
	text-indent: -1.3rem;
	margin: 10px 0 10px 1.3rem;
}


/* ---- 戻るボタン ---- */
#contents #return {
	position: relative;
	height: 82px;
	background: #c0d953;
	border: 3px solid #3db680;
	margin: 0 10px 80px 10px;
}

#contents #return a {
	display: inline-block;
	width: 100%;
	height: 100%;
}

#contents #return p {
	position: absolute;
	left: 10px;
	top: 3px;
	font-size: 1.13rem;
	color: #333;
	line-height: 60px;
}

#contents #return p img {
	margin: 0 10px 0 0;
}


/* =========================================================
   ライトボックス
   ========================================================= */
#lightbox {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	background-color: rgba(0,0,0,0.82);
	box-sizing: border-box;
	padding: 24px;
	text-align: center;
	/* 背景（用紙外）クリック＝閉じる。閉じると分かる×カーソル（フォールバック: pointer） */
	cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='12'%20cy='12'%20r='10'%20fill='%23000'%20fill-opacity='.45'%20stroke='%23fff'%20stroke-width='1.5'/%3E%3Cpath%20d='M8.5%208.5l7%207M15.5%208.5l-7%207'%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/svg%3E") 12 12, pointer;
}

#lightbox.is-open {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* lightbox表示中は「上に戻る」ボタン（#scrollUp）を前面に出さない。
   scrollUpプラグインが z-index:2147483647 をインライン付与するため、
   兄弟要素の #scrollUp を lightbox表示中のみ非表示にする（!important でインライン上書き） */
#lightbox.is-open ~ #scrollUp {
	display: none !important;
}

#lightbox_inner {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	cursor: default;
}

#lightbox_img {
	max-width: 100%;
	max-height: calc(100vh - 110px);
	width: auto;
	height: auto;
	background: #fff;
	box-shadow: 0 6px 30px rgba(0,0,0,0.5);
}

#lightbox_caption {
	margin: 12px 0 0 0;
	color: #fff;
	font-size: 0.9rem;
	line-height: 1.5;
}

#lightbox_close {
	position: absolute;
	right: -14px;
	top: -18px;
	width: 40px;
	height: 40px;
	line-height: 36px;
	text-align: center;
	font-size: 1.8rem;
	color: #333;
	background: #fff;
	border: none;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0,0,0,0.4);
	cursor: pointer;
	padding: 0;
}

#lightbox_close:hover {
	background: #f0f0f0;
}


/* ---- 原寸表示トグルボタン ---- */
#lightbox_zoom {
	position: absolute;
	right: 34px;
	top: -18px;
	width: 40px;
	height: 40px;
	padding: 6px;
	color: #333;
	background: #fff;
	border: none;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0,0,0,0.4);
	cursor: pointer;
	box-sizing: border-box;
}

#lightbox_zoom:hover {
	background: #f0f0f0;
}

#lightbox_zoom svg {
	display: block;
	width: 100%;
	height: 100%;
}

#lightbox_zoom .icon-zoom-out {
	display: none;			/* 既定（全体表示中）は＋アイコン */
}

/* カーソルで状態を表現 */
#lightbox.is-open #lightbox_img {
	cursor: zoom-in;
}

#lightbox.is-actual #lightbox_img {
	cursor: zoom-out;
}


/* =========================================================
   ライトボックス：原寸表示状態
   ========================================================= */
#lightbox.is-actual.is-open {
	display: block;				/* flex中央寄せを解除 */
	overflow: auto;				/* はみ出し分をスクロール */
	-webkit-overflow-scrolling: touch;
	text-align: center;			/* 画面に収まる画像は中央、はみ出す画像はスクロール */
	padding: 0;
}

#lightbox.is-actual #lightbox_inner {
	display: inline-block;
	vertical-align: top;
	max-width: none;
	max-height: none;
}

#lightbox.is-actual #lightbox_img {
	max-width: none;
	max-height: none;			/* natural size（1024×1536）で等倍表示 */
}

#lightbox.is-actual #lightbox_caption {
	display: none;				/* 原寸スクロール時は非表示 */
}

/* アイコンを＋→−に切替 */
#lightbox.is-actual #lightbox_zoom .icon-zoom-in {
	display: none;
}

#lightbox.is-actual #lightbox_zoom .icon-zoom-out {
	display: block;
}

/* ×・ズームボタンはスクロール中も操作できるよう画面に固定 */
#lightbox.is-actual #lightbox_close {
	position: fixed;
	right: 14px;
	top: 14px;
}

#lightbox.is-actual #lightbox_zoom {
	position: fixed;
	right: 62px;
	top: 14px;
}


/* =========================================================
   メディアクエリ（free-consultation.css を踏襲）
   ========================================================= */
@media print, screen and (min-width:344px) {

	#contents #return {
		width: 318px;
		margin: 0 auto 80px auto;
	}

	#contents #return p {
		left: 20px;
	}

}


@media print, screen and (min-width:370px) {

}


@media print, screen and (min-width:486px) {

	#main #main_title div.title {
		flex-direction: row;		/* 486px以上：イラスト左・文字右 */
		align-items: center;
		justify-content: flex-start;
		gap: 20px;
		padding: 14px 20px;
	}

	#main #main_title div.title p {
		flex: 0 0 auto;
		margin: 0;
	}

	#main #main_title div.title h2 {
		text-align: left;
	}

	#main #main_title div.syogai {
		clear: left;
	}

	/* スキャンを左、本文を右に横並び */
	#contents .voice_body {
		display: flex;
		flex-wrap: wrap;
		gap: 6px 20px;
		align-items: flex-start;
	}

	#contents .voice_scan {
		flex: 0 0 auto;
		margin: 4px 0 10px 0;
	}

	#contents .voice_scan a.lightbox {
		width: 150px;
		max-width: none;
	}

	#contents .voice_qa {
		flex: 1 1 320px;
		min-width: 0;
	}

}


@media print, screen and (min-width:600px) {

	#main #main_title {
		margin: 20px 15px 25px 15px;
	}

	#contents .title h3 {
		padding: 0 0 0 25px;
		line-height: 50px;
	}

	#contents .title h3>br.sp {
		display: none;
	}

	#contents .voice {
		margin: 0 50px 40px 50px;
	}

	#contents #note {
		margin: 40px 50px 60px 50px;
	}

}


@media print, screen and (min-width:690px) {

	#contents .voice_scan a.lightbox {
		width: 180px;
	}

	#contents #return {
		margin: 0 44px 80px auto;
	}

	#lightbox_img {
		max-width: 720px;
	}

}


@media print, screen and (min-width:850px) {

	#main #main_title div.title h2 {
		white-space: nowrap;		/* 十分広い：1行で表示 */
	}

	#main #main_title div.title h2 br.brk {
		display: none;
	}

	#contents .voice {
		width: 818px;
		margin: 0 auto 40px auto;
	}

	#contents #note {
		width: 820px;
		margin: 40px auto 60px auto;
	}

}


@media print, screen and (min-width:933px) {

	#main #main_title {
		width: 897px;
		margin: 20px auto 25px auto;
	}

	#main #main_title div.syogai p {
		width: 730px;
		padding: 0 0 10px 0;
		margin: 10px auto 0 auto;
	}

	#contents .title {
		width: 897px;
		height: 50px;
	}

	#contents .voice_scan a.lightbox {
		width: 200px;
	}

}


@media print, screen and (min-width:1000px) {

	#contents {
		width: 1000px;
		margin: 0 auto;
	}

}
