body {
  margin: 0;
  line-height: 1.5;
  scroll-behavior: smooth;
  font-family: "Noto Sans JP", "Montserrat", serif;
  font-weight: 500;
  min-width: 380px;
  position: relative;
}

@media screen and (max-width: 1050px) {
  body {
    width: 100%;
  }
}
input {
  font-size: 12px !important;
}

.Forpc {
  display: block;
}

.Forsp {
  display: none;
}

@media screen and (max-width: 480px) {
  .Forpc {
    display: none;
  }
  .Forsp {
    display: block;
  }
}
/* Header Styles for apply/index.html */
header {
  padding: 2rem;
  /* Remove box-shadow and border-bottom */
  box-shadow: none;
  border-bottom: none;
}

.header-logo {
  width: 100px; /* Adjust logo size as needed */
  /* Align logo to the left */
  margin-left: 0;
  /* filter: invert(); */
}

.header-logo img {
  width: 100%;
  height: auto;
}

/* Styles for the contact section */
#contact-section {
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
}

.inner_box {
  max-width: 1200px;
  margin: 0 auto;
  /* width: 100%; */
  padding-inline: 20px;
}

#contact-section h1 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 0 20px;
  justify-content: center;
}

.contact-left {
  flex: 0.8;
  padding-right: 40px;
}

.contact-left img {
  width: 100%;
}

.contact-right {
  width: 400px;
  /* min-height: 720px; */
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact-heading h2 {
  color: #ea691f;
  font-size: 28px;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.contact-heading h2 span{
  font-size: 20px;
}

.contact-numbers {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.contact-numbers .number-item {
  text-align: center;
}

.contact-numbers .number-item h4 {
  font-size: 18px;
  color: #e67f0a;
  margin-bottom: 10px;
}

.contact-numbers .number-item h4 span {
  font-size: 14px;
}

.contact-numbers .number-item p {
  font-size: 48px;
  font-weight: 700;
  color: #f9e10e;
  font-family: "Montserrat", serif;
}

.contact-recommend {
  position: relative;
  margin-bottom: 2rem;
}

.contact-recommend::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100px;
  width: 5000px;
  height: 3000px;
  background: #e67f0a;
  z-index: -1;
  transform: translate(-50%, 0);
}

.contact-recommend h3 {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-recommend ul {
  list-style: none;
  padding: 0;
}

.contact-recommend li {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffffff;
}

.contact-recommend li i {
  color: #f9e10e;
  margin-right: 10px;
}

.contact-form-wrapper h3 {
  font-size: 24px;
  text-align: center;
}

footer {
  position: relative;
  z-index: 1;
  background: #e67f0a;
}

footer p {
  font-size: 12px;
  padding: 2rem;
  text-align: center;
  color: #ffffff;
}

/* Responsive adjustments */
@media screen and (max-width: 900px) {
  header {
    padding: 2rem 20px;
  }
  #contact-section h1 {
    text-align: left;
    margin-bottom: 2rem;
  }
  .contact-inner {
    flex-direction: column;
    gap: 40px;
  }
  .contact-heading h2 {
    width: 30rem;
  }

  .contact-left {
    padding-right: 0;
    margin: auto;
  }

  .contact-right {
    width: 100%;
    padding: 4rem 0;
  }

  .contact-numbers {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .background-image {
    height: 76rem;
  }
}

@media screen and (max-width: 480px) {
  #contact-section {
    padding: 2rem 0;
  }
  .background-image {
    height: 74rem;
  }
  .contact-left {
    width: 100%;
  }
  .contact-heading h2 {
    width: 100%;
  }
}


/* スライダーのスタイル */
.slider-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 30% 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  opacity: 0;
}

.slide.active { transform: translateX(0); z-index: 1; opacity: 1; }

/* 前へボタンの動きで必須 */
.slide.from-left { transform: translateX(-100%); }
.slide.to-right { transform: translateX(100%); }

/* 次へボタン用 */
.slide.from-right { transform: translateX(100%); }
.slide.to-left { transform: translateX(-100%); }

/* 中央に来た時 */
/* .slide.active { transform: translateX(0); } */

.slide.animating  { z-index: 2; }

.slide img { width: 100%; }

/* 矢印 */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 40px;
  background: #e67f0add;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

.slider-arrow:hover { background: #e67f0aff; transform: translateY(-50%) scale(1.1); }
.slider-arrow i { color: #fff; font-size: 18px; }

/* サムネイル */
.slider-thumbnails {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.thumbnail {
  width: 80px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail:hover { opacity: 1; transform: scale(1.05); }
.thumbnail.active { border-color: #f9e10e; opacity: 1; }
.thumbnail img { width: 100%; }


@media screen and (max-width: 480px) {
  .slider-prev,
  .slider-next,
  .slider-thumbnails {
    display: none;
  }
}