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

:root {
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --text-tertiary: #999;
  --border: #e5e5e5;
  --bg: #fff;
  --bg-secondary: #f7f7f5;
  --blue: #185FA5;
  --blue-light: #E6F1FB;
  --blue-mid: #378ADD;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }

/* Nav */
nav {
  border-bottom: 0.5px solid #e7e7e7;
  padding: .8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #f8f8f8;
  z-index: 100;
}
.nav-logo img { height: 18px; vertical-align: bottom; display: inline; margin-right: 6px; }
.nav-logo { font-family: Tahoma, Arial, sans-serif; font-size: 18px; color: var(--text-primary); line-height: 20px;}
nav ul { display: flex; gap: 1.5rem; list-style: none; }
nav a { font-size: 13px; color: var(--text-secondary); text-decoration: none; }
nav a:hover { color: var(--text-primary); }

/* Hero */
#top {
  background: url('pic1.jpg') center/cover no-repeat;
  padding: 5rem 0 4rem;
  border-bottom: none;
  color: #fff;
}
#top .eyebrow { color: rgba(255,255,255,.75); }
#top h1 { color: #fff; }
#top .hero-sub { color: rgba(255,255,255,.9); text-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.4); }
#top .hero-tag { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.3); }
.eyebrow { font-size: 12px; color: var(--text-tertiary); margin-bottom: .6rem; }
h1 { font-size: 32px; font-weight: 500; margin-bottom: 1rem; line-height: 1.25; }
.hero-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.75; max-width: 540px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1.25rem; padding: 5px 14px;
  border: 0.5px solid var(--border); border-radius: 999px;
  font-size: 12px; color: var(--text-secondary);
}

/* Section共通 */
section {
  padding: 3rem 0;
  border-bottom: 0.5px solid var(--border);
}
#notice { padding-top: 2rem; }
.notice { padding: .6rem .875rem; border-radius: 3px; font-size: 13px; }
.notice--info  { background: var(--blue-light); color: var(--blue); }
.notice--warn  { background: #fffbeb; color: #92400e; }
.notice--alert { background: #fef2f2; color: #991b1b; }
.sec-label { font-size: 11px; color: var(--text-tertiary); letter-spacing: .1em; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 5px; }
.sec-title { font-size: 18px; font-weight: 500; margin-bottom: .5rem; }
.sec-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; }

/* サービスカード */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1rem; }
.svc-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}
.svc-card.featured { border: 1.5px solid var(--blue-mid); }
.svc-badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 3px 10px;
  border-radius: 999px; margin-bottom: .75rem;
  background: var(--blue-light); color: #0C447C;
}
.svc-name { font-size: 14px; font-weight: 500; margin-bottom: .4rem; }
.svc-price { font-size: 22px; font-weight: 500; margin-bottom: .75rem; }
.svc-price em { font-size: 12px; font-weight: 400; font-style: normal; color: var(--text-secondary); }
.svc-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
.svc-more {
  padding: 1rem 1.1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.6;
}
.svc-more strong { color: var(--text-primary); font-weight: 500; }
.svc-more a { color: var(--blue); margin-left: .4rem; font-size: 12px; text-decoration: none; }

/* 会社情報 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.about-h { font-size: 13px; font-weight: 500; margin-bottom: .75rem; }
.info-tbl { width: 100%; font-size: 13px; border-collapse: collapse; }
.info-tbl td { padding: 6px 0; vertical-align: top; border-bottom: 0.5px solid var(--border); line-height: 1.6; }
.info-tbl td:first-child { color: var(--text-secondary); width: 80px; padding-right: .75rem; white-space: nowrap; }
.hist-list { list-style: none; font-size: 13px; }
.hist-list li { display: flex; gap: .75rem; padding: 6px 0; border-bottom: 0.5px solid var(--border); line-height: 1.6; }
.hist-list li .yr { color: var(--text-tertiary); font-size: 12px; min-width: 36px; padding-top: 2px; }

/* お問い合わせ */
#contact { padding: 3rem 0; }
.contact-box {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.contact-box h2 { font-size: 16px; font-weight: 500; margin-bottom: .4rem; }
.contact-box p { font-size: 13px; color: var(--text-secondary); }
.contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: var(--text-primary); color: var(--bg);
  border-radius: 8px; font-size: 13px; font-weight: 500;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.contact-btn:hover { opacity: .85; }

/* Footer */
footer {
  padding: 1.5rem 0;
  font-size: 12px; color: var(--text-tertiary);
  display: flex; justify-content: space-between; align-items: center;
  border-top: 0.5px solid var(--border);
}
.footer-left { display: flex; align-items: center; gap: 0.75rem; }
footer a { color: var(--text-tertiary); text-decoration: none; }

/* アイコン */
.icon { display: inline-block; vertical-align: -2px; flex-shrink: 0; width: 12px; height: 12px; }
.icon--lg { width: 14px; height: 14px; }

/* スムーズスクロール */
html { scroll-behavior: smooth; }

@media (max-width: 600px) {
  h1 { font-size: 24px; }
  .svc-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-box { flex-direction: column; align-items: flex-start; }
  nav ul { gap: 1rem; }
  nav .icon { width: 14px; height: 14px; }
  .nav-label { display: none; }
}
