/* reset.css の内容は標準のリセットCSSを使用 */

/* steel-mill.css */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f2f2f2; /* ライトグレー */
  color: #333;
}

header {
  background-color: #333; /* ダークグレー */
  color: #f2f2f2; /* ライトグレー */
  padding: 20px 0;
  text-align: center;
  position: relative;
}

header .container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

header h1 {
  font-size: 2em;
  margin: 0 auto 20px;
  color: #ffd700; /* ゴールド */
  width: 90%;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background-color: rgba(51, 51, 51, 0.8); /* ダークグレーの半透明背景 */
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
}

header p.header-description {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background-color: rgba(51, 51, 51, 0.8); /* ダークグレーの半透明背景 */
  padding: 10px 20px;
  border-radius: 8px;
  color: #ffd700; /* ゴールド */
  text-align: center;
}

header ul {
  list-style-type: none; /* リストの点を外す */
  padding-left: 0;
}

h2,
h3,
ul {
  color: #333; /* 見やすい色に変更 */
}

h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

h2 + p,
h2 + p + p {
  font-size: 1.2em;
  margin-top: 10px;
  text-indent: 1em; /* pタグのインデントを追加 */
}

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.job {
  margin-bottom: 20px;
}

.job h3 {
  font-size: 1.5em;
  margin-bottom: 5px;
}

.job img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

section img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

ul {
  list-style-type: disc;
  margin-left: 20px;
}

.description p {
  text-align: center; /* descriptionセクションの文字を中央揃え */
}

.apply-button {
  display: inline-block;
  padding: 20px 60px;
  margin-top: 20px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.5em;
  transition: transform 0.3s ease;
  text-align: center;
  animation: anime1 0.5s ease 0s infinite alternate;
  transform-origin: center;
}

@keyframes anime1 {
  from {
    transform: scale(0.9, 0.9);
  }
  to {
    transform: scale(1, 1);
  }
}

.apply-button:hover {
  transform: scale(1.1);
}

.homepage-link {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  vertical-align: middle;
  line-height: 20px;
  text-align: center; /* 中央揃え */
}

.homepage-link:hover {
  background-color: #555;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.social-icons a {
  margin: 0 10px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  vertical-align: middle; /* テキストとアイコンの中央を揃える */
}

.apply .container,
.homepage .container {
  text-align: center; /* 子要素を中央揃え */
}
