﻿@charset "UTF-8";

* {
font-family: "ＭＳ Ｐゴシック",sans-serif;
}


#nav ul, #nav li{
  list-style: none; /*マーカーの指定*/
  margin: 5,0,5,0;
  padding: 0;
}
#nav {
  width: auto;
}
#nav ul {
  background: black;
}
#nav ul:before {
  content: '';
  display: block;
}
#nav ul:after {
  content: '';
  display: table;
  clear: both;
}

#nav li {
  float: left;
}

#nav a{
  font-size: 18px;
  font-weight: bold;
  padding: 15px 20px;
  display: block;
  text-decoration: none;
  color: white;
  border-right: 2px solid white;
}
#nav a:hover {
  color: gray;
}

h2 {
  font-size: 30px;
  color: darkgreen;
  text-decoration: underline;
  margin-top: 20px;
  margin-bottom: 20px;

}


h3 {
  color: black;
  font-size: 25px;
  margin-top: 15px;
  margin-bottom: 15px;
}

h4 {
  color: black;
  font-size: 18px;
  margin: 0;
  padding: 0px;
}

body {
  margin: 0;
  padding: 0;
  line-height: 25px;
}

em {
  font-size: 25px;
}

.main{
  margin-left:auto;    
  margin-right:auto;   
  text-align:left;
  width:1200px;
  border: none;
}

#shift1{
  margin-left: auto;
  margin-right: auto; 
  border: none;
}

#shift2{
  margin-left: auto;
  margin-right: auto; 
  border: none;
}

#logo{
  float: left;
  width:450px;
  border: none;
  position: absolute;
  top: 100px;
}

#ad { 
  width: 750px;
  height: 100px;
  float: right;
  margin-bottom: 10px;
  border: none;
}

#shiftlogo{
  position: relative;
  clear: both;
  height: 200px;
  width:1200px;
  border: none;
  padding: 0px;
  margin: 0px;
}

h1{
  font-size: 50px;
  height: 50px;
  color: white;
  text-align: left;
  position: absolute;
  top: 30px;
  left: 10px;
  background-color: darkgreen;
  padding: 0;
}

span.titleinline{
  vertical-align: text-bottom;
}

#title2 {
  font-size: 30px;
  height: 30px;
  color: white;
  text-align: right;
  position: absolute;
  top: 150px;
  right:10px; 
  background-color: darkgreen;
}


#footer {
  margin:3px;   
  padding:3px;   
  background-color: white;
  text-align:center;
  height: 50px;
  color: black;
}

img {
  border: none; 
}

p{
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
}

ul{
  margin: 10px 0 10px 0px;
  padding:  0 0 0 20px;
}

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