/* CSSファイル */

@import url('//fonts.googleapis.com/earlyaccess/notosansjapanese.css');
@import url('//fonts.googleapis.com/earlyaccess/sawarabimincho.css');


/*
font-family: "Sawarabi Mincho";
*/


h1, article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section { display: block; }


html, body {
	margin:0;
	padding:0;
	font-family: "Noto Sans Japanese";
	font-weight: 200;
	background:white;
}
a:link {
	color:#414958;
	text-decoration: underline; 
}
a:visited {
	color: #4E5869;
	text-decoration: underline;
}
a:hover, a:active, a:focus { 
	text-decoration: none;
}

#wrap {
	width: 100%;
	max-width: 1000px;
	min-width: 50px;
	margin: 0 auto;
}


/* ヘッダ */
header {
	position:relative;
	overflow:hidden;
	max-width:1000px;
	margin: 0px auto;
}

header a#titlelogo, header a#titlelogo:link, header a#titlelogo:visited {
	color: black;
	text-decoration:none;
}

header h1 {
	font-size:18px;
	text-align:left;
	margin: 0 0 0 20px;
	padding: 20px 0 20px 70px;
	letter-spacing:1px;
	position: relative;
	background:url(../img/kamimura_logo.png);
	background-size: 60px 60px;
	background-repeat:no-repeat;
	background-position: 5px 25px;
	font-weight: normal;
}

header h1 .head-h1-main {
	font-size: 24px;
	font-weight: bold;
}

#head_over {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
#headbar {
	background-color: #CBB58E;
	height: 20px;
}
#headbg {
	background-color: rgba(255,255,255,0.5);
	display: flex;
}
#headbg>div:first-child {
	flex: 60;
}
#headbg>div:last-child {
	flex: 50;
}
#head-siryo {
	background-color: #CBB58E;
	color: white;
	font-size: 28px;
	padding: 10px;
	margin: 20px 20px 10px 0;
	display: block;
	width: 12em;
	text-align: center;
	letter-spacing: 0.2em;
	float: right;
}
#head-siryo:link, #head-siryo:visited {
	text-decoration: none;
}
img.headimg{
	width: 100%;
	max-width: 1000px;
	min-width: 50px;
	height: auto;
	margin: 0;
	}

@media screen and (max-width:600px) {
	#headbg {
	display:block;
	}
	#headbg>div:first-child {
	margin: 0 auto;
	display:block;
	}
	#headbg>div:last-child {
	display:block;
	margin: 10px auto;
	}
	#head-siryo {
	margin: 0 auto;
	float: none;
	}
	img.headimg{
	margin: 180px 0 0 0;
	}
}
@media screen and (max-width:480px) {
	#head-siryo {
	font-size: medium;
	}
	img.headimg{
	margin: 170px 0 0 0;
	}
}



/* メイン領域 */

section {
}

section p {
	font-size: 16px;
	line-height: 1.8em;
}

section.box {
	width: 90%;
	max-width: 700px;
	margin: 50px auto 0 auto;
	overflow: hidden;
	position: relative;
}
section.box h1 {
	font-size: 34px;
	font-family: "Sawarabi Mincho";
}
#pict1 {
	float: right;
	margin-left: 30px;
}
#blogo {
	float: right;
}
#pict2 {
	float: right;
	margin-left: 30px;
}
@media screen and (max-width:540px) {
section.box h1 {
	font-size: 30px;
	font-family: "Sawarabi Mincho";
}
#pict1 {
	float: none;
	margin-left: 0;
}
#pict2 {
	float: none;
	margin-left: 0;
	}
}


p.message_midashi {
	color: #CBB58E;
	letter-spacing: 0.1em;
}
p.message {

}

section.frame {
	padding: 0;
	width: 100%;
	max-width: 733px;
	min-width: 50px;
	margin: 30px auto 0 auto;
	background-repeat: no-repeat;
	background-position: top, bottom;
	background-size:100% auto;
	overflow: hidden;
}
.frame-content {
	margin: 40px 0 40px 0;
	padding: 0 50px 0 50px;
	background-repeat: repeat-y;
	background-size:100% auto;
	text-align: center;
	line-height: 1.8em;
	font-size: 18px;
}
.frame1 {
	background-image: url(../img/frame1_a.png), url(../img/frame1_c.png);
}
.frame1 .frame-content {
	background-image: url(../img/frame1_b.png);
}
.frame2 {
	background-image: url(../img/frame2_a.png), url(../img/frame2_c.png);
}
.frame2 .frame-content {
	background-image: url(../img/frame2_b.png);
}
.frame3 {
	background-image: url(../img/frame3_a.png), url(../img/frame3_c.png);
}
.frame3 .frame-content {
	background-image: url(../img/frame3_b.png);
}
.frame4 {
	background-image: url(../img/frame4_a.png), url(../img/frame4_c.png);
}
.frame4 .frame-content {
	background-image: url(../img/frame4_b.png);
}


section.foot_message {
	width: 100%;
	max-width: 700px;
	min-width: 50px;
	margin: 50px auto 0 auto;
}
section.foot_message h1 {
	background-image: url('../img/dotbar.png');
	padding: 15px 15px 15px 50px;
}
section.foot_message p {
	padding: 15px 15px 15px 50px;
}
p.salonlist {
	background-color: #E7B8FF;
	padding: 10px;
	width: 330px;
	position: absolute;
	bottom: 10px;
}
@media screen and (max-width:540px) {
.frame-content {
	margin: 15px 0 20px 0;
	font-size: small;
}
.frame-content h1 {
	padding: 15px 0 0 0;
}
	p.salonlist {
	position: relative;
	}
}


/* フッタ */
footer {
	width:100%;
	background:#423D45;
	color: white;
	text-align: center;
	padding: 30px 0;
}

footer address {
	font-style: normal;
	line-height: 1.8em;
}
footer address a:link, footer address a:visited {
	color: white;
}


/* その他 */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}



@media screen and (max-width:720px) {
    /*　画面サイズが768pxから1024pxまではここを読み込む　*/
	
	header {
	}
	
	
	header h1 {
		padding: 10px 0 0 60px;
		margin: 0;
		background-size: 45px 45px;
		background-repeat:no-repeat;
		background-position: 5px 5px; 
		line-height: 1.5em;
		font-size: 14px;
		width: 100%;
		height: auto;
	}
	
	header h1 .head-h1-main {
		
	}
	
	
	#foot-message .foot-name {
		display: block;
	}
	
		
}

/* PCのみ・SPのみ表示 */
.mpc
.mpc2 {
	display: inherit;
	}
.msp768,
.msp640,
.msp480,
.msp360 {
	display: none;
	}
@media screen and (max-width: 768px) {
.mpc {
	display: none;
	}
.msp768 {
	display: inline;
	}
}
@media screen and (max-width: 640px) {
.msp640 {
	display: inline;
	}
}
@media screen and (max-width: 480px) {
.mpc2 {
	display: none;
	}
.msp480 {
	display: inline;
	}
}
@media screen and (max-width: 360px) {
.msp360 {
	display: inline;
	}
}