/* =========
   共通リセット
   ========= */
*,
*::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 {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
}

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

/* 残しておくテキスト系（現在は未使用） */
.brand-text {
  display: flex;
  flex-direction: column;
  margin-left: 8px;
}

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

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

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

.global-nav a {
  font-size: 11px;
  text-decoration: none;
  color: #f5f5f5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

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

.page {
  padding: 18px 14px 28px;
}

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

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

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

.hero-kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 4px;
}

.hero-title {
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 8px;
}

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

/* =========
   ツールセクション（スマホ）
   ========= */

.tools-section {
  margin-bottom: 20px;
  background: #f3f3f3;
  border-radius: 14px;
  padding: 14px 14px 16px;
}

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

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

.tools-section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.tools-section-desc {
  margin: 0;
  font-size: 11px;
  color: #555;
}

/* =========
   カード群（スマホ：縦並び）
   ========= */

.tool-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e1e1e1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tool-card-image {
  position: relative;
  padding-top: 58%;
  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: 120px;
  background: #eaeaea;
  color: #777;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

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

/* =========
   フッター（スマホ）
   ========= */

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

.site-footer-inner {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

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

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