*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brown:    #534741;
  --pink:     #e5776e;
  --pink-lt:  #ffe4d5;
  --pink-pale:#fff0e7;
  --beige:    #fffcf3;
  --orange:   #ff825e;
  --yellow:   #ffef4b;
  --gray:     #9f9d9c;
  --black:    #333333;
  --white:    #ffffff;
  --border:   #f0e8e0;

  --ease: cubic-bezier(.4,.4,0,1);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--beige);
  color: var(--black);
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-clock {
  font-family: 'Prompt', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.1em;
}

/* ===== HERO ===== */
.site-header {
  background: var(--beige);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 80px 56px 72px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-text {
  text-align: left;
}

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

.hero-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(83, 71, 65, 0.18));
}

.hero-label {
  font-family: 'Prompt', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--pink);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--brown);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gray);
  line-height: 2.2;
  margin-bottom: 44px;
}

.hero-btn {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 16px 44px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .4s var(--ease), transform .3s var(--ease);
  letter-spacing: 0.08em;
}

.hero-btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

/* ===== MARQUEE BAND ===== */
.hero-band {
  background: var(--brown);
  color: var(--beige);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 40px;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  white-space: nowrap;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-band .dot {
  color: var(--pink);
  font-size: 0.5rem;
}

/* ===== SECTION COMMON ===== */
.section-en {
  font-family: 'Prompt', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--pink);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.section-body {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 2.2;
  max-width: 600px;
}

/* ===== INTRO ===== */
.intro-section {
  padding: 100px 56px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.intro-text { /* text stays on left */ }

.intro-visual {
  display: flex;
  justify-content: center;
}

.section-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(83, 71, 65, 0.15));
}

/* ===== JOBS ===== */
.jobs-section {
  padding: 100px 56px;
  background: var(--beige);
}

.jobs-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.jobs-illustration {
  margin: 40px 0 48px;
}

.jobs-street-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(83, 71, 65, 0.14));
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

/* ===== CARD ===== */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-color, var(--pink));
  border-radius: var(--radius) var(--radius) 0 0;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -8px rgba(83, 71, 65, 0.15);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-emoji {
  font-size: 2.2rem;
  line-height: 1;
}

.card-time {
  font-family: 'Prompt', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--gray);
  background: var(--beige);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.03em;
}

.card-summary {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.9;
  flex: 1;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: var(--pink-pale);
  color: var(--pink);
  border: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease);
  letter-spacing: 0.05em;
}

.card-btn:hover {
  background: var(--pink);
  color: var(--white);
}

/* ===== CTA ===== */
.cta-section {
  background: var(--brown);
  padding: 100px 56px;
}

.cta-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.cta-text { /* text on left */ }

.cta-visual {
  display: flex;
  justify-content: center;
}

.cta-section .section-en {
  color: var(--pink-lt);
  opacity: 0.8;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--beige);
  line-height: 1.6;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.cta-body {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--beige);
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(83, 71, 65, 0.5);
  backdrop-filter: blur(6px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 660px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 48px 44px;
  box-shadow: 0 32px 80px -16px rgba(83, 71, 65, 0.25);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.modal-close {
  position: sticky;
  float: right;
  top: 0;
  background: var(--beige);
  border: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), color .3s var(--ease);
  margin-left: auto;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.modal-emoji {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.02em;
}

.modal-time {
  font-family: 'Prompt', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--gray);
  margin-top: 6px;
  letter-spacing: 0.08em;
}

.modal-quote {
  background: var(--pink-pale);
  padding: 18px 24px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--brown);
  line-height: 2;
}

.modal-desc {
  font-size: 0.93rem;
  line-height: 2.2;
  color: var(--black);
  margin-bottom: 36px;
}

.modal-section-title {
  font-family: 'Prompt', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--pink);
  margin-bottom: 18px;
  font-weight: 400;
}

/* タイムライン */
.timeline {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
  border-left: 2px solid var(--border);
  padding-left: 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 0 12px 28px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--white);
  border: 2px solid var(--pink);
  border-radius: 50%;
}

.timeline-time {
  font-family: 'Prompt', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink);
  min-width: 44px;
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.timeline-label {
  font-size: 0.9rem;
  color: var(--black);
  line-height: 1.7;
}

/* ファクト */
.facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.facts-list li {
  font-size: 0.9rem;
  color: var(--black);
  padding: 14px 18px 14px 44px;
  background: var(--beige);
  border-radius: 10px;
  position: relative;
  line-height: 1.7;
}

.facts-list li::before {
  content: '▸';
  position: absolute;
  left: 18px;
  color: var(--orange);
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 56px 24px 48px;
    gap: 36px;
  }
  .hero-text { text-align: center; }
  .hero-visual { order: -1; }
  .hero-img { max-width: 380px; }
  .hero-desc br { display: none; }

  .hero-band {
    gap: 12px;
    padding: 12px 20px;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .intro-section,
  .jobs-section { padding: 72px 24px; }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .intro-visual { order: -1; }

  .cta-section { padding: 72px 24px; }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-visual { order: -1; }

  .jobs-grid { grid-template-columns: 1fr; }

  .modal { padding: 32px 24px; }

  .modal-header { gap: 14px; }

  .modal-title { font-size: 1.4rem; }
}
