:root {
  --color-primary: #333333;
  --color-secondary: #E8F1F6;
  --color-accent: #FF9966;
  --color-rose-gold: #D4A574;
  --color-gold: #C9A961;
  --color-champagne: #F7E7CE;
  --color-background: #f2f9fd;
  --color-text: #222222;
  --color-text-light: #666666;
  --color-link: #FF9966;
  --color-card-bg: #FFFFFF;
  --color-section-1: #E3EDF5;
  --color-section-2: #FFFFFF;
  --color-section-3: #E8F1F6;
  --color-section-4: #FFFFFF;
  --color-section-5: #E3EDF5;
  --font-serif: "Playfair Display", "Noto Serif JP", "游明朝", serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Crimson Text", "Noto Serif JP", "游明朝", serif;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-gold: rgba(201, 169, 97, 0.3);
  --border-color: #FF9966;
  --section-spacing: 6rem;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Crimson+Text:wght@400;600&family=Great+Vibes&family=Noto+Serif+JP:wght@300;400;500;600&display=swap');

/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-background);
  letter-spacing: 0.03em;
  font-size: 16px;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E8F1F6 0%, #FFE5D9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.loading-rings {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.ring {
  position: absolute;
  border: 3px solid transparent;
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.ring:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 0;
  left: 0;
}

.ring:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  animation-delay: 0.3s;
  border-top-color: #9C8374;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Page Top Button */
.page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-rose-gold), var(--color-gold));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-top.visible {
  opacity: 1;
  visibility: visible;
}

.page-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-gold);
}

.page-top::before {
  content: '↑';
  color: white;
  font-size: 24px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

.loading-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-primary);
  letter-spacing: 0.2em;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
  box-sizing: border-box;
}

.section.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 599px) {
  .container {
    padding: 1rem;
  }
  
  .section.container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-title span {
    font-size: 0.75rem;
  }
  
  :root {
    --section-spacing: 4rem;
  }
}

.site-header {
  background: var(--color-card-bg);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(26, 59, 75, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem;
}

@media (max-width: 599px) {
  .header-inner {
    padding: 0.8rem 1rem;
  }
}

.site-title {
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: bold;
  letter-spacing: 0.05em;
}

.site-title .date {
  color: var(--color-accent);
  margin-left: 0.5rem;
  font-weight: normal;
}

.site-nav {
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.site-nav a {
  padding: 0.4rem 0.6rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-link);
}

.site-nav a.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  margin-top: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.site-nav a.active::after {
  transform: scaleX(1);
}

main {
  margin-top: 4rem;
}

.hero {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
  height: calc(100vh - 4rem);
  min-height: 480px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.1);
  transition: transform 0.3s ease-out;
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  padding: 0 1rem;
  width: 90%;
  max-width: 600px;
}

.hero-content h2 {
  font-family: var(--font-script);
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-weight: 400;
}

.hero-date {
  font-family: var(--font-script);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.section {
  padding: var(--section-spacing) 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  transition: background-color 0.3s ease;
}

.section:not(#hero) {
  position: relative;
  z-index: 1;
}

#seating {
  background: linear-gradient(135deg, var(--color-section-1) 0%, rgba(247, 231, 206, 0.3) 100%);
}

#menu {
  background: linear-gradient(135deg, var(--color-section-2) 0%, rgba(255, 255, 255, 0.8) 100%);
}

#profile {
  background: linear-gradient(135deg, var(--color-section-3) 0%, rgba(212, 165, 116, 0.1) 100%);
}

#qa {
  background: linear-gradient(135deg, var(--color-section-4) 0%, rgba(255, 255, 255, 0.8) 100%);
}

#history {
  background: linear-gradient(135deg, var(--color-section-5) 0%, rgba(247, 231, 206, 0.3) 100%);
}

#photos, #endroll {
  background: linear-gradient(135deg, var(--color-section-1) 0%, rgba(201, 169, 97, 0.08) 100%);
}

.section:not(#hero)::before {
  content: '❀ ✿ ❀';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-rose-gold);
  font-size: 1.2rem;
  letter-spacing: 1rem;
  opacity: 0.4;
  z-index: 1;
}

.section:not(#hero)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-rose-gold), var(--color-gold), var(--color-rose-gold), transparent);
  opacity: 0.3;
  z-index: 1;
}

.profile {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.profile-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  margin-bottom: 1.5rem;
  animation: shimmer 2s infinite;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 153, 102, 0.15);
}

.profile-image.loaded {
  animation: none;
  background: none;
}

.profile h4 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 1rem;
}

.profile h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.two-column .person {
  text-align: center;
}

.menu-list {
  list-style: none;
  max-width: 500px;
  margin: 2rem auto;
}

.menu-list li {
  padding: 1rem;
  border-bottom: 1px dashed var(--color-secondary);
  text-align: center;
}

.seating-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0.5rem;
  background: var(--color-card-bg);
  box-shadow: 0 4px 12px rgba(26, 59, 75, 0.15);
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.seating-table th,
.seating-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-secondary);
}

details {
  margin: 1rem 0;
  padding: 1rem;
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

summary {
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem 0;
  color: var(--color-primary);
}

details p {
  margin-top: 1rem;
  padding: 1rem;
  background: transparent;
  border-radius: 4px;
}

#history ol {
  max-width: 500px;
  margin: 2rem auto;
  list-style: none;
  position: relative;
}

#history li {
  margin: 2rem 0;
  padding-left: 2rem;
  position: relative;
}

#history li:before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.4rem;
}

.site-footer {
  background: white;
  padding: 2rem 0;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
    filter: blur(10px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes scrollLine {
  0% { 
    height: 0; 
    opacity: 0;
  }
  50% { 
    height: 30px; 
    opacity: 1;
  }
  100% { 
    height: 0; 
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s ease-out 0.3s forwards;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.nav-toggle {
  display: block;
  position: relative;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 30;
}

.nav-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-primary);
  left: 0;
  transition: transform 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 10;
}

.scroll-text {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 10px;
  letter-spacing: 0.2em;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 0;
  background: #fff;
  margin: 0 auto;
  animation: scrollLine 2s ease-out infinite;
  box-shadow: 0 0 8px rgba(255,153,102,0.3);
}

/* Section titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.section-title::before {
  content: '✦';
  display: block;
  color: var(--color-rose-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-rose-gold), var(--color-gold), transparent);
  margin: 1rem auto 0;
  opacity: 0.7;
}

.section-title span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  letter-spacing: 0.15em;
  font-weight: 400;
}

/* Profile details */
.profile-details {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.detail-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 165, 116, 0.15);
  transition: all 0.3s ease;
}

.detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.detail-item:hover {
  padding-left: 0.5rem;
  border-bottom-color: rgba(212, 165, 116, 0.4);
  background: linear-gradient(90deg, rgba(247, 231, 206, 0.3), transparent);
  border-radius: 4px;
}

.detail-item dt {
  min-width: 120px;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.detail-item dd {
  flex: 1;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Media queries */
@media(max-width: 899px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 2rem;
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
  }
  
  .site-nav.is-open {
    transform: translateX(-100%);
  }
  
  .nav-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-secondary);
  }
}

/* Larger screens */
@media(min-width:900px) {
  .container {
    max-width: 980px;
  }
  
  .site-nav {
    gap: 1.5rem;
    font-size: 0.9rem;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .two-column {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .profile-image-wrap {
    position: relative;
    margin-bottom: 2rem;
  }
  
  .profile-image-wrap::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    background: rgba(156, 131, 116, 0.1);
    border-radius: 50%;
    z-index: -1;
  }
}

/* Timeline styles */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-rose-gold), var(--color-gold));
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  margin-left: auto;
  padding-right: 0;
  padding-left: 2rem;
}

.timeline-date {
  position: absolute;
  top: 0;
  right: -3.5rem;
  text-align: center;
  width: 7rem;
}

.timeline-item:nth-child(even) .timeline-date {
  right: auto;
  left: -3.5rem;
}

.timeline-date .year {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--color-rose-gold), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.timeline-date .month {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.timeline-content {
  background: var(--color-card-bg);
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(26, 59, 75, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.timeline-image-wrap {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.timeline-item:hover .timeline-image {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.timeline-content h4 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 1.1rem;
  border-left: 3px solid var(--color-accent);
  padding-left: 0.8rem;
}

/* Menu styles */
.menu-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.menu-course h4,
.menu-drinks h4 {
  text-align: center;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.menu-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
}

.menu-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
  font-weight: bold;
  position: relative;
}

.menu-title::before,
.menu-title::after {
  content: '―';
  color: var(--color-accent);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.menu-title::before {
  left: -1.5rem;
}

.menu-title::after {
  right: -1.5rem;
}

.menu-detail {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.drinks-list {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.drink-category h5 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  margin-bottom: 0.8rem;
  text-align: center;
}

.drink-category ul {
  list-style: none;
  text-align: center;
}

.drink-category li {
  margin: 0.5rem 0;
  color: var(--color-text-light);
}

.menu-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 2rem;
}

/* Q&A styles */
.qa-grid {
  display: grid;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.qa-item {
  background: var(--color-card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
  margin: 0 0.5rem;
  border: 1px solid var(--color-secondary);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.qa-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.qa-item summary {
  position: relative;
  padding: 1.2rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

.qa-item summary::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.qa-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.qa-content {
  padding: 0 1.2rem 1.2rem;
  background: transparent;
}

.qa-person {
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-champagne) 0%, #FFFFFF 100%);
  border: 1px solid rgba(212, 165, 116, 0.2);
}

.qa-person.groom {
  margin-right: 2rem;
  background: linear-gradient(135deg, #F7E7CE 0%, #FFFFFF 100%);
}

.qa-person.bride {
  margin-left: 2rem;
  background: linear-gradient(135deg, #FFE5D9 0%, #FFFFFF 100%);
}

.qa-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-family: var(--font-serif);
  font-weight: bold;
  color: var(--color-rose-gold);
}

.qa-person p {
  margin: 0;
  line-height: 1.8;
}

.qa-item {
  margin-bottom: 1.5rem;
}

.qa-item summary {
  font-size: 1.1rem;
  position: relative;
  cursor: pointer;
  padding: 1.5rem;
  font-weight: bold;
  list-style: none;
  transition: color 0.3s ease;
}

.qa-item[open] summary {
  color: var(--color-text);
}

@media (max-width: 599px) {
  .qa-person {
    padding: 3rem 1rem 1rem;
    margin: 1rem 0;
  }
  
  .qa-person.groom,
  .qa-person.bride {
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Timeline mobile adjustments */
  .timeline {
    padding: 1rem 0;
  }
  
  .timeline::before {
    left: 1.5rem;
  }
  
  .timeline-item {
    width: 100%;
    padding-right: 0;
    padding-left: 4rem;
    margin-bottom: 2rem;
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 4rem;
    padding-right: 0;
  }
  
  .timeline-date {
    position: relative;
    right: auto;
    left: auto;
    width: auto;
    text-align: left;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }
  
  .timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: auto;
  }
  
  .timeline-date .year {
    font-size: 1.5rem;
  }
  
  .timeline-date .month {
    font-size: 0.85rem;
  }
  
  .timeline-content {
    padding: 1rem 1.2rem;
  }
  
  .timeline-content h4 {
    font-size: 1rem;
  }
}

.qa-tips {
  list-style: none;
  margin-top: 1rem;
  padding-left: 1rem;
}

.qa-tips li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.qa-tips li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

@media(min-width: 900px) {
  .menu-grid {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
  }
  
  .drinks-list {
    grid-template-columns: 1fr 1fr;
  }
  
  .timeline-content {
    transition: transform 0.3s ease;
  }
  
  .timeline-item:hover .timeline-content {
    transform: translateY(-5px);
  }
}

/* Print styles */
@media print {
  .site-header {
    position: static;
  }
  
  .nav-toggle,
  .scroll-hint {
    display: none;
  }
  
  .hero {
    height: auto;
    min-height: 0;
  }
  
  .hero-image {
    height: auto;
  }
  
  .section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Welcome Section */
.welcome-section {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.welcome-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.welcome-icon {
  margin-bottom: 1.5rem;
  animation: heartbeat 1.5s ease-in-out infinite;
  text-align: center;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  10%, 30% {
    transform: scale(0.9);
  }
  20%, 40% {
    transform: scale(1.1);
  }
}

/* Couple Monogram */
.couple-monogram {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.monogram-letter {
  font-family: var(--font-script);
  font-size: 5rem;
  background: linear-gradient(135deg, var(--color-rose-gold), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(212, 165, 116, 0.3);
  filter: drop-shadow(0 2px 4px rgba(212, 165, 116, 0.2));
  animation: monogramGlow 3s ease-in-out infinite;
}

.monogram-ampersand {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.6;
  margin: 0 0.3rem;
}

@keyframes monogramGlow {
  0%, 100% {
    filter: drop-shadow(0 2px 4px rgba(212, 165, 116, 0.2));
  }
  50% {
    filter: drop-shadow(0 4px 12px rgba(212, 165, 116, 0.4));
  }
}

.welcome-title {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-align: center;
  font-weight: 400;
}

.welcome-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
  text-align: center;
}

.welcome-message {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.2);
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--color-rose-gold), var(--color-gold), var(--color-rose-gold)) 1;
  margin-bottom: 3rem;
  position: relative;
}

.welcome-message::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--color-rose-gold), var(--color-gold));
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
}

.welcome-message p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.welcome-message p:last-of-type {
  margin-bottom: 2rem;
}

.pc-only {
  display: inline;
}

@media (max-width: 599px) {
  .pc-only {
    display: none;
  }
  
  .hero-date {
    font-size: 1.4rem;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .welcome-title {
    font-size: 2.5rem;
  }
  
  .couple-monogram {
    margin-bottom: 1.5rem;
  }
  
  .monogram-letter {
    font-size: 3.5rem;
  }
  
  .monogram-ampersand {
    font-size: 2rem;
  }
  
  .welcome-message {
    padding: 2rem 1.5rem;
  }
}

.signature {
  text-align: right;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 153, 102, 0.3);
}

.signature-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.15em;
}

.signature-date {
  font-size: 0.9rem;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
}

/* Section Intro */
.section-intro {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* Photo Gallery */
.photo-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-tab {
  padding: 0.8rem 1.8rem;
  background: transparent;
  border: 2px solid var(--color-accent);
  border-radius: 25px;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.category-tab:hover {
  background: rgba(255, 153, 102, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 153, 102, 0.2);
}

.category-tab.active {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 153, 102, 0.3);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 300px;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  padding: 12px 12px 50px 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
  transform: rotate(0deg);
}

.photo-item:nth-child(3n+1) {
  transform: rotate(-2deg);
}

.photo-item:nth-child(3n+2) {
  transform: rotate(1deg);
}

.photo-item:nth-child(3n+3) {
  transform: rotate(-1deg);
}

.photo-item:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.photo-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Crimson Text', serif;
  font-size: 0.9rem;
  color: #666;
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* マスキングテープ風装飾 */
.photo-item::before {
  position: absolute;
  z-index: 20;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.photo-item:nth-child(3n+1)::before {
  content: '';
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 25px;
  background: rgba(255, 220, 100, 0.75);
}

.photo-item:nth-child(3n+2)::before {
  content: '';
  top: -10px;
  right: 10px;
  width: 60px;
  height: 25px;
  background: rgba(255, 180, 180, 0.75);
  transform: rotate(15deg);
}

.photo-item:nth-child(3n+3)::before {
  content: '';
  top: -10px;
  left: 10px;
  width: 60px;
  height: 25px;
  background: rgba(150, 200, 255, 0.75);
  transform: rotate(-15deg);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
  display: block;
}

.photo-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: visible;
}

.photo-image-wrapper img {
  border-radius: 2px;
}

.photo-item:hover .gallery-image {
  filter: brightness(1.05) saturate(1.15) contrast(1.05);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-icon {
  font-size: 3rem;
  color: white;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.photo-item:hover .photo-icon {
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1.0);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.lightbox-content.slide-left {
  animation: slideFromRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-content.slide-right {
  animation: slideFromLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 32px;
  padding: 16px 24px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-accent);
  transform: scale(1.1);
}

@media (max-width: 599px) {
  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
    gap: 1.5rem;
  }
  
  .photo-item {
    padding: 10px 10px 10px 10px;
  }
  
  .photo-item::after {
    bottom: 15px;
    font-size: 0.8rem;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 32px;
    width: 45px;
    height: 45px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    font-size: 24px;
    padding: 12px 16px;
  }
}

/* Trivia Section */
.trivia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.trivia-card {
  background: var(--color-card-bg);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(26, 59, 75, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.trivia-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #FFB6A3);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.trivia-card:hover::before {
  transform: scaleX(1);
}

.trivia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(255, 153, 102, 0.2);
  border-color: rgba(255, 153, 102, 0.3);
}

.trivia-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.trivia-card:hover .trivia-icon {
  animation: spin 0.6s ease-in-out;
}

@keyframes spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.trivia-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: bold;
}

.trivia-card p {
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .trivia-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
