/*
Theme Name: モーターホーム

*/

@charset "UTF-8";

html {
    overflow-y:scroll;
}

img{
	width:10%;
	height: auto;
}

body {
    margin:0;
    padding:0;
    line-height:1.6;
    letter-spacing:1px;
    font-family:"Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"ヒラギノ角ゴ Pro W3","メイリオ", Meiryo,"ＭＳ Ｐゴシック",verdana,sans-serif;
    font-size:13px;
    color:#333;
}

.topimg{
	background-image: url(../images/logo_03.png);
	width: 100%;
	height: auto;
	min-height: 800px;
	
	 background-size: cover;
	 display: block;
	background-position: center top;
	  vertical-align: bottom;

}

br {
    letter-spacing:normal;
}

a {
    color:#000;
    text-decoration:none;
}
a:hover {
    color:#917700;
    text-decoration:underline;
}
#header{
	text-align: center;
	width:100%;
}

#header h1 {
    margin:0;
    padding:30px 0;
    font-size:30px;
    color:#770000;
    line-height:1.0;
}

#header h1 a {
    color:#770000;
}

#header h1 a:hover {
    color:#770000;
}

#header img{
	width:100%;
	height: auto;
}

h1,h2,h3,h4,h5,h6 {
    margin:0;
}

h2 {
    clear:both;
    padding:0 10px;
    font-size:24px;
    font-weight:normal;
    line-height:1.4;
    text-align:center;
}

h3 {
    clear:both;
    margin:50px 0 0 0;
    font-size:18px;
    font-weight:normal;
    color:#917700;
    line-height:1.8;
    border-bottom:1px dotted #917700;
}
h2 + h3 {
    margin-top:20px;
}
h3:first-child {
    margin-top:0;
}

h3 + h4 {
    margin-top:10px;
}
h4 {
    margin:30px 0 0 0;
    color:#333;
    font-weight:bold;
    font-size:16px;
    line-height:2.0;
    border:0;
}

h5 {
    line-height:2.0;
    font-size:14px;
    color:#000;
    font-weight:normal;
}

h6 {
    font-size:14px;
    font-weight:normal;
    color:#917700;
    line-height:2.0;
    margin-top:40px;
}

p {
    margin:0.5em 0 1em 0;
    line-height:1.8;
}

ul,ol,dl {
    margin:10px 0;
    padding:0;
}

li {
    padding:0;
    margin:0 0 0 30px;
}

dt {
    margin:0 0 1em 0;
    padding:10px;
    background:#f1f1f1;
    margin:0 auto;
    font-size:14px;
    font-weight:bold;
    margin-top:40px;
}

dd {
    margin:0;
    padding:0;
}

#container{
	position: relative;
}



table {
    width:600px;
    margin:10px 0;
    border-collapse:collapse;
    border:1px solid #999;
    border-spacing:0;
    line-height:1.8;
}

table th {
    padding:5px;
    border:1px solid #999;
    border-width:0 0 1px 1px;
    background:#EFEBEF;
    font-weight:bold;
    text-align:left;
}

table td {
    padding:5px;
    border:1px solid #999;
    border-width:0 0 1px 1px;
    text-align:left;
}

table.c_table{
    margin:0 auto;
}

table.c_table th{
text-align:right;
border-top:1px solid #D4D4D4;
border-bottom:1px solid #D4D4D4;
border-right:1px solid #D4D4D4;
border-left:1px solid #D4D4D4;
}

table.c_table td{
text-align:left;
border:1px solid #D6D6D6;
width: 70%;
}

#container {
    width:100%;

    margin:0 auto;
    background:#fff;
}

.topimg{
	background-image: url(images/top2.jpg);
	width: 100%;
	height: auto;
	min-height: 800px;
	
	 background-size: cover;
	 display: block;
	background-position: center top;
	  vertical-align: bottom;

}

.text{
	padding-top: 20%;
	text-align: center;
	color: #FFFFFF;
	clear: both;
}

.logo{
	width:30%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.img{
	box-shadow: 0 0 8px gray;
}

.textbox{
	margin-left: auto;
	margin-right: auto;
	width:100%;
	max-width: 900px;
}

.textbox h3{
	margin-bottom: 2%;
}

.textbox p{
	margin-top: 2%;
	margin-bottom: 2%;
}


.fb-login-button{
	width:30%;
	padding: 2%;
	height: auto;
	background: #0849EA;
	margin-left: auto;
	margin-right: auto;
	color: #FFFFFF;
}

.fb-login-button a{
	padding: 3%;
	text-decoration: none;
	color: #FFFFFF;
}

.fb-login-button a:hover{
	opacity: 0.5;
}

#container img{
	width:100%;
	height: auto;
}


#mainview {
  
   
    margin:0 auto;
    text-align:center;
    margin-top: 40px;
}

#mainview img{
	width: 100%;
	height: auto;
}

#contents {
    clear:both;
    overflow:hidden;
    width:940px;
    padding:10px 0;
    margin:0 auto;
    text-align:center;
}

#footMenu {
    clear:both;
   	width:100%;
    max-width:980px;
    margin:30px auto 0 auto;
}

#footer {
    clear:both;
	width:100%;
    max-width:980px;
    margin:0 auto;
}

#footMenu ul {
    margin:5px 0;
    padding:20px 0;
    text-align:center;
    border-top:1px solid #ddd;
}

#footMenu li {
    display:inline;
    margin:0 0 0 20px;
    list-style:none;
}

#footMenu li a {
    color:#000;
    text-decoration:none;
}

#footMenu li a:hover {
    color:#666;
    text-decoration:underline;
}

.copyright {
    font-style:normal;
    font-size:11px;
    color:#999;z-index: 
    line-height:3.0;
    text-align:center;
}

#join {
    position:fixed;
    width: 100%;
    bottom:10px;
	text-align: center;
	background: #000000;
	padding: 1%;
	
}

#join a {
    display:block;
    color:#fff;
    font-size:20px;
    text-decoration:none;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
}
#join a:hover {
  opacity: 0.5%;
}

#joinview{
	widows: 100%;
	max-width: 1260px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#payview {
    position:relative;
    width:100%;
    margin:0 auto;
    text-align:center;
    margin-top: 40px;
}

#who {
    padding:10px;
    margin:0 auto;
    border:10px double#FFFFFF;
    background-color:#009999;
    color: #ffffff;
    text-align:center;
    width:900px;
    position:relative;
}

#how {
    position:relative;
	width:100%;
    max-width:980px;
    margin:0 auto;
    text-align:center;
    margin-top: 40px;
}

#how a {
    color:#000;
    text-decoration:underline;
}


#other {
    padding:10px;
    margin:0 auto;
    border:5px double#333333;
    text-align:center;
    width:940px;
    position:relative;
}

label {
    display: inline-block;
    width: 90px;
    text-align: right;
}
input, textarea {
    /* すべてのテキストフィールドのフォント設定を一致させる
       デフォルトで、textarea は等幅フォントが設定されている */
    font: 1em sans-serif;

    /* すべてのテキストフィールドを同じサイズにする */
    width: 500px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* テキストフィールドのボーダーの外見を同一にする */
    border: 1px solid #999;
}
textarea {
    /* 複数行のテキストフィールドをラベルにきちんと揃える */
    vertical-align: top;

    /* テキスト入力に十分な領域を与える */
    height: 10em;

    /* ユーザが textarea を垂直方向にリサイズできるようにする
       これが動作しないブラウザもある */
    resize: vertical;
}
input:focus, textarea:focus {
    /* アクティブな要素を少し強調する */
    border-color: #000;
}

.square_btn {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #70d3b6;
    border: solid 2px #70d3b6;
    border-radius: 3px;
    transition: .4s;
}

.square_btn:hover {
    background: #70d3b6;
    color: white;
}


#footer{
	margin-bottom: 150px;
}


.riyou{
    width:100%;
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 800px) {
		.logo{
			width:50%;
	padding-top: 20%;
	text-align: center;
	color: #FFFFFF;
	clear: both;
}

.topimg{
	width: 100%;
	height: auto;
	min-height: 812px;
	
	 background-size: cover;
	 display: block;
	background-position: center top;
	  vertical-align: bottom;

}
	
	
}
@media screen and (max-width: 500px) {
		.logo{
	padding-top: 40%;
	text-align: center;
	color: #FFFFFF;
	clear: both;
}	
	
}