/*
Theme Name: Tone Comics
Theme URI: https://tonecomics.jp
Author: ontembaar Inc.
Author URI: https://ontembaar.jp
Description: Tone Comics - 心に響くBLコミックスレーベルの公式WordPressテーマ。ピンクと白を基調とした女性向けの洗練されたデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tone-comics
Tags: blog, portfolio, custom-colors, custom-menu, featured-images, full-width-template, theme-options, translation-ready, one-column, two-columns
*/

/* ============================================
   Tone Comics - WordPress Theme Stylesheet
   Color Palette: Pink & White with Musical Motifs
   ============================================ */

/* CSS Variables */
:root {
  /* Primary Colors - From Logo */
  --primary: #4a4a4a;
  --primary-light: #666666;
  --primary-dark: #333333;
  
  /* Accent Colors - Pink from Logo */
  --accent: #F5A5B8;
  --accent-light: #FFD4DE;
  --accent-dark: #E88CA1;
  --accent-soft: rgba(245, 165, 184, 0.15);
  
  /* Background */
  --background: #ffffff;
  --background-pink: #FFF8FA;
  --background-soft: #FFFBFC;
  --background-gradient: linear-gradient(135deg, #FFF8FA 0%, #ffffff 50%, #FFF8FA 100%);
  
  /* Foreground */
  --foreground: #111;
  --foreground-muted: #111;
  --foreground-light: #aaaaaa;
  
  /* Border */
  --border: #f0e8eb;
  --border-dark: #e5dbe0;
  --border-pink: rgba(245, 165, 184, 0.3);
  
  /* Card */
  --card: #ffffff;
  --card-hover: #FFFBFC;
  
  /* Shadows */
  --shadow: 0 2px 12px rgba(245, 165, 184, 0.12);
  --shadow-lg: 0 8px 32px rgba(245, 165, 184, 0.18);
  --shadow-soft: 0 4px 20px rgba(74, 74, 74, 0.08);
  
  /* Effects */
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Loading Screen
   ============================================ */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(245, 165, 184, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(173, 216, 230, 0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 70%, rgba(200, 162, 200, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(173, 216, 230, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 60%, rgba(245, 165, 184, 0.4) 0%, transparent 40%),
    linear-gradient(135deg, #fff 0%, #fef6f8 25%, #e8f4f8 50%, #f5edf6 75%, #fff 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo-wrapper {
  position: relative;
  width: 400px;
  height: auto;
}

@media (min-width: 768px) {
  .loading-logo-wrapper {
    width: 560px;
  }
}

.loading-logo-bg,
.loading-logo-color {
  width: 100%;
}

.loading-logo-bg img,
.loading-logo-color img {
  width: 100%;
  height: auto;
  display: block;
}

.loading-logo-bg {
  filter: brightness(0) invert(1);
  opacity: 0.3;
}

.loading-logo-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  clip-path: inset(0 100% 0 0);
  animation: logoReveal 1.5s ease-out 0.3s forwards;
}

@keyframes logoReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* Body loading state */
body:not(.page-loaded) {
  overflow: hidden;
}

body.page-loaded .loading-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  html {
    font-size: 20px;
  }
}

body {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", -apple-system, BlinkMacSystemFont, sans-serif;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(245, 165, 184, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(173, 216, 230, 0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 70%, rgba(200, 162, 200, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(173, 216, 230, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 60%, rgba(245, 165, 184, 0.4) 0%, transparent 40%),
    linear-gradient(135deg, #fff 0%, #fef6f8 25%, #e8f4f8 50%, #f5edf6 75%, #fff 100%);
  background-attachment: fixed;
  color: var(--foreground);
  line-height: 1.8;
  font-weight: bold;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* TOPページ以外は背景を白に */
body:not(.home) {
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  opacity: 0.7;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  /* overflow-x: hidden; */
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.scroll-down {
  transform: translateY(-100%);
}

.header.scroll-up {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(245, 165, 184, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

@media (min-width: 1100px) {
  .logo img {
    height: 50px;
  }
}

/* Header Nav Wrapper */
.header-nav-wrapper {
  display: none;
  align-items: center;
  margin-left: auto;
}

@media (min-width: 1100px) {
  .header-nav-wrapper {
    display: flex;
  }
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: bold;
  color: var(--foreground);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  opacity: 1;
  color: var(--accent-dark);
}

/* Header Social Icons */
.header-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.5rem;
}

.header-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--background-pink);
  color: var(--primary);
  transition: all var(--transition);
}

.header-social-link:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.header-social-link svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu Button */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--foreground);
}

.menu-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

@media (min-width: 1100px) {
  .menu-btn {
    display: none;
  }
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  padding: 0.875rem 0;
  font-size: 0.9375rem;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}

/* ============================================
   Hero Slider
   ============================================ */
.hero {
  margin-top: 70px;
}

.hero-slider {
  position: relative;
  padding: 2rem 0 4rem;
  background: transparent;
  overflow: hidden;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px);
  opacity: 0.6;
  transform: scale(1);
  transition: background-image 0.8s ease, opacity 0.8s ease;
  z-index: 0;
}

.hero-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  overflow: visible;
  padding: 2rem 0;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-slider-wrapper {
    height: 600px;
  }
}

.slide {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.5s ease;
  opacity: 0;
  pointer-events: none;
}

.slide.active {
  position: relative;
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

.slide.prev,
.slide.next {
  opacity: 0.6;
  z-index: 5;
  pointer-events: auto;
}

.slide.prev {
  transform: translateX(-110%) scale(0.75);
}

.slide.next {
  transform: translateX(110%) scale(0.75);
}

.slide.far-prev {
  transform: translateX(-200%) scale(0.6);
  opacity: 0.3;
  z-index: 1;
}

.slide.far-next {
  transform: translateX(200%) scale(0.6);
  opacity: 0.3;
  z-index: 1;
}

@media (min-width: 768px) {
  .slide.prev {
    transform: translateX(-85%) scale(0.8);
  }
  
  .slide.next {
    transform: translateX(85%) scale(0.8);
  }
  
  .slide.far-prev {
    transform: translateX(-160%) scale(0.65);
  }
  
  .slide.far-next {
    transform: translateX(160%) scale(0.65);
  }
}

.slide-bg {
  display: none;
}

.slide-image {
  position: relative;
  z-index: 2;
  width: 180px;
}

@media (min-width: 768px) {
  .slide-image {
    width: 260px;
  }
}

@media (min-width: 1024px) {
  .slide-image {
    width: 300px;
  }
}

.slide-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.slide-overlay {
  text-align: center;
  padding: 1rem 0.5rem 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide.active .slide-overlay {
  opacity: 1;
}

.slide-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .slide-title {
    font-size: 1.5rem;
  }
}

.slide-author {
  font-size: 1rem;
  color: var(--foreground-muted);
}

.slide-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.slider-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  color: var(--primary);
}

.slider-btn.prev {
  left: 1rem;
}

.slider-btn.next {
  right: 1rem;
}

@media (min-width: 768px) {
  .slider-btn {
    width: 52px;
    height: 52px;
  }
  
  .slider-btn.prev {
    left: 2rem;
  }
  
  .slider-btn.next {
    right: 2rem;
  }
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

/* ============================================
   Brand Message Section
   ============================================ */
.brand-message-section {
  padding: 4rem 0;
  background: var(--background);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brand-message-section::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(245, 165, 184, 0.05) 50%,
    transparent 70%
  );
  animation: shimmer 8s ease-in-out infinite;
}

@media (min-width: 768px) {
  .brand-message-section {
    padding: 5rem 0;
  }
}

.brand-message-content {
  position: relative;
  z-index: 1;
}

.brand-message-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.brand-message-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .brand-message-title {
    font-size: 2.25rem;
  }
}

.brand-message-text {
  font-size: 0.9375rem;
  color: var(--foreground-muted);
  line-height: 2;
  margin-bottom: 1rem;
}

.brand-message-text:last-child {
  margin-bottom: 0;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 8rem 0 4rem!important;
  background: transparent;
}

/* Genre Section Styles */
.genre-section {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.genre-section .container {
  position: relative;
  overflow: initial;
}

/* White content box wrapper */
.genre-section .section-content-box {
  background: #fff;
  border-radius: 0;
  padding: 120px 2rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

@media (min-width: 768px) {
  .genre-section .section-content-box {
    padding: 120px 2.5rem 2.5rem;
    border-radius: 0;
  }
}

/* Section Header with Bubble Style */
.section-header-bubble {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.section-header-bg {
  background: #fff;
  border-radius: 50%;
  padding: 20px 0 0;
  text-align: center;
  box-shadow: none;
  margin-bottom: 0;
  position: relative;
  width: 240px;
}

@media (min-width: 768px) {
  .section-header-bg {
    width: 360px;
  }
}

.section-header-bg .section-icon {
  margin-bottom: 0.125rem;
  opacity: 1;
  width: 48px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 10px;
}

.section-header-bg .section-label {
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.section-header-bg .section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--foreground);
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  padding-top: 10px;
  line-height: 1;
}

.section-header-bg .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .section-header-bg {
    padding: 40px 0px 0;
  }
  
  .section-header-bg .section-icon {
    width: 60px;
    height: auto;
    opacity: 1;
    margin: 0 auto 10px;
  }
  
  .section-header-bg .section-label {
    font-size: 0.6875rem;
  }
  
  .section-header-bg .section-title {
    font-size: 2.25rem;
  }
  
  .section-header-bg .section-title::after {
    width: 40px;
  }
}

/* News Section */
.section-news {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.section-news .container {
  overflow: initial;
}

.section-news .section-content-box {
  background: #fff;
  border-radius: 0;
  padding: 4rem 2rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

@media (min-width: 768px) {
  .section-news .section-content-box {
    padding: 5rem 2.5rem 2.5rem;
    border-radius: 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3rem;
  }
}

.section-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 1px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
}

.section-more {
  text-align: center;
  margin-top: 2.5rem;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--accent-dark);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 50px;
  transition: all var(--transition);
}

.more-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 165, 184, 0.35);
}

.more-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   Comics Grid
   ============================================ */
.comics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .comics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .comics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.comic-card {
  display: block;
  background: var(--card);
  border-radius: 0;
  overflow: hidden;
  transition: opacity 0.3s ease;
  position: relative;
}

.comic-card:hover {
  opacity: 0.7;
}

.comic-card-image {
  position: relative;
  overflow: hidden;
  background: var(--background-pink);
  border-radius: 0;
  aspect-ratio: 3 / 4;
}

.comic-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.comic-card-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  padding: 0.875rem 0.75rem 0.25rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.comic-card-author {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  padding: 0 0.75rem 0.5rem;
}

.comic-card-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--accent-dark);
  padding: 0.5rem 0.75rem 0.875rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.comic-card-link svg {
  width: 12px;
  height: 12px;
}

/* ============================================
   Ebook Section
   ============================================ */
.ebook-section {
  background: var(--background-pink);
}

.ebook-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .ebook-card {
    flex-direction: row;
    align-items: center;
  }
}

.ebook-card-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

@media (min-width: 768px) {
  .ebook-card-image {
    width: 280px;
    flex-shrink: 0;
  }
}

.ebook-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ebook-card-content {
  padding: 1.5rem;
  flex: 1;
}

@media (min-width: 768px) {
  .ebook-card-content {
    padding: 2rem 2.5rem;
  }
}

.ebook-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: bold;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.ebook-card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.ebook-card-author {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  margin-bottom: 0.5rem;
}

.ebook-card-date {
  font-size: 0.8125rem;
  color: var(--foreground-light);
  margin-bottom: 1.25rem;
}

.ebook-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================
   Detail Actions - Enhanced Design
   ============================================ */
.detail-actions-wrapper {
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #fff9fb 0%, #fff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 121, 149, 0.15);
  box-shadow: 0 4px 20px rgba(232, 121, 149, 0.08);
  max-width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .detail-actions-wrapper {
    padding: 2rem;
  }
}

.detail-actions-main {
  margin-bottom: 2rem;
}

.detail-actions-main .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary) 0%, #3d3d3d 100%);
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

@media (min-width: 768px) {
  .detail-actions-main .btn-primary {
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
  }
}

.detail-actions-main .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.detail-actions-main .btn-primary:hover::before {
  left: 100%;
}

.detail-actions-main .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.detail-actions-main .btn-primary svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Ebook Store Section - Enhanced */
.ebook-store-section {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 121, 149, 0.15);
}

.ebook-store-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1rem;
}

.ebook-store-label svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--accent);
}

.ebook-store-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 100%;
}

@media (max-width: 767px) {
  .ebook-store-grid {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.ebook-store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--primary);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

@media (max-width: 767px) {
  .ebook-store-link {
    width: 100%;
    justify-content: center;
  }
}

.ebook-store-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #e8a5b8 100%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  border-radius: 50px;
}

.ebook-store-link span {
  position: relative;
  z-index: 1;
}

.ebook-store-link svg {
  width: 1rem;
  height: 1rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ebook-store-link:hover {
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 121, 149, 0.25);
}

.ebook-store-link:hover::before {
  width: 100%;
}

.ebook-store-link:hover svg {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   News Section
   ============================================ */
.news-list {
  max-width: 100%;
}

.news-item {
  border-bottom: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover {
  transform: translateX(8px);
  background: var(--background-pink);
  border-left: 3px solid var(--accent);
}

.news-item a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 1.25rem 0;
}

@media (min-width: 768px) {
  .news-item a {
    flex-wrap: nowrap;
    padding: 1.5rem 0;
    padding-left: 1.5rem;
  }
}

.news-date {
  font-size: 0.8125rem;
  color: var(--foreground-muted);
  font-family: "Inter", sans-serif;
}

.news-category {
  font-size: 0.6875rem;
  font-weight: bold;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
}

.news-title {
  width: 100%;
  font-size: 0.9375rem;
  font-weight: bold;
  color: var(--primary);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .news-title {
    width: auto;
    flex: 1;
  }
}

/* ============================================
   Company Section
   ============================================ */
.company-section {
  padding: 4rem 0;
  background: var(--background-pink);
}

@media (min-width: 768px) {
  .company-section {
    padding: 5rem 0;
  }
}

.company-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .company-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.company-table table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--border);
}

.company-table th,
.company-table td {
  padding: 1rem 0;
  text-align: left;
  vertical-align: top;
  font-size: 0.875rem;
}

.company-table th {
  width: 30%;
  background: #ffffff !important;
  padding: 1rem 0;
  padding-left: 1.5rem;
  color: var(--foreground-muted);
  vertical-align: top;
  border-bottom: solid 1px #ee87b4;
  font-weight: bold;
}

.company-table td {
  color: var(--primary);
  line-height: 1.7;
  padding-left: 16px;
  border-bottom: solid 1px #ee87b4;
}

.company-en {
  font-size: 0.8125rem;
  color: var(--foreground-muted);
}

.company-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}

.company-map iframe {
  display: block;
  height: calc(100% - 58px);
}

.map-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
  transition: all var(--transition);
}

.map-link-btn:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}

.map-link-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   Social Section
   ============================================ */
.social-section {
  
  overflow: hidden;
  background: #000000;
  text-align: center;
}

/* X Section - Black background */
.social-section-x {
  background: #000000;
}

.social-section-x .social-label,
.social-section-x .social-handle {
  color: #ffffff;
}

/* TikTok Section - White background */
.social-section-tiktok {
  background: #ffffff;
}

.social-section-tiktok .social-label {
  color: var(--primary);
}

.social-section-tiktok .social-handle {
  color: var(--primary);
}

.social-section-tiktok .social-handle:hover {
  color: var(--accent);
}

.social-section-tiktok .social-bg-image {
  opacity: 0.15;
}

.social-content {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}

.social-bg-image {
  position: absolute;
  top: calc(50% - 150px);
  z-index: -1;
  /* width: 300px; */
  height: 300px;
  width: 300px;
  object-fit: contain;
  opacity: 0.3;
}

.social-bg-image.left {
  left: 0;
}

.social-bg-image.right {
  right: 0;
}

.social-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.social-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: bold;
  color: #ffffff;
}

.social-handle svg {
  width: 24px;
  height: 24px;
}

.social-handle:hover {
  color: var(--accent);
  opacity: 1;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: #ffffff;
  color: var(--foreground);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.footer::before {
  display: none;
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 45px;
  width: auto;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--foreground);
  line-height: 2;
  margin-top: 0.75rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--background-pink);
  color: var(--primary);
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-nav h4 {
  font-size: 0.8125rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: var(--foreground-muted);
  transition: color var(--transition);
  position: relative;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-nav a:hover {
  color: var(--accent-dark);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--foreground-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--foreground-muted);
}

.footer-links a:hover {
  color: var(--accent-dark);
  opacity: 1;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  padding: 6rem 0;
  margin-top: 70px;
  text-align: center;
  position: relative;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(245, 165, 184, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(173, 216, 230, 0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 70%, rgba(200, 162, 200, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(173, 216, 230, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 60%, rgba(245, 165, 184, 0.4) 0%, transparent 40%),
    linear-gradient(135deg, #fff 0%, #fef6f8 25%, #e8f4f8 50%, #f5edf6 75%, #fff 100%);
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--primary);
}

@media (min-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
}

/* Breadcrumb */
.breadcrumb {
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(245, 165, 184, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(173, 216, 230, 0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 70%, rgba(200, 162, 200, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(173, 216, 230, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 60%, rgba(245, 165, 184, 0.4) 0%, transparent 40%),
    linear-gradient(135deg, #fff 0%, #fef6f8 25%, #e8f4f8 50%, #f5edf6 75%, #fff 100%);
  padding: 1rem 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumb nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: var(--foreground-muted);
}

.breadcrumb a:hover {
  color: var(--accent-dark);
  opacity: 1;
}

.breadcrumb .separator {
  color: var(--foreground-light);
}

.breadcrumb .current {
  color: var(--primary);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 165, 184, 0.4);
  opacity: 1;
}

.btn:active {
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border-dark);
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ============================================
   Detail Section
   ============================================ */
.detail-section {
  padding: 3rem 0;
  padding-top: 80px;
}

@media (min-width: 768px) {
  .detail-section {
    padding: 4rem 0;
    padding-top: 80px;
  }
}

/* detail-section内のcontainerはoverflowを解除してstickyを有効に */
.detail-section .container {
  overflow: visible;
}

.detail-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.detail-image {
  position: relative;
  max-width: 100%;
}

@media (min-width: 768px) {
  .detail-image {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

.detail-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.detail-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.6875rem;
  font-weight: bold;
  color: #fff;
  background: var(--accent);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
}

.detail-content {
  padding: 1rem 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.detail-content iframe {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.detail-content p {
  padding-bottom: 1rem;
}

.detail-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .detail-title {
    font-size: 1.75rem;
  }
}

/* Author Tags */
.detail-author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.author-tag {
  font-size: 0.8125rem;
  color: var(--accent-dark);
  background: var(--background-pink);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
}

.author-tag:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.detail-tag {
  font-size: 0.75rem;
  color: var(--foreground-muted);
  background: var(--background-pink);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

.detail-meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.detail-description {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.detail-description h2 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.detail-description p {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.9;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.detail-actions {
  margin-top: 2rem;
}

/* Related Section */
.related-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.related-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Back Link */
.back-link {
  margin-top: 3rem;
}

.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

.back-link a:hover {
  color: var(--accent-dark);
  opacity: 1;
}

.back-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   Article Styles
   ============================================ */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.article-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 1.75rem;
  }
}

.article-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-image img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.article-body {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 2;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  position: relative;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.article-body strong {
  font-weight: bold;
  color: var(--primary);
}

/* Share Section */
.share-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.share-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--foreground-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--background-pink);
  color: var(--primary);
  transition: all var(--transition);
}

.share-btn:hover {
  background: var(--primary);
  color: #fff;
  opacity: 1;
}

.share-btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   About Page
   ============================================ */
.about-hero {
  text-align: center;
  padding: 2rem 0;
}

.about-tagline {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-tagline {
    font-size: 2rem;
  }
}

.about-desc {
  max-width: 600px;
  margin: 0 auto;
}

.about-desc p {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 2;
  margin-bottom: 0.5rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--accent-soft);
  border-radius: 50%;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  color: var(--accent-dark);
}

.feature-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  line-height: 1.7;
}

/* Brand Section */
.brand-section {
  padding: 4rem 0;
  background: var(--background-pink);
}

.brand-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.brand-logo {
  margin-bottom: 1.5rem;
}

.brand-logo img {
  height: 60px;
  width: auto;
  margin: 0 auto;
}

.brand-desc {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.9;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background: #f6a6b8;
  text-align: center;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 0.9375rem;
  color: #fff;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-buttons .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.cta-buttons .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}

.cta-buttons .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.cta-buttons .btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-intro p {
  font-size: 0.9375rem;
  color: var(--foreground-muted);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.required {
  color: var(--accent-dark);
  margin-left: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 165, 184, 0.2), var(--shadow);
  transform: scale(1.01);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-checkbox label {
  font-size: 0.875rem;
  color: var(--foreground);
}

.form-checkbox a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.form-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--foreground-muted);
  line-height: 1.7;
  text-align: center;
}

/* ============================================
   Company Page
   ============================================ */
.company-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.company-intro p {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.9;
}

.company-contact {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--background-pink);
  border-radius: var(--radius-lg);
  text-align: center;
}

.company-contact h3 {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.company-contact p {
  font-size: 0.9375rem;
  color: var(--foreground-muted);
  margin-bottom: 1.5rem;
}

.company-contact-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================
   Privacy Policy Page
   ============================================ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-date {
  font-size: 0.8125rem;
  color: var(--foreground-muted);
  margin-bottom: 1.5rem;
}

.privacy-intro {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.privacy-section {
  margin-bottom: 2rem;
}

.privacy-section h2 {
  font-size: 1.0625rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.privacy-section p {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.privacy-section ul {
  padding-left: 1.5rem;
}

.privacy-section li {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.8;
  margin-bottom: 0.5rem;
  position: relative;
}

.privacy-section li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.privacy-contact {
  margin-top: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--background-pink);
  border-radius: var(--radius);
}

.privacy-contact p {
  margin: 0;
  font-size: 0.875rem;
}

.privacy-contact a {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* ============================================
   Utilities
   ============================================ */
.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md-block {
    display: block;
  }
}

/* ============================================
   Rich Animations
   ============================================ */

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes borderGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(245, 165, 184, 0.3); }
  50% { box-shadow: 0 0 20px rgba(245, 165, 184, 0.6); }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Scroll Animation Classes - Initial State */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
}

.animate-on-scroll.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
}

.animate-on-scroll.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
}

/* Mobile - reduce animation distance to prevent overflow */
@media (max-width: 767px) {
  .animate-on-scroll.fade-in-left {
    transform: translateX(-15px);
  }
  
  .animate-on-scroll.fade-in-right {
    transform: translateX(15px);
  }
  
  .animate-on-scroll.fade-in-up {
    transform: translateY(20px);
  }
}

.animate-on-scroll.scale-in {
  opacity: 0;
  transform: scale(0.8);
}

/* Scroll Animation Classes - Animated State */
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) rotate(0);
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 10001;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s ease;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   WordPress Specific
   ============================================ */
.wp-block-image img {
  height: auto;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================
   404 Page
   ============================================ */
.error-404-content {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.error-404-icon {
  margin-bottom: 2rem;
  color: var(--accent);
}

.error-404-icon svg {
  opacity: 0.6;
}

.error-404-message {
  font-size: 1rem;
  color: var(--foreground-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.error-404-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .error-404-actions {
    flex-direction: row;
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.pagination a {
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
}

.pagination a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
  opacity: 1;
}

.pagination .current {
  background: var(--accent);
  color: #fff;
}

/* Admin Bar Adjustment */
body.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}
