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

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600&display=swap');


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

/* 全体
------------------------------------*/
body { 
	    font-family: 'Shippori Mincho', YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E" , "Times New Roman" , "メイリオ", Meiryo, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	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; }

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

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

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

.wpcf7-form { padding: 0; }

.post { background: transparent; }

.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; }
	
	.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) {
	.page-template-page-nosidebar-fullthumb #header {
		position: absolute;
		top: 0;
		left: 0;
	}
	
	#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 {
		background: transparent;
		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;
}

/* お問い合わせページ
------------------------------------*/
.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;
	padding: 10px 25px;
	min-width: 230px;
	background: linear-gradient(45deg, #FF4AA7, #729EED);
	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::before {
	content: "";
	position: absolute;
	width: 7px;
	height: 7px;
	top: 50%;
	right: 25px;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	transform: rotate(-45deg) translateY(-50%);
	transition: all .3s;
	-webkit-transition: all 0.3s;
}

.btn a:hover::before { right: 15px; }

/* 装飾
------------------------------------*/
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; }

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

.post h3.line_bottom { 
	padding-bottom: 15px;
	position: relative;
}


.post h3.line_bottom::before { 
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	width: 30%;
	height: 1px;
	background: #707070;
}

.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: 2px dashed #dcdddd;
}

.post table tr:first-child th,
.post table tr:first-child td {
	border-top: 2px dashed #dcdddd;
}

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

.en_ttl {
	font-weight: 400;
}


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

}

/* グリットレイアウト
------------------------------------*/
.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-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	padding-top: 5em;
	padding-bottom: 5em;
	box-sizing: border-box;
}

.page-id-2 .post section .content {
	padding-left: 1em;
	padding-right: 1em;
	box-sizing: border-box;
}

.top_about {
	background: url(/struct/wp-content/uploads/parallax.jpg) no-repeat left center/cover;
	background-attachment: fixed;
	margin-top: -10em;
	position: relative;
	z-index: -10;
}

.top_service .row { align-items: center; }

.top_service .row:nth-child(odd) { flex-direction: row-reverse; }

.top_skill .row .inner_txt { 
	text-align: center;
	max-width: 90%;
	background: #fff;
	padding: 1em;
	margin: -2em auto 0;
	box-sizing: border-box;
	position: relative;
	z-index: 10;
}

/* スマホ対応 */
@media screen and (max-width:768px) {
	.top_about { margin-top: -0; }

	.top_skill .row .inner_txt { text-align: left; }
	
	.top_img img {
		width: 100%;
		height: 300px;
		object-fit: cover;
		object-position: center;
	}
}

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