:root{--build-id:"0a7c1645-185c-4469-9fcc-1da8644973b1";}
/* 
dido34.site - 이도미다34 일본 여행
변수: L17, C25, T18, B13, N13, K13, S09, H13, F7, CS13
*/

/* ===== 리셋 & 기본 설정 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* C25: 보라색 팔레트 */
  --primary: #8b5cf6;
  --bg: #faf5ff;
  --text: #3b0764;
  --accent: #a78bfa;
  --heading: var(--text);
  --link: var(--text);
  --white: #ffffff;
  --gray-light: #f3f4f6;
  --gray: #9ca3af;
  --gray-dark: #4b5563;
  --border: #e5e7eb;
}

/* F7: Neutral Core 폰트 스택 */
body {
  font-family: system-ui, "Noto Sans KR", "Malgun Gothic", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background-color: var(--bg);
}

/* ===== 접근성 ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* ===== H13: 헤딩 스타일 ===== */
h1 {
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.344rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.758rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== S09: 섹션 여백 ===== */
section {
  padding: 6.5rem 0;
}

.container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gap-section {
  gap: 4.5rem;
}

/* ===== N13: 네비게이션 (상단 투명 + 좌측 메뉴 + 중앙 로고 + 우측 CTA) ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 245, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text);
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--primary);
}

/* B13: 버튼 스타일 (밑줄 + 대문자) */
.cta-button {
  border: none;
  border-bottom: 3px solid var(--primary);
  padding: 0.75rem 0;
  font-weight: 700;
  text-transform: uppercase;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.05em;
}

.cta-button:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* 모바일 메뉴 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    left: 1rem;
  }

  .logo {
    position: static;
    transform: none;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
  }

  .cta-button {
    display: inline-block;
    margin-top: 1rem;
  }
}

/* ===== 히어로 섹션 (L17: 일러스트 히어로) ===== */
.hero {
  padding-top: 8rem;
  padding-bottom: 6.5rem;
  background: linear-gradient(135deg, var(--bg) 0%, #f3e8ff 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--gray-dark);
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ===== K13: 카드 스타일 (박스 그림자 오프셋) ===== */
.card {
  border-radius: 0.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(139, 92, 246, 0.2);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  margin-bottom: 0.75rem;
}

/* ===== 그리드 레이아웃 ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

/* ===== 섹션 헤딩 ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-dark);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== 비교 슬라이더 섹션 ===== */
.comparison-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.comparison-item .icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.comparison-item .content h3 {
  margin-bottom: 0.5rem;
}

/* ===== CTA 섹션 ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 1rem;
  margin: 4rem 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-section .cta-button {
  background: var(--white);
  color: var(--primary);
  border-bottom-color: var(--white);
  padding: 1rem 2rem;
}

.cta-section .cta-button:hover {
  background: var(--gray-light);
  border-bottom-color: var(--gray-light);
}

/* ===== 푸터 ===== */
footer {
  background: var(--text);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

/* ===== FAQ 스타일 ===== */
.faq-item {
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item h3::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.faq-item p {
  padding-left: 2.5rem;
  margin-bottom: 0;
}

/* ===== 연락처 폼 스타일 ===== */
.contact-info {
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  font-size: 1.5rem;
  color: var(--primary);
}

/* ===== 리스트 스타일 ===== */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.05);
}

.feature-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.875rem;
}

/* ===== 블로그 포스트 스타일 ===== */
.blog-post {
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.blog-post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray);
}

.blog-post h3 {
  margin-bottom: 1rem;
}

/* ===== Privacy/Terms 문서 스타일 ===== */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.doc-container h1 {
  margin-bottom: 2rem;
}

.doc-container p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ===== 반응형 조정 ===== */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .comparison-item {
    flex-direction: column;
    gap: 1rem;
  }
}