@charset "UTF-8";
@import url(reset.css);

/*------------------------------------------------------------
  このファイルに定義されている内容はすべて編集可能です。
  header,footerに関してはできるだけ定義内容を遵守してください。
------------------------------------------------------------*/

body{
	font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","Osaka",Verdana,Arial,sans-serif;
	-webkit-text-size-adjust:100%;
}

/* header
----------------------------------------------------*/

#header{
	width:100%;
	background-color:#fff;
	z-index:9999;
	}
#header #head_link{
	width:850px;
	margin:0 auto;
	padding:30px 0 27px 0;
	}
#header #head_link h1{
	float:left;
	margin:0;
	padding:0;
	text-align:left;
	line-height:0;
	font-size:0;
	}


@media screen and (max-width:768px) {
#header {
	padding:4.66vw 3.33vw;
	text-align:left;
	box-sizing:border-box;
	}
#header #head_link{
	width:100%;
	margin:0 auto;
	padding:0;
	}
#header h1{
	width:51%;
	}
#header h1 img{
	width:100%;
	}
    
}

/*Wrapper
----------------------------------------------------*/

.sp{
	display:none !important;
	}
.visual01{
	background:url(https://web.tsite.jp/resource/t-mall/cp/190327yamawake/pc/bg.jpg) repeat;
	width:100%;
	}
.visual01 h2 img{
	margin:0 auto;
	padding:39px 0;
	display:block;
	}

.visual02{
	background-color:#013d9d;
	width:100%;
	}
.visual02 p{
	margin-top: 0;
	}
.visual02 p img{
	margin:0 auto;
	padding: 0;
	display:block;
	}

.BTN01{
	width:600px;
	margin:55px auto;
	display:block;
}
/*
.BTN01:hover{
	opacity:0.7;
}
*/

.about{
	background:#FFE4E1 url(https://web.tsite.jp/resource/t-mall/cp/190327yamawake/pc/bg02.png) no-repeat center top 32px;
	width:100%;
	padding:90px 0 55px;
}
.about h3{
	font-size:28px;
	font-weight:bold;
	color:#024097;
	text-align:center;
}
.about p{
	display:block;
	margin:0 auto;
	width:850px;
	font-size:13px;
	font-weight:bold;
	color:#000;
	text-align:right;
}
.about h3 + p{
	font-size:20px;
	font-weight:bold;
	color:#000;
	text-align:center;
	line-height:1.7;
	margin:45px auto 40px;
}
.about p img{
	display:block;
	margin:0 auto 10px;
}
.pattern{
	padding:45px 0 0;
}
.pattern h3{
	font-size:28px;
	font-weight:bold;
	color:#024097;
	text-align:center;
	line-height:1.7;
	margin-bottom:40px;
}
.pattern ul li{
	position:relative;
	margin:0 auto 20px;
	width:850px;
	height:376px;
	font-size:17px;
	font-weight:bold;
	color:#004098;
	display:block;
}
.pattern ul li p{
	position:absolute;
	width:200px;
	text-align:center;
	line-height:1.5;
	top:305px;
}
.pattern ul li p:nth-child(2){
	left:85px;
}
.pattern ul li p:nth-child(3){
	left:325px;
}
.pattern ul li p:nth-child(4){
	left:565px;
}
.pattern ul li:nth-child(1){
	background:url(../img/bg04.jpg) no-repeat center bottom;
}
.pattern ul li:nth-child(2){
	background:url(../img/bg06.jpg) no-repeat center bottom;
}
.pattern ul li:nth-child(3){
	background:url(../img/bg08.jpg) no-repeat center bottom;
}
.pattern ul li:nth-child(3){
	margin-bottom:0;
}
.pattern ul li h4{
	width:850px;
	font-size:20px;
	font-weight:bold;
	color:#fff;
	text-align:center;
	line-height:1.7;
	margin:0 auto;
	height:72px;
	box-sizing:border-box;
	text-align:left;
	padding:29px 0 0 158px;
}
.pattern ul li:nth-child(1) h4{
	background:url(../img/bg03.jpg);
}
.pattern ul li:nth-child(2) h4{
	background:url(../img/bg05.jpg);
}
.pattern ul li:nth-child(3) h4{
	background:url(../img/bg07.jpg);
}
.caution{
	display:block;
	width:100%;
	background:#f0f0f0;
	padding:30px 0 85px;
}
.caution h3{
	font-size:26px;
	font-weight:bold;
	color:#024097;
	text-align:center;
	width:850px;
	margin:0 auto 40px;
	display:flex;
    align-items:center;
    text-align:center; /* for no-flexbox browsers */
}

.caution h3:before,
.caution h3:after {
    border-top:2px solid;
    content:"";
    display:inline; /* for IE */
    flex-grow:1;
}

.caution h3:before {
    margin-right:0.5em;
}

.caution h3:after {
    margin-left:0.5em;
}
.caution dl {
	font-size:16px;
	color:#333333;
	line-height:1.7;
	width:850px;
	margin:15px auto 0;
}
.caution dl dt {
	font-weight:bold;
}
.caution dl dd {
	margin-bottom:30px;
}
.caution dl dd a {
	color:#00a7e8;
	text-decoration:underline;
}
.pagetop{
	position:fixed;
	width:50px;
	height:50px;
	bottom:20px;
	right:20px;
}
.pagetop img{
	width:100%;
}


@media screen and (max-width:768px) {
.sp{
	display:block !important;
}
.sp img{
	width:100%;
}
img.sp{
	width:100%;
}
.pc{
	display:none !important;
}
.visual01{
	background:none;
	height:auto;
	margin-bottom: -3.3em;
	}
.visual01 h2 img{
	padding-top:0;
	}
.visual01 p img{
	margin:0 auto;
	}
.BTN01{
	width:auto;
	margin:0 auto;
}
/*
.BTN01:hover{
	opacity:1;
}
*/
.about{
	background:#FFE4E1 url(../img/bg02.png) no-repeat center top 6vw;
	background-size:25.33vw 23.733vw;
	padding:16.66vw 0 55px;
}
.about h3{
	font-size:5.26266vw;
}
.about p{
	width:93.33%;
	font-size:2.133vw;
}
.about h3 + p{
	font-size:3.466vw;
	margin:8.66vw auto 4vw;
}
.about p img{
	margin:0 auto 2.66vw;
}
.pattern{
	padding:8vw 0 0;
}
.pattern h3{
	font-size:5.2626vw;
	margin-bottom:3.33vw;
}
.pattern ul li{
	margin:0 auto 3.6vw;
	width:100%;
	height:162.4vw;
	font-size:4.266vw;
}
.pattern ul li p{
	width:auto;
	text-align:left;
}
.pattern ul li p:nth-child(2){
	top:48vw;
	left:50%;
}
.pattern ul li p:nth-child(3){
	top:90vw;
	left:50%;
}
.pattern ul li p:nth-child(4){
	top:137.33vw;
	left:50%;
}
.pattern ul li:nth-child(1){
	background:url(../img/sp/bg04.jpg) no-repeat center bottom;
	background-size:contain;
}
.pattern ul li:nth-child(2){
	background:url(../img/sp/bg06.jpg) no-repeat center bottom;
	background-size:contain;
}
.pattern ul li:nth-child(3){
	background:url(../img/sp/bg08.jpg) no-repeat center bottom;
	background-size:contain;
}
.pattern ul li:nth-child(3){
	margin-bottom:0;
}
.pattern ul li h4{
	width:100%;
	font-size:4vw;
	height:29.6vw;
	text-align:center;
	padding:14vw 0 0 0;
}
.pattern ul li:nth-child(1) h4{
	background:url(../img/sp/bg03.jpg);
	background-size:contain;
}
.pattern ul li:nth-child(2) h4{
	background:url(../img/sp/bg05.jpg);
	background-size:contain;
}
.pattern ul li:nth-child(3) h4{
	background:url(../img/sp/bg07.jpg);
	background-size:contain;
}
.caution{
	padding:10.66vw 0 6.66vw;
}
.caution h3{
	font-size:4.8vw;
	width:85.33%;
	margin:0 auto 6vw;
}
.caution dl {
	font-size:2.933vw;
	width:85.33%;
	margin:0 auto;
}
.caution dl dd {
	margin-bottom:4.66vw;
}
.pagetop{
	position:fixed;
	width:11.19vw;
	height:11.19vw;
	bottom:2.6vw;
	right:2.6vw;
}
.pagetop img{
	width:100%;
}

}


/*footer
----------------------------------------------------*/
@media screen and (min-width:751px){
	.g-footer {
		text-align:center;
		padding-top:15px;
	}
	
	.g-footer ul{
		width:950px;
		margin:0 auto 5px auto;
	}
	
	.g-footer li {
		display:inline-block;
		border-right:solid 1px #000;
		font-size:11px;
		padding:0 8px;
		margin-top:10px;
	}

	.g-footer li:last-child {
		border-right:none;
	}

	.g-footer li a {
		color:#4d4d4d;
		text-decoration:none;
	}

	.g-footer .copyright {
		color:#808080;
		text-align:center;
		font-size:9px;
		padding:10px 0 15px;
	}

	.g-footer small {
		font-size:10px;
		}
}

@media screen and (max-width:768px) {
	.g-footer {
		text-align:center;
		padding-top:5.33vw;
	}

	.g-footer ul {
		width:93.33vw;
		margin:0 auto;
	}

	.g-footer li {
		display:inline-block;
		font-size:2.4vw;
		padding:0 0 0 2vw;
		margin-bottom:10px;
	}

	.g-footer li:not(:last-child):after {
		content:'|';
		margin:0 0 0 2vw;
	}
	
	.g-footer small {
		font-size:2.133vw;
	}
	
	.g-footer li:nth-child(1):after, .g-footer li:nth-child(2):after, .g-footer li:nth-child(4):after, .g-footer li:nth-child(6):after, .g-footer li:nth-child(7):after {
		content:'';
		white-space:pre;
	}
	
	.g-footer li:nth-child(7) {
		display:block;
	}

	.g-footer li a {
		color:#4d4d4d;
	}

	.g-footer .copyright {
		color:#4d4d4d;
		padding:1.8vw 0;
		margin:0;
		width:100%;
		background:#e5e5e5;
		text-align:center;
		margin-top:3vw;
	}
}

.cpn_default {
	width: 100%;
}