@charset "utf-8";
/* ふるさと納税についてのcss */

/*=========================================
		ふるさと納税とは
=========================================*/
#what_wrap h3 { 
	text-align: center;
	margin-bottom: 1.5rem;
}

/* ふるさと納税とは */
#what_wrap #what .colorbox { margin: 3rem 0 0; }
#what_wrap #what .colorbox .btn_wrap { margin: 1rem auto 1.5rem; }
#what_wrap #what .colorbox .btn_wrap p { line-height: 1.7; }
#what_wrap #what .colorbox .btn_wrap i { 
	margin: 0 0 0 7px;
	line-height: 1.7;
}

/* ふるさと納税のポイント */
#what_wrap #point li { border: 4px solid #ccc; }
#what_wrap #point li h5 {
    border-bottom: 1px dotted #ccc;
    padding: 0.5rem 1rem 1rem;
    text-align: center;
}
#what_wrap #point li .inner { padding: 1.5rem 2rem 2rem; }
#what_wrap #point li .inner .btn_wrap { width: 100%; }
#what_wrap #point li .i_wrap {
    text-align: center;
    padding: 1.5rem 1rem 0;
}
#what_wrap #point li .i_wrap i {
    font-size: 42px;
    font-size: 4.2rem;
    font-size: calc(3.6rem + ((1vw - 0px) * 0.3125));
}

/* 寄附金控除について */
#what_wrap #deduction > ul { 
	margin-top: 2rem;
	height: 100%;
}
#what_wrap #deduction > ul li { height: 100%; }
#what_wrap #deduction .colorbox {
	font-size: 15px;
	font-size: 1.5rem;
	height: 100%;
}
#what_wrap #deduction .colorbox h4 {
	padding: 1.5rem 1rem 1rem 1rem;
    text-align: center;
    border-bottom: 1px dotted;
    font-size: 22px;
    font-size: 2.2rem;
    font-size: calc(1.6rem + ((1vw - 0px) * 0.3125));
    margin-bottom: 0 !important;
}
#what_wrap #deduction .td { vertical-align: top; }
#what_wrap #deduction .img_wrap { 
	margin: 3rem auto;
	position: relative;
}
#what_wrap #deduction .td:last-of-type .colorbox .txt p { margin-bottom: 1rem; }
#what_wrap #deduction .colorbox .txt { margin-bottom: 2rem; }
#what_wrap #deduction .colorbox .box { padding: 1.5rem 2rem; }
#what_wrap #deduction .colorbox .box h5 {
	text-align: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
#what_wrap #deduction .colorbox .caution li {
	font-size: 13px;
	font-size: 1.3rem;
}
#what_wrap #deduction .colorbox ol {
	counter-reset: list-count;
	list-style: none;
}
#what_wrap #deduction .colorbox ol > li::before {
	content:counter(list-count) "）";
	counter-increment: list-count;
	font-weight: bold;
	font-size: 16px;
	font-size: 1.6rem;
}
#what_wrap #deduction .colorbox ol li { margin-top: 1.5rem; }
#what_wrap #deduction .colorbox ol li:first-of-type { margin-top: 0; }
#what_wrap #deduction .colorbox ol li span { display: inline; }
#what_wrap #deduction .note { margin-top: 1rem; }

/*=========================================
		手続きの流れ
=========================================*/
#flow_wrap #flow .box { padding-bottom: 6rem; }
#flow_wrap #flow .box:last-of-type { padding-bottom: 0;}
#flow_wrap #flow > dl:nth-of-type(odd) {
	border-left: 4px solid #F5C007;
	padding-left: 3rem;
}
#flow_wrap #flow > dl:nth-of-type(even) {
	border-left: 4px solid #ccc;
	padding-left: 3rem;
}
#flow_wrap #flow > dl dt {
	clear: both;
	overflow: hidden;
	margin-bottom: 1rem;
}
#flow_wrap #flow dl dt .number {
    font-size: 50px;
	font-size: 5rem;
	font-size: calc(4rem + ((1vw - 0px) * 0.3125));
    line-height: 1;
	display: inline-block;
	float: left;
}
#flow_wrap #flow dl dt h3 { 
	display: inline-block;
	float: left;
	margin-left: 8px;
	width: calc(100% - 4em); 
	margin: 0.2rem 0 0.2rem 0.8rem;
}
#flow_wrap #flow ul.table { 
	height: 100%;
	margin-top: 2rem;
}
#flow_wrap #flow ul.table li.td { height: 100%; }
#flow_wrap #flow ul.table li.td > div {
    height: 100%;
	padding: 2rem;
}
#flow_wrap #flow ul.table li.td h5 { 
	text-align: center;
	margin-bottom: 1rem;
}
#flow_wrap #flow ul.table li.td .inner,
#flow_wrap #flow div.table {
	font-size: 15px;
	font-size: 1.5rem;
}
#flow_wrap #flow ul.table li.td .inner .btn_wrap { margin: 1.5rem auto; }
#flow_wrap #flow dl:first-of-type .btn_wrap a { line-height: 1.3; }
#flow_wrap #flow ul.table li.td .inner .colorbox { 
	border-width: 1px;
	border-style: dotted;
	border-left: 1px dotted;
	border-right: 1px dotted;
	padding: 1.5rem 2rem;
	margin-top: 2.5rem;
	font-size: 14px;
	font-size: 1.4rem;
}
#flow_wrap #flow div.table { margin-top: 2rem; }
#flow_wrap #flow div.table dt { 
	padding: 1.5rem 1rem;
    font-weight: bold;
    border-top: 1px solid #ccc;
}
#flow_wrap #flow div.table dd { padding: 1.5rem; }
#flow_wrap #flow div.table dd .caution {
	font-size: 13px;
	font-size: 1.3rem;
}
#flow_wrap #flow > dl > dd > .note { margin-top: 1rem; }
#flow_wrap #flow .txt-link { margin: 0 5px; }
#flow_wrap #flow .btn_wrap i {
    margin: 0 0 0 7px;
    line-height: 1.7;
}
#flow_wrap #flow ul.table li.td { vertical-align: top; }

/*=========================================
		ご挨拶
=========================================*/
#greeting_wrap #greeting .td { vertical-align: top; }
#greeting_wrap #greeting .img-block .img_wrap {
    position: relative;
    height: 0;
    background-color: #F8F8F6;
    padding-bottom: 62.223%;
}
#greeting_wrap #greeting .img-block .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;
}

@media screen and (min-width: 1000px) {
	/*=========================================
			ふるさと納税とは
	=========================================*/
	/* 寄附金控除について */
	#what_wrap #deduction .td:first-of-type { padding-right: 20px; }
	#what_wrap #deduction .td:last-of-type { padding-left: 20px; }
	#what_wrap #deduction .img_wrap {
		width: 80%;
		max-width: 630px;
		min-width: 500px;		
	}	
	
	/*=========================================
			手続きの流れ
	=========================================*/
	#flow_wrap #flow div.table dt { width: 12em; }
	
	/*=========================================
			ご挨拶
	=========================================*/
	#greeting_wrap #greeting .img-block {
		width: 24.321%;
    	max-width: 322px;
	}
}

@media screen and (max-width: 999px) {
	/*=========================================
			ふるさと納税とは
	=========================================*/
	/* 寄附金控除について */
	#what_wrap #deduction .td:first-of-type { margin-bottom: 2rem; }
	
	/*=========================================
			手続きの流れ
	=========================================*/
	#flow_wrap #flow > dl:nth-of-type(even),
	#flow_wrap #flow > dl:nth-of-type(odd) { padding-left: 2rem; }
	#flow_wrap #flow .btn_wrap.col-1 { width: 100%; }	
	#flow_wrap #flow dl dt h3 { margin: 0.4rem 0 0.4rem 0.8rem; }
}

@media screen and (max-width: 999px) and (min-width: 481px) {
	/*=========================================
			ふるさと納税とは
	=========================================*/
	/* 寄附金控除について */
	#what_wrap #point li:nth-of-type(-n+2) { margin-bottom: 2rem; }
	#what_wrap #deduction .img_wrap {
		width: 60%;
		max-width: 630px;
		min-width: 500px;		
	}	
	#what_wrap #deduction .img_wrap { margin: 2rem auto; }
	
	/*=========================================
			手続きの流れ
	=========================================*/
	#flow_wrap #flow div.table dt { width: 10em; }
	
	/*=========================================
			ご挨拶
	=========================================*/
	#greeting_wrap #greeting .img-block {
		width: 33.333%;
    	max-width: 322px;
	}
}

@media screen and (min-width: 481px) {
	/*=========================================
			手続きの流れ
	=========================================*/
	#flow_wrap #flow ul.table li.td:first-of-type { padding-right: 10px; }
	#flow_wrap #flow ul.table li.td:last-of-type { padding-left: 10px; }
	#flow_wrap #flow div.table dt { text-align: right; }
	#flow_wrap #flow div.table dd { border-top: 1px solid #ccc; }
	#flow_wrap #flow div.table dl:last-of-type dt,
	#flow_wrap #flow div.table dl:last-of-type dd { border-bottom: 1px solid #ccc; }
	
	/*=========================================
			ご挨拶
	=========================================*/
	#greeting_wrap #greeting .txt { padding-left: 20px; }
}

@media screen and (max-width: 480px) {
	/*=========================================
			ふるさと納税とは
	=========================================*/
	#what_wrap #what,
	#what_wrap #point,
	#what_wrap #deduction { padding-top: 0; }
	
	/* ふるさと納税とは */
	#what_wrap #what { padding-top: 1rem !important; }
	#what_wrap #what p { text-align: left !important; }
	#what_wrap #what .colorbox .btn_wrap { margin: 2rem auto; }
	
	/* ふるさと納税のポイント */
	#what_wrap #point li { 
		margin-top: 1.5rem;
		margin-bottom: 0;
	}
	#what_wrap #point li:first-of-type { margin-top: 0; }
	
	/* 寄附金控除について */
	#what_wrap #deduction .img_wrap { margin: 2rem auto; }
	
	/*=========================================
			手続きの流れ
	=========================================*/
	#flow_wrap #flow ul.table li.td:first-of-type { margin-bottom: 1.5rem; }
	#flow_wrap #flow > dl dt { margin-bottom: 0; }
	#flow_wrap #flow div.table dl {
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
		margin-top: 1.5rem;
	}
	#flow_wrap #flow div.table dt { text-align: center; }
	#flow_wrap #flow div.table dd { border-bottom: 1px solid #ccc; }
	
	/*=========================================
			ご挨拶
	=========================================*/
	#greeting_wrap #greeting { padding-top: 1rem !important; }
	#greeting_wrap #greeting .img-block { margin-bottom: 2rem; }
}

/*=========================================
		cssハック
=========================================*/
@media all and (-ms-high-contrast: none) { /* IE10,11用 */
	#flow_wrap #flow dl dt .number { line-height: 1.2; }
}