/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-style: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	color:#fff;
	font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}
body{
  background:#000;
  }
ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
}
.noselect{
    pointer-events: none;
  }
main{
  background:#000;
  }
/* ヘッダー */
.l-header {
  display: block;
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  border-bottom: 1px solid #fff;
}
.c-hamburger {
  position: relative;
  width: inherit;
  height: inherit;
  margin: 0;
  border: transparent;
  background-color: transparent;
  cursor: pointer;

}
h1.p-header__title a:hover {
    transform: rotate(5deg);
}
h1.p-header__title a {
    display: inline-block;
    color: #ffffff;
    font-size: 30px;
    text-decoration: none;
    transition: .3s;
}

.c-hamburger span {
  display: block;
  position: relative;
  left: 50%;
  width: 24px;
  height: 2px;
  transform: translateX(-50%);
  background: black;
  transition: all 0.4s;
}

.c-hamburger span:nth-of-type(1) {
  top: -4px;
}

.c-hamburger span:nth-of-type(2) {
  top: 1px;

  transform: translateX(-0.45deg);
}

.c-hamburger span:nth-of-type(3) {
  top: 6px;
  transform: translateX(-0.45deg);
}

.c-hamburger.is-active span:nth-of-type(1) {
  top: 0;
  transform: translateX(-50%) rotate(225deg);
}

.c-hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}

.c-hamburger.is-active span:nth-of-type(3) {
  top: -4px;
  transform: translateX(-50%) rotate(-225deg);
}
.p-header__nav {
  display: flex;
  z-index: 10;
  position: absolute;
  top: 0;
  right: -100%;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: transparent;
  opacity: 0;
  transition: top 0.6s, right 0.6s, opacity 0.6s;
}

.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.p-header__hamburger {
  z-index: 100;
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  background: #fff;
}

.p-header__nav.is-active {
  position: fixed;
  top: 0;
  right: 0;
  opacity: 1;
  background-color: #fff;
}

.p-nav__list {
  display: block;
  padding-right: 20px;
  padding-left: 20px;
}

.p-nav__item {
  position: relative;
  width: 100%;
}


.p-nav__link {
  color: #000;
  display: block;
  padding: 20px;
  width: 100%;
  transition: 0.4s;
}
.p-nav__link:hover {
    text-decoration:underline;
}
@media screen and (min-width: 768px) {
.p-nav__link {
  color: #fff;
}
  .p-header__hamburger {
    display: none;
  }

  .p-nav__inner {
    margin-right: auto;
    margin-left: auto;
    max-width: initial;
    width: 100%;
  }

  .p-header__nav {
    position: static;
    opacity: 1;
    height: inherit;
    width: initial;
  }

  .p-nav__list {
    padding-right: 0;
    padding-left: 0;
    display: flex;
  }
}

/*main visual*/
.main-visual {
    position: relative;
    overflow:hidden;
}
video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    margin-top: 67px;
}
.top-ttl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    text-align: center;
    z-index: 1;
    border-radius: 8px;
    width: 100%;
}
.top-ttl h2 {
    font-size: 40px;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}
.mv-fallback {
  display: none;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  margin-top: 67px;
}
@media screen and (max-width: 1071px) {
.main-visual {
    top: -51px;
}
video {
    margin-top: 51px;
}
.top-ttl h2 {
    font-size: 30px;
}
}
@media screen and (max-width: 768px) {

}
/* profile */
.profile-content p{
    padding-bottom: 1em;
}
.main-content-txt {
    text-align: center;
    padding-bottom: 4em;
}
.main-content-txt p {
    padding-bottom: 1em;
}
/*フッター*/
.copy {
    text-align: center;
    border-top: 1px solid;
}
.copy p {
    padding: 10px 0;
}
.footer-content {
    padding: 3em 0;
    border-top: 1px solid #fff;
    margin-top: 6em;
    text-align: right;
}
.footer-content a{
    transition: 0.4s;}
.footer-content a:hover {
    text-decoration:underline;
}
/* inner */
.inner{
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
  }

/* コンテンツ*/
.main-content h2 {
    text-align: center;
    font-size: 30px;
    margin: 3em 0;
}
.item-content {
    text-align: center;
}
.profile-content {
    text-align: center;
    margin-top: 6em;
}
.profile-content img {
    width: 175px;
}
.profile-content h4 {
    padding-bottom: 1em;
    font-size: 18px;
}
/* ボタン */
.item-btn {
  display: block;
  max-width: 300px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  color: #fff;
  background-color: #000;
  position: relative;
  border: 1px solid #fff;
  transition: color 0.5s ease;
  margin: 2em auto;
}

.item-btn:hover .item-txt {
  color: #000;
}

.item-btn:hover::before {
  transform: scaleY(1);
}

.item-btn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transition: all 0.5s ease;
  z-index: 1;
  transition-property: transform;
}

.item-txt {
  position: relative;
  z-index: 10;
  transition: color 0.5s ease;
}
/* ギャラリー  */
.clickhere {
    margin-bottom: 2em;
}
.head-content {
    margin-top: 7em;
    margin-bottom: 5em;
}
.head-content h2 {
    font-size: 50px;
}
.bread {
    display: flex;
    margin-bottom: 3em;
}
.bread li:first-child::before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 4px);
    right: 0.6em;
    -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
}
.bread li:last-child {
    margin-right: 0;
    padding-right: 0;
}
.bread li {
    display: inline-block;
    position: relative;
    padding-right: calc(16px + 8px);
    color: #fff;
}
.bread li a:hover {
    text-decoration:underline;
}
/* モーダルのスタイル */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* 背景色 */
    opacity: 0; /* 初期状態では透明 */
    visibility: hidden; /* 初期状態では不可視 */
    transition: opacity 0.5s, visibility 0.5s; /* アニメーション効果 */
}

/* モーダルの画像スタイル */
.modal-content {
    display: block;
    width: 70%;
    max-width: 700px;
    z-index: 100;
    position: relative;
}

/* モーダルの閉じるボタン */
#close {
    position: absolute;
    top: 73px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
@media screen and (min-width: 768px) {
.modal-content {
    width: 500px;
}
  }
/* ココから下は画像を並べてる部分のスタイルなので
　　モーダルとは直接関係がない部分です　　　　　 */
/********************************************/
.wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    justify-content: center;
}

.img  {
    flex-shrink: 0;
    width: 148px;
    height: 150px;
    padding: 20px;
    border: 1px solid #fff;
    cursor: pointer;
    transition: opacity 0.3s ;
}

.img:hover {
    opacity: 0.7;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 767px) {
img{
    /* SPの長押し禁止 */
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    user-select:none;
}
}
/* notfound */
.not-found figure{
    text-align:center;
}
.not-found img {
    width: 200px;
}
.not-found h2 {
    text-align: center;
    margin-top: 7em;
    margin-bottom: 3em;
    font-size: 30px;
}
.not-found p {
    text-align: center;
    font-size: 20px;
}
@media screen and (max-width: 767px) {
.not-found h2 {
    font-size: 24px;
}
.not-found p {
    font-size: 18px;
}
  }
/* monolog */
.mono-txt {
    margin-top: 9em;
}
.mono-txt p {
    text-align: center;
    padding-bottom: 1em;
}
.ghost{
    text-align:center;
}
.ghost img {
    width: 200px;
}
.button {
  position: relative;
  font-size: 1.2em;
  width:10px;
  padding: 0.7em 1.4em;
  background-color: #000;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5em;
  color: #dededede;
  box-shadow: 0.5em 0.5em 0.5em #0000004d;
}

.button::before {
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  top: 0;
  left: 0;
  background: linear-gradient(135deg,
    #212121 0%, #212121 50%, #fff 50%, #fff 60%);
  border-radius: 0 0 0.5em 0;
  box-shadow: 0.2em 0.2em 0.2em #0000004d;
  transition: width 0.3s, height 0.3s;
}

.button:hover::before {
  width: 1.6em;
  height: 1.6em;
}

.button:active {
  box-shadow: 0.2em 0.2em 0.3em #0000004d;
  transform: translate(0.1em, 0.1em);
}
/* 隠しページ */
.not-img {
    flex-shrink: 0;
    width: 148px;
    height: 150px;
    padding: 20px;
    border: 1px solid #fff;
    transition: opacity 0.3s;
}
.not-img a {
    display: flex;
    justify-content: center;
    margin-top: 3.5em;
}
 .warning-popup {
    display: none;
    position: fixed;
    color:#000;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
  }
.popup-content h2,.popup-content p {
    color: #000;
} 
  .popup-content {
    background: #fff;
    color:#000;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-width: 400px;
    box-shadow: 0 0 30px red;
    animation: pulse 1s infinite alternate;
  }
#secretEntry {
    display: block;
    background: #000;
    color: #000;
    border: solid #000;
    cursor: pointer;
}
#secretEntry:hover {
    color: #fff;
    text-decoration: line-through;
}
  .popup-content button {
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
  }

  @keyframes pulse {
    0% { box-shadow: 0 0 10px red; }
    100% { box-shadow: 0 0 30px red; }
  }
.graveyard{
  background-image:url(../img/judgment.jpg);
  background-size:contain;
  background-position: center;
  }
.graveyard p{
  font-size:36px;
  text-shadow: 1px 1px 2px #750000;
  color:red;
}
.graveyard .message{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: black;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      z-index: 900;
      pointer-events: none;
    }

    #noise {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-image: url('https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif');
      background-size: cover;
      opacity: 0;
      z-index: 910;
      pointer-events: none;
      transition: opacity 0.5s ease-in-out;
    }

#warningText {
    position: fixed;
    top: 30%;
    left: 50%;
    max-width: 1000px;
    margin:0 auto;
    transform: translateX(-50%);
    font-size: 35px;
    font-weight: bold;
    color: #ff0000;
    text-shadow: 0 0 20px red;
    opacity: 0;
    z-index: 1000;
    transition: opacity 1s;
}
    #surpriseImage {
      display: block;
      position: fixed;
      width:80%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(1);
      opacity: 0;
      z-index: 930;
      transition: opacity 1s ease-in-out, transform 3s ease-in-out;
    }

    #surpriseImage.show {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.3); /* ズームイン */
    }

    body.freaked-out {
      cursor: none;
      animation: shake 0.3s infinite;
    }

    @keyframes shake {
      0% { transform: translate(0, 0); }
      25% { transform: translate(-5px, 5px); }
      50% { transform: translate(5px, -5px); }
      75% { transform: translate(-5px, 0); }
      100% { transform: translate(0, 0); }
    }
@media screen and (max-width: 767px) {
    #surpriseImage {
      width:100%;
    }
    }