/* corp.html専用スタイル */

/* 会社情報テーブル */
.company-table {
  margin: 0;
  width: 100%;
}

table.company-table th {
  border: none !important;
  border-bottom: 1px solid #dee2e6 !important;
  padding: 1.25rem 1.5rem !important;
  font-weight: bold !important;
  color: #666;
  width: 35%;
  vertical-align: top;
  background: none !important;
  height: auto !important;
}

table.company-table td {
  border: none !important;
  border-bottom: 1px solid #dee2e6 !important;
  padding: 1.25rem 1.5rem !important;
  color: #333;
  vertical-align: top;
  background: none !important;
  line-height: 1.6 !important;
  height: auto !important;
}

.company-table th,
.company-table td {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* アクセス情報 */
.access-info {
  color: #333;
  line-height: 1.8;
}

.access-info strong {
  color: #333;
}

/* カードのホバーアニメーションを完全に無効化 */
.card.unified-form,
.unified-form,
div.card.unified-form,
div.unified-form {
  transform: none !important;
  transition: none !important;
}

.card.unified-form:hover,
.unified-form:hover,
div.card.unified-form:hover,
div.unified-form:hover {
  transform: none !important;
  transition: none !important;
  animation: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

/* 影は維持するがホバー時に変化させない */
.card.unified-form,
.unified-form {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
  background-color: #ffffff !important;
}

.card.unified-form:hover,
.unified-form:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
  background-color: #ffffff !important;
}

/* すべてのカード要素のホバー効果を無効化 */
.card:hover {
  transform: none !important;
  transition: none !important;
}

/* 特定のBootstrapホバー効果を上書き */
.hover-card:hover,
.card-hover:hover {
  transform: none !important;
  transition: none !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

/* カードタイトルブロックの縦サイズを狭く */
.card-header {
  padding: 1rem 1.25rem !important;
  border-bottom: 2px solid #ff8c00 !important;
}

.card-title-wrapper {
  margin: 0 !important;
}

.card-title.decorative {
  margin-bottom: 0.5rem !important;
}

.card-title.decorative .title-decoration {
  font-size: 1.25rem !important;
  font-weight: bold !important;
}

/* ページタイトルの統一スタイル */
.section-title {
  margin-bottom: 3rem !important;
  margin-top: 3rem !important;
}

.section-title h2 {
  font-size: 32px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
  padding-bottom: 20px !important;
  position: relative !important;
  color: #3b434c !important;
}

.section-title h2::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  width: 120px !important;
  height: 1px !important;
  background: #ddd !important;
  bottom: 1px !important;
  left: calc(50% - 60px) !important;
}

.section-title h2::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  width: 40px !important;
  height: 3px !important;
  background: #ff8c00 !important;
  bottom: 0 !important;
  left: calc(50% - 20px) !important;
}

.section-title h3 {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #6c757d !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .company-table th {
    width: 40%;
    font-size: 0.9rem;
    padding: 1rem 1rem !important;
  }

  .company-table td {
    font-size: 0.9rem;
    padding: 1rem 1rem !important;
  }
}

@media (max-width: 576px) {
  .company-table th {
    width: 45%;
    font-size: 0.85rem;
    padding: 0.75rem 0.8rem !important;
  }

  .company-table td {
    font-size: 0.85rem;
    padding: 0.75rem 0.8rem !important;
  }
}
