/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS変数定義 */
:root {
  --primary-color: #ffffff;
  --secondary-color: #f39c12;
  --accent-color: #3498db;
  --bg-pink: #fdf2f8;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --gray-light: #ecf0f1;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* ベーススタイル */
body {
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
  min-height: 100vh;
}

/* 3カラムレイアウト（PC・タブレット） */
.l-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  min-height: 100vh;
}

.l-sidebar-left,
.l-sidebar-right {
  background: linear-gradient(45deg, rgba(231, 76, 60, 0.1), rgba(243, 156, 18, 0.1));
  position: relative;
}

.l-sidebar-left::before,
.l-sidebar-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/23438319.jpg"); /* Updated background image path to match uploaded image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
  z-index: -1;
}

.l-main {
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

/* モバイル表示（1カラム） */
@media (max-width: 767px) {
  .l-layout {
    grid-template-columns: 1fr;
  }

  .l-sidebar-left,
  .l-sidebar-right {
    display: none;
  }
}

/* コンテナ */
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* セクション共通スタイル */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

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

/* 1. ファーストビューセクション */
.l-fv {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.p-fv__top-wrapper {
  position: relative;
  padding: 40px 0;
}

.p-fv__top-wrapper::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,60 C300,120 900,0 1200,60 L1200,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E")
    no-repeat;
  background-size: cover;
}

.p-fv__main-wrapper {
  padding: 60px 0;
  background: var(--white);
  color: var(--text-dark);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.hero-product {
  gap: 40px;
  flex-wrap: wrap;
}

/* hero-product リストの中央寄せとボーダー */
.hero-product ul {
  margin: 0 auto;
  text-align: center !important;
}

.hero-product li {
  border-bottom: 2px solid #000;
  padding: 8px 0;
  list-style: none;
  font-weight:900;
  font-size: 1.3rem;
}

.hero-product-image {
  max-width: 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
}

/* 2. 問題提起セクション */
.l-problem {
  background: var(--gray-light);
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 40px 0;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stat-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

/* 3. ソリューション提示セクション */
.l-solution {
  background: var(--white);
}

.solution-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.solution-highlight {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  margin: 20px 0;
}

/* 4. 5つのポイントセクション */
.l-points {
  background: var(--gray-light);
}

.points-grid {
  display: grid;
  gap: 30px;
}

.point-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.point-card:nth-child(even) {
  background: var(--bg-pink);
}

.point-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.point-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.point-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.point-number {
  background: var(--white);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.point-title {
  font-size: 1.3rem;
  font-weight: bold;
}

.point-content {
  padding: 30px;
}

.point-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 20px 0;
}

/* 5. 実績セクション */
.l-works {
  background: var(--white);
}

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

.works-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 20px 0;
}

/* 6. 認証セクション */
.l-certification {
  background: var(--gray-light);
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.cert-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.cert-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* 7. 使い方セクション */
.l-howto {
  background: var(--white);
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.howto-step {
  text-align: center;
  padding: 20px;
}

.step-number {
  background: var(--primary-color);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.howto-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 20px 0;
}

/* 8. 安全性セクション */
.l-safety {
  background: var(--gray-light);
}

.safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.safety-feature {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

/* 9. Q&Aセクション */
.l-qanda {
  background: var(--white);
}

.qa-list {
  max-width: 800px;
  margin: 0 auto;
}

.qa-item {
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.qa-question {
  background: var(--gray-light);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qa-question:hover {
  background: #e0e0e0;
}

.qa-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: bold;
  transition: var(--transition);
}

.qa-question.active::after {
  content: "−";
}

.qa-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.qa-answer.active {
  padding: 20px;
  max-height: 200px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-product {
    flex-direction: column;
    gap: 20px;
  }
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ローディング状態 */
.loading {
  opacity: 0.5;
  pointer-events: none;
}

/* ポイントセクション */
.l-points {
  padding: 80px 0;
  background: linear-gradient(135deg, #fff5f5 0%, #ffeaa7 100%);
}

.points-content {
  max-width: 1000px;
  margin: 0 auto;
}

.point-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  position: relative;
}

.point-number {
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}

.point-title {
  background: #e74c3c;
  color: var(--white);
  padding: 15px 20px;
  border-radius: var(--border-radius);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.point-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.point-subtitle {
  background: #bdc3c7;
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--border-radius);
  font-size: 1.2rem;
  font-weight: bold;
  margin: 30px 0 20px 0;
  text-align: center;
}

.point-image {
padding: 40px;
  text-align: center;
  margin: 20px 0;
  color: var(--text-light);
  font-style: italic;
}

.point-image::before {
display: block;
}

.point-list {
  list-style: none;
  padding: 0;
}

.point-list li {
  background: var(--gray-light);
  padding: 12px 20px;
  margin-bottom: 8px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary-color);
  position: relative;
}

.point-list li::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
}

/* レスポンシブ対応（ポイントセクション） */
@media (max-width: 768px) {
  .l-points {
    padding: 60px 0;
  }
  
  .point-item {
    padding: 25px;
    margin-bottom: 30px;
  }
  
  .point-title {
    font-size: 1.3rem;
    padding: 12px 15px;
  }
  
  .point-subtitle {
    font-size: 1.1rem;
    padding: 10px 15px;
  }
  
  .point-description {
    font-size: 1rem;
  }
  
  .point-image {
    padding: 30px 20px;
  }
}
