/* ==========================================================================
   おやこsalon ココハレ (koko-hare.com) 公式サイト スタイルシート
   Inspired by codomoyakuzen-s.com: Bright White, Soft Sage & Natural Tones
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

:root {
  /* Color Palette - Refined to match reference site aesthetics */
  --primary: #4A6B53;         /* Deep Organic Sage Green */
  --primary-light: #769E80;
  --primary-bg: #F5F9F6;
  --accent: #E58C65;          /* Warm Terracotta Accent */
  --accent-soft: #FDF3EE;
  --bg-main: #FFFFFF;         /* Crisp White Main Background */
  --bg-subtle: #F9F8F6;       /* Gentle Off-White */
  --text-main: #333333;       /* Crisp Charcoal Text */
  --text-muted: #666666;
  --border-light: #EAE5DC;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-heading: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.85;
  word-wrap: break-word;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 760px; /* Mobile / Portrait optimized like reference */
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  padding: 20px;
  border-bottom: 2px solid var(--primary-light);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  margin-bottom: 10px;
}

.mobile-nav a {
  display: block;
  padding: 10px 14px;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.mobile-nav a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

/* Hero Section (Reference site style: full image hero with overlay text) */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle);
}

.hero-img-wrap {
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  padding: 30px 20px 40px;
  text-align: center;
  background: var(--bg-main);
}

.hero-badge {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 1.55rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
  max-width: 360px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  border: none;
}

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

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

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

.btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* Sections Common */
.section {
  padding: 46px 0;
  border-bottom: 1px solid #F0ECE4;
}

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

.section-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Photo Text Combo (Reference Site Feature) */
.photo-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.photo-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.photo-card-body {
  padding: 24px;
}

/* Message Card */
.message-card {
  background: #FFFFFF;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.message-highlight {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 14px;
  text-align: center;
}

/* Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pillar-card {
  background: #FFFFFF;
  padding: 22px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.pillar-tag {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  font-weight: 700;
}

/* Services */
.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.service-badge {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.service-name {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.service-target {
  font-size: 0.83rem;
  background: var(--primary-bg);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  margin-top: 10px;
}

/* Checklist */
.checklist-card {
  background: #FFFFFF;
  padding: 26px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.93rem;
}

.check-icon {
  color: var(--primary);
  font-weight: bold;
}

/* Profile */
.profile-card {
  background: #FFFFFF;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--primary-light);
}

.profile-name {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.profile-title {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 16px;
}

.profile-bio {
  font-size: 0.9rem;
  text-align: left;
  line-height: 1.8;
}

/* Trust / Voice */
.voice-card {
  background: #FFFFFF;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
}

/* CTA Footer */
.cta-section {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 48px 20px;
}

.cta-section h2 {
  color: white;
  margin-bottom: 10px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-size: 0.92rem;
}

.site-footer {
  background: #27382B;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 22px 20px;
  font-size: 0.78rem;
}

@media (min-width: 600px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-img-wrap {
    height: 420px;
  }
}
