/*
Theme Name: masamune_lp
Template: oops_tcd048
*/


/*base*/

*,*:before,*:after,li{
	box-sizing: border-box!important;
}

/*html,body {margin:0; padding:0; position: relative;}*/

html{
	font-family: "Noto Serif JP", sans-serif;
	font-weight: 600;
	font-style: normal;
}

p:not(.sans){font-family: "Noto Serif JP", sans-serif;}

.sans,.single-news .p-entry__inner .p-entry__body p{
	 font-family: "Noto Sans JP", sans-serif;
}


ul:not(.list,.p-footer-nav,.p-global-nav,.p-breadcrumb,.slick-dots){margin:0; padding:0; list-style-type: none;}
p,li:not(.p-breadcrumb__item,.menu-item),table td{font-size:16px; line-height:1.6; color:var(--blk);}
img {max-width: 100%;}
a,a:link,a:visited{text-decoration: none;}
a:hover {opacity:0.8;}


h2,h3,h4,h5,h2 span,h3 span,h4 span,h5 span{font-weight:bold;}

h2{font-size:1.2rem;}

.pconly{display:none;}
.sponly{display:block;}

@media only screen and (min-width: 768px){
	.pconly{display:block;}
	.sponly{display:none;}
}

span.br{display:inline-block;}

.br-sp {display: block;}
.br-pc {display: none;}

@media screen and (min-width: 768px){
.br-sp {display: none;}
.br-pc {display: block;}
}

.center{text-align:center;}
.left{text-align:left;}
.right{text-align:right;}

@media (max-width: 767px){
.center-sp{text-align:center;}
}

.flex,.flex-sp{
	display:flex;
	justify-content: center;
	align-content: center;
}
@media (max-width: 767px){
	.flex:not(.reverse){flex-direction: column;}
	.flex.reverse{flex-direction: column-reverse;}
	}

.note{
	color: var(--blk);
	margin:0; 
	padding:1rem 0;
	text-align: left;
	font-size:1rem;
	list-style-type: none;
}
.note li{
	position: relative;
	text-indent: -1em;
	padding-left: 1em;
}
.note>li:before{
	content:"※";
	left:0;
}

.list{
	list-style-type: disc;
}



/*Contactform用調整*/
.wpcf7 p,.wpcf7,.wpcf7 select, .wpcf7 .wpcf7-list-item-label{font-size:16px;}


/*PC電話リンク*/
@media (min-width: 768px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}

/*レイアウト*/

.home .l-main{
	background-image: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/bg.webp);
	background-repeat: repeat-y;
	background-size: 100%;
	background-color: rgba(255, 255, 255, 0.8);
	background-blend-mode: lighten;
}

section{overflow: hidden;}

section .inner{
	width:100%;
	max-width:980px;
	padding:40px 20px;
	margin:0 auto;
	box-sizing: border-box;
}

:root{
	--beige:#ece3d1;
	--lbeige:#f6f4ed;
	--red:#b7212c;
	--brwn:#754c24;
	--dbrwn:#534741;
	--grn:#78932f;
	--dgrn:#228e3b;
	--size36:clamp(1.25rem, 1.818vw + 0.886rem, 2.25rem);
	--size32:clamp(1.375rem, 1.136vw + 1.148rem, 2rem);
	--size24:clamp(1.125rem, 0.682vw + 0.989rem, 1.5rem);
	--size22:clamp(1.125rem, 0.455vw + 1.034rem, 1.375rem);
}

body:not(.home){
	display:flex;
	flex-flow:column;
	min-height:100vh;
}

main:not(.home){
	flex:1;
}




/*テーマ調整*/

/*.p-global-nav > .current-menu-item > a,*/
.l-header--large .p-global-nav > li > a:hover, .l-header--large.is-active .p-global-nav > li > a:hover, .p-global-nav > li > a:hover, .p-global-nav .current-menu-item > a .p-widget-list a:hover, .p-news-ticker__item-date{color:var(--grn)!important;}

.p-article01__title a:hover, .p-article01__category a:hover, .p-footer-blog__archive-link:hover, .p-footer-nav a:hover, .p-social-nav__item a:hover, .p-index-content07__archive-link:hover, .p-news-ticker__archive-link:hover{
	color:var(--grn)!important;
}


/*header*/

.l-header--large{
	height: 120px;
	line-height:0;
	width: 100%!important;
	max-width: 100%;
}

.bg-header{
	background: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/bg_top.webp) no-repeat top;
	background-size: 100%;
	height:120px;
}

@media only screen and (max-width: 1200px) {
	.bg-header{margin-top: -60px;}
}

.is-fixed.is-active.is-mobile-fix{
	background:transparent;
}

@media only screen and (max-width: 1200px) {
	.bg-header,.l-header.is-active,.l-header--large .bg-header,.l-header.is-active .bg-header{height:60px;}
}

.l-header.is-fixed.is-active,.l-header.is-fixed.is-active.is-mobile-fix{
	background: rgba(255, 255, 255, 0.4) !important;
}

.l-header.is-active{
	line-height:0;
	height: 90px;
}

.l-header__inner{
	width: 100%;
	max-width: 1280px;
}

@media only screen and (max-width: 1200px) {
	.l-header, .l-header--large.is-active,.l-header__inner{
	background:transparent!important;
	}
}

.l-header__logo{max-width:200px;}

@media only screen and (max-width: 1200px) {
	.l-header__logo{max-width:160px;}
}

.h-right .info{
	display: flex;
	align-items: center;
	padding: 20px 0 20px 20px;
	justify-content: flex-end;
}

.h-right .info .tel-pc{
	display: flex;
	align-items: center;
}

.h-right .info .tel-pc img{
	vertical-align: middle;
	width: clamp(6.25rem, 22.917vw + 1.667rem, 20rem);
}

.h-right .info .tel-sp,.contact-sp{display:none;}

@media only screen and (max-width: 767px) {
	.h-right .info .tel-pc,.contact-pc{display:none;}
	.h-right .info .tel-sp,.contact-sp{display:block;}
	.contact-sp{margin-right: 10px;}
}

.p-global-nav > li > a{
	font-size:18px;
	padding:10px 20px;
	font-weight: bold;
}

.l-header.is-active .h-right .info{
	padding: 10px 0;
}

.l-header__logo a{padding:0.5rem;}

@media only screen and (max-width: 1200px) {
	.l-header__inner {display: flex!important;}
	.h-right .info{margin-right: 60px; padding:0;}
	.l-header.is-active .h-right .info{padding:0;}
}

@media only screen and (max-width: 767px) {
	.l-header__logo--retina img{
	width:100%;
	}
	.l-header__logo{width:140px; padding-left: 10px !important;}
	.l-header__logo a{width:120px;padding:0;}
}

@media only screen and (max-width: 350px) {
	.l-header__logo{width:100px;} 
}

.l-header.is-active .p-global-nav > li > a{font-size:16px;}

.info a{
	color: #fff;
	border-radius: 10px;
}

.tel-sp a,.contact-sp a{
	padding: 0.5rem 0.8rem;
	margin-left: 10px;
}

.tel-sp a{background: var(--red);}

.contact-pc a,.contact-sp a{
	background: var(--grn);
}

.contact-pc a{
    font-size: clamp(0.875rem, 0.417vw + 0.792rem, 1.125rem);
    margin: 10px 20px 10px 0px;
    padding: 0.5rem 0.8rem;
}


.p-menu-button.is-active{background:var(--grn)!important;}

@media only screen and (max-width: 1200px) {
	.p-global-nav {
        background: rgba(83, 71, 65, 0.8)!important;
	padding-top: 2rem;
	}
	.l-header--large .p-global-nav > li > a,.l-header .p-global-nav > li > a{
	color:#fff!important;
	}
}

.c-menu-button::before{color:var(--grn)!important;}

.c-menu-button.is-active::before{color:#fff!important;}




/*header下層用*/
#body:not(.home) .bg-header{
	height: 100px;
}

@media only screen and (max-width: 1200px) {
	#body:not(.home) .l-header,#body:not(.home) .bg-header,.l-header--large.is-active{
	height: 60px;
	}
}

#body:not(.home) .l-header{
	/*height: unset;*/
	line-height: unset;
	margin-top: 16px;
}

#body:not(.home) .l-header.is-active{margin-top: 0;}

#body:not(.home) .l-header__inner{
	align-items: center;
}

.l-header .p-global-nav > li > a{
	line-height: 0;
}

#body:not(.home) .h-right .info{
	padding:0;
}

#body:not(.home) .h-right nav{margin-top: 6px;}

@media only screen and (max-width: 1200px) {
	#body:not(.home) .h-right nav,#body:not(.home) .l-header{margin-top: 0;}
}



/*animation*/

@keyframes fadein{
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@keyframes zoom {
	0% {transform: scale(1);}
	50% {transform: scale(1.1);}
	100% {transform: scale(1);}
}

@keyframes pulse {
	0% {transform: scale(1);}

	50% {transform: scale(1.05);}

	100% {transform: scale(1);}
}


@keyframes scaleup {
	0% {
		opacity: 0;
		transform: scale(0.2);
	}

	50%{transform: scale(1.3);}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes shake {
	0%,100%{transform: rotate(0deg);}
	10% {transform: rotate(1deg);}
	20%,40%,60% {transform: rotate(-2deg);}
	30%,50%,70% {transform: rotate(2deg);}
	80% {transform: rotate(-1deg);}
	90% {transform: rotate(1deg);}
}

@keyframes slideout-bottom {
	0% {
		opacity: 1;
		transform: translateY(0);
	}

	100% {
		opacity: 0;
		transform: translateY(50px);
	}
}

@keyframes slideleft {
	0% {
		opacity: 0;
		transform: translateX(-100px);
	}
	100% {
		opacity: 1;
		transform: translateX(0px);
	}
}


.slide-right.fade{
	opacity: 0;
	transition: all 0.6s ease;
	transform: translate(100px, 0);
}

.slide-left.fade{
	opacity: 0;
	transition: all 0.6s ease;
	transform: translate(-100px, 0);
}

.fadein-center.fade{
	opacity: 0;
	transition: all 0.6s ease;
	transform: scale(0.2)
}

.slide-up.fade{
	opacity: 0;
	transition: all 0.6s ease;
	transform: translate(0, 100px);
}

.slide-right.fade.active,.slide-left.fade.active,.fadein-center.fade.active,.slide-up.fade.active{
	opacity: 1;
	transform: none;
}


/*リンクボタン*/

.linkbtn{margin: 2rem auto;}

.linkbtn a{
	border: solid 4px #000;
	border-radius: 50px;
	background-color: var(--dblue);
	padding: 0.5rem 1rem;
	font-size: 22px;
	color: #fff;
	box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
	display: flex;
	width: 100%;
	max-width: 220px;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
}

.linkbtn a span{
	font-family: "M PLUS 1", sans-serif;
	font-weight: 900;
}

.linkbtn a img{
	width: 24px;
	margin-left: 10px;
	vertical-align: bottom;
}

a.linkbtn-grn{
	display: inline-block;
	margin-top: 1rem;
	background-color: var(--grn);
	border-radius: 10px;
	color: #fff;
	font-weight: bold;
	font-size: var(--size22);
	padding: 1rem;
}

a.linkbtn-more{
	display: inline-block;
	margin-top: 0.5rem;
	position: relative;
	border-radius: 6px;
	background-color: var(--grn);
	color: #fff;
	padding: 0.2rem 2rem 0.2rem 1rem;
}

a.linkbtn-more:before {
	content: "";
	width: 8px;
	height: 8px;
	border: 0;
	border-top: solid 1px #fff;
	border-right: solid 1px #fff;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	right: 20px;
	bottom: 0;
	margin: auto;
}


/*mv*/

#mv{
	background-color: var(--dbrwn);
}

@media only screen and (max-width: 1200px) {
	#mv{margin-top:0;}
}

h1{
	width: 100%;
}

h1 img{
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

/*prob*/

#prob{
	background-image: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/bg_prob.webp);
	background-repeat: repeat-y;
	background-size: 100%;
}

#prob .inner{
	width: 70%;
	max-width: 900px;
	padding: 4rem 0;
}

@media (max-width: 767px){
#prob .inner{width: 90%;}
}

#prob .symptom{
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom:1rem;
}

#prob .symptom li{
	background-color: var(--beige);
	color: var(--brwn);
	padding: 0.5rem 1rem;
	margin: 0 0.5rem 1rem;
	width: calc((100% - 4rem) / 3);
	font-weight: bold;
	font-size: var(--size32);
	text-align: center;
}

@media (max-width: 767px){
#prob .symptom li{width: calc((100% - 4rem) / 2);}
}


#prob .prob-list{
	color:#fff;
	margin:0 auto;
}

#prob .prob-list li{
	margin-bottom: 2rem;
	padding-left:60px;
	min-height: 50px;
	display: inline-block;
	font-size: var(--size24);
	font-weight: bold;
	background: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/parts_no.png) left 0px bottom 4px no-repeat;
	background-size: 42px auto;
}

#prob .prob-list li span{
	padding-bottom: 3px;
	background: linear-gradient(transparent 96%, #ffffff 0%);
}

#prob .cause{
    background-color: #fff;
    padding: 1rem;
    text-align: center;
	font-weight:bold;
}

#prob .cause p{
	font-size: var(--size24);
	font-weight: bold;
	color: var(--brwn);
	line-height: 1.4;
}

#prob .cause p.em-red{
	font-weight:bold;
	font-size:var(--size32);
	color:var(--red);
	line-height: 1.2;
}


/*aim*/

#aim{background-color:var(--lbeige);}

.aim-inner{
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}

.aim-inner:before{
content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 16px;
  right: 16px;
  border: solid 1px var(--red);
}

.aim-inner:after{
	content: "";
	position: absolute;
	top: 26px;
	bottom: 26px;
	left: 26px;
	right: 26px;
	border: solid 1px var(--red);
}

.aim-inner img{
    height: 340px;
    position: absolute;
    top: -20px;
    left: 4%;
        z-index: 2;
}

.aim-inner h2{
	font-size: var(--size22);
	position: relative;
	padding: 4rem;
	left: 36%;
	line-height: 1.8;
	color: var(--brwn);
	font-weight: bold;
	z-index: 3;
}

@media only screen and (max-width: 767px) {
	.aim-inner h2{
	left: 0;
	margin: 0 auto;
	width: 90%;
	text-align: center;
	padding: 4rem 2rem;
	}
}


.aim-inner h2 .em-red,#intro .director h3{
	font-size:var(--size36);
	color: var(--red);
	font-weight: bold;
}

.aim-inner h2 .bg-red{
	background-color:var(--red);
	color:#fff;
	font-weight:bold;
	font-size: var(--size32);
}



/*point*/

#point{
	padding: 3rem 0;
	position:relative;
}

#point .inner{
	position: relative;
	z-index: 1;
}

#point:before{
	content: "";
	position:absolute;
	background: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/bg_point_pc.png) no-repeat;
	background-size: 100%;
	height: 100%;
	width: 100%;
}

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

	#point:before{
	content: "";
	background: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/bg_point_sp_top.png) top left no-repeat;
	background-size: 100%;
	}

	#point:after{
	content: "";
	position:absolute;
	bottom: 0;
	background: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/bg_point_sp_btm.png) bottom right no-repeat;
	background-size: 100%;
	height: 100%;
	width: 100%;
	}

}

#point ul{
	flex-wrap: wrap;
	justify-content: space-evenly;
}

#point ul li{
	width:calc((100% - 6rem) / 3);
	background-color: #fff;
	border: solid 3px var(--brwn);
	border-radius: 30px;
	padding: 2rem;
	margin: 1rem;
	text-align: center;
}

@media only screen and (max-width: 767px) {
	#point ul li{width:100%;}
}

#point ul li h3{
	font-size:var(--size24);
	color: var(--brwn);
}

@media only screen and (max-width: 767px) {
	#point ul li h3{font-size:24px;}
}


#point ul li img{
	width: 130px;
	margin: 1rem 0;
}

#point ul li p{
	text-align: left;
}


/*reserve*/

#reserve .pr-price{
	background: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/bnr_pr_bg_price.webp) top left no-repeat;
	background-size: cover;
	height: 480px;
	width: 50%;
	background-color: rgba(255, 255, 255, 0.7);
	padding: 3rem 0;
	text-align:center;
}

#reserve .pr-img{width:50%;}

#reserve .pr-img img{
    height: 480px;
    width: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 767px) {
	#reserve .pr-price{width:100%; height:unset;}
	#reserve .pr-img{width:100%;}
	#reserve .pr-img img{height:300px;}
}


/*case*/

#case ul{justify-content: space-around;}

@media only screen and (max-width: 767px) {
	#case ul{justify-content: center;}
}

#case ul li{width: calc((100% - 80px) / 2);}

@media only screen and (max-width: 767px) {
	#case ul li{
	width:100%;
	margin: 0 auto 3rem;
	padding-right: 0.6rem;
	}
}

#case ul li h2{margin-bottom:1rem;}

.double{
	position: relative;
	background-color: #fff;
	box-shadow: 0 0 0 1px var(--red), 12px 12px 0 0 #fff, 12px 12px 0 1px var(--red);
	text-align: center;
	padding:1rem;
}

#case .double h3{
margin-bottom: 1rem;
    font-size: var(--size24);
    color: var(--red);
}

#case .double .flex-sp{justify-content: space-evenly;}

#case .double img{
	width:180px;
	object-fit:contain;
}

@media only screen and (max-width: 767px) {
	#case .double img{
	clamp(6.25rem, 31.32vw - 0.014rem, 15rem)
	}
}

.case-before{margin-right: 30px;}

.case-before,.case-after{position:relative;}

.case-before:before{
	content: "";
	width:0;
	height:0;
	border-style:solid;
	border-width: 16px 0 16px 20px;
	border-color: transparent transparent transparent var(--brwn);
	position: absolute;
	top: 0;
	right: -26px;
	bottom: 0;
	margin: auto;
	z-index:2;
}

.case-before:after{
	background: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/parts_before.png) center no-repeat;
}

.case-after:after{
	background: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/parts_after.png) center no-repeat;
}

.case-before:after,.case-after:after{
	content: "";
	position: absolute;
	bottom:-20px;
	left:0;
	right:0;
	margin: auto;
	background-size: 100%;
	width: 140px;
}

#case p{
	margin-top:1.2rem;
	text-align:right;
	font-size:14px;
}


/*voice*/

#voice{
    background-color: var(--beige);
    padding: 50px 0;
}

.p-index-content07{
    background-color: transparent;
    height: unset;
}

.p-index-content07__review{
	width: 100%;
	margin: 0 auto 3rem;
}

.p-index-content07 .l-inner{
    width: 90%;
    max-width: 900px;
}

.slick-slide{
    background-color: #fff;
    padding: 2rem;
    border-radius: 20px;
}

.review__desc__wrap{margin-left:1rem;}

.p-review__image{
	border-radius: unset;
	width:300px;
	object-fit: cover;
}

.slick-slide img{
	height: 200px;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}


.slick-dots{bottom: -40px;}

@media only screen and (max-width: 991px) {
	.p-index-content07 .slick-dots{bottom:-40px!important;}
}

.slick-dots li.slick-active, .slick-dots li:hover{background:var(grn);}

.p-button:hover, .slick-dots li.slick-active, .slick-dots li:hover{color:var(grn);}

/*ドットの中の点消し*/
.slick-dots li button:before{color:transparent;}
.slick-dots li.slick-active button:before{color:transparent;}

.review__desc__wrap h3{
	color: var(--grn);
	font-size: var(--size22);
	margin-bottom:0.5rem;
}

.p-review__desc{
	line-height: 1.8;
	font-size:16px;
}

.review__desc__wrap .right{font-size:14px;}


/*院長紹介*/

#intro .director{
	justify-content: flex-start;
	margin: 5rem 0 2rem;
}

#intro .director .photo{
	width: 40%;
	max-width: 480px;
}

@media only screen and (max-width: 767px) {
	#intro .director .photo{
	width: 90%;
	}
}

#intro .director .photo img{
    border-radius: 0 30px 30px 0;
}

#intro .director .txt{
	width: 50%;
	padding: 3rem;
}

@media only screen and (max-width: 767px) {
	#intro .director .txt{
	width: 100%;
	padding: 40px 20px;
	}
}

#intro .director .txt h3{
	margin-bottom:2rem;
	line-height: 1.6;
}

@media only screen and (max-width: 767px) {
	#intro .director .txt h3{text-align: center;}
}

#intro .director .txt p{
	margin-bottom: 1rem;
	font-size: clamp(1rem, 0.417vw + 0.917rem, 1.25rem);
	font-weight:bold;
	line-height: 1.8;
}

.intro-sum{
	justify-content: space-around;
}

.intro-sum h3{
	font-size: var(--size22);
	color:var(--brwn);
	border-bottom:solid 1px var(--brwn);
	margin:2rem 0 1rem;
	padding-bottom: 0.4rem;
}

.intro-sum p.em-blk{
	font-size: var(--size24);
	font-weight: bold;
}

.intro-sum p.em-blk span{
	font-size: 16px;
	font-weight: bold;
	padding-left: 10px;
}

.intro-sum .list{
	padding-left: 2rem;
}

.intro-sum .list li{margin-bottom: 0.5rem;}

#intro2{
	background-color:rgba(199,178,153,0.2);
	margin-top: -100px;
	padding-top: 40px;
}


/*メニュー・料金*/

#price ul{
	flex-wrap:wrap;
	justify-content: flex-start;
}

#price ul li{
	background-color:var(--dbrwn);
	padding: 0.5rem 1rem;
	color: #fff;
	font-weight: bold;
	margin: 0 0.8rem 0.8rem 0;
	font-size: 20px;
}

#price .flex{
	margin-top: 2rem;
	justify-content: flex-start;
}

#price .menu{
	border-left:solid 3px var(--dbrwn);
	padding-left:0.5rem;
	margin-bottom: 1rem;
}

#price .menu p{font-size:18px;}

#price .menu span{
	font-size:var(--size36);
	
}

#price .flex img{
	height:130px;
}

#price a.linkbtn-grn{
	margin-bottom: 3rem;
}

#price .payment{
    margin-bottom: 2rem;
}




/*施術の流れ*/

#flow{
	background-color: #fff;
	padding-bottom: 2rem;
}

#flow ul li{
    margin: 0 1rem 2rem;
}

#flow ul li img{border-radius:30px;}

#flow ul li h3{
	text-align:center;
	font-size: var(--size22);
	color: var(--red);
	margin: 1rem 0 0.5rem;
}


/*アクセス*/

#access .access-em{
	font-size: var(--size24);
	color: var(--red);
	font-weight: bold;
	text-align: center;
}

#access .access-em span{
    font-weight: bold;
    font-size: var(--size36);
}


#access table{
    width: 80%;
    margin: 0 auto;
    margin-top: 1rem;
}

#access table th,#access table td{
	border-bottom: solid 1px #000;
	padding: 0.5rem 0;
	text-align: left;
}

@media only screen and (max-width: 767px) {
	#access table th,#access table td{
	display: inline-block;
	width: 100%;
	}
	#access table th{
	font-weight: bold;
	border: none;
	padding-bottom: 0;
	}
}

#access table th{
	color: var(--brwn);
}

#access table td span{
	font-size: 14px;
}




/*footer*/

.p-pagetop{
        line-height: 50px;
        position: fixed;
        bottom: 0;
        right: 0;
        z-index: 9999;
}

.p-pagetop a{
	width:56px;
	background:var(--grn);
}

.p-pagetop a::after{
	bottom: 25px;
}

.l-footer{
	padding-top: 0!important;
	background: transparent !important;
	background: url(https://rigakusalon-masamune.com/wp-content/themes/masamune_lp/img/bg_bottom.webp) no-repeat bottom!important;
	background-size: 100%!important;
}

.l-footer__inner{
	background: transparent;
	padding: 20px;
	padding-bottom:10px!important;
	width: 100%!important;
	max-width: 1280px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.l-footer__logo{
	margin-bottom: 20px;
	margin-right: 10px;
}

.l-footer__logo img{
    max-width: 160px;
    width: 100%!important;
}

.p-footer-nav{justify-content: flex-start;}

@media only screen and (max-width: 767px) {
	.p-footer-nav{
	margin-bottom: 0.5rem;
	line-height: 2;
	}
}


.p-footer-nav a{
	color:#000;
	border-bottom: solid 1px #000;
	margin-right: 1rem;
	margin-bottom: 0.5rem;
}

.p-footer-nav li + li::before{display:none;}

.p-copyright small{float: unset;}

.p-copyright{
    display: flex;
    align-items: center;
}

.p-copyright .u-clearfix{text-align: center;}





/*お問い合わせ*/

#contact p,#contact label{font-weight:bold;}

.wpcf7{
	border: none;
	background: none;
}

.wpcf7 label{font-weight: 500;}

.wpcf7 input, .wpcf7 textarea{border:none;    margin-top: 0.3rem;}

.wpcf7-list-item-label{padding-left: 0.5rem;}

.wpcf7-list-item{padding-left: 0.5rem;}

.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous{
	background-color: var(--dblue);
	border-radius: 50px;
	border: solid 4px #000 !important;
	box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
	font-size: 18px;
	font-weight: bold;
	margin: 3rem auto;
}

#contact .note,#contact .note li{
	font-size:14px;
	font-weight:bold;
}


/*プライバシーポリシー*/

#policy section{background-color:var(--ylw);}

#policy p{margin-bottom: 1rem;font-weight: normal;}

#policy h3{
	font-weight: 900;
	font-size: 18px;
	padding-top: 1rem;
}

#policy ol{
	list-style-type: decimal;
	margin-left: 2rem;
	margin-bottom: 1rem;
}



/*404*/

.error404{
	background: none;
}

.error404 section{
	margin: 3rem 0;
}

.error404 h2{font-size: 30px; margin: 3rem 0;}

.error404 .linkbtn-grn{
	display: inline-block;
	margin-top: 2rem;
}


/*共通*/

.tt{
	text-align: center;
	font-size: var(--size36);
	margin: 2rem 0 4rem;
	position: relative;
	font-weight: bold;
}

.tt.brwn{color:var(--brwn);}

.tt.red{color:var(--red);}

.tt.brwn:after,.tt.red:after{
	content: '';
	position: absolute;
	bottom: -16px;
	display: inline-block;
	width: 60px;
	height: 2px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.tt.brwn:after{background-color: var(--brwn);}

.tt.red:after{background-color: var(--red);}

.p-breadcrumb a:hover{color:var(--grn);}



/*下層_共通*/

main:not(.home) .p-breadcrumb{
	background-color:var(--lbeige);
	padding: 0.5rem 1rem;
}

.c-breadcrumb__item--home a,.c-breadcrumb__item + .c-breadcrumb__item::before{color:#000;}

.u-head h2{
	font-size: var(--size32);
	padding-bottom: 0.8rem;
	border-bottom: solid 1px #000;
	margin-bottom: 3rem;
}



/*下層_お客様の声_一覧ページ*/

.post-type-archive-review .p-review__image{
	width: 100%;
	max-width: 200px;
	border-radius: unset;
	aspect-ratio: 4 / 3;
	height: auto;
	border-radius: 20px;
}

.post-type-archive-review .p-review__desc{
	margin-bottom: 1rem;
}

@media only screen and (max-width: 767px) {
	.post-type-archive-review .p-review__image{max-width: 400px;border-radius: 30px;}
	.p-review__name {font-size: var(--size22)!important;}
	.p-review__desc {font-size: 16px!important;}
}



/*下層_お客様の声_詳細ページ*/
.tt_review{
    text-align: center;
    margin: 2rem;
    font-weight: bold;
    color: var(--brwn);
    font-size: var(--size32);
}

.p-review-footer__name{
	font-size: var(--size22);
}

@media only screen and (max-width: 767px) {
    .p-review-footer__name {font-size: var(--size22)!important;}
}

.single-review .p-review-header{
	border-top: none;
}

.single-review .p-review-header__title{
	color: var(--grn);
	font-weight: bold;
	border-bottom: solid 1px var(--grn);
	padding-bottom: 0.5rem;
}

.single-review .p-entry__body{
	font-size:16px;
}

.single-review .p-review-footer{
	margin-bottom: 0;
	border-bottom:solid 1px #000;
}

.single-review .p-review-footer__portrait{
	width: 100%;
	max-width: 400px;
	border-radius: unset;
	aspect-ratio: 6 / 4;
	border-radius: 30px;
	height: auto;
}

.single-review .p-entry__body p{
	font-family: "Noto Sans JP", sans-serif;
	font-size:16px;
}

.p-review-footer__link{
	background: var(--grn);
	border-radius: 10px;
	margin-bottom: 2rem;
}

.p-review-footer__link:hover{
	background:rgba(0,0,0,0.7);
}

@media only screen and (max-width: 767px) {
	.p-review-footer__link {font-size: 16px!important;}
}


/*下層_お知らせ_一覧ページ*/

.p-news-list{
	flex-direction: column;
}

.p-news-list__item{width:100%;}

.p-news-list__item.p-article02{
	background: none;
	border: none;
	margin: 0 0 1rem;
	padding: 0;
}

.p-news-list__item a{
    background-color: var(--beige);
    width: 100%;
    height: 100%;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.p-news-list__item .p-article02__header{margin:0;}

.p-news-list__item .p-article02__date{color:#000;}

.p-news-list__item .p-article02__title{font-size:18px;margin:0;}






/*下層_お知らせ_詳細ページ*/

.single-news .p-entry__inner h2{
	margin-bottom:2rem;
	border-bottom: solid 1px #000;
	padding-bottom: 0.5rem;
}

.single-news .p-entry__inner .page_thumbnail{
	margin: 3rem auto;
	border-radius: 30px;
	height: 60vh;
	max-height: 400px;
	width: 100%;
	max-width: 600px;
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-size: cover;
}

.single-news a.linkbtn-grn{
    margin-bottom: 3rem;
    font-size: var(--size22);
}

.single-news .date{margin-bottom: 0.5rem;} 












