@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  font-size: 1.4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: 'Noto Sans JP';
  margin: 0;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

img {
  width: 170px;
  height: 170px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

table {
  border-collapse: collapse;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

/* header */
header {
  width: 100%;
  background-color: #DEDEDE;
  color: #2B2B2B;
  height: 100px;
  position: relative;
  z-index: 998;
  position: fixed;
  opacity: .9;
}

header .container {
  display: flex;
  padding: 0 30px;
}

.header-logo {
  margin-right: auto;
  margin-top: 18px;
}

.header-logo a {
  color: #2B2B2B;
  padding: 5px;
  border: solid #2B2B2B 3px;
  font-size: 30px;
  font-weight: bold;
  display: block;
}

header nav a {
  margin-left: 20px;
  color: #2B2B2B;
  font-size: 16px;
  line-height: 90px;
  white-space: nowrap;
  padding: 0 10px 5px 10px;
  font-weight: bold;
}

header nav a:hover {
  color: #4747F8;
  opacity: .8;
}

header img {
  width: 40px;
  height: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  display: none;
}

/* footer */
footer {
  width: 100%;
  background-color: #DEDEDE;
  color: #2B2B2B;
  height: 200px;
  position: relative;
  bottom: 100%;
  position: absolute;
  bottom: 0;
}

.footer-logo {
  margin-right: auto;
  margin-top: 13px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
}

.footer-logo a {
  color: #2B2B2B;
  padding: 10px;
  border: solid #2B2B2B 3px;
  font-size: 36px;
  font-weight: bold;
  display: block;
  white-space: nowrap;
}

footer nav a {
  margin-left: 15px;
  color: #2B2B2B;
  font-size: 20px;
}

footer nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

footer .credit {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  white-space: nowrap;
}

footer img {
  margin-left: auto;
  margin-top: 13px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 50px;
  height: 100px;
  width: 100px;
}

.footerFixed {
  min-height: 100vh;
  position: relative;
  padding-bottom: 200px;
  box-sizing: border-box;
}

footer .fictitious {
  font-size: 12px;
  color: #2B2B2B;
  opacity: .5;
  text-align: center;
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* title */
.title {
  height: 250px;
  width: 100%;
  background-image: url(../img/top.png);
  background-size: cover;
}

.title h2 {
  color: #000;
  font-size: 40px;
  text-align: center;
  color: #F9FAFB;
  line-height: 350px;
}

/* log */
.log {
  margin-left: 20px;
  font-size: 18px;
}

.log a {
  color: #2B2B2B;
}

/* media */
@media screen and (max-width: 750px) {

  /* header */
  header nav {
    display: none;
  }

  header img {
    display: block;
  }
}

@media screen and (max-width: 900px) {

  /* footer */
  .footer-logo {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  footer nav {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    left: 50%;
    transform: translateX(-50%);
  }

  footer .fictitious {
  font-size: 9px;
  color: #2B2B2B;
  opacity: .5;
  text-align: center;
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

  footer img {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  footer nav a {
    font-size: 15px;
    margin-left: 5px;
  }

  footer .credit {
    font-size: 13px;
  }

  /* title */
  .title h2 {
    font-size: 35px;
  }

  /* log */
  .log {
    margin-left: 10px;
    font-size: 14px;
  }
}