/* ========================================
   ユーティリティクラス
   ======================================== */
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-white { background-color: white; }
.text-white { color: white; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.rounded-button { border-radius: 0.75rem; }

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* ========================================
   共通セクションパディング
   ======================================== */
.section-padding { padding: 3rem 0; }

@media (max-width: 900px) {
  .section-padding { padding: 2.5rem 0; }
}

@media (max-width: 768px) {
  .section-padding { padding: 2rem 0; }
}

@media (max-width: 480px) {
  .section-padding { padding: 1.5rem 0; }
}

/* ========================================
   Heroセクション
   ======================================== */
.hero-section {
  height: 30rem;
  background-size: cover;
  background-position: center top;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: heroZoomFade 1.5s ease-out forwards;
}

.hero-section .absolute.inset-0 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 0.75) 0%, 
    rgba(255, 255, 255, 0.8) 50%, 
    transparent 100%
  );
}

.hero-section .relative.z-10 {
  position: relative;
  z-index: 10;
}

@keyframes heroZoomFade {
  0% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: bold;
  color: #1a202c;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.75;
  color: #4a5568;
  margin-bottom: 2rem;
}

.hero-button-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-button-container a {
  padding: 1rem 2rem;
  display: inline-block;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

@media (max-width: 1200px) {
  .hero-section { height: 28rem; }
  .hero-title { font-size: 2.75rem; }
  .hero-description { font-size: 1.125rem; }
}

@media (max-width: 1024px) {
  .hero-section { height: 26rem; }
  .hero-title { font-size: 2.5rem; }
}

@media (max-width: 900px) {
  .hero-section { height: 24rem; }
  .hero-title { font-size: 2.25rem; }
  .hero-description { font-size: 1rem; }
  .hero-button-container a { padding: 0.875rem 1.75rem; }
}

@media (max-width: 768px) {
  .hero-section {
    height: 25rem;
    background-position: center right;
  }
  .hero-section .absolute.inset-0 {
    background: linear-gradient(to right, 
      rgba(255, 255, 255, 0.85) 0%, 
      rgba(255, 255, 255, 0.85) 60%, 
      rgba(255, 255, 255, 0.3) 100%
    );
  }
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-button-container {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-button-container a {
    width: 50vw;
    text-align: center;
    padding: 0.875rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-section { height: 23rem; }
  .hero-title { font-size: 1.75rem; }
  .hero-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .hero-button-container a { width: 55vw; }
}

@media (max-width: 480px) {
  .hero-section { height: 23rem; }
  .hero-section .absolute.inset-0 {
    background: linear-gradient(to bottom, 
      rgba(255, 255, 255, 0.9) 0%, 
      rgba(255, 255, 255, 0.85) 60%, 
      rgba(255, 255, 255, 0.7) 100%
    );
  }
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .hero-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  .hero-button-container a {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    width: 60vw;
  }
}

@media (max-width: 414px) {
  .hero-title { font-size: 1.375rem; }
  .hero-description { font-size: 0.8125rem; }
  .hero-button-container a { width: 80vw; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 1.25rem; }
  .hero-description { font-size: 0.8rem; }
  .hero-button-container a {
    padding: 0.625rem 0;
    font-size: 0.8125rem;
  }
}

/* ========================================
   活動内容セクション
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #1a202c;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: #4a5568;
}

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

.service-card {
  display: block;
  background-color: white;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card .w-16 {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a202c;
  margin-bottom: 1rem;
}

.service-card p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

@media (max-width: 1200px) {
  .services-grid { gap: 1.5rem; }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .section-title { font-size: 2rem; }
  .section-description { font-size: 1.125rem; }
  .section-header { margin-bottom: 3rem; }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.875rem;
    margin-bottom: 1rem;
  }
  .section-description { font-size: 1rem; }
  .services-grid { gap: 1.25rem; }
  .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .section-title { font-size: 1.75rem; }
  .section-description { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .section-description { font-size: 0.9rem; }
  .service-card { padding: 1.5rem; }
  .service-card h3 { font-size: 1.25rem; }
  .service-card p { font-size: 0.875rem; }
  .section-header { margin-bottom: 2rem; }
}

/* ========================================
   ニュースセクション
   ======================================== */
.news-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

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

.news-date {
  min-width: 100px;
  font-size: 0.875rem;
  color: #718096;
  font-weight: 500;
}

.news-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1a202c;
}

.news-content {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 0;
  }
  .news-date { min-width: auto; }
  .news-title { font-size: 1rem; }
  .news-content { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .news-item { padding: 1rem 0; }
  .news-title { font-size: 0.95rem; }
  .news-content { font-size: 0.85rem; }
}

/* ========================================
   私たちについてセクション
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: center;
}

.about-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #1a202c;
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #4a5568;
  margin-bottom: 2rem;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 100%;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 1024px) {
  .about-grid { gap: 2.5rem; }
  .about-title { font-size: 2rem; }
  .about-description { font-size: 1rem; }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-title { font-size: 1.875rem; }
  .about-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .about-grid .about-image { order: -1; }
}

@media (max-width: 480px) {
  .about-grid { gap: 1.5rem; }
  .about-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .about-description {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }
}


/* ========================================
   私たちについてセクション - 装飾追加版（文章変更なし）
   ======================================== */

/* セクション背景に淡いグラデーション */
.about-section {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  padding: 4rem 0;
}

/* タイトルに下線アクセント */
.about-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  width: 90%;
}

.about-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90%;
  height: 4px;
  background: linear-gradient(to right, #2563eb, #3b82f6);
  border-radius: 2px;
}

/* テキストに読み込み時フェードアップ */
.about-grid {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 画像の装飾 */
.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.about-image img {
  width: 100%;
  border-radius: 0.75rem;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
}

.about-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.25);
}

/* 小型デバイス対応 */
@media (max-width: 768px) {
  .about-section {
    padding: 3rem 0;
  }
  .about-title::after {
    height: 3px;
  }
}


/* ========================================
   活動内容カード - モバイル対応
   ======================================== */
@media (max-width: 600px) {
  /* アイコンとタイトルを横並びにする */
  .activity-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .activity-card-header .icon-wrapper {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }
  
  .activity-card-header .icon-wrapper i {
    font-size: 1.5rem;
  }
  
  .activity-card-header h3 {
    margin-bottom: 0 !important;
    font-size: 1.25rem;
  }
}