/* ========== about.html 固有スタイル ========== */

.about-section {
  margin-bottom: 4rem;
}

/* ========== 特徴グリッド ========== */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.about-feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.about-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(26, 111, 160, 0.12);
}

.about-feature-num {
  background: var(--primary);
  color: white;
  font-family: "Shippori Mincho", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.2rem;
  display: inline-block;
  width: fit-content;
  border-radius: 0 0 12px 0;
}

.about-feature-img-wrap {
  width: 100%;
  height: 240px; /* 幅に応じて伸縮しないよう高さ固定 */
  overflow: hidden;
}

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

.about-feature-card:hover .about-feature-img-wrap img {
  transform: scale(1.04);
}

/* 画像未設定時のプレースホルダー */
.about-feature-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f4fb 0%, #d0eaf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.about-img-label {
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.about-feature-body {
  padding: 1.6rem 1.5rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-feature-title {
  font-family: "Shippori Mincho", serif;
  font-size: 1.15rem;
  color: var(--primary-dark);
  line-height: 1.6;
}

.about-feature-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.95;
}

/* ========== 基本理念 ========== */
.about-philosophy-card {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.about-philosophy-text {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.about-philosophy-text p {
  font-size: 0.92rem;
  line-height: 2.1;
  color: var(--text);
  text-align: justify;
}

/* ========== CTA ========== */
.about-cta-box {
  text-align: center;
  background: var(--bg);
  border-radius: 20px;
  padding: 3rem 2rem;
  border: 1px solid var(--border);
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.about-cta-box h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.7rem;
}

.about-cta-box p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
  line-height: 1.9;
}

.about-cta-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 0.95rem 2.3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(26, 111, 160, 0.3);
}

.about-cta-tel-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 111, 160, 0.4);
}

.about-cta-web-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #d32f2f;
  color: white;
  text-decoration: none;
  padding: 0.95rem 2.3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
}

.about-cta-web-btn:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.4);
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-feature-img-wrap {
    height: 220px;
  }

  .about-feature-img-placeholder {
    min-height: 160px;
  }

  .about-cta-box {
    padding: 2rem 1.3rem;
  }
}

@media (max-width: 500px) {
  .about-feature-img-wrap {
    height: 190px;
  }

  .about-cta-tel-btn,
  .about-cta-web-btn {
    width: 100%;
    justify-content: center;
  }
}

/* 特徴カード下のボタン（カードの高さが違っても下端にそろえる） */
.about-feature-body {
  display: flex;
  flex-direction: column;
}
.about-feature-btn {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.about-feature-btn:hover {
  background: var(--primary);
  color: white;
}
.about-feature-desc {
  margin-bottom: 1.2rem;
}
