@charset "UTF-8";

/*@font-face {
  font-family: "ZenKakuGothicAntique-500";
  src: url("https://kashiroslog.com/font/ZenKakuGothicAntique-500.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto-500";
  src: url("https://kashiroslog.com/font/Roboto-500.ttf") format("truetype");
  unicode-range: U+0030-0039;
}*/

@font-face {
  font-family: "Noto Sans JP Number";
  src: url("https://kashiroslog.com/font/NotoSansJP-400.ttf") format("truetype");
  unicode-range:U+0030-0039;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("https://kashiroslog.com/font/NotoSansJP-400.ttf") format("truetype");
}

body {
  /* font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif; */
  /* font-family: "Roboto-500", "ZenKakuGothicAntique-500", sans-serif; */
  font-family: Noto Sans JP Number, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", Helvetica Neue, Helvetica, Noto Sans JP, "ヒラギノ角ゴ Pro", Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", MS PGothic, sans-serif;
  box-sizing: border-box;
  color: #343434;
}

li {
  list-style: none;
}

header a,
.overlay a,
footer a,
.toc a {
  text-decoration: none;
  color: inherit;
}

body,
p,
ul,
td,
th,
ol {
  margin: 0;
  padding: 0;
}

/* header */
#header {
  background-color: white;
  height: 60px;
  width: 100%;
  z-index: 120;
  position: fixed;
}

.header-logo {
  /* font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 25px;
  line-height: 60px;
  color: #333;
  margin: 0 auto;
  font-weight: 300; */
  text-align: center;
  max-height: 60px;
  margin: 0;
}

.title-logo {
  max-height: 60px;
}

#overlay {
  position: fixed;
  z-index: -1;
  opacity: 0;
  width: calc(100% - 32px);
  height: 100vh;
  background:rgba(255, 255, 255, 0.98);
  transition: all 0.5s;
  padding: 0 16px;
  padding-top: 10px;
}

.overlay-title {
  font-size: 20px;
  max-width: 1100px;
  border-bottom: 2px solid #333;
  padding: 2px;
  margin: 0 auto;
  font-weight: bold;
}

.category,
.contact {
  padding: 4px 0;
  margin: 0 auto;
  max-width: 1100px;
}

.category-item {
  border-top: 1px solid rgb(224, 224, 224);
  padding: 1px 2px 0;
  margin-bottom: 4px;
  white-space: nowrap;
  display: block;
  margin: 2px 4px;
}

.category-item:first-child {
  border-top: none;
}

#overlay.panelactive {
  opacity: 1;
  z-index: 130;
}
#header.gotohell {
  z-index: 0;
}

body.no_scroll {
  overflow: hidden;
}

.menu {
  margin: 0;
  text-align: center;
  font-weight: bold;
  font-size: 28px;
}

#overlay a:hover {
  color: rgba(0, 0, 0, 0.6);
}

#menu-open {
  position: fixed;
  z-index: 456;
  top: 20.5px;
  right: 19px;
  cursor: pointer;
  width: 25px;
  height: 25px;
}

#menu-open span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  height: 3px;
  border-radius: 2px;
  background-color: #333;
  width: 25px;
}

#menu-open span:nth-of-type(1) {
  top: 0; 
}

#menu-open span:nth-of-type(2) {
  top: 8px;
}

#menu-open span:nth-of-type(3) {
  top: 16px;
}

#menu-open.active span:nth-of-type(1) {
  top: 4px;
  transform: translateY(6px) rotate(-45deg);
  width: 29px;
}

#menu-open.active span:nth-of-type(2) {
  opacity: 0;
}

#menu-open.active span:nth-of-type(3) {
  top: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 29px;
}

#header.UpMove {
  animation: UpAnime 0.7s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}

#header.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#pagetop {
  height: 40px;
  width: 40px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

#pagetop-arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

#pagetop.UpMove2{
  animation: UpAnime2 0.7s forwards;
}
@keyframes UpAnime2{
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100px);
  }
}

#pagetop.DownMove2{
  animation: DownAnime2 0.5s forwards;
}
@keyframes DownAnime2{
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container p {
  margin: 12px 16px 25px;
}

.container p,.container a {
  line-height: 1.7;
}

/* footer */
footer {
  background-color: black;
  color: #cbcbcb;
  font-weight: bold;
}

.footer-list a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-list {
  text-align: center;
}

footer ul {
  padding: 10px 0 10px;
  margin: 0;
}

.footer-list li {
  display: inline-block;
  margin: 20px;
}

.copyright {
  text-align: center;
  margin: 0;
  padding-bottom: 30px;
}

@media (min-width: 1025px) {
  body.no_scroll {
    overflow: visible;
  }
}