/* NN対策 */
* { box-sizing: border-box}
* { -moz-box-sizing: border-box}

/* とりあえず */
* { margin: 0; padding: 0; }
body {
  width: 100%;
  background-color: #89a;
  font-family: 'MS UI Gothic';
  font-size: 12px;
}

#areainfo {
  color: #89a;
}

#header {
  width: 100%;
  border-bottom: 2px solid #fff;
  background-color:#ccb; height:50px;
}

a:hover {
  background-color: #dcf;
}

img {
  border-style: none;
}

img.menubutton {
  width: 24px; height: 80px;
  box-sizing: content-box;
  -moz-box-sizing: content-box;
}


.contents p {
  margin: 1em 0;
}

h3 {
  font-size: 14px;
  margin: 0.3em 0;
}

#all {
  position: relative;
  /* javascriptで上書き */
  margin: 6% 6%;
  height: 35em;
  height: 480px;
  
/*
  width: 84%;
  padding-top: 30px
  margin: 0px auto;
  margin: 0px 5%;
  margin: 4% 8% 0 8%;
  padding: 30px 30px 30px 10px;

  width: 100%;
*/
  background-color: green;
  background-color: white;
}

/* 左右含めた上半分 */
#album {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 92%;
/*
  left: 10px;
  width: 100%;
  width: 250px;
*/

  background: url(../img/top2007/bg2007-0306.jpg) no-repeat right top;
}

/* 上半分左側 */
#album-c, #fortune {
  width: 250px;
}

#album-c {
  text-align: center;
  background-color: transparent;
  background-color: white;
  padding-bottom: 20px;
  overflow: hidden;
  /* javascriptで上書き */
  height: 310px;
}

/* アルバムの宣伝文句 */
#alnote {
  height: 80px;
}

#fortune {
  position: absolute;
  bottom: 2px;
  left: 0px;
  color: #459;
}

#footer {
  position: absolute;
  /* javascriptで上書き */
  top: 330px;
  top: 28em;
  top: 340px;
  height: 180px;
  width: 100%;
  background-color: white;
/*
  left: 8%;
  width: 84%;
  width: 100%;
  border-top: 2px solid #fff;
  bottom: 10px;
  left: 5px;
  clear: both;
*/
}

#menu {
  float: left;
  margin-left: 10px;
  width: 250px;
  height: 161px;
  background: url(../img/top2007/menu-back2008.png) no-repeat center;
}

#buttons 
{
  padding: 0;
  margin: 22px 42px 0 0;
  text-align: center;
}
#buttons ul {
  margin: 0; padding: 0;
  list-style-type: none;
}
#buttons ul li {
  display: inline;
  padding: 0; margin: 0;
  margin-left: 2px;
  float: right;
}

a img {
  padding: 1px;
  padding: 0px;
  border: none;
  margin-top: 1px;
}

/* a と a:hover のpaddingがちがってないとIEで何もかわらん。。。 */
li a {
  padding: 1px;
}
li a:hover {
  padding: 0px;
}

a:hover img {
  padding: 0 1px;
  padding: 0 0px;
  border: 1px solid red;
  margin-top: 0px;
}


#info {
/*
  margin-right: 0px;
*/
  margin: 10px 30px 0 275px;
  margin: -5px 30px 0 275px;
  background-color: yellow;
  background-color: transparent;
  background-color: white;
}

#info dl {
  margin-left: 30px;
}

#info dt {
  float: left;
}

#info dd {
  margin-left: 5.5em;
  margin-bottom: 0.5em;
}

#info dd a {
  color: black;
  text-decoration: none;
  border-bottom: dotted 1px #cac;
  padding-bottom: 0px;
}

#past {
  text-align: right;
 }

#past a {
  color: #666;
  text-decoration: none;
}



#logo {
  margin: 20px 0 10px 0;
}

#copyright {
  visibility: hidden;
}

#counter {
  position: absolute;
  top: 0px;
  right: 0px;
}


span.up {
  font-size: 80%;
  color: red;
}
