@charset "utf-8";
/*
Theme Name:mrp04-child
Template:mrp04
Version: 0.01
*/

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&display=swap');


/* * * * * * * * * * *
* 共通
* * * * * * * * * * */

/* 全体
------------------------------------*/
body {
	font-family: "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "メイリオ" , Meiryo , "Meiryo UI" , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
	font-weight: 600;
	overflow-x:hidden;
}

body.page-template-page-nosidebar {
	background: #F6FAE3;
}

body.page-template-page-nosidebar .post {
	background: transparent;
}

#wrapper, #content, .post { overflow: visible; }

#mainImg, .home #content, .post { padding: 0!important; }

#mainImg { padding-bottom: 0; }

.mobile #mainImg { margin-top: 60px!important; }

#header .logo img { max-height: 40px; }

header#h1Header { background: transparent; }

body.mobile #header .logo img { margin: 0 auto; }

body.mobile #breadcrumb { margin-top: 0; }

.post4b h2 { 
	padding: 10px 0;
	margin: 0;
}

.post4b h2 a {
	font-size: 20px;
	font-weight: 500;
	padding: 0;
}

.wpcf7-form { padding: 0; }

.wpcf7-form img { width: inherit; }

.post4b h2 { 
	padding: 10px 0;
	margin: 0;
}

.post4b h2 a {
	font-size: 20px;
	font-weight: 500;
	padding: 0;
}

.error404 #wrapper,
.archive #wrapper,
.category #wrapper,
.single-post #wrapper { overflow: inherit; }

@media screen and (max-width: 1023px) {

	body.mobile { margin-top: 60px; }

	#content.wide { width: 100%; }
}

/* スマホ対応 */
@media screen and (max-width:768px) {
	.post table th, .post table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.post {
		padding-left: 20px!important;
		padding-right: 20px!important;
		box-sizing: border-box;
	}

	.single-post #wrapper .dateLabel {
		margin-right: 20px;
		box-sizing: border-box;
	}
}


/* ヘッダー
------------------------------------*/

@media screen and (min-width: 1024px) {
	#header .inner {
		background: transparent;
	}

	#header-layout {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		padding: 10px 0;
	}

	#header .logo { padding-left: 30px; }

	#header .contact .mail { margin-top: 8px; }

	#header .inner {
		width: 100%;
		z-index: 10;
	}

	nav#mainNav {
		background: linear-gradient(-10deg, #50E21A, #94D647);
		padding: 0 60px;
		border-radius: 100vh;
		box-shadow: 0 3px 20px rgba(0,0,0,.4);
		margin: 25px auto;
		width: auto;
	}

	nav#mainNav ul {
		height: 65px;
		line-height: 65px;
		padding: 0;
	}

	nav#mainNav ul li ul {
		height: inherit;
		line-height: initial;
	}

	nav#mainNav ul li { margin: 0; }

	nav#mainNav ul li a b,
	nav#mainNav ul li.current-menu-item a b,
	nav#mainNav ul li a:hover b,
	nav#mainNav ul li a:active b,
	nav#mainNav ul li.current-menu-parent a b{
		color: #fff;
		font-weight: bold;
	}

	nav#mainNav ul li.current-menu-item a::before,
	nav#mainNav ul li a:hover::before {
		display: none;
	}

} 

@media screen and (max-width: 1023px) {
	#header .inner {
		background: transparent;
	}

	body.mobile nav#mainNav.menuOpen { 
		padding-bottom: 120px;
		box-sizing: border-box;
	}
}

.spmenu #menu p {
	font-size: 9.8px;
}

/* お問い合わせページ
------------------------------------*/
.post .linkBtn { display: block; }


/* Google map
------------------------------------*/
.gmap {
	height: 0;
	overflow: hidden;
	padding-bottom: 40%;
	position: relative;
}

.gmap iframe {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

/* スマホ対応 */
@media screen and (max-width:768px) {
	.gmap { padding-bottom: 56.25%; }
}


/* ボタン
------------------------------------*/

.btn {
	margin-top: 15px;
	text-align: center;
}

.btn a {
	display: inline-block;
	font-size: 32px;
	color: #0F9A0F;
	min-width: 230px;
	box-sizing: border-box;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: all .3s;
	-webkit-transition: all 0.3s;
	position: relative; 
}

.btn a span {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.btn a span::after {
	content: "";
	position: relative;
	display: inline-block;
	width: 60px;
	height: 60px;
	background: url(/wp-content/uploads/arrow.png) no-repeat center/contain;
	margin-left: 20px;
	right: 0;
	transition: all .3s;
	-webkit-transition: all 0.3s;
}

.btn a:hover span::after {
	right: -10px;
}

.btn_white a {
	color: #fff;
}

.btn_instagram a {
	color: #fff;
	font-size: 16px;
	background: #0F9A0F;
	border: 2px solid #0F9A0F;
	border-radius: 20px;
	padding: 10px 25px;
	box-sizing: border-box;
	transition: all .3s;
	-webkit-transition: all 0.3s;
}

.btn_instagram a:hover {
	color: #0F9A0F;
	background: #fff;
}

/* 装飾
------------------------------------*/
header#h1Header h1.title,
h1.title,
.post h2,
.post h3,
.post h4 {
	color: #00AF00;
	line-height: 1.45;
}

.post h2,
.post h3,
.post h2 span,
.post h3 span { 
	padding: 0;
}
.post p { line-height: 1.85; }

.sub_ttl {
	display: block;
	font-size: 65%;
}

.font-zenmaru {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-weight: bold;
}

.post table th,
.post table td {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-weight: bold;
	padding: 20px 10px;
	border-bottom: 3px solid #00B200;
	box-sizing: border-box;
}

@media screen and (max-width:768px) {

	.single-post #wrapper h1.title { font-size: 24px; }

	.post p:not([class]) { text-align: left; }

}

/* グリットレイアウト
------------------------------------*/
.content {
	max-width: 1100px;
	margin: 0 auto;
}

.row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 15px 0;
}

.col-2 { width: 48%; }

.col-3 { width: 31%; }

.col-4 { width: 23%; }

.col-5 { width: 18%; }


/* スマホ対応 */
@media screen and (max-width:768px) {
	.row {
		flex-direction: column;
	}

	.col-2, .col-3, .col-4, .col-5 { 
		width: 100%;
		margin-top: 15px;
		margin-bottom: 15px;
	}
}


/* PC・SP 表示・非表示
------------------------------------*/
.pc { display: block; }

.sp { display: none; }

/* スマホ対応 */
@media screen and (max-width:768px) {
	.pc { display: none; }

	.sp { display: block; }
}

/* * * * * * * * * * *
* top
* * * * * * * * * * */
.page-id-2 .post {
	margin-bottom: 0;
}

.page-id-2 .post img {
	display: block;
}

.service,
.instagram,
.company {
	padding: 80px 0;
	box-sizing: border-box;
}

.service,
.company {
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	background: #6BBF6B;
}

.about,
.skill {
	padding-top: 80px;
}

.about h3,
.about p {
	color: #0F9A0F;
}

.about .row {
	flex-direction: row-reverse;
}

.about .col-2 img {
	margin:  0 auto;
}

.service .col-2 {
	margin: 15px auto;
}

.service h2,
.service h3,
.service p,
.company h2 {
	color: #fff;
}

.company .item {
	background: #F6FAE3;
	border-radius: 20px;
	padding: 50px;
	box-sizing: border-box;
}

.skill .col-4 h3,
.company .item h3 {
	color: #333;
}

.company .gmap {
	padding-bottom: 65%;
}

@media screen and (min-width:769px) {
	.about .btn {
		text-align: left;
	}
}

@media screen and (max-width:768px) {
	.company {
		padding: 50px 0;
	}

	.service,
	.company {
		padding: 50px 20px;
	}

	.about,
	.skill {
		padding-top: 50px;
	}

	.about .col-2 img {
		width: 50%;
	}

	.about .content > img,
	.company .content > img {
		width: 80%;
	}

	.company .item {
		padding: 30px 20px;
	}
}

/* * * * * * * * * * *
* office
* * * * * * * * * * */
.office:not(:first-child),
.office .item:not(:first-child) {
	margin-top: 80px;
}

.office .item h2 {
	color: #00AF00;
}

.office .col-2 .gmap {
	padding-bottom: 70%;
}

@media screen and (max-width: 768px) {
	.office:not(:first-child),
	.office .item:not(:first-child) {
		margin-top: 50px;
	}

	.office .gallery .gallery-item {
		width: 50%!important;
		margin-top: 4px!important;
	}

	.gallery .gallery-item img {
		display: block;
	}
}
