@charset "utf-8";
/* クラウドファンディングのcss */
@media screen and (max-width: 767px) {
	h2.section-ttl {
		line-height: 1.2;
		width: calc(100% - 4rem);
		margin: 0 auto 2rem;
	}
}

/*=========================================
		ふるさと納税3.0とは
=========================================*/
#point .col-5 > .col {
	width: calc(100% / 5 - 30px);
	margin: 15px;
}
@media screen and (max-width: 999px) {
	#point .col-5 > .col {
		margin: 15px 0;
	}
}

#point li {
	border: 4px solid #ccc;
	position: relative;
	/* margin: 0 1.5rem; */
}

#point li:not(:first-child)::before {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	left: -2.5rem;
	border-top: 2px solid #141414;
	border-right: 2px solid #141414;
	width: 1rem;
	height: 1rem;
	-webkit-transform: translateY(-50%) rotate(45deg);
	transform: translateY(-50%) rotate(45deg);
	transform: translateY(-50%) rotate(45deg);
	transition: border-color 0.3s;
	content: "";
}

#point li h5 {
	padding: 1rem 0 3rem;
	text-align: center;
}

#point li .sub {
	padding: 0.5rem 1rem 1rem;
	text-align: right;
	display: block;
	border-bottom: 1px dotted #ccc;
}

#point li .inner {
	padding: 1.5rem 2rem 2rem;
}

#point li .inner .btn_wrap {
	width: 100%;
}

#point li .i_wrap {
	text-align: center;
	padding: 3rem 0 1rem;
}

#point li .i_wrap i {
	font-size: 42px;
	font-size: 4.2rem;
	font-size: calc(3.6rem + ((1vw - 0px) * 0.3125));
}

#feature-list li {
	padding: 1rem;
	background: #fff;
}

#feature-list li h4 {
	margin: 1.2rem 0 0;
}

#project {
	padding: 3rem 2rem;
	color: #fff;
}

#project .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 3rem;
}

#project .project_txt {
	flex: 1;
}

#project h2 {
	text-align: left;
	color: #fff;
	background: linear-gradient(to right, #ffffff, #ffffff);
	-webkit-background-clip: text;
	padding: 2rem 0 1rem;
	line-height: 1.2;
}

#project .btn_wrap {
	width: calc(360 / 1366* 100%);
	margin: 2rem 0;
}

@media screen and (max-width: 999px) {

	#point li:not(:first-child)::before {
		left: 50%;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
		top: -3rem;
		-webkit-transform: translateY(-50%) rotate(45deg);
		transform: translateY(-50%) rotate(45deg);
		-webkit-transform: translateX(-50%) rotate(135deg);
		transform: translateX(-50%) rotate(135deg);
	}

	#point .col-1_sp > .col {
		width: 100%;
	}

	#project {
		padding: 0;
	}

	#project .inner {
		flex-direction: column;
	}

	#project .btn_wrap {
		width: 100%;
	}
}

@media screen and (max-width: 480px) {
	#what p {
		text-align: left !important;
	}

	#what {
		padding-top: 1rem !important;
	}

	#what, #point, #deduction {
        padding-top: 0;
    }

	#point ul li.col:first-of-type {
		margin-top: 0;
	}
}

/*=========================================
		プロジェクトを探す
=========================================*/
#project_wrap .btn_wrap {
	margin-top: 4rem;
}


#pj_wrap #pj-list li {
	padding: 1rem;
	background: #fff;
}

#pj_wrap #pj-list li h4 {
	margin: 1.2rem 0 0;
	line-height: 1.5;
}

@media screen and (min-width: 1000px) {
	#pj_wrap #pj-list.col-3 > .col {
		margin-bottom: 1.5rem;
		width: calc(33.333% - 14px);
		margin-left: 20px;
	}

	#pj_wrap #pj-list.col-3>.col:nth-of-type(3n+1) {
		margin-left: 0;
	}
}

@media screen and (max-width: 999px) and (min-width: 481px) {
	#pj_wrap #pj-list li {
		margin-bottom: 1rem;
	}
}

@media screen and (max-width: 480px) {
	#pj_wrap #pj-list li {
		margin-bottom: 0.5rem;
	}

	#pj_wrap #pj-list li h4 {
		margin-top: 1rem;
		font-size: 1.6rem;
	}
}

#pj_wrap #pj-list li .img_wrap {
	position: relative;
	height: 0;
	background-color: #F8F8F6;
	padding-bottom: 61.713%;
}

#pj_wrap #pj-list li .img_wrap img {
	width: auto;
	height: auto;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	display: block;
}

#pj_wrap #pj-list .detail-item {
	display: flex;
	justify-content: space-between;
	font-weight: 100;
	align-items: center;
}
@media screen and (max-width: 999px) {
	#pj_wrap #pj-list .detail-item {
		flex-direction: column;
		align-items: flex-start;
	}
}

#pj_wrap #pj-list .detail-item .time {
	color: #999999;
}

#pj_wrap #pj-list .detail-item .time span {
	color: #141414;
	padding: 0 .5rem;
}

#pj_wrap #pj-list .detail-item .price {
	font-size: 2.4rem;
	font-weight: bold;
}
@media screen and (max-width: 999px) {
	#pj_wrap #pj-list .detail-item .price {
		font-size: 1.8rem;
	}
}

#pj_wrap #pj-list .detail-item .price span {
	font-weight: 100;
	color: #999999;
	font-size: 1.6rem;
	margin: 0 .5rem;
}
@media screen and (max-width: 999px) {
	#pj_wrap #pj-list .detail-item .price span {
		display: block;
	}
}

/* 棒グラフ */
.meter {
	display: flex;
	align-items: center;
	font-weight: 100;
	font-size: 1.4rem;
}

.meter .meter-in {
	overflow: hidden;
	background-color: #F1F1F1;
	width: 100%;
	height: 1.5rem;
	border-top-right-radius: 2rem;
	border-top-left-radius: 2rem;
	border-bottom-right-radius: 2rem;
	border-bottom-left-radius: 2rem;
	margin-right: 1rem;
}
@media screen and (max-width: 999px) {
	.meter .meter-in {
		height: 1rem;
	}
}

.meter .meter-in .bar {
	max-width: 100%;
	height: 100%;
	color: #ffffff;
	text-align: left;
	line-height: 16px;
	border-top-right-radius: inherit;
	border-top-left-radius: inherit;
	border-bottom-right-radius: inherit;
	border-bottom-left-radius: inherit;
}

#pj-list li {
	position: relative;
}

#pj-list li:after {
	position: absolute;
	display: inline-block;
	font-size: 1.4rem;
	text-align: center;
	padding: .3rem .5rem;
	z-index: 3;
	top: 2rem;
	right: 2rem;
	color: #fff;
}
@media screen and (max-width: 999px) {
	#pj-list li:after {
		top: 1.5rem;
		right: 1.5rem;
	}
}

#pj-list li[data-tag="endingSoon"]:after {
	background: #FF5126;
	content: "まもなく終了";
	color: #fff;
}

#pj-list li[data-tag="achieved"]:after {
	background: #F9F937;
	content: "達成！";
	color: #141414;
}

#pj-list li[data-tag="end"] .img_wrap {
	position: relative;
	height: 0;
	background-color: #F8F8F6;
	padding-bottom: 61.713%;
}
#pj-list li[data-tag="yet"] .img_wrap {
	position: relative;
	height: 0;
	background-color: #F8F8F6;
	padding-bottom: 61.713%;
}

#pj-list li[data-tag="end"] .img_wrap:before {
	content: "";
	display: block;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, .6);
	position: absolute;
	z-index: 1;
}
#pj-list li[data-tag="yet"] .img_wrap:before {
	content: "";
	display: block;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, .6);
	position: absolute;
	z-index: 1;
}

#pj-list li[data-tag="end"] .img_wrap:after {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	z-index: 2;
	font-size: 2rem;
	position: absolute;
	content: "受付終了";
	color: #fff;
}
#pj-list li[data-tag="yet"] .img_wrap:after {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	z-index: 2;
	font-size: 2rem;
	position: absolute;
	content: "受付前";
	color: #fff;
}

@media screen and (max-width: 999px) {
	#pj-list li[data-tag="end"] .img_wrap:after {
		font-size: 1.7rem;
	}
	#pj-list li[data-tag="yet"] .img_wrap:after {
		font-size: 1.7rem;
	}
}

.toggle {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 1rem;
}

.toggle-button {
	display: inline-block;
	position: relative;
	width: 4.5rem;
	height: 2rem;
	border-radius: 5rem;
	border: 1.5px solid #999999;
	box-sizing: content-box;
	cursor: pointer;
	transition: border-color .4s;
	margin: 0 .5rem;
}

.toggle-button:has(:checked) {
	border-color: #2a83a2;
}

.toggle-button::after {
	position: absolute;
	top: 50%;
	left: .2rem;
	transform: translateY(-50%);
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 50%;
	background-color: #999999;
	content: '';
	transition: left .4s;
}

.toggle-button:has(:checked)::after {
	left: 2.5rem;
	background-color: #2a83a2;
}

.toggle-button input {
	display: none;
}