/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #222;
  line-height: 1.7;
}

/* Hero */
.hero {
  position: relative;
  height: 60vh;
  background: url("./img/header5.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /*  background: rgba(0, 0, 0, 0.45);*/
}

.hero-logo img {
  height: 40px;
  width: auto;
  display: block;
  margin: 0 0 20px 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

@media (max-width: 768px) {
  .hero-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
  }

  .hero-logo svg {
    height: 28px;
    width: auto;
  }
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.4rem;
  letter-spacing: 0.05em;
}

.hero p {
  margin-top: 12px;
  font-size: 1.1rem;
  opacity: 0.9;
    text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 4px 14px rgba(0, 0, 0, 0.45);
}

.hero-content h1 {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 4px 14px rgba(0, 0, 0, 0.45);
}

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Philosophy */
.philosophy {
  background: #eaf4fc;
  padding: 20px 20px 50px 20px;
  margin: 0 0 50px 0;
  border-radius: 8px;
}

.philosophy-image {
  max-width: 1100px;
  margin: 0 auto 60px;
}

.philosophy-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  filter: brightness(0.9);
}

/* SP調整 */
@media (max-width: 768px) {
  .philosophy-image img {
    height: 220px;
    border-radius: 12px;
  }
}

.philosophy-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.philosophy-item h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.philosophy-item h3 span {
  display: block;
  font-size: 0.7rem;
  color: #5a6b7b;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.philosophy-catch {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.philosophy-item p {
  color: #555;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Business Cards */
.business-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.business-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #222;
}

.business-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* hover（控えめ） */
.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
}

/* Responsive */
@media (max-width: 1024px) {
  .business-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .business-cards {
    grid-template-columns: 1fr;
  }

  .business-card {
    padding: 24px;
  }
}

.section {
  margin-bottom: 80px;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.section h2 span {
  display: block;
  font-size: 0.75rem;
  color: #5a6b7b;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

/* h2 全体：先にスライドイン */
.animate-title {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.7s ease;
}

.animate-title.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 英字：スライド完了を待ってから出す */
.animate-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  transition-delay: 0.75s;
}

.animate-title.is-visible span {
  opacity: 1;
  transform: translateY(0);
}


.section-lead {
  margin-bottom: 20px;
  color: #555;
}

.bg-light {
  background: #eaedfc;
  padding: 60px 40px;
  border-radius: 8px;
}

/* Table */
.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th,
.profile-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #e3e6ea;
  vertical-align: top;
}

.profile-table th {
  width: 30%;
  font-weight: 500;
  color: #555;
}

/* Business */
.business-list {
  list-style: none;
}

.business-list li {
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 10px;
}

.business-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #5a6b7b;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.8rem;
  color: #777;
  background: #fafafa;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 40px 16px;
  }

  .bg-light {
    padding: 40px 20px;
  }

  .profile-table th {
    width: 30%;
  }
}