/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
/*
Theme Name: Lightning Child
Template: lightning
*/

/* 共通設定 */
:root {
  --color-accent: #f26600; /* オレンジ基調（コーポレート用） */
  --color-accent-lp: #9cc74b; /* 介護施設LP用のアクセントカラー */
  --font-main: 'Noto Sans JP', sans-serif;
}

body {
  font-family: var(--font-main);
  line-height: 1.8;
  color: #333;
}

/* 全セクション共通の余白とセンタリング */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ヒーローセクション */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero--orange {
  background-color: var(--color-accent);
}
.hero--green {
  background-color: var(--color-accent-lp);
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
}
/* ボタン */
.btn {
  display: inline-block;
  background-color: #fff;
  color: var(--color-accent);
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}
.btn:hover {
  background-color: rgba(255,255,255,0.8);
}

/* 介護施設LPのボタン色 */
.btn--lp {
  color: var(--color-accent-lp);
}

/* セクションタイトル */
.section-title {
  font-size: 2.4rem;
  margin-bottom: 40px;
  text-align: center;
}
/* ニュース一覧 */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1rem;
}
.news-item a {
  text-decoration: none;
  color: var(--color-accent);
}
/* アニメーションの初期状態（非表示） */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* 表示時のスタイル */
.animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}
