/* 全体のスタイル */
:root {
  --primary-color: #FFD100;
  --secondary-color: #FFA800;
  --accent-color: #FF8800;
  --dark-accent: #E67700;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --text-color: #333333;
  --gradient-primary: linear-gradient(135deg, #FFD100, #FFA800);
  --gradient-accent: linear-gradient(135deg, #FFA800, #FF8800);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f8f9fa;
}

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

a:hover {
  color: var(--accent-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--dark-color);
  box-shadow: var(--box-shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--dark-color);
}

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

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.section {
  padding: 80px 0;
}

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

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

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-accent);
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .btn {
  padding: 8px 20px;
}

/* ヒーローセクション */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: #f8f9fa;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 209, 0, 0.9), rgba(255, 168, 0, 0.9));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--dark-color);
  max-width: 650px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
}

/* 特徴セクション */
.features {
  background-color: white;
}

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

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

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: var(--dark-color);
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--dark-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-accent);
}

.feature-text {
  color: #6c757d;
}

/* サービス概要セクション */
.about {
  background-color: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark-accent);
}

.about-text p {
  margin-bottom: 20px;
  color: #6c757d;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* おすすめセクション */
.recommendations {
  background-color: white;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.recommendation-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  padding: 30px;
  border-left: 5px solid var(--primary-color);
}

.recommendation-card:hover {
  transform: translateY(-10px);
}

.recommendation-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--dark-accent);
  display: flex;
  align-items: center;
}

.recommendation-title svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  fill: var(--primary-color);
}

.recommendation-text {
  color: #6c757d;
  margin-bottom: 15px;
}

.recommendation-points {
  list-style: none;
}

.recommendation-points li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: #6c757d;
}

.recommendation-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* CTA セクション */
.cta {
  background: var(--gradient-primary);
  color: var(--dark-color);
  text-align: center;
  padding: 100px 0;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* お問い合わせフォーム */
.contact {
  background-color: #f8f9fa;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 209, 0, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

/* フッター */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

/* 追加：コンテナ自体を中央寄せ (必要に応じて最大幅を指定すると◎) */
.container {
  max-width: 1200px;  /* 任意の最大幅 */
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  justify-items: center; /* 各グリッドアイテムを中央寄せ */
  text-align: center;    /* テキストやリンクも中央寄せ */
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  /* 任意：横幅を絞って自動余白にすると見やすく */
  max-width: 800px;
  margin: 0 auto;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
  }
  
  .nav-links {
    margin-top: 20px;
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-links li {
    margin: 5px 10px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .contact-form {
    padding: 20px;
  }
}

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

.animate {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* 料金プランセクション */
.pricing {
  background-color: var(--color-bg-secondary);
  padding: 80px 0;
}

.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 40px;
  text-align: center;
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.price-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-accent);
}

.price-period {
  font-size: 16px;
  color: var(--color-text-secondary);
}

.pricing-features {
  margin: 32px 0;
  display: flex;
  justify-content: center;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 500px;
  padding-left: 20%;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--color-text-primary);
  font-size: 16px;
  justify-content: flex-start;
}

.pricing-features svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

.pricing-description {
  margin: 24px 0;
  padding: 16px;
  background-color: rgba(255, 209, 0, 0.1);
  border-radius: 8px;
  text-align: left;
}

.pricing-description p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
}

.pricing-cta {
  margin-top: 32px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .pricing-features ul {
    max-width: 100%;
    padding-left: 0;
  }
  
  .pricing-features li {
    padding: 12px 16px;
  }
}
