/*
Theme Name: Apple Nursery Landing Page
Theme URI: https://apple-nursery.com
Description: 宮崎アップル保育園 鶴島 企業提携プログラム専用ランディングページテーマ
Author: Apple Nursery
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apple-nursery-lp
*/

/* ==========================================
   基本リセットとグローバル設定
========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-navy: #1a3b70;
  --primary-red: #e63946;
  --accent-orange: #f77f00;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-gray: #6c757d;
  --border-color: #dee2e6;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--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 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--primary-navy);
  line-height: 1.3;
}

.section-subtitle {
  font-size: 16px;
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 48px;
  line-height: 1.6;
}

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

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

.site-branding {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.site-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.site-description {
  font-size: 12px;
  color: var(--text-gray);
  margin: 4px 0 0;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary-red);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
}

.header-cta svg {
  width: 20px;
  height: 20px;
}

/* ==========================================
   ファーストビュー
========================================== */
.first-view {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--light-bg);
}

.first-view-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.first-view-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  padding: 48px;
  border-radius: 16px;
  max-width: 600px;
  backdrop-filter: blur(10px);
}

.first-view-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 24px;
  line-height: 1.4;
}

.first-view-subtitle {
  font-size: 20px;
  color: var(--primary-red);
  font-weight: 600;
  margin-bottom: 16px;
}

.first-view-description {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 32px;
}

.first-view-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary-red);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
}

/* ==========================================
   課題セクション
========================================== */
.challenge-section {
  background-color: var(--light-bg);
}

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

.challenge-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.challenge-card:hover {
  transform: translateY(-4px);
}

.challenge-card.highlight {
  border: 2px solid var(--primary-red);
}

.challenge-number {
  display: inline-block;
  background: var(--primary-navy);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.challenge-card.highlight .challenge-number {
  background: var(--primary-red);
}

.challenge-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.challenge-description {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ==========================================
   解決策セクション
========================================== */
.solution-section {
  background: var(--white);
}

.solution-intro {
  text-align: center;
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 48px;
  line-height: 1.8;
}

.solution-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

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

.step-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--white);
}

.step-badge.step-1 {
  background: var(--primary-navy);
}
.step-badge.step-2 {
  background: var(--primary-red);
}
.step-badge.step-3 {
  background: var(--accent-orange);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.step-description {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.solution-highlight {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-red) 100%);
  color: var(--white);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
}

.solution-highlight-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.solution-highlight-description {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
}

/* ==========================================
   メリットセクション
========================================== */
.benefits-section {
  background: var(--light-bg);
}

.benefits-cards {
  display: grid;
  gap: 32px;
}

.benefit-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.benefit-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefit-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  flex-shrink: 0;
}

.benefit-card:nth-child(1) .benefit-number {
  background: var(--primary-red);
}
.benefit-card:nth-child(2) .benefit-number {
  background: var(--primary-navy);
}
.benefit-card:nth-child(3) .benefit-number {
  background: var(--accent-orange);
}

.benefit-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-navy);
}

.benefit-content {
  padding: 0 32px 32px;
}

.benefit-description {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 16px;
}

.benefit-details {
  list-style: none;
  padding: 0;
}

.benefit-details li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-gray);
}

.benefit-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: 700;
}

/* ==========================================
   施設紹介セクション
========================================== */
.facility-section {
  background: var(--white);
}

.facility-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.facility-feature {
  background: var(--light-bg);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

.facility-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.facility-feature-description {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.facility-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.facility-info {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 12px;
}

.facility-info-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 24px;
}

.facility-info-list {
  list-style: none;
  padding: 0;
}

.facility-info-item {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.facility-info-item:last-child {
  border-bottom: none;
}

.facility-info-label {
  font-weight: 700;
  color: var(--primary-navy);
  min-width: 120px;
}

.facility-info-value {
  color: var(--text-dark);
}

.facility-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* ==========================================
   提携フローセクション
========================================== */
.process-section {
  background: var(--light-bg);
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.process-content {
  flex: 1;
  padding-top: 8px;
}

.process-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.process-description {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ==========================================
   FAQセクション
========================================== */
.faq-section {
  background: var(--white);
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--light-bg);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e9ecef;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.faq-answer-content {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
}

/* ==========================================
   お問い合わせセクション
========================================== */
.contact-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-red) 100%);
  color: var(--white);
  text-align: center;
}

.contact-section .section-title {
  color: var(--white);
}

.contact-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin: 24px 0;
}

.contact-phone svg {
  width: 36px;
  height: 36px;
}

.contact-hours {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.contact-note {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

/* ==========================================
   スティッキーCTA
========================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--primary-red);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px;
}

.sticky-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  color: var(--primary-red);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
}

.sticky-cta-button svg {
  width: 24px;
  height: 24px;
}

/* ==========================================
   フッター
========================================== */
.site-footer {
  background: var(--primary-navy);
  color: var(--white);
  text-align: center;
  padding: 32px 0;
}

.footer-content {
  font-size: 14px;
  opacity: 0.8;
}

/* ==========================================
   レスポンシブ対応
========================================== */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .first-view {
    min-height: 500px;
  }

  .first-view-content {
    padding: 32px 24px;
    margin: 20px;
  }

  .first-view-title {
    font-size: 28px;
  }

  .first-view-subtitle {
    font-size: 18px;
  }

  .facility-overview {
    grid-template-columns: 1fr;
  }

  .contact-phone {
    font-size: 28px;
  }

  .sticky-cta-button {
    font-size: 16px;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .first-view-title {
    font-size: 24px;
  }

  .challenge-cards,
  .solution-steps,
  .facility-features {
    grid-template-columns: 1fr;
  }
}
