@charset "utf-8";

/* -----------------------------------------------------------
   cots
-------------------------------------------------------------- */
@media screen and (min-width: 769px) {
	#wrapper {
		overflow: clip;
	}
}

@media screen and (max-width: 768px) {}

/* -----------------------------------------------------------
    共通  枠
-------------------------------------------------------------- */ :root {
	--navwidth: 220px;
}

.costfix-cmn {
	position: relative;
	margin-top: 90px;
}

.costfix-cmn-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.costfix-cmn-nav {
	width: var(--navwidth);
	position: -webkit-sticky;
	position: sticky;
	float: right;
	top: 140px;
}

.costfix-cmn-contents {
	float: left;
	width: calc((100% - 120px) - var(--navwidth));
}

.costfix-cmn-contents .costfix-cmn-block:not(:last-of-type) {
	margin-bottom: 90px;
}

@media screen and (max-width: 768px) {
	.costfix-cmn {
		display: flex;
		margin-top: 40px;
		flex-direction: column-reverse;
		gap: 50px;
	}

	.costfix-cmn.clearfix::after {
		display: none;
	}

	.costfix-cmn-wrapper {
		flex-direction: column-reverse;
		padding: 0;
	}

	.costfix-cmn-nav {
		float: none;
		width: 100%;
		position: static;
	}

	.costfix-cmn-contents {
		float: none;
		width: 100%;
	}

	.costfix-cmn-contents .costfix-cmn-block:not(:last-of-type) {
		margin-bottom: 50px;
	}
}

/* -----------------------------------------------------------
    共通  costfix-nav
-------------------------------------------------------------- */
.costfix-nav-header {
	border-bottom: 1px solid var(--main);
	color: var(--main);
	font: bold 2rem/1 var(--serif);
	padding: 0 0 15px;
	text-align: center;
	letter-spacing: .05em;
}

[data-compnav="current"] {
	border-bottom: 1px solid var(--border1);
	padding: 0 0 20px;
}

.costfix-nav-ttl {
	border-bottom: 1px solid var(--border1);
	color: var(--cmnblack) !important;
	font-weight: 500;
	display: block;
	padding: 19px 0 19px 22px;
	position: relative;
	line-height: 1.5;
	letter-spacing: 0;
	font-size: 1.55rem;
}

[data-compnav="current"] .costfix-nav-ttl {
	padding-left: 0;
	border-bottom: none;
}

.costfix-nav-ttl::before {
	content: "\f054";
	color: var(--main);
	font: 900 1.2rem/1 var(--webicon);
	position: absolute;
	top: 55%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	transition: .05s;
	left: 5px;
}

[data-compnav="current"] .costfix-nav-ttl::before {
	display: none;
}

.costfix-nav-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.costfix-nav-anchor a {
	color: var(--cmnblack);
	display: block;
	padding: 7px 0 7px 30px;
	position: relative;
	transition: all .5s;
	line-height: 1.4;
}

.costfix-nav-anchor a::before {
	content: "\f054";
	color: var(--main);
	font: 900 .9rem/1 var(--webicon);
	position: absolute;
	top: 55%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	transition: .05s;
	left: 15px;
}

@media screen and (min-width: 769px) {
	a.costfix-nav-ttl:hover {
		background: var(--cmnbg7);
    	color: var(--sub2) !important;
	}
	
	a.costfix-nav-ttl:hover::before {
		color: var(--sub2);
	}

	.costfix-nav-anchor a:hover {
		color: var(--main);
		text-decoration: underline;
	}
}

@media screen and (max-width: 768px) {
	.costfix-nav-header {
		font-size: 2rem;
		padding: 0 0 13px;
	}

	.costfix-nav-parent {
		display: flex;
		flex-wrap: wrap;
		gap: 0 20px;
	}

	.costfix-nav-child {
		width: calc((100% - 20px) / 2);
		flex-grow: 1;
	}

	.costfix-nav-child.w100 {
		width: 100%;
	}

	.costfix-nav-child[data-compnav="current"] {
		width: 100%;
	}

	.costfix-nav-ttl {
		padding: 17px 0 17px 20px;
	}

	.costfix-nav-ttl::before {
		content: "\f078";
		font-size: 1.1rem;
		top: 50%;
		left: 0;
	}

	.costfix-nav-list {
		flex-wrap: wrap;
		flex-direction: row;
		gap: 5px 10px;
	}

	.costfix-nav-anchor {
		width: calc((100% - 10px) / 2);
	}

	.costfix-nav-anchor a {
		padding: 7px 0 7px 20px;
	}

	.costfix-nav-anchor a::before {
		left: 8px;
	}
}

/* -----------------------------------------------------------
    costfix-cmn-ttl 共通 見出し
-------------------------------------------------------------- */
.costfix-cmn-ttl {
	border-bottom: 6px solid var(--main);
	color: var(--main);
	font-weight: bold;
	font-size: 3.2rem;
	line-height: 1;
	letter-spacing: .07em;
	position: relative;
	padding: 0 0 10px;
	margin: 0 0 30px;
}

@media screen and (max-width: 768px) {
	.costfix-cmn-ttl {
		border-bottom-width: 5px;
		font-size: 2.5rem;
		letter-spacing: .03em;
		line-height: 1.3;
		margin: 0 auto 25px;
		padding: 0 0 8px;
		text-align: center;
		width: calc( 100% - 40px );
	}

	.costfix-cmn-ttl::before {
		width: 30px;
		height: 28px;
		top: 50%;
	}
}

/* -----------------------------------------------------------
    料金ページのみ調整
-------------------------------------------------------------- */
#cost .flyer-area .cmn-service-table-fix th {
	padding: 8px 5px 3px;
}

@media screen and (max-width: 768px) {
	#cost .cmn-service-table-unit {
		padding: 0 20px;
	}
	#cost .add-area .price-add-txt,
	#cost .copy-area .price-add-txt{
		padding: 0 20px;
	}
	#cost .add-area .price-add-list {
		padding: 0 20px;
	}
	#cost .unique-area .price-add-list2 {
		padding: 0 20px;
	}
}

/* -----------------------------------------------------------
    ft_link2
-------------------------------------------------------------- */
#cost .ft_link2 {
	padding-top: 120px;
}

@media screen and (max-width: 768px) {
	#cost .ft_link2 {
		padding-top: 60px;
	}
}