/* ==========================================
   naturaPhoto - 出張撮影LP スタイルシート
   配色: グリーン、ホワイト、ベージュ
   ========================================== */

/* カスタムプロパティ */
:root {
  --primary-green: #6b9e78;
  --dark-green: #4a7c59;
  --light-green: #a8d5ba;
  --beige: #f5f1e8;
  --light-beige: #faf8f3;
  --white: #ffffff;
  --text-dark: #333333;
  --text-gray: #666666;
  --border-color: #e0dcd0;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

/* ==========================================
   ヘッダー
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px var(--shadow);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

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

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

.header-cta {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 158, 120, 0.3);
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(107, 158, 120, 0.7), rgba(74, 124, 89, 0.5));
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 2rem;
  animation: fadeInUp 1s ease;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   共通セクション
   ========================================== */
.section {
  padding: 5rem 2rem;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-green);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 1.5rem auto 0;
}

/* ==========================================
   出張撮影の魅力
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

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

/* ==========================================
   撮影プラン
   ========================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.plan-card {
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.plan-card.popular {
  border-color: var(--primary-green);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background-color: var(--primary-green);
  color: var(--white);
  padding: 0.5rem 3rem;
  font-weight: 600;
  font-size: 0.9rem;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.plan-header {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
}

.plan-body {
  padding: 2rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.2rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-button {
  width: 100%;
  background-color: var(--primary-green);
  color: var(--white);
  padding: 1rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.plan-button:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(107, 158, 120, 0.3);
}

/* ==========================================
   対応エリア
   ========================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.area-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.area-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

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

.area-note {
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--light-beige);
  border-left: 4px solid var(--primary-green);
  border-radius: 5px;
}

/* ==========================================
   料金表
   ========================================== */
.pricing-table {
  max-width: 900px;
  margin: 3rem auto;
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
  background-color: var(--primary-green);
  color: var(--white);
  font-weight: 600;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:nth-child(even) {
  background-color: var(--light-beige);
}

.pricing-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--light-beige);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text-gray);
}

/* ==========================================
   ギャラリー
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  box-shadow: 0 5px 15px var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ==========================================
   フォトグラファー紹介
   ========================================== */
.photographer-intro {
  display: flex;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 3rem auto;
}

.photographer-image {
  flex: 0 0 350px;
}

.photographer-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}

.photographer-info {
  flex: 1;
}

.photographer-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.photographer-title {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.photographer-bio {
  line-height: 2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.photographer-credentials {
  list-style: none;
  margin-top: 2rem;
}

.photographer-credentials li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.photographer-credentials li::before {
  content: '●';
  color: var(--primary-green);
}

/* ==========================================
   撮影の流れ
   ========================================== */
.flow-steps {
  max-width: 800px;
  margin: 3rem auto;
}

.flow-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.flow-step::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 80px;
  width: 2px;
  height: calc(100% + 1rem);
  background-color: var(--light-green);
}

.flow-step:last-child::before {
  display: none;
}

.flow-number {
  flex: 0 0 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(107, 158, 120, 0.3);
  z-index: 1;
}

.flow-content {
  flex: 1;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
}

.flow-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

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

/* ==========================================
   お客様の声
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
  position: relative;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--light-green);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.3;
}

.testimonial-text {
  color: var(--text-dark);
  line-height: 1.9;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.3rem;
}

.testimonial-meta {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* ==========================================
   予約セクション
   ========================================== */
.contact-form-wrapper {
  max-width: 700px;
  margin: 3rem auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
}

.form-label .required {
  color: #e74c3c;
  margin-left: 0.3rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: var(--light-beige);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  background-color: var(--white);
}

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

.form-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--white);
  padding: 1.2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(107, 158, 120, 0.4);
}

.contact-info {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background-color: var(--light-beige);
  border-radius: 10px;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.contact-phone {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 1rem 0;
}

/* ==========================================
   フッター
   ========================================== */
.footer {
  background-color: var(--dark-green);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--light-green);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  display: block;
}

.footer-section a:hover {
  color: var(--white);
  padding-left: 5px;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ==========================================
   レスポンシブデザイン
   ========================================== */
@media (max-width: 768px) {
  /* ヘッダー */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    padding: 5rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px var(--shadow);
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  /* ヒーロー */
  .hero-title {
    font-size: 2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  /* セクション */
  .section {
    padding: 3rem 1.5rem;
  }

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

  .section-description {
    font-size: 1rem;
  }

  /* フォトグラファー紹介 */
  .photographer-intro {
    flex-direction: column;
    gap: 2rem;
  }

  .photographer-image {
    flex: 0 0 auto;
    width: 100%;
  }

  /* 撮影の流れ */
  .flow-step {
    gap: 1rem;
  }

  .flow-number {
    flex: 0 0 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .flow-step::before {
    left: 25px;
    top: 70px;
  }

  .flow-content {
    padding: 1.5rem;
  }

  /* フォーム */
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  /* グリッド */
  .features-grid,
  .plans-grid,
  .areas-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* テーブル */
  .pricing-table {
    overflow-x: auto;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

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

  .plan-price {
    font-size: 2rem;
  }

  .photographer-name {
    font-size: 1.5rem;
  }

  .contact-phone {
    font-size: 1.5rem;
  }
}

/* ==========================================
   アニメーション
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}
