* {
  position: relative;
}
html {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  padding-bottom: 5em;
  font: 13px "Lucida Grande", "Lucida Sans Unicode", "Hiragino Kaku Gothic Pro",
    "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Helvetica, Arial, Verdana,
    sans-serif;
  overflow-x: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  min-height: calc(100vh - 5em);
  width: 100%;
  background: url(img/bg.webp);
}
span {
  display: inline-flex;
}
.tc {
  text-align: center;
}
.v {
  flex-direction: column;
}
.wrap {
  flex-wrap: wrap;
}
.nowrap {
  flex-wrap: nowrap;
}
.f {
  display: flex;
}
.fbc {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fbs {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.fcc {
  display: flex;
  justify-content: center;
  align-items: center;
}
.fce {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.fcs {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.fec {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.fes {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
}
.fendc {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.fende {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.fsc {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.fxc {
  display: flex;
  align-items: center;
}
.selfstart {
  display: flex;
  align-self: flex-start;
}
.selfend {
  display: flex;
  align-self: flex-end;
}
.noscrollbar {
  -ms-overflow-style: none;
}
.noscrollbar::-webkit-scrollbar {
  display: none;
}

@media screen and (min-width: 961px) {
  .hiddenpc {
    display: none;
  }
  .pcc {
    align-items: center;
  }
}
@media screen and (max-width: 960px) {
  .hiddensp {
    display: none;
  }
  .spv {
    flex-direction: column;
  }
  .spvrev {
    flex-direction: column-reverse;
  }
  .sps {
    justify-content: flex-start;
  }
  .spc {
    align-items: center;
  }
}

#headerbg {
  min-height: 0.5em;
  min-width: 100%;
  background-image: url(img/headerBg.webp);
  background-size: cover;
}
#header {
  width: calc(100% - 2em);
  margin: 1em 0;
}
#menu > a {
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 1em;
}
#menu > a > img {
  height: 1em;
}
#menu > a > div {
  margin-left: 0.5em;
}
.darkBg {
  min-width: calc(100% - 2em);
  background: url(img/darkBg.webp) repeat-x;
  border-bottom: 1px solid white;
  border-top: 1px solid #c1af9c;
  margin-bottom: 0.5em;
  padding: 0.2em 1em;
}
.darkBg > a {
  text-decoration: none;
  color: inherit;
}
.lightBg {
  background-image: url(img/lightBg.webp);
}
#footer {
  position: absolute;
  bottom: 0;
  background-color: white;
  min-width: calc(100% - 2em);
  padding: 0.5em 1em;
}
#footer a {
  text-decoration: none;
  color: inherit;
}
