@charset "utf-8";

/* モバイル用スタイル */
html {
  font-size: 15px;
  background-color: black;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}
html::-webkit-scrollbar {
  display: none;
}
img,
h1,
h2,
footer p,
.chapter-white p,
li,
.x-user-info,
.x-timeline {
  -webkit-user-select: none; /* Chrome, Safari, Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Standard syntax */
}
.noselect {
  -webkit-user-select: none; /* Chrome, Safari, Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Standard syntax */
  pointer-events: none; /* クリックイベントも無効にする場合 */
}
body {
  background-color: black;
}
header {
  position: fixed;
  width: 100%;
  height: 50px;
  background-color: white;
  padding-top: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  text-align: center;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid black;
  justify-content: center;
}
header nav ul {
  display: none;
}
footer {
  width: 100%;
  background-color: rgb(50, 50, 50);
  text-align: center;
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
}
.footer-icon ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 20px 20px;
  margin-bottom: 0;
}
.footer-icon li {
  list-style: none;
  flex-direction: row;
  padding: 20px 20px;
}
footer p {
  color: white;
  border: 0;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 30px;
  font-size: 15px;
}
footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
}
h1 {
  color: black;
  font-size: 30px;
  text-decoration: underline;
  font-family:
    "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro",
    "MS PMincho", serif;
}
h2 {
  background-color: white;
  font-size: 32px;
  font-family:
    "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro",
    "MS PMincho", serif;
  margin: 20px 10px;
  padding: 10px 20px;
  border-bottom: 3px solid black;
  border-left: 10px solid black;
  color: black;
}
.menu-btn {
  position: fixed;
  top: 0px;
  right: 0px;
  display: flex;
  height: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  cursor: pointer;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: black;
  position: absolute;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
#menu-btn-check {
  display: none;
}
#menu-btn-check:checked ~ .menu-content {
  transition: top 0.2s; /*アニメーション設定*/
  top: 0; /*メニューを画面内へ*/
}
#menu-btn-check:checked ~ .menu-content-hide {
  transition: top 0s; /*アニメーション設定*/
  top: 0; /*メニューを画面内へ*/
}
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
.menu-content {
  width: 100%;
  position: fixed;
  top: -300px;
  left: 0%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  transition: top 0.2s; /*アニメーション設定*/
}
.menu-content-hide {
  width: 100%;
  height: 1500px;
  position: fixed;
  top: 10000px;
  left: 0%;
  z-index: 5;
  background-color: #ffffff50;
  transition: top 0s;
}
.menu-content ul {
  padding: 50px 50px 0;
}
.menu-content ul li {
  border-bottom: solid 1px white;
  list-style: none;
}
.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  box-sizing: border-box;
  color: white;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}
.main-image {
  position: relative;
  background-color: black;
}
.main-image img {
  width: 100%;
  object-fit: cover;
}
.main-image p {
  position: absolute;
  font-family: serif;
  font-size: 2vw;
  color: white;
  background-color: black;
}
.main-content {
  width: 100%;
  padding-top: 50px;
  background-color: white;
}
#a {
  top: 2vw;
  left: 2vw;
}
#b {
  top: 6vw;
  left: 2vw;
}
#c {
  top: 10vw;
  left: 2vw;
}
#d {
  top: 14vw;
  left: 2vw;
}
#e {
  top: 18vw;
  left: 2vw;
}
.fade-in {
  opacity: 0; /* 最初は完全に透明 */
  transition: opacity 1.5s ease; /* フェードインの時間と滑らかさ */
}
.fade-in.visible {
  opacity: 1; /* 完全に不透明にする */
}
.chapter-white {
  display: flex;
  width: 100%;
  padding: 5% 10%;
  background-color: white;
  font-size: 16px;
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
}
.chapter-white a {
  white-space: nowrap;
}
.chapter-text{
  font-size: 20px;
  font-family:
    "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro",
    "MS PMincho", serif;
}

/*ウィジェット*/
.x-white {
  display: flex;
  justify-content: center; /* 左右中央 */
  align-items: center; /* 上下中央 */
  width: 100%;
  padding: 5% 0;
  background-color: white;
}
.x-widget {
  width: 80%;
  margin: auto auto;
  border: 1px solid #333;
  border-radius: 16px;
  overflow: hidden;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #0a0a0a;
  color: #e7e9ea;
}
.x-header {
  padding: 16px;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0a0a0a;
}
.x-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.x-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.x-user-info h3 {
  margin: 0;
  color: white;
  font-size: 18px;
}
.x-user-info p {
  margin: 0;
  color: #71767b;
  font-size: 15px;
}
.x-user-info a {
  text-decoration: none;
}
.x-timeline {
  aspect-ratio: 1 / 1;
  color: white;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #555 #222;
  -ms-overflow-style: thin;
}
.x-timeline::-webkit-scrollbar {
  display: auto;
  width: 6px;
}
.x-timeline::-webkit-scrollbar-track {
  background: #222;
}
.x-timeline::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}
.x-timeline::-webkit-scrollbar-thumb:hover {
  background: #777;
}
.x-post {
  padding: 16px;
  border-bottom: 1px solid #2f3336;
  transition: 0.2s;
}
.x-post:hover {
  background: #0a0a0a;
}
.x-post-content {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 12px;
  white-space: pre-wrap;
}
.x-post-media {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  max-height: 320px;
  width: 100%;
  background: #111;
}
.x-post-media img,
.x-post-media video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.x-post-media video {
  max-height: 320px;
}
.x-post-meta {
  color: #71767b;
  font-size: 13px;
  margin-top: 8px;
}

/*メディアクエリ(画面幅が768px以上の場合)*/
@media (min-width: 750px) {
  .main-content {
    width: 50vw;
    min-width: 750px;
    margin: 0 auto;
  }
  .main-image {
    position: relative;
  }
  .main-image p {
    position: absolute;
    font-family: serif;
    font-size: clamp(15px, 1vw, 10000px);
    color: white;
    background-color: black;
  }
  #a {
    top: clamp(15px, 1vw, 10000px);
    left: clamp(15px, 1vw, 10000px);
  }
  #b {
    top: clamp(45px, 3vw, 10000px);
    left: clamp(15px, 1vw, 10000px);
  }
  #c {
    top: clamp(75px, 5vw, 10000px);
    left: clamp(15px, 1vw, 10000px);
  }
  #d {
    top: clamp(105px, 7vw, 10000px);
    left: clamp(15px, 1vw, 10000px);
  }
  #e {
    top: clamp(135px, 9vw, 10000px);
    left: clamp(15px, 1vw, 10000px);
  }
  header {
    position: fixed;
    width: 100%;
    height: 50px;
    background-color: white;
    padding-top: 10px;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
    display: flex; /* flexboxを作る */
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center; /* 上下中央に揃える */
    text-align: center;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid black;
    justify-content: flex-start;
  }
  h1 {
    color: black;
    font-size: 40px;
    text-decoration: underline;
    font-family:
      "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro",
      "MS PMincho", serif;
  }
  header nav ul {
    list-style: none;
    display: flex;
  }
  header ul li a {
    padding: 10px 15px;
    color: black;
    text-decoration: none;
    font-size: 20px;
    align-items: center;
    text-align: center;
    font-family:
      "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
      Meiryo, sans-serif;
    font-weight: bold;
  }
  .hamburger-menu {
    display: none;
  }
}
/*ホバー機能（マウスカーソル）無い場合*/
@media (hover: none) {
  ul li a:hover {
    text-decoration: none;
  }
  ul li a:active {
    text-decoration: underline;
  }
  nav ul li a:hover {
    text-decoration: none;
    border-bottom: 0px;
  }
  nav ul li a:active {
    text-decoration: none;
    border-bottom: 8px solid black;
  }
}
/*ホバー機能（マウスカーソル）ある場合*/
@media (hover: hover) {
  ul li a:hover {
    text-decoration: underline;
  }
  ul li a:active {
    text-decoration: underline;
  }
  nav ul li a:hover {
    text-decoration: none;
    border-bottom: 8px solid black;
  }
  nav ul li a:active {
    text-decoration: none;
    border-bottom: 8px solid black;
  }
}