/* ============================================================
   タイムハック株式会社 共通スタイルシート
   timehacks.co.jp
   ブランドカラー: ダークグリーン #067409 / イエロー #ffe600
   ============================================================ */

:root {
  --c-primary: #067409;
  --c-primary-d: #045a07;
  --c-primary-l: #08990c;
  --c-accent: #ffe600;
  --c-accent-d: #f5dd00;
  --c-text: #414242;
  --c-text-sub: #6a7575;
  --c-bg: #ffffff;
  --c-bg-alt: #eaefef;
  --c-border: #d4dcdc;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(60,60,60,.06);
  --shadow-h: 0 6px 24px rgba(60,60,60,.12);
  --wrap: 1170px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', Meiryo, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.8; color: var(--c-text);
  background: var(--c-bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .72; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ===== ヘッダー ===== */
.site-header {
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--c-border);
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { width: 168px; height: auto; display: block; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; position: relative; z-index: 110;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--c-primary);
  margin: 5px 0; transition: .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul { display: flex; gap: 26px; align-items: center; }
.main-nav a { color: var(--c-text); font-size: 14px; font-weight: 500; }
.main-nav a[aria-current="page"] { color: var(--c-primary); font-weight: 700; }
.main-nav a.nav-cta {
  background: var(--c-primary); color: #fff; padding: 10px 20px;
  border-radius: var(--radius); font-weight: 700; white-space: nowrap;
}
.main-nav a.nav-cta:hover { background: var(--c-primary-d); opacity: 1; }

/* ===== パンくず ===== */
.breadcrumb { background: var(--c-bg-alt); padding: 12px 0; font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--c-text-sub); }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--c-border); }
.breadcrumb a { color: var(--c-text-sub); }
.breadcrumb a:hover { color: var(--c-primary); }

/* ===== 下層ページ ヒーロー ===== */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary-l) 0%, var(--c-primary-d) 100%);
  color: #fff; text-align: center; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .eyebrow {
  font-family: 'Oswald','Arial Black',Impact,sans-serif; font-size: 13px;
  letter-spacing: 5px; color: var(--c-accent); display: block; margin-bottom: 14px;
}
.page-hero h1 { font-size: clamp(26px, 4.5vw, 38px); font-weight: 700; line-height: 1.35; }
.page-hero .hero-lead { margin-top: 16px; font-size: 15px; opacity: .92; }

/* ===== セクション共通 ===== */
section { padding: 72px 0; }
section.alt { background: var(--c-bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  font-family: 'Oswald','Arial Black',Impact,sans-serif; font-size: 12px;
  letter-spacing: 4px; color: var(--c-primary-l); display: block; margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(22px, 3.4vw, 32px); font-weight: 700;
  color: var(--c-primary); line-height: 1.45;
}
.section-head .lead { margin-top: 16px; color: var(--c-text-sub); font-size: 15px; }
h3 { font-size: clamp(19px, 2.6vw, 24px); font-weight: 700; color: var(--c-primary); line-height: 1.5; }
h4 { font-size: 17px; font-weight: 700; color: var(--c-primary); line-height: 1.6; }

.prose p { margin-bottom: 1.4em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--c-primary); }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: .2s; cursor: pointer; border: 0; text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--c-accent); color: var(--c-primary); }
.btn-primary:hover { background: var(--c-accent-d); opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow-h); }
.btn-outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; opacity: 1; }
.btn-green { background: var(--c-primary); color: #fff; }
.btn-green:hover { background: var(--c-primary-d); opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow-h); }

/* ===== カード ===== */
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 30px 26px; transition: .25s;
}
.card:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); }
.card h3, .card h4 { margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--c-text-sub); line-height: 1.85; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ===== 仕様テーブル ===== */
.spec-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.spec-table th, .spec-table td {
  padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--c-border);
  font-size: 15px; vertical-align: top;
}
.spec-table th { background: var(--c-primary); color: #fff; font-weight: 500; width: 28%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td ul { padding-left: 1.2em; list-style: disc; }
.spec-table td li { margin-bottom: .4em; }

/* ===== チェックリスト ===== */
.check-list li {
  position: relative; padding-left: 30px; margin-bottom: 14px;
  font-size: 15px; line-height: 1.8;
}
.check-list li::before {
  content: ''; position: absolute; left: 4px; top: .55em;
  width: 8px; height: 14px; border-right: 3px solid var(--c-primary-l);
  border-bottom: 3px solid var(--c-primary-l); transform: rotate(45deg);
}

/* ===== CTA セクション ===== */
.cta-section {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%);
  color: #fff; text-align: center; padding: 72px 0;
}
.cta-section h2 { font-size: clamp(22px, 3.4vw, 30px); margin-bottom: 16px; }
.cta-section p { font-size: 15px; margin-bottom: 32px; opacity: .93; }
.cta-contact-info {
  margin-top: 30px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16);
  font-size: 14px; opacity: .9;
}
.cta-contact-info a { color: var(--c-accent); font-weight: 700; }

/* ===== フッター ===== */
.site-footer { background: var(--c-primary-d); color: #c9d6c9; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .05em; }
.footer-grid li { margin-bottom: 8px; font-size: 14px; }
.footer-grid a { color: #c9d6c9; }
.footer-grid a:hover { color: #fff; opacity: 1; }
.footer-company p { font-size: 13px; line-height: 1.85; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: #92a292;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-company { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .brand-logo { width: 138px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--c-border); display: none;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav li { width: 100%; border-bottom: 1px solid var(--c-border); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 16px 0; font-size: 15px; }
  .main-nav a.nav-cta { text-align: center; margin: 14px 0 4px; }
  section { padding: 52px 0; }
  .page-hero { padding: 48px 0 42px; }
  .spec-table th { width: 36%; padding: 13px 14px; font-size: 13px; }
  .spec-table td { padding: 13px 14px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
