/*
Theme Name: Hair Care Lab LP
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: 20代OL向けヘアケアランディングページテーマ。ACF対応で、管理画面から簡単にコンテンツを編集できます。
Version: 1.0.0
Requires at least: 5.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: haircare-lp
Domain Path: /languages
Tags: landing-page, one-column, custom-colors, custom-menu, featured-images, responsive-design

Hair Care Lab LP Theme
Copyright (C) 2025 Your Name

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
*/

/* ========================================
   リセット＆基本設定
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* カラーパレット */
  --primary-color: #00B900; /* LINE緑 */
  --primary-hover: #009900;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-white: #FFFFFF;
  --bg-light: #F9F9F9;
  --bg-accent: #FFF5F5;
  --border-color: #E0E0E0;
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  
  /* タイポグラフィ */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --font-accent: "Yu Gothic", YuGothic, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ========================================
   コンテナ・レイアウト
======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
}

.section {
  padding: 80px 0;
}

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

/* ========================================
   タイポグラフィ
======================================== */
.heading-xl {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.heading-lg {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.heading-md {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
}

.heading-sm {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 12px;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--primary-color);
}

.text-highlight {
  background: linear-gradient(transparent 60%, #FFE066 60%);
  padding: 0 4px;
  font-weight: 600;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.9;
}

.text-small {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* ========================================
   ボタン
======================================== */
.btn {
  display: inline-block;
  padding: 18px 48px;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(0, 185, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 185, 0, 0.4);
  opacity: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:active::before {
  width: 300px;
  height: 300px;
}

.btn-large {
  padding: 24px 64px;
  font-size: 1.25rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ========================================
   ヘッダー
======================================== */
.header {
  background-color: var(--bg-white);
  padding: 20px 0;
  box-shadow: 0 2px 8px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

.header-cta {
  padding: 12px 32px;
  font-size: 1rem;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
  background: linear-gradient(135deg, #FFF5F5 0%, #F0F8FF 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 185, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-catchcopy {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title span {
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 2;
  margin-bottom: 40px;
  color: var(--text-gray);
}

.hero-image {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow-medium);
}

/* ========================================
   問題提起セクション
======================================== */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.problem-card {
  background-color: var(--bg-white);
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-light);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.problem-card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.problem-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.problem-card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-gray);
}

/* ========================================
   原因解説セクション
======================================== */
.reason-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.reason-item {
  background-color: var(--bg-white);
  padding: 32px;
  margin-bottom: 24px;
  border-radius: 12px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 8px var(--shadow-light);
}

.reason-item-number {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

.reason-item-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.reason-item-text {
  line-height: 1.9;
  color: var(--text-gray);
}

/* ========================================
   解決策セクション
======================================== */
.solution-box {
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
  padding: 48px 40px;
  border-radius: 16px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow-light);
}

.solution-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.solution-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
}

.solution-description {
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 32px;
  color: var(--text-gray);
}

/* ========================================
   特典セクション
======================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.benefit-item {
  background-color: var(--bg-white);
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-light);
  text-align: center;
  position: relative;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 0 0 4px 4px;
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.benefit-text {
  line-height: 1.8;
  color: var(--text-gray);
}

/* ========================================
   お客様の声セクション
======================================== */
.testimonials {
  max-width: 900px;
  margin: 40px auto 0;
}

.testimonial-item {
  background-color: var(--bg-white);
  padding: 40px;
  margin-bottom: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-light);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-light);
}

.testimonial-content {
  flex: 1;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial-age {
  font-size: 0.875rem;
  color: var(--text-light);
}

.testimonial-stars {
  color: #FFB800;
  font-size: 1.125rem;
}

.testimonial-text {
  line-height: 1.9;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.testimonial-tag {
  display: inline-block;
  background-color: var(--bg-light);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-right: 8px;
}

/* ========================================
   CTAセクション
======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #00D400 100%);
  padding: 80px 0;
  color: var(--bg-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0.95;
}

.cta-button {
  background-color: var(--bg-white);
  color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  font-size: 1.375rem;
  padding: 24px 64px;
}

.cta-button:hover {
  background-color: #F5F5F5;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cta-note {
  margin-top: 24px;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ========================================
   フッター
======================================== */
.footer {
  background-color: #2C2C2C;
  color: #CCCCCC;
  padding: 60px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-title {
  color: var(--bg-white);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #CCCCCC;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #444444;
  padding-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: #999999;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .heading-xl {
    font-size: 1.875rem;
  }
  
  .heading-lg {
    font-size: 1.625rem;
  }
  
  .heading-md {
    font-size: 1.375rem;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .problem-cards {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-item {
    flex-direction: column;
    padding: 32px 24px;
  }
  
  .cta-title {
    font-size: 1.875rem;
  }
  
  .cta-description {
    font-size: 1.125rem;
  }
  
  .btn-large {
    padding: 20px 48px;
    font-size: 1.125rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 16px 32px;
    font-size: 1rem;
  }
  
  .btn-large {
    padding: 18px 40px;
    font-size: 1.0625rem;
  }
  
  .solution-box {
    padding: 32px 24px;
  }
  
  .cta-button {
    font-size: 1.125rem;
    padding: 20px 48px;
  }
}

/* ========================================
   ユーティリティ
======================================== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
