/*
Theme Name: Shonan Creative
Theme URI: https://shonan-creative.jp
Author: Kaz
Author URI: https://shonan-creative.jp
Description: 湘南発のライフスタイル・テックブログ「Shonan Creative」のカスタムテーマ。カメラ・映像機材、湘南ライフスタイル、テック・ガジェット、クリエイティブをテーマにした明るくモダンなデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: shonan-creative
Tags: blog, lifestyle, responsive, one-column, two-columns, custom-menu, featured-images, theme-options
*/

/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
  --color-bg: #ffffff;
  --color-bg-secondary: #f8fafb;
  --color-bg-card: #ffffff;
  --color-text: #1a1a2e;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-accent: #0D9488;
  --color-accent-hover: #0f766e;
  --color-accent-light: #ccfbf1;
  --color-accent-bg: #f0fdfa;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-shadow: rgba(0, 0, 0, 0.06);
  --color-shadow-hover: rgba(13, 148, 136, 0.12);
  --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Noto Sans JP', sans-serif;
  --max-width: 1200px;
  --max-width-narrow: 780px;
  --header-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

/* ========================================
   Layout
   ======================================== */
.site-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.content-area {
  flex: 1;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-title a {
  color: var(--color-text);
}

.site-title a:hover {
  color: var(--color-accent);
}

.site-description {
  display: none;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

.main-navigation a {
  display: block;
  padding: 8px 16px;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--color-accent);
  background: var(--color-accent-bg);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-text);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: var(--transition);
}

/* ========================================
   Hero Section (Front Page)
   ======================================== */
.hero-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0D9488 0%, #06b6d4 50%, #0ea5e9 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.08)" d="M0,192L48,181.3C96,171,192,149,288,165.3C384,181,480,235,576,234.7C672,235,768,181,864,176C960,171,1056,213,1152,229.3C1248,245,1344,235,1392,229.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
  background-size: cover;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 80px 0;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--color-white);
  color: var(--color-accent);
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--color-accent-hover);
}

/* ========================================
   Section Headings
   ======================================== */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ========================================
   Post Cards
   ======================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.post-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--color-shadow-hover);
  border-color: transparent;
}

.post-card__thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.post-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card__thumbnail img {
  transform: scale(1.05);
}

.post-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.post-card__body {
  padding: 24px;
}

.post-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

.post-card__title a {
  color: var(--color-text);
}

.post-card__title a:hover {
  color: var(--color-accent);
}

.post-card__excerpt {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.post-card__meta svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
}

/* Featured Post (large) */
.post-card--featured {
  grid-column: 1 / -1;
}

.post-card--featured .post-card__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.post-card--featured .post-card__thumbnail {
  aspect-ratio: auto;
  min-height: 320px;
}

.post-card--featured .post-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.post-card--featured .post-card__title {
  font-size: 1.5rem;
}

/* ========================================
   Category Section (Front Page)
   ======================================== */
.category-section {
  padding: 80px 0;
}

.category-section--alt {
  background: var(--color-bg-secondary);
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.category-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px var(--color-shadow-hover);
  transform: translateY(-4px);
}

.category-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-bg);
  border-radius: 50%;
  font-size: 1.5rem;
}

.category-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-card__count {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ========================================
   Latest Posts Section
   ======================================== */
.latest-section {
  padding: 80px 0;
}

/* ========================================
   About Section (Front Page)
   ======================================== */
.about-section {
  padding: 80px 0;
  background: var(--color-bg-secondary);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-text h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

/* ========================================
   Single Post
   ======================================== */
.single-header {
  padding: 48px 0 32px;
  text-align: center;
}

.single-header__category {
  display: inline-block;
  padding: 4px 16px;
  background: var(--color-accent-bg);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
}

.single-header__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 800px;
  margin: 0 auto 16px;
}

.single-header__meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.single-featured-image {
  max-width: 960px;
  margin: 0 auto 48px;
  border-radius: var(--radius);
  overflow: hidden;
}

.single-content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding-bottom: 64px;
}

.single-content h2 {
  font-size: 1.5rem;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.single-content h3 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.single-content p {
  margin-bottom: 24px;
  color: var(--color-text-secondary);
}

.single-content ul, .single-content ol {
  margin: 0 0 24px 24px;
  color: var(--color-text-secondary);
}

.single-content li {
  margin-bottom: 8px;
}

.single-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--color-accent-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.single-content img {
  border-radius: var(--radius-sm);
  margin: 24px auto;
}

.single-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 24px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.single-content code {
  background: var(--color-bg-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.single-content pre code {
  background: none;
  padding: 0;
}

/* Amazon Affiliate Product Box */
.product-box {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: 32px 0;
  background: var(--color-bg-card);
}

.product-box__image {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-box__image img {
  width: 100%;
  height: auto;
}

.product-box__info h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-box__info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.product-box__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: #ff9900;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.product-box__link:hover {
  background: #e8890a;
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ========================================
   Sidebar
   ======================================== */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.widget {
  margin-bottom: 32px;
  padding: 28px;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
}

/* Profile widget */
.widget-profile {
  text-align: center;
}

.widget-profile__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--color-accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

.widget-profile__name {
  font-weight: 600;
  margin-bottom: 8px;
}

.widget-profile__bio {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Category list widget */
.widget-categories ul {
  list-style: none;
}

.widget-categories li {
  border-bottom: 1px solid var(--color-border-light);
}

.widget-categories li:last-child {
  border-bottom: none;
}

.widget-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.widget-categories a:hover {
  color: var(--color-accent);
}

.widget-categories .count {
  background: var(--color-bg-secondary);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Popular posts widget */
.widget-popular-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.widget-popular-post:last-child {
  border-bottom: none;
}

.widget-popular-post__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.widget-popular-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-popular-post__title {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 4px;
}

.widget-popular-post__title a {
  color: var(--color-text);
}

.widget-popular-post__title a:hover {
  color: var(--color-accent);
}

.widget-popular-post__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-title {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding: 32px 0;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* ========================================
   Archive / Search Header
   ======================================== */
.archive-header {
  padding: 48px 0;
  text-align: center;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.archive-header__title {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.archive-header__description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ========================================
   404 Page
   ======================================== */
.error-404 {
  text-align: center;
  padding: 120px 0;
}

.error-404 h1 {
  font-size: 6rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
}

.error-404 p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    box-shadow: 0 8px 24px var(--color-shadow);
  }

  .main-navigation.is-active {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 4px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-card--featured .post-card__inner {
    grid-template-columns: 1fr;
  }

  .category-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .product-box {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 48px 0;
  }

  .latest-section,
  .category-section,
  .about-section {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .category-cards {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Utility Classes
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-accent { color: var(--color-accent); }
.bg-secondary { background: var(--color-bg-secondary); }

/* No thumbnail placeholder */
.no-thumbnail {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 2rem;
}


/* ========================================
   Collaboration Page
   ======================================== */
.collab-header {
  padding: 56px 0 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-accent-bg) 0%, #e0f7f5 100%);
  border-bottom: 1px solid var(--color-border-light);
}

.collab-header__label {
  display: inline-block;
  padding: 4px 16px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 16px;
}

.collab-header__sub {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-top: 8px;
}

.collab-content {
  padding-bottom: 80px;
}

.collab-section {
  padding: 56px 0;
}

.collab-section__title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 16px;
}

.collab-section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* Intro */
.collab-intro {
  padding: 48px 0 32px;
}

.collab-intro__text {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text-secondary);
  text-align: center;
}

/* Services Grid */
.collab-services {
  background: var(--color-bg-secondary);
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.collab-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.collab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--color-shadow-hover);
  border-color: var(--color-accent);
}

.collab-card__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.collab-card__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.collab-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Welcome Tags */
.collab-welcome {
  text-align: center;
}

.collab-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.collab-tag {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-accent-bg);
  color: var(--color-text-secondary);
  border-radius: 50px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.collab-tag:hover {
  border-color: var(--color-accent);
  background: var(--color-white);
}

/* Contact Form */
.collab-form-section {
  background: var(--color-bg-secondary);
}

.collab-form-section__desc {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.collab-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}

.collab-form__group {
  margin-bottom: 24px;
}

.collab-form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.collab-form__label .required {
  color: #ef4444;
}

.collab-form__input,
.collab-form__select,
.collab-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.collab-form__input:focus,
.collab-form__select:focus,
.collab-form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.collab-form__input::placeholder,
.collab-form__textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.collab-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23718096' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.collab-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.collab-form__submit {
  text-align: center;
  margin-top: 32px;
}

.collab-form__btn {
  display: inline-block;
  padding: 14px 48px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.collab-form__btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.collab-form-message {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.collab-form-message--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.collab-form-message--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* SNS Links */
.collab-sns {
  text-align: center;
}

.collab-sns__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.collab-sns__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

.collab-sns__link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-bg);
  transform: translateY(-2px);
}

.collab-sns__link svg {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .collab-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .collab-form {
    padding: 24px 20px;
  }

  .collab-sns__links {
    flex-direction: column;
    align-items: center;
  }

  .collab-tags {
    gap: 8px;
  }

  .collab-tag {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .collab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
