/* ==========================================
   Hartmann Co., Ltd. - Corporate Website
   Modern & Minimal Design
   ========================================== */

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.header.scrolled .logo {
  color: #1a1a1a;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-list a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s;
}

.nav-list a:hover::after {
  width: 100%;
}

.header.scrolled .nav-list a {
  color: #555;
}

.header.scrolled .nav-list a:hover {
  color: #1a1a1a;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.header.scrolled .nav-toggle span {
  background: #333;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  transform: rotate(-15deg);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(0.875rem, 2vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background: #f8f9fa;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #0f3460;
  margin: 16px auto 0;
}

/* About */
.about-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  color: #555;
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 16px;
}

/* News Bar */
.section-news {
  padding: 0;
  border-bottom: 1px solid #eee;
}

.news-bar {
  display: flex;
  align-items: center;
  padding: 16px 0;
  gap: 24px;
}

.news-label {
  background: #0f3460;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 16px;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.news-list {
  list-style: none;
  flex: 1;
  overflow: hidden;
}

.news-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: #555;
}

.news-list time {
  color: #999;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* Services */
.services-section-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #0f3460;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-left: 4px;
}

.services-section-label-sub {
  margin-top: 40px;
  color: #888;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.services-grid-sub {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 4px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card-featured {
  border-left: 3px solid #0f3460;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: #0f3460;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.service-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
}

/* Property */
.property-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.property-image {
  border-radius: 4px;
  overflow: hidden;
  background: #f0f2f5;
}

.property-image img {
  width: 100%;
  height: auto;
  display: block;
}

.property-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 280px;
  color: #aaa;
}

.property-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.property-placeholder p {
  font-size: 0.85rem;
}

.property-badge {
  display: inline-block;
  background: #0f3460;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.property-info h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.property-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.property-table tr {
  border-bottom: 1px solid #eee;
}

.property-table th,
.property-table td {
  padding: 12px 8px;
  text-align: left;
  font-size: 0.875rem;
  vertical-align: top;
}

.property-table th {
  width: 80px;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
}

.property-table td {
  color: #555;
}

.property-note {
  font-size: 0.8rem;
  color: #999;
}

/* Company Table */
.company-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid #eee;
}

.company-table th,
.company-table td {
  padding: 18px 16px;
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}

.company-table th {
  width: 160px;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
}

.company-table td {
  color: #555;
}

.business-list {
  list-style: none;
  padding: 0;
}

.business-list li {
  padding: 2px 0;
  position: relative;
  padding-left: 14px;
}

.business-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: #0f3460;
  border-radius: 50%;
}

/* Contact */
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content > p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 32px;
}

.contact-info {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.contact-email {
  font-size: 1.2rem;
  font-weight: 500;
  color: #0f3460;
  letter-spacing: 0.05em;
}

/* Footer */
.footer {
  padding: 32px 0;
  text-align: center;
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1a1a2e;
    flex-direction: column;
    padding: 100px 40px;
    gap: 28px;
    transition: right 0.3s;
  }

  .nav-list.active {
    right: 0;
  }

  .nav-list a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .services-grid,
  .services-grid-sub {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .property-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .property-placeholder {
    height: 220px;
  }

  .company-table th {
    width: 120px;
    font-size: 0.85rem;
  }

  .company-table td {
    font-size: 0.85rem;
  }

  .contact-info {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 60px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero h1 {
    letter-spacing: 0.1em;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .company-table th {
    padding-top: 16px;
    border-bottom: none;
  }

  .company-table tr {
    border-bottom: 1px solid #eee;
  }

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

/* ==========================================
   Sub Pages - Shared Styles
   ========================================== */

/* Page Hero */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
}

.page-hero-label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

/* Service Card Link */
.service-card-link,
.service-card-link:hover,
.service-card-link:visited,
.service-card-link:active {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card-link h3,
.service-card-link p {
  text-decoration: none;
  color: inherit;
}

.service-card-link .service-card {
  position: relative;
}

.service-card-link .service-card::after {
  content: '\2192';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.2rem;
  color: #0f3460;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card-link:hover .service-card::after {
  opacity: 1;
}

/* Equipment Grid */
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.equipment-category {
  border-left: 3px solid #0f3460;
  padding: 20px 24px;
  background: #f8f9fa;
  border-radius: 0 4px 4px 0;
}

.equipment-category h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #0f3460;
  margin-bottom: 8px;
}

.equipment-category p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
}

/* Pricing Table */
.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 40px;
}

.pricing-section-label {
  max-width: 800px;
  margin: 0 auto 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0f3460;
  letter-spacing: 0.05em;
  padding-left: 4px;
}

.pricing-section-label + .pricing-table {
  margin-bottom: 36px;
}

.pricing-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 24px;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  overflow: hidden;
}

.pricing-table thead {
  background: #0f3460;
  color: #fff;
}

.pricing-table th {
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.05em;
}

.pricing-table td {
  padding: 16px 20px;
  font-size: 0.875rem;
  color: #555;
  border-bottom: 1px solid #eee;
}

.pricing-table td:last-child {
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-notes {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.pricing-notes li {
  font-size: 0.8rem;
  color: #999;
  padding: 2px 0 2px 16px;
  position: relative;
}

.pricing-notes li::before {
  content: '※';
  position: absolute;
  left: 0;
}

/* Profile Card */
.profile-card {
  max-width: 800px;
  margin: 0 auto;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stat-item {
  text-align: center;
  padding: 24px 12px;
  background: #f8f9fa;
  border-radius: 4px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #0f3460;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 8px;
}

.profile-details h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
  margin-top: 32px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.profile-details h3:first-child {
  margin-top: 0;
}

.profile-list {
  list-style: none;
  padding: 0;
}

.profile-list li {
  font-size: 0.875rem;
  color: #555;
  padding: 6px 0 6px 18px;
  position: relative;
}

.profile-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: #0f3460;
  border-radius: 50%;
}

.profile-locations {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.8;
}

/* Clients Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.client-item {
  display: block;
  background: #fff;
  padding: 28px 24px;
  border-radius: 4px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}

.client-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-bottom-color: #0f3460;
}

.client-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.client-desc {
  display: block;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.6;
}

/* Client Logo Grid */
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.client-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  padding: 32px 24px 24px;
  border-radius: 4px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}

.client-logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-bottom-color: #0f3460;
}

.client-logo-img {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.client-logo-img img {
  max-height: 40px;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}

.client-logo-item:hover .client-logo-img img {
  filter: grayscale(0%);
  opacity: 1;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  padding: 80px 0;
}

.cta-box {
  text-align: center;
  color: #fff;
}

.cta-box h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.cta-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  padding: 14px 40px;
  background: #fff;
  color: #0f3460;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  letter-spacing: 0.05em;
  transition: background 0.3s, transform 0.3s;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Creative Service Categories */
.creative-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.creative-cat-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 4px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  border-top: 3px solid #0f3460;
}

.creative-cat-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.creative-cat-card ul {
  list-style: none;
  padding: 0;
}

.creative-cat-card li {
  font-size: 0.85rem;
  color: #666;
  padding: 4px 0 4px 14px;
  position: relative;
}

.creative-cat-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  background: #0f3460;
  border-radius: 50%;
}

/* Feature List */
.feature-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: #555;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #0f3460;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Sub page responsive */
@media (max-width: 768px) {
  .page-hero {
    padding: 100px 0 40px;
  }

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

  .clients-grid,
  .clients-logo-grid {
    grid-template-columns: 1fr;
  }

  .creative-categories {
    grid-template-columns: 1fr;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .profile-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}
