/* ============================================
   うえきや Official Website - Style Sheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Main */
  --moss-green: #4A5D4A;
  --moss-green-dark: #2A352A;
  --moss-green-light: #5a6f5a;

  /* Accent */
  --terracotta: #C67B5C;
  --terracotta-dark: #a8644a;
  --coral-pink: #D4897A;

  /* Base */
  --off-white: #FAF8F5;
  --beige: #F5EDE4;
  --beige-dark: #e8ddd0;

  /* Sub */
  --mustard: #C9A855;
  --sage-green: #8B9B7A;
  --dusty-blue: #7A9BAB;

  /* Text */
  --text-primary: #2A2A2A;
  --text-secondary: #5A5A5A;
  --text-light: #FAF8F5;
  --text-muted: #8B9B7A;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 7rem);
  --container-width: 1100px;
  --container-padding: clamp(1.25rem, 4vw, 2rem);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Zen Maru Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--dusty-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--terracotta);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Caveat", "Zen Maru Gothic", cursive;
  font-weight: 700;
  line-height: 1.3;
  color: var(--moss-green);
}

.section-title {
  font-family: "Caveat", cursive;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--moss-green);
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.85rem;
  text-align: center;
  color: var(--sage-green);
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

/* --- Layout --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--section-padding) 0;
}

.section-bg {
  background-color: var(--beige);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.site-header.scrolled {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(42, 53, 42, 0.08);
  padding: 0.6rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header-logo img {
  height: 56px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.header-logo:hover img {
  opacity: 0.8;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.main-nav a {
  font-family: "Caveat", cursive;
  font-size: 1.15rem;
  color: var(--moss-green);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-xl);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: var(--moss-green);
  color: var(--text-light);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--moss-green);
  margin: 6px auto;
  transition: transform var(--transition-base), opacity var(--transition-base);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--moss-green-dark) 0%, #354535 60%, var(--moss-green) 100%);
  overflow: hidden;
  padding: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 168, 85, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--off-white));
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-logo {
  /* ロゴ画像の周りの透明な余白を切り落としたので、見た目の大きさが前と同じになる幅にしている */
  width: min(684px, 56vw);
  margin: 0 auto 2rem;
  animation: heroFadeIn 1.2s ease-out;
}

.hero-tagline {
  font-family: "Caveat", cursive;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(250, 248, 245, 0.7);
  letter-spacing: 0.15em;
  animation: heroFadeIn 1.2s ease-out 0.3s backwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: heroFadeIn 1.2s ease-out 0.6s backwards;
}

.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(250, 248, 245, 0.5), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(42, 53, 42, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(42, 53, 42, 0.12);
}

.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: var(--beige);
}

.card-body {
  padding: 1.25rem;
}

/* --- News Section --- */
.news-list {
  max-width: 700px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--beige-dark);
  align-items: baseline;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-family: "Caveat", cursive;
  font-size: 1rem;
  color: var(--sage-green);
  white-space: nowrap;
  min-width: 100px;
}

.news-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-xl);
  background-color: var(--moss-green);
  color: var(--text-light);
  margin-right: 0.75rem;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.news-tag.release {
  background-color: var(--terracotta);
}

.news-tag.live {
  background-color: var(--dusty-blue);
}

.news-tag.movie {
  background-color: var(--mustard);
}

.news-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.news-title:hover {
  color: var(--terracotta);
}

/* --- News Modal --- */
.news-list .news-item[role="button"] {
  cursor: pointer;
}

.news-list .news-item[role="button"]:hover .news-title,
.news-list .news-item[role="button"]:focus-visible .news-title {
  color: var(--terracotta);
}

.news-list .news-item[role="button"]:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.news-modal {
  width: min(640px, calc(100% - 2rem));
  max-height: calc(100vh - 4rem);
  margin: auto;
  padding: 2.5rem 2rem 2rem;
  border: none;
  border-radius: var(--radius-lg);
  background-color: var(--off-white);
  color: var(--text-primary);
  box-shadow: 0 20px 60px rgba(42, 53, 42, 0.25);
  overflow-y: auto;
}

.news-modal[open] {
  animation: news-modal-in var(--transition-base);
}

.news-modal::backdrop {
  background-color: rgba(42, 53, 42, 0.55);
}

@keyframes news-modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.news-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.news-modal-close:hover {
  background-color: var(--beige);
  color: var(--terracotta);
}

.news-modal-meta {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.news-modal-meta .news-date {
  min-width: 0;
}

.news-modal-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--moss-green-dark);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--beige-dark);
}

.news-modal-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.news-modal-body p + p {
  margin-top: 1em;
}

.news-modal-body a {
  color: var(--terracotta);
  text-decoration: underline;
}

.news-modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 0.5rem 0;
}

@media (max-width: 600px) {
  .news-modal {
    padding: 2.25rem 1.25rem 1.5rem;
  }

  .news-modal-title {
    font-size: 1.1rem;
  }
}

/* --- About Section --- */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* --- Music Section --- */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}

a.music-card {
  display: block;
  color: inherit;
}

/* トップから music.html#〇〇 で飛んだとき、固定ヘッダーに隠れないようにする */
.music-detail-item {
  scroll-margin-top: 100px;
}

.music-card .card-body {
  padding: 1rem 1.25rem;
}

.music-card .music-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.music-card .music-date {
  font-size: 0.8rem;
  color: var(--sage-green);
}

/* Music detail page */
.music-detail-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--beige-dark);
  align-items: start;
}

.music-detail-item:last-child {
  border-bottom: none;
}

.music-detail-jacket {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  background-color: var(--beige);
  box-shadow: 0 4px 20px rgba(42, 53, 42, 0.1);
}

.music-detail-info h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.music-detail-date {
  font-size: 0.85rem;
  color: var(--sage-green);
  margin-bottom: 1.5rem;
}

.music-detail-tracklist {
  margin-bottom: 1.5rem;
}

.music-detail-tracklist .tracklist-label {
  font-size: 0.9rem;
  color: var(--coral-pink);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.music-detail-tracklist ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.music-detail-tracklist li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

/* 曲名のうしろの補足（ライブ音源の日付など）。途中で折り返さず、入らなければ丸ごと次の行へ */
.track-note {
  display: inline-block;
  font-size: 0.85em;
  color: var(--text-muted);
}

/* --- Live Section --- */
.live-list {
  max-width: 700px;
  margin: 0 auto;
}

.live-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(42, 53, 42, 0.05);
  transition: transform var(--transition-fast);
}

.live-item:hover {
  transform: translateX(4px);
}

.live-date-box {
  text-align: center;
  min-width: 70px;
  padding: 0.5rem;
  background: var(--moss-green);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  flex-shrink: 0;
}

.live-date-box .month {
  font-family: "Caveat", cursive;
  font-size: 0.85rem;
  display: block;
  opacity: 0.8;
}

.live-date-box .day {
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.live-info h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.live-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.live-past {
  opacity: 0.55;
}

.live-no-schedule {
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(42, 53, 42, 0.05);
  font-size: 0.95rem;
  line-height: 1.8;
}

.live-section-label {
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  color: var(--moss-green);
  margin-bottom: 1.25rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--terracotta);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Links Section --- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(42, 53, 42, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--text-primary);
}

.link-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 53, 42, 0.1);
  color: var(--terracotta);
}

.link-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige);
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.link-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--moss-green-dark);
}

.link-item-name {
  font-weight: 500;
  font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.contact-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--moss-green);
  padding: 0.75rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 12px rgba(42, 53, 42, 0.08);
  transition: transform var(--transition-fast);
  unicode-bidi: bidi-override;
  direction: rtl;
}

.contact-email:hover {
  transform: translateY(-2px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--terracotta);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--terracotta-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(198, 123, 92, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--moss-green);
  border: 1.5px solid var(--moss-green);
}

.btn-outline:hover {
  background-color: var(--moss-green);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
}

.btn-ghost {
  background: transparent;
  color: var(--sage-green);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--terracotta);
}

.btn-cd-only {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-xl);
  background-color: var(--beige);
  color: var(--sage-green);
  cursor: default;
}

.badge-venue-only {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-xl);
  background-color: var(--beige);
  color: var(--sage-green);
}

.badge-sold-out {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-xl);
  background-color: #eee;
  color: #999;
}

.music-detail-type {
  font-size: 0.8rem;
  color: var(--sage-green);
  margin-bottom: 0.25rem;
  font-style: italic;
}

.more-link {
  display: block;
  text-align: center;
  margin-top: 2.5rem;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--moss-green-dark);
  color: rgba(250, 248, 245, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  text-align: center;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.1);
  color: rgba(250, 248, 245, 0.7);
  font-size: 1.1rem;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.footer-sns svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-sns a:hover {
  background: var(--terracotta);
  color: var(--text-light);
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* --- Page Header (sub pages) --- */
.page-header {
  padding: 8rem 0 3rem;
  background: linear-gradient(180deg, var(--moss-green-dark) 0%, var(--moss-green) 100%);
  text-align: center;
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--off-white));
}

.page-header h1 {
  font-family: "Caveat", cursive;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.page-header p {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.6);
  letter-spacing: 0.1em;
}

/* --- About Page --- */
.about-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  background-color: var(--beige);
}

.about-text h2 {
  font-family: "Caveat", cursive;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 1rem;
}

.about-history {
  max-width: 700px;
  margin: 3rem auto 0;
}

.about-history h2 {
  font-family: "Caveat", cursive;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}

.history-item {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-left: 2px solid var(--beige-dark);
  padding-left: 1.5rem;
  position: relative;
}

.history-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 1.3rem;
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
}

.history-year {
  font-family: "Caveat", cursive;
  font-size: 1.2rem;
  color: var(--moss-green);
  min-width: 60px;
  flex-shrink: 0;
}

.history-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- About Biography Timeline --- */
.about-biography {
  max-width: 800px;
  margin: 4rem auto 0;
}

.about-biography h2 {
  font-family: "Caveat", cursive;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.timeline {
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--terracotta), var(--beige-dark));
}

.timeline-item {
  display: flex;
  gap: 2rem;
  padding-bottom: 2rem;
  position: relative;
  align-items: flex-start;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--moss-green);
  min-width: 70px;
  text-align: right;
  flex-shrink: 0;
  line-height: 1.4;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 74px;
  top: 0.55rem;
  width: 14px;
  height: 14px;
  background: var(--off-white);
  border: 3px solid var(--terracotta);
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  padding-left: 1rem;
  padding-top: 0.1rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  /* 折り返した行は詰め、項目どうしは少し離して、1つの出来事のまとまりを分かりやすくする */
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

/* --- About Appearances --- */
.about-appearances {
  max-width: 800px;
  margin: 4rem auto 0;
}

.about-appearances h2 {
  font-family: "Caveat", cursive;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}

.appearance-category {
  font-family: "Caveat", cursive;
  font-size: 1.4rem;
  color: var(--moss-green);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--terracotta);
}

.appearance-list {
  padding-left: 1.5rem;
}

.appearance-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.45rem;
  position: relative;
  padding-left: 0.75rem;
}

.appearance-list li::before {
  content: "・";
  position: absolute;
  left: -0.25rem;
}

/* Awards / Tie-up：曲名と説明を2行に分けて読みやすくする */
.award-list li {
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.award-list li::before {
  top: 0;
}

.award-title {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
}

.award-detail {
  display: block;
  font-size: 0.82rem;
}

/* 日本語の文章を、言葉の途中で折り返さないためのかたまり */
.phrase {
  display: inline-block;
}

/* --- Movie Section --- */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.movie-item {
  text-align: center;
}

.movie-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--moss-green-dark);
  box-shadow: 0 4px 20px rgba(42, 53, 42, 0.15);
}

.movie-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.movie-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(250, 248, 245, 0.4);
}

.movie-placeholder span {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.movie-placeholder p {
  font-family: "Caveat", cursive;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.movie-caption {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  font-weight: 500;
}

/* --- Links Page --- */
.links-category {
  margin-bottom: 3rem;
}

.links-category h2 {
  font-family: "Caveat", cursive;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* SVG Icons inline */
.icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  fill: currentColor;
}

.nav-sns {
  display: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  /* Header */
  .menu-toggle {
    display: block;
  }

  /* スマホは全画面メニュー。位置ではなく透明度で切り替えて、動きを軽くする */
  .main-nav {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--off-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  /* メニューを開いている間もロゴと×ボタンは上に見せる */
  .header-logo {
    position: relative;
    z-index: 1001;
  }

  /* すりガラス効果はスマホでは重いので使わない。
     また、効果がかかっているとメニューがヘッダーの中に閉じ込められて全画面にならない */
  .site-header.scrolled {
    background-color: rgba(250, 248, 245, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.menu-open .site-header {
    box-shadow: none;
  }

  .main-nav a {
    font-size: 1.9rem;
    line-height: 1.2;
    padding: 0.35rem 1.6rem;
  }

  .nav-sns {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .main-nav .nav-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: var(--beige);
    color: var(--moss-green-dark);
  }

  .nav-sns svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42, 53, 42, 0.3);
    z-index: 999;
  }

  .nav-overlay.show {
    display: block;
  }

  /* Music detail */
  .music-detail-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .music-detail-jacket {
    max-width: 260px;
    margin: 0 auto;
  }

  .music-detail-tracklist ol {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
  }

  /* About */
  .about-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    max-width: 260px;
    margin: 0 auto;
  }

  .about-text p {
    text-align: left;
  }

  .about-content br {
    display: none;
  }

  /* Live */
  .live-item {
    gap: 1rem;
    padding: 1rem;
  }

  /* News */
  .news-item {
    flex-direction: column;
    gap: 0.3rem;
  }

  /* Music grid */
  .music-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Links */
  .links-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline::before {
    left: 16px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 2.5rem;
  }

  .timeline-year {
    text-align: left;
    min-width: auto;
  }

  .timeline-item::after {
    left: 10px;
    top: 0.4rem;
    width: 12px;
    height: 12px;
  }

  .timeline-content {
    padding-left: 0;
  }

  /* Movie */
  .movie-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .music-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-logo {
    width: 60vw;
  }
}

/* --- AOS override for smoother feel --- */
[data-aos] {
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

/* --- Placeholder images --- */
.placeholder-img {
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-green);
  font-size: 0.8rem;
}

/* --- Movie Thumbnail (click to play) --- */
.movie-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: var(--moss-green-dark);
  cursor: pointer;
}

.movie-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.movie-thumb:hover img,
.movie-thumb:focus-visible img {
  transform: scale(1.03);
  opacity: 0.85;
}

.movie-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(42, 53, 42, 0.75);
  color: var(--text-light);
  font-size: 1.5rem;
  transition: background-color var(--transition-fast);
}

.movie-thumb:hover .movie-play,
.movie-thumb:focus-visible .movie-play {
  background: var(--moss-green);
}

.movie-caption {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-block + .movie-block {
  margin-top: 3rem;
}

.movie-block .live-section-label {
  max-width: 1000px;
}
