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

:root {
  --color-indigo: #1A3A52;
  --color-beige: #E8DCC8;
  --color-orange: #E8A55C;
  --color-white: #FFFFFF;
  --color-text: #2C2C2C;
  --color-light-bg: #F5F2ED;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-xxl: 120px;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header */
.header {
  padding: var(--spacing-md) 0;
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(26, 58, 82, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  display: block;
}

.brand-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-indigo);
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(180deg, var(--color-light-bg) 0%, var(--color-white) 100%);
  text-align: center;
}

.hero .container {
  display: flex;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 400;
  color: var(--color-indigo);
  margin-bottom: var(--spacing-md);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--color-orange);
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
}

.hero-description {
  font-size: 16px;
  color: var(--color-text);
  line-height: 2;
}

/* Features Section */
.features {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
  text-align: center;
}

.features .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  width: 100%;
}

.feature-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.feature-icon {
  margin-bottom: var(--spacing-md);
}

.feature-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-indigo);
  margin-bottom: var(--spacing-sm);
}

.feature-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
}

/* Section Titles */
.section-title {
  font-size: 32px;
  font-weight: 400;
  color: var(--color-indigo);
  text-align: center;
  margin-bottom: var(--spacing-md);
  letter-spacing: 1px;
}

.section-description {
  text-align: center;
  font-size: 16px;
  color: var(--color-text);
  line-height: 2;
  margin-bottom: var(--spacing-lg);
}

/* Diagnostic Section */
.diagnostic {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-light-bg);
  text-align: center;
}

.diagnostic .container {
  display: flex;
  justify-content: center;
}

.diagnostic-content {
  max-width: 700px;
  text-align: center;
}

.placeholder-box {
  background-color: var(--color-white);
  border: 2px dashed var(--color-beige);
  padding: var(--spacing-xl);
  text-align: center;
  color: #999;
  border-radius: 4px;
}

/* Products Section */
.products {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
  text-align: center;
}

.products .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  width: 100%;
}

.product-card {
  border: 1px solid rgba(26, 58, 82, 0.1);
  padding: var(--spacing-md);
  border-radius: 4px;
  background-color: var(--color-white);
}

.product-image {
  width: 100%;
  height: 240px;
  background-color: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: #999;
  font-size: 14px;
}

.product-name {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-indigo);
  margin-bottom: var(--spacing-sm);
}

.product-description {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}

.product-price {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-orange);
  margin-bottom: var(--spacing-md);
}

.product-button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: var(--color-indigo);
  color: var(--color-white);
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

.product-button:hover {
  background-color: #2d5370;
}

/* Subscription Section */
.subscription {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-light-bg);
  text-align: center;
}

.subscription .container {
  display: flex;
  justify-content: center;
}

.subscription-content {
  max-width: 800px;
  text-align: center;
}

.subscription-features {
  margin-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.sub-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.sub-icon {
  color: var(--color-orange);
  font-size: 12px;
}

/* Business Section */
.business {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
  text-align: center;
}

.business .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  max-width: 1200px;
  width: 100%;
}

.business-card {
  padding: var(--spacing-lg);
  background-color: var(--color-light-bg);
  border-radius: 4px;
  text-align: center;
}

.business-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-indigo);
  margin-bottom: var(--spacing-sm);
}

.business-card p {
  font-size: 14px;
  color: var(--color-text);
}

/* Workshop Section */
.workshop {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-light-bg);
  text-align: center;
}

.workshop .container {
  display: flex;
  justify-content: center;
}

.workshop-content {
  max-width: 800px;
  text-align: center;
}

.workshop-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  max-width: 800px;
  width: 100%;
}

.workshop-type {
  padding: var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: 4px;
  border: 1px solid rgba(26, 58, 82, 0.1);
}

.workshop-type h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-indigo);
  margin-bottom: var(--spacing-sm);
}

.workshop-type p {
  font-size: 14px;
  color: var(--color-text);
}

/* Articles Section */
.articles {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
  text-align: center;
}

.articles .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  width: 100%;
}

.article-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(26, 58, 82, 0.1);
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--color-white);
}

.article-card:hover {
  box-shadow: 0 4px 12px rgba(26, 58, 82, 0.1);
}

.article-image {
  width: 100%;
  height: 240px;
  background-color: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.article-content {
  padding: var(--spacing-md);
}

.article-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-indigo);
  margin-bottom: var(--spacing-sm);
}

.article-excerpt {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.8;
}

/* Contact Section */
.contact {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-light-bg);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.contact-item {
  text-align: center;
}

.contact-item h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-indigo);
  margin-bottom: var(--spacing-sm);
}

.contact-item p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
}

.contact-item a {
  color: var(--color-text);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--color-orange);
}

/* Footer */
.footer {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  background-color: var(--color-indigo);
  color: var(--color-white);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--spacing-lg);
}

.footer-logo .brand-name {
  color: var(--color-white);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-beige);
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--color-orange);
}

.copyright {
  font-size: 13px;
  color: var(--color-beige);
}

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

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .features-grid,
  .products-grid,
  .business-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}

/* New Hero Section with Image */
.hero {
  padding: 0;
  background: var(--color-white);
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: center;
}

.hero-image-container {
  width: 100%;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content-wrapper {
  padding: var(--spacing-xl) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-light-bg) 0%, var(--color-white) 100%);
}

.hero-content {
  max-width: 500px;
  text-align: left;
}

/* Product & Article Images */
.product-image-wrapper,
.article-image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background-color: var(--color-light-bg);
}

.product-image-real,
.article-image-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 58, 82, 0.08);
}

.article-card {
  border-radius: 8px;
  overflow: hidden;
}

.product-button-phone {
  background-color: var(--color-orange);
}

.product-button-phone:hover {
  background-color: #F5B970;
}

.price-period {
  font-size: 16px;
  font-weight: 400;
}

/* New Footer Design */
.footer {
  padding: var(--spacing-xl) 0 var(--spacing-md);
  background-color: var(--color-indigo);
  color: var(--color-white);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(232, 220, 200, 0.2);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-description {
  font-size: 14px;
  color: var(--color-beige);
  line-height: 1.6;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-nav-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.footer-nav-column a {
  color: var(--color-beige);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-nav-column a:hover {
  color: var(--color-orange);
}

.footer-bottom {
  text-align: center;
}

/* Responsive Updates */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-image-container {
    min-height: 400px;
  }

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

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

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-image-container {
    min-height: 300px;
  }

  .hero-content-wrapper {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .footer-nav-grid {
    gap: var(--spacing-md);
  }
}
