/* ==========================================================================
   過渡用コーポレートサイト — ベーススタイル
   方針：軽量・レスポンシブ・日本語対応。華美なデザインは行わない。
   ========================================================================== */

/* --------------------------------------------------------------------------
   リセット・基本設定
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    "Yu Gothic Medium",
    "YuGothic",
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2563a8;
  text-decoration: underline;
}

a:hover {
  color: #1a4a80;
}

/* --------------------------------------------------------------------------
   レイアウト：コンテナ
   -------------------------------------------------------------------------- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   ナビゲーション
   -------------------------------------------------------------------------- */
.site-nav {
  background-color: #1a2d4d;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-nav__logo {
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__menu {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav__menu a {
  color: #c8d8f0;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  transition: background-color 0.15s, color 0.15s;
}

.site-nav__menu a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Hero（メインビジュアル）
   -------------------------------------------------------------------------- */
.hero {
  background-color: #1a2d4d;
  color: #ffffff;
  padding: 4rem 1.25rem;
  text-align: center;
}

.hero__title {
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero__tagline {
  font-size: 1.1rem;
  color: #a8c4e0;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   セクション共通
   -------------------------------------------------------------------------- */
.section {
  padding: 3.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.section:last-of-type {
  border-bottom: none;
}

.section--alt {
  background-color: #f7f8fa;
}

.section__heading {
  font-size: 1.6rem;
  font-weight: bold;
  color: #1a2d4d;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #2563a8;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   会社概要
   -------------------------------------------------------------------------- */
.company-overview {
  line-height: 2;
}

.company-overview p {
  margin-bottom: 0.75rem;
}

/* 会社概要の情報テーブル（社名・設立・代表者・資本金・所在地） */
.company-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  max-width: 560px;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background-color: #f7f8fa;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  line-height: 1.8;
}

.company-details dt {
  font-weight: bold;
  color: #444444;
  white-space: nowrap;
}

.company-details dd {
  color: #333333;
}

/* --------------------------------------------------------------------------
   事業内容
   -------------------------------------------------------------------------- */
.business-content {
  line-height: 2;
}

.business-content p {
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   求人情報
   -------------------------------------------------------------------------- */
.recruitment-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 16rem;
  overflow-y: auto;
  padding: 2px 0.5rem 2px 0;
}

/* 求人トリガーボタン */
.job-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 1px solid #d0d8e4;
  border-left: 4px solid #2563a8;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  color: #1a2d4d;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: background-color 0.15s;
}

.job-trigger:hover {
  background-color: #f0f5fa;
}

.job-trigger:focus-visible {
  outline: 2px solid #2563a8;
  outline-offset: 2px;
}

.job-trigger__title {
  flex: 1;
}

.job-trigger__arrow {
  color: #2563a8;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

/* 求人詳細モーダル */
.job-dialog {
  padding: 0;
  border: none;
  border-radius: 6px;
  max-width: 640px;
  width: 90%;
  max-height: 85vh;
  overflow: hidden;
  margin: auto;
}

.job-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.job-dialog__inner {
  position: relative;
  padding: 1.5rem 1.75rem;
  max-height: 85vh;
  overflow-y: auto;
}

.job-dialog__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #666666;
  font-family: inherit;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  transition: color 0.15s, background-color 0.15s;
}

.job-dialog__close:hover {
  color: #1a2d4d;
  background-color: #f0f5fa;
}

.job-dialog__close:focus-visible {
  outline: 2px solid #2563a8;
  outline-offset: 2px;
}

.job-dialog__title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1a2d4d;
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #555555;
}

.job-card__meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.job-card__meta-label {
  font-weight: bold;
  color: #444444;
}

.job-card__body {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444444;
}

.job-card__meta + .job-card__body {
  margin-top: 0;
}

.job-card__body p {
  margin-bottom: 0.6rem;
}

.job-card__body ul,
.job-card__body ol {
  margin: 0.5rem 0 0.75rem 1.5rem;
}

.job-card__body h2,
.job-card__body h3,
.job-card__body h4 {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  color: #1a2d4d;
}

.recruitment-empty {
  color: #666666;
  padding: 1.5rem;
  background-color: #f7f8fa;
  border-radius: 4px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   お問い合わせ（連絡先表示のみ、フォームなし）
   -------------------------------------------------------------------------- */
.contact-info {
  line-height: 2.2;
}

.contact-info dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  max-width: 480px;
}

.contact-info dt {
  font-weight: bold;
  color: #444444;
  white-space: nowrap;
}

.contact-info dd {
  color: #333333;
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #1a2d4d;
  color: #a8c4e0;
  padding: 2.5rem 1.25rem;
  font-size: 0.875rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__company {
  font-weight: bold;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.site-footer__address {
  line-height: 2;
}

.site-footer__copy {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6a8db0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   レスポンシブ対応
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .site-nav .container {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .site-nav__menu {
    gap: 0.1rem;
  }

  .site-nav__menu a {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__tagline {
    font-size: 1rem;
  }

  .section__heading {
    font-size: 1.3rem;
  }

  .company-details {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 1rem;
  }

  .company-details dt {
    margin-top: 0.75rem;
  }

  .company-details dt:first-child {
    margin-top: 0;
  }

  .contact-info dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .contact-info dt {
    margin-top: 0.75rem;
  }

  .contact-info dt:first-child {
    margin-top: 0;
  }

  .site-footer .container {
    flex-direction: column;
  }
}
