/* 共通設定 */
.logo {
  display: flex;
  align-items: center;   /* ロゴと文字を縦方向中央に揃える */
  gap: 0.4em;            /* ロゴと文字の間隔 */
  font-size: 1.5em;
  font-weight: bold;
  color: #0077cc;
}

.logo img {
  height: 28px;   /* ロゴの高さを小さく調整 */
  width: auto;
  display: block;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9fafb;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0.5em 0;
}

/* コンテナ: 幅制限して中央寄せ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #0077cc;
}

header nav ul {
  display: flex;
  gap: 1.5em;
  list-style: none;
}

header .auth .btn {
  margin-left: 1em;
}

.btn {
  padding: 0.5em 1.2em;
  border-radius: 6px;
  border: 1px solid #0077cc;
  color: #0077cc;
  background: white;
  transition: 0.3s;
}

.btn:hover {
  background: #0077cc;
  color: white;
}

.btn.primary {
  background: #28a745;
  border-color: #28a745;
  color: white;
}

.btn.primary:hover {
  background: #218838;
}

/* ヒーロー */
.hero {
  background: linear-gradient(90deg, #e8f4ff, #f4fff8);
  padding: 3em 0;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding: 1em;
}

.hero-img {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-img img {
  max-width: 100%;
  height: auto;
}

/* 機能 */
.features {
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 2em 0;
  background: white;
}

.feature {
  text-align: center;
  flex: 1;
  max-width: 250px;
}

.feature img {
  width: 50px;
  margin-bottom: 0.5em;
}

/* 人材カード */
.students {
  padding: 2em 0;
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 250px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 1em;
}

.dashboard {
  display: flex;
  justify-content: center;   /* セクション全体を中央寄せ */
  align-items: flex-start;
  gap: 2em;                  /* 左右の間隔 */
  margin: 2em auto;          /* 中央寄せ */
  max-width: 1200px;         /* セクション全体の最大幅 */
}

.dashboard-left,
.dashboard-right {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;   /* ← 縦方向に並べる */
  align-items: center;      /* 中央寄せ */
}

.caption {
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.5em;
  font-size: 1.1em;
  color: #333;
  writing-mode: horizontal-tb;  /* ← 強制的に横書きにする */
}

.dashboard img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/* ステップ */
.steps {
  background: #f0f9ff;
  padding: 2em 0;
  text-align: center;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}

.step {
  background: white;
  border: 1px solid #0077cc;
  padding: 1em 2em;
  border-radius: 6px;
  font-weight: bold;
}

/* フッター */
footer {
  background: #0077cc;
  color: white;
  text-align: center;
  padding: 1.5em;
  margin-top: 2em;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .step-list {
    flex-direction: column;
  }
}

.faq-item {
  margin: 1.5em 0;
  padding: 1em;
  border-left: 4px solid #0077cc;
  background: #f9f9f9;
  border-radius: 4px;
}
.faq-item h3 {
  margin-top: 0;
  color: #0077cc;
}

.map {
  margin: 2em 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}

.company-info .row {
  display: flex;
}

.company-info .label {
  width: 100px;   /* ラベル部分を固定幅にする */
  font-weight: bold;
}

.company-info .value {
  flex: 1;        /* 内容部分を自動的に広げる */
}

#features .features-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
#features .feature {
  width: 25%;
  padding: 0 15px;
}

