/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ec4899;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #1f2937;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo img {
  display: block;
}

.menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-button:hover {
  opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.mobile-menu.active {
  pointer-events: auto;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu.active .mobile-menu-overlay {
  opacity: 1;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 320px;
  background: white;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.close-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.menu-item {
  padding: 1rem 1.5rem;
  color: var(--foreground);
  text-decoration: none;
  font-size: 1.125rem;
  transition: background-color 0.2s;
}

.menu-item:hover {
  background-color: #f9fafb;
}

/* Hero Section */
.hero {
  padding: 3rem 0 5rem;
}

.hero-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.text-primary {
  color: var(--primary);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* Banners */
.banners {
  padding: 2rem 0;
}

.banner-wrapper {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.banner-link {
  display: block;
  transition: opacity 0.2s;
}

.banner-link:hover {
  opacity: 0.9;
}

.banner-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
}

/* Info Section */
.info-section {
  padding: 4rem 0 6rem;
}

.info-wrapper {
  max-width: 64rem;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
}

.info-grid {
  display: grid;
  gap: 2rem;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.icon-wrapper {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(236, 72, 153, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrapper svg {
  color: var(--primary);
}

.icon-wrapper-large {
  width: 3rem;
  height: 3rem;
  background: rgba(236, 72, 153, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrapper-large svg {
  color: var(--primary);
}

.card-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  padding: 4rem 0 5rem;
}

.cta-content {
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-button:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #f9fafb;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--muted-foreground);
  line-height: 1.75;
}

.footer-map iframe {
  width: 100%;
  border-radius: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* About Page */
.page-header {
  background: var(--primary);
  padding: 3rem 0 4rem;
}

.page-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--primary-foreground);
  text-align: center;
}

.about-section {
  padding: 3rem 0 4rem;
}

.about-wrapper {
  max-width: 64rem;
  margin: 0 auto;
}

.about-intro {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.about-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.about-text {
  color: var(--muted-foreground);
  line-height: 1.75;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.full-width {
  grid-column: 1 / -1;
}

.phone-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
}

.phone-link:hover {
  text-decoration: underline;
}

.map-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.map-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.map-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Recruit Page */
.back-button-container {
  padding: 1.5rem 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--foreground);
}

.recruit-banner {
  padding: 0 0 2rem;
}

.recruit-banner-wrapper {
  max-width: 64rem;
  margin: 0 auto;
}

.recruit-details {
  padding: 0 0 4rem;
}

.recruit-wrapper {
  max-width: 64rem;
  margin: 0 auto;
}

.recruit-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

.recruit-image-wrapper {
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.recruit-detail-image {
  width: 100%;
  height: auto;
  display: block;
}

.recruit-table-section {
  padding: 0 0 4rem;
}

.recruit-table-wrapper {
  max-width: 64rem;
  margin: 0 auto;
}

.table-container {
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
}

.table-header {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem;
  font-weight: bold;
  vertical-align: top;
  width: 10rem;
}

.table-content {
  padding: 1rem;
  background: white;
  border-bottom: 1px solid var(--border);
}

.recruit-table tr:last-child .table-content {
  border-bottom: none;
}

.qualification-list,
.benefits-list {
  list-style: none;
  padding: 0;
}

.qualification-list li,
.benefits-list li {
  margin-bottom: 0.5rem;
}

.small-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Responsive */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-text {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-title {
    font-size: 3rem;
  }

  .recruit-title {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .table-header {
    width: 10rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .desktop-only {
    display: inline;
  }
}

@media (max-width: 767px) {
  .desktop-only {
    display: none;
  }
}
