/*
Theme Name: Cozy - Premium Relaxation Salon
Theme URI: https://cozy-relaxation.jp
Author: Cozy
Author URI: https://cozy-relaxation.jp
Description: Cozy（コージー）専用WordPressテーマ。東京のプレミアム揉みほぐしサロン。プロの技術者による極上の施術で、身体の芯からほぐす本格ボディケア。完全レスポンシブ＆日本語フォント最適化。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cozy-salon
Tags: relaxation, massage, body-care, japanese-font, responsive, tokyo, luxury

Cozy WordPress Theme, (C) 2025 Cozy
*/

/* ========================================
   Google Fonts 読み込み（日本語最適化）
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&family=Shippori+Mincho:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,600&display=swap');

/* ========================================
   CSS変数定義 - Cozy Luxury Tone
   ======================================== */
:root {
  --color-primary: #2C4A3E;        /* ディープフォレストグリーン */
  --color-primary-light: #3D6B5E;  /* ミッドグリーン */
  --color-primary-dark: #1A2E28;   /* ダークフォレスト */
  --color-secondary: #F7F3EE;      /* アイボリー */
  --color-accent: #C4975A;         /* ウォームゴールド */
  --color-accent-light: #E0B87A;   /* ライトゴールド */
  --color-white: #FFFFFF;
  --color-bg: #FDFBF8;
  --color-bg-alt: #F4EFE8;
  --color-bg-dark: #1A2E28;
  --color-text: #2A2A2A;
  --color-text-light: #5A5A5A;
  --color-text-lighter: #8A8A8A;
  --font-ja-sans: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-ja-serif: 'Shippori Mincho', 'Yu Mincho', serif;
  --font-ja-heading: 'Shippori Mincho', 'Noto Serif JP', serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  --fs-xs: clamp(0.75rem, 2vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 2.5vw, 1rem);
  --fs-base: clamp(1rem, 3vw, 1.125rem);
  --fs-md: clamp(1.125rem, 3.5vw, 1.25rem);
  --fs-lg: clamp(1.25rem, 4vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 5vw, 2rem);
  --fs-2xl: clamp(2rem, 6vw, 2.5rem);
  --fs-3xl: clamp(2.5rem, 7vw, 3.5rem);
  --fs-4xl: clamp(3rem, 10vw, 4.5rem);
}

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

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

body {
  font-family: var(--font-ja-sans);
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  font-feature-settings: 'palt' 1;
  letter-spacing: 0.05em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ja-heading);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--fs-4xl); font-weight: 700; }
h2 { font-size: var(--fs-3xl); font-weight: 700; }
h3 { font-size: var(--fs-2xl); font-weight: 600; }
h4 { font-size: var(--fs-xl); font-weight: 600; }
h5 { font-size: var(--fs-lg); font-weight: 600; }
h6 { font-size: var(--fs-md); font-weight: 600; }

p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.9;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

/* ========================================
   ヘッダー（完璧横並びメニュー）
   ======================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(139, 115, 85, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 5vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
}

.site-branding {
  flex-shrink: 0;
}

/* ── Cozy ロゴ ───────────────────────── */
.cozy-logo { line-height: 1; }
.cozy-logo-link {
  display: flex; align-items: baseline; gap: 0.4rem;
  text-decoration: none; color: #2C4A3E;
}
.cozy-logo-en {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.0rem; font-weight: 600; font-style: italic;
  letter-spacing: 0.06em; color: #2C4A3E; line-height: 1;
  transition: color 0.3s;
}
.cozy-logo-en:hover { color: #C4975A; }
.cozy-logo-divider { font-size: 0.9rem; color: #C4975A; margin: 0 0.15rem; }
.cozy-logo-ja {
  font-family: 'Shippori Mincho','Noto Serif JP',serif;
  font-size: 0.78rem; letter-spacing: 0.18em; color: #5A5A5A; font-weight: 500;
}
.elegant-tagline {
  font-family: 'Cormorant Garamond',serif; font-style: italic;
  font-size: 0.72rem; letter-spacing: 0.3em; color: #C4975A;
  margin: 0.25rem 0 0; text-transform: uppercase;
}

.site-title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.site-title a {
  color: var(--color-primary-dark);
  font-family: var(--font-ja-heading);
}

.site-description {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  margin: 0;
  font-weight: 400;
}

/* メインナビゲーション（完璧横並び） */
.main-navigation {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.main-navigation ul {
  display: flex !important;
  flex-direction: row !important;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.main-navigation li {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.main-navigation a {
  font-family: var(--font-ja-sans);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem 0 !important;
  display: block;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
  white-space: nowrap;
  width: auto !important;
}

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

.main-navigation .current-menu-item > a {
  color: var(--color-accent);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-primary-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ========================================
   ヒーローセクション（背景画像＋トーン＋白抜き）
   ======================================== */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.1), rgba(107, 88, 69, 0.1));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.85) 0%, rgba(107, 88, 69, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--color-white);
}

.hero-subtitle-small {
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-emphasis {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 600;
  color: var(--color-accent-light);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

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

/* ========================================
   ボタン
   ======================================== */
.btn {
  display: inline-block;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-ja-sans);
  letter-spacing: 0.1em;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 168, 130, 0.4);
}

.btn-outline-primary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-primary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-large {
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(2rem, 5vw, 3rem);
  font-size: var(--fs-md);
}

/* ========================================
   セクション共通
   ======================================== */
section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-header {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.section-subtitle-small {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-title {
  font-size: var(--fs-3xl);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin: 1rem auto;
}

.section-description {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  line-height: 1.9;
  max-width: 700px;
  margin: 0 auto;
}

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

/* ========================================
   レスポンシブ（モバイル）
   ======================================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: fixed !important;
    top: 0;
    right: -100%;
    width: 280px !important;
    height: 100vh !important;
    background: var(--color-white) !important;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1) !important;
    transition: right 0.3s ease;
    padding: 5rem 2rem 2rem !important;
    overflow-y: auto !important;
  }
  
  .main-navigation.is-active {
    right: 0;
  }
  
  .main-navigation ul {
    flex-direction: column !important;
    gap: 0 !important;
    align-items: flex-start !important;
  }
  
  .main-navigation li {
    width: 100%;
    border-bottom: 1px solid var(--color-bg-alt) !important;
  }
  
  .main-navigation a {
    padding: 1rem 0 !important;
    font-size: 1rem;
    width: 100% !important;
  }
}

.text-center { text-align: center; }
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
