@charset "UTF-8";


*{margin: 0; padding: 0;}



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



/*-------------------------------------

       画面幅が1000px以下の時の設定

--------------------------------------*/


/*--
コンテンツ全体の設定
------------------------------------*/

.top {
	width: 100%;
	height: auto;
	min-height: 100%;
	position: relative;
	margin-top: 60px;
	display: inline-block;
	box-sizing: border-box;
	z-index: 0;
	overflow: hidden;
}


/*--
背景画像の領域を設定
------------------------------------*/

.bgbox {
	width: 100%;
	height: auto;
	display: inline-block;
	position: relative;
	top: 0px;
}


.bg {
	width: 100%;
	height: 600px;
	display: block;
	background-image: url("bgsmart.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
	top: 0;
	left: 0;
}


/*--
テキストボックスの表示
------------------------------------*/

.maintext {
	width: 100%;
	height: auto;
	display: inline-block;
	position: absolute;
	top: 100px;
	left: 0;
}

.maintext h2 {
	font-family: 'M PLUS 1p';
	font-size: 28px;
	font-weight: lighter;
	letter-spacing: 3px;
	color: #fff;
	display: inline-block;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
	text-align: left;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	border: solid 1px #fff;
	padding: 30px;
}


/*--
改行用タグを設定
------------------------------------*/

.br:after {
	content: '\a';
	white-space: pre;
}


/*--
サブテキストの設定
------------------------------------*/

.subtext {
	width: 100%;
	height: 250px;
	display: inline-block;
	position: absolute;
	top: 350px;
	left: 0;
}

.subtext h3 {
	font-family: 'M PLUS 1p';
	width: 70%;
	font-size: 13px;
	letter-spacing: 3px;
	line-height: 2.25em;
	font-weight: normal;
	color: #fff;
	display: inline-block;
	text-align: left;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	padding: 0 20px;
	border-left: solid 1px #fff;
	border-right: solid 1px #fff;
}

.subtext h3 p {
	transform: rotate(0.2deg);
}


/*--
fontawesomeによるアイコンの設定
------------------------------------*/

.subtext:after {
	font-family: fontawesome;
	content: '\f103';
	display: block;
	position: absolute;
	font-size: 36px;
	font-weight: lighter;
	color: #fff;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
}


/*--
問い合わせ先へのリンクボタン
------------------------------------*/

.menu {
	width: 90%;
	height: 80px;
	display: block;
	position: relative;
	left: 5%;
	margin: 180px 0 120px 0;
	border: solid 1px #000;
}

.menu:before {
	content: '・・・　contact　・・・';
	font-family: 'M PLUS 1p';
	white-space: nowrap;
	letter-spacing: 5px;
	font-size: 16px;
	display: inline-block;
	position: absolute;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
}

.menu a {
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
} 

.menu span {
	font-family: 'M PLUS 1p';
	font-size: 13px;
	letter-spacing: 2px;
	white-space: nowrap;
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}

.menu span:before {
	font-family: fontawesome;
	content: '\f095';
	font-size: 16px;
	display: block;
	position: absolute;
	top: 50%;
	left: -25px;
	transform: translateY(-50%);
}

.menu:after {
	font-family: fontawesome;
	content: '\f105';
	font-size: 24px;
	display: block;
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

.news {
	display: none;
}

}











@media screen and (min-width:1001px) {



/*-------------------------------------

       画面幅が1000px以下の時の設定

--------------------------------------*/


.top {
	width: 100%;
	height: calc(100% - 150px);/*ウィンドウの高さからヘッダー・フッターの高さを除く*/
	min-height: 500px;
	position: absolute;
	top: 60px;
	bottom: 90px;
	border-top: solid 1px #000;
	box-sizing: border-box;
	overflow: hidden;
	z-index: 0;
}

/*--
背景画像の設定
------------------------------------*/

.bgbox {
	width: 100%;
	height: 100%;
	min-height: 500px;
	position: absolute;
	z-index: 0;
}

.bgbox:after {
	content: '';
	width: 95%;
	height: 95%;
	display: block;
	position: absolute;
	top: 2.5%;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0 auto;
	border: solid 1px #ccc;
}

.bg {
	box-sizeng: border-box;
	width: 100%;
	height: 100%;
	min-height: 550px;
	background-image: url("bg4.jpg");
	background-size: cover;
	background-position: center top;
	background-repeat: none;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}


/*--
テキストボックスの表示
------------------------------------*/

.maintext {
	display: inline-block;
	position: absolute;
	top: 35%;
	left: 50%;
	transform: translateX(-50%);
}


/*--
h2タグの余白リセット
------------------------------------*/

.maintext h2 {
	font-family: 'M PLUS 1p';
	font-size: 60px;
	font-weight: lighter;
	letter-spacing: 4px;
	white-space: nowrap;
	color: #fff;
	display: inline;
	line-height: 1em;
	margin: 0;
	padding: 0;
}


/*--
サブテキストの設定
------------------------------------*/

.subtext {
	width: 400px;
	display: inline-block;
	position: absolute;
	top: calc(35% + 120px);
	left: 50%;
	transform: translateX(-50%) rotate(0.002deg);
}

.subtext h3 {
	font-family: 'M PLUS 1p';
	font-size: 12px;
	font-weight: normal;
	letter-spacing: 2px;
	line-height: 2em;
	color: #fff;
	margin: 0;
	padding: 0;
	display: inline;
	text-align:justify;
	transform: rotate(0.002deg);
}

.subtext p {
	margin: 0;
	padding: 0;
}


/*--
本文中の問い合わせボタンの設置
------------------------------------*/

.menu {
	width: 300px;
	height: 50px;
	display: inline-block;
	position: absolute;
	bottom: 10%;
	left: 50%;
	transform: translateX(-50%);
	border: solid 1px #fff;
	box-sizing: border-box;
	z-index: 4;
}

.menu a {
	width: 100%;
	height: 100%;
	display: inline-block;
	background-color: rgba(0,0,0,0.2);
	transition: all 0.2s ease;
}

.menu span {
	display: inline-block;
	font-family: 'M PLUS 1p';
	font-size: 14px;
	letter-spacing: 1px;
	font-weight: normal;
	white-space: nowrap;
	color: #fff;
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	transition: all 0.2s ease;
}

.menu a:after {
	font-family: fontawesome;
	content: '\f0d7';
	display: block;
	font-size: 14px;
	font-weight: lighter;
	line-height: 0.5em;
	color: #fff;
	width: 10px;
	position: absolute;
	bottom: 5px;
	left: 50%;
	transform: translateX(-50%);
	transition: color 0.2s ease;
}

.menu:hover > a {
	background-color: rgba(0,0,0,0.8);
}

.menu:hover > a > span {
	letter-spacing: 2px;
}


/*--
新着情報欄の設定
------------------------------------*/


.news {
	width: 50%;
	max-width: 720px;
	height: 400px;
	position: absolute;
	bottom: 0;
	left: 50%;
	z-index: 2;
}

.newsBox {
	width: 300px;
	height: 150px;
	position: absolute;
	right: 50px;
	bottom: 50px;
}

.newsTitle {
	width: calc(100% - 20px);
	height: auto;
	display: block;
	position: relative;
	margin: 10px 10px 0 10px;
	text-align: left;
	font-family: 'M PLUS 1p';
	font-size: 16px;
	font-weight: 300;
	color: #fff;
	border-bottom: solid 1px #fff;
}

.newsLabel {
	width: calc(100% - 30px);
	height: auto;
	display: block;
	position: relative;
	margin-left: 15px;
	list-style: none;
}

.newsLabel li {
	width: 100%;
	height: auto;
	font-family: 'M PLUS 1p';
	font-size: 13px;
	font-weight: 300;
	color: #fff;
	display: block;
	margin-top: 10px;
}

.date {
	display: inline-block;
	font-size: 11px;
	padding-right: 10px;
}

}
