﻿@font-face { 
  font-family: 'Noto Sans JP';
  font-style: normal; 
  font-weight: 700; 
  src: url("https://raw.githubusercontent.com/momizi06/public_html/main/font/NotoSansJP-Bold.woff") format('woff'); 
  font-display: swap; 
} 


@font-face { 
  font-family: 'M PLUS 1p'; 
  font-style: normal; 
  font-weight: 400; 
  src: url("https://raw.githubusercontent.com/momizi06/public_html/main/font/mplus-1p-sub.woff") format('woff'); 
  font-display: swap; 
} 


@font-face { 
  font-family: 'M PLUS 1c'; 
  font-style: normal; 
  font-weight: 300; 
  src: url("https://raw.githubusercontent.com/momizi06/public_html/main/font/mplus-1c-light-sub.woff") format('woff'); 
  font-display: swap; 
} 



/*モーションを全体に設定*/
body {
  -webkit-transition: all 300ms 0s ease;
  transition: all 300ms 0s ease;
  background: #f5f5f5;
}

/*隠し目次エリアの設定*/
nav {
  position: fixed;
  background-color: #ccc;
  color: #000;
  left: -320px;
  width: 310px;
  height: 100%;
  padding: 0 5px;
  opacity: 0;
  z-index: 4;
  font-family: 'M PLUS 1p', sans-serif;
  -webkit-transition: all 300ms 0s ease;
  transition: all 300ms 0s ease;
}

.open nav {
  left: 0;
  opacity: 1;
}

nav .inner {
  padding: 0 5px;
}

.mask {
  opacity: 0;
}

.open .mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.8;
  z-index: 3;
}

.toggle_btn {
  display:block;
  position:fixed;
  top:30px;
  right:30px;
  width:30px;
  height:30px;
  transition: all .5s;
  cursor:pointer;
  z-index:5;
}

.toggle_btn span {
  display:block;
  position:absolute;
  left:0;
  border-radius:4px;
  width:30px;
  height: 2px;
  transition: all .5s;
  background-color:#555;
}

.toggle_btn span:nth-child(1){
  top:4px;
}

.toggle_btn span:nth-child(2){
  top:14px;
}

.toggle_btn span:nth-child(3){
  bottom:4px;
}

.open .toggle_btn span {
  background-color:#fff;
}

.open .toggle_btn span:nth-child(1){
  -webkit-transform: translateY(10px) rotate(-315deg);
  transform:  translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2){
  opacity:0;
}

.open .toggle_btn span:nth-child(3){
  -webkit-transform: translateY(-10px) rotate(315deg);
  transform:  translateY(-10px) rotate(315deg);
}

.base {
  z-index: 2;
}

.header {
  padding: 50px 0;
  background: #161616;
  color: #fff;
  text-align: center;
}

.header h1{
  margin-bottom: 30px;
  font-size: 35px;
  font-family: 'Noto Sans JP';
}

#top_btn {
  position: fixed;
  bottom: 10px;
  border-radius: 6px;
  color: #444;
  padding: 6px 3px;
  z-index: 5;
  background-color: #eee;
}

#top_btn {
  right: 10px;
}

main { 
  padding: 150px 0;
  font: 20.5px 'M PLUS 1p', sans-serif;
  color: #444;
}

a, a:visited, a:hover {
  color: #666;
  text-decoration: none;
}

a:hover {
  background-color: #333;
}

p {
  font-family: 'M PLUS 1p', sans-serif;;
}

details p {
  font-family: 'M PLUS 1c', sans-serif;
}

.contents {
  width: 98%;
  padding: 0 50px;
}

#index {
  position: relative;
  width: 600px;
  background: #eee;
  margin: 0 20px;
  padding: 5px 20px;
  left: 50px;
}

.tairitu {
  width: 550px;
  height: 763px;
  position: relative;
  top: 100px;
}

.ntitle {
  position: relative;
  padding: 0 2px;
  float: left;
}

.ntitle p{
  position: absolute;
  bottom: -40px;
  background: #000;
  color: #fff;
  padding: 0 24px;
  font-size: 17px;
  white-space: nowrap;
}

img {
  aspect-ratio: attr(width) / attr(height);
}

pre {
  font-family: sans-serif;
}

#story p {
  font-family: 'M PLUS 1c', sans-serif;
}

#trace_p {
  font-size: 15px;
  padding: 2px 23px;
  bottom: -39px;
}

table {
  border-collapse: collapse;
}

th, td {
  text-align: center;
  border: solid 1px #ccc;
}

th {
  padding: 3px 7px;
  background: #ddd;
}

td {
  padding: 3px 10px;
}

#lost {
  position: relative;
  top: 4px;
}

#hontokayo {
  width: 400px;
}

#logo {
  position: relative;
  width: 300px;
  left: 500px;
  bottom: 50px;
  margin: -150px;
}

.lnone:hover {
  background-color: rgba(0, 0, 0, 0);
}

.sudop {
  position: relative;
  /*width: 30px;
  height: 30px;*/
  top: 150px;
  background-color: #f5f5f5;
}

.index_button {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: -10px;
  left: 135px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #eee;
  border: #000 1px solid;
  overflow: hidden;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
  z-index: 5;
}

.index_button:hover {
  background: #666;
}

.index_button:hover .arrow-wrap span,
.index_button:hover .icon_wrap span {
  background: #fff;
}

.index_button:hover .icon_wrap .icon_out {
  background:rgba(0,0,0,0);
  border:#fff 1px solid;
}

.index_button .icon_wrap {
  top:50%;
  left:50%;
  text-align: center;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.index_button .icon_wrap span {
  height:1px;
  width:12px;
  background:#000;
  position:absolute;
}

.index_button .icon_wrap .icon_out {
  width: 20px;
  height: 25px;
  border: #000 1px solid;
  background:rgba(0,0,0,0);
  left:9px;
  top:6.5px;
}


.icon_border1, .icon_border2, .icon_border3 {
  left:14px;
}

.index_button .icon_wrap .icon_border1 {
  top:12px;
}

.index_button .icon_wrap .icon_border2 {
  top:19px;
}

.index_button .icon_wrap .icon_border3 {
  top:26px;
}


.index_button.back .icon_wrap {
  left:-100%;
  -webkit-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}

.index_button.back .icon_wrap span{
  background:rgba(0,0,0,0);
  border:rgba(0,0,0,0);
}



.index_button .arrow-wrap {
  display: block;
  position: absolute;
  height: 70%;
  width: 70%;
  top: 50%;
  right: -120%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: right 0.3s ease;
  transition: right 0.3s ease;
}

.index_button .arrow-wrap span {
  height: 1px;
  left:0;
  top: 50%;
  background: #000;
  position: absolute;
  display: block;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.index_button .arrow-wrap .arrow-part-1 {
  width: 100%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.index_button .arrow-wrap .arrow-part-2 {
  width: 60%;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.index_button .arrow-wrap .arrow-part-3 {
  width: 60%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.index_button.back .arrow-wrap {
  right: -20%;
}

.back_button {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: -10px;
  left: 60px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #eee;
  border: #000 1px solid;
  overflow: hidden;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
  z-index: 5;
}

.back_button.back .arrow-wrap {
  left: -50%;
}

.back_button:hover {
  background: #666;
}

.back_button:hover .arrow-wrap span {
  background: #fff;
}

.back_button .arrow-wrap {
  display: block;
  position: absolute;
  height: 70%;
  width: 70%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: left 0.3s ease;
  transition: left 0.3s ease;
}

.back_button .arrow-wrap span {
  height: 1px;
  left: 0;
  top: 50%;
  background: #000;
  position: absolute;
  display: block;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.back_button .arrow-wrap .arrow-part-1 {
  width: 100%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.back_button .arrow-wrap .arrow-part-2 {
  width: 60%;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.back_button .arrow-wrap .arrow-part-3 {
  width: 60%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}