@import url("main.css");

/* ####################################
 * HAP ADD PAGE CSS
 * #################################### */

.hero{
	min-height:400px;
}

#page .container{
	max-width:990px;
}

.page-relative{
	position:relative;
}

.page-absolute{
	position:absolute;
}

/* color */

.bg-thinpink{
	background:#FCF5F5;
}

.bg-darkpink{
	background:#FAEBEC;
}

.bg-thinbeige{
	background:#F8F3EF;
}

.bg-darkbeige{
	background:#EFE5DE;
}


/* header */

.hero .container{
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-header{
	background:#FFA500;
}

.page-header h2{
	font-size:2rem;
	color:#FFF;
	margin-top:10px;
	text-shadow: none!important;
}

.page-header p{
	font-size:1rem;
	color:#FFF;
}

/* contents */

#page p{
	font-family: var(--sansjp-font);
}

#page h3,#page h4{
	letter-spacing:0.2rem;
}

#page h3{
	color:#000;
	margin-bottom:60px;
}

#page h3 span{
display:block;
letter-spacing: 0.2rem;
font-size: 1rem;
color: #FF6666;
margin-bottom:10px;
}

/* company */

.company-area table{
	width:100%;
	margin-top:80px;
}


.company-area table th{
	width:25%;
	padding:18px;
	vertical-align:top;
	border-bottom:solid 1px #666;
}

.company-area table td{
	width:75%;
	padding:18px;
	border-bottom:solid 1px #ccc;
}

.philosophy-sec h4{
	margin-bottom:30px;
}

.philosophy-sec h4 span:after{
  content: "";
	position:absolute;
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: #ffe5e5;
	z-index:-1;
	top: -8px;
	left: -16px;
}

.philosophy-sec h4 span{
	color:#C70102;
	position: relative;
	display: inline-block;
	z-index:0;
}

.cominfo-sec{
	margin-top:80px;
}

/* contact */

.contact-top span{
	color:#C70102;
}

.contact-top p.contact-top-att{
	color:#C70102;
	text-align:center;
	border:solid 1px #C70102;
	padding:20px;
}

.contact-inner{
	display:flex;
	justify-content: center;
}

.contact h2,.entry h2,.news-list h2{
	text-align:center;
	margin-bottom:80px;
}

.contact-inner img{
	width:350px;
}

.form-area{
	font-family: var(--sansjp-font);
	margin-top:80px;
}

.form-area p{
	margin-bottom:0;
	padding-bottom:0;
}

.form-area input,textarea{
	width:100%;
	padding:20px;
	border-radius:20px;
}

.form-area input[type="text"],.form-area input[type="email"],.form-area input[type="tel"],textarea{
	border:solid 2px #666;
}

p.form-title{
	padding-left:30px;
	margin-top:40px;
}

.form-area input[type="submit"]{
	background:#C70102;
	border:none;
	color:#FFF;
	width:350px;
}

/* news */

.news-list ul{
	list-style:none;
	width:80%;
	margin:0 auto;
	font-family: var(--sansjp-font);
	padding-left: 0;

}

.news-list ul li{
	border-bottom:solid 1px #CCC;
	padding:20px 10px;
}

.news-list ul li time{
	padding-right: 30px;
}


/* single */

.single img{
	max-width:100%;
	height:auto;
}

.single h2{
	font-size:1.4rem;
	font-weight:700;
	padding-bottom:15px;
	border-bottom:solid 1px #FF6692;
	margin-bottom:40px;
}

.single h3{
	margin-top:40px;
	margin-bottom:10px!important;
	font-family: var(--sansjp-font);
	font-size:1.3rem;
}

.single table{
	font-family: var(--sansjp-font);
}

.single span.single-bold{
	font-weight:700;
}

.single a{
	color:blue;
}


.post-navigation {
display: flex;
justify-content: space-between;
margin-top: 80px;
}

.post-navigation a{
	font-size: 0.8rem;
    background: #FFA500;
    color: #fff;
    padding: 10px;
    border-radius: 15px 18px;
    font-weight: 600;
	display:inline-block;
}


/* svg */

.cls-1 {
	fill: none;
	stroke: #fff;
	stroke-miterlimit: 10;
	stroke-width: .3px;
}

.cls-2 {
	fill: #fff;
	font-family: ZenOldMincho-Regular, 'Zen Old Mincho';
	font-size: 12px;
}

.cls-3 {
	letter-spacing: .06em;
}

.cls-4 {
	letter-spacing: .06em;
}

/* colum-list */


.colum-list-box a.title-link{
	font-family: var(--sansjp-font);
	display:block;
	padding:10px;
	min-height:70px;
	background:#FF6666;
	color:#FFF;
}


.colum-list .cover-image{
	width:100%;
	height:200px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.wp-pagenavi{
	font-family: var(--sansjp-font);	
}

/* infomargion */

.info-list ul{
	list-style:none;
	padding:0;
	margin:0;
}

.info-list ul li{
	border-bottom:dotted 1px #000;
	padding:15px 0;
}

.info-list ul li time{
	padding:2px 5px;
	color:#FFF;
	background:#FF6666;
	display:inline-block;
	margin:0 15px;
	font-size:0.8rem;
}

.info-list ul li a{
	color:#000;
}

.info-back{
	text-align:right;
	margin-top:40px;
}

.info-back a{
	color:#000;
	border:solid 1px #666;
	padding:5px 10px;
	font-size:0.8rem;
}

.single-info img{
	max-width:100%;
	height:auto;
}

.single-info h1{
	font-size:2rem!important;
	border:none;
}

.single-info h2{
	font-size:1.8rem!important;
	border:none;
}

.single-info h3{
	font-size:1.6rem!important;
	border:none;
}

.single-info h4{
	font-size:1.4rem!important;
	border:none;
}

.single-info h5{
	font-size:1.2rem!important;
	border:none;
}


/* レスポンシブ */


@media (max-width: 991px){
	.svg-box > .row{
		display:block;
	}
	.col-first{
		width:15%;
	}
}

@media (max-width: 767px){
	.sp-flex{
		display:flex;
		align-items: center; 
	}
	.contact h2, .entry h2{
		margin-bottom:0px;
	}
	.form-area{
		margin-top:0;
	}
	.sp-bg-green-area{
		background:#5E7849;
		padding:40px 20px;
		text-align:center;
	}
	.sp-bg-green-area .page-absolute{
		position: static;
		transform: none;
	}
}

@media (max-width: 575px){
	.hero h2{
		margin-bottom:20px;
	}
	.svg-box > .row{
		margin-top:0;
	}
	.company-area table th,.company-area table td{
		display:block;
		width:100%;
	}
	.company-area table th{
		border:none;
		padding-bottom:0;
	}
	.company-area table td{
		padding-top:0;
	}
	.col-first {
		width: 24.2%;
		margin-bottom: 8px;
    	margin-top: 13px;
	}
	.single h2{
		font-size:1.2rem;
		line-height:1.5;
	}
	.single p{
		font-size:1rem;
		line-height:1.6;
	}
	.page-header h2{
		font-size:1.6rem;
	}
	.info-list ul li a{
		display:block;
		margin-top:8px;
	}
	.info-list ul li time{
		margin:0;
	}
}

