/* 会社のホームページ（nakapoworld.com）の共通の見た目。色は LP（/lp/07/）にそろえる。 */
:root {
  --orange: #F97316;
  --orange-dark: #EA580C;
  --navy: #1E3A5F;
  --ink: #1F2937;
  --muted: #6B7280;
  --line: #E5E7EB;
  --paper: #FFFFFF;
  --soft: #F8FAFC;
  --cream: #FFF7ED;
  --line-green: #06C755;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.85; font-size: 16px; -webkit-text-size-adjust: 100%;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.4; color: var(--navy); margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { width: 220px; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; color: var(--navy); }
.nav a:hover { color: var(--orange); }
.nav .btn { color: #fff; }
.menu { display: none; }
@media (max-width: 860px) {
  .brand img { width: 170px; }
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--navy); padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu .menu-list { position: absolute; right: 0; top: 48px; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
  .menu .menu-list a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 700; color: var(--navy); border-radius: 8px; }
  .menu .menu-list a:hover { background: var(--soft); }
}

/* ボタン */
.btn { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; text-decoration: none; padding: 10px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 15px; text-align: center; }
.btn:hover { background: var(--orange-dark); }
.btn-line { background: var(--line-green); }
.btn-line:hover { background: #05A847; }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* トップの見出し（動画） */
.hero { position: relative; min-height: 72vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,58,95,.85), rgba(30,58,95,.35)); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(28px, 5vw, 48px); margin-bottom: .4em; }
.hero p { font-size: clamp(16px, 2.2vw, 19px); max-width: 640px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }

/* ページの見出し（下層） */
.page-head { position: relative; color: #fff; padding: 72px 0 56px; background: var(--navy) center/cover no-repeat; }
.page-head::after { content: ""; position: absolute; inset: 0; background: rgba(30,58,95,.7); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head .en { display: block; letter-spacing: .2em; font-size: 14px; color: #FDBA74; font-weight: 700; }
.page-head h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin: 0; }

/* セクション */
.section { padding: 72px 0; }
.section.alt { background: var(--soft); }
.section.cream { background: var(--cream); }
.eyebrow { display: block; color: var(--orange); font-weight: 700; letter-spacing: .18em; font-size: 13px; margin-bottom: 6px; }
.section h2 { font-size: clamp(22px, 3.2vw, 30px); }
.lead { font-size: 17px; }
.center { text-align: center; }

/* 2列（画像＋文章） */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split + .split { margin-top: 56px; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: 16px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 20px; } .split.reverse > :first-child { order: 0; } }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 19px; margin-bottom: .4em; }
.card .tag { color: var(--orange); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.card p { font-size: 15px; color: #374151; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card a.cover { text-decoration: none; color: inherit; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* 表（会社概要・沿革） */
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; }
.table th { width: 32%; color: var(--navy); }
@media (max-width: 600px) { .table th, .table td { display: block; width: 100%; padding: 6px 4px; } .table th { border-bottom: 0; padding-top: 14px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values > div { background: #fff; border-radius: 14px; padding: 22px; border-top: 4px solid var(--orange); }
.values h3 { font-size: 17px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

.signature { text-align: right; font-weight: 700; color: var(--navy); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.subnav a { text-decoration: none; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }

/* お問い合わせ */
.contact-band { background: var(--navy); color: #fff; padding: 56px 0; }
.contact-band h2 { color: #fff; }
.contact-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.contact-band .tel { color: #fff; font-size: 26px; font-weight: 700; text-decoration: none; display: inline-block; margin-top: 8px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.form label { display: block; font-weight: 700; margin: 0 0 6px; color: var(--navy); }
.form .req { color: #DC2626; font-size: 13px; margin-left: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #D1D5DB; border-radius: 10px; margin-bottom: 18px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid #FED7AA; border-color: var(--orange); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .note { font-size: 13px; color: var(--muted); }

/* フッター */
.site-footer { background: #0F172A; color: #CBD5E1; padding: 40px 0 28px; font-size: 14px; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: #E2E8F0; text-decoration: none; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; }
.site-footer .copy { margin-top: 24px; color: #94A3B8; font-size: 12px; }
