/*
Theme Name: Lilly HOME
Theme URI: https://lillyhome.jp
Author: Lilly HOME
Author URI: https://lillyhome.jp
Description: 吹田市・北摂エリアの不動産会社 Lilly HOME 公式テーマ。不動産売却・相続・空き家対策・事業用不動産・住みながら売却など多様なサービスに対応したクラシックWordPressテーマ。
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: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lillyhome
Tags: real-estate, business, responsive-layout, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ============================================================
   Lilly HOME Theme — Global Styles
   ブランドカラー: 深藍 #1e3a5f / ゴールド #c9a227
   フォント: Noto Sans JP / Noto Serif JP / Playfair Display
   ============================================================ */

:root {
  --navy: #1e3a5f;
  --navy-dark: #0d1a2e;
  --navy-light: #2d5a8e;
  --gold: #c9a227;
  --gold-light: #e8c040;
  --gold-pale: #f5e6b8;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --green-dark: #1b4332;
  --green-mid: #2d6a4f;
  --green-light: #95d5b2;
  --amber-dark: #92400e;
  --amber-mid: #b45309;
  --amber-light: #fbbf24;
  --purple-dark: #2e1065;
  --purple-mid: #4c1d95;
  --purple-light: #c4b5fd;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --font-display: 'Playfair Display', serif;
  --radius: 0.65rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ── Container ── */
.lh-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .lh-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .lh-container { padding: 0 2rem; } }

/* ── Typography ── */
.lh-heading-xl { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.2; }
.lh-heading-lg { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.3; }
.lh-heading-md { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 700; line-height: 1.4; }
.lh-heading-sm { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
.lh-section-label { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }

/* ── Buttons ── */
.lh-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: 9999px;
  font-weight: 700; font-size: 1rem; font-family: var(--font-sans);
  transition: var(--transition); cursor: pointer; white-space: nowrap;
}
.lh-btn:active { transform: scale(0.97); }
.lh-btn-primary { background: var(--gold); color: var(--navy-dark); box-shadow: 0 4px 20px rgba(201,162,39,0.35); }
.lh-btn-primary:hover { background: var(--gold-light); box-shadow: 0 6px 28px rgba(201,162,39,0.45); }
.lh-btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.lh-btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.lh-btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 4px 20px rgba(30,58,95,0.3); }
.lh-btn-navy:hover { background: var(--navy-light); }
.lh-btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ── Section ── */
.lh-section { padding: 5rem 0; }
.lh-section-sm { padding: 3rem 0; }
.lh-section-lg { padding: 7rem 0; }
.lh-section-navy { background: var(--navy); color: var(--white); }
.lh-section-off { background: var(--off-white); }
.lh-section-gold { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); color: var(--white); }

.lh-section-header { text-align: center; margin-bottom: 3rem; }
.lh-section-header .lh-section-label { display: block; margin-bottom: 0.75rem; }

/* ── Cards ── */
.lh-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: var(--transition);
}
.lh-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── Hero ── */
.lh-hero {
  position: relative; min-height: 80vh; display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  overflow: hidden;
}
.lh-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,20,40,0.82) 0%, rgba(10,20,40,0.5) 60%, rgba(10,20,40,0.2) 100%);
}
.lh-hero-content { position: relative; z-index: 1; }

/* ── Page Hero (smaller) ── */
.lh-page-hero {
  position: relative; padding: 8rem 0 4rem;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.lh-page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,20,40,0.88) 0%, rgba(10,20,40,0.65) 100%);
}
.lh-page-hero-content { position: relative; z-index: 1; color: var(--white); }

/* ── Breadcrumb ── */
.lh-breadcrumb {
  background: var(--off-white); border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 0; font-size: 0.8125rem; color: var(--gray-600);
}
.lh-breadcrumb a { color: var(--navy); }
.lh-breadcrumb a:hover { color: var(--gold); }
.lh-breadcrumb-sep { margin: 0 0.5rem; color: var(--gray-400); }

/* ── FAQ Accordion ── */
.lh-faq-item { border-bottom: 1px solid var(--gray-200); }
.lh-faq-item:last-child { border-bottom: none; }
.lh-faq-question {
  width: 100%; text-align: left; padding: 1.25rem 0;
  display: flex; align-items: flex-start; gap: 1rem;
  font-weight: 600; font-size: 0.9375rem; color: var(--gray-800);
  cursor: pointer; background: none; border: none; font-family: var(--font-sans);
  transition: color 0.2s;
}
.lh-faq-question:hover { color: var(--navy); }
.lh-faq-q-icon { color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.lh-faq-chevron { margin-left: auto; flex-shrink: 0; transition: transform 0.2s; }
.lh-faq-item.open .lh-faq-chevron { transform: rotate(180deg); }
.lh-faq-answer { display: none; padding: 0 0 1.25rem 2rem; font-size: 0.9rem; color: var(--gray-600); line-height: 1.8; border-left: 2px solid var(--gold); margin-left: 0.5rem; }
.lh-faq-item.open .lh-faq-answer { display: block; }
.lh-faq-category-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 9999px; margin-bottom: 0.375rem;
}

/* ── Grid Utilities ── */
.lh-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.lh-grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.lh-grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 768px) {
  .lh-grid-2 { grid-template-columns: 1fr 1fr; }
  .lh-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .lh-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .lh-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Badge ── */
.lh-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.35rem 0.875rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em;
}
.lh-badge-gold { background: rgba(201,162,39,0.15); color: var(--gold); border: 1px solid rgba(201,162,39,0.3); }
.lh-badge-navy { background: rgba(30,58,95,0.1); color: var(--navy); border: 1px solid rgba(30,58,95,0.2); }
.lh-badge-green { background: rgba(45,106,79,0.1); color: var(--green-mid); border: 1px solid rgba(45,106,79,0.2); }
.lh-badge-amber { background: rgba(180,83,9,0.1); color: var(--amber-mid); border: 1px solid rgba(180,83,9,0.2); }
.lh-badge-purple { background: rgba(76,29,149,0.1); color: var(--purple-mid); border: 1px solid rgba(76,29,149,0.2); }

/* ── Floating CTA (mobile) ── */
.lh-floating-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 0.75rem 1rem; gap: 0.75rem;
}
@media (min-width: 768px) { .lh-floating-cta { display: none; } }
.lh-floating-cta a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem; border-radius: var(--radius); font-weight: 700; font-size: 0.875rem;
}
.lh-floating-cta-tel { background: var(--navy); color: var(--white); }
.lh-floating-cta-consult { background: var(--gold); color: var(--navy-dark); }

/* ── Utility ── */
.lh-text-navy { color: var(--navy); }
.lh-text-gold { color: var(--gold); }
.lh-text-white { color: var(--white); }
.lh-text-muted { color: var(--gray-600); }
.lh-bg-navy { background: var(--navy); }
.lh-bg-gold { background: var(--gold); }
.lh-bg-off { background: var(--off-white); }
.lh-font-serif { font-family: var(--font-serif); }
.lh-font-display { font-family: var(--font-display); }
.lh-text-center { text-align: center; }
.lh-mt-2 { margin-top: 0.5rem; }
.lh-mt-4 { margin-top: 1rem; }
.lh-mt-6 { margin-top: 1.5rem; }
.lh-mt-8 { margin-top: 2rem; }
.lh-mb-4 { margin-bottom: 1rem; }
.lh-mb-6 { margin-bottom: 1.5rem; }
.lh-mb-8 { margin-bottom: 2rem; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .lh-section { padding: 3rem 0; }
  .lh-section-lg { padding: 4rem 0; }
  .lh-hero { min-height: 100svh; }
  .lh-page-hero { padding: 6rem 0 3rem; }
}

/* ── Footer Banner ── */
.lh-footer-banner {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.875rem 1rem; border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  text-decoration: none; transition: background 0.2s;
  min-width: 0;
}
.lh-footer-banner:hover { background: rgba(255,255,255,0.08); }
.lh-footer-banner-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lh-footer-banner-title {
  font-size: 0.8125rem; font-weight: 700; color: #fff;
  line-height: 1.4; margin-bottom: 0.25rem;
}
.lh-footer-banner-sub {
  font-size: 0.6875rem; color: rgba(191,219,254,0.7); line-height: 1.4;
}
.lh-footer-banner-gold .lh-footer-banner-title { color: #f0d080; }
.lh-footer-banner-green .lh-footer-banner-title { color: #95d5b2; }
.lh-footer-banner-blue .lh-footer-banner-title { color: #93c5fd; }
.lh-footer-banner-amber .lh-footer-banner-title { color: #fbbf24; }

/* ── Footer Grid ── */
.lh-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .lh-footer-grid {
    grid-template-columns: 2fr 1.5fr 1.5fr;
  }
}

/* ── Nav fallback (no menu set) ── */
.lh-nav-fallback {
  list-style: none; display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0;
}
.lh-nav-fallback li a {
  font-size: 0.6875rem; font-weight: 500; color: var(--gray-600);
  white-space: nowrap; padding: 0.25rem 0.125rem;
  transition: color 0.2s; text-decoration: none;
}
.lh-nav-fallback li a:hover { color: var(--navy); }

/* ── Hero image fallback ── */
.lh-hero-fallback {
  background: linear-gradient(135deg, #0d1a2e 0%, #1e3a5f 50%, #2d5a8e 100%);
}

/* ── Responsive 2-col layout ── */
.lh-col-2-pc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .lh-col-2-pc {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ── Contact 2-col layout ── */
.lh-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .lh-contact-grid {
    grid-template-columns: 3fr 2fr;
  }
}

/* ── Print ── */
@media print {
  .lh-floating-cta, #lh-header, #lh-mobile-menu { display: none !important; }
}
