/* =========
   共通リセット
   ========= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #111;
  background: #ffffff;
  line-height: 1.6;
}

/* =========
   ヘッダー
   ========= */

.site-header {
  background: #000000;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ロゴ周り */
.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

/* テキスト系（現在は未使用だが念のため残す） */
.brand-text {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.brand-name {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 11px;
  opacity: 0.7;
}

.global-nav {
  display: flex;
  gap: 20px;
}

.global-nav a {
  font-size: 13px;
  text-decoration: none;
  color: #f5f5f5;
  opacity: 0.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.2s ease;
}

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

/* =========
   ページ枠
   ========= */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* =========
   ヒーロー
   ========= */

.hero {
  padding: 40px 32px 48px;
  margin-bottom: 32px;
  border-radius: 20px;
  background: #f5f5f5;
}

.hero-inner {
  max-width: 100%;
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 8px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 14px;
}

.hero-lead {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* =========
   ツールセクション
   ========= */

.tools-section {
  margin-bottom: 32px;
  background: #f3f3f3;
  border-radius: 18px;
  padding: 26px 28px 28px;
}

.tools-section--business {
  background: #f0f0f0;
}

.tools-section-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tools-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.tools-section-title {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tools-section-desc {
  margin: 0;
  font-size: 13px;
  color: #555;
  max-width: 520px;
}

/* =========
   カード群（PC：横並び）
   ========= */

.tool-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.tool-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e1e1e1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 12px);
  min-width: 260px;
  max-width: 340px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.tool-card-image {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
  background: #f5f5f5;
}

.tool-card-image img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  height: 140px;
  background: #eaeaea;
  color: #777;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-card-image--placeholder span {
  opacity: 0.8;
}

.tool-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tool-card-title {
  font-size: 15px;
  margin: 0;
}

.tool-card-description {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* =========
   フッター
   ========= */

.site-footer {
  border-top: 1px solid #eee;
  padding: 20px 0 28px;
  background: #ffffff;
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
}

.footer-meta {
  font-size: 11px;
  color: #888;
  margin: 0;
}

/* =========
   ちょいレスポンシブ（PC CSS 内）
   ========= */

@media (max-width: 1024px) {
  .tools-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-card {
    flex: 1 1 calc(50% - 12px);
  }
}

.tool-card-link { text-decoration: none; color: inherit; }
.tool-card-link:hover { text-decoration: none; color: inherit; }
