:root {
  --brand: #c13a54;
  --brand-dark: #8f2740;
  --brand-light: #f6d9df;
  --accent: #e8a0ae;
  --ink: #241f20;
  --ink-soft: #645a5c;
  --bg: #fffaf9;
  --bg-alt: #fbeef0;
  --line: #ecdde0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(140, 40, 60, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 .6em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .14em; font-weight: 700;
  color: var(--brand); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brand); display: inline-block; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.lead { font-size: 17px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,250,249,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand .brand-sub { font-size: 11px; color: var(--ink-soft); font-weight: 500; letter-spacing: .04em; display: block; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a.active, .nav-links a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 10px 22px;
  border-radius: 999px; font-weight: 700 !important; font-size: 13.5px !important;
}
.nav-cta:hover { background: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--ink); }

/* Hero */
.hero { padding: 76px 0 40px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: .01em; }
.hero h1 .accent { color: var(--brand); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-visual { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.1; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-stats { display: flex; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); padding-top: 32px; }
.hero-stats div { flex: 1; border-right: 1px solid var(--line); padding-right: 20px; }
.hero-stats div:last-child { border-right: none; }
.hero-stats strong { display: block; font-size: 30px; color: var(--brand); font-family: "Zen Kaku Gothic New", sans-serif; }
.hero-stats span { font-size: 13px; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  transition: all .2s ease; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card .icon-wrap svg { width: 26px; height: 26px; color: var(--brand-dark); }
.card h3 { font-size: 18.5px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-media { order: 2; }
.service-media img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.service-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-dark); background: var(--brand-light); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.service-copy h3 { font-size: 25px; }
.service-list { margin-top: 18px; }
.service-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); padding: 7px 0; align-items: flex-start; }
.service-list li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }

/* Values */
.value-row { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0; border-top: 1px solid var(--line); }
.value-row:first-child { border-top: none; }
.value-num { font-family: "Zen Kaku Gothic New", sans-serif; font-size: 34px; color: var(--brand-light); font-weight: 700; width: 64px; flex-shrink: 0; }
.value-copy h4 { font-size: 17px; margin-bottom: 6px; }
.value-copy p { font-size: 14.5px; margin: 0; }

/* Table (会社概要) */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-top: 1px solid var(--line); }
.info-table tr:last-child { border-bottom: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 18px 16px; font-size: 14.5px; vertical-align: top; }
.info-table th { width: 200px; color: var(--ink-soft); font-weight: 500; }
.info-table td { color: var(--ink); }

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before { content: ""; position: absolute; left: -28px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 3px solid var(--brand-light); }
.timeline-item .date { font-size: 13px; color: var(--brand-dark); font-weight: 700; }
.timeline-item h4 { font-size: 16px; margin: 4px 0 4px; }
.timeline-item p { font-size: 14px; margin: 0; }

/* Recruit */
.job-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; margin-bottom: 22px; }
.job-card .job-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.job-card h3 { font-size: 20px; margin-bottom: 4px; }
.job-badge { background: var(--brand-light); color: var(--brand-dark); font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 999px; }
.job-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-bottom: 20px; }
.job-meta div { font-size: 14px; }
.job-meta b { color: var(--ink-soft); font-weight: 500; margin-right: 6px; }
.benefit-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.benefit-tags span { font-size: 12.5px; background: var(--bg-alt); color: var(--brand-dark); padding: 6px 13px; border-radius: 999px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .item svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.contact-info .item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info .item p { font-size: 14px; margin: 0; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; background: var(--white);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--brand-light); border-color: var(--brand); }
.required { color: var(--brand); font-size: 12px; margin-left: 4px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); border-radius: 22px; padding: 64px; text-align: center; color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--brand-dark); }

/* Footer */
.site-footer { background: #231318; color: #e8d9dc; padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-grid .brand { color: #fff; margin-bottom: 14px; }
.footer-grid p { color: #b9a4a9; font-size: 13.5px; }
.footer-grid a { color: #cdb9bd; font-size: 14px; display: block; padding: 6px 0; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 12.5px; color: #8f7a7f; flex-wrap: wrap; gap: 10px; }

/* Demo banner */
.demo-banner {
  background: var(--ink); color: #fff; text-align: center; font-size: 12.5px;
  padding: 9px 16px; letter-spacing: .02em;
}
.demo-banner b { color: var(--brand-light); }

/* Responsive */
@media (max-width: 920px) {
  .hero .container, .service-block, .service-block.reverse, .contact-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; z-index: 90; background: var(--white);
    flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 4px;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .section { padding: 64px 0; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats div { flex: 1 1 45%; border-right: none; padding-right: 0; margin-bottom: 16px; }
  .cta-band { padding: 44px 24px; }
  .job-meta { grid-template-columns: 1fr; }
}
