/*すべての要素に対してpaddingやborderをwidthに含める*/
* {
  box-sizing: border-box;
}

body{
  
  color: #454545;
  font-size:20px;
  font-family:"Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;  /*富永さんに確認*/
  line-height:1.5; /*xd行間隔÷フォントサイズ*/
}

h2{
  font-size:40px;
  text-align: center;
  position:relative;
}

h2::before{
  content: '';
  position: absolute;
  /*positionで左右中央寄せ*/
  left: 0;
  right: 0;
  margin: auto;

  bottom: -17px;/*線の上下位置*/
  width: 80px;/*線の長さ*/
  height: 2px;/*線の太さ*/
  background-color: #EA8080;/*線の色*/

}

h3{
  font-size:32px;
  position:relative;
  left:16px;
  
}

h3::before{
  content: '';
  position: absolute;

  left:-16px;
  top:8px;
  width: 2px;/*線の長さ*/
  height: 32px;/*線の太さ*/
  background-color: #EA8080;/*線の色*/
}

h4{
  font-size:24px;
  position:relative;
}

h4::before{
  content: '';
  position: absolute;

  
  width: 16px;/*線の長さ*/
  height: 2px;/*線の太さ*/
  background-color: #EA8080;/*線の色*/

  top: 0;
  bottom: 0;
  margin: auto;
}




/**********************************************************/
/*************************HEADER****************************/
/**********************************************************/
#pageHeader {
	position: fixed;
    width: 100%;
    z-index: 3;
    background-color: #fbfbfb;
    box-shadow: 0 1px 2px 1px #ccc;
    display: flex;
}

#pageHeader .headerContainer{
	width: 1200px;
	height: 120px;
	align-items: center;
	margin: auto;
	display: flex;
}

#pageHeader .headerContainer .logo h1 a{
	display: block;
	width: 120px;
	height: 74px;
	background: url(../images/mojocalogo.svg) no-repeat;
	text-indent: -9999px;
}
#pageHeader .headerContainer .pageNavigation{
	margin-left: auto;
}

nav{
	display: block;
}
nav ul{
	list-style-type: none;
}

#pageHeader .headerContainer .pageNavigation .page .home ,
#pageHeader .headerContainer .pageNavigation .page .menu ,
#pageHeader .headerContainer .pageNavigation .page .info ,
#pageHeader .headerContainer .pageNavigation .page .contact 
{
	width: 104px;
    height: 64px;
    vertical-align: bottom;
    text-align: center;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
}

#pageHeader .headerContainer .pageNavigation .page{
	display: flex;
}

#pageHeader .headerContainer .pageNavigation .page .home a{
	background: url(../images/home.svg) no-repeat;
}
#pageHeader .headerContainer .pageNavigation .page .menu a{
	background: url(../images/menu.svg) no-repeat;
}
#pageHeader .headerContainer .pageNavigation .page .info a{
	background: url(../images/info.svg) no-repeat;
}
#pageHeader .headerContainer .pageNavigation .page .contact a{
	background: url(../images/contact.svg) no-repeat;
}




#pageHeader .headerContainer .pageNavigation .page .home a,
#pageHeader .headerContainer .pageNavigation .page .menu a,
#pageHeader .headerContainer .pageNavigation .page .info a,
#pageHeader .headerContainer .pageNavigation .page .contact a
{
	display: block;
	text-decoration: none;
	color: #333;
    padding-top: 32px;
    line-height: 32px;
    background-size: 32px 32px;
    background-position: top center;
	

}






/***************************************************************/
/*************************SALON INFO****************************/
/***************************************************************/


main {
  width: 1040px;
  padding-top: 200px;
  /*ヘッダー分（120）+ヘッダー下部から見出し(80)までのパディング*/
  margin: 0 auto;
  /*div（ブロック要素）はこれで中央に配置*/
}


/*SALON INFO TOP*********************/
.saloninfo-top {
  display: flex;
  /*左右に配置*/
  margin-top: 79.7px;

}

/*店舗名や住所等の情報*/
.saloninfo-top__right {
  width: 520px;
  height:354px;
  margin-top: 41.3px;
  margin-left: 24px;
  padding-top:48px;
  position:relative;

}

/*右上枠*/
.saloninfo-top__right::before,.saloninfo-middle__left::before,.saloninfo-bottom__right::before,.parking-info__text::before{
  content:"";
  position:absolute;
  width: 40px;
  height: 40px;
  border-top: 2px solid #333333;
  border-right: 2px solid #333333;

  top: 8px;
  right: 8px;
}

/*左下枠*/
.saloninfo-top__right::after,.saloninfo-middle__left::after,.saloninfo-bottom__right::after,.parking-info__text::after{
  content:"";
  position:absolute;
  width: 40px;
  height: 40px;
  border-left: 2px solid #333333;
  border-bottom: 2px solid #333333;

  left: 8px;
  bottom: 8px;
}


.saloninfo-top__right p{
  text-align: center;
  
}

#shopname{
  width: 154px;
	height: 88px;
  display: block;
  background: url(../images/mojocalogo.svg) no-repeat;
  margin:0 auto;
  
  
}


#businesshours{
  font-size: 24px;
  margin-top:42px;
}

#address{
  font-size: 20px;
  margin-top:37px;
}


#saloninfo h3{
  margin-top:53px;
}




/*SALON INFO MIDDLE********************/
.saloninfo-middle {
  display: flex;
  justify-content: space-between;
  /*文章と写真を左右均等に配置*/
  margin-top: 31px;
}



/*写真配置*/
.saloninfo-middle__right{
  position:relative;
  width: 496px;
  height: 296px;
  margin-top: 31px;
  margin-left: 24px;
}

#saloninfo_pic2{
  position: absolute;
  right:0;    /*右の距離をなくして、右端に寄せる*/
}

#saloninfo_pic3{
  position: absolute;
  top:96px;    /*上からの距離＝pic2との高低差*/
  left:0;
}

/*説明文配置*/
.saloninfo-middle__left{
  width: 520px;
  height: 224px;
  position:relative;
  padding-top: 79px;
  padding-left: 64px;
  margin-top: 79px;
  margin-left: 0;
  
}

.saloninfo-middle__left p,.saloninfo-bottom__right p{
  margin-top: 20px;
  
}






/*SALON INFO BOTTOM*********************/


.saloninfo-bottom {
  display: flex;
  justify-content: space-between;
  /*文章と写真を左右均等に配置*/
  margin-top: 72px;
}

/*写真配置*/
.saloninfo-bottom__left{
  position:relative;
  width: 496px;
}

#saloninfo_pic4{
  position: absolute;
  right:0;    /*左の距離をなくして、左端に寄せる*/
}

#saloninfo_pic5{
  position: absolute;
  top:96px;    /*上からの距離＝pic4との高低差*/
  left:0px;    /*左からの距離＝pic4との左右差*/

}

/*説明文配置*/
.saloninfo-bottom__right{
  position:relative;
  width: 520px;
  height: 256px;
  padding-top: 79px;
  padding-left: 64px;
  margin-top: 48px;
  margin-left: 24px;
}






/**********************************************************/
/*************************STAFF****************************/
/**********************************************************/



.staff{
  width: 100%;
  height: 547px;
  background: #F4F6F9;
  /*opacityだとテキストまで透明になる*/
  margin-top:72px;
  padding-top:80px;

}

.staff h3{
  width: 1040px;
  margin: 0 auto;
}

.staff-profile{
  width: 1040px;
  display: flex;
  margin: 0 auto;
  margin-top:32px;
  justify-content: space-between;
}



.staff-profile__1,.staff-profile__2{
  position:relative;
  width: 496px;
  height: 307px;
}

.staff-profile__text{
  width: 296px;
  height: 259px;
  background-color: #fbfbfb;
  position:absolute;
  top:49px;
  right:0;

  padding:24px;

}



#staff-job{
  position: relative;
  margin-top:23.5px;
  left:16px;
}

#staff-job::before{
  content: '';
  position: absolute;

  top:4px;
  left:-16px;
  width: 2px;/*線の長さ*/
  height: 20px;/*線の太さ*/
  background-color: #EA8080;/*線の色*/
}

#staff-message{
  margin-top:9px;
 
}




/**********************************************************/
/*************************PARKING****************************/
/**********************************************************/

.parking{
  width: 1040px;
  margin:0 auto;
  margin-top:80px;
}



.parking-info{
  margin-top:31px;
  display: flex;
  justify-content: space-between;
  
}

.parking-info__1 img{
  margin-top: 24px;
}


.parking-info__text{
  width: 496px;
  height: 185px;
  margin-top: 24px;
  /* 文字を上下左右中央に*/
  display: flex;
  justify-content: center;
  align-items: center;

  /*右上枠と左下枠の配置*/
  position:relative;
}







/**********************************************************/
/*******************ACCESSMAP****************************/
/**********************************************************/


.accessmap-top{
  width: 1040px;
  margin:0 auto;
  margin-top:80px;
  
}




.accessmap-top__tag{
  display: flex;
  margin-top: 47px;
}

.accessmap-top__tag p{
  /*上下中央揃え*/
  display: flex;
  justify-content: center;
  align-items: center;
}



/*タグの背景*/
.tagContainer{
  
  height: 32px;
  background-color: #F4F6F9;
  border-radius: 16px;
  display: flex;
  padding:7px 40px 7px 40px;
  margin-right: 8px;

  position: relative;
}

.tag-1 .tagContainer{
  width: 320px;
}

.tag-2 .tagContainer{
  width: 344px;
}

.tagContainer p{
  color:#EA8080;
  font-size: 16px;
}

.tagContainer p::before{
  content: url(../images/heart.svg);
  position:absolute;
  width: 16px;
	height: 16px;
  left:16px;
  top:7px;
}


.accessmap-down{
  margin-top: 48px;
}




/**********************************************************/
/********************RESERVATION****************************/
/**********************************************************/

#reserve .reserveContainer{
  margin:0 auto;
  padding-top:77px;
  
  width: 1000px;
	height: 363px;

}

#reserve .reserveContainer .reserveButton {
	display: flex;
  margin:0 auto;
  margin-top: 60px;/*擬似要素は距離に入れない*/
  width: 600px;
	height: 104px;
  border: 1px solid;
}


#reserve .reserveContainer .reserveButton a{

	text-decoration: none;
	color: #333;
	position: relative;
  width: 600px;
	padding-top: 41px;
  padding-left:120.5px;
  line-height:1.2;
}

#reserve .reserveContainer .reserveButton a::before{
	content: url(../images/reserve.svg);
	width: 48px;
	height: 48px;
	z-index: -1;
	position: absolute;
	top: 28px;
	left: 48px;
}

#reserve .reserveContainer .reserveButton a::after{
  content:url(../images/arrow.svg);
  position:absolute;
  width: 10px;
	height: 18px;
  right:78.5px;
  z-index: -1;
 
}



/**********************************************************/
/*************************FOOTER****************************/
/**********************************************************/

#pageFooter {
  width: 100%;
  background-color: #fbfbfb;
  box-shadow: 0 1px 2px 1px #ccc;
  display: flex;
flex-direction: column;
justify-content: center;
}

#pageFooter .footerContainer{
width: 1000px;
height: auto;
align-items: center;
margin: auto;
display: flex;
justify-content: center;
}
#pageFooter .footerContainer .upper{
display: flex;
justify-content: space-between;
width: 1000px;
height: auto;
padding-top: 120px;
}
#pageFooter .footerContainer .upper .logo{
width: 120px;
height: 74px;
background: url(../images/mojocalogo.svg) no-repeat;
}
#pageFooter .footerContainer .upper .logo h1 a{
text-indent: -9999px;
display: block;
}
#pageFooter .footerContainer .upper .footerRight{
width: 640px;
}
#pageFooter .footerContainer .upper .footerRight .footerPagenavigation{
height: 60px;
border-bottom: #333 2px solid;
}

#pageFooter .footerContainer .upper .footerRight .footerPagenavigation .page{
display: flex;
justify-content: space-between;
}

#pageFooter .footerContainer .upper .footerRight .footerPagenavigation .page a{
text-decoration: none;
color: #333;

}
#pageFooter .footerContainer .upper .footerRight .footerInfo{
height: 120px;
}
#pageFooter .footerContainer .upper .footerRight .footerInfo p:nth-of-type(1){
margin-top: 30px;
margin-bottom: 30px;
}
#pageFooter .footerContainer .upper .footerRight .footerInfo p{
margin-bottom: 10px;
}



#pageFooter .copyright{
margin: 40px auto;
}