@charset "UTF-8";
*,
*:before,
*:after {
  box-sizing: border-box;
}

@font-face {
  font-family: "pixelfont";
  src: url("font/PixelMplus12-Regular.ttf");
}

body {
  letter-spacing: 0.3em;
  font-family: "pixelfont", "Helvetica", sans-serif;
  color: #555;
  font-size: 18px;
}

a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

li {
  position: relative;
  display: inline-block;
  transition: width 0.3s;
  color: #555;
}

li:hover {
  opacity: 1;
}

li:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: 0.3s;
  transform: translateX(-50%);
  background-color: #555;
}

li:hover::after {
  width: 100%;
}

.top {
  position: relative;
  margin-bottom: 50px;
  height: 300px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  line-height: 1.5;
}

.top h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 32px;
  color: #ddd;
}

.top h1 span {
  display: block;
  font-size: 23px;
  color: #ddd;
}

.br_pc_none {
  display: none;
}

/*---------------------------
全体
---------------------------*/
.title {
  padding-top: 100px;
  font-weight: bold;
  font-size: 3em;
  text-align: center;
}

.subttl {
  text-align: center;
}

/*---------------------------
ヘッダー
---------------------------*/
header {
  display: block;
  width: 100%;
  background-color: #fff;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

header .header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 70px;
  line-height: 70px;
}

header .header li {
  padding-right: 20px;
  padding-left: 20px;
  font-weight: bold;
  color: #333;
}

header .header li a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

header .header .to-front {
  font-weight: bold;
  background-color: #eee;
}

header .header__hamburger,
header .black-bg,
header .sp-logo {
  display: none;
}

/*---------------------------
フッター
---------------------------*/
footer {
  background-color: #555;
  height: 80px;
  text-align: center;
  line-height: 80px;
}

footer small {
  color: #ddd;
  font-size: 0.7em;
  letter-spacing: normal;
}

/*---------------------------
トップへ戻るボタン
---------------------------*/
.arrow {
  position: fixed;
  right: 25px;
  bottom: 100px;
  cursor: pointer;
  font-size: 3em;
  transition: bottom 0.2s;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.arrow:hover {
  bottom: 96px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.arrow .fa-chevron-circle-up::before {
  font-family: "Font Awesome 5 Free";
  content: "\f139";
  color: #999;
}

/*---------------------------
トップへ戻るボタン非表示
---------------------------*/
.js-scroll-fadein {
  display: none;
}

/*---------------------------
以下レスポンシブ対応
---------------------------*/
@media (max-width: 800px) {
  body {
    padding-top: 40px;
  }
  .title {
    padding-top: 50px;
    font-size: 1.5em;
  }
  .top {
    height: 150px;
    margin-bottom: 50px;
  }
  .top h1 {
    font-size: 26px;
  }
  .top h1 span {
    font-size: 18px;
  }
  .br_pc_none {
    display: inline;
  }
  /*---------------------------
ヘッダー スマホサイズ
---------------------------*/
  header {
    position: fixed;
    top: 0;
  }
  header .header {
    position: fixed;
    top: 0;
    right: -320px;
    flex-direction: column;
    justify-content: flex-start;
    width: 320px;
    height: 100vh;
    background-color: #fff;
    transition: right 0.4s;
    z-index: 3;
  }
  header .header li {
    position: relative;
    width: 320px;
    padding-top: 2em;
    padding-bottom: 2em;
    line-height: 65px;
    border-bottom: solid 1px #ccc;
  }
  header .header li a {
    position: absolute;
    top: 0;
  }
  header .header li:first-of-type {
    margin-top: 50px;
  }
  header .sp-logo {
    display: inline;
    position: fixed;
    top: 0;
    left: 10px;
    line-height: 40px;
    font-weight: bold;
    font-size: 1.2em;
  }
  header .header__hamburger {
    display: block;
    margin: 0 5px 0 auto;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    z-index: 4;
  }
  header .header__hamburger span {
    display: inline-block;
    position: absolute;
    left: 0;
    border: solid 1px #555;
    border-radius: 5px;
    background-color: #555;
    width: 90%;
    height: 1px;
    transition: 0.5s;
    transform: rotate(0deg);
  }
  header .header__hamburger .header__hamburger-top {
    top: 10px;
  }
  header .header__hamburger .header__hamburger-middle {
    top: 20px;
  }
  header .header__hamburger .header__hamburger-bottom {
    top: 30px;
  }
  .nav-open .header {
    right: 0;
  }
  .nav-open .black-bg {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  .nav-open .header__hamburger-top {
    transform: translateY(10px) rotate(-45deg);
  }
  .nav-open .header__hamburger-middle {
    opacity: 0;
  }
  .nav-open .header__hamburger-bottom {
    transform: translateY(-10px) rotate(45deg);
  }
}
