/* リセットとベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.page-container {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

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

/* ボタンスタイル */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.primary-btn {
  background-color: #22c55e;
  color: white;
}

.primary-btn:hover {
  background-color: #16a34a;
}

.outline-btn {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.outline-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* セクションタイトル */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  color: #22c55e;
}

/* ヘッダー */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
  background-color: white;
}

.header-container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #22c55e;
}

.header-contact {
  display: none;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #22c55e;
}

.phone-link:hover {
  color: #16a34a;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/commercial-kitchen-hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
}

.hero-text {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text h1 span {
  display: block;
  margin-top: 0.5rem;
  color: #4ade80;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

/* 特徴セクション */
.features-section {
  padding: 3rem 0;
  background-color: white;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.feature-card i {
  color: #22c55e;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-card p {
  font-size: 1.125rem;
}

/* 買取品目セクション */
.purchase-items-section {
  padding: 3rem 0;
  background-color: #f9fafb;
}

.purchase-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.purchase-item-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.purchase-item-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.item-icon {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  background-color: #dcfce7;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  opacity: 0.7;
}

.purchase-item-card p {
  font-weight: 500;
  font-size: 1.125rem;
}

/* 高価買取対象のメーカーセクション */
.premium-brands-section {
  padding: 3rem 0;
  background-color: white;
}

.premium-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.brand-card {
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 7rem;
}

.brand-card img {
  max-height: 4rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.brand-card p {
  font-weight: 500;
  color: #666;
}

/* 買取事例セクション */
.purchase-examples-section {
  padding: 3rem 0;
  background-color: #f9fafb;
}

.tabs-container {
  margin-bottom: 3rem;
}

.tabs {
  display: flex;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  gap: 0.5rem;
  justify-content: center;
}

.tab-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.tab-btn:hover {
  background-color: #dcfce7;
}

.tab-btn.active {
  background-color: #22c55e;
  color: white;
}

.purchase-examples-grid {
  display: grid;
  gap: 2rem;
}

.example-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.example-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.example-image {
  position: relative;
  height: 16rem;
  width: 100%;
  overflow: hidden;
}

.example-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.example-card:hover .example-image img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0.8;
}

.example-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
}

.example-category {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: #22c55e;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.example-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.example-details {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #e5e7eb;
}

.example-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4ade80;
}

.more-examples {
  margin-top: 3rem;
  text-align: center;
}

/* 買取の流れセクション */
.purchase-flow-section {
  padding: 3rem 0;
  background-color: white;
}

.flow-steps {
  display: grid;
  gap: 2rem;
}

.flow-step {
  text-align: center;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  background-color: #dcfce7;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-icon i {
  font-size: 2rem;
  color: #22c55e;
}

.flow-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.flow-step p {
  color: #666;
}

/* 会社概要セクション */
.company-section {
  padding: 3rem 0;
  background-color: #f9fafb;
}

.company-info-container {
  max-width: 64rem;
  margin: 0 auto;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.company-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid #e5e7eb;
}

.company-info-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.company-info-card:last-child {
  border-bottom: none;
}

.info-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.info-icon i {
  font-size: 1.5rem;
  color: #22c55e;
}

.company-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.company-info-card ul {
  margin-top: 0.5rem;
}

.company-info-card li {
  margin-bottom: 0.5rem;
  color: #666;
}

.company-info-card span {
  font-weight: 500;
}

.service-area {
  padding: 1.5rem;
  background-color: #f9fafb;
  text-align: center;
}

.service-area p {
  color: #666;
}

.service-area span {
  font-weight: 500;
}

/* お問い合わせセクション */
.contact-section {
  padding: 3rem 0;
  background-color: #dcfce7;
}

.contact-header {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header p {
  font-size: 1.125rem;
  color: #666;
}

.contact-card {
  max-width: 28rem;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-phone {
  margin-bottom: 1.5rem;
}

.contact-phone i {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: 1rem;
}

.contact-phone h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.phone-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 0.5rem;
}

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

.contact-phone p {
  color: #666;
}

.contact-btn {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.125rem;
}

/* フッター */
.footer {
  padding: 2rem 0;
  background-color: #111827;
  color: white;
}

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

.footer-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-info p {
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.footer-info a:hover {
  color: white;
}

.footer-copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  text-align: center;
  color: #9ca3af;
}

/* レスポンシブデザイン */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

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

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }

  .header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-text h1 {
    font-size: 3.75rem;
  }

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

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

  .flow-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .company-info-grid {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: none;
  }

  .company-info-card {
    border-bottom: none;
    border-right: 1px solid #e5e7eb;
  }

  .company-info-card:last-child {
    border-right: none;
  }

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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