:root {
  --primary-color: #1E88E5;
  --secondary-color: #FFC107;
  --accent-color: #FFE082;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: relative;
  background: var(--primary-color);
  color: var(--white);
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition);
}

.hero {
  padding: 100px 0;
  text-align: center;
  position: relative;
}


.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.icon {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-decoration {
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  margin: 0 auto;
  border-radius: 2px;
}

.services {
  padding: 80px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: var(--transition);
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  filter: hue-rotate(160deg) saturate(1.2);
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.company {
  padding: 80px 0;
}

.company-info {
  display: grid;
  gap: 3rem;
}

.company-basic, .company-legal, .company-terms {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.company-basic h3, .company-legal h3, .company-terms h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th {
  background: var(--bg-light);
  padding: 0.8rem;
  text-align: left;
  border: 1px solid #ddd;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  width: 30%;
}

.info-table td {
  padding: 0.8rem;
  border: 1px solid #ddd;
  line-height: 1.5;
}

.stores {
  padding: 80px 0;
  background: var(--bg-light);
}

.stores-grid {
  display: grid;
  gap: 4rem;
}

.store-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.store-header {
  position: relative;
  text-align: center;
  padding: 2rem;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.store-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: block;
  background-color: var(--bg-light);
  margin: 0 auto;
}

.store-content {
  padding: 2rem;
}

.store-intro {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.store-details {
  display: grid;
  gap: 2rem;
}

.detail-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

.store-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.store-table th {
  background: var(--bg-light);
  padding: 0.6rem;
  text-align: left;
  border: 1px solid #ddd;
  font-weight: 600;
  width: 25%;
  font-size: 0.9rem;
}

.store-table td {
  padding: 0.6rem;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}

.hours-table .closed {
  color: #999;
  font-style: italic;
}

.detail-grid {
  display: grid;
  gap: 1rem;
}

.detail-grid strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.store-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.pdf-button {
  background: var(--primary-color);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-weight: 600;
}

.pdf-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.line-button img {
  transition: var(--transition);
}

.line-button:hover img {
  transform: scale(1.05);
}

.news {
  padding: 80px 0;
}

.news-content {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  background: var(--white);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.news-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-title {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.recruitment {
  padding: 80px 0;
  background: var(--bg-light);
}

.recruitment-message {
  text-align: center;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.recruitment-message h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  gap: 3rem;
}

.contact-main {
  text-align: center;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-main h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.contact-item strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stores-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.store-contact {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.store-contact h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.store-contact p {
  margin-bottom: 0.5rem;
}

.store-contact .line-button {
  margin-top: 1rem;
}

.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #ccc;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease;
}

.slide-in {
  animation: slideIn 0.8s ease;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-icons {
    gap: 1rem;
  }

  .icon {
    width: 40px;
    height: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .store-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-details {
    text-align: center;
  }

  .stores-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .services, .company, .stores, .news, .recruitment, .contact {
    padding: 60px 0;
  }

  .service-card, .store-content, .contact-main, .store-contact, .recruitment-message {
    padding: 1.5rem;
  }

  .info-table th, .store-table th {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  .info-table td, .store-table td {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}