/* 株式会社ノーパッケージ コーポレートサイト */

:root {
  --bg: #FFFFFF;
  --text: #1A1A1A;
  --muted: #6B6B6B;
  --accent: #1F3A5F;
  --line: #E5E5E5;
}

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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

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

.container.narrow {
  max-width: 720px;
}

.section {
  padding: 96px 0;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 32px;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 12px;
  background: var(--accent);
}

/* ヘッダー */
.site-header {
  border-bottom: 1px solid var(--line);
}

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

.site-header .logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  gap: 24px;
  white-space: nowrap;
}

.site-header nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

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

/* ヒーロー */
.hero {
  padding: 120px 0;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.hero p {
  margin-top: 24px;
  font-size: 16px;
  color: var(--muted);
}

/* ボタン */
.btn {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 32px;
  border-radius: 4px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.85;
}

/* 小見出し */
.sub-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin: 40px 0 16px;
}

.section-title + .sub-title {
  margin-top: 0;
}

/* カード */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cards-single {
  grid-template-columns: 1fr;
}

.card {
  border: 1px solid var(--line);
  padding: 24px;
}

.card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* 代表メッセージ */
.narrow p + p {
  margin-top: 24px;
}

.signature {
  margin-top: 24px;
  text-align: right;
  font-weight: 500;
}

/* 会社概要 */
.company-table {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid var(--line);
}

.company-table dt,
.company-table dd {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  font-weight: 500;
  color: var(--muted);
}

/* お問い合わせ */
.center {
  text-align: center;
}

.center .section-title::after {
  margin: 12px auto 0;
}

/* プライバシーポリシー */
.privacy h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin: 32px 0 8px;
}

.narrow p.date {
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
}

/* フッター */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  font-size: 13px;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  text-decoration: underline;
}

/* レスポンシブ */
@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 26px;
  }

  .site-header nav {
    gap: 16px;
  }

  .site-header nav a {
    font-size: 13px;
  }

  .site-header .logo {
    font-size: 13px;
  }

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

  .company-table {
    grid-template-columns: 1fr;
  }

  .company-table dt {
    padding: 16px 0 4px;
    border-bottom: none;
  }
}

/* ナビ3リンクを最小幅でも1行に収める */
@media (max-width: 400px) {
  .site-header .logo {
    font-size: 12px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a {
    font-size: 12px;
  }
}
