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

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');


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

/* 全体
------------------------------------*/
body { 
	font-family: "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "メイリオ" , Meiryo , "Meiryo UI" , "ＭＳ Ｐゴシック" , "MS PGothic" , 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; }

.post .linkBtn {
    background: #C11200;
}

.post .linkBtn:hover {
    background: #9e1507;
}

@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 .inner {
	background: #C11200;
}

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

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

	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 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;
	background: #000;
	border: 2px solid #000;
	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 a:hover {
	color: #000;
	background-color: #fff;
}

.btn_instagram a {
	background-color: #C11200;
	border-radius: 20px;
	border: 2px solid #C11200;
}

.btn_instagram a:hover {
	color: #C11200;
}




/* 装飾
------------------------------------*/
body.page-template-page-nosidebar-fullthumb-h1 {
	background: #f4f4f4;
}

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

header#h1Header h1.title,
h1.title,
.post h2,
.post h3,
.post h4 {
	font-family: "Oswald",  "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "メイリオ" , Meiryo , "Meiryo UI" , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
	font-weight: bold;
	letter-spacing: 0;
	line-height: 1.45;
}

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

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

.post p { line-height: 1.85; }

.en {
	font-size: clamp(48px, 4vw, 80px);
	font-weight: bold;
}

.sub_ttl {
	display: block;
	font-size: 22px;
}

.post table tr:nth-child(odd) th,
.post table tr:nth-child(odd) td {
	background: #EDEDED;
}

.post table th,
.post table td {
	padding: 20px 10px;
	box-sizing: border-box;
}

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

@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 section {
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	padding: 80px 20px;
	box-sizing: border-box;
}

.page-id-2 .post h2,
.page-id-2 .post h3,
.page-id-2 .post h4,
.about p,
.service p,
.instagram p {
	text-align: center;
}

.about {
	background: #C11200;
}

.service {
	background: radial-gradient(circle, #D3D3D3 10%, transparent 11%),radial-gradient(circle at bottom left, #D3D3D3 5%, transparent 6%),radial-gradient(circle at bottom right, #D3D3D3 5%, transparent 6%),radial-gradient(circle at top left, #D3D3D3 5%, transparent 6%),radial-gradient(circle at top right, #D3D3D3 5%, transparent 6%);
	background-size: 3em 3em;
	background-color: #EDEDED;
	opacity: 1
}

.instagram {
	background: url(/wp-content/uploads/insta_bg.png) no-repeat center/cover;
}

.skill {
	background: #EDEDED;
}

.about h2,
.about h3,
.about p,
.service .col-2 h4,
.service .col-2 p {
	color: #fff;
}

.service .col-2 {
	background: #000;
	padding: 15px;
	box-sizing: border-box;
	margin: 15px 0;
}

.service .col-2 h4.bg_red {
	font-size: clamp(22px, ,1.6vw, 30px);
	border-left: none;
	background: #C11200;
	padding: 20px;
	box-sizing: border-box;
}

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

.access .gmap {
	padding-bottom: 85%;
}

@media screen and (min-width: 769px) {
	.service .col-2 p,
	.skill h2,
	.skill h3,
	.skill .btn {
		text-align: left!important;
	}
}

@media screen and (max-width:768px) {
	.page-id-2 .post section {
		padding: 50px 20px;
	}
}

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

.office .item h2 {
	text-align: center;
}

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