/* ========================================
   サイトマップ用スタイルシート
   ======================================== */

/* ========================================
   リセット & ベース設定
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans',
    'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', Meiryo, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
  min-height: 100vh;
}

/* ========================================
   コンテナ
   ======================================== */
.container {
  max-width: 1024px;
  margin: 0 auto;
  background-color: #fff;
  min-height: 100vh;
}

/* ========================================
   ヘッダー
   ======================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-wrapper {
  text-align: left;
}

.site-logo {
  display: block;
  width: 100px;
  height: auto;
}

.sitemap-page-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.4;
}

/* ========================================
   メインコンテンツ
   ======================================== */
.main-content {
  padding: 50px 40px;
}

.intro {
  background: #f9f9f9;
  padding: 24px 28px;
  border-radius: 12px;
  margin-bottom: 50px;
  border: 1px solid #eee;
}

.intro p {
  font-size: 0.95rem;
  color: #5a6c7d;
  line-height: 1.8;
}

/* ========================================
   サイトマップセクション
   ======================================== */
.sitemap-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sitemap-section {
  border-radius: 16px;
  padding: 36px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.sitemap-section:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sitemap-section h2 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 28px;
  font-weight: bold;
  letter-spacing: 0.3px;
}

/* ========================================
   カテゴリグループ
   ======================================== */
.category-group {
  margin-bottom: 36px;
}

.category-group:last-child {
  margin-bottom: 0;
}

.category-group h3 {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 18px;
  font-weight: bold;
  letter-spacing: 0.3px;
  display: inline-block;
  padding: 6px 16px;
  background: #f9f9f9;
  border-radius: 20px;
}

/* ========================================
   ページリスト
   ======================================== */
.page-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  padding-left: 0;
}

.page-list li {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.page-list li:hover {
  border-color: #e61e0a;
  box-shadow: 0 4px 16px rgba(230, 30, 10, 0.12);
  transform: translateY(-3px);
}

.page-list li a {
  display: block;
  padding: 14px 18px;
  color: #2c3e50;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  font-weight: 400;
}

.page-list li a:hover {
  color: #e61e0a;
  padding-left: 22px;
}

/* ブランドリスト（列数を調整） */
.brand-list {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ========================================
   フッター
   ======================================== */
.site-footer {
  background: #f9f9f9;
  border-top: 1px solid #eee;
  color: #333;
  padding: 24px 15px;
  text-align: center;
  margin-top: 40px;
}

.footer-inner p {
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.footer-inner a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: #e61e0a;
  text-decoration: none;
}

/* ========================================
   パンくずリスト
   ======================================== */
.breadcrumbs {
  padding: 16px 15px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

.breadcrumbs ol {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumbs li + li::before {
  content: '›';
  color: #aaa;
  font-size: 12px;
}

.breadcrumbs a,
.breadcrumbs span {
  font-size: 11px;
  color: #888;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #e61e0a;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 768px) {
  .main-content {
    padding: 30px 15px 40px;
  }

  .sitemap-section {
    padding: 24px;
  }

  .sitemap-section h2 {
    font-size: 1.2rem;
  }

  .sitemap-page-title {
    font-size: 18px;
  }

  .category-group {
    margin-bottom: 28px;
  }

  .category-group h3 {
    font-size: 1.05rem;
  }

  .page-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand-list {
    grid-template-columns: 1fr;
  }

  .intro {
    padding: 20px;
    margin-bottom: 40px;
  }

  .intro p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 24px 15px 32px;
  }

  .sitemap-section {
    padding: 20px;
  }

  .sitemap-section h2 {
    font-size: 1.1rem;
  }

  .sitemap-page-title {
    font-size: 16px;
  }

  .category-group h3 {
    font-size: 1rem;
    padding: 5px 14px;
  }

  .page-list li a {
    font-size: 0.88rem;
    padding: 12px 16px;
  }

  .page-list li a:hover {
    padding-left: 20px;
  }
}

/* ========================================
   ハンバーガーメニュー
   ======================================== */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
}

.hamburger-btn__line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 10000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hamburger-menu.active {
  display: block;
}

.menu-content-wrapper {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.close-section {
  display: flex;
  justify-content: flex-end;
  padding: 16px 0;
}

.close-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button svg {
  width: 24px;
  height: 24px;
}

.hamburger-menu .menu-logo {
  display: block;
  margin-bottom: 30px;
}

.hamburger-menu .menu-logo img {
  width: 120px;
  height: auto;
}

.hamburger-menu .navigation-section {
  margin-bottom: 30px;
}

.hamburger-menu .nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.hamburger-menu .nav-item:first-child {
  border-top: 1px solid #f0f0f0;
}

.hamburger-menu .nav-text {
  font-size: 16px;
  font-weight: bold;
}

.hamburger-menu .nav-item__arrow {
  display: flex;
  align-items: center;
}

.hamburger-menu .nav-item__arrow svg {
  width: 17px;
  height: 15px;
}

.hamburger-menu .action-buttons-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.hamburger-menu .action-button {
  display: block;
  border: 1.5px solid #43c66f;
  border-radius: 4px;
  padding: 16px 20px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.hamburger-menu .action-button:hover {
  background-color: #f9fff9;
}

.hamburger-menu .button-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hamburger-menu .button-text {
  font-size: 14px;
  font-weight: bold;
}

.hamburger-menu .button-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 10px;
}

.hamburger-menu .button-icon svg {
  width: 20px;
  height: 20px;
}

.hamburger-menu .bottom-sections {
  margin-top: 20px;
}

.hamburger-menu .company-section {
  margin-bottom: 20px;
}

.hamburger-menu .company-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.hamburger-menu .company-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px 10px 0;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.hamburger-menu .company-icon {
  display: flex;
  align-items: center;
}

.hamburger-menu .company-icon svg {
  width: 16px;
  height: 16px;
}

.hamburger-menu .contact-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hamburger-menu .contact-item {
  text-decoration: underline;
  color: #333;
  font-size: 13px;
  line-height: 1.6;
}

.hamburger-menu .contact-text {
  font-size: 13px;
}

.hamburger-menu .sns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-bottom: 20px;
}

.hamburger-menu .sns__text {
  font-size: 16px;
  color: #333;
}

.hamburger-menu .social-icons {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hamburger-menu .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-menu .social-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
