:root {
  --bg: #14161a;
  --bg-panel: #1d2025;
  --border: #2c3038;
  --text: #eef0f2;
  --text-dim: #a6acb5;
  --accent: #ff8a1e;
  --accent-dim: #cc6f13;
  --line-safe: #55f07a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
header.site {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 400;
}

nav.main-nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--text-dim);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.cta-group {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.btn-line {
  background: #06c755;
  color: #fff;
}
.btn-tel {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-accent {
  background: var(--accent);
  color: #14161a;
}

/* hero */
.hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}
.hero-text .wrap {
  padding: 0;
}
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: 30px;
  margin: 0 0 12px;
  max-width: 560px;
}
.hero p {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 0 20px;
  font-size: 14px;
}
.hero .cta-group { flex-wrap: wrap; }

/* sections */
section { padding: 48px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

h2.section-title {
  font-size: 20px;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
h2.section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--accent);
  display: inline-block;
  border-radius: 2px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--accent);
}
.card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}
.work-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-panel);
}
.work-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.work-item .cap {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-dim);
}

/* price table */
table.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.price th, table.price td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
table.price th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
}
table.price td.amount {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.notice {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px dashed var(--accent-dim);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-dim);
}
.notice.draft {
  border-color: #e5484d;
  color: #ff9d9f;
}

/* line block */
.line-block {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  flex-wrap: wrap;
}
.line-block img.qr {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}
.line-block .txt { flex: 1; min-width: 220px; }
.line-block h3 { margin: 0 0 8px; font-size: 16px; }
.line-block p { margin: 0 0 16px; font-size: 13px; color: var(--text-dim); }

/* access */
.access-table { font-size: 14px; }
.access-table div { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.access-table span.label { width: 90px; color: var(--text-dim); flex-shrink: 0; font-size: 12px; }

footer.site {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 12px;
  color: var(--text-dim);
}
footer.site .cta-group { margin-top: 14px; }
