h1 {
  text-align: center;
  padding: 20px;
  margin: 0;
}

.jump {
  display: flex;
  justify-content: center;
  gap: 50px;
  text-decoration: none;
}

.jump_button {
  background-color: #e74c3c;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.jump_button:hover {
  background-color: #c0392b;
  text-decoration: none;
}

.jump a:hover {
  text-decoration: underline;
}

.ikawadanijump {
  text-align: center;
}

.myodanijump {
  text-align: center;
}

.slide {
  position: relative;
}

.carousel {
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

#carousel_items {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.recruit_item {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.recruit_block {
  width: 50%;
  height: auto;
  object-fit: cover;
  margin: 30px auto;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev,
.next {
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.recruit {
  justify-content: center;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: white;
  border: 2px solid white;
  border-radius: 10px;
}

.recruit h2 {
  text-align: center;
  font-size: 28px;
  border-bottom: 2px solid #a52a2a;
  padding-bottom: 10px;
  margin-bottom: 29px;
}

.container {
  max-width: 600px;
  margin: auto;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.title {
  color: #f00;
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.container ul {
  padding-left: 20px;
}

.highlight {
  color: #f00;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}

.contact {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.qr {
  width: 120px;
  height: auto;
}

.dots {
  text-align: center;
  margin: 10px 0;
}

.dots.top::before,
.dots.bottom::before {
  content: "● ● ● ● ● ● ● ● ● ●";
  font-size: 20px;
  color: transparent;
  background: linear-gradient(
    to right,
    red,
    orange,
    yellow,
    green,
    skyblue,
    blue,
    purple,
    pink,
    red
  );
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 768px) {
  h1 {
    font-size: 24px;
    padding: 15px;
  }

  .jump {
    flex-direction: column;
    /* ボタンを縦並び */
    gap: 20px;
  }

  .jump_button {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .recruit_item {
    min-width: 100%;
    /* スライダーのアイテム幅を縮小 */
  }

  .recruit_block {
    width: 90%;
    margin: 15px auto;
  }

  .prev,
  .next {
    font-size: 1.5rem;
    padding: 8px;
  }

  .prev {
    left: 5px;
  }

  .next {
    right: 5px;
  }

  .recruit {
    padding: 15px;
    margin: 20px;
  }

  .recruit h2 {
    font-size: 24px;
  }

  .container {
    max-width: 100%;
    padding: 15px;
  }

  .title {
    font-size: 22px;
  }

  .highlight {
    font-size: 1.2rem;
  }

  .contact {
    flex-direction: column;
    align-items: center;
  }

  .qr {
    width: 100px;
  }

  .dots {
    font-size: 18px;
  }

  .dots.top::before,
  .dots.bottom::before {
    font-size: 16px;
  }
}
