*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Yomogi", cursive;
  font-weight: 400;
  font-style: normal;
}

html {
  background: linear-gradient(135deg, #ff7979 0%, #f9ca24 20%, #f0932b 40%, #eb4d4b 60%, #6c5ce7 80%, #a29bfe 100%);
  min-height: 100vh;
}

html::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at top left, rgba(255, 234, 167, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(255, 118, 117, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

body {
  margin: 0;
  padding: 0;
  color: #222;
  font-size: 1.0rem;
  min-height: 100vh;
}

.content-wrapper {
  margin: 0 auto;
  padding: 25px 40px;
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
  min-height: 100vh;
  backdrop-filter: blur(20px);
}
@media (max-width: 767px) {
  .content-wrapper {
    padding: 15px 15px;
    box-shadow: none;
  }
}
h1, h2, h3, .v-title, .modal h2, .modal h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  margin-top: 0;
}

h1 a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  border-bottom: none;
}

h1 a:hover {
  border-bottom: none;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}
h2 {
  margin-top: 35px;
  margin-bottom: 18px;
  font-size: 1.5rem;
  color: #333;
  position: relative;
  padding-bottom: 8px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #ddd 0%, transparent 100%);
}
p {
  line-height: 24px;
  margin: 12px 0;
}
a {
  color: #4682B4;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:visited {
  color: #4682B4;
}

a:hover {
  color: #316192;
}

a:active {
  color: #4682B4;
}

p a, li a {
  border-bottom: 1px solid transparent;
}

p a:hover, li a:hover {
  border-bottom-color: #316192;
}
footer {
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.95rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}
.note-ga {
  margin-top: 25px;
  text-align: center;
}

.note-ga span {
  font-size: 0.85rem;
  padding: 10px 20px;
  background-color: #f8f9fa;
  border-radius: 20px;
  color: #666;
  display: inline-block;
}
.v-date {
  font-family: "Stick", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #777;
  font-size: 0.8rem;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.v-container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  justify-content: flex-start;
}
@media (max-width: 1024px) {
  .v-box {
    flex: 0 0 calc(33.333% - 16px);
    max-width: none;
  }
}

@media (max-width: 767px) {
  .v-container {
    flex-direction: column;
    gap: 20px;
  }
  .v-box {
    flex: 0 0 100%;
    min-width: unset;
    max-width: none;
    width: 100%;
  }
}
.v-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 calc(25% - 18px);
  min-width: 220px;
  max-width: 280px;
}

@media (max-width: 767px) {
  .v-box {
    max-width: 100%;
  }
}

.v-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.v-thumbnail {
  position: relative;
  overflow: hidden;
  background: #000;
}

.v-thumbnail a {
  display: block;
  position: relative;
}

.v-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.v-thumbnail:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.7;
}

.play-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 12px solid rgba(255, 255, 255, 0.8);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.v-thumbnail:hover .play-button {
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 1;
}

.v-thumbnail:hover .play-button::after {
  border-left-color: rgba(255, 255, 255, 1);
}

.v-box > div:last-child {
  padding: 12px;
}
.v-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #333;
  line-height: 1.2;
}
.v-list {
  margin-top: 4px;
  font-size: 0.85rem;
}

.v-list a {
  display: inline-block;
  padding: 3px 10px;
  background-color: #f0f4f8;
  border-radius: 16px;
  margin-right: 6px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
}

.v-list a:hover {
  background-color: #e1e8ed;
  transform: translateY(-1px);
}
.v-note-credit, .v-note-offvocal {
  margin-top: 8px;
  color: #666;
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  line-height: 1.6;
}

ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

.date {
  font-family: "Stick", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #888;
  font-size: 0.8rem;
  margin-left: 8px;
  letter-spacing: 0.03em;
}

.sns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.sns-links li {
  padding-left: 0;
  margin-bottom: 0;
}

.sns-links li::before {
  display: none;
}

.sns-links a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0f4f8;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}

.sns-links a:hover {
  background-color: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@media (max-width: 767px) {
  .sns-links {
    gap: 10px;
  }
  .sns-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* Micromodal styles from official documentation */
.modal {
  display: none;
}

.modal.is-open {
  display: block;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
}

.modal__container {
  background-color: #fff;
  padding: 30px;
  max-width: 700px;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #00449e;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 24px;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  color: #000;
}

.modal__header .modal__close:before { content: "\2715"; }

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(0,0,0,.8);
}

/* Micromodal animation */
.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
      to { transform: translateY(-10%); }
}

/* Modal content specific styles */
.modal__content h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #667eea;
  padding-bottom: 10px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}

.modal__content h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #444;
  font-size: 1.1rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}

.modal__content .modal-note {
  background-color: #f8f9fa;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 20px 0;
  color: #666;
  font-size: 0.9rem;
}

.modal__content .format {
  font-family: "Stick", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.modal__content div a {
  display: inline-block;
  margin: 4px 0;
  padding: 6px 16px;
  background-color: #f0f4f8;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.modal__content div a:hover {
  background-color: #667eea;
  color: white;
}

/* シキトキお喋りポエム */
.shikitoki-container {
  margin-top: 20px;
}

.shikitoki-main {
  margin-bottom: 25px;
}

.shikitoki-thumbnail {
  max-width: 300px;
  margin-bottom: 20px;
}

.shikitoki-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}



.shikitoki-episodes {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-top: 25px;
}

.shikitoki-episodes h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.episode-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.episode-list li {
  margin-bottom: 8px;
  padding-left: 5px;
}

.episode-list li::before {
  display: none;
}

.more-episodes {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 0;
}

.youtube-playlist-button {
  display: inline-block;
  padding: 10px 24px;
  background-color: #e74c3c;
  color: white !important;
  border-radius: 25px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.youtube-playlist-button:hover {
  background-color: #c0392b;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

@media (max-width: 767px) {
  .shikitoki-info {
    flex-direction: column;
    gap: 20px;
  }
  
  .shikitoki-thumbnail {
    max-width: 100%;
  }
  
  .shikitoki-episodes {
    padding: 15px;
  }
}