

/* =========================================
   共通ヒーローセクション（全ページ統一）
========================================= */
.page-hero {
  position: relative;
  width: 100%;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
  margin-bottom: 4rem;
}

.page-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: 0;
  transition: transform 5s ease-out;
}

.page-hero:hover .page-bg {
  transform: scale(1.08);
}

/*.page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 30, 0.45);
  z-index: 1;
}*/

.page-hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  animation: fadeUp 1.5s ease forwards;
  margin-top: 12vh;
}

.page-hero-text h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.page-hero-text p {
  font-size: clamp(16px, 2vw, 22px);
  margin-top: 10px;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

/* フェードアップ */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .page-hero {
    height: 50vh;
  }

  .page-hero-text h1 {
    font-size: 2rem;
  }
}

/* 会社情報 */
.company {
  max-width: 900px;
  margin: 6rem auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.company table {
  width: 100%;
  border-collapse: collapse;
}

.company th,
.company td {
  padding: 1rem;
  border-bottom: 1px solid #e0e5f1;
  vertical-align: top;
}

.company th {
  width: 30%;
  color: #182578;
  text-align: left;
  font-weight: 600;
}

.company td {
  line-height: 1.8;
}

/* 代表挨拶 */
.message {
  max-width: 900px;
  margin: 6rem auto;
  padding: 2.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.message h3 {
  color: #182578;
  margin-bottom: 1rem;
}

.message p {
  line-height: 2;
}

.message .sign {
  text-align: right;
  margin-top: 2rem;
  font-weight: 500;
}

/* アクセス */
.access {
  max-width: 1000px;
  margin: 6rem auto;
  padding: 0 1rem 5rem;
}

.access h3 {
  color: #182578;
  text-align: center;
  margin-bottom: 1.5rem;
}

.map-wrap iframe {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* fade animation */
.fadeUpTrigger {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fadeUp {
  opacity: 1;
  transform: translateY(0);
}