/* =================================================================
   about.css
   - /about/ 専用スタイル（<body class="about"> スコープ）
   - PaperMod 既定の header/footer/main コンテナを無効化し、
     about.html 側で定義した独自レイアウトのみ表示する
   ================================================================= */

.about {
  --bg:           #ffffff;
  --bg-soft:      #f7f8f7;
  --ink:          #1a1f1a;
  --ink-2:        #4a4f4a;
  --ink-3:        #6a706a;
  --ink-mute:     #b3b8b3;
  --line:         #e3e5e3;
  --accent-700:   #2a7a3a;
  --accent-600:   #318a45;
  --maxw:         1080px;

  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

.about *  { box-sizing: border-box; }
.about a  { color: inherit; text-decoration: none; }
.about img { max-width: 100%; display: block; }

.about .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* PaperMod 既定の Header / Footer / Main 余白を打ち消す */
.about > header.header,
.about > footer.footer,
.about #site-banner { display: none !important; }
.about .main { padding: 0; max-width: none; margin: 0; }

/* ===== TOP BAR =====
   assets/css/pages/site-header.css に統合済み（2026-08-16）。
   .topbar / .brand* / .nav* はページ非スコープの共通スタイルに一本化したため、
   ここでの重複定義は削除した（.ic のアイコンサイズ指定のみ残す）。 */
.about .ic { width: 14px; height: 14px; stroke-width: 2; }

/* ===== BANNER (above hero) ===== */
.about-banner {
  position: relative;
  width: 100%;
  max-height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.about-banner img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-banner-tagline {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 max(24px, calc((100% - 1100px) / 2));
  pointer-events: none;
}
.about-banner-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(20, 50, 60, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.about-banner-title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: #0e2a36;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
@media (max-width: 720px) {
  .about-banner { max-height: 160px; }
  .about-banner img { max-height: 160px; }
  .about-banner-tagline { padding: 0 16px; }
}

/* ===== HERO ===== */
.about-hero {
  padding: 40px 0 40px;
  background:
    radial-gradient(ellipse at top right, rgba(42,122,58,0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 65%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: center;
}
.about-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  display: flex; align-items: center; justify-content: center;
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-avatar-fallback {
  color: #fff; font-weight: 700; font-size: 36px; letter-spacing: .04em;
  font-family: "Inter", sans-serif;
}

.about .eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-700); font-weight: 600;
  margin-bottom: 8px;
}
.about-title {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 4px 0 14px;
  color: var(--ink);
}
.about-lede {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 18px;
}
.about-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.about-chip {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px; color: var(--ink-3);
  background: var(--bg);
}

@media (max-width: 720px) {
  .about-hero { padding: 40px 0 32px; }
  .about-hero-grid { grid-template-columns: 100px 1fr; gap: 20px; }
  .about-avatar { width: 100px; height: 100px; }
  .about-avatar-fallback { font-size: 28px; }
  /* .topbar 系のモバイル対応は assets/css/pages/site-header.css に統合済み（2026-08-16） */
}

/* ===== SECTION ===== */
.about-section {
  padding: 56px 0;
}
.about-section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--ink);
  position: relative;
  padding-left: 14px;
}
.about-h2::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 4px; height: 22px;
  border-radius: 2px;
  background: var(--accent-700);
}
.about-sub {
  color: var(--ink-3);
  font-size: 13.5px;
  margin: 0 0 24px;
}

/* ===== PROSE ===== */
.about-prose p {
  margin: 0 0 16px;
  color: var(--ink-2);
  line-height: 1.95;
}
.about-prose p:last-child { margin-bottom: 0; }

/* ===== PILLAR GRID =====
   実体は assets/css/pages/pillar-card.css に切り出し済み（2026-08-17）。
   about.html 側は .pillar-card-grid / .pillar-card 系クラスを使用する。
   トップページ（home.css）とこのファイルの両方から共通利用するため、
   about スコープに閉じた重複定義は持たない
   （topbar/footer が7ファイルに重複した反省を踏まえた対応）。
   読み込みは layouts/partials/extend_head.html 側で About/Home 両方に付与している。 */

/* ===== POLICY LIST ===== */
.about-policy {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.about-policy li {
  padding: 16px 18px;
  background: var(--bg);
  border-left: 3px solid var(--accent-700);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.about-policy strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* ===== CONTACT ===== */
.about-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.about-contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.15s ease;
}
.about-contact-card:hover {
  border-color: var(--accent-700);
  transform: translateY(-1px);
}
.about-contact-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent-700);
  flex-shrink: 0;
}
.about-contact-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.about-contact-handle { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* 単一カード（X一本化）レイアウト */
.about-contact-single { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
.about-contact-card-lg { padding: 20px 24px; }
.about-contact-card-lg .about-contact-icon { width: 46px; height: 46px; }
.about-contact-card-lg .about-contact-name { font-size: 15px; }
.about-contact-card-lg .about-contact-handle { font-size: 13px; }
.about-contact-note { font-size: 11.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }

/* ===== DISCLAIMER ===== */
.about-disclaimer p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.85;
  margin: 0 0 12px;
}
.about-disclaimer p:last-child { margin-bottom: 0; }

/* ===== AD SLOT ===== */
.about .ad-wrap { padding: 24px 0 48px; }
.about .ad-slot {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--ink-mute);
  font-size: 11px;
  margin: 0 auto;
}
.about .ad-banner { max-width: 728px; height: 90px; }

/* ===== FOOTER =====
   実際のHTML要素は <footer class="site-footer"> のみで、.about-footer は
   一致しないため元々効いていなかった。assets/css/pages/site-header.css の
   .site-footer 系スタイルに統合済み（2026-08-16）。 */
