@charset "UTF-8";
/* --- 変数定義（あたたかみのある洗練されたカラーパレット） --- */
:root {
  --text-main: #4a4036; /* 真っ黒ではなく、温かみのあるダークブラウン */
  --text-light: #8e867d;
  --bg-white: #ffffff;
  --bg-base: #fdfcf9; /* わずかにクリームがかったベースカラー */
  --bg-warm: #f7f3ec; /* セクション分けに使う、温かいベージュ */
  /* 3Sカラー（パステル調の優しく洗練された色合いに調整） */
  --color-spark: #8ab6d6; /* 優しい空色 */
  --color-shine: #e6c565; /* 落ち着いたひまわり色 */
  --color-smile: #8ebc9b; /* 穏やかな若葉色 */
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-base);
  line-height: 2;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

.en-font {
  font-family: "Quicksand", sans-serif;
}

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

/* ヘッダー */
/* --- ヘッダー：初期状態は透明 --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fdfcf9; /* 最初は透明 */
  backdrop-filter: blur(0px);
  transition: all 0.5s ease; /* 変化を滑らかに */
  z-index: 1000;
}
.header h1,
.header .logo {
  margin: 0;
  display: flex;
}
.header h1 a,
.header .logo a {
  width: 200px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}
.header h1 img,
.header .logo img {
  width: 100%;
}

/* ロゴ上部の正式名称 */
.logo-official-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: 3px;
  white-space: nowrap;
}

/* フッターロゴ上部の正式名称 */
.footer-logo a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}
.footer-logo img {
  width: 180px;
}

/* スクロール後に付与されるスタイル */
.header.scrolled {
  background: rgba(253, 252, 249, 0.97);
  box-shadow: 0 1px 16px rgba(74, 64, 54, 0.07);
  /* padding は header-inner 側で制御 */
}

/* スクロール後：header-inner を小さく */
.header.scrolled .header-inner {
  padding: 6px 50px;
}

/* スクロール後：ロゴを少し縮小 */
.header.scrolled h1 a,
.header.scrolled .logo a {
  width: 140px;
}

/* スクロール後：正式名称テキストを非表示にして高さを詰める */
.header.scrolled .logo-official-name {
  display: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo a {
  font-family: "Quicksand", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.global-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.global-nav a {
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.global-nav a:hover {
  color: var(--color-spark);
}

/* --- 超軽量版：SPARK助成金ボタン --- */
.btn-header-grant {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  /* 【改善】GPUに専用レイヤーを作らせて、他への影響を遮断 */
  will-change: transform;
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

.btn-spark-grant {
  background: linear-gradient(135deg, var(--color-spark) 0%, #a8cde9 100%);
  color: #fff !important;
  /* 【改善】影の描画負荷を減らす（ぼかしを小さく） */
  box-shadow: 0 4px 10px rgba(138, 182, 214, 0.2);
}

/* 演出1：ライブドット（box-shadowを使わずopacityだけで表現） */
.btn-spark-grant::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  /* 【改善】opacityのみのアニメーションはメモリを食いません */
  animation: pulse-simple 2s infinite;
}

@keyframes pulse-simple {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
/* 演出2：光の筋（leftではなくtransformで動かす） */
.btn-spark-grant::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  /* 【改善】transformを使ってGPUで動かす */
  transform: translateX(-150%);
  animation: shimmer-gpu 4s infinite;
}

@keyframes shimmer-gpu {
  0% {
    transform: translateX(-150%);
  }
  20%, 100% {
    transform: translateX(150%);
  }
}
/* ホバー時は拡大(scale)のみにする */
.btn-spark-grant:hover {
  transform: scale(1.03) translateZ(0);
}

/* --- Shine / Smile ヘッダーボタン & 3ボタンコンテナ --- */
.header-grant-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 3ボタン共通：少し小さく */
.header-grant-btns .btn-header-grant {
  padding: 8px 14px;
  font-size: 0.78rem;
}

.btn-shine-grant {
  background: linear-gradient(135deg, var(--color-shine) 0%, #f0d88a 100%);
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(230, 197, 101, 0.2);
}
.btn-shine-grant::before {
  content: "";
  width: 7px;
  height: 7px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse-simple 2s infinite;
}
.btn-shine-grant:hover { transform: scale(1.04); }

.btn-smile-grant {
  background: linear-gradient(135deg, var(--color-smile) 0%, #a8d4b4 100%);
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(142, 188, 155, 0.2);
}
.btn-smile-grant::before {
  content: "";
  width: 7px;
  height: 7px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse-simple 2.4s infinite;
}
.btn-smile-grant:hover { transform: scale(1.04); }


/* ===================================================
   ヘッダー レスポンシブ対応 (Responsive Header)
   PC, タブレット, スマホの全画面サイズで美しく
=================================================== */
/* --- 1. PC版（1025px以上） --- */
/* 十分な広さがある時だけ、横並びメニューを表示 */
@media screen and (min-width: 1025px) {
  .hamburger {
    display: none;
  } /* ハンバーガーボタンを隠す */
}
/* --- 2. タブレット＆スマホ版（1024px以下） --- */
/* 画面が少し狭くなったら、美しさを保つために早めにハンバーガーメニューへ切り替え */
@media screen and (max-width: 1024px) {
  /* ヘッダーの余白を少し詰める */
  .header-inner {
    padding: 15px 30px;
  }
  .logo a {
    font-size: 1.2rem; /* ロゴも少しだけ小さく */
  }
  /* --- ハンバーガーボタンのデザイン --- */
  .hamburger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000; /* メニューが開いた時も一番上に表示 */
    padding: 0;
  }
  .hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .hamburger span:nth-child(3) {
    bottom: 0;
  }
  /* 開いた時の「×」アニメーション */
  .hamburger.is-open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-open span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }
  /* --- フルスクリーンメニュー（ドロワー） --- */
  .global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(253, 252, 249, 0.98); /* アイボリーで覆う */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* 初期状態は透明にして隠す */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1500;
  }
  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .global-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .global-nav a {
    font-size: 1.2rem; /* タップしやすいように大きめ */
  }
}
/* --- 3. スマホ専用の微調整（768px以下） --- */
/* さらに画面が小さいスマホ向けの最終調整 */
@media screen and (max-width: 768px) {
  .header-inner {
    padding: 15px 20px; /* 左右の余白をさらに狭める */
  }
  .logo a {
    font-size: 1.1rem; /* スマホ用にロゴを最適化 */
  }
  .global-nav a {
    font-size: 1.1rem; /* 画面に収まるように少し小さく */
  }
}

/* ===================================================
   ヘッダー 助成金ボタン レスポンシブ修正
=================================================== */

/* 中間サイズ（1025px〜1280px）：ボタン・ナビを小さく */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
  .header-inner {
    padding: 12px 30px;
  }
  .header-grant-btns .btn-header-grant {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .header-grant-btns {
    gap: 5px;
  }
  .global-nav {
    gap: 20px;
  }
  .global-nav ul {
    gap: 14px;
  }
  .global-nav a {
    font-size: 0.88rem;
  }
  .header-sns-link {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
}

/* やや狭いPC（1025px〜1160px）：さらに詰める */
@media screen and (min-width: 1025px) and (max-width: 1160px) {
  .header-inner {
    padding: 12px 20px;
  }
  .global-nav {
    gap: 12px;
  }
  .global-nav ul {
    gap: 10px;
  }
  .global-nav a {
    font-size: 0.82rem;
  }
  .header-grant-btns .btn-header-grant {
    padding: 5px 8px;
    font-size: 0.68rem;
  }
}

/* タブレット・スマホ（1024px以下）：ドロワー内でボタンを縦並びに */
@media screen and (max-width: 1024px) {
  .header-grant-btns {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .header-grant-btns .btn-header-grant {
    padding: 14px 36px;
    font-size: 1rem;
    width: auto;
    min-width: 200px;
    justify-content: center;
  }
}

/* ===================================================
   1. ヒーロー本体 (Hero Section)
=================================================== */
.hero {
  position: relative;
  padding: 110px 0 50px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--bg-base);
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0; /* JSでappearが付くまで隠す */
  transition: opacity 2s ease, transform 2s ease, filter 2s ease;
}

.hero.appear {
  opacity: 1;
}

.hero-inner {
  position: relative;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0px;
}

/* ===================================================
   2. スライダーフレーム (Slider / Image Frame)
=================================================== */
.hero-slider {
  width: 90%;
  height: 85vh;
  min-height: 500px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  /* 【対策2】描画を独立させる（周辺要素への影響を遮断） */
  isolation: isolate;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* スライドのクロスフェード制御 */
.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 0;
  will-change: opacity; /* 追加 */
}

.slide-item.active {
  opacity: 1;
  z-index: 1;
}

/* 画像・動画のズームアウトアニメーション */
.slide-item img,
.slide-item video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.08) translateZ(0);
  transition: transform 0.6s ease;  /* 非active時は素早くリセット */
  will-change: transform;
  backface-visibility: hidden;
}

.slide-item.active img,
.slide-item.active video {
  transform: scale(1) translateZ(0);
  transition: transform 9s cubic-bezier(0.0, 0.0, 0.2, 1); /* ゆっくり滑らかにズームアウト */
}

/* 写真に薄いヴェールをかける */
.hero-slider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(253, 252, 249, 0.1), rgba(253, 252, 249, 0.05));
  pointer-events: none;
  z-index: 2;
}

/* インジケーター可読性向上：右端に暗めのグラデーション暗幕 */
.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(to left,
    rgba(20, 14, 8, 0.52) 0%,
    rgba(20, 14, 8, 0.22) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ===================================================
   3. テキストエリア (Hero Content)
=================================================== */
.hero-content {
  position: absolute;
  left: 0;
  bottom: 8%;
  background: #fdfcf9; /* 完全に不透明にして軽量化 */
  padding: 50px 60px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(74, 64, 54, 0.08);
  border: 1px solid rgba(74, 64, 54, 0.1);
  border-left: 6px solid var(--color-spark); /* 初期色 */
  z-index: 10;
  max-width: 580px;
  text-align: left;
  /* 登場アニメーション */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s, transform 2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s, border-color 0.8s ease;
}

.hero.appear .hero-content {
  opacity: 1;
  transform: translateY(0);
}

/* スライドと色の連動 */
.hero:has([data-s=spark].active) .hero-content {
  border-left-color: var(--color-spark);
}

.hero:has([data-s=shine].active) .hero-content {
  border-left-color: var(--color-shine);
}

.hero:has([data-s=smile].active) .hero-content {
  border-left-color: var(--color-smile);
}

/* テキスト内装飾 */
.hero-en-title {
  font-size: 0.9rem;
  color: var(--color-spark);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: color 0.8s ease;
}

/* タイトル前の3色ドット */
.hero-en-title::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color-spark);
  border-radius: 50%;
  box-shadow: 12px 0 0 var(--color-shine), 24px 0 0 var(--color-smile);
  margin-right: 25px;
}

.hero:has([data-s=spark].active) .hero-en-title {
  color: var(--color-spark);
}

.hero:has([data-s=shine].active) .hero-en-title {
  color: var(--color-shine);
}

.hero:has([data-s=smile].active) .hero-en-title {
  color: var(--color-smile);
}

.hero-catchphrase-warm {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 30px;
}

.hero-subtext {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 2;
  color: var(--text-light);
}

/* ===================================================
   4. 右上のタグ (Slide Tags)
=================================================== */
.slide-tag {
  position: absolute;
  top: 40px;
  right: 50px;
  z-index: 10;
}

.tag-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  padding: 12px 28px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slide-item[data-s=spark] .tag-label {
  background: var(--color-spark);
}

.slide-item[data-s=shine] .tag-label {
  background: var(--color-shine);
}

.slide-item[data-s=smile] .tag-label {
  background: var(--color-smile);
}

.tag-label.plain {
  background: #fdfcf9;
  color: var(--text-main);
  border: 1px solid rgba(74, 64, 54, 0.1);
}

/* ===================================================
   5. スクロールインジケーター (Scroll Indicator)
=================================================== */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 20px;
  opacity: 0;
  animation: fadeIn 2s ease forwards 2s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.scroll-text {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(74, 64, 54, 0.1);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-spark), transparent);
  animation: scrollLineAnim 2.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes scrollLineAnim {
  0% {
    top: -60px;
  }
  100% {
    top: 60px;
  }
}
/* ===================================================
   6. レスポンシブ (Responsive Optimization)
=================================================== */
/* --- タブレット対応 (1024px以下) --- */
@media screen and (max-width: 1024px) {
  .hero-slider {
    height: 70vh;
  }
  .hero-content {
    padding: 40px;
    max-width: 80%;
    bottom: 5%;
  }
  .hero-catchphrase-warm {
    font-size: 2.5rem; /* iPadでは少し文字を小さく */
  }
  .slide-tag {
    top: 30px;
    right: 30px;
  }
}
/* --- スマホ対応 (768px以下) --- */
@media screen and (max-width: 768px) {
  .hero {
    padding: 100px 0 40px; /* ヘッダーとの被りを防ぐ */
    min-height: auto;
  }
  .hero-inner {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
  }
  /* スライダー（写真・動画）の枠 */
  .hero-slider {
    width: 92%; /* 画面端に少し余白を作る */
    height: 55vh; /* スマホ画面の半分ちょっとの高さ */
    min-height: 350px;
    border-radius: 20px;
    margin: 0 auto;
  }
  /* 右上のタグ */
  .slide-tag {
    top: 15px;
    right: 15px;
  }
  .tag-label {
    padding: 8px 16px;
    font-size: 0.7rem;
  }
  /* テキストボックス（写真の上に少し重ねる） */
  .hero-content {
    position: relative;
    bottom: auto;
    left: auto;
    margin: -50px auto 0; /* ★上に50px引っ張り上げて写真と重ねる */
    width: 88%;
    max-width: none;
    padding: 30px 20px;
    text-align: center;
    border-left: none; /* PCの左線を消す */
    border-top: 5px solid var(--color-spark); /* 上線を引く */
    box-sizing: border-box;
    z-index: 20; /* ★写真より確実に前に出す */
  }
  /* ★修正：スマホでは上線（border-top）の色をスライドに連動させる */
  .hero:has([data-s=spark].active) .hero-content {
    border-top-color: var(--color-spark);
    border-left-color: transparent;
  }
  .hero:has([data-s=shine].active) .hero-content {
    border-top-color: var(--color-shine);
    border-left-color: transparent;
  }
  .hero:has([data-s=smile].active) .hero-content {
    border-top-color: var(--color-smile);
    border-left-color: transparent;
  }
  /* テキスト内の微調整 */
  .hero-en-title {
    justify-content: center; /* 英語タイトルも中央寄せ */
    font-size: 0.8rem;
    margin-bottom: 15px;
  }
  .hero-en-title::before {
    display: none; /* スマホでは3色ドットを消してスッキリさせる */
  }
  .hero-catchphrase-warm {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  .hero-subtext {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left; /* 長い文章は左揃えの方がスマホでは読みやすい */
  }
  /* スクロール指示棒 */
  .scroll-indicator {
    padding: 30px 0 10px;
  }
  .scroll-line {
    height: 40px; /* 線を少し短く */
  }
}
/* --- ローディング全体 --- */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fdfcf9; /* アイボリー系で温かみを */
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease-in-out, visibility 1s;
}

/* ロード完了後の状態 */
#loading-screen.is-loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important; /* 下のボタンをクリックできるようにする */
  transition: opacity 1.2s ease, visibility 1.2s; /* 1.2秒かけてリッチに消える */
}

.loading-wrapper {
  text-align: center;
}

/* 
   SVG自体を回すのではなく、
   個別の線が時間差で一周するアニメーション
*/
@keyframes rotate-cycle {
  0% {
    transform: rotate(0deg);
    stroke-dashoffset: 251; /* 最初は隠す */
  }
  50% {
    stroke-dashoffset: 0; /* 線が伸びきる */
  }
  100% {
    transform: rotate(360deg);
    stroke-dashoffset: -251; /* 消えながら一周する */
  }
}
/* --- SVGが端で切れないようにするお守り --- */
.loading-animation svg {
  width: 100%;
  height: 100%;
  overflow: visible; /* 線が枠からはみ出しても切れないように */
}

/* --- ローディング：アニメーションの統合 --- */
.loading-animation circle {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 160 251; /* ほどよい長さの弧 */
  stroke-dashoffset: 251;
  /* 4.5秒で1周する設定。ゆっくり */
  animation: rotate-cycle 4.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transform-origin: center;
}

@keyframes rotate-cycle {
  0% {
    transform: rotate(0deg);
    stroke-dashoffset: 251;
  }
  50% {
    transform: rotate(180deg);
    stroke-dashoffset: 0;
  }
  100% {
    transform: rotate(360deg);
    stroke-dashoffset: -251;
  }
}
/* 3色それぞれに時間差をつける */
.circle-spark {
  stroke: var(--color-spark);
  animation-delay: 0s !important;
}

.circle-shine {
  stroke: var(--color-shine);
  animation-delay: 0.2s !important;
}

.circle-smile {
  stroke: var(--color-smile);
  animation-delay: 0.4s !important;
}

@keyframes dash {
  0% {
    stroke-dashoffset: 251;
    transform: rotate(0deg);
  }
  50% {
    stroke-dashoffset: 0;
    transform: rotate(180deg);
  }
  100% {
    stroke-dashoffset: 251;
    transform: rotate(360deg);
  }
}
.loading-logo-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.1em;
}
.loading-logo-inner img {
  width: 150px;
  display: block;
  margin-top: -60px;
}

/* --- テキストとプログレスバー --- */
.loading-logo-text {
  display: none;
}
.loading-logo-img {
  display: block;
  width: 180px;
  margin: 0 auto 20px;
  opacity: 0;
  animation: fadeInLogo 2s forwards 0.8s;
}
@keyframes fadeInLogo {
  to { opacity: 1; }
}

.loading-bar {
  width: 200px;
  height: 1px;
  background: rgba(74, 64, 54, 0.1);
  margin: 0 auto 10px;
  position: relative;
  overflow: hidden;
}

.loading-progress {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--color-spark), var(--color-shine), var(--color-smile));
  animation: progress 2.5s infinite;
}

@keyframes progress {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.loading-message {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1.5s forwards 1s;
}

@keyframes fadeIn {
  to {
    opacity: 0.6;
  }
}
/* 共通セクション設定 */
.section {
  padding: 120px 20px;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
}

.bg-warm {
  background-color: var(--bg-warm);
}

/* 見出し（Quicksandで優しく） */
.section-heading {
  text-align: center;
  margin-bottom: 80px;
}

.section-heading .en {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

.section-heading .ja {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.15em;
  margin-top: 5px;
}

/* ===================================================
   共通セクション・見出し スマホ対応
=================================================== */
@media screen and (max-width: 768px) {
  /* 左右の余白確保 */
  .inner {
    padding-left: 5%;
    padding-right: 5%;
  }
  /* 共通セクション設定：上下の余白を半分くらいに減らす */
  .section {
    padding: 60px 20px;
  }
  /* 見出し周りの余白を狭める */
  .section-heading {
    margin-bottom: 40px;
  }
  /* 英語のメインタイトル：画面に収まるように小さく */
  .section-heading .en {
    font-size: 1.8rem; /* 2.5remから縮小 */
  }
  /* 日本語のサブタイトル：バランスを見て少し小さく */
  .section-heading .ja {
    font-size: 0.75rem;
    margin-top: 5px;
  }
}
/* コンセプト（蛍光マーカー風のあしらいで温かみを） */
.concept-catch {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 50px;
  line-height: 2.5;
}

.concept-catch span {
  display: inline-block;
  margin: 0 10px;
  padding: 0 5px;
  white-space: nowrap; /* ★これを追加：単語の途中で絶対に改行させない */
}

.hl-spark {
  background: linear-gradient(transparent 60%, rgba(138, 182, 214, 0.3) 60%);
}

.hl-shine {
  background: linear-gradient(transparent 60%, rgba(230, 197, 101, 0.4) 60%);
}

.hl-smile {
  background: linear-gradient(transparent 60%, rgba(142, 188, 155, 0.4) 60%);
}

.concept-desc {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-light);
}

/* --- 上部：循環を示すサイクル図解 --- */
.philosophy-diagram {
  display: flex;
  justify-content: center;
  padding: 60px 0 80px;
}

.cycle-diagram {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 30px auto;
  transform: scale(1.3);
  transform-origin: center center;
}

/* 中央のテキスト：視認性を高める調整 */
.cycle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 160px;
}

.cycle-center .core-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin: 0 0 2px 0;
}

.cycle-center .core-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  border-top: 1px solid #d4cdc5;
  display: inline-block;
  padding-top: 2px;
}

/* 各ノード（3S）の配置とスタイル */
.cycle-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  z-index: 5;
}

/* 各ノードの絶対配置 */
.node-top {
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
}

.node-right {
  bottom: 20px;
  right: -40px;
}

.node-left {
  bottom: 20px;
  left: -40px;
}

/* アイコンを囲む枠 */
.node-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  padding: 12px;
}

/* Spark(上部)だけ、文字とのバランスをとるためマージン調整 */
.node-top .node-icon-wrapper {
  margin-bottom: 0;
  margin-top: 10px;
}

.spark-border {
  border-color: var(--color-spark);
}

.shine-border {
  border-color: var(--color-shine);
}

.smile-border {
  border-color: var(--color-smile);
}

.node-icon {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 20px;
}

/* ノードのテキスト */
.node-text {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2px;
}

/* テキストカラー */
.spark-text {
  color: var(--color-spark);
}

.shine-text {
  color: var(--color-shine);
}

.smile-text {
  color: var(--color-smile);
}

/* SVGで描画する循環の矢印 */
.cycle-arrows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* --- 下部：テキストリスト --- */
.philosophy-text-list {
  max-width: 800px;
  margin: 0 auto;
}

.text-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
}

.item-number {
  font-size: 5rem;
  font-weight: 400;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px #c2bbae;
  width: 120px;
  text-align: right;
  flex-shrink: 0;
  padding-top: 5px;
}

.item-body {
  border-left: 1px solid #d4cdc5;
  padding-left: 40px;
  margin-left: 30px;
  flex: 1;
}

.item-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  letter-spacing: 0.05em;
}

.item-title span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-left: 15px;
  font-weight: 500;
}

/* ===================================================
   03 Smile 結論メッセージ（次世代へのSPARK）の演出
=================================================== */
.item-conclusion {
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  background-color: rgba(138, 182, 214, 0.08);
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid rgba(138, 182, 214, 0.2);
  /* 初期状態：隠しておく */
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  /* アニメーション：少し弾むような動き */
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.8s ease;
  transition-delay: 1s;
  will-change: opacity, transform;
}

.text-list-item.appear .item-conclusion {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 10px 30px rgba(138, 182, 214, 0.15);
}

.item-conclusion .next-arrow {
  display: inline-block;
  color: var(--color-spark);
  font-size: 1.2rem;
  animation: arrowSideWave 2s ease-in-out infinite;
}

@keyframes arrowSideWave {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}
.item-conclusion .spark-text {
  position: relative;
  text-shadow: 0 0 10px rgba(138, 182, 214, 0.3);
}

.next-arrow {
  color: var(--color-spark);
  font-weight: 700;
  font-size: 1.2rem;
}

.next-msg {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ===================================================
   理念の締めくくり（財団の使命と次世代への循環）
=================================================== */
.philosophy-mission {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 50px 40px;
  background: #ffffff;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(74, 64, 54, 0.05);
  border: 1px solid #f0ebe4;
}

.mission-loop-text {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  letter-spacing: 0.05em;
}

.mission-loop-text .arrow {
  color: #d4cdc5;
}

.mission-loop-text .next-spark {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.1rem;
  background: rgba(138, 182, 214, 0.1);
  padding: 8px 25px;
  border-radius: 50px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mission-loop-text .next-spark .icon {
  font-size: 1.3rem;
  color: var(--color-spark);
}

.mission-desc {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-main);
  margin: 0;
  font-weight: 500;
}

/* ===================================================
   理念の締めくくり：ミッションループの完全版演出
=================================================== */
.philosophy-mission.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.philosophy-mission.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

.mission-loop-text > * {
  display: inline-block;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.philosophy-mission.appear .mission-loop-text > *:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.philosophy-mission.appear .mission-loop-text > *:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.philosophy-mission.appear .mission-loop-text > *:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s;
}

.philosophy-mission.appear .mission-loop-text > *:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.8s;
}

.philosophy-mission.appear .mission-loop-text > *:nth-child(5) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1s;
}

.philosophy-mission.appear .mission-loop-text > *:nth-child(6) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.2s;
}

.philosophy-mission .next-spark {
  opacity: 0;
  transform: scale(0.8) translateY(10px);
  transition: opacity 1s cubic-bezier(0.34, 1.56, 0.64, 1), transform 1s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 1s ease;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.philosophy-mission.appear .next-spark {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 1.7s;
  box-shadow: 0 0 20px rgba(138, 182, 214, 0.3);
  background-color: rgba(138, 182, 214, 0.15);
}

.philosophy-mission .next-spark .icon {
  display: inline-block;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2s;
  transform: rotate(-180deg);
}

.philosophy-mission.appear .next-spark .icon {
  transform: rotate(0deg);
}

.philosophy-mission .mission-desc {
  opacity: 0;
  transition: opacity 1.5s ease 2.5s;
}

.philosophy-mission.appear .mission-desc {
  opacity: 1;
}

/* ===================================================
   法人理念 (Philosophy) - ダイナミックレイアウト
=================================================== */
.philosophy.section {
  padding: 120px 0;
  background-color: #ffffff;
}

.philosophy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  gap: 60px;
}

.header-left {
  position: relative;
  flex-shrink: 0;
}

.ja-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #5a504a;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.en-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: #333333;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
  transform: rotate(-3deg);
  transform-origin: left bottom;
  font-family: "Quicksand", sans-serif;
}

.header-right {
  max-width: 650px;
  padding-bottom: 0;
}

.header-right .message-catch-unique {
  font-size: 2rem;
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 30px;
  transform: rotate(-3deg);
  transform-origin: left bottom;
}

.header-right p {
  font-size: 1rem;
  color: #5a504a;
  line-height: 1.9;
  margin: 0;
}

/* --- 背景付きの大きなボックス --- */
.philosophy-box {
  background-color: #f4f5f6; /* 薄いグレー */
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
}

.box-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5a504a;
  letter-spacing: 0.1em;
  margin-bottom: 50px;
}

/* --- 3つの項目の横並び（グリッド） --- */
.philosophy-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  text-align: left;
}

.grid-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  width: 33.333%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.grid-item .item-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.grid-item .item-title .ja {
  font-size: 0.9rem;
  font-weight: 700;
  color: #5a504a;
  margin-top: 5px;
}

.grid-item .item-desc {
  font-size: 0.95rem;
  color: #7a706a;
  line-height: 1.7;
  margin: 0;
}

/* --- 結論の矢印とメッセージ --- */
.philosophy-conclusion {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrow-down {
  width: 2px;
  height: 40px;
  background-color: #cccccc;
  margin-bottom: 20px;
  position: relative;
}

.arrow-down::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #cccccc;
}

.philosophy-conclusion .conclusion-box {
  background: #ffffff;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #5a504a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 循環フロー行（Spark → Shine → Smile → 次世代のSPARKへ） */
.cycle-flow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-arrow {
  color: #ccc;
  font-weight: 700;
  font-size: 1.1rem;
}

.cycle-flow-row .flow-item {
  font-size: 1.1rem;
  font-weight: 700;
}

.cycle-flow-row .next-spark-label {
  background: rgba(138, 182, 214, 0.12);
  padding: 4px 18px;
  border-radius: 30px;
  border: 1px solid rgba(138, 182, 214, 0.3);
}

/* グリッドアイテムのカラーアクセント強化 */
.grid-item:nth-child(1) {
  border-top: 4px solid var(--color-spark);
}
.grid-item:nth-child(2) {
  border-top: 4px solid var(--color-shine);
}
.grid-item:nth-child(3) {
  border-top: 4px solid var(--color-smile);
}

/* 理念ヘッダーのビジュアル強化 */
.philosophy-header-accent {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.philosophy-header-accent span {
  display: block;
  height: 4px;
  border-radius: 2px;
}
.philosophy-header-accent .acc-spark { width: 40px; background: var(--color-spark); }
.philosophy-header-accent .acc-shine { width: 25px; background: var(--color-shine); }
.philosophy-header-accent .acc-smile { width: 15px; background: var(--color-smile); }

/* ===================================================
   理念グリッド ＆ 結論メッセージの時間差演出
=================================================== */
/* 1. 初期状態：共通設定 */
.grid-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.philosophy-conclusion {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

/* 2. 画面に現れた（appearクラスがついた）時の動作 */
.philosophy-box.appear .grid-item.appear {
  opacity: 1;
  transform: translateY(0);
}

.philosophy-box.appear .philosophy-conclusion.appear {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 3. 各要素の時間差（ディレイ）設定 */
.philosophy-box.appear .grid-item.appear:nth-child(2) {
  transition-delay: 0.2s;
}

.philosophy-box.appear .grid-item.appear:nth-child(3) {
  transition-delay: 0.5s;
}

.philosophy-box.appear .grid-item.appear:nth-child(4) {
  transition-delay: 0.8s;
}

/* ===================================================
   スマホ対応 (レスポンシブ共通まとめ)
=================================================== */
@media screen and (max-width: 900px) {
  /* --- 前半：コンセプト＆図解 --- */
  /* コンセプト（蛍光マーカー部分） */
  .concept-catch {
    font-size: 1.2rem; /* スマホ用に少し小さく */
    line-height: 2;
    margin-bottom: 30px;
  }
  .concept-desc {
    font-size: 0.95rem;
    text-align: left; /* 長い文章は左揃えが読みやすい */
  }
  /* 循環を示すサイクル図解（全体を縮小して画面に収める） */
  .philosophy-diagram {
    padding-top: 20px;
  }
  .cycle-diagram {
    transform: scale(0.75); /* ★スマホ画面に収まるように縮小（拡大後を考慮） */
    transform-origin: center top;
    margin-bottom: -60px; /* 縮小して余った下の空間を詰める */
  }
  /* テキストリスト (01, 02, 03...) を縦積みに変更 */
  .text-list-item {
    flex-direction: column;
    margin-bottom: 40px;
  }
  .item-number {
    font-size: 3.5rem; /* 数字を少し小さく */
    width: 100%;
    text-align: left; /* 左寄せに変更 */
    padding-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(74, 64, 54, 0.05); /* 下線で区切る */
    padding-bottom: 5px;
  }
  .item-body {
    border-left: none; /* 左の縦線を消す */
    padding-left: 0;
    margin-left: 0;
  }
  .item-title {
    font-size: 1.3rem;
  }
  .item-title span {
    display: block; /* 日本語サブタイトルを改行して下に配置 */
    margin-left: 0;
    margin-top: 5px;
  }
  /* 結論メッセージの微調整 */
  .item-conclusion {
    padding: 12px 15px;
    width: 100%; /* スマホでは横幅いっぱい */
    box-sizing: border-box;
    justify-content: center;
  }
  .next-msg {
    font-size: 0.95rem;
  }
  /* --- 後半：法人理念ヘッダー＆グリッド --- */
  /* 法人理念 (Philosophy) ヘッダー周り */
  .philosophy-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
  }
  .header-right {
    max-width: 100%;
  }
  .header-right .message-catch-unique {
    transform: rotate(0deg);
    text-align: center;
    font-size: 1.8rem;
  }
  .en-title {
    font-size: 3rem;
    transform: rotate(0deg);
  }
  /* 背景付きボックス内 */
  .philosophy-box {
    padding: 40px 20px;
  }
  .philosophy-grid {
    flex-direction: column;
    gap: 20px;
  }
  .grid-item {
    width: 100%;
    box-sizing: border-box;
  }
  /* 理念の締めくくり（ミッションループ）周り */
  .philosophy-mission {
    margin-top: 50px;
    padding: 40px 20px;
  }
  .mission-loop-text {
    font-size: 1.1rem;
    gap: 10px;
    justify-content: center;
  }
  .mission-loop-text .next-spark {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .mission-desc {
    font-size: 0.95rem;
    text-align: left;
  }
  /* ★以下をスマホ対応の中に追加 */
  .philosophy-conclusion .conclusion-box {
    padding: 15px 20px;
    font-size: 0.85rem;
  }
  .cycle-flow-row {
    gap: 6px;
  }
  .cycle-flow-row .flow-item {
    font-size: 0.9rem;
  }
}
/* ===================================================
   事業内容（Activities） - 檸檬会風・フル幅アーチ＆オーバーレイ（完全版）
=================================================== */
.activities.section.full-width {
  width: 100vw; /* 画面幅いっぱい */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0; /* セクション全体の余白をなくす */
  background-color: transparent; /* 背景色は不要 */
  overflow: hidden;
}

/* --- 各事業アイテム（フル幅・高身長） --- */
.activity-item {
  position: relative;
  width: 100%;
  height: 90vh; /* 画面の高さの90%を使い、大きく見せる */
  overflow: hidden;
  margin-bottom: -15vh; /* アーチが少し重なるように調整 */
}

.activity-item:last-child {
  margin-bottom: 0;
}

/* --- 背景画像エリア（HTMLで定義したSVGの型で切り抜く魔法） --- */
.activity-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  /* ★魔法：HTMLのSVG(#activities-arch-path)を呼び出して切り抜く */
  clip-path: url(#activities-arch-path);
}

/* リバース（左右反転）のアーチ */
.activity-item.reverse .activity-bg {
  /* ★魔法：左右反転の型を呼び出す */
  clip-path: url(#activities-arch-path-reverse);
}

/* 中の画像（パララックス用に少し拡大しておく） */
.activity-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.15); /* パララックスの動く余白 */
  will-change: transform;
}

/* --- 文字エリア（写真の上に載せるオーバーレイ） --- */
.activity-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: flex-end; /* テキストを下揃えに */
  padding: 10% 8%; /* たっぷりした余白 */
}

/* テキストボックス（傾ける演出） */
.info-inner {
  max-width: 580px;
  background: rgba(255, 255, 255, 0.95); /* 白背景（少し透けさせる） */
  padding: 60px 50px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  /* ★檸檬会トンマナ：少し傾けて強い意志を表現 */
  transform: rotate(-3deg);
  transform-origin: left bottom;
}

/* リバースの時はテキスト位置と傾きの基準を変える */
.activity-item.reverse .activity-info-overlay {
  justify-content: flex-end; /* テキストを右揃えに */
}

.activity-item.reverse .info-inner {
  transform: rotate(3deg); /* 逆向きに傾ける */
  transform-origin: right bottom;
}

/* 文字のスタイル */
.activity-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.activity-title {
  font-size: 2.8rem; /* 非常に大きく */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.activity-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5a504a; /* var(--text-main) */
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.activity-text {
  font-size: 1rem;
  color: #7a706a; /* var(--text-light) */
  line-height: 1.9;
  margin-bottom: 35px;
}

/* 詳細ボタン（檸檬会風の白枠ボタン） */
.btn-warm-outline {
  display: inline-block;
  padding: 15px 50px;
  background-color: #ffffff;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 事業ごとのボタンカラー設定 */
.spark-hover {
  border: 2px solid #8ab6d6;
  color: #8ab6d6;
}

.shine-hover {
  border: 2px solid #fccc0a;
  color: #fccc0a;
}

.smile-hover {
  border: 2px solid #8ebc9b;
  color: #8ebc9b;
}

.btn-warm-outline:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.spark-hover:hover {
  background-color: #8ab6d6;
  color: #ffffff;
}

.shine-hover:hover {
  background-color: #fccc0a;
  color: #ffffff;
}

.smile-hover:hover {
  background-color: #8ebc9b;
  color: #ffffff;
}

/* 定義したSVGタグ自体は非表示にする */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --- スマホ対応 (レスポンシブ) --- */
@media screen and (max-width: 768px) {
  .activities.section.full-width {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .activity-item {
    height: auto; /* スマホでは高さを自動に */
    display: flex;
    flex-direction: column; /* 縦並びに */
    margin-bottom: 40px;
  }
  .activity-bg {
    position: relative;
    width: 100%;
    height: 50vh; /* 画像の高さを調整 */
    clip-path: url(#activities-arch-path); /* スマホでもアーチ */
  }
  .activity-item.reverse .activity-bg {
    clip-path: url(#activities-arch-path-reverse);
  }
  .activity-bg img {
    transform: scale(1); /* スマホではパララックスなし */
  }
  .activity-info-overlay {
    position: relative;
    padding: 40px 20px;
    align-items: flex-start;
    justify-content: center;
  }
  .activity-item.reverse .activity-info-overlay {
    justify-content: center;
  }
  .info-inner {
    width: 92%;
    margin: 0 auto;
    padding: 40px 30px;
    transform: rotate(0deg) !important; /* スマホでは傾けない */
    text-align: center;
  }
  .activity-title {
    font-size: 2rem;
  }
}
/* --- スマホ対応 (レスポンシブ) --- */
@media screen and (max-width: 768px) {
  /* コンテナの幅リセット */
  .activities.section.full-width {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding-bottom: 60px; /* 一番下に余白を持たせる */
  }
  /* 縦積みに変更 */
  .activity-item {
    height: auto; /* スマホでは高さを自動に */
    display: flex;
    flex-direction: column; /* 縦並びに */
    margin-bottom: 80px; /* アイテム同士の間隔を広げる */
  }
  .activity-item:last-child {
    margin-bottom: 0;
  }
  /* 画像エリアを上部に配置 */
  .activity-bg {
    position: relative;
    width: 100%;
    height: 55vh; /* スマホ画面の半分ちょっとの高さ */
    min-height: 350px;
    clip-path: url(#activities-arch-path); /* スマホでもアーチ切り抜きを適用 */
  }
  .activity-item.reverse .activity-bg {
    clip-path: url(#activities-arch-path-reverse);
  }
  .activity-bg img {
    transform: scale(1); /* スマホではパララックス(拡大)を解除して軽くする */
  }
  /* ★重要：テキストエリアを画像の下に配置し、上に引っ張り上げて重ねる */
  .activity-info-overlay {
    position: relative;
    padding: 0;
    margin-top: -80px; /* ネガティブマージンで画像の上に重ねる */
    align-items: center;
    justify-content: center;
  }
  /* PCのreverse指定（右寄せ等）をリセット */
  .activity-item.reverse .activity-info-overlay {
    justify-content: center;
  }
  /* 白いテキストボックスの調整 */
  .info-inner {
    width: 90%; /* 画面幅の90% */
    margin: 0 auto;
    padding: 40px 25px;
    transform: rotate(0deg) !important; /* スマホでは傾きをなくして読みやすく */
    text-align: center; /* 見出しを中央揃えに */
  }
  /* 文字サイズの最適化 */
  .activity-num {
    font-size: 1.4rem;
  }
  .activity-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .activity-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  /* 長い説明文は左揃えの方が見やすい */
  .activity-text {
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 30px;
  }
  /* ボタンを押しやすく横幅いっぱいに */
  .btn-warm-outline {
    width: 100%;
    padding: 15px 10px;
    box-sizing: border-box;
    font-size: 1rem;
  }
}
/* ===================================================
   お知らせ（News） - 横スクロールカード型 (調整版)
=================================================== */
.news.section {
  padding: 100px 0;
  background-color: #fdfcf9;
  overflow: hidden; /* 横にはみ出た部分を隠す */
}

.news .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Swiperコンテナの調整 --- */
.news-slider {
  padding-bottom: 50px; /* 下の影とドット（ページネーション）の余白 */
  overflow: visible; /* ★重要：影と矢印が切れないようにする */
}

/* --- 記事カード本体 (★デカすぎ対策！) --- */
.news-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(74, 64, 54, 0.05); /* ふんわりした影 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  /* ★デカすぎ対策：1枚が広がりすぎないように最大幅を制限 */
  max-width: 360px;
  margin: 0 auto; /* 左右中央寄せ */
}

/* ホバーで少し浮き上がる */
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(74, 64, 54, 0.12);
}

/* --- サムネイル（写真） --- */
.news-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* 美しい黄金比 */
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}

/* ホバーで写真が少しズーム */
.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

/* カテゴリラベル */
.news-thumb .cat {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* --- テキストエリア --- */
.news-body {
  padding: 25px;
}

.news-body .date {
  display: block;
  font-size: 0.85rem;
  color: #999999;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.news-body .title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  color: #333333;
  margin: 0;
  /* 長い文字は2行で「...」と省略する魔法 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- ページネーション（ドット） --- */
.swiper-pagination-bullet-active {
  background: #8ab6d6 !important;
}

/* --- 追加：左右の矢印ナビゲーション (Next/Prev buttons) --- */
.news-slider .swiper-button-prev,
.news-slider .swiper-button-next {
  color: #8ab6d6; /* 財団のスパークブルーに変更 */
  background: rgba(255, 255, 255, 0.8); /* 白背景で視認性を確保 */
  width: 50px;
  height: 50px;
  border-radius: 50%; /* 丸いボタン */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(0px);
  transition: all 0.3s ease;
  opacity: 0; /* ★重要：ホバー時のみ表示させる */
  visibility: hidden;
}

/* 矢印アイコンの大きさを調整 */
.news-slider .swiper-button-prev:after,
.news-slider .swiper-button-next:after {
  font-size: 1.2rem;
  font-weight: bold;
}

/* ホバー時のスタイル */
.news-slider .swiper-button-prev:hover,
.news-slider .swiper-button-next:hover {
  background: #8ab6d6;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(138, 182, 214, 0.3);
}

/* ★魔法：お知らせエリア全体にホバーした時に矢印をふわっと表示させる */
.news-slider:hover .swiper-button-prev,
.news-slider:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
}

/* 矢印の位置を少し外側に（.news-sliderのoverflow: visibleを活かす） */
.news-slider .swiper-button-prev {
  left: -60px;
}

.news-slider .swiper-button-next {
  right: -60px;
}

/* --- スマホ対応 (レスポンシブ) --- */
@media screen and (max-width: 1024px) {
  /* タブレット以下では矢印を非表示にしてスワイプ操作のみに（誤操作防止） */
  .news-slider .swiper-button-prev,
  .news-slider .swiper-button-next {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  .news .inner {
    padding: 0 20px;
  }
  .news-body {
    padding: 20px;
  }
  .news-body .title {
    font-size: 0.95rem;
  }
}
.btn-wrapper {
  text-align: center;
  margin-top: 60px;
}

.btn-warm {
  display: inline-block;
  padding: 15px 50px;
  background: #fff;
  color: var(--text-main);
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(74, 64, 54, 0.05);
}

.btn-warm:hover {
  box-shadow: 0 10px 30px rgba(74, 64, 54, 0.1);
  transform: translateY(-2px);
}

/* --- スマホ対応 (レスポンシブ) --- */
@media screen and (max-width: 1024px) {
  /* タブレット以下では矢印を非表示にしてスワイプ操作のみに（誤操作防止） */
  .news-slider .swiper-button-prev,
  .news-slider .swiper-button-next {
    display: none !important;
  }
}
/* 一覧を見るボタン（PC基本スタイル） */
.btn-wrapper {
  text-align: center;
  margin-top: 60px;
}

.btn-warm {
  display: inline-block;
  padding: 15px 50px;
  background: #fff;
  color: var(--text-main);
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(74, 64, 54, 0.05);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-warm:hover {
  box-shadow: 0 10px 30px rgba(74, 64, 54, 0.1);
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  /* セクション全体の余白をスマホ用に狭める */
  .news.section {
    padding: 60px 0;
  }
  /* 左右の余白を％にして画面幅にフィットさせる */
  .news .inner {
    padding: 0 5%;
  }
  /* カードがスマホの画面幅を超えないようにする */
  .news-card {
    max-width: 100%;
    border-radius: 15px; /* スマホ用に少し角丸を抑える */
  }
  /* テキストエリアの微調整 */
  .news-body {
    padding: 20px 15px;
  }
  .news-body .date {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  .news-body .title {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  /* ボタンを押しやすく横幅いっぱいに広げる */
  .btn-wrapper {
    margin-top: 40px;
    padding: 0 5%; /* ボタンも画面幅に合わせる */
  }
  .btn-warm {
    width: 100%;
    padding: 15px 10px;
    box-sizing: border-box;
  }
}
/* ===================================================
   6. お問い合わせ導線 (Contact CTA)
=================================================== */
.contact-cta-section {
  padding: 100px 20px;
  background-color: #fdfcf9; /* 紙の質感のベースカラー */
  background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
  text-align: center;
  border-top: 1px solid #eaddd3; /* 上のセクションとの区切り線 */
}

/* 白いカード状にして浮かせることで目立たせる */
.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  color: #5a504a;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-title .en-font {
  font-size: 16px;
  color: #8ab6d6; /* Sparkカラーをアクセントに */
  letter-spacing: 0.1em;
}

.cta-text {
  font-size: 16px;
  line-height: 1.8;
  color: #7a706a;
  margin-bottom: 40px;
}

.sp-br {
  display: none; /* PCでは改行しない */
}

/* 目立つボタンのデザイン */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 50px;
  background-color: #5a504a; /* 落ち着いたダークブラウン */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px; /* 3Sの柔らかさを出す丸み */
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn-primary .btn-text {
  border: none;
}

/* ホバーアクション：Sparkカラーに変化して少し浮く */
.btn-primary:hover {
  background-color: #8ab6d6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(138, 182, 214, 0.4);
  color: #ffffff;
}

.btn-icon {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(5px); /* 矢印が右に動く */
}

/* ===================================================
   スマホ対応（レスポンシブ）
=================================================== */
@media (max-width: 768px) {
  /* 外側の余白を%にして画面幅に美しくフィットさせる */
  .contact-cta-section {
    padding: 60px 5%;
  }
  /* 白いカードの内側の余白と角丸の調整 */
  .cta-inner {
    padding: 40px 20px;
    border-radius: 15px; /* スマホでは角丸を少し抑える */
  }
  /* タイトルの文字サイズ調整 */
  .cta-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  .cta-title .en-font {
    font-size: 0.9rem;
  }
  /* 説明文の文字サイズと余白調整 */
  .cta-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
  }
  .sp-br {
    display: block; /* スマホはテキストを改行して整える */
  }
  /* ボタンを横幅いっぱいにしてタップしやすく */
  .btn-primary {
    width: 100%;
    padding: 15px 10px; /* 上下の高さを少しスリムに */
    box-sizing: border-box;
    font-size: 1rem;
  }
}
/* フッター */
/* ===================================================
   7. フッター
=================================================== */
.site-footer {
  background-color: #ffffff;
  padding: 60px 40px 30px; /* 上の余白を少し詰めました */
  border-top: 1px solid #f0e6dd;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 60px;
}

.footer-logo a {
  font-size: 28px;
  font-weight: 700;
  color: #5a504a;
  text-decoration: none;
  letter-spacing: 0.05em;
  width: 300px;
  display: block;
}
.footer-logo a img {
  width: 100%;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0e6dd;
  padding-top: 30px;
}

.footer-nav {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: #7a706a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #8ab6d6; /* ホバーでSparkカラーに */
}

.copyright {
  color: #a09b96;
  font-size: 14px;
  margin: 0;
}

/* ===== Instagram SNSリンク ===== */

/* --- ヘッダー共通 --- */
.header-sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-warm);
  color: var(--text-light);
  font-size: 1.1rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.header-sns-link:hover {
  background-color: var(--color-smile);
  color: #fff;
  transform: scale(1.1);
}

/* モバイル専用：PCでは非表示 */
.header-sns-sp {
  display: none;
}

/* PCアイコン：常に表示 */
.header-sns-pc {
  display: inline-flex;
}

@media screen and (max-width: 1024px) {
  .header-sns-sp {
    display: inline-flex;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* --- フッター --- */
.footer-social {
  display: flex;
  align-items: center;
}

.footer-sns-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.25s ease, transform 0.2s ease;
}

.footer-sns-link:hover {
  color: var(--color-smile);
  transform: translateY(-1px);
}

.footer-sns-link .fa-instagram {
  font-size: 1.4rem;
}

.footer-sns-label {
  font-size: 13px;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 768px) {
  .footer-social {
    justify-content: center;
  }
}

/* フッター：キャッチコピーエリア */
.footer-catch {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-top: 8px;
}

.footer-3s-bars {
  display: flex;
  gap: 6px;
  align-items: center;
}

.f3s-bar {
  display: block;
  height: 3px;
  border-radius: 3px;
}

.f3s-bar.spark-bar { width: 32px; background: var(--color-spark); }
.f3s-bar.shine-bar { width: 20px; background: var(--color-shine); }
.f3s-bar.smile-bar { width: 26px; background: var(--color-smile); }

.footer-tagline {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.7;
  text-align: right;
  letter-spacing: 0.06em;
}

.footer-sub-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.8;
  text-align: right;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .footer-catch {
    display: none; /* SP版では非表示 */
  }
}

/* ===================================================
   スマホ対応 (レスポンシブ)
=================================================== */
/* タブレット（769px〜1024px）：footer-bottomを折り返し */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .site-footer {
    padding: 50px 5% 30px;
  }
  .footer-inner {
    gap: 30px;
    margin-bottom: 40px;
  }
  .footer-logo a {
    width: 220px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 30px;
    padding-top: 25px;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    width: 100%;
  }
  .footer-nav a {
    font-size: 0.85rem;
    padding: 4px 6px;
  }
  .footer-social {
    justify-content: center;
  }
  .copyright {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  /* 左右の余白を%にして画面幅にフィットさせる */
  .site-footer {
    padding: 50px 5% 30px;
  }
  .footer-inner {
    justify-content: center; /* スマホではロゴを中央に */
    margin-bottom: 30px;
  }
  /* ★重要：スマホ画面からはみ出さないようにロゴを少し小さく */
  .footer-logo a {
    font-size: 1.4rem; /* PCの28pxから縮小 */
    text-align: center;
    display: block;
    width: 250px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
  }
  /* ナビゲーションリンクの配置 */
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }
  /* ★重要：指でタップしやすいように、見えない余白（padding）をつける */
  .footer-nav a {
    display: inline-block;
    padding: 8px 10px;
    font-size: 0.82rem;
  }
  /* コピーライトも中央寄せ＆少し小さく */
  .copyright {
    font-size: 0.75rem;
    text-align: center;
  }
}
/* ===================================================
   ベース設定・スクロールバー・共通装飾
=================================================== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* ごく薄いグレーのノイズ画像 */
  background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
  opacity: 0.15;
  pointer-events: none;
  z-index: 9999;
}

::-moz-selection {
  background-color: rgba(138, 182, 214, 0.3); /* Sparkカラーの薄い色 */
  color: var(--text-main);
}

::selection {
  background-color: rgba(138, 182, 214, 0.3); /* Sparkカラーの薄い色 */
  color: var(--text-main);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: #e0dbd5;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-spark);
}

.section {
  padding: 160px 20px;
}

/* ===================================================
   上品なフェードインアニメーション
=================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1), transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.hero-content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s, transform 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}

/* ===================================================
   共通パーツ（ドット、画像フィルター、見出しライン）
=================================================== */
.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  animation: bounce 1.5s infinite ease-in-out both;
}

.dot-spark {
  background-color: var(--color-spark);
  animation-delay: -0.32s;
}

.dot-shine {
  background-color: var(--color-shine);
  animation-delay: -0.16s;
}

.dot-smile {
  background-color: var(--color-smile);
}

.arch-shape img, .hero-image-frame video {
  filter: sepia(10%) contrast(95%) brightness(102%);
}

.section-heading .ja {
  position: relative;
  display: inline-block;
  padding: 0 50px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 10px;
  letter-spacing: 0.2em;
}

.section-heading .ja::before,
.section-heading .ja::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: #d4cdc5;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scaleX(0);
}

.section-heading .ja::before {
  left: 0;
  transform-origin: right;
}

.section-heading .ja::after {
  right: 0;
  transform-origin: left;
}

.fade-in.appear .ja::before,
.fade-in.appear .ja::after {
  transform: scaleX(1);
}

/* ===================================================
   3S循環図の時間差表示（スタッガードアニメーション）
=================================================== */
.cycle-node,
.cycle-arrows path {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.cycle-node {
  transform: translate(-50%, 10px);
}

.node-right {
  transform: translate(10px, 10px);
}

.node-left {
  transform: translate(-10px, 10px);
}

.philosophy-diagram.appear .cycle-node,
.philosophy-diagram.appear .cycle-arrows path {
  opacity: 1;
  transform: translate(0, 0);
}

.philosophy-diagram.appear .node-top {
  transform: translate(-50%, 0);
}

.node-top {
  transition-delay: 0s;
}

.cycle-arrows path:nth-of-type(1) {
  transition-delay: 0.4s;
}

.node-right {
  transition-delay: 0.8s;
}

.cycle-arrows path:nth-of-type(2) {
  transition-delay: 1.2s;
}

.node-left {
  transition-delay: 1.6s;
}

.cycle-arrows path:nth-of-type(3) {
  transition-delay: 2s;
}

/* アイコン浮遊アニメーション */
@keyframes floatingIcon {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}
.philosophy-diagram.appear .node-icon-wrapper {
  animation: floatingIcon 4s ease-in-out infinite alternate;
}

.node-top .node-icon-wrapper {
  animation-delay: 2.5s;
}

.node-right .node-icon-wrapper {
  animation-delay: 3s;
}

.node-left .node-icon-wrapper {
  animation-delay: 3.5s;
}

/* ===================================================
   事業内容（Activities） - 洗練されたコラージュレイアウト
=================================================== */
.activities.section {
  padding: 120px 0;
  background-color: #fff;
  overflow: hidden;
}

.activities-header {
  position: relative;
  margin-bottom: 80px;
}

.vertical-label {
  position: absolute;
  right: 0;
  top: 0;
  writing-mode: vertical-rl;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: #333;
  opacity: 0.6;
}

.activity-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 180px;
}

.activity-block.reverse {
  flex-direction: row-reverse;
}

.activity-visual {
  position: relative;
  width: 55%;
}

.img-main {
  position: relative;
  width: 85%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
}

.photo-credit {
  position: absolute;
  bottom: 8px;
  right: 8px;
  margin: 0;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.38);
  padding: 1px 5px;
  border-radius: 2px;
  line-height: 1.5;
  pointer-events: none;
  z-index: 10;
}

.sub-1 .photo-credit{
  right: 28px;
  transform: rotate(12deg);
  transform-origin: right bottom;
}

.img-main img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.img-sub {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-sub img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.sub-1 {
  width: 45%;
  aspect-ratio: 1/1;
  bottom: -20%;
  left: -25%;
  clip-path: polygon(10% 0, 100% 20%, 90% 100%, 0 80%);
}

@media screen and (max-width: 768px) {
  .sub-1 {
    left: -10%;
  }
}

.sub-1.top {
  bottom: 60%;
  width: 35%;
  left: -10%;
}

.sub-2 {
  width: 35%;
  aspect-ratio: 4/3;
  bottom: 5%;
  right: -5%;
  clip-path: polygon(0 20%, 90% 0, 100% 80%, 10% 100%);
}

.deco-shape {
  position: absolute;
  z-index: -1;
  opacity: 0.3;
}

.spark-shape {
  background: #8ab6d6;
  top: -70px;
  right: 10%;
  width: 200px;
  height: 180px;
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.shine-shape {
  background: #fccc0a;
  top: auto;
  bottom: -50px;
  left: 10%;
  right: auto;
  width: 160px;
  height: 160px;
  clip-path: circle(50% at 50% 50%);
}

.smile-shape {
  background: #8ebc9b;
  top: -80px;
  right: auto;
  left: 15%;
  width: 190px;
  height: 190px;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.activity-content {
  width: 38%;
}

.sub-lead {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #5a504a;
}

.activity-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.activity-block:nth-child(1) .activity-title {
  color: #8ab6d6;
}

.activity-block:nth-child(2) .activity-title {
  color: #fccc0a;
}

.activity-block:nth-child(3) .activity-title {
  color: #8ebc9b;
}

.activity-desc {
  font-size: 1rem;
  line-height: 2;
  color: #7a706a;
  margin-bottom: 35px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  padding: 12px 40px;
  border: 1px solid #333;
  border-radius: 50px;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-more .arrow {
  margin-left: 15px;
  transition: transform 0.3s;
}

.activity-block:nth-child(1) .btn-more:hover {
  border-color: #8ab6d6;
  background: #8ab6d6;
  color: #fff;
}

.activity-block:nth-child(2) .btn-more:hover {
  border-color: #fccc0a;
  background: #fccc0a;
  color: #fff;
}

.activity-block:nth-child(3) .btn-more:hover {
  border-color: #8ebc9b;
  background: #8ebc9b;
  color: #fff;
}

.btn-more:hover .arrow {
  transform: translateX(5px);
}

@media screen and (max-width: 768px) {
  .activity-block, .activity-block.reverse {
    flex-direction: column;
    margin-bottom: 100px;
  }
  .activity-visual, .activity-content {
    width: 100%;
  }
  .activity-content {
    margin-top: 60px;
    text-align: center;
  }
  .img-main {
    width: 100%;
  }
  .deco-shape {
    transform: scale(0.8);
  }
}
/* ===================================================
   理念メッセージセクション（檸檬会風・左右分割フル幅）
=================================================== */
.message-section.full-width {
  width: 100%;
  padding: 120px 0;
  background-color: #fdfcf9;
  overflow: hidden;
}

.message-inner-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.message-graphic {
  width: 55%;
  position: relative;
}

.message-graphic img {
  width: 100%;
  height: auto;
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}
.message-content {
  width: 45%;
}

.message-catch-unique {
  font-size: 2.5rem;
  font-weight: 800;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
  transform-origin: left bottom;
}

.message-catch-unique span {
  display: inline-block;
  padding: 0 4px;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 100%;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), background-size 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, background-size;
}

.marker-spark {
  background-image: linear-gradient(transparent 60%, rgba(138, 182, 214, 0.4) 60%);
}

.marker-shine {
  background-image: linear-gradient(transparent 60%, rgba(252, 204, 10, 0.4) 60%);
}

.marker-smile {
  background-image: linear-gradient(transparent 60%, rgba(142, 188, 155, 0.4) 60%);
}

.fade-in.appear .marker-spark, .fade-in.appear .marker-shine, .fade-in.appear .marker-smile {
  opacity: 1;
  transform: translateY(0);
  background-size: 100% 100%;
}

.fade-in.appear .marker-spark {
  transition-delay: 0.5s;
}

.fade-in.appear .marker-shine {
  transition-delay: 1.2s;
}

.fade-in.appear .marker-smile {
  transition-delay: 1.9s;
}

.message-text-poem {
  font-size: 1.05rem;
  color: #5a504a;
  line-height: 2.4;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.message-text-poem p {
  margin-bottom: 30px;
}

.message-text-poem p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 900px) {
  .message-inner-split {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }
  .message-graphic {
    width: 90%;
    margin: 0 auto;
  }
  .message-content {
    width: 100%;
  }
  .message-catch-unique {
    font-size: 2rem;
    line-height: 1.6;
    transform: rotate(0deg);
    text-align: center;
  }
  .message-text-poem {
    font-size: 0.95rem;
    text-align: center;
  }
  .message-text-poem br {
    display: none;
  }
}
/* ===================================================
   コンセプト（蛍光マーカーのアニメーション）
=================================================== */
.concept-catch {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 50px;
  line-height: 2.5;
}

.concept-catch span {
  display: inline-block;
  margin: 0 10px;
  padding: 0 5px;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 100%;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), background-size 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, background-size;
}

.hl-spark {
  background-image: linear-gradient(transparent 60%, rgba(138, 182, 214, 0.3) 60%);
}

.hl-shine {
  background-image: linear-gradient(transparent 60%, rgba(230, 197, 101, 0.4) 60%);
}

.hl-smile {
  background-image: linear-gradient(transparent 60%, rgba(142, 188, 155, 0.4) 60%);
}

.fade-in.appear .hl-spark, .fade-in.appear .hl-shine, .fade-in.appear .hl-smile {
  opacity: 1;
  transform: translateY(0);
  background-size: 100% 100%;
}

.fade-in.appear .hl-spark {
  transition-delay: 0.5s;
}

.fade-in.appear .hl-shine {
  transition-delay: 1.2s;
}

.fade-in.appear .hl-smile {
  transition-delay: 1.9s;
}

.concept-desc {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-light);
}

.concept-desc.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 2.5s;
  will-change: opacity, transform;
}

.concept-desc.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* --- 下層ページ共通 Hero設定 --- */
.subpage-hero {
  padding: 180px 0 120px;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse at 90% 40%, rgba(138,182,214,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 70%, rgba(142,188,155,0.12) 0%, transparent 50%);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(74,64,54,0.06);
}

/* 右端の大きな装飾ライン */
.subpage-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--color-spark), var(--color-shine), var(--color-smile));
  opacity: 0;
  pointer-events: none;
}

.subpage-hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.subpage-hero-content {
  width: 52%;
  text-align: left;
}

.subpage-hero-content .sub-title {
  display: inline-block;
  color: var(--color-spark);
  font-weight: 700;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  border: 1px solid rgba(138,182,214,0.4);
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  background: rgba(138,182,214,0.06);
}

.subpage-hero-content .main-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 25px;
}

.subpage-hero-content .lead-text {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-light);
}

/* 装飾エリア */
.subpage-hero-visual {
  width: 45%;
  height: 400px;
  position: relative;
}

/* 共通の有機的な図形（Blob）設定 */
.subpage-hero .blob {
  position: absolute;
  filter: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  border-radius: 60% 40% 60% 40%/60% 40% 60% 40%;
  animation: blob-bounce 15s infinite alternate;
}

.subpage-hero .blob-spark {
  width: 300px;
  height: 280px;
  /* ※もし :root で定義した新色を使いたい場合は var(--color-spark-vibrant) などに変更してください */
  background: var(--color-spark);
  top: 0;
  right: 0;
  border-radius: 40% 60% 60% 40%/60% 30% 70% 40%;
}

.subpage-hero .blob-shine {
  width: 240px;
  height: 240px;
  background: var(--color-shine);
  bottom: 20px;
  right: 100px;
  border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  animation-delay: -2s;
}

.subpage-hero .blob-smile {
  width: 150px;
  height: 150px;
  background: var(--color-smile);
  top: 150px;
  right: -20px;
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  animation-delay: -5s;
}

@keyframes blob-bounce {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(20px, -20px) scale(1.05);
  }
}
/* スマホ対応 */
@media screen and (max-width: 900px) {
  .subpage-hero {
    padding: 140px 0 100px;
  }
  .subpage-hero-split {
    flex-direction: column;
    text-align: center;
  }
  .subpage-hero-content {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
  }
  .subpage-hero-content .main-title {
    font-size: 2.2rem;
  }
  .subpage-hero-visual {
    width: 100%;
    height: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    z-index: -1;
  }
}

/* ===================================================
   FV 3S スライドインジケーター
=================================================== */
.hero-3s-indicator {
    position: absolute;
    bottom: 48px;
    right: 56px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
    /* blur なし：GPU合成の干渉を防ぐ */
}

.h3si-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.55;          /* 非アクティブでも視認できる程度に */
    transition: opacity 0.9s ease, transform 0.9s ease;
    transform: translateX(10px);
}

.hero:has([data-s=spark].active) .h3si-item[data-s=spark],
.hero:has([data-s=shine].active) .h3si-item[data-s=shine],
.hero:has([data-s=smile].active) .h3si-item[data-s=smile] {
    opacity: 1;
    transform: translateX(0);
}

.h3si-num {
    font-family: "Quicksand", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.15em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.h3si-name {
    font-family: "Quicksand", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.22em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7), 0 2px 20px rgba(0,0,0,0.4);
    min-width: 52px;
    text-align: right;
}

.h3si-bar {
    width: 20px;
    height: 2px;
    background: rgba(253, 252, 249, 0.25); /* --bg-base ベース */
    border-radius: 2px;
    transition: background 0.9s ease, width 0.9s ease;
    flex-shrink: 0;
}

/* アクティブ時：サイトの3Sカラーに変化 */
.hero:has([data-s=spark].active) .h3si-item[data-s=spark] .h3si-bar {
    background: var(--color-spark);
    width: 34px;
}
.hero:has([data-s=shine].active) .h3si-item[data-s=shine] .h3si-bar {
    background: var(--color-shine);
    width: 34px;
}
.hero:has([data-s=smile].active) .h3si-item[data-s=smile] .h3si-bar {
    background: var(--color-smile);
    width: 34px;
}

@media screen and (max-width: 768px) {
    .hero-3s-indicator {
        bottom: 60px;
        right: 16px;
        gap: 8px;
    }
    .h3si-name { font-size: 0.75rem; min-width: 40px; }
    .h3si-num  { font-size: 0.56rem; }
}

/* ===================================================
   理念ヘッダー — 写真クラスター
=================================================== */
.philo-img-cluster {
    position: relative;
    width: 420px;
    height: 290px;
    margin-top: 28px;
    flex-shrink: 0;
    overflow: visible;
}

.philo-img-a {
    position: absolute !important;
    display: block;
    width: 300px !important;
    height: 210px !important;
    object-fit: cover;
    border-radius: 14px;
    top: 0;
    left: 0;
    box-shadow: 0 10px 28px rgba(74, 64, 54, 0.14);
    z-index: 1;
}

.philo-img-b {
    position: absolute !important;
    display: block;
    width: 240px !important;
    height: 180px !important;
    object-fit: cover;
    border-radius: 14px;
    bottom: 0;
    right: 0;
    border: 3px solid #fff;
    box-shadow: 0 8px 22px rgba(74, 64, 54, 0.16);
    z-index: 2;
}

@media screen and (max-width: 900px) {
    .philo-img-cluster { display: none; }
}

/* ===================================================
   循環図 — 回転グラデーションリング＋ノードグロー
=================================================== */
.cycle-diagram {
    isolation: isolate;
}

.cycle-diagram::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 330px;
    height: 330px;
    transform: translate(-50%, -50%) rotate(0deg);
    border-radius: 50%;
    background: conic-gradient(
        rgba(138, 182, 214, 0.22) 0deg,
        rgba(230, 197, 101, 0.22) 120deg,
        rgba(142, 188, 155, 0.22) 240deg,
        rgba(138, 182, 214, 0.22) 360deg
    );
    animation: cycleRingSpin 14s linear infinite;
    z-index: -1;
}

@keyframes cycleRingSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ノードの背景を明示 */
.node-icon-wrapper.spark-border {
    background: rgba(138, 182, 214, 0.1);
    border: 2px solid var(--color-spark);
}
.node-icon-wrapper.shine-border {
    background: rgba(230, 197, 101, 0.1);
    border: 2px solid var(--color-shine);
}
.node-icon-wrapper.smile-border {
    background: rgba(142, 188, 155, 0.1);
    border: 2px solid var(--color-smile);
}

/* ノードのグローアニメーション */
@keyframes nodeGlowSpark {
    0%, 100% { box-shadow: 0 0 0 0 rgba(138, 182, 214, 0.5); }
    50% { box-shadow: 0 0 0 16px rgba(138, 182, 214, 0); }
}
@keyframes nodeGlowShine {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 197, 101, 0.5); }
    50% { box-shadow: 0 0 0 16px rgba(230, 197, 101, 0); }
}
@keyframes nodeGlowSmile {
    0%, 100% { box-shadow: 0 0 0 0 rgba(142, 188, 155, 0.5); }
    50% { box-shadow: 0 0 0 16px rgba(142, 188, 155, 0); }
}

.philosophy-diagram.appear .spark-border {
    animation: floatingIcon 4s ease-in-out infinite alternate,
               nodeGlowSpark 3s ease-in-out 2.5s infinite;
}
.philosophy-diagram.appear .shine-border {
    animation: floatingIcon 4s ease-in-out infinite alternate,
               nodeGlowShine 3s ease-in-out 3s infinite;
}
.philosophy-diagram.appear .smile-border {
    animation: floatingIcon 4s ease-in-out infinite alternate,
               nodeGlowSmile 3s ease-in-out 3.5s infinite;
}

/* ===================================================
   philosophy-grid — 循環感（背景ナンバー＋コネクター矢印）
=================================================== */
.philosophy-grid .grid-item {
    position: relative;
}

/* 背景の大きな数字 */
.philosophy-grid .grid-item::before {
    font-family: "Quicksand", sans-serif;
    font-weight: 900;
    font-size: 5.5rem;
    position: absolute;
    bottom: 6px;
    right: 10px;
    line-height: 1;
    pointer-events: none;
}

.philosophy-grid .grid-item:nth-child(1)::before {
    content: "01";
    color: rgba(138, 182, 214, 0.1);
}
.philosophy-grid .grid-item:nth-child(2)::before {
    content: "02";
    color: rgba(230, 197, 101, 0.12);
}
.philosophy-grid .grid-item:nth-child(3)::before {
    content: "03";
    color: rgba(142, 188, 155, 0.12);
}

/* カード間の → 矢印 */
.philosophy-grid .grid-item:nth-child(1)::after,
.philosophy-grid .grid-item:nth-child(2)::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 700;
    z-index: 5;
}

.philosophy-grid .grid-item:nth-child(1)::after {
    color: rgba(138, 182, 214, 0.55);
}
.philosophy-grid .grid-item:nth-child(2)::after {
    color: rgba(230, 197, 101, 0.65);
}

@media screen and (max-width: 900px) {
    .philosophy-grid .grid-item:nth-child(1)::after,
    .philosophy-grid .grid-item:nth-child(2)::after {
        content: "↓";
        right: auto;
        bottom: -20px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===================================================
   事業紹介 — 3S図を背景に
=================================================== */
.activity-block {
    position: relative;
}

.activity-block::before {
    content: "";
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 380px;
    height: 380px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.05;
}

.activity-block:nth-child(1)::before {
    background-image: url(img/1s.png);
    right: -60px;
}

.activity-block:nth-child(2)::before {
    background-image: url(img/2s.png);
    left: -60px;
}

.activity-block:nth-child(3)::before {
    background-image: url(img/3s.png);
    right: -60px;
}

.activity-visual,
.activity-content {
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .activity-block::before {
        width: 220px;
        height: 220px;
        opacity: 0.04;
        top: 20px;
        transform: none;
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}
/*# sourceMappingURL=style.css.map */