@charset "utf-8";


/*
	有限会社山田塗装店　index用CSS
	index.html

	create	20210808-
*/

/* ---------------------------------------------------------
	約560px未満の画面向けスタイル mobile first
--------------------------------------------------------- */

/* ヘッダ
---------------------------------------- */
header {
	height: calc(100vh - 100px);
	background-image: url(../img/cloudBg_spTop.svg);
	background-position: -140px bottom;
	background-repeat: repeat-x;
	background-size: 1074px;
}
header .pchanBlock {
	width: calc(100% - 30px);
	max-width: 330px;
	margin: 0 auto;
	padding: 40px 20px 20px;
	background-color: #fff;
	position: relative;
	border-radius: 10px;
	box-shadow: 1px 1px 3px #999;
	z-index: 2;
}
header .pchanBlock h2 {
	width: 290px;
	position: absolute;
	top: -20px;
	left: calc(50% - 145px);
}
header .pchanBlock h2 img {
	width: 90%;
}
header .pchanBlock ul {
	list-style: none;
}
header .pchanBlock ul li {
	font-size: 1.6rem;
	text-align: left;
	margin: 0 0 18px;
}
header .pchanBlock ul li span {
	font-size: 1.4rem;
	font-weight: bold;
	margin: 0 0 3px;
	display: block;
}
header .pchanBlock ul li span.new {
	color: #f00;
	margin-left: 5px;
	display: inline-block;
}
header .pchanBlock ul li a {
	line-height: 1.3;
}
header .pchanBlock .btnMore {
/*	position: absolute;
	bottom: 10px;
	right: 10px;
*/
	display: flex;
	justify-content: center;
}
header .pchanBlock .btnMore a {
	color: #fff;
	font-size: 1.1rem;
/*	font-weight: bold; */
	text-decoration: none;
	width: 80px;
	margin: 0;
	padding: 14px 0 28px;
	background-image: url(../img/btnBgM.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	display: block;
}
header .pchanBlock .btnMore a:hover {
	text-shadow: 1px 1px 3px #000;
}
header .pchanBlock .pchan {
	display: none;
}



/* パンくず
---------------------------------------- */
.pankuzu {
	display: none;
}



/* メイン
---------------------------------------- */
.animeBlock {
	width: 100%;
	text-align: center;
	margin: 0;
	padding: 0 0 10px;
	background-image: url(../img/townBg.png);
	background-position: center calc(100% - 20px);
	background-repeat: repeat-x;
	background-size: auto;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
}
.animeBlock .company {
	position: relative;
}
.animeBlock .company img {
	width: calc(100% - 30px);
	max-width: 300px;
	margin: 0 auto;
}
.animeBlock .company .pchan1 {
	width: 160px;
	margin: 0;
	padding: 0 0 80px;
	background-image: url(../img/anime05.gif);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: -28px;
	left: 100px;
}
.animeBlock .company .pchan2 {
	width: 190px;
	margin: 0;
	padding: 0 0 85px;
	background-image: url(../img/anime10penki.gif);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 35px;
	right: 115px;
}
.animeBlock .company .pchan3 {
	width: 80px;
	margin: 0;
	padding: 0 0 60px;
	background-image: url(../img/anime03.gif);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 42px;
	right: 20px;
}



/* メイン
---------------------------------------- */
main {
	margin: 0;
	position: relative;
}
main .newsBlock {
	color: #333;
	margin: 0;
	padding: 80px 0 80px;
	background-color: #F5F0CE;
	background-image: url(../img/asiatoBg.png),url(../img/cloudBgHigh_yellow.svg),url(../img/cloudBgLow_yellow.svg);
	background-repeat: no-repeat,repeat-x,repeat-x;
	background-size: 200px,800px,800px;
	background-position: -130px calc(100% - 30px),center top,center bottom;
}
main .newsBlock .newsBox {
	margin: 0 10px 80px;
	padding: 0;
}
main .newsBlock .newsBox h3 {
	font-size: 2rem;
	text-align: left;
	margin: 0 0 10px;
	padding: 0 0 0 40px;
	background-image: url(../img/asiatoMark2.png);
	background-repeat: no-repeat;
	background-position: center left;
	background-size: contain;
}
main .newsBlock .newsBox .newsList {
}
main .newsBlock .newsBox .newsList ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
		-ms-flex-pack: start;
			justify-content: flex-start;
	-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	gap: 10px;
}
main .newsBlock .newsBox .newsList ul li {
	width: calc(50% - 5px);
	margin: 0;
	padding: 0 0 10px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 1px 1px 3px #999;
	position: relative;
	overflow: hidden;
}
main .newsBlock .newsBox .newsList ul li .new {
	color: #f00;
	margin-left: 5px;
}
main .newsBlock .newsBox .newsList ul li a {
	font-size: 1.6rem;
	width: 100%;
	color: #333;
	text-decoration: none;
}
main .newsBlock .newsBox .newsList ul li a .photo {
	width: calc(100% - 20px);
	margin: 10px;
	padding: 0 0 65%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: block;
	overflow: hidden;
}
main .newsBlock .newsBox .newsList ul li a .date {
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	margin: 0 0 10px;
	padding: 0;
	display: block;
}
main .newsBlock .newsBox .newsList ul li a .title {
	font-size: 0.9em;
	text-align: left;
	line-height: 1.3;
	min-height: 50px;
	margin: 0 10px 20px;
	display: block;
}
main .newsBlock .newsBox .newsList ul li a .cat {
	font-size: 0.7em;
	text-align: left;
	margin: 10px 0;
	padding: 5px 10px;
	background-color: #F5F0CE;
	display: block;
}
main .newsBlock .newsBox .newsList ul li a .pchan {
	position: absolute;
	bottom: -45px;
	right: 5px;
	width: 100px;
	margin: 0;
	padding: 0 0 100px;
	background-image: url(../img/pIllustMegane.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
main .newsBlock .newsBox .newsList ul li a:hover .pchan {
	bottom: -5px;
}
/* つぶやき */
main .newsBlock .newsBox .newsList ul li a .pchan1 {
	background-image: url(../img/pillustSpeaker.png);
}
main .newsBlock .newsBox .newsList ul li a:hover .pchan1 {
	background-image: url(../img/anime08s.gif);
}
/* 施工実績 */
main .newsBlock .newsBox .newsList ul li a .pchan2 {
	background-image: url(../img/pillustNuriW.png);
}
main .newsBlock .newsBox .newsList ul li a:hover .pchan2 {
	background-image: url(../img/anime06s.gif);
}
/* イベント */
main .newsBlock .newsBox .newsList ul li a .pchan3 {
	background-image: url(../img/pIllustOsyaberi.png);
}
main .newsBlock .newsBox .newsList ul li a:hover .pchan3 {
	background-image: url(../img/anime03s.gif);
}
/* 福利厚生 */
main .newsBlock .newsBox .newsList ul li a .pchan4 {
	background-image: url(../img/pillustFlug.png);
}
main .newsBlock .newsBox .newsList ul li a:hover .pchan4 {
	background-image: url(../img/anime09s.gif);
}
/* 求人情報 */
main .newsBlock .newsBox .newsList ul li a .pchan5 {
	background-image: url(../img/pillustGenba.png);
}
main .newsBlock .newsBox .btnMore {
	width: 80px;
	text-align: center;
	margin: 10px 0 0 0;
	padding: 0;
	float: right;
}
main .newsBlock .newsBox .btnMore a {
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	text-decoration: none;
	width: 80px;
	margin: 0;
	padding: 14px 0 28px;
	background-image: url(../img/btnBgM.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	display: block;
}
main .newsBlock .twitterBox {
	margin: 0 10px;
	padding: 0;
}
main .newsBlock .twitterBox h3 {
	font-size: 2rem;
	text-align: left;
	margin: 0 0 10px;
	padding: 0 0 0 40px;
	background-image: url(../img/asiatoMark2.png);
	background-repeat: no-repeat;
	background-position: center left;
	background-size: contain;
}
main .instaBlock {
	color: #333;
	margin: 0;
	padding: 80px 0 80px;
	background-color: #fff;
}
.lightwidget__posts--grid .lightwidget__tile {
	max-width: calc(100% / 3);
}



@media screen and (min-width: 375px){
	/*	約375px以上の画面向けスタイル second tablet */

	header .pchanBlock h2 img {
		width: 100%;
	}
}



@media screen and (min-width: 560px){
	/*	約560px以上の画面向けスタイル second tablet */

	/* ヘッダ部
	---------------------------------------- */
	header .pchanBlock {
		max-width: 500px;
	}
	header .pchanBlock .btnMore {
		gap: 10px;
	}
	header .pchanBlock .pchan {
		display: block;
		width: 108px;
		margin: 0;
		padding: 0 0 108px;
		background-image: url(../img/pIllustNattoku.png);
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		bottom: -28px;
		right: -38px;
	}

	.animeBlock {
		background-position: center calc(100% - 25px);
	}
	.animeBlock .company {
	}
	.animeBlock .company img {
		max-width: 500px;
	}
	.animeBlock .company .pchan1 {
		width: 220px;
		padding: 0 0 110px;
		top: -30px;
		left: calc(50% - 150px);
	}
	.animeBlock .company .pchan2 {
		width: 278px;
		padding: 0 0 120px;
		top: 60px;
		right: calc(50% - 120px);
	}
	.animeBlock .company .pchan3 {
		width: 110px;
		padding: 0 0 90px;
		top: 77px;
		right: calc(50% - 280px);
	}

	/* コンテンツ
	---------------------------------------- */
	main .newsBlock {
		padding: 120px 0 80px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
			-ms-flex-pack: justify;
				justify-content: space-between;
		background-size: 250px,800px,800px;
	}
	main .newsBlock .newsBox {
		width: 100%;
	}
	main .newsBlock .newsBox .newsList ul li {
		width: calc(25% - 8px);
	}
	main .newsBlock .twitterBox {
		width: 50%;
	}
	main .instaBlock {
		padding: 120px 0 80px;
	}
	.lightwidget__posts--grid .lightwidget__tile {
		max-width: calc(100% / 6);
	}
}





@media screen and (min-width: 980px){
	/*	約980px以上の画面向けスタイル pc style */

	/* ヘッダ部
	---------------------------------------- */
	header {
		height: calc(100vh - 30px);
		background-image: url(../img/cloudBg_pcTop.svg);
		background-position: -140px bottom;
		background-repeat: repeat-x;
		background-size: auto;
	}
	header .pchanBlock {
		max-width: 600px;
		margin-top: 70px;
		padding: 40px 20px 20px;
	}
	header .pchanBlock .btnMore {
		display: none;
	}
	header .pchanBlock .pchan {
		display: block;
		width: 120px;
		margin: 0;
		padding: 0 0 120px;
		background-image: url(../img/pIllustNattoku.png);
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		bottom: -25px;
		right: -48px;
	}
	.animeBlock {
		background-position: center calc(100% - 25px);
	}
	.animeBlock .company img {
		max-width: 756px;
	}
	.animeBlock .company .pchan1 {
		width: 250px;
		padding: 0 0 125px;
		top: -10px;
		left: calc(50% - 160px);
	}
	.animeBlock .company .pchan2 {
		width: 300px;
		padding: 0 0 100px;
		top: 150px;
		right: calc(50% - 370px);
	}
	.animeBlock .company .pchan3 {
		width: 120px;
		padding: 0 0 100px;
		top: 142px;
		left: calc(50% - 360px);
	}

	/* ナビ
	---------------------------------------- */
	main .snsBlock {
		margin: 12px auto 0;
		background: none!important;
		position: absolute;
		top: 0;
		right: calc(50% - 480px);
	}

	/* コンテンツ
	---------------------------------------- */
	main .newsBlock {
		padding: 120px calc(50% - 480px) 80px;
		background-size: 290px,800px,800px;
}
	main .newsBlock .newsBox .btnMore a:hover {
		text-shadow: 1px 1px 3px #000;
	}
	main .newsBlock .newsBox .newsList ul li a .cat {
		font-size: 0.75em;
		padding: 10px 10px;
	}
	main .instaBlock {
		padding: 120px calc(50% - 480px) 80px;
	}
	.lightwidget__posts--grid .lightwidget__tile {
		max-width: calc(100% / 6);
	}

	/* フッタ
	---------------------------------------- */
	footer .pchanIllustFoot {
		left: calc(50% - 480px);
	}
	footer .footBtn {
		right: calc(50% - 480px);
	}

}



@media screen and (min-width: 1200px){
	/*	約1200px以上の画面向けスタイル pc style */

	/* ナビ
	---------------------------------------- */
	main .snsBlock {
		right: calc(50% - 600px);
	}

	/* コンテンツ
	---------------------------------------- */
	main .newsBlock {
		padding: 120px calc(50% - 580px) 80px;
	}
	main .newsBlock .newsBox {
/*		width: calc(100% - 503px); */
	}
	main .newsBlock .twitterBox {
		max-width: 483px;
	}
	main .instaBlock {
		margin-top: -1px;
		padding: 120px calc(50% - 580px) 80px;
	}

	/* フッタ
	---------------------------------------- */
	footer .pchanIllustFoot {
		left: calc(50% - 580px);
	}
	footer .footBtn {
		right: calc(50% - 580px);
	}

}
