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

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


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

/* 全体
------------------------------------*/
body { 
	font-family: 'Zen Maru Gothic', sans-serif;
	font-weight: 600;
	overflow-x:hidden;
}

#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; }

.post img { width: 100%; }

.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; }

.wpcf7-spinner {
	display: none;
}

@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;
	}
}


/* ヘッダー
------------------------------------*/
#header .logo {
	display: inherit;
	text-align: center;
}

@media screen and (min-width: 1024px) {
	#header .inner {
		width: 100%;
		z-index: 10;
	}

	nav#mainNav {
		display: block;
		margin: 0;
		width: 100%;
		background: linear-gradient(45deg, #FF0B32, #FFF939, #58FAFF);
	}

	nav div.panel {
		width: 100%;
	}

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

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

	nav#mainNav ul li { margin: 10px 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;
		text-shadow: 0 3px 6px rgba(0, 0, 0, .53);
	}

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

@media screen and (max-width: 1023px) {
	.mobile #header .logo .mark {
		padding: 10px;
	}

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

.spmenu #menu span,
.spmenu #menu span:before,
.spmenu #menu span:after,
a#scrollUp {
	background: #FF880F;
}

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

/* フッター
------------------------------------*/
#footer {
	background: linear-gradient(45deg, #FF0B32, #FFF939, #58FAFF);
}

#socialicon {
	padding: 0;
}

#copyright {
	text-shadow: 0 3px 6px rgba(0, 0, 0, .16);
	background: transparent;
}

/* お問い合わせページ
------------------------------------*/
.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 {
	text-align: center;
	margin-top: 15px;
}

.btn a {
	display: inline-block;
	text-align: center;
	font-weight: 600;
	color: #fff;
	text-shadow: 0 3px 6px rgba(0, 0, 0, .16);
	padding: 10px 25px;
	min-width: 230px;
	border-radius: 100vh;
	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:hover {
	box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
}

.btn_green a {
	background-color: #9FDFB4;
}

.btn_yellow a {
	background-color: #F2ED52;
}

.btn_pink a {
	background-color: #FF8CA7;
}

.btn_blue a {
	background-color: #A2EAEC;
	border-radius: 20px;
}

.btn_orange a {
	background-color: #FF880F;
}

.post .linkBtn {
	background: rgba(255, 136, 15, 1);
}

.post .linkBtn:hover {
	background: rgba(255, 136, 15, 0.8);
}

/* 装飾
------------------------------------*/
header#h1Header { position: relative; }

header#h1Header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.3);
} 

header#h1Header h1.title { text-shadow: none; }

.post h2, .post h3 { 
	padding: 0;
	line-height: 1.45;
}

.post h2 span, .post h3 span { padding: 0; }

.post p { line-height: 1.85; }

.sub-title {
	display: block;
	font-size: 60%;
}

h2.bg-orange span {
	color: #fff;
	background: #FF880F;
	border-radius: 100vh;
	padding: 5px 15px;
}

.post table th,
.post table td {
	border-bottom: 5px solid #FF880F;
}

.post table tr:first-child th,
.post table tr:first-child td {
	border-top: 5px solid #FF880F;
}

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

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

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

	.post table th {
		border-bottom: none;
		padding-bottom: 0;
	}

	.post table tr:first-child td {
		border-top: none;
	}

}

/* グリットレイアウト
------------------------------------*/
.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 section {
	margin-top: 80px;
}

.page-id-2 .post section .row {
	align-items: center;
}

.page-id-2 .post section .row .col-2 {
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.concept h2 span,
.service h2 span,
.skill h2 span,
.instagram h2 span,
.company h2 span {
	position: relative;
	z-index: 1;
}

.concept h2 span::before,
.service h2 span::before,
.skill h2 span::before,
.instagram h2 span::before,
.company h2 span::before {
	content: "";
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	height: 30px;
	border-radius: 100vh;
	z-index: -1;
}

.concept h2 span::before {
	background: #9FDFB4;
}

.service h2 span::before {
	background: #F2ED52;
}

.skill h2 span::before {
	background: #FF8CA7;
}

.instagram h2 span::before {
	background: #A2EAEC;
}

.company h2 span::before {
	background: #FF880F;
}

.concept h2:first-letter {
	color: #9FDFB4;
}

.service h2:first-letter {
	color: #F2ED52
}

.skill h2:first-letter {
	color: #FF8CA7;
}

.instagram h2:first-letter {
	color: #A2EAEC;
}

.company h2:first-letter {
	color: #FF880F;
}

.about img {
	display: block;
	max-width: 760px;
	margin-top: 30px;
}

.concept .row,
.skill .row {
	flex-direction: row-reverse;
}

.concept .row .col-2:last-child::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 185px;
	height:290px;
	background: url(/wp-content/uploads/concept_bg.png) no-repeat center/contain;
	z-index: -1;
}

.service .row .col-2:last-child::before {
	content: "";
	position: absolute;
	top: 80%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 240px;
	height: 320px;
	background: url(/wp-content/uploads/service_bg.png) no-repeat center/contain;
	z-index: -1;
}

.skill .row .col-2:last-child::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 165px;
	background: url(/wp-content/uploads/skill_bg.png) no-repeat center/contain;
	z-index: -1;
}

.service #gallery-1 {
	margin: 50px 0;
}

@media screen and (min-width:769px) {
	.concept h2,
	.service h2,
	.skill h2,
	.instagram h2,
	.company h2 {
		font-size: 100px;
		font-weight: 900;
	}

	.concept .btn,
	.skill .btn {
		text-align: right;
	}
}

@media screen and (max-width:768px) {
	.concept h2,
	.service h2,
	.skill h2,
	.instagram h2,
	.company h2 {
		font-size: 48px;
	}

	.concept h2 span::before, 
	.service h2 span::before, 
	.skill h2 span::before, 
	.instagram h2 span::before, 
	.company h2 span::before {
		bottom: 0;
		height: 20px;
	}

	.service .gallery {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.service .gallery .gallery-item {
		width: 48%!important;
	}
}

/* * * * * * * * * * *
* Feature
* * * * * * * * * * */
.office,
.office .item {
	margin-top: 50px;
}

.page-id-60 header h1.title span {
	display: inline-block;
	position: relative;
	z-index: 1;
	margin-bottom: 20px;
}

.page-id-60 header h1.title span::before {
	content: "";
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	background: #FF880F;
	border-radius: 100vh;
	z-index: -1;
}

.page-id-60 header h1.title span:first-letter {
	color: #FF880F;
}

@media screen and (min-width:769px) {
	.page-id-60 header h1.title span {
		font-size: 100px;
		padding-left: 60px;
		padding-right: 60px;
	}

	.page-id-60 header h1.title span::before {
		height: 45px;
	}
}

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

	.page-id-60 header h1.title span {
		font-size: 48px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.page-id-60 header h1.title span::before {
		bottom: -15px;
	}

	.page-id-60 header h1.title span::before {
		height: 25px;
	}
}