@charset "UTF-8";
/* CSS Document */

/*WordPress対策・全ページ余白なし*/
* {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	color: #000;
	background: #fff;
	font-family: "BIZ UDPMincho", "Yu Mincho", "MS PMincho", serif;
	font-weight: 400;
  font-style: normal;
}

img {
	vertical-align: bottom;
	max-width: 100%;
}

h1,h2,h3,h4 {
	font-family: "Noto Sans Thai", "Tahoma", "Arial", sans-serif;
}

p {
	color: #fff;
	font-family: "BIZ UDPMincho", "Yu Mincho", "MS PMincho", serif;
}

font,span {
	font-family: "Noto Sans Thai", "Tahoma", "Arial", sans-serif;
}

a {
	text-decoration: none;
	font-family: "BIZ UDPMincho", "Yu Mincho", "MS PMincho", serif;
}

/*共通*/
/*PC*/
@media only screen and (min-width: 1025px) {
	.pc {
		display: block !important;
	}

	.smp {
		display: none !important;
	}

	p {
		font-size: 16px;
		font-weight: normal;
		letter-spacing: 1px;
		line-height: 26px;
		text-align: left;
	}

	/*電話番号をクリックしても自動発信しない*/
	/* a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	} */

	main {
		position: relative;
		width: 100%;
		height: auto;
		/* padding: 100px 0 0 0; */
		overflow: hidden;
	}

}

/*SMP*/
@media only screen and (max-width: 1024px) {
	.pc {
		display: none !important;
	}

	.smp {
		display: block !important;
	}

	p {
		font-size: 12px;
		font-weight: normal;
		letter-spacing: 0.5px;
		line-height: 20px;
		text-align: left;
	}

	main {
		position: relative;
		width: 100%;
		height: auto;
		/* padding: 70px 0 0 0; */
		overflow: hidden;
	}


}

/*メインビジュアル*/
/*PC*/
@media only screen and (min-width: 1025px) {
	#mv {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto 80px auto;
	}

	#mv .img {
		z-index: 0;
		position: relative;
		max-width: 1280px;
		width: 90%;
		height: auto;
		margin: 0 auto 0 auto;
	}

	#mv .img img {
		display: block;
		position: relative;
		width: 100%;
		height: 395px;
		object-fit: cover;
		border-radius: 100px;
	}

	#mv .text {
		z-index: 1;
		position: relative;
		width: 100%;
		height: auto;
		margin: -35px auto 0 auto;
	}

	#mv .text::before {
		content: "";
		position: absolute;
		top: -60px;
		left: 50%;
		transform: translateY(0) translateX(-50%);
		width: 350px;
		height: 100px;
		background-image: url(/wp-content/themes/yamato_co/images/post/mv_maru.png);
		background-size: 100% 100%;
		background-repeat: no-repeat;
		background-position: center;
	}

	#mv .text h1 {
		font-size: 36px;
		font-weight: 500;
		letter-spacing: 5px;
		line-height: 36px;
		text-align: center;
	}

	#mv .text h1 img {
		display: block;
		position: relative;
		width: 86px;
		height: auto;
		margin: 0 auto 18px auto;
	}

}

/*SMP*/
@media only screen and (max-width: 1024px) {
	/*メインビジュアル*/
	#mv {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto 30px auto;
	}

	#mv .img {
		z-index: 0;
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto 0 auto;
	}

	#mv .img img {
		display: block;
		position: relative;
		width: 100%;
		height: 176px;
		object-fit: cover;
	}

	#mv .text {
		z-index: 1;
		position: relative;
		width: 100%;
		height: auto;
		margin: -12px auto 0 auto;
	}

	#mv .text::before {
		content: "";
		position: absolute;
		top: -35px;
		left: 50%;
		transform: translateY(0) translateX(-50%);
		width: 180px;
		height: 48px;
		background-image: url(/wp-content/themes/yamato_co/images/post/mv_maru.png);
		background-size: 100% 100%;
		background-repeat: no-repeat;
		background-position: center;
	}

	#mv .text h1 {
		font-size: 18px;
		font-weight: 500;
		letter-spacing: 3px;
		line-height: 18px;
		text-align: center;
	}

	#mv .text h1 img {
		display: block;
		position: relative;
		width: 43px;
		height: auto;
		margin: 0 auto 10px auto;
	}
}

/*404ページ*/
/*PC*/
@media only screen and (min-width: 1025px) {
	#er {
		position: relative;
		width: 800px;
		height: auto;
		margin: 150px auto 240px auto;
	}

	#er h1 {
		font-size: 24px;
		font-weight: 600;
		letter-spacing: 4px;
		line-height: 24px;
		color: #BABABA;
		text-align: left;
	}

	#er h1 font {
		position: relative;
		margin-right: 15px;
		font-size: 80px;
		font-weight: 700;
		font-family: "Open Sans", sans-serif;
		letter-spacing: 10px;
		line-height: 80px;
		color: #FFEA00;
		text-align: left;
	}

	#er h2 {
		margin: 20px auto 40px auto;
		font-size: 20px;
		font-weight: 500;
		letter-spacing: 2px;
		line-height: 20px;
		text-align: left;
		color: #5A5A5A;
	}

	#er p {
		text-align: left;
	}

	#er p a {
		font-weight: 600;
		color: #0099CC;
	}

	#er p a:hover {
		text-decoration: underline;
	}

}

/*SMP*/
@media only screen and (max-width: 1024px) {
	#er {
		position: relative;
		width: 315px;
		height: auto;
		margin: 75px auto 100px auto;
	}

	#er h1 {
		font-size: 15px;
		font-weight: 600;
		letter-spacing: 2px;
		line-height: 15px;
		color: #BABABA;
		text-align: left;
	}

	#er h1 font {
		position: relative;
		margin-right: 7px;
		font-size: 45px;
		font-weight: 700;
		font-family: "Open Sans", sans-serif;
		letter-spacing: 7px;
		line-height: 45px;
		color: #FFEA00;
		text-align: left;
	}

	#er h2 {
		margin: 15px auto 22px auto;
		font-size: 13px;
		font-weight: 500;
		letter-spacing: 1px;
		line-height: 13px;
		text-align: left;
		color: #5A5A5A;
	}

	#er p {
		text-align: left;
	}

	#er p a {
		font-weight: 600;
		color: #0099CC;
		text-decoration: underline;
	}

	#er p.indent {
		padding-left: 1em;
		text-indent: -1em;
	}

}
