@charset "utf-8";
/*
Theme Name:mrp04-child
Template:mrp04
Version: 0.01
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Poppins:wght@400;500;600;900&display=swap');


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

/* 全体
------------------------------------*/
body { 
	font-weight: 500;
	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#h1Header { background: transparent; }

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

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

.wpcf7-form { padding: 0; }

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

body.page-template.custom-background:not(.home) {
	background: #FFF8AA;
	background-image: none;
}

@media screen and (max-width: 1023px) {
	body.mobile { margin-top: -65px; }
	
	.mobile #header .logo .spmenu {
		display: none!important;
	}

	#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-layout {
		display: flex;
		justify-content: space-between;
		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 {
		margin: 0;
		width: auto;
	}

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

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

	nav#mainNav ul li { margin: 10px 0; }

} 

@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 p {
	font-size: 9.8px;
}


/* フッター
------------------------------------*/
#socialicon {
	display: none;
}

body.page-template #footer ul {
	font-size: 80%;
	background: #fff;
}

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


/* Google map
------------------------------------*/
.gmap {
	height: 0;
	overflow: hidden;
	padding-bottom: 100%;
	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;
	padding: 10px 25px;
	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_yellow a {
	border-radius: 100vh;
	background-color: #F39800;
	border: 1px solid #F39800;
}

.btn_yellow a:hover {
	color: #F39800;
	background-color: #fff;
}

/* 装飾
------------------------------------*/
h1.title { 
	position: relative;
}

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

h1 span.en, .post h2.en {
	display: block;
	text-align: center;
	color: #F39800;
	font-size: 68px;
	font-weight: 900;
	letter-spacing: 0.06em;
	position: relative;
}

span.overlap { 
	position: absolute;
	bottom: 10%;
	left: 50%;
	transform: translateX(-50%);
}

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

.post p { line-height: 1.85; }

.post table tr th,
.post table tr td {
	padding: 20px 10px;
	border-bottom: 1px solid #333;
}

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

.post table tr th { vertical-align: middle; }

.sub-title {
	display: block;
	color: #333;
	font-size: 20px;
	letter-spacing: normal;
}

.bg_black {
	display: inline-block;
	color: #fff!important;
	background-color: #000!important;
	padding: 8px 10px!important;
	margin-bottom: 15px;
	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; }

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

	h1 span.en, .post h2.en { font-size: calc(46px + 22 * (100vw - 360px)/408); }

	.sub-title { font-size: calc(16px + 4 * (100vw - 360px)/408); }
}

/* グリットレイアウト
------------------------------------*/
.post section .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
* * * * * * * * * * */
.front_post_list {
	max-width: 1100px;
	padding: 3em 1em;
	margin: 0 auto;
	box-sizing: border-box;
}

.front_post_list ul { background: #fff; }

.post section {
	padding: 5em 2em;
	margin-bottom: 5em;
	box-sizing: border-box;
} 

.post section.top_about,
.post section.top_service,
.post section.top_companyinfo {
	max-width: 1920px;
	background: #fff;
}

.post section.top_about,
.post section.top_companyinfo {
	margin: auto 0 5em auto;
	border-radius: 50px 0 0 50px;
}

.post section.top_service {
	margin: auto 5em 5em 0;
	border-radius: 0 50px 50px 0;
}

.post section.top_skill {
	background: #FFD300;
}

.post section.top_about .item,
.post section.top_companyinfo .row .col-3 {
	background: #FFD300;
	border: 3px solid #333;
	border-radius: 20px;
	padding: 1em;
	box-sizing: border-box;
}

.post section.top_about .row,
.post section.top_service .row { align-items: center; }



@media print, screen and (min-width: 1100px)  {
	.page-id-2 #wrapper, .inner {
		width: 100%;
	}
}


@media print, screen and (max-width: 1920px)  {
	.post section.top_about,
	.post section.top_companyinfo {
		margin: auto 0 5em 5em;
	}
}

@media print, screen and (max-width: 1099px)  {
	.page-id-2 #wrapper {
		margin: 0 auto;
		width: 100%;
		padding: 0;
	}
}

@media screen and (max-width:768px) {
	.page-id-2 .post {
		padding-left: inherit!important;
		padding-right: inherit!important;
	}

	.post section {
		padding: 3em 1.5em;
	} 

	.post section.top_about,
	.post section.top_companyinfo {
		margin: auto 0 3em 1.5em;
		border-radius: 30px 0 0 30px;
	}

	.post section.top_service {
		margin: auto 1.5em 3em 0;
		border-radius: 0 30px 30px 0;
	}

	.post section.top_skill .row { flex-direction: row; }

	.post section.top_skill .row .col-4 { width: 48%; }

	.post section.top_skill .row .col-4 img { width: 100%; }

	.post section.top_skill .row .col-4 h3 { font-size: calc(18px + 6 * (100vw - 360px)/408); }
}

/* * * * * * * * * * *
* office
* * * * * * * * * * */
.post section.office {
	padding: 80px 0 0;
	margin-bottom: 0;
}

.post section.office:first-child {
	padding-top: 0;
}

body.page-id-87 #header {
	display: none;
}

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

.feature_list .col-3 {
	text-align: center;
	background: #FFDE24;
	border-radius: 20px;
	border: 5px solid #000;
	padding: 20px 20px 5px;
	box-sizing: border-box;
}

.feature_list .col-3 h4 {
	text-align: center;
	font-size: 18px;
	padding: 12px 20px 10px!important;
	border-left: none;
}

.office_table {
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	position: relative;
	padding: 50px 0;
	z-index: 1;
}

.office_table::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translatey(-50%);
	background: #fff;
	border-radius: 80px 0 0 80px;
	height: 100%;
	z-index: -1;
}

.office_table table {
	max-width: 1100px;
	margin: 0 auto;
}

@media screen and (min-width: 1300px) {
	.office_table::before {
		width: max(1300px, 88vw);
	}
}

@media screen and (max-width: 1299px) {
	.office_table {
		padding: 50px 20px;
	}

	.office_table::before {
		width: 98%;
	}

	.office_table table {
		width: 85%;
	}
}

@media screen and (max-width: 768px) {	
	.office .gallery .gallery-item {
		width: 50%!important;
	}

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