/* ===========================
   基本設定
=========================== */

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴシック",
               "Yu Gothic", "メイリオ", sans-serif;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

/* ===========================
   共通レイアウト骨格
=========================== */

.layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   セクション
=========================== */

.section {
  padding: 5rem 0;
}

.section-gray {
  background: #f7f8fa;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;

  display: inline-block;
  background: linear-gradient(
    transparent 65%,
    #eef3f8 65%
  );
  padding: 0.3em 0.5em;
}

/* ===========================
   ヒーロー
=========================== */

.hero {
  padding: 4rem 0;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
}

.hero-actions a {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid #005bac;
  color: #005bac;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

.hero-actions a:hover {
  background: #005bac;
  color: #fff;
}

.hero-inner {
  display: flex;
  flex-direction: column;
}

.hero-inner > * + * {
  margin-top: 2.5rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 740px;
  height: auto;
}

/* ===========================
   プロセス（要求開発の進め方）
=========================== */

.process-item {
  margin-bottom: 3rem;
}

.process-vertical {
  display: flex;
  flex-direction: column;
}

.process-vertical > * + * {
  margin-top: 2.5rem;
}

.process-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-image {
  text-align: center;
}

.process-image img {
  width: 100%;
  max-width: 570px;
  height: auto;
}

/* ===========================
   レスポンシブ（最低限）
=========================== */

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section {
    padding: 3rem 0;
  }
}

/* ===========================
   イベント一覧
=========================== */

.event-year {
  margin-bottom: 3rem;
}

.event-year h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-item {
  display: flex;
  gap: 1.5rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e6e9ee;
  font-size: 0.95rem;
}

.event-date {
  white-space: nowrap;
  color: #666;
}

.event-title {
  flex: 1;
}

.event-type {
  white-space: nowrap;
  color: #666;
  font-size: 0.85rem;
}

/* ===========================
   その他
=========================== */
/* ページ内CTA（下部など） */
.cta-links {
  margin-top: 2rem;
}

.cta-links a {
  display: inline-block;
  margin: 0 1rem;
  font-weight: 600;
  color: #005bac;
  text-decoration: none;
}

.cta-links a:hover {
  text-decoration: underline;
}

/* 研修詳細のトグルボタン */
.course-toggle {
  background: none;
  border: none;
  color: #005bac;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.course-toggle:hover {
  text-decoration: underline;
}

.takumi_flex {
  display: flex;
}
.takumi_flex .image {
  width: 100%; /*画像サイズ指定*/
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.takumi_flex .text {
  margin: 0 0 0 20px;
  padding: 0;
}

.image-row {
    display: flex;
    justify-content: center; /* 中央揃え */
    gap: 10px; /* 画像間の隙間 */
}

.image-container {
    width: 30%;
    text-align: center;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-container p {
    padding: 10px 0 0 0;
    font-size: 14px;
}
