body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #121212;
  color: #eee;
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, #1f1f1f, #333);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

header h1 {
  font-size: 2.4em;
  margin: 0;
}

header p {
  font-size: 1.1em;
  color: #bbb;
  margin-top: 10px;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 40px 20px;
}

section {
  margin-bottom: 60px;
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #00bcd4;
  color: #121212;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.contact-btn:hover {
  background-color: #80deea;
  color: #121212;
}


/* Navigation */

nav {
  background-color: #1a1a1a;
  padding: 12px 20px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #2a2a2a;
}

nav a {
  font-size: 0.9em;
  color: #999;
  font-weight: normal;
}

nav a:hover {
  color: #00bcd4;
}


h2 {
  font-size: 1.6em;
  border-bottom: 2px solid #444;
  padding-bottom: 8px;
  margin-bottom: 20px;
  color: #fff;
}

h3 {
  font-size: 1em;
  color: #999;
  margin: 20px 0 10px;
  font-weight: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* Card scroll rows */

.youtube-scroll,
.note-scroll,
.novel-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
}

.youtube-scroll::-webkit-scrollbar,
.note-scroll::-webkit-scrollbar,
.novel-scroll::-webkit-scrollbar {
  height: 4px;
}

.youtube-scroll::-webkit-scrollbar-track,
.note-scroll::-webkit-scrollbar-track,
.novel-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.youtube-scroll::-webkit-scrollbar-thumb,
.note-scroll::-webkit-scrollbar-thumb,
.novel-scroll::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.youtube-scroll::-webkit-scrollbar-thumb:hover,
.note-scroll::-webkit-scrollbar-thumb:hover,
.novel-scroll::-webkit-scrollbar-thumb:hover {
  background: #00bcd4;
}

.youtube-card,
.note-card {
  flex: 0 0 280px;
  background-color: #1e1e1e;
  border-radius: 8px;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.youtube-card:hover,
.note-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.youtube-card iframe {
  width: 100%;
  height: 160px;
  border: none;
  border-radius: 8px 8px 0 0;
}

.note-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.note-embed {
  display: block;
  width: 494px;
  max-width: 99%;
  margin: 10px 0;
  border: none;
}

.title {
  padding: 10px;
  font-weight: bold;
  color: #fff;
}

.description {
  padding: 0 10px 10px;
  font-size: 0.9em;
  color: #ccc;
}

.note-desc {
  font-size: 0.85em;
  color: #aaa;
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}

/* Novel */

.novel-card {
  flex: 0 0 280px;
  background-color: #1e1e1e;
  border-radius: 8px;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.novel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.novel-card img {
  width: 100%;
  display: block;
}


/* Stretched link — カード全体をクリック可能に */

.youtube-card .title a::after,
.note-card .title a::after,
.novel-card .title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}


/* Links */

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 16px;
}

a {
  text-decoration: none;
  color: #00bcd4;
  font-weight: bold;
  transition: color 0.3s;
}

a:hover {
  color: #80deea;
}

footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #1a1a1a;
  font-size: 0.9em;
  color: #777;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.8em;
  }

  .youtube-card iframe {
    height: 180px;
  }
}
