@charset "utf-8";

/*
	有限会社山田塗装店　共通CSS
	https://yamada-tosou.jp/

	create	20220808-

*/

/* ----- import ----- */
@import url("import_html5reset-1.6.1.css") all;		/* リセット */
@import url("import_text.css") all;		/* テキスト */


/* ----- 共通用 ----- */
/* ----- 共通 ----- */
html {
	font-size: 62.5%;
}
body {
	font-size: 1.6rem;
	margin: 0px auto;
	padding: 0px;
	text-align: center;
	background: #FFFFFF;
	color: #333333;
	-webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
	box-sizing: border-box;
}
a:hover {
	color: #FF3300;
}
.underConstruction {
	width: 100%;
	padding: 200px 0!important;
	text-align: center!important;
}
.nodata {
	width: 100%;
	padding: 100px 0px;
}
.preview {
	width: 100%;
	display: block;
	background-color: #f00;
	color: #fff;
	padding: 10px;
	margin: 0;
}

/* ------------------------------
	回り込み解除
------------------------------ */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

.clearboth {	clear: both; }


/* ------------------------------
	工事中
------------------------------ */
.underconstruction {
	font-size: 3rem;
	text-align: center;
	height: 300px;
	width: 100%;
	padding-top: 100px;
}
.underconstruction span {
	display: block;
	margin: 30px 0 0 0;
}


/* ------------------------------
	データなし
------------------------------ */
.nodata {
	width: 100%;
	text-align: center;
	padding: 100px 0;
}


/* ------------------------------
	アイコン
------------------------------ */
.icon_img {
	vertical-align: middle;
	margin: 0px 0px 0px 5px;
	padding: 0px;
	border: 0px;
}
.tipped {color: #ccc;}



/* ------------------------------
	ローディングぐるぐる
------------------------------ */
.loading {
	margin: 0px auto;
	padding: 55px 0;
	width: 32px;
	background: url(../img/loading.gif) no-repeat 0px 40px;
	height: 32px;
}


/* ------------------------------
	色設定
------------------------------ */
.inputError {
	background-color: #ffedf8!important;
	border: 1px solid #f00!important;
}
.fa-file-pdf {
	color: #bc1d07;
}
.fa-file-word {
	color: #103f91;
}
.fa-file-excel {
	color: #185c37;
}
.fa-file-archive {
	color: #000;
}
.fa-file-powerpoint{
	color: #d35230;
}



/* ------------------------------
	スクロールバー
------------------------------ */
/*スクロールバー全体*/
::-webkit-scrollbar {
	width: 10px;
}
/*スクロールバーの軌道*/
::-webkit-scrollbar-track {
	border-radius: 10px;
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
/*スクロールバーの動く部分*/
::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 50, .5);
	border-radius: 10px;
	box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}



/* ---------------------------------------------------------
	約568px未満の画面向けスタイル モバイルファースト
--------------------------------------------------------- */

/* ヘッダ部
---------------------------------------- */
header {
	height: 215px;
	background-image: url(../img/cloudBg_sp.svg);
	background-position: -96px bottom;
	background-repeat: repeat-x;
	background-size: 800px;
	position: relative;
	background-color: #6FC0D3;
}
header .obiBox {
	color: #333;
	font-size: 1.4rem;
	text-align: left;
	margin: 0;
	padding: 5px;
	background-color: #fff;
}
header .titleBlock {
	font-size: 1.6rem;
	width: 100%;
	color: #fff;
	font-weight: bold;
	text-align: left;
	margin: 20px auto 0;
}
header .titleBlock .husenBox {
	width: 100%;
	list-style: none;
	margin: 5px auto 0;
	padding: 0;
	display: flex;
	justify-content: space-around;
}
header .titleBlock .husenBox p img {
	width: 90%;
}
.spMenu {
	font-size: 3rem;
	color: #333;
	position: fixed;
	top: 10px;
	right: 10px;
	width:48px;
	margin: 0;
	padding: 7px 10px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	z-index: 99;
}



/* ナビゲーション
---------------------------------------- */
.navi {
	display: none;
	color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
	overflow: scroll;
	z-index: 88;
	-webkit-transition: all 1s;
	transition: all 1s;
}
.open {
	display: block;
}
.navi h1 {
	font-size: 2.4rem;
	text-align: left;
	margin: 0;
	padding: 20px;
}
.navi ul {
	width: 161px;
	margin: 0 auto 10px;
	list-style: none;
}
.navi ul li {
}
.navi ul li a {
	color: #333;
	font-size: 1.4rem;
	font-weight: bold;
	text-decoration: none;
	width: 190px;
	height: 65px;
	margin: 0;
	padding: 26px 0 0 0;
	background-image: url(../img/menuBgLong.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	display: block;
}
.navi .freeDialBox {
	padding-top: 0px;
}



/* メイン
---------------------------------------- */




/* パンくず
---------------------------------------- */
.pankuzu {
	width: 100%;
	color: #333;
	margin: 0 0 10px;
	padding: 12px 0;
	background-color: #eee;
}
.pankuzu ul {
	font-size: 1.4rem;
	margin: 0;
	padding: 0 10px;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.pankuzu ul li {
	display: none;
}
.pankuzu ul li:nth-last-of-type(3) {
	display: none;
}
.pankuzu ul li:nth-last-of-type(2) {
	display: block;
	width: 30px;
}
.pankuzu ul li:nth-last-of-type(2) span {
	display: none;
}
.pankuzu ul li:last-of-type {
	width: calc(100% - 50px);
	margin: 0;
	padding: 0;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	-o-text-overflow: ellipsis;
	   text-overflow: ellipsis;
}
.pankuzu ul li:last-of-type {
	width: calc(100% - 50px);
	margin: 0;
	padding: 0;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	-o-text-overflow: ellipsis;
	   text-overflow: ellipsis;
}

/* ページトップに戻るボタン
---------------------------------------- */
.btnTop {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 77;
}
.btnTop a {
	color: #333;
	font-size: 1.2rem;
	text-decoration: none;
	text-align: center;
	line-height: 1;
	width: 50px;
	height: 50px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	display: block;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.btnTop a:hover {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
}
.btnTop a .pchanUp {
	width: 40px;
	margin: 3px auto 0;
	padding: 0 0 35px;
	background-image: url(../img/pIllustNattokuSmall.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
}



/* いいねボタン
---------------------------------------- */
.snsBlock {
	margin: 50px auto;
	text-align: center;
	background-color: #fff!important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
}
.snsBlock .snsBox {
	margin: 0 1px;
}



/* 下部リンクボタン
---------------------------------------- */
main .pickupBlock {
	margin: 0;
	padding: 50px 0 0 0;
	background-color: #fff;
}
main .pickupBlock ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
main .pickupBlock ul li {
	margin: 0 10px 10px;
	padding: 0;
}
main .pickupBlock ul li a {
	color: #fff;
	text-decoration: none;
	width: 100%;
	margin: 0;
	padding: 0;
	border-radius: 10px;
	background-image: url(../img-index/photo1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: relative;
	display: block;
	overflow: hidden;
}
main .pickupBlock ul li:nth-child(2) a {
	background-image: url(../img-index/photo2.jpg);
}
main .pickupBlock ul li:nth-child(3) a {
	background-image: url(../img-index/photo3.jpg);
}
main .pickupBlock ul li a h4 {
	font-size: 3.2rem;
	margin: 30px 0 0;
	padding: 0;
	text-shadow: 2px 2px 0 #FFC488, -2px -2px 0 #FFC488;
}
main .pickupBlock ul li:nth-child(2) a h4 {
	text-shadow: 2px 2px 0 #96D48E, -2px -2px 0 #96D48E;
}
main .pickupBlock ul li:nth-child(3) a h4 {
	text-shadow: 2px 2px 0 #8CCCEC, -2px -2px 0 #8CCCEC;
}
main .pickupBlock ul li:nth-child(4) a h4 {
    text-shadow: 2px 2px 0 #8cccec, -2px -2px 0 #8cccec;
}
main .pickupBlock ul li a p {
	font-size: 1.6rem;
	line-height: 1.8;
	text-align: left;
	height: 130px;
	margin: 15px 0 30px;
	padding: 15px 20px;
	background-color: rgba(0,0,0,0.5);
}
main .pickupBlock ul li a .pchan {
	position: absolute;
	bottom: -45px;
	right: 10px;
	width: 130px;
	margin: 0;
	padding: 0 0 130px;
	background-image: url(../img/pIllustNattoku.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center top;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
main .pickupBlock ul li:nth-child(2) a .pchan {
	background-image: url(../img/pIllustMegane.png);
}
main .pickupBlock ul li:nth-child(3) a .pchan {
	background-image: url(../img/pIllustOsyaberi.png);
}
main .pickupBlock ul li:nth-child(4) a .pchan {
	background: none;
}
main .pickupBlock ul li a:hover .pchan {
	bottom: -35px;
	background-image: url(../img/anime01s.gif);
}
main .pickupBlock ul li:nth-child(2) a:hover .pchan {
	bottom: -35px;
	background-image: url(../img/anime02s.gif);
}
main .pickupBlock ul li:nth-child(3) a:hover .pchan {
	bottom: -35px;
	background-image: url(../img/anime03.gif);
}
main .pickupBlock ul li:nth-child(4) a:hover .pchan {
	background: none;
}


/* フッタ
---------------------------------------- */
footer {
	color: #fff;
	margin: 220px 0 0 0;
	padding: 100px 0 180px;
	background-color: #6FC0D3;
	background-image: url(../img/footBgTopSp.svg),url(../img/gaikanFoot.png);
	background-position: center -1px,center bottom;
	background-repeat: repeat-x,no-repeat;
	background-size: 360px,80%;
	position: relative;
}
footer .pchanIllustFoot {
	color: #333;
	position: absolute;
	top: -185px;
	left: calc(50% - 137.5px);
	margin: 0;
	padding: 20px;
	background-color: #fff;
	border-radius: 50%;
}
footer .pchanIllustFoot img {
	width: 240px;
}
footer .pchanIllustFoot p {
	font-size: 1rem;
	margin: 10px 0;
	padding: 0;
}
footer .footCompany {
	margin: 0;
	padding: 0;
}
footer .footCompany .company {
	font-size: 3.2rem;
	margin: 0 0 15px;
	padding: 0;
}
footer .footCompany .company span {
	font-size: 0.5em;
	margin-right: 10px;
}
footer .footCompany address {
	font-size: 1.6rem;
	margin: 0 30px;
	padding: 0;
}
footer .footCompany address p {
	margin: 0 0 10px;
	padding: 0;
}
footer .footCompany address .telFax {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
		justify-content: space-around;
}
footer .footCompany .comment {
	margin: 0;
	padding: 0;
}
footer .footCompany .comment p {
	font-size: 1.4rem;
	margin: 0;
	padding: 0;
}
footer .footMenu {
	display: none;
}
copyright {
	color: #333;
	font-size: 1.4rem;
	margin: 0;
	padding: 15px 0;
	background-color: #fff;
	display: block;
}
.freeDialBox {
	width: 100%;
	max-width: 320px;
	margin: 0 auto 10px;
	padding: 100px 0 0 0;
	position: relative;
}
.freeDialBox .pchanNattoku {
	width: 150px;
	position: absolute;
	top: 20px;
	right: 0;
	z-index: 1;
}
.freeDialBox .pchanNattoku img {
	width: 100%;
}
.freeDialBox a {
	color: #333;
	text-decoration: none;
	width: 100%;
	margin: 0;
	padding: 8px 10px;
	background-color: #fff;
	border-radius: 10px;
	display: block;
	position: inherit;
	z-index: 2;
}
.freeDialBox a .title {
	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;
	margin: 0 0 4px;
	padding: 0;
	display: block;
}
.freeDialBox a .tel {
	font-size: 2.8rem;
	letter-spacing: 0em;
	font-weight: bold;
	margin: 0 0 5px;
	padding: 0 0 0 60px;
	display: block;
	position: relative;
}
.freeDialBox a .tel img {
	width: 50px;
	position: absolute;
	top: -1px;
	left: 10px;
}
.freeDialBox a .comment {
	font-size: 1.4rem;
	text-align: right;
	line-height: 1;
	margin: 0 10px 0 0;
	padding: 0;
	display: block;
}
.inquiryBox {
	width: 100%;
	max-width: 320px;
	margin: 0 auto 10px;
}
.inquiryBox a {
	color: #333;
	text-decoration: none;
	width: 100%;
	margin: 0;
	padding: 5px 10px;
	background-color: #fff;
	border-radius: 10px;
	display: block;
}
.inquiryBox a .comment {
	font-size: 1.6rem;
	font-weight: bold;
	text-align: left;
	margin: 0 0 5px;
	padding: 0;
	display: block;
}
.inquiryBox a .title {
	color: #f00;
	font-size: 3rem;
	text-align: left;
	line-height: 1;
	margin: 0;
	padding: 0;
	display: block;
}
.inquiryBox a .icon {
	color: #1B982A;
	font-size: 4rem;
	line-height: 1;
	margin: 10px 5px 10px 0;
	padding: 0;
	float: right;
	display: block;
}

/* ------------------------------
	ふわふわアニメーション
------------------------------ */
.fluffy {
	animation: fluffy1 2s ease infinite;
}
@keyframes fluffy1 {
	0% { transform:translateY(0) }
	20% { transform:translateY(-10px) }
	40% { transform:translateY(0) }
	60% { transform:translateY(-10px) }
	70% { transform:translateY(0) }
	85% { transform:translateY(-10px) }
	100% { transform:translateY(0) }
}
.fuwafuwaHusen1 {
	animation: fuwafuwa_ani1 5s ease infinite;
}
.fuwafuwaHusen2 {
	animation: fuwafuwa_ani1 7s ease infinite;
}
.fuwafuwaHusen3 {
	animation: fuwafuwa_ani1 6s ease infinite;
}
.fuwafuwaHusen4 {
	animation: fuwafuwa_ani1 7.5s ease infinite;
}
.fuwafuwaTouch {
	animation: fuwafuwa_ani1 6.5s ease infinite;
}
@keyframes fuwafuwa_ani1 {
	0% { transform:translateX(0) }
	10% { transform:translateX(-3px) }
	20% { transform:translateX(0) }
	30% { transform:translateX(-3px) }
	40% { transform:translateX(0) }
	50% { transform:translateX(-3px) }
	60% { transform:translateX(0) }
	70% { transform:translateX(-3px) }
	80% { transform:translateX(0) }
	90% { transform:translateX(-3px) }
	100% { transform:translateX(0) }
}
@keyframes fuwafuwa_ani2 {
	0% { transform:translateX(0) }
	10% { transform:translateX(-10px) }
	30% { transform:translateX(0) }
	45% { transform:translateX(-5px) }
	60% { transform:translateX(0) }
	75% { transform:translateX(-3px) }
	100% { transform:translateX(0) }
}


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

	header .titleBlock {
		width: 320px;
	}
	header .titleBlock .husenBox {
		width: 300px;
	}
}



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

	/* ヘッダ部見出し
	---------------------------------------- */
	header {
		background-position: -66px bottom;
		background-size: 1000px;
	}
	header .obiBox {
		text-align: center;
	}
	header .titleBlock {
		font-size: 1.8rem;
		width: 400px;
	}
	header .titleBlock .husenBox {
		width: 400px;
	}

	/* 下部リンクボタン
	---------------------------------------- */
	main .pickupBlock {
		padding: 50px 10px 0;
	}
	main .pickupBlock ul {
		display: flex;
		justify-content: space-between;
		gap: 10px;
	}
	main .pickupBlock ul li {
		width: calc(100% / 3);
		margin: 0;
	}
	main .pickupBlock ul li a h4 {
		font-size: 2.4rem;
	}
	main .pickupBlock ul li a p {
		height: 160px;
	}

	/* フッタ
	---------------------------------------- */
	footer {
		padding: 110px 0 180px;
		background-image: url(../img/footBgTop.svg),url(../img/gaikanFoot.png);
		background-position: center -1px,center bottom;
		background-repeat: repeat-x,no-repeat;
		background-size: 572px,315px;
	}
	footer .pchanIllustFoot {
		left: 20px;
	}
	footer .footMenu {
		display: block;
		position: absolute;
		top: -130px;
		right: 0px;
		width: calc(100% - 360px);
	}
	footer .footMenu ul {
		list-style: none;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	footer .footMenu ul li {
		text-align: left;
		width: 50%;
		margin: 0 0 15px;
	}
	footer .footMenu ul li a {
		font-size: 1.4rem;
		padding: 0 0 0 30px;
		background-image: url(../img/asiatoMark.png);
		background-repeat: no-repeat;
		background-position: left center;
		background-size: contain;
	}
	footer .footCompany {
		width: 333px;
		margin: 0;
		padding: 0;
	}
	footer .footCompany .company {
		font-size: 2.8rem;
	}
	footer .footCompany address {
		font-size: 1.4rem;
		margin: 0 15px;
	}
	footer .footCompany .comment {
		font-size: 1.4rem;
	}
	footer .footBtn {
		position: absolute;
		top: -20px;
		right: 15px;
	}

	/* その他
	---------------------------------------- */
	.inquiryBox a .comment {
		font-size: 1.4rem;
	}
}





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

	/* ヘッダ
	---------------------------------------- */
	header {
		height: 300px;
		background-image: url(../img/cloudBg_pc.svg);
		background-position: center bottom;
		background-repeat: repeat-x;
		background-size: 1314px;
	}
	header .titleBlock {
		font-size: 2rem;
		width: 500px;
		position: relative;
	}
	header .titleBlock .husenBox {
		width: 500px;
	}
	header .titleBlock .pchan {
		position: absolute;
		top: -20px;
		right: -105px;
		width: 120px;
		padding: 0 0 120px;
		background-image: url(../img/anime04.gif);
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		transform:rotate(20deg);
	}
	/* pchan用アニメ */
	.fuwafuwaTouch {
		animation: fuwafuwa_ani2 3s ease infinite;
	}

	/* ナビ
	---------------------------------------- */
	.navi {
		display: block;
		text-align: center;
		width: 100%;
		height: 100px;
/*		height: fit-content; */
		overflow: hidden;
		background: none;
		position: absolute;
		top: 180px;
		left: 0;
	}
	.navi ul {
		width: 100%;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
			-ms-flex-pack: center;
				justify-content: center;
	}
	.navi ul li {
		margin: 20px 0 0 0;
		-webkit-transition: all 0.7s;
		transition: all 0.7s;
	}
	.navi ul li:last-of-type {
		display: none;
	}
	.navi ul li.select {
		margin: 0;
	}
	.navi ul li:hover {
		margin: 0;
	}
	.navi ul li a {
		color: #333;
		font-size: 1.4rem;
		text-decoration: none;
		width: 136px;
		height: 83px;
		margin: 0;
		padding: 33px 0 0 0;
		background-image: url(../img/menuBg.png);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		display: block;
	}
	.navi ul li:first-of-type a {
		font-size: 0.8em;
		width: 161px;
		height: 83px;
	}
	.navi h1 {
		display: none;
	}
	.navi .freeDialBox {
		display: none;
	}
	.navi .inquiryBox {
		display: none;
	}
	header .spMenu {
		display: none;
	}

	/* パンくず
	---------------------------------------- */
	.pankuzu {
		padding: 15px calc(50% - 480px);
	}
	.pankuzu ul {
		width: calc(100% - 250px);
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	.pankuzu ul li {
		font-size: 1.2rem;
		line-height: 1.3;
		text-align: left;
		margin-left: 5px;
		margin-right: 5px;
		display: block;
	}
	.pankuzu ul li:after {
		content: "　>";
	}
	.pankuzu ul li:last-of-type:after {
		content: "";
	}
	.pankuzu ul li:nth-last-of-type(3) {
		display: inline-block;
	}
	.pankuzu ul li:nth-last-of-type(3) span {
		display: inline-block;
	}
	.pankuzu ul li:nth-last-of-type(3) i {
		display: none;
	}
	.pankuzu ul li:nth-last-of-type(2) {
		display: block;
		width: auto;
	}
	.pankuzu ul li:nth-last-of-type(2) i {
		display: none;
	}
	.pankuzu ul li:nth-last-of-type(2) span {
		display: inline-block;
	}
	.pankuzu ul li:first-of-type {
		display: inline-block;
	}
	.pankuzu ul li:first-of-type i {
		display: inline-block;
	}
	.pankuzu ul li:last-of-type {
		display: block;
		width: auto;
		margin: 0 0 0 10px;
		padding: 0;
		overflow: hidden;
		white-space: nowrap;
		-o-text-overflow: ellipsis;
		   text-overflow: ellipsis;
	}

	/* 下部リンクボタン
	---------------------------------------- */
	main .pickupBlock {
		padding: 50px calc(50% - 480px) 0;
	}

	/* フッタ
	---------------------------------------- */
	footer {
		padding: 100px calc(50% - 600px) 80px;
		background-image: url(../img/footBgTop.svg),url(../img/gaikanFoot.png);
		background-position: center -1px,center bottom;
		background-repeat: repeat-x,no-repeat;
		background-size: 572px,auto;
	}
	footer .footCompany .company {
		font-size: 3.2rem;
	}
	footer .footMenu {
		top: -100px;
		right: calc(50% - 490px);
		width: 600px;
	}
	footer .footMenu ul li {
		width: calc(100% / 3);
	}
}



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

	/* ナビ
	---------------------------------------- */
	.navi ul li:last-of-type {
		display: inline-block;
	}

	/* ぱんくず
	---------------------------------------- */
	.pankuzu {
		padding: 15px calc(50% - 600px);
	}

	/* 下部リンクボタン
	---------------------------------------- */
	main .pickupBlock {
		padding: 50px calc(50% - 580px) 0;
	}

	/* フッタ
	---------------------------------------- */
	footer .footMenu {
		top: -100px;
		right: calc(50% - 600px);
		width: 840px;
	}
	footer .footMenu ul li {
		width: calc(100% / 4);
	}
}
