/* ===== リセット・基本 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #1a1a2e;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== 変数 ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --dark: #0f172a;
  --light: #f1f5f9;
  --text-muted: #64748b;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ===== レイアウト ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; background: #fff; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); }

/* ===== ヘッダー ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.3s;
}
#header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.1); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-weight: 700; font-size: 1.1rem; color: var(--primary); }
nav a { margin-left: 32px; font-size: 0.9rem; color: #334155; transition: color 0.2s; }
nav a:hover { color: var(--primary); }
.btn-nav {
  background: var(--primary); color: #fff !important;
  padding: 8px 20px; border-radius: 6px; transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; }

/* ハンバーガー */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #334155; transition: 0.3s;
}
.mobile-menu {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid #e2e8f0; padding: 16px 0;
}
.mobile-menu.open { display: flex; }
.mobile-link { padding: 12px 24px; font-size: 0.95rem; color: #334155; }
.mobile-link:hover { background: var(--light); }

/* ===== ヒーロー ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: url('images/hero.jpeg') center center / cover no-repeat;
  position: relative; overflow: hidden; padding-top: 64px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,50,0.55) 0%, rgba(10,20,60,0.45) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto; padding: 0 24px;
  text-align: center; color: #fff;
}
.hero-sub {
  display: inline-block;
  background: rgba(245,158,11,0.2); color: var(--accent);
  border: 1px solid var(--accent); border-radius: 20px;
  padding: 4px 16px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 20px; letter-spacing: 0.08em;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.3;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1rem; color: #94a3b8; margin-bottom: 36px; line-height: 1.8;
}
.btn-primary {
  display: inline-block;
  background: var(--primary); color: #fff;
  padding: 14px 36px; border-radius: 8px;
  font-size: 1rem; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== セクションタイトル ===== */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; text-align: center; margin-bottom: 12px;
  color: #0f172a;
}
.section-title.light { color: #fff; }
.section-sub {
  text-align: center; color: #334155; margin-bottom: 56px;
}
.section-sub.light { color: #94a3b8; }

/* ===== カード（サービス） ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: #fff; border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.card-accent {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}
.card-accent p { color: rgba(255,255,255,0.85); }
.card-accent li { color: rgba(255,255,255,0.9); }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.card-accent p { color: rgba(255,255,255,0.85); }
.card ul { padding-left: 0; }
.card li {
  font-size: 0.85rem; color: var(--text-muted);
  padding: 4px 0; padding-left: 16px; position: relative;
}
.card li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}
.card-accent li { color: rgba(255,255,255,0.9); }
.card-accent li::before { color: var(--accent); }

/* ===== 選ばれる理由 ===== */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.reason { text-align: center; padding: 24px; }
.reason-num {
  display: block; font-size: 2.5rem; font-weight: 900;
  color: var(--primary); opacity: 0.15; line-height: 1;
  margin-bottom: 8px;
}
.reason h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.reason p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== 会社概要 ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
.about-table { width: 100%; border-collapse: collapse; }
.about-table th, .about-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem; text-align: left;
  vertical-align: top;
}
.about-table th {
  width: 130px; color: var(--text-muted); font-weight: 600;
  white-space: nowrap;
}
.furigana { font-size: 0.8rem; color: var(--text-muted); }
.map-placeholder {
  background: #e2e8f0; border-radius: var(--radius);
  height: 280px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--text-muted); font-size: 0.9rem; line-height: 1.8;
}

/* ===== お問い合わせ ===== */
.contact-form { max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
label { font-size: 0.85rem; font-weight: 600; color: #cbd5e1; }
.required {
  background: #ef4444; color: #fff;
  font-size: 0.7rem; padding: 1px 6px; border-radius: 3px; margin-left: 4px;
}
input, select, textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 12px 14px;
  color: #fff; font-size: 0.95rem; width: 100%;
  font-family: inherit; transition: border-color 0.2s;
}
input::placeholder, textarea::placeholder { color: #64748b; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary);
}
select option { background: #1e293b; }
textarea { resize: vertical; }
.form-result {
  margin-top: 16px; text-align: center; font-size: 0.9rem;
  color: #4ade80;
}

/* ===== フッター ===== */
footer {
  background: #020617; color: #64748b;
  padding: 40px 0;
}
.footer-inner { text-align: center; }
.footer-logo { font-size: 1rem; font-weight: 700; color: #94a3b8; margin-bottom: 16px; }
.footer-nav { margin-bottom: 20px; }
.footer-nav a { margin: 0 16px; font-size: 0.85rem; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.copyright { font-size: 0.8rem; }

/* ===== カード2列 ===== */
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

/* ===== 実績 ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.result-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--accent);
  transition: transform 0.3s;
}
.result-card:hover { transform: translateY(-4px); }
.result-tag {
  font-size: 0.75rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px;
}
.result-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.result-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.result-card strong { color: var(--primary); }

/* ===== プロフィール ===== */
.profile-wrap { max-width: 760px; margin: 0 auto; }
.profile-name {
  font-size: 1.4rem; font-weight: 800; margin-bottom: 24px;
}
.profile-name span {
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  margin-left: 12px;
}
.profile-history { padding-left: 0; display: flex; flex-direction: column; gap: 16px; }
.profile-history li {
  display: flex; gap: 20px; font-size: 0.9rem;
  padding: 16px; background: #fff; border-radius: 8px;
  border-left: 4px solid var(--primary); box-shadow: var(--shadow);
  color: #334155; line-height: 1.7;
}
.year {
  min-width: 56px; font-weight: 700; color: var(--primary);
  font-size: 0.85rem; padding-top: 2px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; }
  .map-placeholder { height: 200px; }
  .section { padding: 60px 0; }
  .cards-2 { grid-template-columns: 1fr; }
  .profile-history li { flex-direction: column; gap: 4px; }
}
