/**
 * Collemiデザイン調整用CSS
 * 
 * フォント、カラー、サイズ感を最適化するための追加スタイル
 *
 * @package collemi
 */

/**
 * フォントとタイポグラフィの調整
 */
:root {
  /* フォントウェイトの調整 */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* フォントサイズ階層の調整 - より洗練された比率を適用 */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px - ベース */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.375rem;   /* 22px */
  --font-size-xl: 1.75rem;    /* 28px */
  --font-size-2xl: 2.25rem;   /* 36px */
  --font-size-3xl: 2.875rem;  /* 46px */
  
  /* 行の高さの調整 */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* 文字間隔の調整 */
  --letter-spacing-tight: -0.015em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.015em;
  --letter-spacing-wider: 0.05em;
  
  /* カラー微調整 - よりクリーンでモダンな色調 */
  --primary-color-soft: #303030;
  --background-soft: #FCFCFC;
  --accent-color-soft: #F0F0F0;
  --accent-color-warm-soft: #F9F4EF;
  --text-secondary-soft: #666666;
}

/**
 * 全体的なスタイリング調整
 */
body {
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--primary-color-soft);
  background-color: var(--background-soft);
  letter-spacing: var(--letter-spacing-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin-top: 0;
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

h5 {
  font-size: var(--font-size-md);
}

h6 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

/**
 * セクションヘッダーの調整
 */
.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-title {
  font-size: var(--font-size-2xl);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-medium);
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color-soft);
  margin: 0.75rem auto 0;
}

.section-description {
  font-size: var(--font-size-md);
  color: var(--text-secondary-soft);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: var(--line-height-relaxed);
}

.accent-text {
  font-family: var(--font-accent);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  margin-bottom: 0.75rem;
  display: inline-block;
}

/**
 * カードスタイルの調整
 */
.celebrity-card, 
.fashion-item-card, 
.brand-card, 
.post-card {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.celebrity-card:hover, 
.fashion-item-card:hover, 
.brand-card:hover, 
.post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* 芸能人カードの調整 */
.celebrity-name {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
}

.celebrity-category {
  font-size: var(--font-size-xs);
  color: var(--text-secondary-soft);
  letter-spacing: var(--letter-spacing-wide);
}

/* ファッションアイテムカードの調整 */
.item-brand {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  margin-bottom: 0.25rem;
}

.item-name {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
}

.item-price {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

.item-celebrity {
  font-size: var(--font-size-sm);
  color: var(--text-secondary-soft);
  margin-top: 0.5rem;
}

/* ブランドカードの調整 */
.brand-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  margin-top: 1rem;
  text-align: center;
}

/* 投稿カードの調整 */
.post-meta {
  font-size: var(--font-size-xs);
  color: var(--text-secondary-soft);
  margin-bottom: 0.5rem;
}

.post-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.75rem;
}

.post-excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-secondary-soft);
  line-height: var(--line-height-relaxed);
}

/**
 * ボタンスタイルの調整
 */
.view-all-button {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.view-all-button:hover {
  background-color: var(--primary-color-soft);
  color: white;
  border-color: var(--primary-color-soft);
}

/**
 * ニュースレターセクションの調整
 */
.newsletter-section {
  background-color: var(--accent-color-warm-soft);
}

.newsletter-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.newsletter-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.newsletter-description {
  font-size: var(--font-size-md);
  margin-bottom: 2rem;
  text-align: center;
  line-height: var(--line-height-relaxed);
}

.newsletter-input {
  font-size: var(--font-size-base);
  padding: 0.875rem 1.25rem;
  border-radius: 2px;
}

.newsletter-submit {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  padding: 0.875rem 1.5rem;
  border-radius: 2px;
}

/**
 * セクションスペースの調整
 */

/**
 * アーカイブページの調整
 */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.archive-card {
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.archive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.archive-card a {
  display: block;
  color: var(--primary-color-soft);
  text-decoration: none;
}

.page-header {
  margin: 3rem 0 2rem;
  text-align: center;
  position: relative;
}

.page-title {
  font-size: var(--font-size-2xl);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-medium);
}

.archive-description {
  font-size: var(--font-size-md);
  color: var(--text-secondary-soft);
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: var(--line-height-relaxed);
}

/* ブランドアーカイブページ用 */
.brand-card .brand-logo {
  height: 180px;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: var(--accent-color-soft);
}

.brand-card .brand-logo img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
}

.brand-card .no-logo {
  width: 120px;
  height: 120px;
  background-color: var(--primary-color-soft);
  color: white;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.brand-card .brand-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  margin: 1rem 0 0.5rem;
  padding: 0 1.5rem;
  text-align: center;
}

.brand-card .brand-excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-secondary-soft);
  padding: 0 1.5rem 1.5rem;
  text-align: center;
}

/* 有名人アーカイブページ用 */
.celebrity-card .celebrity-image {
  height: 320px;
  overflow: hidden;
}

.celebrity-card .celebrity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.celebrity-card:hover .celebrity-image img {
  transform: scale(1.05);
}

.celebrity-card .no-image {
  height: 100%;
  background-color: var(--accent-color-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.celebrity-card .celebrity-initial {
  font-size: 4rem;
  color: var(--text-secondary-soft);
}

.celebrity-card .celebrity-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  margin: 1rem 0 0.5rem;
  padding: 0 1.5rem;
}

.celebrity-card .celebrity-excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-secondary-soft);
  padding: 0 1.5rem 1.5rem;
}

/* 洋服アーカイブページ用 */
.clothes-card .clothes-image {
  height: 210px;
  overflow: hidden;
}

.clothes-card .clothes-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.clothes-card:hover .clothes-image img {
  transform: scale(1.05);
}

.clothes-card .no-image {
  height: 100%;
  background-color: var(--accent-color-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clothes-card .clothes-initial {
  font-size: 4rem;
  color: var(--text-secondary-soft);
}

.clothes-card .clothes-brand {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--text-secondary-soft);
  padding: 1.5rem 1.5rem 0.5rem;
}

.clothes-card .clothes-title {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 0.5rem;
  padding: 0 1.5rem;
}

.clothes-card .clothes-price {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color-soft);
  padding: 0 1.5rem 1.5rem;
}

/* ページネーションの調整 */
.pagination {
  margin: 3rem 0;
  display: flex;
  justify-content: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 5px;
  padding: 0 10px;
  border: 1px solid var(--accent-color-soft);
  border-radius: 4px;
  text-decoration: none;
  font-size: var(--font-size-sm);
  color: var(--primary-color-soft);
  transition: all 0.2s ease;
}

.page-numbers.current {
  background-color: var(--primary-color-soft);
  color: white;
  border-color: var(--primary-color-soft);
}

.page-numbers:not(.dots):hover {
  background-color: var(--accent-color-soft);
}

.page-numbers svg {
  width: 18px;
  height: 18px;
}

/* レスポンシブ対応
 * 
 * 注意: モバイル向けのスタイルは mobile-optimization.css に一元管理しています。
 * @see mobile-optimization.css
 */
