/* ============================================
   STUDIO H デモサイト スタイルシート
   - CSS変数で色・余白を一元管理（保守しやすい書き方のお手本）
   - モバイルファースト + レスポンシブ対応
   ============================================ */

:root {
  /* カラー */
  --color-bg:        #ffffff;
  --color-bg-alt:    #f4f6f9;
  --color-text:      #1a2b4a;   /* ダークネイビー */
  --color-text-soft: #5a6b85;
  --color-accent:    #2563eb;   /* アクセントブルー */
  --color-accent-dk: #1d4ed8;
  --color-border:    #e2e7ee;

  /* レイアウト */
  --container-max: 1080px;
  --space-section: 88px;
  --radius: 12px;

  /* フォント */
  --font-base: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

/* --- リセット --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* --- 共通レイアウト --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--space-section) 0; }
.section-alt { background: var(--color-bg-alt); }

.section-eyebrow,
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--color-text-soft);
  margin-bottom: 32px;
}

/* --- ヘッダー --- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-soft);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--color-text); }

.nav-cta {
  padding: 8px 18px;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 999px;
}

.nav-cta:hover { background: var(--color-accent-dk); }

/* --- ヒーロー --- */
.hero {
  padding: 96px 0 104px;
  background: linear-gradient(180deg, #f4f6f9 0%, #ffffff 100%);
  text-align: center;
}

.hero-title {
  font-size: 42px;
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero-lead {
  color: var(--color-text-soft);
  font-size: 17px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- ボタン --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--color-accent-dk);
  transform: translateY(-2px);
}

.btn-ghost {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover { transform: translateY(-2px); }

.btn-large { padding: 18px 44px; font-size: 16px; }

/* --- カードグリッド --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 43, 74, 0.1);
}

.card-title {
  font-size: 19px;
  margin-bottom: 12px;
}

.card-text {
  font-size: 15px;
  color: var(--color-text-soft);
}

/* --- 制作実績プレースホルダー --- */
.work-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: #fff;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* --- About --- */
.about-inner { max-width: 720px; }

.about-text {
  font-size: 16px;
  margin-bottom: 16px;
}

.about-note {
  font-size: 13px;
  color: var(--color-text-soft);
}

/* --- お問い合わせ --- */
.section-cta {
  background: var(--color-text);
  color: #fff;
  text-align: center;
}

.section-cta .section-title { color: #fff; }
.section-cta .section-lead { color: rgba(255, 255, 255, 0.75); }

/* --- フッター --- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-logo {
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.footer-copy {
  font-size: 13px;
  color: var(--color-text-soft);
}

/* ============================================
   レスポンシブ（スマホ・タブレット）
   ============================================ */
@media (max-width: 768px) {
  :root { --space-section: 60px; }

  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { display: none; } /* スマホでは主要リンクを省略 */

  .hero { padding: 64px 0 72px; }
  .hero-title { font-size: 30px; }
  .hero-lead { font-size: 15px; }

  .section-title { font-size: 23px; }

  .card-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: stretch; }
}
