/* === KEW ブランド変数 ===================================================
   メイン: #eb6210 (オレンジ)
   リンク: #028951 (グリーン)
   ベース: #f7f7ea / テキスト: #393633
======================================================================== */
:root {
  --kew-orange: #eb6210;
  --kew-orange-dark: #c44e08;
  --kew-orange-soft: #fde9d8;
  --kew-green: #4baa7f;
  --kew-green-dark: #028951;
  --kew-green-soft: #c3f3db;
  --kew-base: #f7f7ea;
  --kew-base-2: #eeeede;
  --kew-ink: #393633;
  --kew-ink-soft: #6a6660;
  --kew-line: #d8d6c5;
  --kew-cream: #fdfdf3;
  --kew-deep: #2a2722;
  --font-kokoro: 'Kokoro', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-jp: 'Noto Sans JP', -apple-system, 'Hiragino Sans', sans-serif;
  --font-en: 'Inter', 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-jp);
  background: var(--kew-base);
  color: var(--kew-ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img { display: block; max-width: 100%; }
a { color: var(--kew-green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; }

.kokoro { font-family: var(--font-kokoro); font-weight: 400; }
.heading-orange { color: var(--kew-orange); }
.lead-en {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 2em;
  color: var(--kew-green-dark);
}
.lead-en.muted { color: var(--kew-ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
  font-family: var(--font-jp);
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; text-decoration: none; }

.btn-sm  { padding: 8px 16px; font-size: 0.8rem}
.btn-md  { padding: 11px 22px; font-size: 1rem;}
.btn-lg  { padding: 15px 30px; font-size: 1rem;}

.btn-primary { background: var(--kew-orange); color: #fff; box-shadow: 0 2px 0 var(--kew-orange-dark); }
.btn-outline  { background: #fff; color: var(--kew-ink); border: 1.5px solid var(--kew-line); }
.btn-white    { background: #fff; color: var(--kew-orange-dark); }

.section    { padding: 80px 56px; }
.section-sm { padding: 60px 56px; }

.card-white {
  background: #fff;
  border: 1px solid var(--kew-line);
  border-radius: 16px;
  padding: 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  border-bottom: 1px solid var(--kew-line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: var(--font-jp);
  color: var(--kew-ink);
}
.site-header > a { flex-shrink: 0; }
.site-header > a img { height: 28px; width: auto; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}
.site-header nav a { color: var(--kew-ink); text-decoration: none; white-space: nowrap; }
.site-header nav a.active { color: var(--kew-orange); }
.site-header nav a:hover { color: var(--kew-orange); text-decoration: none; }
.site-header nav a.btn-primary,
.site-header nav a.btn-primary:hover { color: #fff; }
.site-header nav a.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  font-family: var(--font-jp);
  padding: 8px 16px;
  font-size: 0.8rem;
  background: var(--kew-orange);
  color: #fff;
  box-shadow: 0 2px 0 var(--kew-orange-dark);
  transition: opacity 0.15s;
}
.site-header nav a.btn-contact:hover { opacity: 0.88; color: #fff; text-decoration: none; }

/* ── Responsive (サイト全体) ── */
@media (max-width: 1100px) {
  .focus-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .works-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .work-main { grid-row: span 1; height: 280px; }
}
@media (max-width: 1000px) {
  .site-header nav .btn,
  .site-header nav a.btn-contact { display: none; }
  .site-header nav { gap: 20px; font-size: 1rem; }
}
@media (min-width: 769px) and (max-width: 1000px) {
  .cta-band { padding-bottom: 110px; }
  .cta-chara { display: block; width: 90px; right: 24px; bottom: 16px; top: auto; transform: none; }
}
@media (max-width: 900px) {
  .section, .section-sm { padding: 60px 24px; }
}
@media (max-width: 768px) {
  .site-header {
    padding: 10px 16px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .site-header > a { padding-bottom: 8px; }
  .site-header > a img { height: 18px; }
  .site-header nav {
    width: 100%;
    gap: 14px;
    font-size: 0.7rem;
    border-top: 1px solid var(--kew-line);
    padding: 8px 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .site-header nav .btn,
  .site-header nav a.btn-contact { display: none; }
  .hero { padding:10px 20px 48px; }
  .hero-h1 { font-size: 30px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-stat { border-right: none; padding-right: 0; text-align: left; padding-left: 0; }
  .trust-bar, .ai-section, .cta-band, .site-footer { padding-left: 20px; padding-right: 20px; }
  .section, .section-sm { padding: 56px 20px; }
  .works-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .work-main { height: 260px; }
  .principles-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; gap: 32px; align-items: flex-start; }
  .cta-title { font-size: 1.5rem; }
  .cta-chara { width: 72px; right: 16px; bottom: 16px; top: auto; transform: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero-chara { display: none; }
  .hero-content { margin-left: 0; text-align: left; }
}
@media (max-width: 600px) {
  .section, .section-sm { padding: 48px 16px; }
}

@media (max-width: 767px) {
  #page.page-list { padding: 1rem 1rem; }
  #page .main .area-scroll .sec-piece p{ margin-bottom: 2em; }
}

@media only screen and (max-width: 767px) {
    #page .main .area-lead h1 {
        font-size: 1.5rem;
    }