* { box-sizing: border-box; }

@font-face {
  font-family: "CEFFontsCJK";
  src: url("/assets/fonts/CEFFontsCJK.woff2");
}

body {
  margin: 0;
  font-family: "CEFFontsCJK", Arial, sans-serif, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: #f2fff0;
  transition: background 0.3s, color 0.3s;
  background: url('/assets/pic/background.webp') center center/cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: rgba(237, 255, 231, 0.55);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  color: #4a3f35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1001;
}

p {
  margin: 0;
}

.title {
  font-size: 1.2em;
  font-weight: bold;
  white-space: nowrap;
}

.menu-button {
  font-size: 1.6em;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  display: none;
  transition: background-color 0.3s;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-high-contrast-adjust: none;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.menu-button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

.nav-links a:hover {
  text-shadow: 0 0px 2px #67696785;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100%;
  background-color: rgba(237, 255, 231, 0.55);
  backdrop-filter: blur(18px) saturate(2);
  -webkit-backdrop-filter: blur(18px) saturate(2);
  box-shadow: 2px 0 20px 0 rgba(0, 74, 10, 0.1), 1px 0 0 #e4ffe4;
  border-right: 0.5px solid #b7ffc7;
  transition: left 0.3s ease; 
  z-index: 1002;
  display: flex;
  flex-direction: column;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  overflow: hidden;
}

.sidebar.open {
  left: 0;
}

.sidebar .top-bar {
  padding: 14px 24px 12px 22px;
  background: rgba(222, 255, 216, 0.85);
  font-weight: bold;
  font-size: 1.15em;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  min-height: 50px;
}

.sidebar .top-bar button {
  font-size: 1.2em;
  background: none;
  border: none;
  color: #354a3c;
  cursor: pointer;
  outline: none !important;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.sidebar .top-bar button:hover {
  background: #eaffea;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar ul li a {
  display: block;
  padding: 16px 28px;
  text-decoration: none;
  color: #354a35;
  font-size: 1.08em;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.sidebar ul li a:hover,
.sidebar ul li a:focus {
  background: #addcaf;
  color: #336522;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  display: none;
  z-index: 1000;
}

.overlay.show {
  display: block;
}

.center-left-hi {
  font-family: Arial, sans-serif;
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3em;
  font-weight: bold;
  color: #e1f1e4;
  padding: 32px 24px;
  z-index: 10;
  line-height: 1.4;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
  white-space: pre-line;
}

.type-cursor {
  font-family: Arial, sans-serif;
  display: inline-block;
  width: 0.7em;
  animation: blink 1s steps(1) infinite;
  vertical-align: bottom;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media screen and (orientation: landscape) {
  .menu-button {
    display: none !important;
  }
  .nav-links {
    display: flex !important;
  }
  .sidebar,
  .overlay {
    display: none !important;
  }
  .center-left-hi {
    font-size: 4.5em;
    left: 8vw;
    padding: 0;
  }
}

@media screen and (orientation: portrait) {
  .menu-button {
    display: block;
  }
  .nav-links {
    display: none;
  }
  .center-left-hi {
    font-size: 3em;
    left: 4vw;
    padding: 32px 24px;
  }
}

@media (max-width: 340px) {
  .title {
    display: none;
  }
}

.textbox {
  margin: 16px auto;
  padding: 20px 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  text-align: left;
  font-size: 1em;
  color: #333;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: calc(100% - 32px);
  max-width: 1000px;
  box-sizing: border-box;
}

.textbox a {
  color: #482b06;
  text-decoration: none;
}

.textbox del {
  text-decoration: line-through;
}

.textbox bold {
  font-weight: bold;
}

.textbox p {
    margin: 0;
}
.textbox h3 {
  margin: 0;
  font-weight: bold;
  font-size: 1.5em;
  color: #333;
  margin-bottom: 8px;
  text-decoration: none;
}

.textbox h4 {
  margin: 0;
  font-weight: bold;
  font-size: 1.2em;
  color: #333;
  margin-bottom: 4px;
  text-decoration: none;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff32;
  padding: 8px 15px;
  border-radius: 8px;
}

.info-card h3 {
  margin: 0;
  font-size: 1.5em;
  color: #482b06;
}

.info-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.footer-link-article {
  text-align: center;
  color: #448063;
  margin-top: auto;
  margin-bottom: -54px;
}

.footer-link-article a {
  color: inherit;
  text-decoration: none;
}

.footer-link-article a:hover {
  text-decoration: underline;
}

/* © 2025-2026 Ryousuke. All rights reserved. 未经授权禁止使用本站源代码。本站所有原创文章内容遵循 CC BY-NC 协议，转载文章需要遵循原协议 */