/*
Theme Name: Kindle Book LP
Theme URI: https://example.com
Description: 成功確率を高める 商品開発超実践論のKindle販売促進ランディングページ
Version: 1.0.0
Author: Manus
Author URI: https://manus.im
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kindle-book-lp
Domain Path: /languages
*/

/* ============================================
   リセットとベーススタイル
   ============================================ */

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

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

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ============================================
   カラーパレット
   ============================================ */

:root {
  --primary-color: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --accent-color: #a67c52;
  --accent-light: #d4a574;
  --background-color: #ffffff;
  --background-light: #f9fafb;
  --background-dark: #f3f4f6;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
}

/* ============================================
   タイポグラフィ
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-dark);
}

/* ============================================
   ボタン
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   コンテナ
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   ヘッダー
   ============================================ */

header {
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* ============================================
   ヒーロー部分
   ============================================ */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--background-light) 0%, var(--background-dark) 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/images/business-hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 .highlight {
  color: var(--primary-color);
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-image {
  display: none;
  animation: fadeInScale 1s ease-out 0.3s both;
}

@media (min-width: 1024px) {
  .hero-image {
    display: block;
  }
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 0.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ============================================
   著者メッセージ部分
   ============================================ */

.author-message-section {
  padding: 6rem 0;
  background-color: rgba(30, 58, 138, 0.05);
  border-top: 1px solid var(--border-color);
}

.author-message-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.author-message-content {
  max-width: 56rem;
  margin: 0 auto;
}

.author-message-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.author-message-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--text-color);
}

.author-message-content strong {
  color: var(--text-color);
  font-weight: 700;
}

/* ============================================
   本の構成部分
   ============================================ */

.book-content-section {
  padding: 6rem 0;
}

.book-content-section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.chapter-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.chapter-item {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--background-color);
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.chapter-item:hover {
  background-color: rgba(30, 58, 138, 0.05);
  transform: translateX(0.5rem);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chapter-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  background-color: rgba(30, 58, 138, 0.1);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-color);
}

.chapter-item:hover .chapter-number {
  background-color: rgba(30, 58, 138, 0.2);
}

.chapter-info h3 {
  margin-bottom: 0.5rem;
}

.chapter-info p {
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   ターゲット層部分
   ============================================ */

.key-points-section {
  padding: 6rem 0;
  background-color: rgba(30, 58, 138, 0.05);
}

.key-points-section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.key-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .key-points-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.key-point-card {
  padding: 2rem;
  border-radius: 0.5rem;
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.key-point-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.key-point-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: rgba(30, 58, 138, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.key-point-card h3 {
  margin-bottom: 1rem;
}

.key-point-card p {
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   FAQ部分
   ============================================ */

.faq-section {
  padding: 6rem 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--background-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.faq-question:hover {
  background-color: var(--background-dark);
}

.faq-toggle {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  background-color: var(--background-light);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   CTA部分
   ============================================ */

.cta-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-section .btn-primary {
  background-color: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
  background-color: var(--background-light);
}

.cta-note {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 2rem;
}

/* ============================================
   フッター
   ============================================ */

footer {
  background-color: var(--background-dark);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-light);
}

.footer-content p {
  margin-bottom: 0.5rem;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.footer-content .heart {
  color: #ef4444;
}

/* ============================================
   アニメーション
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95) rotateY(-20deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateY(0);
  }
}

/* ============================================
   レスポンシブ
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 1.875rem;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
  }
}

/* ============================================
   ユーティリティ
   ============================================ */

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

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}
