:root {
  --main-object-margin-height: 30px;
}

body {
  background-image: url(../images/bg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 90px 0;
}

main {
  width: auto;
  text-align: center;
  margin: 0;
}

#logo {
  width: 100%;
  text-align: center;
}

#theme {
  margin-top: var(--main-object-margin-height);
  font-size: 2em;
  color: var(--site-white-color);
  text-align: center; 
  font-weight: bold;
  font-family: YuMincho, '游明朝', serif;
}

#theme a {
  color: var(--site-white-color);
}

#menu {
  margin-top: var(--main-object-margin-height);
  width: 100%;
}

#menu ul {
  display: inline-block;
  vertical-align: top;
}

#menu ul li a, #menu ul li span {
  display: inline-block;
  text-align: center;
  padding: 1em 0;
  margin: 0.2em 0.5em;
  width: 330px;
  color: var(--site-white-color);
  font-size: 1.2em;
  line-height: 1em;
  text-decoration: none;
  border: solid 3px var(--site-white-color);
  border-radius: 0.7em;
}

#menu ul li span {
  opacity: 0.6;
}

#menu ul li a:hover {
  background-color: var(--site-main-color);
  color: var(--site-white-color);
}

#news-container {
  width: 900px;
  margin: var(--main-object-margin-height) auto 0 auto;
  padding: 30px 0;
  background: var(--site-white-color);
  border-radius: 0.7em;
}

#news {
  width: 720px;
  margin: 0 auto;
}

#news tr th, #news tr td {
  padding: 0.2em 0.3em;
  text-align: left;
  font-weight: normal;
  line-height: 1.4em;
}

#news tr th .news-date {
  font-family: 'Noto Sans JP', sans-serif;
  display: inline-block;
  padding: 0.4em 0;
  width: 130px;
  text-align: center;
  background-color: #0569d1;
  color: var(--site-white-color);
  border-radius: 0.5em;
  line-height: 1em;
  margin-right: 0.5em;
}

#news tr th .news-date.new {
  background-color: #ee1d24;
}

#news tr td a {
  text-decoration: underline;
}

footer {
  width: 900px;
  margin: 45px auto 0 auto;
  color: var(--site-main-color);
  padding: 30px 0;
  background-color: var(--site-white-color);
  line-height: 1.4em;
  text-align: center;
  border-radius: 0.7em;
}

footer a {
//  color: #f2f2f2;
  color: var(--site-main-color);
}

#fnav {
  width: 100%;
  text-align: center;
  margin-bottom: 0.7em;
}

#fnav ul li {
  display: inline-block;
  padding: 0 0.5em;
  line-height: 1em;
}

#fnav ul li a {
  color: var(--site-black-color);
}

