/*
Theme Name: Snowdrop Theme
Author: Savlatjon Amonov
Description: Custom WordPress theme for BetterWeb
Version: 1.0
*/


/* ========================================
   B案: やさしく、わかりやすく — カードUI整理型
   ======================================== */

:root {
  --primary: #0abab5;
  --primary-dark: #089e9a;
  --primary-light: #e6f8f7;
  --accent: #f5a623;
  --accent-light: #fff3e0;
  --bg: #ffffff;
  --bg-sub: #f8f9fa;
  --text: #333333;
  --text-sub: #666666;
  --font-heading: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
  --container: 1140px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------
   Fade-in Animation Variants
---------------------------------------- */
.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(-50px);
  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(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Floating Bubbles */
.hero-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  z-index: 0;
  animation: bubbleFloat ease-in-out infinite;
}
.hero-bubble:nth-child(7) { width: 20px; height: 20px; left: 5%; top: 30%; animation-duration: 6s; animation-delay: 0s; }
.hero-bubble:nth-child(8) { width: 35px; height: 35px; left: 15%; top: 70%; animation-duration: 8s; animation-delay: 1s; }
.hero-bubble:nth-child(9) { width: 15px; height: 15px; left: 50%; top: 20%; animation-duration: 7s; animation-delay: 2s; }
.hero-bubble:nth-child(10) { width: 25px; height: 25px; left: 75%; top: 60%; animation-duration: 9s; animation-delay: 3s; }
.hero-bubble:nth-child(11) { width: 18px; height: 18px; left: 85%; top: 40%; animation-duration: 5s; animation-delay: 4s; }
.hero-bubble:nth-child(12) { width: 30px; height: 30px; left: 40%; top: 80%; animation-duration: 10s; animation-delay: 2.5s; }

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  25% { transform: translateY(-30px) scale(1.1); opacity: 0.8; }
  50% { transform: translateY(-15px) scale(0.95); opacity: 1; }
  75% { transform: translateY(-40px) scale(1.05); opacity: 0.7; }
}

/* Shimmer on service card icons */
.service-card:hover .service-icon {
  animation: shimmer 0.8s ease;
}
@keyframes shimmer {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.4) drop-shadow(0 0 8px rgba(10,186,181,0.4)); }
  100% { filter: brightness(1); }
}

/* Bounce CTA */
.btn-hero {
  animation: btnBounce 3s ease-in-out infinite;
}
@keyframes btnBounce {
  0%, 100% { transform: translateY(0); }
  15% { transform: translateY(-4px); }
  30% { transform: translateY(0); }
}

/* Enhanced card hover - 3D tilt */
.service-card {
  transform-style: preserve-3d;
  perspective: 800px;
}
.service-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

/* Confetti dots in services section */
.services-section {
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle, rgba(10,186,181,0.08) 2px, transparent 2px),
    radial-gradient(circle, rgba(245,166,35,0.06) 2px, transparent 2px);
  background-size: 40px 40px, 60px 60px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
}

/* Gradient border on news cards */
.news-card {
  position: relative;
  overflow: hidden;
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0abab5, #4dd9d6, #f5a623);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.news-card:hover::before {
  transform: scaleX(1);
}

/* Animated wave footer */
.footer-wave {
  animation: waveMove 6s ease-in-out infinite;
}
@keyframes waveMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-20px); }
}

/* Story section decorative border */
.story-section {
  position: relative;
}
.story-section::before,
.story-section::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(10,186,181,0.15);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.story-section::before { top: 30px; left: 30px; }
.story-section::after { bottom: 30px; right: 30px; }

/* Decorative mini flowers between sections */
.deco-flower {
  text-align: center;
  padding: 20px 0;
  opacity: 0.25;
}
.deco-flower svg {
  width: 30px;
  height: 40px;
}

/* ----------------------------------------
   ① Header
---------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}
.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.logo-dots {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-right: 4px;
}

/* Nav */
.nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  border-radius: 20px;
  transition: color 0.3s, background 0.3s;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.nav-list a:hover {
  color: var(--primary);
}
.nav-list a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-nav.active {
  display: flex;
  opacity: 1;
}
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text);
  padding: 12px 24px;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s;
}
.mobile-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ----------------------------------------
   ② Hero / First View
---------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, #0cc9c4 40%, #4dd9d6 70%, #a8ebe9 100%);
  padding-top: 80px;
}

/* Floating circles */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.hero-circle-1 { width: 300px; height: 300px; top: -60px; right: -40px; animation: floatUp 6s ease-in-out infinite; }
.hero-circle-2 { width: 200px; height: 200px; bottom: 60px; left: -60px; animation: floatUp 8s ease-in-out infinite 1s; }
.hero-circle-3 { width: 150px; height: 150px; top: 40%; left: 20%; animation: floatUp 7s ease-in-out infinite 0.5s; }
.hero-circle-4 { width: 100px; height: 100px; bottom: 20%; right: 30%; animation: floatUp 5s ease-in-out infinite 2s; }
.hero-circle-5 { width: 250px; height: 250px; top: 10%; right: 20%; animation: floatUp 9s ease-in-out infinite 1.5s; background: rgba(255,255,255,0.06); }
.hero-circle-6 { width: 80px; height: 80px; top: 60%; left: 10%; animation: floatUp 6s ease-in-out infinite 3s; }

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  color: #fff;
}
.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}
.hero-text .sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: var(--primary);
}
.btn-hero .material-icons-round {
  font-size: 1.2rem;
}

/* Hero photos */
.hero-photos {
  flex: 0 0 420px;
  position: relative;
  height: 420px;
}
.hero-photo {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-1 {
  width: 260px;
  height: 260px;
  top: 20px;
  left: 0;
  z-index: 3;
  animation: floatUp 7s ease-in-out infinite 0.5s;
}
.hero-photo-2 {
  width: 200px;
  height: 200px;
  top: 0;
  right: 0;
  z-index: 2;
  animation: floatUp 6s ease-in-out infinite 1s;
}
.hero-photo-3 {
  width: 180px;
  height: 180px;
  bottom: 20px;
  right: 40px;
  z-index: 1;
  animation: floatUp 8s ease-in-out infinite 2s;
}

/* ----------------------------------------
   Section Common
---------------------------------------- */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
/*Taiyo page headers colors*/
.taiyo .section-header h2 {
  color: var(--accent);
}  
.taiyo .pain-points-section .section-header h2 {
  color: var(--text);  
}
.section-header .en {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 2px;
}

/* ----------------------------------------
   ③ Service Cards
---------------------------------------- */
.services-section {
  background: var(--bg-sub);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 32px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.service-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0.3;
}
.service-card.card-green { background: linear-gradient(180deg, #e6f8f7 0%, #fff 40%); }
.service-card.card-green::before { background: #0abab5; }
.service-card.card-blue { background: linear-gradient(180deg, #e3f2fd 0%, #fff 40%); }
.service-card.card-blue::before { background: #4a90d9; }
.service-card.card-orange { background: linear-gradient(180deg, #fff3e0 0%, #fff 40%); }
.service-card.card-orange::before { background: #f5a623; }

.service-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity: 0.15;
}
.service-card.card-green::after { background: #0abab5; }
.service-card.card-blue::after { background: #4a90d9; }
.service-card.card-orange::after { background: #f5a623; }

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}
.service-icon svg {
  width: 100%;
  height: 100%;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.9;
}
.btn-pill {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.btn-pill:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10,186,181,0.3);
}

/* ----------------------------------------
   ④ Brand Story
---------------------------------------- */
.story-section {
  position: relative;
  overflow: hidden;
}
.story-bg-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.04;
}
.story-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.story-photo {
  flex: 0 0 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-text {
  flex: 1;
}
.story-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.story-text h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.story-text p {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--text-sub);
}
.story-text .story-quote {
  margin-top: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
  font-style: italic;
  color: var(--text);
}

/* ----------------------------------------
   ⑤ News Cards
---------------------------------------- */
.news-section {
  background: var(--bg-sub);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.news-date {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.news-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}
.news-tag.tag-info { background: var(--primary); }
.news-tag.tag-recruit { background: #4a90d9; }
.news-tag.tag-taiyo { background: var(--accent); }
.news-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text);
}
.news-more {
  text-align: center;
}

/* ----------------------------------------
   ⑥ Partners / Certification
---------------------------------------- */
.partners-section {
  padding: 60px 0;
}
.partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 70px;
  background: #f5f5f5;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
}
.partner-item img {
  max-width: 80%; 
  max-height: 80%;
  object-fit: contain; 
}
.partner-dot {
  width: 6px;
  height: 6px;
  background: #ddd;
  border-radius: 50%;
}

/* ----------------------------------------
   ⑦ Footer (Green)
---------------------------------------- */
.footer-wave {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px;
}
.footer {
  background: var(--primary);
  color: #fff;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}
.footer-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.footer-circle-1 { width: 200px; height: 200px; top: -40px; right: -40px; }
.footer-circle-2 { width: 120px; height: 120px; bottom: 20px; left: -30px; }
.footer-circle-3 { width: 80px; height: 80px; bottom: 60px; right: 20%; }

.footer-inner {
  display: flex;
  gap: 60px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 48px;
  position: relative;
  z-index: 1;
}
.footer-col { flex: 1; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  line-height: 2;
  opacity: 0.9;
}
.footer-col ul {
  list-style: none;
}
.footer-col a {
  color: #fff;
  opacity: 0.9;
}
.footer-col a:hover {
  opacity: 1;
  color: #fff;
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8rem;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 991px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .hero-photos {
    flex: none;
    width: 320px;
    height: 320px;
  }
  .hero-photo-1 { width: 200px; height: 200px; }
  .hero-photo-2 { width: 150px; height: 150px; }
  .hero-photo-3 { width: 140px; height: 140px; }
  .hero-buttons {
    justify-content: center;
  }

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

  .story-inner {
    flex-direction: column;
    text-align: center;
  }
  .story-photo {
    flex: none;
    width: 280px;
    height: 280px;
  }
  .story-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .header-inner { height: 64px; }
  .logo { font-size: 1.1rem; }

  .hero { padding-top: 64px; min-height: auto; }
  .hero-inner { gap: 40px; }
  .hero-text h1 { font-size: 1.7rem; }
  .hero-photos {
    width: 260px;
    height: 260px;
  }
  .hero-photo-1 { width: 160px; height: 160px; top: 10px; left: 10px; }
  .hero-photo-2 { width: 130px; height: 130px; top: 0; right: 0; }
  .hero-photo-3 { width: 110px; height: 110px; bottom: 10px; right: 20px; }
  .btn-hero {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card { padding: 36px 24px 32px; }

  .story-photo { width: 220px; height: 220px; }

  .partners-inner { gap: 20px; }
  .partner-item { width: 140px; height: 56px; font-size: 0.75rem; }
}

/* ----------------------------------------
   Utility: Site Logo Image
   (removes need for inline height/width)
---------------------------------------- */
.site-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

/* ----------------------------------------
   Logo Workaround: JPG on dark footer bg
   Adds a white pill behind the logo until
   a transparent PNG is available.
---------------------------------------- */
.footer-col .site-logo-img {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

/* ----------------------------------------
   Footer Info Column Spacing
---------------------------------------- */
.footer-address { margin-top: 16px; }
.footer-tel     { margin-top: 8px; }
.footer-sns     { margin-top: 4px; }
.footer-sns a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
.footer-sns .material-icons-round { font-size: 1.1rem; }
.footer-copyright-link {
  color: #fff;
  opacity: 0.8;
  font-size: 0.8rem;
}

/* ----------------------------------------
   Stagger Animations (replaces inline
   transition-delay style attributes)
---------------------------------------- */
.services-grid .service-card:nth-child(2),
.news-grid .news-card:nth-child(2) {
  transition-delay: 0.15s;
}
.services-grid .service-card:nth-child(3),
.news-grid .news-card:nth-child(3) {
  transition-delay: 0.3s;
}
.timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-item:nth-child(3) { transition-delay: 0.2s; }
.timeline-item:nth-child(4) { transition-delay: 0.3s; }
.timeline-item:nth-child(5) { transition-delay: 0.4s; }

/* Story section: space before closing paragraph */
.story-text .story-quote + p,
.story-text .story-quote-follow { margin-top: 20px; }

/* ============================================================
   SUB-PAGE STYLES (moved from about.html internal <style>)
   ============================================================ */

/* ----------------------------------------
   ページヒーロー（サブページ共通）
---------------------------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--primary) 0%, #0cc9c4 40%, #4dd9d6 70%, #a8ebe9 100%);
  padding: 140px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -80px;
  right: -60px;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  bottom: -40px;
  left: -40px;
}
.page-hero .en {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}
/* Taiyo background color*/
.taiyo .page-hero {background: linear-gradient(160deg, #d48806 0%, #f5a623 40%, #f7b84d 70%, #fde3a7 100%);}

/* パンくずリスト */
.breadcrumb {
  padding: 16px 0;
  background: var(--bg-sub);
  border-bottom: 1px solid #eee;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.85rem;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li + li::before {
  content: '›';
  color: #bbb;
}
.breadcrumb-list a { color: var(--primary); }
.breadcrumb-list .current { color: var(--text-sub); }

/* ----------------------------------------
   ① 法人理念・ミッション
---------------------------------------- */
.mission-section {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}
.mission-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 55, 70, 0.62);
  z-index: 0;
}
.mission-section .container {
  position: relative;
  z-index: 1;
}
.mission-section .section-header .en,
.mission-section .section-header h2 {
  color: #fff;
}
.mission-section .section-header h2::after {
  background: rgba(255, 255, 255, 0.45);
}
.mission-lead {
  text-align: center;
}
.mission-lead .catch {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.9;
  margin-bottom: 28px;
}
.mission-lead p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 2;
  max-width: 700px;
  margin: 0 auto;
}

/* ----------------------------------------
   ② 代表ごあいさつ
---------------------------------------- */
.greeting-section {
  background: var(--bg-sub);
}
.greeting-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.greeting-photo {
  flex: 0 0 260px;
  text-align: center;
}
.greeting-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
}
.greeting-photo .greeting-name {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-sub);
}
.greeting-photo .greeting-name strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 4px;
}
.greeting-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 16px;
}
.greeting-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.greeting-text p {
  font-size: 1rem;
  line-height: 2.2;
  color: var(--text-sub);
  margin-bottom: 20px;
}
.greeting-text p:last-child { margin-bottom: 0; }
.greeting-text .greeting-sig {
  margin-top: 32px;
  text-align: right;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text);
}

/* ----------------------------------------
   ③ 法人情報テーブル
---------------------------------------- */
.info-section {
  background: #fff;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.info-table th,
.info-table td {
  padding: 20px 28px;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid #eef0f2;
  vertical-align: top;
}
.info-table th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  width: 220px;
  white-space: nowrap;
}
.info-table td {
  color: var(--text);
  line-height: 1.9;
}
.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}
.info-table tr:hover td {
  background: #fafafa;
}

/* ----------------------------------------
   ④ 沿革タイムライン
---------------------------------------- */
.history-section {
  background: var(--bg-sub);
}
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(10,186,181,0.15));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item:hover {
  box-shadow: var(--shadow-hover);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ----------------------------------------
   Sub-page Responsive
---------------------------------------- */
@media (max-width: 991px) {
  .greeting-inner {
    flex-direction: column;
    align-items: center;
  }
  .greeting-text h2::after {
    left: 0;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding: 120px 24px 48px;
  }
  .info-table th {
    width: 130px;
    padding: 16px 16px;
  }
  .info-table td {
    padding: 16px 16px;
  }
  .timeline {
    padding-left: 36px;
  }
  .timeline::before {
    left: 14px;
  }
  .timeline-item::before {
    left: -28px;
  }
  .greeting-text .greeting-sig {
    text-align: left;
  }
}

/* ============================================================
   CARE SERVICES PAGE (services.html)
   ============================================================ */

/* Lead */
.kaigo-lead-section { background: var(--bg); }

.kaigo-lead-text {
  text-align: center;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto 60px;
}

/* Overview cards */
.kaigo-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.kaigo-overview-card {
  display: block;
  background: var(--bg-sub);
  border-radius: var(--radius-md);
  padding: 36px 20px 28px;
  text-align: center;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  color: var(--text);
}

.kaigo-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: var(--text);
}

.kaigo-overview-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: background 0.3s;
}

.kaigo-overview-card:hover .kaigo-overview-icon { background: var(--primary); }
.kaigo-overview-card:hover .kaigo-overview-icon .material-icons-round { color: #fff; }

.kaigo-overview-icon .material-icons-round {
  color: var(--primary);
  font-size: 1.8rem;
  transition: color 0.3s;
}

.kaigo-overview-card h3 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 8px;
}

.kaigo-overview-card > p {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}

.kaigo-overview-grid .kaigo-overview-card:nth-child(2) { transition-delay: 0.1s; }
.kaigo-overview-grid .kaigo-overview-card:nth-child(3) { transition-delay: 0.2s; }
.kaigo-overview-grid .kaigo-overview-card:nth-child(4) { transition-delay: 0.3s; }

/* Service detail sections */
.kaigo-detail-section { background: var(--bg); }
.kaigo-detail-alt { background: var(--bg-sub); }

.kaigo-detail-inner {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.kaigo-detail-badge-col {
  flex: 0 0 180px;
  text-align: center;
  padding-top: 8px;
}

.kaigo-detail-icon {
  width: 100px;
  height: 100px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--primary);
}

.kaigo-detail-icon .material-icons-round {
  color: var(--primary);
  font-size: 2.8rem;
}

.kaigo-detail-icon.icon-accent {
  background: var(--accent-light);
  border-color: var(--accent);
}

.kaigo-detail-icon.icon-accent .material-icons-round { color: var(--accent); }

.kaigo-detail-icon.icon-blue {
  background: var(--bg-sub);
  border-color: #4a90d9;
}

.kaigo-detail-icon.icon-blue .material-icons-round { color: #4a90d9; }

.kaigo-service-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
}

.kaigo-service-tag.tag-accent { background: var(--accent); }
.kaigo-service-tag.tag-blue { background: #4a90d9; }

.kaigo-detail-text { flex: 1; }

.kaigo-detail-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  position: relative;
}

.kaigo-detail-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.kaigo-detail-desc {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.kaigo-info-list {
  margin-bottom: 28px;
  border: 1px solid #dde8e8;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.kaigo-info-row {
  display: flex;
  border-bottom: 1px solid #dde8e8;
}
.kaigo-info-row:last-child {
  border-bottom: none;
}
.kaigo-info-list dt {
  flex: 0 0 100px;
  background: var(--bg-sub);
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  border-right: 1px solid #dde8e8;
}
.kaigo-info-list dd {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
  display: flex;
  align-items: center;
}

.kaigo-contact-info {
  background: var(--bg-sub);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kaigo-detail-alt .kaigo-contact-info { background: var(--bg); }

.kaigo-contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-sub);
  margin: 0;
}

.kaigo-contact-info .material-icons-round {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}


/*================================================
Cross-promo Banner (Taiyo)
=================================================*/
.kaigo-taiyo-promo-section {
  padding: 60px 0; 
}
.kaigo-taiyo-promo-card {
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(245, 166, 35, 0.2);
}
.kaigo-taiyo-promo-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.15);
}
.kaigo-taiyo-promo-icon .material-icons-round {
  font-size: 2.5rem;
  color: var(--accent);
}
.kaigo-taiyo-promo-body {
  flex: 1;
}
.kaigo-taiyo-promo-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.kaigo-taiyo-promo-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 12px;
}
.kaigo-taiyo-promo-body p {
  margin: 0;
  color: var(--text-sub);
  line-height: 1.8;
}
.kaigo-taiyo-promo-btn.btn-pill {
  flex-shrink: 0;
  background: var(--accent);
  padding: 14px 32px;
  font-size: 1rem;
}
.kaigo-taiyo-promo-btn.btn-pill:hover {
  background: #e09612; 
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
  .kaigo-taiyo-promo-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 24px;
  }
}


/* CTA section */
.kaigo-cta-section { background: var(--primary-light); }

.kaigo-cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.kaigo-cta-icon {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.kaigo-cta-icon .material-icons-round {
  color: #fff;
  font-size: 2rem;
}

.kaigo-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.kaigo-cta-inner > p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-sub);
  margin-bottom: 32px;
}

.kaigo-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.btn-contact-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-contact-tel:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,186,181,0.3);
}

.btn-contact-tel .material-icons-round { font-size: 1.4rem; }

.kaigo-cta-note {
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* Services page responsive */
@media (max-width: 991px) {
  .kaigo-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .kaigo-detail-inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .kaigo-detail-badge-col { flex: none; }
  .kaigo-detail-text h2::after { left: 0; }
}

@media (max-width: 767px) {
  .kaigo-overview-grid { gap: 16px; }
  .kaigo-overview-card { padding: 24px 14px 20px; }
  .kaigo-overview-icon { width: 48px; height: 48px; }
  .kaigo-overview-icon .material-icons-round { font-size: 1.5rem; }
  .kaigo-overview-card h3 { font-size: 0.85rem; }
  .kaigo-detail-icon { width: 80px; height: 80px; }
  .kaigo-detail-icon .material-icons-round { font-size: 2.2rem; }
  .kaigo-cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-contact-tel { justify-content: center; }
}

/* ============================================================
   TAIYO PAGE (taiyo.html)
   ============================================================ */

/* ----------------------------------------
   ① たいようリズムについて
---------------------------------------- */
.taiyo-about-section { background: var(--bg); }

.taiyo-about-inner {
  display: flex;
  gap: 64px;
  align-items: stretch; /*was flex-start*/
}

.taiyo-about-left { flex: 1; }

.taiyo-about-lead {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
}

.taiyo-about-text {
  font-size: 0.97rem;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 40px;
}

.taiyo-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.taiyo-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-sub);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
}

.taiyo-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.taiyo-feature-icon .material-icons-round {
  color: var(--accent);
  font-size: 1.5rem;
}

.taiyo-feature-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.taiyo-feature-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin: 0;
}

.taiyo-about-right {
  flex: 0 0 380px;
}

.taiyo-about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  height: 100%;
}

.taiyo-about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.taiyo-about-img-wrap:hover img {
  transform: scale(1.03);
}

/* ----------------------------------------
   ② こんなことでお困りですか？
---------------------------------------- */
.pain-points-section {
  background: var(--accent-light);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pain-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pain-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
}

.pain-icon .material-icons-round {
  color: var(--accent);
  font-size: 1.5rem;
}

.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.pain-card p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-sub);
  margin: 0;
}

.pain-cta {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.4rem; /*size like h2 header*/
  font-weight: 700;
  color: var(--text);
  margin-top: 50px; /* margin from cards */
  /* background: white;
  border-radius: var(--radius-md);
  padding: 20px 32px;
  margin: 0; */
}

/* ----------------------------------------
   ③ 療育プログラム
---------------------------------------- */
.taiyo-programs-section { background: var(--bg-sub); }

.taiyo-programs-zigzag {
  display: flex;
  flex-direction: column;
}

.taiyo-program-row {
  display: flex;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 40px;
}

.taiyo-program-row--last {
  margin-bottom: 0;
}

.taiyo-program-img {
  width: 50%;
  background: #e0e0e0;
  border-radius: var(--radius-md);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 1rem;
  flex-shrink: 0;
}

.taiyo-program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.taiyo-program-content {
  width: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 40px;
  flex-shrink: 0;
}

.taiyo-program-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.taiyo-program-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.6;
}

.taiyo-program-content p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--text-sub);
  margin: 0;
}

/* ----------------------------------------
   ④ ご利用までの流れ
---------------------------------------- */
.taiyo-flow-section { background: var(--primary-light); }

.taiyo-flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.taiyo-flow-step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  position: relative;
}

.taiyo-flow-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.taiyo-flow-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid var(--primary);
}

.taiyo-flow-icon .material-icons-round {
  color: var(--primary);
  font-size: 1.8rem;
}

.taiyo-flow-step h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.taiyo-flow-step p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin: 0;
}

.taiyo-flow-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  margin-top: 60px;
}

.taiyo-flow-arrow .material-icons-round {
  color: var(--primary);
  font-size: 2rem;
}

/* ----------------------------------------
   ⑤ 発達障がいについて
---------------------------------------- */
.taiyo-knowledge-section { background: var(--bg); }

.taiyo-knowledge-lead {
  text-align: center;
  font-size: 1rem;
  line-height: 2;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto 52px;
}

.taiyo-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.taiyo-knowledge-card {
  background: var(--bg-sub);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.taiyo-knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.taiyo-knowledge-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.taiyo-knowledge-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.taiyo-knowledge-card p {
  font-size: 0.87rem;
  line-height: 1.9;
  color: var(--text-sub);
  margin: 0;
  text-align: left;
}

/* ----------------------------------------
   ⑥ 教室案内・アクセス
---------------------------------------- */
.taiyo-access-section { background: var(--bg-sub); }

.taiyo-access-inner {
  display: flex;
  gap: 48px;
  align-items: stretch; /* switched from flex-start to stretch */
}

.taiyo-access-info { flex: 1; }

.taiyo-access-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.taiyo-access-table th,
.taiyo-access-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 0.93rem;
  border-bottom: 1px solid #eef0f2;
  vertical-align: top;
  line-height: 1.9;
}

.taiyo-access-table th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  width: 140px;
  white-space: nowrap;
}

.taiyo-access-table td {
  background: var(--bg);
  color: var(--text);
}

.taiyo-access-table td a {
  color: var(--primary);
  font-weight: 600;
}

.taiyo-access-table td a:hover {
  color: var(--primary-dark);
}

.taiyo-access-table tr:last-child th,
.taiyo-access-table tr:last-child td {
  border-bottom: none;
}

.taiyo-tel-btn {
  display: inline-flex;
  margin-top: 4px;
}

.taiyo-access-map {
  flex: 1;
  display: flex; 
  flex-direction: column;
}

.taiyo-map-placeholder {
width: 100%;
  flex-grow: 1;
  background: #e8ecef;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #999;
  border: 2px dashed #ccc;
}

.taiyo-map-placeholder .material-icons-round {
  font-size: 3rem;
  color: #bbb;
}

.taiyo-map-placeholder p {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  color: #888;
}

.taiyo-map-address {
  font-size: 0.83rem !important;
  color: #aaa !important;
}

.taiyo-access-cta-wrap {
  text-align: center;
  margin-top: 40px;
}
/* ----------------------------------------
   Taiyo page responsive
---------------------------------------- */
@media (max-width: 991px) {
  .taiyo-about-inner {
    flex-direction: column;
    gap: 48px;
  }
  .taiyo-about-right {
    flex: none;
    width: 100%;
  }
  .taiyo-about-img-wrap img {
    height: 340px;
  }
  .taiyo-knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .taiyo-access-inner {
    flex-direction: column;
    gap: 36px;
  }
  .taiyo-access-map {
    width: 100%;
  }
  .taiyo-flow-steps {
    flex-wrap: wrap;
    gap: 16px;
  }
  .taiyo-flow-arrow {
    display: none;
  }
  .taiyo-flow-step {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 767px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .taiyo-program-row {
    flex-direction: column;
  }
  .taiyo-program-img,
  .taiyo-program-content {
    width: 100%;
  }
  /* 行2: モバイルでは写真を先に表示 */
  .taiyo-program-img--order-2 {
    order: -1;
  }
  .taiyo-program-content--order-2 {
    order: 0;
  }
  .taiyo-knowledge-grid {
    grid-template-columns: 1fr;
  }
  .taiyo-flow-step {
    flex: 0 0 100%;
  }
  .taiyo-access-table th {
    width: 110px;
    padding: 14px 14px;
  }
  .taiyo-access-table td {
    padding: 14px 14px;
  }
  .taiyo-map-placeholder {
    height: 260px;
  }
}

/* ============================================================
   RECRUIT PAGE STYLES
   ============================================================ */

/* ----------------------------------------
   採用メッセージ
---------------------------------------- */
.recruit-message-section {
  background: var(--primary-light);
}
.recruit-message-inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.recruit-message-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.recruit-message-icon .material-icons-round {
  color: #fff;
  font-size: 2rem;
}
.recruit-message-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.8;
}
.recruit-message-inner p {
  color: var(--text-sub);
  line-height: 2;
}

/* ----------------------------------------
   募集要項テーブル
---------------------------------------- */
.recruit-jobs-section {
  background: var(--bg);
}
.recruit-job-block {
  margin-bottom: 56px;
}
.recruit-job-block:last-child {
  margin-bottom: 0;
}
.recruit-job-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 16px 24px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-left: 4px solid var(--primary);
}
.recruit-job-title .material-icons-round {
  color: var(--primary);
  font-size: 1.4rem;
}
.recruit-table-wrap {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
  overflow-x: auto;
  box-shadow: var(--shadow);
}
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.recruit-table tbody tr:nth-child(even) {
  background: var(--bg-sub);
}
.recruit-table tbody tr:nth-child(odd) {
  background: var(--bg);
}
.recruit-table tbody tr:hover {
  background: var(--primary-light);
  transition: background 0.2s ease;
}
.recruit-table th {
  width: 180px;
  padding: 18px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  vertical-align: top;
  white-space: nowrap;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.recruit-table th .material-icons-round {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.recruit-table td {
  padding: 18px 24px;
  color: var(--text-sub);
  line-height: 1.9;
  border-left: 1px solid #eee;
}
/* th needs display:table-cell for table layout */
.recruit-table th {
  display: table-cell;
  vertical-align: middle;
}

/* ----------------------------------------
   スタッフの声
---------------------------------------- */
.recruit-voices-section {
  background: var(--bg-sub);
}
.recruit-voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.voice-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 36px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.voice-quote-deco {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 8rem;
  font-family: Georgia, serif; /*diferent font/ */
  line-height: 1;
  color: var(--primary);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}
.voice-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.voice-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(10, 186, 181, 0.2);
  border: 3px solid var(--primary-light);
}
.voice-body {
  text-align: center;
}
.voice-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 16px;
}
.voice-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}
.voice-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--primary);
  margin-top: 4px;
}

/* stagger voice cards */
.recruit-voices-grid .voice-card:nth-child(2) { transition-delay: 0.15s; }
.recruit-voices-grid .voice-card:nth-child(3) { transition-delay: 0.3s; }

/* ----------------------------------------
   応募フォーム
---------------------------------------- */
.recruit-form-section {
  background: var(--bg);
}
.recruit-form-lead {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 48px;
  line-height: 2;
}
.recruit-form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-required {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #dde3e8;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  line-height: 1.7;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder {
  color: #bbbfc5;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.15);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230abab5' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}
.form-submit-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.btn-recruit-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 18px 52px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(10, 186, 181, 0.3);
}
.btn-recruit-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 186, 181, 0.4);
}
.btn-recruit-submit .material-icons-round {
  font-size: 1.2rem;
}

/* ----------------------------------------
   Recruit Responsive
---------------------------------------- */
@media (max-width: 991px) {
  .recruit-voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recruit-table th {
    width: 140px;
  }
}
@media (max-width: 767px) {
  .recruit-voices-grid {
    grid-template-columns: 1fr;
  }
  .recruit-table th {
    width: 100%;
    display: flex;
    border-bottom: none;
    padding-bottom: 4px;
  }
  .recruit-table td {
    display: block;
    border-left: none;
    padding-top: 4px;
    padding-bottom: 16px;
  }
  .recruit-table tbody tr {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
  }
  .recruit-table {
    display: block;
  }
  .recruit-table tbody {
    display: block;
  }
  .recruit-job-title {
    font-size: 1rem;
    padding: 14px 16px;
  }
  .btn-recruit-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

/* ============================================================
   DISCLOSURE PAGE STYLES
   ============================================================ */

.disclosure-section {
  background: var(--bg);
}

.disclosure-lead {
  text-align: center;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 40px;
}

/* ----------------------------------------
   年度タブ
---------------------------------------- */
.disclosure-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0;
}

.tab-btn {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-sub);
  background: var(--bg-sub);
  border: 2px solid transparent;
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 12px 28px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
  bottom: -2px;
  letter-spacing: 0.04em;
}

.tab-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.tab-btn.active {
  color: var(--primary-dark);
  background: var(--bg);
  border-color: var(--primary-light);
  border-bottom-color: var(--bg);
}

/* ----------------------------------------
   タブパネル
---------------------------------------- */
.tab-panel {
  border: 2px solid var(--primary-light);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 8px 0;
  background: var(--bg);
  box-shadow: var(--shadow);
}

/* ----------------------------------------
   書類リスト
---------------------------------------- */
.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid #eef0f2;
  transition: background 0.2s ease;
}

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

.doc-item:hover {
  background: var(--primary-light);
}

.doc-icon {
  flex-shrink: 0;
  color: #e53935;
  font-size: 1.6rem;
}

.doc-name {
  flex: 1;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
}

.doc-year {
  font-size: 0.82rem;
  color: var(--text-sub);
  background: var(--bg-sub);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.doc-download:hover {
  background: var(--primary);
  color: #fff;
}

.doc-download .material-icons-round {
  font-size: 1rem;
}

/* ----------------------------------------
   Disclosure Responsive
---------------------------------------- */
@media (max-width: 767px) {
  .doc-item {
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
  }

  .doc-name {
    flex: 1 1 100%;
    order: 2;
  }

  .doc-icon {
    order: 1;
  }

  .doc-year {
    order: 3;
    margin-left: auto;
  }

  .doc-download {
    order: 4;
    width: 100%;
    justify-content: center;
  }

  .tab-btn {
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}

/* ============================================================
   CONTACT PAGE STYLES
   ============================================================ */

/* ----------------------------------------
   連絡先情報セクション
---------------------------------------- */
.contact-info-section {
  background: var(--primary-light);
}

.contact-form-section {
  background: var(--bg);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contact-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 40px 36px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon .material-icons-round {
  color: var(--primary);
  font-size: 1.8rem;
}

.contact-card-icon--accent {
  background: var(--accent-light);
  border-color: var(--accent);
}

.contact-card-icon--accent .material-icons-round {
  color: var(--accent);
}

.contact-card-body {
  flex: 1;
}

.contact-card-org {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.6;
}

.contact-card-service {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 14px;
  line-height: 1.7;
}

.contact-card-tel {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.contact-card-tel:hover {
  color: var(--primary);
}

.contact-card-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.contact-card-hours .material-icons-round {
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ----------------------------------------
   Contact Responsive
---------------------------------------- */
@media (max-width: 767px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 28px 24px;
    gap: 18px;
  }

  .contact-card-tel {
    font-size: 1.3rem;
  }
}

/* ============================================================
   NEWS PAGE STYLES
   ============================================================ */

.news-section {
  background: var(--bg);
}

/* ----------------------------------------
   ニュースリスト
---------------------------------------- */
.news-list {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  border-top: 2px solid var(--primary-light);
}

.news-item {
  border-bottom: 1px solid #eef0f2;
}

.news-item-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 12px;
  color: var(--text);
  transition: background 0.2s ease, padding-left 0.2s ease;
  text-decoration: none;
}

.news-item-link:hover {
  background: var(--primary-light);
  padding-left: 20px;
}

.news-item-date {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ----------------------------------------
   カテゴリタグ
---------------------------------------- */
.news-tag {
  flex-shrink: 0;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.news-tag--oshirase {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.news-tag--saiyou {
  background: var(--accent-light);
  color: #c47d00;
}

.news-tag--taiyo {
  background: #e8f5e9;
  color: #2e7d32;
}

.news-item-title {
  flex: 1;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.75;
}

.news-item-link:hover .news-item-title {
  color: var(--primary-dark);
}

.news-item-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.news-item-link:hover .news-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ----------------------------------------
   ページネーション
---------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-sub);
  background: var(--bg-sub);
  border: 1.5px solid #dde3e8;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.03em;
}

.pagination-btn:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
}

.pagination-btn--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  pointer-events: none;
}

.pagination-btn--prev,
.pagination-btn--next {
  padding: 10px 20px;
}

.pagination-btn--prev .material-icons-round,
.pagination-btn--next .material-icons-round {
  font-size: 1.1rem;
}

/* ----------------------------------------
   News Responsive
---------------------------------------- */
@media (max-width: 767px) {
  .news-item-link {
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 8px;
  }

  .news-item-link:hover {
    padding-left: 8px;
  }

  .news-item-date {
    font-size: 0.82rem;
  }

  .news-item-title {
    flex: 1 1 100%;
    font-size: 0.93rem;
  }

  .news-item-arrow {
    display: none;
  }

  .pagination-btn--prev,
  .pagination-btn--next {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

body .grecaptcha-badge { 
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}