@charset "utf-8";

/*========= レイアウトのためのCSS ===============*/

body{
    word-break: keep-all;
}

/* HEADER */

#header{
	position: relative;
	z-index:999;
	/*装飾のためのCSS*/
	background:#D9D8D3;
	color: #f2f2f2;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:5px 20px;
}

	
/*全体のエリア設定*/

.ms-section{
	color:#fff;
	padding:20px;
}

.ms-section a{
	color:#fff;
}

h1{
	font-size:150%;
    margin:0 0 20px 0;
	text-align: center;
  
}

h2{
	font-size:140%;
	margin:0 0 20px 0;
	text-align: center;
}

p{
   font-size:140%;
	margin:0 0 20px 0;
    text-align: center;
}

/*右にある丸ナビゲーション色*/

#multiscroll-nav span{
	background:transparent!important;
	border-color:#BB9E73!important;
}

/*右にある丸のナビゲーション現在地色*/

#multiscroll-nav li .active span{
	background:#BB9E73!important;
}



/*右上のナビゲーション*/

#menu li {
	display:inline-block;
	margin: 10px;
}

#menu li a{
	text-decoration:none;
	color: #fff;
	padding: 5px 10px;
	display:block;
	border-radius: 10px;
}

#menu li.active a{
	color: #8C8C88;
}


/*右エリア画像設定*/


#right1{
	background:url("../img/perportrait.jpg") no-repeat center;
	background-size:cover;
}

#right2{
	background:url("../img/drawing.png") no-repeat center;
	background-size:cover;
}

#right3{
	background:url("../img/kyros_bl.png") no-repeat center;
	background-size:cover;
}

#right4{
	background:url("../img/persuntumcenter.jpg") no-repeat center;
	background-size:cover;
}

#right5{
	background:url("../img/peringold.jpg") no-repeat center;
	background-size:cover;
}
#right6{
	background:url("../img/ring.png") no-repeat center;
	background-size:cover;
}



/* Tablet Layout 縦向きのみ Inherits styles from: Mobile Layout. */
@media only screen and (min-device-width: 744px) and (max-device-width: 1024px) and (orientation:portrait) {

/*左エリアを横幅100%にして画像＋テキストを出す設定*/
.ms-left{
	width:50%!important;
}

/*右エリア画像設定*/


#right1{
	background:url("../img/perportrait02.jpg") no-repeat center;
	background-size:cover;
}

#right2{
	background:url("../img/drawing02.png") no-repeat center;
	background-size:cover;
    height: auto;

}

#right3{
	background:url("../img/kyros_bl02.png") no-repeat center;
	background-size:cover;
    height: auto;

}

#right4{
	background:url("../img/persuntumcenter02.jpg") no-repeat center;
	background-size:cover;
    height: auto;

}

#right5{
	background:url("../img/peringold.jpg") no-repeat center;
	background-size:cover;
}
#right6{
	background:url("../img/ring02.png") no-repeat center;
	background-size:cover;
    height: auto;

}


}

/*＝＝＝＝＝＝＝＝＝＝＝タブレット以下の見え方＝＝＝＝＝＝＝＝＝＝＝＝＝*/
@media screen and (max-width:768px){
	
#header{
    height:10%;
	justify-content: center;
}

h1{
	font-size:120%;
    margin:0 0 20px 0;
	text-align: center;
  
}

/*全体のボックスについている余白をリセット*/
.ms-section{
	padding:0;
}

/*天地中央になっている見せ方を上ぞろえに上書き*/
.ms-tableCell{
	vertical-align:top;
}

/*右にある丸ナビゲーションの位置*/

#multiscroll-nav span{
    display: none;
}
/*右上ナビゲーション表示と右エリア非表示*/
#menu li {
	display:inline-block;
    font-size: 3vw; /* ビューポート幅の3% (画面に合わせて最大化) */
    line-height: 1;    /* 行間を詰めて文字が切れるのを防ぐ */
    white-space: nowrap; /* 改行させない */

}

#menu li a{
   
    font-weight: bold;
	text-decoration:none;
	color: #fff;
    padding: 0;
	display:inline-block;
	border-radius: 10px;
}

#menu li.active a{
	color: #8C8C88;
}

.ms-right{
	display: none;

}

/*左エリアを横幅100%にして画像＋テキストを出す設定*/
.ms-left{
	width:100%!important;
}

 /*左エリア上部画像設定*/
.sp-top{
	height:70%;
	margin:0 0 20px 0;
}
	
#left1 .sp-top{
	background:url("../img/perportrait03.jpg") no-repeat center;
	background-size:cover;
}

#left2 .sp-top{
	background:url("../img/drawing03.png") no-repeat center;
	background-size:cover;
}

#left3 .sp-top{
	background:url("../img/kyros_bl03.png") no-repeat center;
	background-size:cover;
}
	
#left4 .sp-top{
	background:url("../img/persuntumcenter03.jpg")no-repeat center;
	background-size:cover;
}

#left5 .sp-top{
	background:url("../img/peringold03.jpg") no-repeat center;
	background-size:cover;
}
#left6 .sp-top{
	background:url("../img/ring03.png") no-repeat center;
	background-size:cover;
}


/*左エリア下部テキスト余白設定*/
.sp-bottom{
	padding:20px;
}


}

/* Mobile Layout: iPhone6. Inherits styles from: Mobile Layout. */

@media only screen and (min-device-width: 375px)
 and (max-device-width: 667px)
 and (orientation : portrait){
 
 #header{
    height:10%;
	justify-content: center;
    white-space: nowrap; /* 改行させない */
}



/*右上ナビゲーション表示と右エリア非表示*/
#menu li {
	display:inline-block;
    font-size: 3vw; /* ビューポート幅の3% (画面に合わせて最大化) */
    line-height: 1;    /* 行間を詰めて文字が切れるのを防ぐ */
    white-space: nowrap; /* 改行させない */

}
#menu li {
	display:inline-block;
    text-align: center;

}

#menu li a{
    font-weight: bold;
	text-decoration:none;
	color: #fff;
	padding: 0;
	display:inline-block;
	border-radius: 10px;
}

#menu li.active a{
	color: #8C8C88;
}


h1{
	font-size:120%;
    margin:-10px 0 30px 0;
	text-align: center;
  
}

h2{
	font-size:120%;
	margin:10px 0 10px 0;
	text-align: center;
}

p{
   font-size:120%;
	margin:0 0 10px 0;
    text-align: center;
}


 
 }
