/* Reset CSS */
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

body {
  line-height: 1.5;
  font-family: Arial, sans-serif;
  color: #333;
}

.mouse-over-cursor {
  cursor: pointer;
  color: #0054FF;
  text-decoration:underline;
}

/* Page Styles */
nav {
  background-color: #333;
  color: #fff;
  margin-bottom: 1vh;
  height: 10vh;
  display: flex;
  align-items: center;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 5%;
  display: flex;
  align-items: center;
}

nav ul li {
  margin-right: 5vw;
}

nav ul li:first-child {
  margin-right: 20px; /* 로고 이미지와의 간격을 조정합니다 */
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #999;
}

/* 애니메이션 클래스 추가 시 네비게이션 바 스타일 변경 */
nav.scrolled {
  height: 50px; /* 축소된 높이 */
}

nav.scrolled #logoLink {
  transform: scale(0.8); /* 로고 축소 */
  transition: transform 0.3s ease; /* 로고 축소 애니메이션 */
}

nav.scrolled ul li a {
  font-size: 16px; /* 글자 크기 축소 */
  transition: font-size 0.3s ease; /* 글자 크기 축소 애니메이션 */
}

.vehicle-sub-menu {
  display: none;
  position: absolute;
  z-index: 1;
  background-color: #fff;
  padding: 10px;
  top: 100%; /* 네비게이션 바 아래에 위치 */
}

.vehicle-sub-menu li {
  margin-bottom: 5px;
}

.vehicle-sub-menu li a {
  color: #333;
  text-decoration: none;
}

.vehicle-sub-menu li a:hover {
  color: #ff0000;
}

li:hover > .vehicle-sub-menu,
.vehicle-sub-menu:hover {
  display: block;
}

#logoLink {
  display: flex;
  align-items: center;
  margin-right: 5vw;
  margin-left: 5vw;
}

#logoImage {
  width: 15vh;
  height: 15vh;
  margin-right: 5px;
}

.spacer {
  height: 7vh;
}

.spacer_line{
  width: 100%;
  height: 2px;
  background-color: #ccc;
  margin-top: 10px;
  margin-bottom: 10px;
}

.content-wrapper {
  display: none;
  position: relative;
  overflow: hidden;
}

.fade-in {
  animation: fade-in-animation 1s ease-in-out;
  transition: transform 0.5s ease-in-out;
}

.fade-in.active {
  transform: scale(1);
}

@keyframes fade-in-animation {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#imageElement {
  width: 100%;
  height: auto;
  max-width: 1920px;
  max-height: 700px;
  min-height: 700px;
}

.image-container {
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
}

.image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  word-break: keep-all;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 5%;
}

.board{
  text-align: center;
}

.content-wrapper-quote {
  width: 30%;
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid blue;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.quote-form-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-form-container label,
.quote-form-container input,
.quote-form-container textarea,
.quote-form-container button {
  width: 100%;
}

.board {
  width: 30%;
  padding-left: 10px;
  margin-left: 2%;
  border-radius: 10px;
  border: 2px solid blue;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
  background-color: #f5f5f5;
  padding: 20px;
}

#contactElement {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: yellow;
  padding: 15px 25px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
  font-size: 25px;
}

#contactElement:hover {
  background-color: #999;
}

#prevSection{
  display: none;
  position: fixed;
  left: 5%;
  bottom: 20px;
  transform: translateX(-50%);
  background-color: #333;
  color: yellow;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
  font-size: 25px;
}

.homeIntroduce {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
  background-color: #289B6E;
  align-items: center;
  justify-content: center;
  display: flex;
}

.homeIntroduce-shape {
  width: 80%;
  height: 100px;
  background-color: white;
  border-radius: 20px;
  top: 40px;
  position: absolute;
}

#logoImage-homeIntroduce {
  top: 10%;
  left: 5%;
  width: 130px;
  height: 80px;
  position: relative;
  overflow: hidden;
}

.homeIntroduce-word{
  position: absolute;
  top: 25%;
  left: 20%;
  color: black;
  font-size: 35px;
}

.homeIntroduce-call{
  position: absolute;
  top: 20%;
  left: 73%;
  color: black;
  font-size: 40px;
}

.card-container {
  margin-top: 130px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap; /* 카드가 넘칠 경우 줄바꿈 */
  justify-content: center; /* 중앙 정렬 추가 */
  gap: 20px;
}

.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width : 500px;
  height: 400px;
  position: relative;
}

.card h3 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card p {
  font-size: 20px;
  color: black;
}

.card-button {
  position: absolute;
  top: 5%;
  right: 5%;
  background-color: #007BFF;  /* 버튼 배경색 */
  color: white;  /* 버튼의 글자색 */
  border: none;  /* 테두리 제거 */
  cursor: pointer;  /* 마우스 오버시 커서 모양 변경 */
  border-radius: 10px;  /* 테두리 둥글게 */
  padding: 10px 20px;  /* 버튼 내부의 패딩 */
  text-align: center;  /* 버튼 내부의 텍스트 정렬 */
  text-decoration: none;  /* 텍스트 밑줄 제거 */
  display: inline-block;  /* 인라인-블록 형태로 표시 */
  font-size: 16px;  /* 글자 크기 */
  border-radius: 10px;  /* 테두리 둥글게 */
  transition: background-color 0.3s;  /* 배경색 변경 애니메이션 */
}

.card-button:hover {
  background-color: #0056b3;  /* 마우스 오버시 배경색 변경 */
}

#home_45bus {
  margin-top: 10px;
  width: 100%; /* 원하는 가로 크기로 조절 */
  height: 75%; /* 세로 크기는 가로 크기에 맞게 자동 조절 */
}

#home_25bus {
  margin-top: 10px;
  width: 100%; /* 원하는 가로 크기로 조절 */
  height: 75%; /* 세로 크기는 가로 크기에 맞게 자동 조절 */
}

#home_calc {
  margin-top: 10px;
  width: 100%; /* 원하는 가로 크기로 조절 */
  height: 80%; /* 세로 크기는 가로 크기에 맞게 자동 조절 */
}


.board h2 {
  margin-bottom: 10px;
}

.board ul {
  list-style: none;
  padding: 0;
}

.board li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

.board li:hover {
  background-color: #e9e9e9;
}

.board .post-info {
  display: flex;
  align-items: center;
}

.board .post-date {
  margin-right: 10px;
  font-size: 12px;
  color: #999;
}

.board .post-status {
  font-size: 12px;
  color: #666;
}

.tour-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tour-view h3 {
  font-size: 25px;
  margin-top: 5%;
  margin-bottom: 10px;
}

.tour-view h2 {
  font-weight: bold;
  font-size: 40px;
  margin-bottom: 10px;
}

.tour-card-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2%;
  margin-bottom: 5%;
}

.tour-card {
  border: 2px solid blue;
  border-radius: 10px;
  text-align: center;
  max-width: 26%;
}

.tour-card img {
  margin-top: 1%;
  width: 90%;
  height: auto;
  min-height: 300px;
  max-height: 300px;
}

.tour-card h4 {
  margin-top: 10px;
}

.tour-card p {
  margin-bottom: 10px;
}

/*회사 소개 Section*/

#aboutSection {
  position: relative;
  top: -10px;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
}

.about-content {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFF;
}

.about-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.about-content p {
  font-size: 24px;
  line-height: 1.5;
}

.about-word{
  margin-top: 5%;
  margin-bottom: 5%;
}

.about-word h2 {
  font-size: 30px;
  white-space: pre-line;
  text-align: center;
  font-family: '굴림체', sans-serif;
  padding-bottom: 5%;
}

.about-word p {
  padding-left: 15%;
  padding-right: 15%;
  font-size: 18px;
  white-space: pre-line;
  font-family: '굴림체', sans-serif;
  font-weight: bold;
  overflow-wrap: break-word;
  word-break: keep-all;
}

/*버스 소개 Section*/

.vehicle-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
}

.vehicle-content {
  position: absolute;
  top: 27.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFF;
  height: 400px;
}

.vehicle-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.vehicle-content p {
  font-size: 24px;
  line-height: 1.5;
}

.vehicle-45bus {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 100px;
  flex-direction: column;
}

.vehicle-45bus-image {
  flex: 0 0 30%;
  margin-right: 20px;
  display: flex;
  justify-content: center; /* 추가: 가로 가운데 정렬 */
  align-items: center; /* 추가: 세로 가운데 정렬 */
}

.vehicle-45bus-image img {
  max-width: 120%;
  height: auto;
  border: 5px solid #555;
}

.vehicle-45bus-info {
  width: 30%;
  max-width: 400px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 5%;
}

.vehicle-45bus-info h3 {
  font-size: 30px; /* 원하는 크기로 설정하세요 */
  margin-bottom: 20px;
}

.vehicle-45bus-info p {
  font-size: 20px; /* 원하는 크기로 설정하세요 */
  white-space: pre-line;
}

.bigVehicle-slide-image {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bigVehicle-slide-image button {
  flex: 1;
  padding: 10px 20px;
  font-size: 18px;
  color: #ffffff;
  background-color: #555;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  transition: background-color 0.3s;
}

.bigVehicle-slide-image button:hover {
  background-color: #0056b3;
}

.bigVehicle-slide-image img {
  width: auto;
  max-height: 500px;
  min-height: 500px;
  flex: 3;
  display: none;
}

.bigVehicle-slide-image img:first-child {
  display: block;
}

.bigVehicle-slide-image button {
  padding: 10px 20px;
  font-size: 18px;
  color: #ffffff;
  background-color: #555;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  transition: background-color 0.3s;
}

.bigVehicle-slide-image button:hover {
  background-color: #0056b3;
}

.bigVehicle-thumb-images {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
}

.bigVehicle-thumb-images img {
  cursor: pointer;
  width: 60px;
  height: 60px;
}

.vehicle-detail-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
}

/*미니버스*/

.mini-vehicle-content{
  position: absolute;
  top: 21%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFF;
  max-height: 500px;
}

.mini-vehicle-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.mini-vehicle-content p {
  font-size: 24px;
  line-height: 1.5;
}

.vehicle-25bus {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-content {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mini-flex-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 자식 요소들 사이에 공간을 일정하게 배분 */
}

.miniVehicle-image {
  flex: 0 0 30%;
  margin-right: 20px;
  display: flex;
  justify-content: center; /* 추가: 가로 가운데 정렬 */
  align-items: center; /* 추가: 세로 가운데 정렬 */
}

.miniVehicle-image img {
  max-width: 120%;
  height: auto;
  border: 5px solid #555;
}

.miniVehicle-info {
  width: 30%;
  max-width: 400px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 5%;
}

.miniVehicle-info h3 {
  font-size: 30px; /* 원하는 크기로 설정하세요 */
  margin-bottom: 20px;
}

.miniVehicle-info p {
  font-size: 20px; /* 원하는 크기로 설정하세요 */
  white-space: pre-line;
}

.miniVehicle-slide-image {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.miniVehicle-slide-image img{
  width: auto;
  max-height: 500px;
  min-height: 500px;
}

.miniVehicle-slide-image button {
  padding: 10px 20px;
  font-size: 18px;
  color: #ffffff;
  background-color: #555;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  transition: background-color 0.3s;
}

.miniVehicle-slide-image button:hover {
  background-color: #0056b3;
}

.miniVehicle-thumb-images {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
}

.miniVehicle-thumb-images img {
  cursor: pointer;
  width: 60px;
  height: 60px;
}

/*밴*/

.van-vehicle-content{
  position: absolute;
  top: 12.35%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFF;
  max-height: 500px;
}

.van-vehicle-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.van-vehicle-content p {
  font-size: 24px;
  line-height: 1.5;
}

.vehicle-van {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.van-flex-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 자식 요소들 사이에 공간을 일정하게 배분 */
}

.vanVehicle-image {
  flex: 0 0 30%;
  margin-right: 20px;
  display: flex;
  justify-content: center; /* 추가: 가로 가운데 정렬 */
  align-items: center; /* 추가: 세로 가운데 정렬 */
}

.vanVehicle-image img {
  max-width: 120%;
  height: auto;
  border: 5px solid #555;
}

.vanVehicle-info {
  width: 30%;
  max-width: 400px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 5%;
}

.vanVehicle-info h3 {
  font-size: 30px; /* 원하는 크기로 설정하세요 */
  margin-bottom: 20px;
}

.vanVehicle-info p {
  font-size: 20px; /* 원하는 크기로 설정하세요 */
  white-space: pre-line;
}

.vanVehicle-slide-image {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-bottom: 60px;
}

.vanVehicle-slide-image img{
  width: auto;
  max-height: 500px;
  min-height: 300px;
  object-fit: cover;
}

.vanVehicle-slide-image button {
  padding: 10px 20px;
  font-size: 18px;
  color: #ffffff;
  background-color: #555;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  transition: background-color 0.3s;
}

.vanVehicle-slide-image button:hover {
  background-color: #0056b3;
}

.vanVehicle-thumb-images {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
}

.vanVehicle-thumb-images img {
  cursor: pointer;
  width: 60px;
  height: 60px;
}

#prevSlide, #nextSlide {
  background-color: #ccc; /* 버튼의 배경색 설정, 원하는 색으로 변경 가능 */
  border: none; /* 테두리 없애기 */
  color: white; /* 글자색 설정, 원하는 색으로 변경 가능 */
  padding: 15px 32px; /* 상하, 좌우 패딩 설정 */
  text-align: center; /* 텍스트 가운데 정렬 */
  text-decoration: none; /* 텍스트 밑줄 없애기 */
  display: inline-block; /* 인라인 블록으로 설정 */
  font-size: 16px; /* 폰트 사이즈 설정, 원하는 크기로 변경 가능 */
  margin: 4px 2px; /* 상하, 좌우 마진 설정 */
  cursor: pointer; /* 마우스를 올렸을 때 커서 모양을 손가락 모양으로 변경 */
  transform: translateY(-50%);
}

.bigVehicle-slide {
  width: 500px; /* 원하는 너비 */
  height: 300px; /* 원하는 높이 */
  object-fit: cover; /* 이미지 비율 유지 */
}

.prevSlide { left: 30px; }
.nextSlide { right: 30px; }

.carousel-slide {
  max-width: 600px;
  height: auto;
  display: none;
}

.carousel-slide:first-child {
  display: block;
}

/*요금 안내표*/

.minivehicle-image {
  position: relative;
  display: inline-block;
}

.pay-vehicle-content {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFF;
  z-index: 2;
  height: 400px;
}

.pay-vehicle-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.pay-vehicle-content p {
  font-size: 24px;
  line-height: 1.5;
}

#payVehicleSection table {
  width: 80%;
  height: 100%;
  border-collapse: collapse;  /* 이 부분은 테두리 간의 간격을 제거합니다 */
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
}

#payVehicleSection td {
  border: 1px solid black;  /* 이 부분은 각 셀에 테두리를 추가합니다 */
  padding: 8px;  /* 이 부분은 셀 내부의 패딩을 조절합니다 */
  white-space: pre-wrap;
  text-align: center;
  font: 'Malgun Gothic', sans-serif;
}

#payVehicleSection td b {
  display: block;
  text-align: center;
  font: 'Malgun Gothic', sans-serif;
}

.recomand-tour-text {
  display: block;
  text-align: center;
  font: 'Malgun Gothic', sans-serif;
}

.itineraryReCommenD-size{
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
}

.remove-border-right{
  border-right: none !important;
}
.remove-border-left {
  border-left: none !important;
}
.remove-border-top {
  border-top: none !important;
}
.remove-border-bottom {
  border-bottom: none !important;
}

.itinerary-size{
  width: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
}
.travelCalcDiv{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.tavelCalcImg{
  width: 80%;
}

#payVehicleSection-Calc-Smart{
  display: none;
}

/*관광지안내 Section*/

.tourInfor-vehicle-content{
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFF;
  height: 400px;
}

.tourInfor-vehicle-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.tourInfor-vehicle-content p {
  font-size: 24px;
  line-height: 1.5;
}

.tourInfor-card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px; /* 카드들 사이의 간격 */
  margin-bottom: 50px;
}

.tourInfor-card {
  width: 300px; /* 카드의 너비 */
  height: 400px; /* 카드의 높이 */
  border-radius: 15px; /* 모서리 둥글게 만들기 */
  background-color: #ddd; /* 배경색 */
  display: block;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  padding: 1%;
}

.tourInfor-card img {
  width: 100%;
  height: auto;
  max-width: 300px;
  min-width: 300px;
  min-height: 250px;
  max-height: 250px;
}

.tourInfor-card h3 {
  font-size: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.tourInfor-card p {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

.tourInfor-vehicle-detail-content{
  text-align: center;
}

.tourInfor-vehicle-detail-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 10px;
}

.tourInfor-vehicle-detail-content p {
  font-size: 24px;
  line-height: 1.5;
}

.tourInfor-detail-content{
  margin-left: 5%;
  margin-right: 5%;
  word-wrap: break-word;
}

.detail-img-cont{
  align-items: center;
}

.detail-img{
  display: inline-block;
  min-width: 33%;
  max-width: 33%;
  text-align: center;
}

.detail-img-1{
  display: inline-block;
  margin-left: 1%;
  min-width: 48%;
  max-width: 48%;
  text-align: center;
}

.detail-img-2{
  max-width: 100%;
  min-width: 100%;
}

.tourInforDetailSection{
  display:none;
}

/* 견적서 Section*/

.tourInfor-content{
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFF;
  height: 200px;
}

.tourInfor-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.tourInfor-content p {
  font-size: 24px;
  line-height: 1.5;
}

.quote-form-wrapper {
  width: 35%;
  margin: 0 auto;
  margin-top: 5%;
  margin-bottom: 5%;
  padding: 3%;
  background-color: #ccc;
}

#quoteForm {
  display: flex;
  flex-direction: column;
}

#quoteForm label {
  margin-top: 10px;
}

#quoteForm input {
  margin-bottom: 10px;
  padding: 5px;
}

#quoteForm button {
  margin-top: 5%;
  padding: 10px;
  background-color:#333;
  color: white;
  cursor: pointer;
}

.list {
  width: 60%;
  margin: 0 auto;
  margin-top: 1%;
  margin-bottom: 1%;
  padding: 3%;
  background-color: #ccc;
  border: 2px solid black;
}

.list_col{
  width: 8vw;
  text-align: center;
}

.input-mini{
  width: 4vw;
}

#inquiry_situation{
  margin-bottom: 50px;
}

/* Footer */
footer {
  background-color: #333;
  padding: 20px 0;
  text-align: center;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo, .footer-info, .footer-contact {
  flex-basis: 30%;
}

.footer-info, .footer-contact {
  margin-top: 3%;
}

.footer-logo img {
  width: 200px; /* 로고의 너비를 조정합니다. */
  height: auto;
}

.footer-info h3,
.footer-contact h3 {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.footer-info p,
.footer-contact p {
  margin-bottom: 5px;
  color: white;
}

.footer-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #555;
  color: #fff;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  font-size: 14px;
  z-index: 999;
}

.scroll-to-top:hover {
  background-color: #333;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 70%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/*모바일 기준*/

@media (max-width: 820px) {
  nav ul li a {
    font-size: 8px;
    transition: font-size 0.1s;
  }
  .image-text{
    font-size: 30px;
    transition: font-size 0.3s ease;
  }
  .spacer{
    height: 5px;
  }
  .card {
    width: 100%; /* 카드의 가로 크기를 100%로 설정하여 한 줄에 하나씩 나타나도록 합니다 */
  }
  .footer-logo{
    display: none;
  }
  #logoLink{
    display: none;
  }
  .image-container .fade-in{
    display: none;
  }
  .image-text{
    display: none;
  }
  #fadeElement #imageElement{
    display: none;
  }
  .content-wrapper-quote{
    height: 410px;
  }
  .flex-container{
    height: 350px;
  }
  .quote-form-container{
    font-size: 12px;
  }
  .board{
    font-size: 12px;
    display: inline-block;
  }
  .post-date{
    display: none;
  }
  .homeIntroduce{
    top: 100px;
  }
  #logoImage-homeIntroduce{
    top: 20px;
    width: 10%;
    height: 60%;
  }
  .homeIntroduce-word{
    top: 20%;
    left: 20%;
    font-size: 3vw;
  }
  .homeIntroduce-call{
    top: 60%;
    left: 20%;
    font-size: 5vw;
  }
  .card {
    width : 74%;
    max-height: 600px;
  }
  .card p{
    font-size: 5vw;
  }
  .tour-view {
    padding-top: 100px;
  }
  .tour-card-container {
    display: block;

    width: 60%;
  }
  .tour-card {
    border: 2px solid blue;
    border-radius: 10px;
    text-align: center;
    max-width: 100%;
    margin-bottom: 15px;
  }
  .vehicle-45bus {
    display: block;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 100px;
    margin-left: 50px;
    margin-right: 30px;
    flex-direction: column;
  }
  .top-content {
    display: block;
    justify-content: center;
    width: 100%;
  }
  .vehicle-45bus-info {
    width: 100%;
    max-width: 100%;
    flex: 0;
    display: block;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .vehicle-45bus-info h3 {
    font-size: 15px; /* 원하는 크기로 설정하세요 */
    margin-bottom: 20px;
    text-align: center;
  }
  
  .vehicle-45bus-info p {
    font-size: 12px; /* 원하는 크기로 설정하세요 */
    white-space:normal;
  }

  #payVehicleSection-Calc-PC{
    display: none;
  }

  #payVehicleSection-Calc-Smart{
    display: block;
    width: 100%;
  }

  .payVehicleSection-Calc-Smart-tbody{
    width: 100%;
  }
  
  .payVehicleSection-Calc-Smart-td{
    height: 50px;
    width: 130px;
  }

  .carousel-slide{
    max-width: 280px;
    height: auto;
  }

  /* 45 Bus section mobile tweaks */
  .vehicle-45bus-info{
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    box-sizing: border-box;
    text-align: center;
  }

  /* Mini Bus section mobile tweaks */
  .miniVehicle-info{
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    box-sizing: border-box;
    text-align: center;
  }
  
  /* Van section mobile tweaks */
  .van-vehicle-content{
    position: static;
    top: auto;
    left: auto;
    transform: none;
    padding: 12px 10px;
    text-align: center;
  }

  .vanVehicle-image img {
    max-width: 90%;
  }
  .vanVehicle-info{
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    box-sizing: border-box;
    text-align: center;
  }
  .vanVehicle-slide-image{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }
  .van-slide-wrapper{
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .van-slide-img{
    width: 80%;
    max-width: 380px;
    height: auto;
    display: block;
    margin-bottom: 12px;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid #555;
  }
}