body {
  background-color: #ffffff;
  background-image: linear-gradient(to bottom right, #6bdcf8, #e6f3ff);
  min-height: 100vh;
}

.header-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 66px); /* ナビゲーションバーの高さを引く */
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  object-fit: cover;
}

.overlay-image {
  position: absolute;
  top: 50px;
  padding-left: 50px;
  width: 70%; /* デスクトップでは左半分に表示 */
  height: 70%;
  object-fit: contain;
  margin-bottom: auto;
}

.header-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}
.header-bar {
  position: absolute;
  bottom: 87px;
  left: 0;
  width: 100%;
  background-color: rgba(9, 49, 56, 0.384);
  padding: 15px 0;
  text-align: center;
  margin-top: auto;
}

@media (max-width: 767px) {
  .header-bar {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    background-color: rgba(9, 49, 56, 0.384);
    padding: 0px 0;
    text-align: center;
  }
}
.header-title {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 2.5rem;
}
.header-title_strong {
  color: #ff9100;
  font-size: 4rem;
  -webkit-text-stroke: 1px #d1d1d1;
  text-stroke: 3px #fff;
}

@media (max-width: 767px) {
  .header-container {
    height: 50vh;
  }

  .overlay-image {
    width: 85%;
    height: 55%;
    top: 50px;
    bottom: 20%;
    left: 0%;
  }

  .header-title {
    font-size: 1.8rem;
  }

  .header-title_strong {
    color: #ff9100;
    font-size: 2rem;
    -webkit-text-stroke: 1px #d1d1d1;
    text-stroke: 3px #fff;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .overlay-image {
    width: 60%;
  }

  .header-title {
    font-size: 2.2rem;
  }
  .header-title_strong {
    color: #ff9100;
    font-size: 2rem;
    -webkit-text-stroke: 1px #d1d1d1;
    text-stroke: 3px #fff;
  }
}

/* ナビゲーションバーのスタイル */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: #333;
  transition: color 0.3s, background-color 0.3s;
  padding: 20px 1rem;
}

.nav-link:hover {
  color: #ffffff;
  background-color: #2b92ff;
}

.nav-link i {
  margin-right: 5px;
}

@media (max-width: 767px) {
  .header-container {
    height: calc(50vh - 56px);
  }

  .overlay-image {
    width: 83%;
    height: 65%;
    top: auto;
    bottom: 20%;
    left: 0%;
    max-height: 75%;
    margin-bottom: 5%;
  }

  .header-title {
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .overlay-image {
    width: 83%;
    height: 65%;
    top: auto;
    bottom: 20%;
    left: 0%;
    max-height: 75%;
    margin-bottom: 5%;
  }

  .header-title {
    font-size: 1.8rem;
  }
}

/* カードセクションのスタイル */
.cards-section {
  background-color: #edf4f7;
}

.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.card-title_jobs {
  color: #007bff;
  font-weight: bold;
  text-align: center;
  font-size: 20px;
}

.card-text {
  color: #6c757d;
  padding: 15px;
  text-align: center;
}
.card-text_price {
  color: #ffb730;
  font-weight: bold;
  text-align: center;
  font-size: 30px;
  border-bottom: solid #ff0000;
}
.step {
  transition: transform 0.5s ease-out;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.option {
  transition: background-color 0.3s;
}

.option:hover {
  background-color: #e9ecef;
}

.option.selected {
  background-color: #007bff;
  color: white;
}

.slide-out {
  transform: translateX(-100%);
  opacity: 0;
}

.slide-in {
  animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.step-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.step-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #007bff;
  z-index: -1;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #495057;
  border: 2px solid #007bff;
}

.step-circle.active {
  background-color: #007bff;
  color: white;
}

.step-circle.completed {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
}

.option-container {
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  max-height: 60px;
  overflow: hidden;
  opacity: 1;
}

.option-container.expanded {
  max-height: 150px;
}

.price-input {
  height: 0;
  opacity: 0;
  transition: height 0.5s ease-out, opacity 0.5s ease-out;
  overflow: hidden;
}

.price-input.show {
  height: 70px;
  opacity: 1;
}
/* 画像とテキストのレイアウト用CSS */

.img-fluid {
  transition: transform 0.3s ease-in-out;
}

.divider-container {
  position: relative;
}

.section-divider {
  position: relative;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #ccc;
  margin-bottom: 25px;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 30px;
  height: 30px;
  background-color: #ffffff;
  transform: translateX(-50%) rotate(45deg);
  border: 2px solid #ccc;
  border-top: none;
  border-left: none;
}

@media (max-width: 767px) {
  .row {
    margin-bottom: 1rem;
  }

  .col-md-7,
  .col-md-5 {
    margin-bottom: 1rem;
  }
}

.step-image {
  position: relative;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .step-image {
    display: flex;
    justify-content: space-between;
  }
}

.form_title {
  color: #ffffff;
  font-weight: bolder;
  text-shadow: rgb(73, 73, 73) 1px 0 10px;
}
@media (max-width: 767px) {
  .form_title {
    text-align: center;
  }
}
.d-flex {
  flex-wrap: wrap;
}
