* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --header-height: 80px;
}
html, body {
  width: 100vw;
  min-height: 100vh;
  background: #fff;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1d1d1f;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  transition: none;
}
body.preload {
  opacity: 0;
}
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}
header { 
  position: fixed; 
  width: 100%; 
  height: var(--header-height);
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 20px 40px; 
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px); 
  z-index: 4000; 
  border-bottom: 1px solid rgba(0,0,0,0.1); 
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1d1d1f;
  cursor: pointer;
  padding: 5px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ff4c3e;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding-top: 100px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-nav.active {
  transform: translateX(0);
  opacity: 1;
}

.mobile-nav a {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
}

.mobile-nav.active a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav.active a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active a:nth-child(4) { transition-delay: 0.3s; }
.mobile-nav.active a:nth-child(5) { transition-delay: 0.4s; }

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  padding: 8px;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: scale(0) rotate(-90deg);
  opacity: 0;
}

.mobile-nav.active .mobile-nav-close {
  transform: scale(1) rotate(0deg);
  opacity: 1;
  transition-delay: 0.2s;
}

.mobile-nav-close:hover {
  color: #ff4c3e;
  transform: scale(1.1) rotate(90deg);
}
header .logo { 
  font-size: 1.5rem; 
  font-weight: 600; 
  color: #1d1d1f; 
  margin-top: 0; 
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
header .logo .logo-img {
  height: 40px;
  width: auto;
}
header .logo .logo span {
  font-size: 1.5rem;
  font-weight: 600;
}
header nav a { color: #1d1d1f; margin: 0 22px; text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
header nav a:hover { color: #FF4C3E; }
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-slides {
  display: flex;
  width: calc(100% * var(--slide-count, 5));
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.hero-img {
  width: calc(100% / var(--slide-count, 5));
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.hero-img:first-child {
  opacity: 1;
}
.hero-img.current {
  opacity: 1;
  z-index: 1;
}
.hero-img.next {
  opacity: 0;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.15;
  background-image: url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3" fill="white" filter="url(%23blur)"/><defs><filter id="blur" x="0" y="0" width="16" height="16"><feGaussianBlur stdDeviation="1.2" /></filter></defs></svg>');
  background-repeat: repeat;
  background-size: 16px 16px;
  background-position: center center;
}
.hero-text-big {
  position: absolute;
  font-size: 2.1rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 0;
}
.hero-text-big h1 {
  margin-bottom: 5px;
}
.hero-text-big h2 {
    font-size: 1.9rem;
    margin-bottom: 30px;
  }
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  width: 100%;
  padding: 40px 20px 0 20px;
}
.hero-text h1 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-text p {
  font-size: 1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}
.hero-text strong {
  font-size: 1.05em;
}
.hero-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  gap: 15px;
}
.hero-text button,
.hero-text-big button {
  padding: 12px 30px;
  font-size: 1.1rem;
  background: #FF4C3E;
  color: white;
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 250px;
}
.hero-text button.secondary,
.hero-text-big button.secondary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-text button:hover,
.hero-text-big button:hover {
  background: #ff5d4f;
  transform: scale(1.02);
}
.hero-text button.secondary:hover,
.hero-text-big button.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}
.hero-buttons button.secondary, .tel-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.1rem;
  padding: 12px 30px;
  border: none;
  border-radius: 980px;
  width: 250px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-sizing: border-box;
}
.hero-buttons button.secondary:hover, .tel-button:hover {
  background: rgba(255, 255, 255, 0.3);
}
.hero-buttons > button:first-child {
  min-width: 220px;
  height: 56px;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 0 38px;
  border-radius: 28px;
  box-shadow: 0 2px 16px rgba(255,76,62,0.08);
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  header { 
    padding: 15px 20px; 
    flex-direction: column;
    height: auto;
    gap: 10px;
  }
  header nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  header nav a {
    margin: 0 8px;
    font-size: 0.85rem;
  }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-text p { font-size: 1.2rem; }
  .hero-text-big {
    padding-top: 120px;
  }
  .hero-text-big h1 {
    font-size: 1.8rem;
  }
  .hero-text-big h2 {
    font-size: 1.4rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }
  .hero-contact-buttons {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .cards { gap: 20px; }
  .card { width: 100%; max-width: 300px; }
  .hero-text button,
  .hero-text-big button,
  .tel-button {
    width: 280px;
    max-width: 90vw;
    font-size: 1rem;
    margin: 0 auto;
    display: block;
  }
  .contact-row {
    flex-direction: column;
    gap: 18px;
  }
  .contact form {
    padding: 30px 20px;
  }
}
html {
  scroll-behavior: smooth;
}
.services, .about, .contact { 
  padding: 30px 5px; 
  text-align: center; 
  background: white;
  position: relative;
  padding-top: var(--header-height);
  margin-top: 0 !important;
}

.section-header {
  background: transparent;
  box-shadow: none;
  margin: 60px auto 16px auto;
  padding: 0;
  max-width: 600px;
  text-align: center;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 18px;
  transition: color 0.3s cubic-bezier(0.4,0,0.2,1), transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.section-header h2::after {
  content: '';
  display: block;
  margin: 12px auto 0 auto;
  width: 100%;
  height: 3px;
  background: #ff4c3e;
  border-radius: 2px;
  transform: scaleX(0.7);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.section-header:hover h2 {
  transform: translateY(-8px);
}

.section-header:hover h2::after {
  transform: scaleX(1);
}

@media (max-width: 600px) {
  /* 헤더 모바일 최적화 */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 15px;
    height: 60px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 5000;
  }
  
  header .logo {
    font-size: 1.3rem;
  }
  
  header .logo .logo-img {
    height: 32px;
  }
  
  header nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }

  /* 히어로 섹션 모바일 최적화 */
  .hero-text-big {
    padding-top: 100px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero-text-big h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  
  .hero-text-big h2 {
    font-size: 1.0rem;
    line-height: 1.3;
    margin-bottom: 25px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .hero-contact-buttons {
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
  }
  
  .hero-text button,
  .hero-text-big button,
  .tel-button {
    width: 260px;
    max-width: 85vw;
    font-size: 0.95rem;
    padding: 10px 20px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  /* intro-message 모바일 최적화 */
  .intro-message {
    padding: 20px 15px 20px 20px !important;
    margin: 20px 15px 25px 15px !important;
  }
  
  .intro-message h2 {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 18px !important;
  }
  
  .intro-message p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
  
  .intro-message blockquote {
    font-size: 0.9rem !important;
    padding: 18px 0 18px 20px !important;
    margin: 20px 0 10px 0 !important;
    border-radius: 8px !important;
    min-height: 55px !important;
  }

  /* 섹션 헤더 모바일 최적화 */
  .section-header {
    max-width: 98vw;
    margin: 40px auto 24px auto;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .section-header h2::after {
    height: 2px;
    transform: scaleX(0.6);
  }
  .section-header:hover h2::after {
    transform: scaleX(0.9);
  }
  
  /* 서비스 섹션 모바일 최적화 */
  .services, .about, .contact {
    padding-top: 60px;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .vision {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  
  .cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .card {
    width: 100%;
    max-width: 320px;
    padding: 25px 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
  }
  
  .card p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
  }

  /* 문의 폼 모바일 최적화 */
  .contact-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact form {
    padding: 25px 15px;
    max-width: 100%;
  }
  
  .contact input, .contact textarea {
    font-size: 1rem;
    padding: 15px 14px;
  }
  
  .contact button {
    font-size: 1rem;
    padding: 12px 0;
    max-width: 280px;
  }

  /* 푸터 모바일 최적화 */
  .footer-inner {
    position: static;
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
  }
  
  .footer-center {
    max-width: 98vw;
    padding: 0 15px;
  }
  
  .footer-center-title {
    font-size: 1rem;
  }
  
  .footer-address {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* 기본 카드 스타일은 아래 더 상세한 스타일로 대체됨 */
.card img { 
  width: 80px; 
  margin-bottom: 20px; 
  filter: brightness(0.9); 
}
.card img[src*="img_caferes.png"] {
  filter: brightness(0.8);
}
.card h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 600; }
.gallery { display: flex; justify-content: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.gallery img { width: 350px; border-radius: 12px; transition: transform 0.3s ease; }
.gallery img:hover { transform: scale(1.02); }
.contact form {
  max-width: 600px;
  min-width: 320px;
  width: 100%;
  margin: 0 auto 32px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 35px 35px 30px 35px;
}
.contact-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  width: 100%;
}
.contact-row input[type="text"],
.contact-row input[type="email"] {
  flex: 1 1 0;
  min-width: 0;
}
.contact textarea[name="message"] {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  font-size: 0.98rem;
}
.contact input, .contact textarea {
  border: 1.5px solid #e0e0e5;
  border-radius: 12px;
  padding: 16px 14px;
  font-size: 0.98rem;
  background: #fafafc;
  transition: border-color 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.contact input:focus, .contact textarea:focus {
  border-color: #FF4C3E;
  background: #fff;
  outline: none;
}
.contact input::placeholder, .contact textarea::placeholder {
  color: #b0b0b8;
  font-weight: 400;
  opacity: 1;
}
.contact button {
  background: #ff4c3e;
  color: #fff;
  border: none;
  border-radius: 980px;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s, transform 0.2s;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}
.contact button:hover {
  background: #232325;
  transform: translateY(-2px) scale(1.01);
}
.contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #86868b;
  font-size: 1.05rem;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
  line-height: 1.6;
  flex-wrap: wrap;
}
.phone-line, .address-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.05rem;
  color: #86868b;
}

.phone-line i, .address-line i {
  color: #ff4c3e;
  font-size: 1.1em;
}

.divider {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin: 0 5px;
}

.location-icon {
  margin-right: 4px;
}
.map-container {
  width: 100%;
  max-width: 950px;
  margin: 32px auto 0 auto;
  padding-top: 0;
  padding-right: 18px;
  padding-bottom: 18px;
  padding-left: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
  display: block;
}
.footer {
  position: relative;
  background: #f5f5f7;
  color: #86868b;
  font-size: 0.98rem;
  padding: 40px 0 0 0;
  width: 100%;
  min-width: 0;
}
.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  gap: 0;
  position: relative;
  min-height: 90px;
}
.footer-inner {
  position: absolute;
  left: 30px;
  top: 40px;
  text-align: left;
  color: #232323;
  font-size: 0.98rem;
  line-height: 1.6;
  z-index: 2;
}
.footer-center {
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
}
.footer-center-title {
  font-weight: 600;
  color: #232323;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.footer-address {
  color: #86868b;
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.footer-copyright {
  margin: 0;
  color: #86868b;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
@media (max-width: 800px) {
  .footer-inner {
    position: static;
    left: unset;
    top: unset;
    text-align: center;
    margin-bottom: 12px;
  }
  .footer-center {
    max-width: 98vw;
  }
}

.cards { 
  display: flex; 
  justify-content: center; 
  gap: 30px; 
  margin-top: 50px; 
  flex-wrap: wrap;
  padding: 40px 5px;

  border-radius: 30px;
  margin: 50px 20px;
}

.card { 
  background: #ffffff; 
  padding: 40px 30px; 
  border-radius: 18px; 
  width: 300px; 
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card:hover { 
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card:first-child {
  background: url('images/img_caferes.png') bottom/cover no-repeat;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.card:first-child::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}
.card:first-child h3,
.card:first-child p {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.card:first-child h3 {
  font-weight: 700;
}
.card:first-child p {
  font-weight: 400;
}

.card:nth-child(2) {
  background: url('images/img_takeout.png') center/cover no-repeat;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.card:nth-child(2)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}
.card:nth-child(2) h3,
.card:nth-child(2) p {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.card:nth-child(2) h3 {
  font-weight: 700;
}
.card:nth-child(2) p {
  font-weight: 400;
}

.card:nth-child(3) {
  background: url('images/img_ticketing.png') center/cover no-repeat;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.card:nth-child(3)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}
.card:nth-child(3) h3,
.card:nth-child(3) p {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.card:nth-child(3) h3 {
  font-weight: 700;
}
.card:nth-child(3) p {
  font-weight: 400;
}

.intro-message {
  background-color:rgba(0, 0, 0, 0.45);
  color: #fff;
  opacity: 1;
  padding: 25px 20px 25px 25px;
  font-size: 1.02rem;
  margin-top: 15px;
  line-height: 1.6;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 18px auto;
  border-radius: 12px;
}
.intro-message strong {
  font-weight: 700;
}
.intro-message h2 {
  margin-bottom: 18px;
  line-height: 1.4;
}
.intro-message p {
  margin-bottom: 20px;
  line-height: 1.6;
}
.intro-message blockquote {
  border-left: 4px solid #FF4C3E;
  margin: 22px 0 12px 0;
  padding: 20px 0 20px 22px;
  color: #e0e0e0;
  font-style: italic;
  background: none;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 65px;
  line-height: 1.5;
  font-size: 1.05rem;
}

.about-message {
  background: #fff;
  color: #000;
  padding: 0px 10px 30px 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: left;
  max-width: 750px;
  margin: 0 auto 18px auto;
  border-radius: 12px;
  margin-top: 0;
}

.vision {
  padding: 30px 5px;
  text-align: center;
  position: relative;
  padding-top: var(--header-height);
  margin-top: 0 !important;
}
.vision-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
  padding: 40px 20px;
  border-radius: 30px;
  margin: 50px 20px;
}
.vision-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 18px;
  width: 300px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  text-align: left;
  font-size: 0.92rem;
}
.vision-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.vision-card p {
  font-size: 0.92rem;
  font-weight: 400;
}
.vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.vision-quote {
  border-left: 4px solid #FF4C3E;
  margin: 32px auto 12px auto;
  padding: 20px 0 20px 22px;
  color: #232323;
  font-style: italic;
  background: none;
  border-radius: 8px;
  max-width: 350px;
  text-align: left;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 65px;
  line-height: 1.5;
}

.services-message {
  background: #fff;
  color: #000;
  padding: 0px 10px 30px 20px;
  font-size: 1.1rem;
  line-height: 1.35;
  text-align: left;
  max-width: 750px;
  margin: 0 auto 18px auto;
  border-radius: 12px;
  margin-top: 0;
}
.services-message strong {
  font-weight: 700;
}
.services-message blockquote {
  border-left: 4px solid #FF4C3E;
  margin: 22px 0 12px 0;
  padding: 20px 0 20px 22px;
  color: #232323;
  font-style: italic;
  background: none;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 65px;
  line-height: 1.5;
  font-size: 1.05rem;
}

/* --- 반응형 개선: 해상도 작을 때 여백, 폰트, 패딩 조정 --- */
@media (max-width: 1024px) and (max-height: 800px) and (max-width: 1439px) {
  .hero-text-big {
    font-size: 1.2rem;
    padding: 70px 6vw 0 6vw;
    padding-bottom: 100px;
    max-width: 98vw;
  }
  .hero-text-big h1 {
    font-size: 2rem;
  }
  .hero-text-big h2 {
    font-size: 1.2rem;
  }
  .hero-buttons {
    gap: 10px;
  }
  .intro-message {
    font-size: 0.98rem;
    padding: 10px 5px 12px 10px;
    margin-top: 60px;
    margin-bottom: 20px;
  }
  .cards, .vision-cards {
    gap: 18px;
    margin-top: 30px;
    padding: 20px 2vw;
  }
  .card, .vision-card {
    padding: 28px 12px;
    width: 90vw;
    max-width: 340px;
    font-size: 0.98rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

/* 아주 작은 화면 (400px 이하) 추가 최적화 */
@media (max-width: 400px) {
  header {
    padding: 10px 12px;
    min-height: 55px;
  }
  
  header .logo {
    font-size: 1.2rem;
  }
  
  header .logo .logo-img {
    height: 28px;
  }
  
  header nav a {
    font-size: 0.75rem;
    padding: 5px 10px;
    margin: 0 4px;
  }
  
  .hero-text-big {
    padding-top: 120px;
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .hero-text-big h1 {
    font-size: 1.2rem;
    line-height: 1.2;
  }
  
  .hero-text-big h2 {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  .hero-text button,
  .hero-text-big button,
  .tel-button {
    width: 240px;
    max-width: 90vw;
    font-size: 0.9rem;
    padding: 9px 18px;
    margin: 0 auto;
    display: block;
  }
  
  .intro-message {
    padding: 22px 18px 22px 22px !important;
    margin: 20px 12px 15px 12px !important;
  }
  
  .intro-message h2 {
    font-size: 1.0rem !important;
    margin-bottom: 15px !important;
  }
  
  .intro-message p {
    font-size: 0.8rem !important;
    margin-bottom: 18px !important;
  }
  
  .intro-message blockquote {
    font-size: 0.85rem !important;
    padding: 15px 0 15px 18px !important;
    margin: 18px 0 8px 0 !important;
    border-radius: 8px !important;
    min-height: 50px !important;
  }
  
  .services, .about, .contact {
    padding-top: 90px;
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .section-header h2 {
    font-size: 1.2rem;
  }
  
  .card {
    max-width: 290px;
    padding: 20px 15px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .contact form {
    padding: 25px 20px;
    gap: 18px;
  }
  
  .contact input, .contact textarea {
    padding: 14px 12px;
    font-size: 0.95rem;
  }
  
  .contact textarea[name="message"] {
    min-height: 100px;
  }
  
  .contact button {
    padding: 12px 0;
    font-size: 1.0rem;
    max-width: 280px;
  }
  
  .contact-info {
    flex-direction: column;
    font-size: 0.95rem;
    margin-top: 20px;
    gap: 6px;
  }
  
  .contact-info .divider {
    display: none;
  }
  
  .phone-line, .address-line {
    font-size: 0.95rem;
  }
  
  /* about-message 모바일 최적화 */
  .about-message {
    padding: 20px 12px;
    font-size: 0.9rem;
  }
  
  .about-message p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  .services-message {
    padding: 20px 12px;
  }
  
  .services-message p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  .services-message blockquote {
    font-size: 0.9rem;
    padding: 15px 0 15px 18px;
    margin: 18px 0 10px 0;
    min-height: 50px;
  }
  
  .about-message {
    padding: 18px 15px;
    font-size: 0.9rem;
  }
  
  .about-message p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }
}

@media (max-width: 600px) and (max-height: 600px) and (max-width: 1439px) {
  .hero-text-big {
    font-size: 1rem;
    padding: 18vw 2vw 0 2vw;
    top: 52%;
    max-width: 100vw;
  }
  .hero-text-big h1 {
    font-size: 1.1rem;
  }
  .hero-text-big h2 {
    font-size: 0.98rem;
    margin-bottom: 8px;
  }
  .hero-buttons {
    flex-direction: column;
    margin-bottom: 15px;
    gap: 5px;
  }
  .intro-message {
    font-size: 0.9rem;
    padding: 6px 2px 8px 6px;
    margin-bottom: 6px;
  }
  .cards, .vision-cards {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 1vw;
  }
  .card, .vision-card {
    padding: 18px 6px;
    width: 98vw;
    max-width: 99vw;
    font-size: 0.93rem;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .map-container {
    max-width: 98vw;
    padding: 0 4vw;
  }
}
/* 이 부분은 메인 600px 미디어 쿼리로 통합됨 */

.vision-flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 30px auto;
}
.vision-content {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  padding: 38px 32px;
  font-size: 1.05rem;
  text-align: left;
  transition: box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.vision-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

.vision-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.vision-content.fade-slide {
  animation: fadeSlideUp 0.55s cubic-bezier(0.4,0,0.2,1);
}
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.vision-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  margin: 18px 0;
  flex-wrap: wrap;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
.vision-buttons button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(50% - 8px);
  min-width: 120px;
  max-width: 140px;
  height: 42px;
  border-radius: 16px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #232323;
  font-size: 1.0rem;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  cursor: pointer;
  padding: 0 12px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, border 0.22s, transform 0.32s;
}
.vision-buttons button .txt {
  font-size: 1.0rem;
  color: inherit;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.vision-buttons button.active, .vision-buttons button:focus {
  background: #ff4c3e;
  color: #fff;
  border: 2px solid #ff4c3e;
  box-shadow: 0 2px 8px 0 rgba(255,76,62,0.13);
}
.vision-buttons button.active .txt,
.vision-buttons button:focus .txt {
  color: #fff;
}
.vision-buttons button:hover:not(.active) {
  transform: scale(1.045);
  box-shadow: 0 4px 18px 0 rgba(255,76,62,0.10);
}
.vision-buttons button:active {
  transform: scale(0.97);
  box-shadow: 0 1.5px 4px 0 rgba(255,76,62,0.10);
}
.vision-buttons button.active,
.vision-buttons button:focus-visible {
  box-shadow: 0 4px 24px 0 rgba(255,76,62,0.18), 0 0 0 4px #ffe3e0;
  transform: scale(1.03);
}
.vision-img-wrap {
  width: calc(100% - 20px);
  max-width: 100%;
  min-height: 80px;
  margin: 20px 10px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.vision-img-wrap img {
  max-width: 100%;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  background: #f8f8f8;
  display: block;
}
@media (max-width: 900px) {
  .vision-flex {
    flex-direction: column;
    gap: 25px;
    max-width: 95vw;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .vision-content {
    padding: 30px 25px 35px 25px;
    font-size: 1rem;
    min-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .vision-content h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .vision-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .vision-img-wrap {
    width: calc(100% - 16px);
    margin: 25px 8px 0 8px;
    padding-top: 10px;
    box-sizing: border-box;
  }
  
  .vision-img-wrap img {
    max-width: 100%;
    width: 100%;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
  }
  .vision-buttons {
    gap: 12px;
    justify-content: center;
    margin: 18px auto;
    max-width: 280px;
    flex-wrap: wrap;
  }
  .vision-buttons button {
    flex: 1 1 calc(50% - 6px);
    min-width: 85px;
    max-width: 130px;
    height: 40px;
    font-size: 0.95rem;
    border-radius: 14px;
    padding: 0 10px;
    border: 1.5px solid #e0e0e0;
    justify-content: center;
  }
  .vision-buttons button.active, .vision-buttons button:focus {
    background: #ff4c3e;
    color: #fff;
    border: 1.5px solid #ff4c3e;
    box-shadow: 0 2px 8px 0 rgba(255,76,62,0.13);
  }
  .vision-buttons button .txt {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .vision-flex {
    flex-direction: column;
    gap: 20px;
    max-width: 98vw;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .vision-content {
    padding: 25px 20px 30px 20px;
    font-size: 0.95rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .vision-content h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 18px;
  }
  
  .vision-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  
  .vision-buttons {
    gap: 10px;
    justify-content: center;
    margin: 15px auto;
    max-width: 260px;
  }
  
  .vision-buttons button {
    flex: 1 1 calc(50% - 5px);
    min-width: 80px;
    max-width: 120px;
    height: 38px;
    font-size: 0.85rem;
    padding: 0 8px;
    border-radius: 12px;
    justify-content: center;
  }
  
  .vision-buttons button .txt {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .vision-img-wrap {
    width: calc(100% - 12px);
    margin: 20px 6px 0 6px;
    padding-top: 8px;
    box-sizing: border-box;
  }
  
  .vision-img-wrap img {
    max-width: 100%;
    width: 100%;
    height: 140px;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .vision-quote {
    padding: 18px 0 18px 20px;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 20px 12px 10px 12px;
    max-width: 98vw;
    min-height: 55px;
  }
  
  /* 지도 컨테이너 모바일 최적화 */
  .map-container {
    max-width: 100vw;
    padding: 0;
    border-radius: 0;
  }
  .map-container iframe {
    border-radius: 0;
  }
}

/* --- plans.css 내용 시작 --- */
body {
  font-family: 'SF Pro Display', 'Apple SD Gothic Neo', 'Noto Sans KR', Arial, sans-serif;
  background: linear-gradient(120deg, #f8f8fa 0%, #f3f4f8 100%);
  margin: 0;
  padding: 0;
  color: #222;
}

.itsq-style, .signup-card, .apple-card, .plan-card, .cards, .vision-cards {
  margin-top: 1.2rem !important;
  padding-top: 1.5rem !important;
}
.signup-cards {
  height: unset !important;
  min-height: unset !important;
  margin-bottom: 20px !important;
  padding-bottom: 60px !important;
}
.signup-title {
  margin-top: 0.24rem !important;
}

.itsq-style {
  max-width: 1100px;
  margin: 40px auto;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07), 0 1.5px 6px rgba(0,0,0,0.03);
  padding: 36px 24px 32px 24px;
  box-sizing: border-box;
  position: relative;
  min-height: unset !important;
  height: auto !important;
  display: block !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.itsq-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #232323;
  margin-bottom: 48px;
  text-align: center;
  line-height: 1.25;
}

.cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.card {
  background: #fafbfc;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 28px 18px 22px 18px;
  flex: 1 1 0;
  min-width: 220px;
  max-width: 320px;
  width: 100%;
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(255,76,62,0.10), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-6px) scale(1.025);
}
.card .label {
  font-size: 0.85rem;
  color: #fff;
  background: #ff4c3e;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: absolute;
  top: 6px;
  right: 6px;
  margin-bottom: 0;
  z-index: 2;
}
.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #232323;
}
.card .price {
  font-size: 1.5rem;
  color: #ff4c3e;
  font-weight: 700;
  margin: 8px 0 12px 0;
}
.card .price span {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
}
.card button {
  background: #ff4c3e;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 0;
  box-shadow: 0 2px 8px rgba(255,76,62,0.08);
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.card button:hover {
  background: #232325;
  transform: scale(1.04);
}
.card ul {
  text-align: left;
  padding-left: 0;
  list-style: none;
  font-size: 0.98rem;
  color: #444;
  margin: 0;
}
.card ul li {
  margin-bottom: 7px;
  padding-left: 0.5em;
  position: relative;
}
.card ul li::before {
  content: "\2022 ";
  color: #ff4c3e;
  font-size: 1.1em;
  position: absolute;
  left: -1em;
}
.card.highlight {
  border: 2.5px solid #ff4c3e;
  background: #fff5f3;
}
.note {
  font-size: 1.02rem;
  color: #888;
  margin: 18px 0 38px 0;
  text-align: right;
}

.itsq-table-title {
  font-size: 2rem;
  font-weight: 700;
  color: #232323;
  margin: 60px 0 18px 0;
  text-align: center;
  letter-spacing: -0.5px;
}

.table-wrapper {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1), max-height 0.7s cubic-bezier(.4,0,.2,1);
  max-height: 0;
  overflow: hidden;
}
.itsq-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 0.95rem;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}
.itsq-table th, .itsq-table td {
  padding: 13px 8px;
  text-align: center;
  vertical-align: middle;
  font-size: 0.97rem;
  border-bottom: 1.5px solid #f0f0f0;
  border-right: 1.5px solid #ececec;
  box-sizing: border-box;
}
.itsq-table th:last-child, .itsq-table td:last-child {
  border-right: none;
}
.itsq-table thead th {
  background: #f8f8fa;
  font-size: 1.02rem;
  font-weight: 700;
  color: #232323;
  border-bottom: 2px solid #e0e0e0;
  padding: 18px 8px;
}
.itsq-table th.plan-col { width: 18%; min-width: 110px; }
.itsq-table th.order-col { width: 22%; min-width: 120px; }
.itsq-table th.pay-col { width: 22%; min-width: 120px; }
.itsq-table th.menu-col { width: 18%; min-width: 110px; }

.itsq-table tr.section td, .itsq-table td.section {
  background: #f5f5f7;
  font-weight: 900;
  color: #232323;
  font-size: 1.22rem;
  border-bottom: 2.5px solid #e0e0e0;
  text-align: left;
  letter-spacing: -0.5px;
  padding-top: 12px;
  padding-bottom: 8px;
  padding-left: 28px;
  position: relative;
}
.itsq-table tr.section td:first-child::before, .itsq-table td.section:first-child::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 7px;
  background: linear-gradient(180deg, #ff4c3e 70%, #ffb199 100%);
  border-radius: 5px;
}
.itsq-table tr:hover td {
  background: #f8f8fa;
}
.itsq-table .description td {
  font-size: 0.92rem;
  color: #888;
  background: #fff;
  border-bottom: 1.5px solid #e0e0e0;
}
.itsq-check, .itsq-minus {
  color: #22c55e !important;
}
.itsq-check, .itsq-minus {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.3s;
}
.itsq-check.appear, .itsq-minus.appear {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 900px) {
  .cards {
    flex-wrap: nowrap;
  }
  .card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 320px;
    width: 100%;
  }
}
@media (max-width: 899px) and (min-width: 600px) {
  .cards {
    flex-wrap: wrap;
  }
  .card {
    flex: 1 1 45%;
    max-width: 48vw;
    min-width: 220px;
  }
}
@media (max-width: 599px) {
  .cards {
    flex-direction: column;
    gap: 14px;
  }
  .card {
    max-width: 98vw;
    min-width: 0;
    padding: 25px 15px 20px 15px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .itsq-style {
    max-width: 99vw;
    margin: 12px auto 12px auto;
    padding: 12px 2vw 18px 2vw;
    border-radius: 0;
  }
}

.itsq-back-btn {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 8px 18px 8px 10px;
  font-size: 1.05rem;
  color: #232323;
  font-weight: 600;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, border 0.18s, color 0.18s;
  z-index: 10;
}
.itsq-back-btn:hover {
  background: #f5f5f7;
  color: #ff4c3e;
  border: 1.5px solid #ff4c3e;
  box-shadow: 0 4px 16px rgba(255,76,62,0.10);
}

.itsq-back-link {
  display: inline-block;
  color: #2196f3;
  font-size: 1.08rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 14px;
  margin-left: 2px;
  margin-top: 0px;
  transition: color 0.18s;
}
.itsq-back-link:hover {
  text-decoration: underline;
  color: #1565c0;
}
/* --- plans.css 내용 끝 --- */

/* plans 전용 카드 스타일 */
.plan-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.plan-card {
  background: #fafbfc;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 28px 18px 22px 18px;
  flex: 1 1 0;
  min-width: 220px;
  max-width: 320px;
  width: 100%;
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  position: relative;
}
.plan-card:hover {
  box-shadow: 0 8px 32px rgba(255,76,62,0.10), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-6px) scale(1.025);
}
.plan-card .label {
  font-size: 0.85rem;
  color: #fff;
  background: #ff4c3e;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: absolute;
  top: 6px;
  right: 6px;
  margin-bottom: 0;
  z-index: 2;
}
.plan-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #232323;
}
.plan-card .price {
  font-size: 1.5rem;
  color: #ff4c3e;
  font-weight: 700;
  margin: 8px 0 12px 0;
}
.plan-card .price span {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
}
.plan-card button {
  background: #ff4c3e;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 0;
  box-shadow: 0 2px 8px rgba(255,76,62,0.08);
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.plan-card button:hover {
  background: #232325;
  transform: scale(1.04);
}
.plan-card ul {
  text-align: left;
  padding-left: 0;
  list-style: none;
  font-size: 0.98rem;
  color: #444;
  margin: 0;
}
.plan-card ul li {
  margin-bottom: 7px;
  padding-left: 0.5em;
  position: relative;
}
.plan-card ul li::before {
  content: "\2022 ";
  color: #ff4c3e;
  font-size: 1.1em;
  position: absolute;
  left: -1em;
}
.plan-card.highlight {
  border: 2.5px solid #ff4c3e;
  background: #fff5f3;
}

/* 기존 .card의 이미지 배경 스타일이 .plan-card에는 적용되지 않도록 한다. */
.cards .card:first-child,
.cards .card:nth-child(2),
.cards .card:nth-child(3) {
  /* plans 카드에는 영향 없음 */
}

/* 기능 상세 비교 토글 버튼 */
.toggle-table-btn, .close-table-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 260px;
  max-width: 400px;
  margin: 40px auto 18px auto;
  padding: 16px 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  background: #2196f3;
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.13);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.toggle-table-btn:hover, .close-table-btn:hover {
  background: #1565c0;
  color: #fff;
  box-shadow: 0 4px 16px rgba(33,150,243,0.18);
}
.toggle-table-btn svg, .close-table-btn svg {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.table-toggle-area {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 0 auto;
}

.table-wrapper.open {
  opacity: 1;
  transform: translateY(0);
  background-color: #fff;
  max-height: 2000px;
}

/* 회원가입/정보수정 전용 카드 스타일 (컴팩트+로고/타이틀 조정) */
.signup-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  max-width: 560px;
  margin: 1.6rem auto 0 auto;
  padding: 0 0 1.2rem 0;
}
.signup-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(255,76,62,0.07), 0 1.5px 6px rgba(0,0,0,0.03);
  padding: 2.5rem 2.2rem 2.2rem 2.2rem;
  width: 600px;
  margin: auto auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-size: 1.05rem;
}
.signup-card .logo {
  width: 2rem;
  margin: 12px auto 0 auto;
  display: block;
}
.signup-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0.4rem 0 0.9rem 0;
  letter-spacing: -0.5px;
  color: #232323;
}
.signup-card form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.signup-card fieldset {
  border: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
}
.signup-card legend {
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
  color: #232323;
}
.signup-card label {
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #232323;
  display: block;
  font-size: 1.05rem;
}
.signup-card input[type="signup-id"],
.signup-card input[type="text"],
.signup-card input[type="email"],
.signup-card input[type="password"] {
  height: 40px;
  font-size: 0.9rem;
  line-height: 40px;
  padding: 0 18px;
  border: 1.5px solid #d2d2d7;
  border-radius: 12px;
  color: #181818;
  font-weight: 500;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30,34,90,0.04);
  outline: none;
  transition: border 0.18s, box-shadow 0.18s, color 0.18s, background 0.18s;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0;
  vertical-align: middle;
  box-sizing: border-box;
  display: block;
  border-width: 2px;
}

.signup-card .black-btn {
  display: none;
  background: #171717 !important;
  color: #fff !important;
  min-width: 80px !important;
  max-width: 49% !important;
  margin-left: 10px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  padding: 0.6rem 0.3rem !important;
  box-shadow: none !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

.signup-card input::placeholder {
  font-size: 0.9rem;
  line-height: 40px;
  vertical-align: middle;
  color: #bbb;
  opacity: 1;
  font-weight: 400;
}
.signup-card input[readonly],
.signup-card input[disabled] {
  background: #f3f4f8;
  color: #b0b0b8;
}
.signup-card .terms {
  margin: 1.2rem 0 0 0;
  font-size: 0.95rem;
  color: #232323;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
.signup-card .terms label {
  font-weight: 400;
  color: #232323;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}
.signup-card .submit-btn {
  background: linear-gradient(90deg, #e53935 0%, #d32f2f 100%);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  padding: 13px 0;
  width: 180px;
  max-width: 90vw;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(211,47,47,0.08);
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  margin: 0 auto;
  display: block;
  letter-spacing: 0.01em;
}
.signup-card .submit-btn:hover {
  background: linear-gradient(90deg, #d32f2f 0%, #b71c1c 100%);
  box-shadow: 0 6px 24px rgba(211,47,47,0.13);
  transform: translateY(-2px) scale(1.03);
}
.signup-card button[type="button"] {
  background: #fff5f3;
  color: #ff4c3e;
  border: 1.5px solid #ff4c3e;
  border-radius: 0.7rem;
  padding: 0.7rem 1.2rem;
  font-size: 1.02rem;
  font-weight: 600;
  min-width: 160px;
  margin-left: 0.5rem;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.signup-card button[type="button"]:hover {
  background: #ffebe7;
  color: #d63a2a;
  border: 1.5px solid #d63a2a;
}
  /* 회원가입 카드 모바일 최적화 */
  .signup-cards, .signup-card {
    max-width: 99vw;
    padding: 0.7rem 2vw 1.2rem 2vw;
    border-radius: 0;
    font-size: 0.98rem;
  }

  /* 모달 모바일 최적화 */
  .apple-modal-content {
    max-width: 99vw;
    border-radius: 0;
    padding: 0;
  }
  .apple-modal-header, .apple-modal-body {
    padding-left: 16px;
    padding-right: 16px;
  }

.table-wrapper:not(.open) .close-table-btn {
  display: none !important;
}

.signup-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}
.signup-row label {
  min-width: 110px;
  max-width: 110px;
  width: 110px;
  text-align: right;
  justify-content: flex-end;
  display: flex;
  align-items: center;
  height: 40px;
  font-size: 0.95rem;
}
.signup-row input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  height: 40px;
  font-size: 0.9rem;
  line-height: 40px;
  padding: 0 18px;
  border: 1.5px solid #d2d2d7;
  border-radius: 12px;
  color: #181818;
  font-weight: 500;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30,34,90,0.04);
  outline: none;
  transition: border 0.18s, box-shadow 0.18s, color 0.18s, background 0.18s;
  margin-bottom: 0;
  vertical-align: middle;
}
.signup-row button,
.signup-card button[type="button"] {
  margin-left: 0.5rem;
  flex-shrink: 0;
  height: 40px;
  background: #171717 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 0 22px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none !important;
  box-shadow: none !important;
  line-height: 1;
  min-width: 150px !important;
  width: 128px;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.22s cubic-bezier(.34,1.56,.64,1), color 0.22s, border 0.22s, transform 0.12s;
}
.signup-row button:hover,
.signup-card button[type="button"]:hover {
  background: #232325 !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.15);
}

.signup-card input[type="text"]:focus,
.signup-card input[type="email"]:focus,
.signup-card input[type="password"]:focus,
.signup-row input:focus {
  border-color: #ff4c3e;
  border-width: 2px;
  font-weight: bold;
  outline: none;
}

.apple-checkbox {
  display: flex;
  align-items: baseline;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 8px;
  user-select: none;
  margin-bottom: 4px;
  white-space: nowrap;
}
.apple-checkbox input[type="checkbox"] {
  display: none;
}
.apple-checkbox .checkmark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #f5f5f7;
  border: 1.5px solid #d2d2d7;
  box-shadow: 0 2px 8px rgba(30,34,90,0.04);
  display: inline-block;
  position: relative;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  flex-shrink: 0;
  margin-right: 8px;
  vertical-align: middle;
}
.apple-checkbox input[type="checkbox"]:checked + .checkmark {
  background: #007aff;
  border-color: #007aff;
  box-shadow: 0 4px 16px rgba(0,122,255,0.10);
}
.apple-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  border-radius: 1.5px;
  transform: translate(-50%, -50%) rotate(45deg) scale(0.8);
  transition: all 0.18s cubic-bezier(.34,1.56,.64,1);
}
.apple-checkbox input[type="checkbox"]:checked + .checkmark::after {
  display: block;
  animation: apple-check 0.22s cubic-bezier(.34,1.56,.64,1);
}
@keyframes apple-check {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.5) rotate(45deg);}
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(45deg);}
  100% { opacity: 1; transform: translate(-50%, -50%) scale(0.8) rotate(45deg);}
}

.input-wrap {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.input-desc {
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
  margin-left: 0 !important;
  line-height: 1.5;
}

.input-btn-wrap {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}
.input-btn-wrap input {
  flex: 1 1 0;
}

/* --- Toast Message (from Type_NumberInput) --- */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background-color: #007aff;
  color: white;
  padding: 14px 24px;
  border-radius: 20px;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 999;
}

.toast.show {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.toast.hide {
  opacity: 0;
}

@keyframes shake {
  0% { transform: translateX(-50%) translateY(0); }
  15% { transform: translateX(-48%) translateY(0); }
  20% { transform: translateX(-52%) translateY(0); }
  40% { transform: translateX(-50%) translateY(0); }
}

.toast.shake {
  animation: shake 0.4s ease;
}

.input-error {
  animation: flashOutline 1s ease;
  border-color: #ff3b30;
}

@keyframes flashOutline {
  0% {
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.6);
    border-color: #ff3b30;
  }
  20% {
    box-shadow: 0 0 0 6px rgba(255, 59, 48, 0.0);
  }
  40% {
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.6);
  }
  60% {
    box-shadow: 0 0 0 6px rgba(255, 59, 48, 0.0);
  }
  80% {
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.6);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.0);
    border-color: #ff3b30;
  }
}

body.fade-in {
  animation: fadeIn 0.3s ease-in forwards;
}
body.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.container.itsq-style.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

.itsq-table td.order-col {
  background: none;
}

.itsq-table > tbody > tr > td:nth-child(3) {
  background: #fff8e1 !important;
}

.apple-checkbox > span:last-child {
  display: inline;
  align-self: center;
  margin-top: 0;
  line-height: 1.3;
  white-space: normal;
}

/* --- Apple Style Modal for Terms --- */
.apple-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
}
.apple-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.apple-modal-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(240, 240, 245, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
  transition: background 0.35s cubic-bezier(.4,0,.2,1), backdrop-filter 0.35s cubic-bezier(.4,0,.2,1);
}
.apple-modal.hide .apple-modal-backdrop {
  background: rgba(240,240,245,0.0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.apple-modal-content {
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.04);
  max-width: 600px;
  width: 98vw;
  max-height: 200vh;
  height: 650px;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-right: 0px;
  z-index: 1;
  animation: apple-modal-fadein 0.25s cubic-bezier(.4,0,.2,1);
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
}
.apple-modal.hide .apple-modal-content {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}
@keyframes apple-modal-fadein {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.apple-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 10px 28px;
  border-radius: 22px 22px 0 0;
  background: #fff;
}
.apple-modal-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #232323;
}
.apple-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  margin-left: 10px;
  margin-top: -2px;
  transition: color 0.18s;
}
.apple-modal-close:hover {
  color: #ff4c3e;
}
.apple-modal-body {
  padding: 0 6px 4px 16px;
  overflow: hidden;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 120px;
}
.apple-modal-scroll {
  overflow-y: auto;
  max-height: 80vh;
  min-height: 80px;
  font-size: 0.9rem;
  color: #232323;
  line-height: 1.7;
  padding-right: 2px;
  flex: 1 1 auto;
}
/* 이 부분은 메인 600px 미디어 쿼리로 통합됨 */

.required-star {
  color: #e53935 !important;
  font-weight: bold !important;
  font-size: 1.08em !important;
  margin-left: 2px;
  vertical-align: middle;
}

/* 맥북 에어 2022년형 및 고해상도 디스플레이 최적화 */
@media (min-width: 1440px) and (min-height: 900px) {
  :root {
    --header-height: 90px;
  }
  
  header {
    height: var(--header-height);
    padding: 25px 50px;
  }
  
  .hero-text-big {
    padding-top: 140px;
    padding-bottom: 40px;
    max-width: 900px;
  }
  
  .hero-text-big h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
    letter-spacing: -0.8px;
  }
  
  .hero-text-big h2 {
    font-size: 2.0rem;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
  }
  
  .intro-message {
    padding: 40px 50px;
    margin: 40px auto;
    max-width: 900px;
  }
  
  .intro-message h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .intro-message p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .section-header h2 {
    font-size: 2.8rem;
  }
  
  .cards {
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
  }
  
  .card {
    min-height: 280px;
    padding: 40px 30px;
  }
  
  .card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }
  
  .card p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  
  .about-message {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 50px;
  }
  
  .about-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .services-message {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 50px;
  }
  
  .services-message p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .contact form {
    max-width: 700px;
    padding: 45px 50px;
  }
  
  .contact input, .contact textarea {
    padding: 18px 16px;
    font-size: 1rem;
  }
  
  .contact-info {
    font-size: 1.1rem;
    margin-top: 30px;
  }
  
  .vision-content {
    padding: 40px 50px;
    max-width: 700px;
  }
  
  .vision-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .vision-content p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .vision-quote {
    font-size: 1.3rem;
    margin-top: 50px;
    max-width: 800px;
  }
  
  .hero-buttons > button:first-child {
    min-width: 250px;
    height: 60px;
    font-size: 1.25rem;
    padding: 0 40px;
  }
  
  .hero-buttons button.secondary, .tel-button {
    width: 250px;
    height: 52px;
    font-size: 1.1rem;
    padding: 12px 32px;
  }
  
  .services, .about, .contact {
    padding-top: calc(var(--header-height) + 20px);
  }
  
  .vision {
    padding-top: calc(var(--header-height) + 20px);
  }
}

/* 맥북 에어 2022년형 특정 해상도 (2560x1664) 최적화 */
@media (min-width: 2560px) and (min-height: 1664px) {
  :root {
    --header-height: 100px;
  }
  
  header {
    height: var(--header-height);
    padding: 30px 60px;
  }
  
  .hero-text-big {
    padding-top: 160px;
    padding-bottom: 60px;
    max-width: 1000px;
  }
  
  .hero-text-big h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
  }
  
  .hero-text-big h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  
  .intro-message {
    padding: 50px 60px;
    margin: 50px auto;
    max-width: 1000px;
  }
  
  .intro-message h2 {
    font-size: 2.0rem;
    margin-bottom: 30px;
  }
  
  .intro-message p {
    font-size: 1.2rem;
    line-height: 1.65;
  }
  
  .section-header h2 {
    font-size: 3.0rem;
  }
  
  .cards {
    max-width: 1400px;
    gap: 40px;
  }
  
  .card {
    min-height: 320px;
    padding: 50px 35px;
  }
  
  .card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .card p {
    font-size: 1.2rem;
    line-height: 1.6;
  }
  
  .about-message {
    max-width: 1000px;
    padding: 50px 60px;
  }
  
  .about-message p {
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 35px;
  }
  
  .services-message {
    max-width: 1000px;
    padding: 50px 60px;
  }
  
  .services-message p {
    font-size: 1.2rem;
    line-height: 1.65;
  }
  
  .contact form {
    max-width: 800px;
    padding: 50px 60px;
  }
  
  .contact input, .contact textarea {
    padding: 20px 18px;
    font-size: 1.1rem;
  }
  
  .contact-info {
    font-size: 1.2rem;
    margin-top: 35px;
  }
  
  .vision-content {
    padding: 50px 60px;
    max-width: 800px;
  }
  
  .vision-content h3 {
    font-size: 2.0rem;
    margin-bottom: 25px;
  }
  
  .vision-content p {
    font-size: 1.2rem;
    line-height: 1.65;
  }
  
  .vision-quote {
    font-size: 1.4rem;
    margin-top: 60px;
    max-width: 900px;
  }
  
  .hero-buttons > button:first-child {
    min-width: 280px;
    height: 65px;
    font-size: 1.3rem;
    padding: 0 45px;
  }
  
  .hero-buttons button.secondary, .tel-button {
    width: 280px;
    height: 56px;
    font-size: 1.15rem;
    padding: 14px 36px;
  }
  
  .services, .about, .contact {
    padding-top: calc(var(--header-height) + 30px);
  }
  
  .vision {
    padding-top: calc(var(--header-height) + 30px);
  }
}