@charset "UTF-8";

/*!
Theme Name: Cocoon Child forestbook
Description: forestbook.me 専用の子テーマ
Theme URI: https://forestbook.me/
Author: forestbook
Author URI: https://forestbook.me/
Template:   cocoon-master
Version:    1.0.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* =========================================
   共通設定
========================================= */
:root {
  --primary-color: #00d6d8;
  --primary-dark: #00b8ba;
  --primary-light: #e6fafa;
  --secondary-color: #000045;
  --text-color: #1a1a1a;
  --text-light: #666666;
  --text-muted: #999999;
  --bg-light: #f8f9fa;
  --bg-section: #fafafa;
  --white: #ffffff;
  --border-color: #e5e5e5;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.2s ease;
}

/* =========================================
   TOPページ - 全体
========================================= */
.front-page .front-main {
  max-width: 100%;
  padding: 0;
}

.front-page .section-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.front-page .section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
}

.front-page .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

/* =========================================
   ヒーローセクション
========================================= */
.hero-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
  padding: 160px 24px 100px;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* 背景の装飾図形 */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,214,216,0.08) 0%, transparent 70%);
  animation: floatBg 20s ease-in-out infinite;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,69,0.03) 0%, transparent 70%);
  animation: floatBg 15s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes floatBg {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

/* 装飾ライン */
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.1;
}

.hero-line-1 {
  width: 300px;
  height: 1px;
  top: 20%;
  right: 10%;
  animation: lineFloat 8s ease-in-out infinite;
}

.hero-line-2 {
  width: 200px;
  height: 1px;
  bottom: 30%;
  left: 5%;
  animation: lineFloat 10s ease-in-out infinite reverse;
}

.hero-line-3 {
  width: 1px;
  height: 150px;
  top: 15%;
  right: 25%;
  background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
  animation: lineFloat 12s ease-in-out infinite;
}

@keyframes lineFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0.1; }
  50% { transform: translate(20px, 10px); opacity: 0.2; }
}

/* フローティング図形 */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, transparent 70%);
  opacity: 0.05;
  animation: float 15s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 10%;
  background: linear-gradient(45deg, var(--secondary-color) 0%, transparent 70%);
  opacity: 0.03;
  animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 15%;
  border: 1px solid var(--primary-color);
  opacity: 0.1;
  animation: floatRotate 20s linear infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes floatRotate {
  0% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(180deg) translateY(-20px); }
  100% { transform: rotate(360deg) translateY(0); }
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  transition: transform 0.1s ease-out;
}

.hero-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ボタン */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: var(--transition);
  background: var(--primary-color);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
  color: var(--white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: var(--transition);
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-light);
  border-color: var(--text-muted);
  color: var(--text-color);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: var(--transition);
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1rem;
}

/* =========================================
   課題提起セクション
========================================= */
.problem-section {
  background: var(--bg-section);
  padding: 80px 24px;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.problem-item {
  background: var(--white);
  padding: 2rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.problem-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.problem-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--primary-color);
}

.problem-icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-item p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

.problem-item strong {
  color: var(--text-color);
  font-weight: 600;
}

.problem-solution {
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
}

.solution-brand {
  color: var(--primary-color);
  font-weight: 700;
}

/* =========================================
   サービスセクション
========================================= */
.services-section {
  background: var(--white);
  padding: 80px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
}

/* =========================================
   選ばれる理由セクション
========================================= */
.reason-section {
  background: var(--text-color);
  color: var(--white);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

/* 背景パーティクル風装飾 */
.reason-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,214,216,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,214,216,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.reason-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.reason-shape {
  position: absolute;
  border: 1px solid rgba(0,214,216,0.2);
  border-radius: 50%;
}

.reason-shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
  animation: reasonFloat 25s linear infinite;
}

.reason-shape-2 {
  width: 250px;
  height: 250px;
  bottom: -100px;
  left: -50px;
  animation: reasonFloat 20s linear infinite reverse;
}

.reason-shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 20%;
  border-color: rgba(255,255,255,0.05);
  animation: reasonFloat 15s linear infinite;
}

@keyframes reasonFloat {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.reason-section .section-inner {
  position: relative;
  z-index: 1;
}

.reason-section .section-label {
  color: var(--primary-color);
}

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

.reason-list {
  max-width: 700px;
  margin: 0 auto;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.reason-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-color);
  min-width: 32px;
}

.reason-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.reason-content p {
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.7;
  margin: 0;
}

/* =========================================
   最新記事セクション
========================================= */
.latest-posts-section {
  background: var(--bg-section);
  padding: 80px 24px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.post-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-thumbnail {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-light);
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.03);
}

.post-thumbnail.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.post-card-content {
  padding: 1rem 1.25rem 1.25rem;
}

.post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.post-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 0.5rem;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 0;
  font-size: 0.9rem;
}

/* =========================================
   CTAセクション
========================================= */
.cta-section {
  background: var(--secondary-color);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* CTA背景装飾 */
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 50%, rgba(0,214,216,0.15) 0%, transparent 30%),
    radial-gradient(circle at 70% 30%, rgba(0,214,216,0.1) 0%, transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.03) 0%, transparent 20%);
  animation: ctaBgMove 30s linear infinite;
  pointer-events: none;
}

@keyframes ctaBgMove {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-bg-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
}

.cta-particle-1 { top: 20%; left: 10%; animation: particleFloat 8s ease-in-out infinite; }
.cta-particle-2 { top: 60%; left: 20%; animation: particleFloat 10s ease-in-out infinite 1s; }
.cta-particle-3 { top: 30%; right: 15%; animation: particleFloat 12s ease-in-out infinite 2s; }
.cta-particle-4 { top: 70%; right: 25%; animation: particleFloat 9s ease-in-out infinite 0.5s; }
.cta-particle-5 { top: 40%; left: 40%; animation: particleFloat 11s ease-in-out infinite 1.5s; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
}

.cta-section .section-inner {
  position: relative;
  z-index: 1;
}

.cta-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  margin-bottom: 1rem;
}

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

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

.cta-note {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* =========================================
   固定ページ追記コンテンツ
========================================= */
.page-content-section {
  padding: 60px 24px;
  background: var(--white);
}

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

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* スケールイン */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* 順番にフェードイン（子要素用） */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ヒーローセクション専用アニメーション */
.hero-section .hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease 0.3s forwards;
}

.hero-section .hero-title {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease 0.5s forwards;
}

.hero-section .hero-description {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease 0.7s forwards;
}

.hero-section .hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease 0.9s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* カードホバーエフェクト強化 */
.problem-item,
.service-card,
.post-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.problem-item:hover,
.service-card:hover,
.post-card:hover {
  transform: translateY(-8px);
}

/* アイコンアニメーション */
.problem-icon,
.service-icon {
  transition: transform 0.3s ease;
}

.problem-item:hover .problem-icon,
.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* ボタンホバーエフェクト */
.btn-primary,
.btn-secondary,
.btn-outline {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
  width: 300px;
  height: 300px;
}

/* 選ばれる理由のラインアニメーション */
.reason-item {
  position: relative;
}

.reason-item::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.5s ease;
}

.reason-item:hover::before {
  width: 100%;
}

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

/* =========================================
   パララックス効果
========================================= */
.parallax {
  will-change: transform;
}

.parallax-slow {
  transition: transform 0.1s ease-out;
}

/* テキストスプリットアニメーション */
.split-text {
  overflow: hidden;
}

.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: charReveal 0.6s ease forwards;
}

.split-text .char:nth-child(1) { animation-delay: 0.05s; }
.split-text .char:nth-child(2) { animation-delay: 0.1s; }
.split-text .char:nth-child(3) { animation-delay: 0.15s; }
.split-text .char:nth-child(4) { animation-delay: 0.2s; }
.split-text .char:nth-child(5) { animation-delay: 0.25s; }
.split-text .char:nth-child(6) { animation-delay: 0.3s; }
.split-text .char:nth-child(7) { animation-delay: 0.35s; }
.split-text .char:nth-child(8) { animation-delay: 0.4s; }
.split-text .char:nth-child(9) { animation-delay: 0.45s; }
.split-text .char:nth-child(10) { animation-delay: 0.5s; }

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 1s ease 1.5s forwards;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
  }
}

/* マウス追従カーソル */
.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.cursor-follower.visible {
  opacity: 0.5;
}

.cursor-follower.hover {
  width: 50px;
  height: 50px;
  border-color: var(--primary-color);
  background: rgba(0,214,216,0.1);
}

/* セクション区切りライン */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 0;
}

/* 3D傾き効果 */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateZ(10px);
}

/* グロー効果 */
.glow-on-hover {
  transition: box-shadow 0.3s ease;
}

.glow-on-hover:hover {
  box-shadow: 0 0 30px rgba(0,214,216,0.3);
}

/* サービスカードに3D効果追加 */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card:hover {
  transform: translateY(-8px) rotateX(2deg);
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .problem-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .hero-section {
    padding: 120px 24px 60px;
    min-height: 80vh;
    text-align: center;
  }

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

  .hero-cta {
    justify-content: center;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  /* スクロール時のヘッダー */
  .front-page .header.scrolled {
    position: fixed;
  }

  .problem-section,
  .services-section,
  .reason-section,
  .latest-posts-section,
  .cta-section {
    padding: 60px 24px;
  }

  .front-page .section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/*480px以下*/
@media screen and (max-width: 480px){
  .hero-section {
    padding: 100px 20px 50px;
    min-height: 90vh;
  }

  .hero-title {
    font-size: 1.75rem;
  }

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

  .scroll-indicator {
    display: none;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .problem-list {
    grid-template-columns: 1fr;
  }

  .problem-item {
    padding: 1.5rem 1rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .reason-item {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-large {
    padding: 16px 32px;
  }
}
