/*
 Theme Name:   nagikara
 Theme URI:    
 Description:  
 Author:       Junko Nukaga
 Author URI:   
 Template:     aglee-pro
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*--------------------------------------------------------------
FEATURE CSS
--------------------------------------------------------------*/

 #test-project-container{
    margin-top: 0px;
}

.widget_accesspress_basic_project, #test-project-container {
    margin-bottom: 0;
    padding-bottom: 0;
}

.single-custom-service #aglee-breadcrumbs,
.post-type-archive-custom-service #aglee-breadcrumbs {
	display: none;	
}

.page-template-default .content-area .entry-content a, .single .content-area a {
	color: #1e90ff; 
	text-decoration:underline;
}

.page-template-default .content-area a:hover { color: #ff6347; }


/* 170206 平成29年度奈義町企業版ふるさと納税 */

.taxPaymentCont {}

.taxPaymentCont div.ag-container {
	width:100%;
}

@media screen and (min-width: 981px) {
.taxPaymentCont #primary {
	padding: 0px !important;
}
}

#taxPaymentWrap {
	background:#FFF;
}

#taxPaymentWrap a {
	color:#2C2CD4;
	text-decoration:underline;
}

#taxPaymentWrap a:hover {
	text-decoration:none;
}

#taxPaymentWrap h1,
#taxPaymentWrap h2,
#taxPaymentWrap h3,
#taxPaymentWrap h4 {
	text-align:center;
}

#taxPaymentWrap h1 {
	font-family: "Noto Sans Japanese","Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
}

#taxPaymentWrap h2,
#taxPaymentWrap h3,
#taxPaymentWrap h4 {
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

#taxPaymentWrap h2 {
	font-size:2.2em;
	font-weight:bold;
	/* border-bottom:2px solid #bbb; */
	padding:40px 0;
	max-width:800px;
	margin:0 auto 0px auto;
}

#taxPaymentWrap h2 span {
	font-size:1.1em;
}

#taxPaymentWrap h3 {
	font-size:2em;
	margin-bottom:20px;
	color:#2D7425;
	position:relative;
}

#taxPaymentWrap h4 {
	font-size:2em;
	margin-bottom:20px;
}

#taxPaymentWrap .taxMainImg h1 {
	margin-bottom:20px;
	
}

#taxPaymentWrap .taxMainImg h1 img {
	 display: block;
 	 margin-left: auto;
 	 margin-right: auto;
}


#taxPaymentWrap section {
	clear:both;
	overflow:hidden;
}

#taxPaymentWrap section.sec1,
#taxPaymentWrap section.sec3,
#taxPaymentWrap section.sec5 {
}

#taxPaymentWrap section.sec2,
#taxPaymentWrap section.sec4, 
#taxPaymentWrap section.sec6{
	background:#FFFFE9;
}

#taxPaymentWrap section.sec4 {
	text-align:center;
}

#taxPaymentWrap p {
	max-width:900px;
	padding:0px 10px 0px 10px;
	margin:0 auto 40px auto;
}

#taxPaymentWrap p.ore {
    padding: 20px;
    margin: 80px auto 40px auto;
    border: 1px #ff9900 solid;
    border-radius: 10px;
}

#taxPaymentWrap p.contact {
    padding: 20px;
    margin: 80px auto 40px auto;
    background: #fff;
    border-radius: 10px;
}

#taxPaymentWrap p.centerP {
	margin-top:0;
	text-align:center;
}

div.taxImg {
	max-width:900px;
	margin:0 auto;
}

div.taxImg img {
	width:100%;
}

#taxPaymentWrap .photoList ul {
}

#taxPaymentWrap .photoList li {
	list-style:none;
	max-height:200px;
	overflow:hidden;
}

#taxPaymentWrap .photoList li img {
	width:100%;
}

#taxPaymentWrap .photoList li {
	display:inline-block;
	letter-spacing: normal;
	width:25%;
}

#taxPaymentWrap .workBtn {
	max-width:500px;
	margin:20px auto 20px auto;
	background:#FFF;
	border:2px solid #295074;
    transition: all .3s;
}

#taxPaymentWrap .workBtn:hover {
	background:#295074;
}

#taxPaymentWrap .workBtn a {
	display:block;
	text-align:center;
	padding:20px 10px;
	color:#295074;
	text-decoration:none;
    transition: all .3s;
}

#taxPaymentWrap .workBtn a:hover {
	color:#FFF;
}

#taxPaymentWrap p.taxMovie {
	text-align:center;
}

#taxPaymentWrap section.sec5 p.sec5P {
	text-align:center;
	font-size:1.2em;
}

#taxPaymentWrap .wpcf7 {
	max-width:800px;
	margin:0 auto;
}

#taxPaymentWrap .wpcf7 p {
	text-align:left;
	padding:0 10px;
	margin:0;
	margin-bottom:10px;
}

#taxPaymentWrap .wpcf7 p i {
	font-weight:bold;
	font-size:1.1em;
	font-style:normal;
	font-weight:normal;
}

#taxPaymentWrap .wpcf7 input,
#taxPaymentWrap .wpcf7 textarea {
	border-radius:6px;
	background:#f4faff;
	padding:5px;
}

#taxPaymentWrap .wpcf7 input[type=text],
#taxPaymentWrap .wpcf7 input[type=email] {
	width:80%;
}

#taxPaymentWrap .wpcf7 p.submitBtn {
	text-align:center;
}

#taxPaymentWrap .wpcf7 .wpcf7-submit {
	max-width:200px;
	margin:10px auto 10px auto;
	background:#FFF;
	border:2px solid #295074;
    transition: all .3s;
	color:#295074;
	padding:10px 40px;
	border-radius:0px;
}

#taxPaymentWrap .wpcf7 .wpcf7-submit:hover {
	background:#295074;
	color:#fff;
	cursor:pointer;
}


#taxPaymentWrap .photoList {
	letter-spacing: -.40em;
}


/* pcのみ */
@media screen and (min-width: 800px) {
	
	#taxPaymentWrap .taxMainImg {
		text-align:center;
		background:url(http://nagikara.jp/wp-content/uploads/2017/02/main_img.jpg) no-repeat center center #FFF;
		height:400px;
		background-size:auto 100%;
	}
	
	#taxPaymentWrap br.pcNone {
		display:none;
	}
	
	#taxPaymentWrap .taxMainImg {
	}
	
	#taxPaymentWrap .taxMainImg h1 img {
		opacity: 0;
	}
	
	#taxPaymentWrap h2 {
		z-index:0;
		position:relative;
	}
	
	#taxPaymentWrap h2:after {
		position:absolute;
		top:2px;
		left:0;
		content:"- Learning and Creation -";
		font-size:0.8em;
		color:#bbb;
		text-align:center;
		width:100%;
		opacity:0.5;
		z-index:-1;
		font-weight:normal;
	}
	
	/* #taxPaymentWrap h2:before {
		position:absolute;
		top:0;
		left:0;
		content:"";
		font-size:2em;
		color:#295074;
		text-align:center;
		width:100%;
		opacity:1;
		z-index:-1;
		border-bottom:1px solid red;
	} */
	
	
	#taxPaymentWrap h3 {
		height:60px;
		line-height:60px;
	}
	
	
	#taxPaymentWrap h3 {
		z-index:0;
	}
	
	#taxPaymentWrap h3,
	#taxPaymentWrap h3:after {
		height:40px;
		line-height:40px;
	}
	
	#taxPaymentWrap h3:after {
		position:absolute;
		top:0;
		left:0;
		content:"";
		font-size:2em;
		color:#bbb;
		text-align:center;
		width:100%;
		opacity:0.3;
		z-index:-1;
		letter-spacing: 0.1em;
	}
	
	#taxPaymentWrap section.sec2 h3:after {
		content:"WORK SHOP";
	}
	
	#taxPaymentWrap section.sec3 h3:after {
		content:"CAMP";
	}
	
	#taxPaymentWrap section.sec4 h3:after {
		content:"THANK YOU";
	}

	#taxPaymentWrap section.sec6 h3:after {
		content:"CONTACT";
	}
	
	#taxPaymentWrap section:not(last-child) {
		padding-bottom:50px;
	}
	
	#taxPaymentWrap section.sec2,
	#taxPaymentWrap section.sec3,
	#taxPaymentWrap section.sec4,
	#taxPaymentWrap section.sec6{
		padding-top:60px;
	}
}

/* spのみ */

@media screen and (max-width: 800px) {	
	#taxPaymentWrap section.sec2,
	#taxPaymentWrap section.sec3,
	#taxPaymentWrap section.sec4,
	#taxPaymentWrap section.sec6 {
		padding-top:20px;
	}
	
	#taxPaymentWrap .taxMainImg {
		/* background:url(http://nagikara.jp/wp-content/uploads/2017/02/img_tax_main_sf.jpg) no-repeat center center #FFF;
		background-size:100%; */
	}
	
	#taxPaymentWrap .taxMainImg h1 {
		/* position: relative;
		top: 50%;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
		padding:20px 10px;
		font-size:2em;
		color:#FFF;
		text-shadow:1px 1px 5px #000; */
	}
	
	#taxPaymentWrap .photoList li {
		width:100%;
	}
}

@media screen and (max-width: 540px) {
	#taxPaymentWrap .taxMainImg h1 {
	}
	
	#taxPaymentWrap h2 {
		font-size:1.8em;
	}
	
	#taxPaymentWrap h3,
	#taxPaymentWrap h4 {
		font-size:1.2em;
	}
	
	#taxPaymentWrap p {
	    padding:0;
	    margin: 20px auto 20px auto;
	}
}