/* リセットとベーススタイル */
* {
  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;
}

/* コンテナ */
.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: #2563eb;
  color: white;
}

.primary-btn:hover {
  background-color: #1d4ed8;
}

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

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

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

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

h2 span {
  color: #2563eb;
}

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

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

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

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #2563eb;
}

.header-contact {
  display: none;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2563eb;
  font-weight: 700;
}

.phone-link:hover {
  color: #1d4ed8;
}

/* モバイルメニュー */
.mobile-menu-button {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2563eb;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 40;
}

.mobile-menu-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ヒーローセクション */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-image: url('../images/office_hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

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

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

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

.hero h1 span {
  display: block;
  margin-top: 0.5rem;
  color: #93c5fd;
}

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

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

/* 特徴セクション */
.features {
  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: #2563eb;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

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

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

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

.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;
}

.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: #dbeafe;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.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 {
  padding: 3rem 0;
  background-color: #f9fafb;
}

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

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

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

.tab-btn.active {
  background-color: #2563eb;
  color: white;
}

.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);
}

.example-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-tag {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.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: #93c5fd;
}

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

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

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

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

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

.flow-icon i {
  font-size: 2rem;
  color: #2563eb;
}

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

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

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

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

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

.company-section {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
}

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

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

.company-icon i {
  font-size: 1.5rem;
  color: #2563eb;
}

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

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

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

.company-section li span {
  font-weight: 500;
}

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

.company-footer p {
  color: #666;
}

.company-footer span {
  font-weight: 500;
}

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

.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: 32rem;
  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: #2563eb;
  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: #2563eb;
  margin-bottom: 0.5rem;
}

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

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

/* よくある質問セクション */
.faq {
  padding: 3rem 0;
  background-color: white;
}

.faq-grid {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9fafb;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1rem 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  color: #666;
}

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

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

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

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

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

.footer-bottom {
  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;
  }

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

@media (min-width: 768px) {
  .header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .mobile-menu-button {
    display: none;
  }

  h2 {
    font-size: 2.5rem;
  }

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

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

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

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

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

  .company-section {
    border-bottom: none;
    border-right: 1px solid #f3f4f6;
  }

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

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

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

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

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