.main-banner-wrap {
  position: relative;
  width: 100%;
  height: clamp(250px, 50vw, 815px);
  background-image: url('/img/index_top_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main-banner-txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 1rem 0 1rem;
  transition: padding-bottom 0.5s ease;
  /* 부드럽게 변경되도록 설정 */
}

@media (max-width: 768px) {
  .container {
    padding-bottom: 3rem;
  }
}

/* 큰 타이틀 - 합리적인 가격 */
.main-banner-txt-color {
  font-size: clamp(1.6rem, 5vw, 4rem);
  color: #B7F64F;
  margin: 0;
}

/* 강조 텍스트 - 안전한 운행 */
.main-banner-txt-bold {
  font-size: clamp(1.6rem, 5vw, 4rem);
  color: #FFFFFF;
  font-weight: bold;
  margin: 0.3rem 0 0 0;
}

/* 서브 문구 - 365일 빠른 견적 서비스 */
.main-banner-small {
  font-size: clamp(1rem, 3.5vw, 2.1rem);
  color: #FFF;
  margin: 0.9rem 0 0 0;
}

/* 견적문의 버튼 */
.main-banner-btn {
  display: inline-block;
  margin-top: 2rem;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50px;
  padding: clamp(0.5rem, 2vw, 1.4rem) clamp(2rem, 5vw, 4.7rem);
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s ease;
}

.main-banner-btn:hover {
  background-color: #fff;
  color: #91C53C;
  border-color: #fff;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-banner-txt-color,
.main-banner-txt-bold,
.main-banner-small,
.main-banner-btn {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

/* 순차적으로 등장하도록 delay 설정 */
.main-banner-txt-color {
  animation-delay: 0.2s;
}

.main-banner-txt-bold {
  animation-delay: 0.5s;
}

.main-banner-small {
  animation-delay: 0.8s;
}

.main-banner-btn {
  animation-delay: 1.2s;
}

/* 실시간 견적 시작 */
.index-estimate-wrap {
  position: relative;
  margin: -110px auto 0;
  max-width: 1200px;
  color: #828282;
  transition: all 0.3s ease;
}

.index-estimate-title-wrap {
  padding: 20px 0;
  text-align: center;
  background-color: #fff;
  border: 1px solid #D9D9D9;
  border-bottom: 0;
  border-top-left-radius: 110px;
  border-top-right-radius: 110px;
}

.index-estimate-title {
  padding-top: 10px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #91C53C;
}

/* 폼 기본 */
.index-estimate-form form {
  padding: 40px 20px 20px;
  width: 100%;
  border: 1px solid #D9D9D9;
}

.form-flex {
  display: flex;
  justify-content: space-between;
}

.form-box {
  margin-bottom: 1rem;
}

.form-box label {
  display: block;
  margin-bottom: .5rem;
}

.form-box input,
.form-box select {
  display: block;
  padding: .75rem;
  border: 1px solid #D9D9D9;
  font-size: 1rem;
  line-height: 1;
  height: 45px;
}

.form-box select {
  padding: .5rem .75rem;
}

.form-box .input1 {
  width: 220px;
}

.form-box .select1 {
  width: 300px;
}

.form-box .input2 {
  width: 123px;
}

.form-box .input3 {
  width: 154px;
  text-align: center;
}

.form-box .select2 {
  width: 130px;
}

.form-box .input4 {
  width: 250px;
}

.form-inner-relative {
  padding: 0;
  margin: 0;
  position: relative;
}

.form-inner-relative input {
  padding-right: 3rem;
}

.form-inner-relative .unit {
  position: absolute;
  bottom: .85rem;
  right: .75rem;
}

.date-flex {
  display: flex;
  align-items: flex-start;
}

.terms-wrap {
  font-size: 1rem;
  margin: 20px 0;
}

.terms-wrap input[type="checkbox"] {
  margin-right: 8px;
}

.toggle-privacy {
  color: #91C53C;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-content {
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  border-radius: 1rem;
}

.form-agree {}

.terms-wrap {
  text-align: center;
}

.form-agree h4 {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: .5rem;
}

.estimate-btn-wrap {
  text-align: center;
}

#agree-checkbox {
  transform: scale(1.5);
}

.estimate-btn {
  font-size: 1.5rem;
  color: #fff;
  background: #91C53C;
  border-radius: 2rem;
  border: 0;
  margin-top: 1rem;
  padding: 1rem 5rem;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .main-banner-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding-bottom: 2rem;
    transition: padding-bottom 0.5s ease;
  }

  .main-banner-btn {
    margin-top: 1rem;
  }

  /* 전체 래퍼 */
  .index-estimate-wrap {
    margin: 0 auto;
    margin-top: -65px;
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 제목 섹션 */
  .index-estimate-title-wrap {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    padding: 15px 10px;
  }

  .index-estimate-title {
    font-size: 1.2rem;
  }

  /* 폼 섹션 */
  .index-estimate-form form {
    padding: 20px 15px;
  }

  .form-flex {
    display: block;
  }

  .form-box {
    width: 100% !important;
    margin-bottom: 1rem;
  }

  .form-box input,
  .form-box select {
    width: 100% !important;
    font-size: 1rem;
    height: 42px;
  }

  .form-inner-relative .unit {
    bottom: 0.9rem;
    right: 0.75rem;
    font-size: 0.9rem;
  }

  /* 날짜 입력 라인 */
  .date-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .date-flex .form-box {
    width: calc(50% - 5px);
  }

  /* 이용약관 */
  .terms-wrap {
    font-size: 0.95rem;
    margin: 20px 0;
    padding: 0 5px;
  }

  .form-agree h4 {
    font-size: 1.1rem;
  }

  .privacy-content {
    font-size: 0.9rem;
    padding: 10px;
    margin-bottom: 0;
  }

  /* 버튼 */
  .estimate-btn-wrap {
    padding-top: 10px;
  }

  .estimate-btn {
    width: 100%;
    font-size: 1.25rem;
    margin-top: .5rem;
    padding: 0.9rem 0;
  }
}

@media (max-width: 768px) {
  /* 희망차량 + 차량대수 */
  .form-flex .date-flex {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .date-flex .form-box:first-child {
    flex: 0 0 65%;
  }

  .date-flex .form-box:last-child {
    flex: 0 0 30%;
  }

  /* 필요 시, 입력창들이 가득 채우도록 설정 */
  .date-flex .form-box input,
  .date-flex .form-box select {
    width: 100%;
    box-sizing: border-box;
  }

  .form-flex .date-flex .form-box {
    width: calc(50% - 5px);
  }

  .form-flex .date-flex .form-box.ml-20 {
    margin-left: 2% !important;
  }

  /* 출발일 + 출발시각, 도착일 + 도착시각 */
  .form-box .date-flex {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .form-box .date-flex input {
    flex: 0 0 65%;
    box-sizing: border-box;
  }

  .form-box .date-flex select {
    flex: 0 0 30%;
    box-sizing: border-box;
  }

  .form-box .date-flex select.ml-20 {
    margin-left: 2% !important;
  }

  .toggle-privacy {
    display: block;
  }
}

/* 공통 스타일 */
.ui-datepicker {
  background: #fff;
  border: 2px solid #91C53C;
  padding: 10px;
  z-index: 9999 !important;
  font-size: 1rem;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.ui-datepicker td {
  text-align: center;
  padding: 5px;
}

.ui-datepicker td a {
  padding: 6px;
  display: block;
  text-align: center;
  color: #333;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #fff;
}

.ui-datepicker td a.ui-state-active {
  background-color: #91C53C !important;
  color: #fff !important;
  border-radius: 4px;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
  border: 1px solid #fff;
  background: #fff;
}

/* 날짜 hover 시 배경색 회색 (#d2d2d2) */
.ui-datepicker td a:hover {
  background-color: #91C53C !important;
}

.ui-widget-header {
  border: 0;
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
  color: #333333;
  font-weight: bold;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  width: 35%;
}

.ui-datepicker .ui-datepicker-title select {
  margin: 1px .5rem 5px .5rem;
  padding: .2rem .3rem;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
}

/* 반응형 대응 */
@media (max-width: 480px) {
  .ui-datepicker {
    font-size: 12px;
    padding: 8px;
  }

  .ui-datepicker td a {
    padding: 4px;
  }

  .ui-datepicker select.ui-datepicker-month,
  .ui-datepicker select.ui-datepicker-year {
    font-size: 12px;
    padding: 2px;
    margin: 2px;
  }
}
/* 실시간 견적 끝 */

/* 예약 문의 시작 */
.contact-state {
  display: flex;
  justify-content: space-between;
  margin: 100px auto 0;
  width: 1200px;
}

.contact-left {
  padding: 30px 30px;
  width: 410px;
  color: #fff;
  background: #91C53C;
}

.contact-title {
  margin: 0;
  padding-bottom: 1.25rem;
  font-size: 2rem;
  font-weight: 600;
  border-bottom: 1px solid #fff;
}

.contact-wrap {
  padding: 1.5rem 0;
  border-bottom: 1px solid #fff;
}

.contact-company {
  margin: .5rem 0;
  font-size: 1.75rem;
}

.contact-fax {
  margin: 1.3rem 0 1rem;
  font-size: 1.5rem;
}

.sales-box {
  display: flex;
  align-items: center;
  margin: .75rem 0;
}

.sales-box:first-of-type {
  border-bottom: 1px dotted #eee;
}

.sales-info {
  margin-left: 20px;
}

.sales-name {
  margin-bottom: .25rem;
  font-size: 1.25rem;
}

.sales-contact {
  margin-top: .5rem;
  font-size: 1.25rem;
}

.account-info {
  font-size: 1.25rem;
  border-top: 1px solid #fff;
}

.account-info p {
  margin: .5rem 0;
}

.account-info p:first-of-type {
  margin-top: 1.75rem;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE, Edge */
}

.table-scroll::-webkit-scrollbar {
  display: none;
}

.estimates-report-wrap {
  width: 760px;
}

.estimates-report-title {
  margin-top: 0;
  font-size: 2rem;
  font-weight: bold;
  color: #606060;
}

.estimates-report-table {
  width: 100%;
  table-layout: fixed;
  font-size: 1.25rem;
  color: #373737;
  border-collapse: collapse;
  border: 1px solid #D9D9D9;
}

.estimates-report-table tbody td {
  padding: 1.3rem 0;
  text-align: center;
  border-top: 1px solid #D9D9D9;
}

.estimates-report-table tbody td.limit-width {
  max-width: 320px;
  white-space: nowrap;
}

.estimates-report-table tbody td.ellipsis {
  padding-left: .5rem;
  padding-right: .5rem;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
  .contact-state {
    display: block;
    width: 100%;
    margin: 2rem auto 0;
    padding: 0;
    box-sizing: border-box;
  }

  .contact-left {
    width: 100%;
    padding: 25px 20px;
    box-sizing: border-box;
    border-radius: 0;
    text-align: center;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .contact-company {
    font-size: 2rem;
  }

  .contact-fax {
    font-size: 1.5rem;
  }

  .contact-wrap {
    padding: .5rem 0;
  }

  .sales-box {
    flex-direction: row;
    margin: 0;
    justify-content: center;
  }

  .sales-info {
    margin-left: 15px;
  }

  .sales-name,
  .sales-contact {
    font-size: 1.5rem;
  }

  .account-info {
    font-size: 1.2rem;
  }

  .account-info p:first-of-type {
    margin-top: 1.5rem;
  }

  .table-scroll {
    border: 1px solid #ddd;
  }

  .estimates-report-table {
    min-width: 600px;
  }

  .estimates-report-wrap {
    width: 100%;
    margin-top: 3rem;
  }

  .estimates-report-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .estimates-report-table {
    font-size: 1rem;
    table-layout: fixed;
    word-break: break-word;
  }

  .estimates-report-table td {
    padding: 0.75rem 0.3rem;
    font-size: 0.95rem;
  }
}
/* 예약 문의 끝 */

/* 이미지 메뉴 시작 */
.img-menu-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  height: 500px;
  background: #EBEBEB;
}

.img-menu {
  display: flex;
}

.img-menu li {
  padding: 50px;
  margin-right: 30px;
  background: #fff;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.img-menu li:last-child {
  margin-right: 0;
}

.img-menu li p {
  margin-bottom: 0;
  font-size: 1.5rem;
  color: #626262;
}

.img-menu li a {
	width:100%;
	height:100%;
    text-align: center;
}

.estimate-link-wrap {
  margin-left: 50px;
  width: 400px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.estimate-link-box {
  font-size: 2.25rem;
  color: #424242;
}

.estimate-link-title {
  margin: 0;
  font-weight: bold;
}

.estimate-link-txt {
  margin: 0 0 .75rem;
  font-size: 1.25rem;
  color: #424242;
}

.estimate-link-txt.first {
  margin-top: 2.5rem;
}

.estimate-link-btn {
  padding: 1.5rem 4.7rem;
  font-size: 1.5rem;
  color: #5E5E5E;
  border: 1px solid #5E5E5E;
  cursor: pointer;
}

.estimate-link-btn:hover {
  background: #ddd;
}

@media screen and (max-width: 768px) {
  .img-menu-wrap {
    flex-direction: column;
    /* 좌우 → 상하 배치 */
    height: auto;
    padding: 10px 5px 35px;
    margin-top: 0;
  }

  .img-menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
  }

  .img-menu li {
    width: 86%;
    height: auto;
    margin: 10px 0;
    padding: 15px 20px;
  }

  .img-menu li p {
    margin-top: 0;
    font-size: 1.2rem;
  }

  .img-menu li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }

  .estimate-link-wrap {
    width: 100%;
    height: auto;
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .estimate-link-box {
    font-size: 1.75rem;
  }

  .estimate-link-txt {
    font-size: 1rem;
  }

  .estimate-link-txt.first {
    margin-top: 1.5rem;
  }

  .estimate-link-btn {
    font-size: 1.2rem;
    padding: 1rem 3rem;
    margin-top: 1rem;
  }
}
/* 이미지 메뉴 끝 */

/* 테마여행 이미지 시작 */
.index-imgs-wrap {
  margin-top: 6rem;
}

.index-imgs-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #373737;
  text-align: center;
}

.index-imgs-txt {
  font-size: 1.25rem;
  color: #373737;
  text-align: center;
}

.index-imgs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 1200px;
  margin: 70px auto 0;
}

.index-imgs-big-wrap {
  width: 585px;
  height: 650px;
  overflow: hidden;
}

.index-imgs-big {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 크면 잘라서, 작으면 확대해서 채움 */
  display: block;
}

.index-imgs-small {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: 596px;
  align-content: space-between;
  justify-content: space-between;
}

.index-imgs-small li {
  width: 290px;
  height: 315px;
  overflow: hidden;
}

.index-imgs-small li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 크면 잘림, 작으면 확대 */
  display: block;
}

@media screen and (max-width: 768px) {
  .index-imgs-wrap {
    margin-top: 3rem;
  }

  .index-imgs {
    flex-direction: column;
    width: 100%;
    padding: 0 10px;
    margin-top: 30px;
  }

  .index-imgs-big-wrap {
    width: 100%;
	height: auto;
    margin-bottom: 10px;
  }

  .index-imgs-big {
    width: 100%;
    height: auto;
    display: block;
  }

  .index-imgs-small {
    width: 100%;
    flex-wrap: wrap;
    gap: 1%;
    justify-content: center;
    justify-content: space-between;
  }

  .index-imgs-small li {
    width: 24%;
    height: 60px;
    overflow: hidden;
  }

  .index-imgs-small li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .index-imgs-title {
    font-size: 1.5rem;
  }

  .index-imgs-txt {
    font-size: .9rem;
    padding: 0 5px;
    margin: 0;
  }
}
/* 테마여행 이미지 끝 */

/* 통계 시작 */
.service-stats-wrap {
  position: relative;
  width: 100%;
  height: clamp(200px, 50vw, 480px);
  margin-top: 50px;
  padding-top: 100px;
  color: #fff;
  background-color: #91C53C;
  background-image: url('/img/stats_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-stats-title {
  margin: 0;
  font-size: 2.9rem;
  text-align: center;
  font-weight: bold;
}

.service-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1200px;
  margin: 0 auto;
}

.service-stats li {
  text-align: center;
  font-weight: bold;
}

.service-stats li div.line {
  display: inline-block;
  width: 90px;
  height: 7px;
  background: #fff;
}

.service-stats li p:first-child {
  font-size: 3rem;
  font-weight: bold;
}

.service-stats li p:last-child {
  font-size: 1.5rem;
}

.service-stats-visitors {}

.service-stats-request {}

.service-stats-reservation {}

@media screen and (max-width: 768px) {
  .service-stats-wrap {
    padding: 40px 10px;
    height: auto;
  }

  .service-stats-title {
    font-size: 1.4rem;
    margin-bottom: 0;
  }

  .service-stats {
    flex-direction: column;
    width: 100%;
    gap: 30px;
    padding: 0;
    margin-top: 30px;
  }

  .service-stats li {
    width: 100%;
    text-align: center;
  }

  .service-stats li p:first-child {
    font-size: 2rem;
    margin: 0;
    margin-top: 5px;
  }

  .service-stats li div.line {
    width: 80px;
    height: 5px;
    margin: 0 auto;
  }

  .service-stats li p:last-child {
    font-size: 1.25rem;
    margin: 0;
    margin-top: 5px;
  }
}
/* 통계 끝 */

.popup-layer {
  position: fixed;
  background: #fff;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  display: none;
  width: 400px;
  left: 50%;
  transform: translateX(-50%);
  top: 100px;
  /* 데스크탑에서는 위에서 100px부터 표시 */
  max-width: 95vw;
  max-height: 95vh;
  box-sizing: border-box;
}

.popup-layer img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-footer {
  padding: 10px;
  text-align: center;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-footer button {
  margin: 0 5px;
  padding: 5px 10px;
  font-size: 14px;
  border: 0;
  background: #f8f8f8;
}

@media (max-width: 768px) {
  .popup-layer {
    width: 90% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}