body {
  margin: 0;
}

#body-background {
  padding: 25px 40px;
  background-color: skyblue;
}

#particles-js {
  width: 100%;
  height: 150px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  z-index: -1;
  background-color: white;
}

/*----------------------------------------------------------------------
header setting
----------------------------------------------------------------------*/

.title-logo {
  max-width: 100%;
  margin: 0 auto;
  height: 100px;
  text-align: center;
}

.title-logo a {
  font-family: "aamonoline";
  font-weight: bold;
  font-size: 2.5em;
  text-decoration: none;
  color: black;
}

/*----------------------------------------------------------------------
nav settings
----------------------------------------------------------------------*/

.top-menu {
  width: 100%;
  height: 50px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.top-menu ul {
  margin: 0 auto;
  padding: 0;
  line-height: 0;
  display: flex;
  justify-content: space-between;
  width: 80%;
}

.top-menu li {
  list-style: none;
  width: 25%;
  box-sizing: border-box;
  flex: auto;
}

.top-menu a {
  text-decoration-line: none;
  color: black;
  font-size: 1.3em;
  opacity: 1;
  padding: 8px 30px;
  display: inline;
  position: relative;
}

.top-menu a::after {
  border-bottom: 2px solid black;
  content: "";
  position: absolute;
  transition: all 0.3s ease;
  width: 0;
  bottom: 0;
  left: 0;
}

.top-menu a:hover::after {
  width: 100%;
  border-bottom: 2px solid black;
}

.preparation {
  margin-top: 0;
}

#top-menu-change {
  background: white;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: -155px;
  transition: 0.5s;
  width: 100%;
  height: 50px;
}

#top-menu-change.show {
  top: 0;
}

#top-menu-change .title-logo {
  width: 30%;
  left: 0;
  margin: 0;
  text-align: center;
  height: 50px;
}

#top-menu-change .title-logo a {
  font-size: 1.5em;
  padding: 7px 0;
}

#top-menu-change nav {
  width: 50%;
  right: 0;
}

#top-menu-change .top-menu a {
  padding: 8px 10px;
}

/*----------------------------------------------------------------------
footer setting
----------------------------------------------------------------------*/

footer {
  margin-bottom: 50px;
}

#notice {
  float: right;
}

#notice a {
  margin: 0 50px;
  padding: 0;
  text-align: center;
  text-decoration: none;
  color: black;
}

#notice a:hover {
  border-bottom: 2px solid black;
}

.copyright {
  clear: right;
  position: relative;
  margin: 0 auto;
  text-align: center;
}

/*----------------------------------------------------------------------
privacypolicy page
----------------------------------------------------------------------*/
#privacycontent {
  padding-left: 20px;
  padding-right: 20px;
}

/*----------------------------------------------------------------------
contact form
----------------------------------------------------------------------*/
#contact {
  text-align: center;
}

#contact input,
#contact select,
#contact textarea {
  border-radius: 5px;
  box-shadow: none;
}

#contact input:focus,
#contact select:focus,
#contact textarea:focus {
  box-shadow: 0 0 15px 5px #17afeb;
}

#btn_comfirm,
#btn_back,
#btn_submit {
  font-size: 20px;
  color: orange;
  background-color: white;
  border: solid 2px orange;
  border-radius: 3px;
  transition: 0.4s;
}

#btn_comfirm:hover,
#btn_back:hover,
#btn_submit:hover {
  background: orange;
  color: white;
}

#comfirm {
  text-align: center;
}

#hidden_submit {
  display: flex;
  justify-content: space-between;
}

#hotnews {
  list-style: none;
}

#mywebsite {
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
}

.mywebsite {
  width: 100px;
  height: 100px;
  border: 2px dotted black;
}

/*----------------------------------------------------------------------
add font
----------------------------------------------------------------------*/

@font-face {
  font-family: "aamonoline";
  src: url("/fonts/Aamonolinelite.woff") format("woff"),
    url("/fonts/Aamonolinelite.eot") format("eot");
  font-variant: small-caps;
}

/*----------------------------------------------------------------------
モバイル最適
----------------------------------------------------------------------*/

@media screen and (max-width: 640px) {
  #body-background {
    padding: 20px;
    background-color: skyblue;
  }
}

/*----------------------------------------------------------------------
test
----------------------------------------------------------------------*/

/* #flashInfo {
  width: 100%;
  height: auto;
  background-size: 200%;
  text-align: center;
  background-position: 100% 0;
  background-image: linear-gradient(
    to right,
    #243d97 0%,
    #243d97 50%,
    #fff 50%,
    #fff 100%
  );
  padding: 5px;

  animation: fadeIn 1.5s ease-in 0.2s 1 normal forwards;
}

#flashInfo a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

@keyframes fadeIn {
  animation-nameで設定した値を書く
  0% {
    background-position: 100% 0;
    opacity: 0;
  } アニメーション開始時は不透明度0%
  100% {
    background-position: 0 0;
    opacity: 1;
  } アニメーション終了時は不透明度100%
}  */


#flashInfo {
  width:auto;
  height:auto;
  text-align:center;
  background-color: #0071e3;
  margin: 0;
  padding:5px;
  animation: fadeup 1s 1 forwards;
}

#flashInfo a{
  display:block;
  color:#fff;
  text-decoration:none;
  font-size:20px;
  font-weight:bold;
}

@keyframes fadeup {
0% {
  transform: translateY(-30px);
  opacity: 0;
}
80% {
  opacity: 1;
}
100% {
  opacity: 1;
  transform: translateY(0);
}
}