@charset "utf-8";
/*
Theme Name: mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/
	@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
	@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
	@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&display=swap');
	@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
	@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
 /*------▼基本設定▼------*/
 --color-background: #fff;
 --color-font: #292929;
 --color-primary: #202B64;
 --color-primary-shade: #9ADCE6;
 --color-primary-tint: rgba(154,220,230,0.16);
 --color-secondary: #E80303;
 --color-secondary-tint: #E6E6E6;
 --color-tertiary: #FFFC9F;
 --color-tertiary-tint: #D8E6F2;
 --color-table-border: #707070;
 --body-font-size: min(calc(1.8rem + (1vw - 19.2px) * 0.1294), 1.8rem); /* 1.6-1.4rem (1920-375) */
 --body-font-family: "Noto Sans JP", serif;
 --content-max-width: 1400px;
 --max-wide:calc(((100vw - 100%) / 2) * -1);
 --max-wide-inner:calc((100vw - var(--content-max-width)) / 2);
 /*------▼ヘッダー設定▼------*/
 --header-background: #9ADCE6;
 --header-color-font: #232323;
 --header-color-primary: #ffffff;
 --header-color-primary-shade: #202B64;
 --header-color-primary-tint: #f53215;
 /*------▼フッター設定▼------*/
 --footer-background: #ffffff;
 --footer-color-font: #202B64;
 --footer-color-primary: #202B64;
 /*------▼フォント設定▼------*/
 --font-family01: "Poppins", "Noto Sans JP";
 --font-family02: "Inter", "Noto Sans JP";
}
.post p{
 line-height:2.0;
}
.bg_re{
	position:relative;
}
.bg_max{
	margin-left:var(--max-wide);
	margin-right:var(--max-wide);
}
.gap1{
	gap:1%;
}
.post .txt_bold,.txt_bold{
	font-weight:600;
}
.w_fit{
	max-width:fit-content}
.flex_wrap{
	flex-wrap: wrap;
}
.gap_col_row {
	row-gap: 1em;
}
.txt_red {
	color:red;
}
.txt_white{
	color:white;
}
.ap_1 img{
 width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}
.ap_3_2 img{
 width: 100%;
	aspect-ratio: 3/2;
	object-fit: cover;
}
.ap_8_5 img{
 width: 100%;
	aspect-ratio: 8/5;
	object-fit: cover;
}
.ra_15 img,.ra_15{
 border-radius:15px;
}
.ra_30 img{
 border-radius:30px;
}
.mid_txt, .post .mid_txt{
	font-size: var(--rem28);
	font-weight: 500;
	color: var(--color-primary);
	margin-bottom: 1rem;
}
.min_txt, .post .min_txt {
	font-size: var(--rem16);
	font-weight: 400;
	line-height: 1.3;
}
.em_txt, .post .em_txt{
	font-size: var(--rem30);
	line-height: 1.2;
}
/*blog*/
#front_top_content, #front_bottom_content{
	background: transparent;
}
/*metaslider*/
#mainImg img {
	height: min(calc(60.5rem + (55vw - 19.2px) * 0.1294), 60.5rem)!important;!i;!;
	object-fit: cover;
	object-position: 25% 50%;
}
/*GM*/
@media print, screen and (min-width: 1024px) {
 nav#mainNav ul li.current-menu-parent a span,
 nav#mainNav ul li a span,nav#mainNav ul li a:hover span,
 nav#mainNav ul li.current-menu-item a span{
  font-weight: 400;
 }
#header a.head_btn {
	flex-direction: column;
	color: white;
	background: var(--header-color-primary-shade);
}
 #header a.head_btn:hover {
	background: white;
	opacity:0.9;
	color: var(--color-primary);
}
#header a.head_btn.tel_btn {
	background: white;
	color: var(--header-color-primary-shade);
}
#header a.head_btn.tel_btn:hover{
  background: white;
  opacity:0.9;
}
#header a.head_btn.tel_sel_btn {
	background: #D8E6F2;
	color: var(--header-color-primary-shade);
}
#header a.head_btn.tel_sel_btn:hover{
  background: white;
  opacity:0.9;
}
#header a.head_btn i,#header a.head_btn img{
	margin-right:0.5em;
	}
#header a.head_btn img{
	vertical-align:bottom;
 }
 .note b{
	font-weight: 400;
 }
 nav#mainNav ul li a:hover,.sticky-header #header > .inner,
 nav#mainNav ul li.current-menu-item a, nav#mainNav ul li.current-menu-item a:hover{
  background: var(--header-background);
 }
 nav#mainNav ul li ul.sub-menu li a:hover {
  background: var(--header-color-primary);
	color:white;
 }
 nav#mainNav ul li ul.sub-menu li.current-menu-item a::before,
 nav#mainNav ul.sub-menu li a:hover::before{
  border-bottom:none;
 }
 nav#mainNav ul li.current-menu-item a span,
 nav#mainNav ul li a:hover span{
  color:var(--header-color-primary);
 }
 #header a.head_btn.tel_btn::before,#header a.head_btn.mail_btn::before{
  content:none;
 }
 nav#mainNav ul li ul.sub-menu li.current-menu-item a,
 nav#mainNav ul li.current-menu-item ul.sub-menu li a,
 nav#mainNav ul li ul.sub-menu li a {
	margin-left: 15%;
	width: 200px;
	background: white;
	color: var(--header-color-font);
 }
 nav#mainNav ul li ul.sub-menu li a:hover {
  background: var(--color-primary);
	width: 200px;
	margin-left: 15%;
 }
 nav#mainNav ul.sub-menu li.current-menu-item a::before, nav#mainNav ul.sub-menu li a:hover::before,
 nav#mainNav ul li:hover ul.sub-menu a:before{
  content:none;
 }
nav#mainNav ul li.current-menu-parent a {
		background: var(--color-primary-shade);
	}	
}
.nivo-caption{
	background: transparent!important;
	color: var(--color-font)!important;
	top: 0;
	opacity: 1.0!important;
}
.nivo-caption .wh_box_80 h1{
	align-items: flex-start;
	margin-bottom: 1rem;
}
.nivo-caption .wh_box_80 h1 strong{
	font-size:15px;
	color:var(--color-primary);
	margin-right:1rem;
}
.nivo-caption .wh_box_80 p{
	line-height:2.0;
}
.nivo-caption .wh_box_80{
	text-align:left;
}
.nivo-caption .wh_box_80 .linkBtn{
	display: block!important;
}

@media print, screen and (max-width: 1024px){
	.nivo-caption .float_r{
		display: contents;
	}
}
@media print, screen and (max-width: 768px){
	.nivo-caption .wh_box_80{
		padding-left: 1.5rem!important;
		padding-right: 1.5rem!important;
	}
}
/*h1*/
h1.title, .post h1.title ,.post h1,.cta h1{
	 font-family: var(--font-family01);
	 font-weight: 500;
	 border:none;
	 line-height: 1.0;
	 color: var(--color-primary);
	 font-size: var(--rem60);
	 display: flex;
	 flex-direction: column;
	 justify-content: center;
	 align-items: center;
}
h1.title .sub_ttl,.post h1.title .sub_ttl,.post h1 .sub_ttl{
	 display: block;
	 font-size: var(--rem20);
	 font-family: var(--body-font-family);
	 color: var(--color-font);
	 font-weight: 400;
	 font-style: normal;
	 padding-top: 1rem;
}
h1.title .sub_ttl i{
	color:var(--color-primary);
	margin-right: 1rem;
	font-size: var(--rem14);
	vertical-align: middle;
}
.post h1.title:after{
	 content:none;
}
header h1.title span{
	font-size: var(--rem28);
}
header#h1Header h1.title span{
	font-size: var(--rem36);
}
@media only screen and (max-width: 1024px){
 h1.title, .post h1.title ,.post h1{
  font-size: min(calc(7rem + (1vw - 1.92rem) * 0.0647), 7rem);
	line-height: 1.0;
 }
}
@media only screen and (max-width: 640px){
	h1.title, .post h1.title ,.post h1{
		font-size: var(--rem30);
		line-height: 1.0;
	}
}
/*h2*/
.post h2{
	 font-size: var(--rem48);
	font-family: var(--body-font-family);
	border:none;
	color: var(--color-primary);
	line-height: 1.5;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.post h2 .sub_ttl{
	font-size: var(--rem30w);
	letter-spacing: .2rem;
	padding: 0;
	margin: 0;
	display: block;
}
.post h2:after{
 content:none;
}
.post span.underbar_gray{
	background: linear-gradient(transparent 70%, var(--color-primary-tint) 30%);
}
/*h3*/
.post h3{
	font-size: var(--rem30);
	font-weight: 400;
	padding-left: 0;
	color: var(--color-primary);
	font-family: var(--body-font-family);
	border-bottom: none;
}
/*h4*/
.post h4{
	font-weight: 400;
	color: var(--color-primary);
	font-family: var(--body-font-family);
}

/*footer*/
#footer .footnav ul > li::before, #footer .footnav ul > li::after{
	 content:none;
}
#footer{
	position: relative;
	bottom: 0;
}
body.home .cta.footer_cta{
	 display:none;
}
/*icatch*/
header#h1Header{
	background:white;
}
header#h1Header::before{
	 opacity: 0;
}
header#h1Header h1.title{
	font-weight: 500;
	color: var(--color-primary);
	line-height: 1.0;
	font-family: var(--body-font-family);
}
header#h1Header h1.title .sub_ttl{
	 font-weight: 600;
}
@media only screen and (max-width: 640px){
	header#h1Header h1.title{
		font-size: 2.3rem;
	}
}

/*sp-menu*/
.spmenu #menu p {
	transform: translateX(10%);
	left: 0;
}
@media print, screen and (max-width: 1023px) {
    nav#mainNav ul li a:hover,nav#mainNav ul li a, nav#mainNav ul li.current-menu-item a {
        background: var(--color-primary-shade)!important;
    }
}
/* table */
.post table th{
	background:var(--color-primary);
	color:white;
}

/*blog-list*/
.post2b li .post2b_contents, .post4b li .post4b_contents{
	font-size: var(--rem14);
	line-height: 1.5;
}
/*btn*/
.linkBtn, .post .linkBtn,a.linkBtn {
	background: var(--color-primary);
	font-weight: 400;
	font-size: var(--rem20);
	color: white;
	display: inline-block;
	width: 280px;
	max-width: 100%;
	padding: 10px 0;
	font-family: var(--body-font-family);
	border-radius: 100px;
}
.linkBtn a {
	 color: #fff;
}
.linkBtn:hover, .post .linkBtn:hover, a.linkBtn:hover {
	color: #fff;
	background: var(--color-primary);
	opacity: 0.5;
}
.post .subimitarea .linkBtn input[type="submit"] {
	 padding: 0;
}
.linkBtn i{
 padding-right: 5px!important;
}
.linkBtn img{
 padding-right: 5px!important;
	vertical-align: text-bottom;
}
/*link_btn*/
.link_btn{
	width: 17rem;
	text-align:left;
	background:none;
	color:var(--color-primary);
	padding-left: 0;
}
.link_btn::after{
	color:white;
	background: var(--color-primary);
	width: 2.5rem;
	height: 2.5rem;
	padding: 0.8rem;
	border-radius: 100%;
	text-align: center;
	right: 0rem;
	font-size: 1.6rem;
}
.link_btn:hover{
	background:none;
	color:var(--color-primary);
	opacity:0.8;
}
/*ul*/
ul.dotto{
	list-style: none;
}
ul.dotto li{
	position: relative;
	line-height: 1.3;
	margin-bottom: 0.5rem!important;
	margin-left: 2rem;
	font-weight: 300;
}
ul.dotto li::before{
	content: '';
	display: inline-block;
	position: absolute;
	top: 10px;
	left: -20px;
	width: 10px;
	height: 10px;
	background-color: var(--color-primary);
	border-radius: 100px;
}
/*sitemap*/
.post ul#sitemap_list.sitemap_disp_level_0 > li a{
	font-weight: 400;
	font-family: var(--body-font-family);
}

/*max*/
@media only screen and (max-width: 1600px){
	.inner,.max_w900,.max_w960,.max_w1000,.max_w1200{
		width: 95%;
	}
}

/*top*/
.top01 a img{
	margin-top: -23rem;
	width: 17vw;
	margin-bottom:2rem;
	z-index:100;
	position: absolute;
}

@media print, screen and (max-width: 768px){
	.top01 a img{
		margin-top: -25vw;
		width: 22vw;
	}	
}


.top01 h3{
	text-align: center;
	margin-top: 1rem;
	margin-bottom: 1rem;
	border: none;
	padding: 0;
	color: var(--color-font);
}
.top02 ul a{
	border:solid 1px var(--color-primary);
	text-align:center;
	height:90px;
	font-size: var(--rem20);
	padding:5px 10px;
	display:block;
	color: var(--color-primary);
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.top02 ul a:hover{
	opacity: 0.5;
}
.top02 ul a i{
	margin-right:1rem;
	color: var(--color-primary);
}

.top03 {
	background:url(/wp-content/uploads/top03-bg.png);
	padding-bottom: 40rem;
	background-position-y: bottom;
	background-repeat: no-repeat;
	background-size: cover;
}
.top03 .wh_box_100{
	padding: 5rem;
}
@media print, screen and (max-width: 1023px){
	.top03 .wh_box_100{
		padding: 2rem;
	}	
}
.top04 .card{
	width: 48%;
	padding:3rem;
	background: var(--color-primary-tint);
}
@media print, screen and (max-width: 1023px){
	.top04 .card{
		width: 100%;
		margin-bottom: 20px;
		padding-top: 3rem!important;
	}
}
.top04 .card h4{
	padding: 0;
	font-size:var(--rem30);
	color: var(--color-font);
	line-height: 2;
}
.top04 .card h4::before{
	content:none;
}
.top04 .card h4 .num{
	margin-right: 1rem;
	font-family:var(--font-family02);
	background: var(--color-primary-shade);
	color: white;
	padding:1.2rem;
	border-radius:1000%;
	width:100%;
	height:100%;
	display: ruby;
	aspect-ratio: 1;
}
.top05 {
	background: #E6E6E6;
}

/*counseling*/
.float_r{
	float: right;
}
.counseling{
	background: var(--color-secondary-tint);
	padding-bottom: 20rem;
}
.counseling .fukidashi-title{
	position:relative;
}
.counseling .fukidashi-title::before{
	position:absolute;
	content:"";
	width: 2rem;
	height: 1.5rem;
	background:url(/wp-content/uploads/txt_decoration.png);
	background-repeat:no-repeat;
	background-size:cover;
	top: -7px;
	left: -9px;
}
h1.title.txt_l,
.counseling h1.title{
	align-items: flex-start;
}

.counseling .exp{
	position:relative;
	margin-bottom: 20rem;
	padding-bottom: 5rem;
}
.counseling .exp::before{
	position:absolute;
	content:"";
	height: 10rem;
	width:1px;
	top: 100%;
	background: var(--color-font);
	left: 50%;
}
.counseling .card{
	margin-top:5rem;
	background: url(/wp-content/uploads/counseling-card.png);
	background-size: contain;
	padding-bottom: 1.5rem;
}
.counseling .card .person{
	width: 15%;
	display: contents;
}
.counseling .card-title{
	padding-top: 3rem;
}
.counseling .card-title span{
	background: var(--color-tertiary);
	color: white;
	padding: 5px 13px;
	font-family: var(--font-family01);
	font-weight: 400;
	color: var(--color-primary);
}
.counseling .fukidashi-right{
	max-width:1000px;
	padding-right: 5rem;
	justify-self: flex-end;
}
.counseling .fukidashi-right .fukidashi{
	background: var(--color-primary-shade);
	padding: 15px 30px;
	border-radius: 15px;
	position: relative;
	display: inline-block;
	margin: 1.5em 15px 1.5em 0;
	width: 85%;
	float: right;
}
.counseling .fukidashi-right .fukidashi::before{
	content: "";
	position: absolute;
	top: 50%;
	left: 100%;
	margin-top: -15px;
	border: 15px solid transparent;
	border-left: 15px solid var(--color-primary-shade);
}
.counseling .fukidashi-left{
	width: 1000px;
	padding-left: 5rem;
}
.counseling .fukidashi-left.dummy-left{
	justify-content: flex-end;
}
.counseling .fukidashi-left .fukidashi{
	background: var(--color-primary);
	padding: 15px 30px;
	border-radius: 15px;
	position: relative;
	display: inline-block;
	margin: 1.5em 15px 1.5em 0;
	color: white;
	width: 85%;
}
.counseling .fukidashi-left .fukidashi::before{
	content: "";
	position: absolute;
	top: 50%;
	right: 100%;
	margin-top: -15px;
	border: 15px solid transparent;
	border-right: 15px solid var(--color-primary);
}
.counseling .person img,.counseling .person{
	width: 115px;
	object-fit: cover;
}
.counseling .fukidashi-left .person img,.counseling .fukidashi-left .person{
	width: 120px;
}
.counseling .fukidashi-left .person img,.counseling .fukidashi-left .person.dummy{
	padding-left: 5rem;
	display: block;
}
.top04 h1.title.chuui .sub_ttl{
	font-size:18px;
	font-weight:500;
}
@media print, screen and (max-width: 1024px){
	.counseling .fukidashi-right{
		padding-left:0;
		width: 100%;
		display: inherit;
	}
	.counseling .fukidashi-left{
		padding-left:0;
		width: 100%;
		display: inherit;
	}
	.counseling .fukidashi-right .fukidashi{
		width: 100%;
		margin-left:2rem;
		margin-right:2rem;
		padding-left: 2rem;
		padding-right: 2rem;
		float: inherit;
	}
	.counseling .fukidashi-left .fukidashi{
		width: 90%;
		margin-left:2rem;
		margin-right:2rem;
		padding-left: 2rem;
		padding-right: 2rem;
		display: flex;
	}
	.counseling .fukidashi-right .fukidashi::before {
		content: "";
		position: absolute;
		top: 100%;
		left: 75%;
		margin-top: -15px;
		border: 15px solid transparent;
		border-left: 15px solid white;
	}
	.counseling .fukidashi-left .fukidashi::before {
		content: "";
		position: absolute;
		top: 100%;
		left: 25%;
		margin-top: 0;
		border: 15px solid transparent;
		border-top: 15px solid var(--color-primary);
	}
	.counseling .fukidashi-right .fukidashi::before {
		content: "";
		position: absolute;
		top: 100%;
		left: 75%;
		margin-top: 0;
		border: 15px solid transparent;
		border-top: 15px solid var(--color-primary-shade);
	}
	.counseling .card .person{
		width:40%;
	}
	.counseling .fukidashi-right .person{
		float:right;
		display: block;
		text-align: right;
		margin-bottom: 2rem;
	}
	.counseling .person img{
		width: 75px;
	}
	.counseling .fukidashi-left .person img{
		margin-left: 2rem;
		width: 80px;
	}
}
.top-header img{
	width: 100%;
}
.top-header a{
	border:solid 1px var(--color-primary);
	padding-top: 1.5rem;
	padding-bottom:2rem;
	display: block;
	background:var(--color-primary-shade);
}
.top-header a:hover{
	opacity:0.5;
}
.top-header a b{
	padding: 5px 15px;
	background:var(--color-primary);
	border-radius:18px;
	font-size:var(--rem30);
	color: white;
}
.top-header a b i{
	margin-right:1rem;
}
.top-header a.btn_center{
	background:#D8E6F2;
}
.top-header a.btn_right{
	background:var(--color-primary);
}
.top-header a.btn_right .mid_txt{
	color:white;
}
.top-header a.btn_right b{
	background:white;
	color:var(--color-primary);
}
body:not(.home) .top-header{
	display:none;
}

.cta{
	padding-top:10rem;
}
.cta img{
	width:100%;
}
.cta h3{
	border-bottom:none;
	margin-bottom: 1rem;
	color: var(--color-primary);
	font-size: var(--rem30);
	font-weight: 500;
}
.cta .googlemap{
	margin-top: -7px;
	padding-bottom: 35%;
}
.cta .inner{
	padding: 5vw;
	box-shadow: 0 0 6px 0 rgba(0, 0, 0, .2);
	background:white;
	z-index: 99;
	position: relative;
	margin-bottom: 16vw;
	margin-top: -45vw;
	text-align: center;
}
.cta a{
	border:solid 2px var(--color-primary);
	background:var(--color-primary-shade);
	color:var(--color-primary);
}
.cta a::after{
	content:none;
}
.cta a.middle_btn{
	background: var(--color-tertiary-tint);
}
.cta a:hover{
	background:var(--color-primary-shade);
	color:var(--color-primary);
	opacity:0.5;
}
.cta a.middle_btn:hover{
	background:var(--color-tertiary-tint);
}
.cta a.right_btn{
	background:var(--color-primary);
	color:white;
}
@media print, screen and (max-width: 1440px){
	.cta .googlemap{
		padding-bottom: 45%;
	}
	.cta .linkBtn{
		margin-bottom:1rem;
	}
	.cta .inner{
		margin-top: -58vw;
		margin-bottom: 25vw;
	}
}
@media print, screen and (max-width: 768px){
	.cta .linkBtn{
		margin-bottom:1rem;
	}
	.cta .inner{
		margin-top: -75vw;
		margin-bottom: 35vw;
	}
	.cta img{
		height:50vw;
		object-fit: cover;
	}
}
@media print, screen and (max-width: 430px){	
	.cta .googlemap{
		padding-bottom: 100%;
	}
	.cta .inner{
		margin-top: -177vw;
		margin-bottom: 80vw;
	}
	.cta img{
		height:100vw;
		object-fit: cover;
	}
}
.counseling-top ul{
	margin:auto;
}
.counseling-top a.linkBtn{
	width:45%;
	background:var(--color-primary-shade);
}
.counseling-top a.linkBtn:hover{
	background:var(--color-primary-shade);
	opacity:0.5;
}
@media print, screen and (max-width: 768px){
	.counseling-top .w10 img{
		width: 30vw;
	}
	.counseling-top a.linkBtn{
		width:100%;
		margin-bottom:20px;
	}
}

a#scrollUp {
    bottom: 64.2px;
}
/*永井司法書士事務所*/