/* ===== エリアラボ コーポレートサイト ===== */
:root {
  --bg:        #fbf8f4;
  --bg-alt:    #f3ece2;
  --ink:       #2e2620;
  --ink-soft:  #6b5f53;
  --brand:     #8a6a4a;   /* 落ち着いた茶 */
  --brand-dk:  #6f543a;
  --accent:    #b9926a;
  --line:      #e4dacb;
  --white:     #ffffff;
  --radius:    14px;
  --shadow:    0 8px 30px rgba(82, 62, 42, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1080px, 90%); margin-inline: auto; }

a { color: inherit; text-decoration: none; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: "Shippori Mincho", serif;
  font-weight: 600; font-size: 1.4rem; letter-spacing: .08em;
  color: var(--brand-dk);
}
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { font-size: .9rem; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: var(--white) !important;
  padding: .5rem 1.1rem; border-radius: 999px; font-weight: 500;
}
.nav-cta:hover { background: var(--brand-dk); }
.nav-toggle {
  display: none; font-size: 1.6rem; background: none; border: none;
  color: var(--brand-dk); cursor: pointer;
}

/* ===== ヒーロー ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(185,146,106,.22), transparent 60%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  padding: clamp(4rem, 10vw, 7rem) 0;
}
.hero-eyebrow {
  font-family: "Shippori Mincho", serif;
  color: var(--brand); letter-spacing: .2em; font-size: .95rem; margin-bottom: 1rem;
}
.hero-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.45;
  color: var(--ink); margin-bottom: 1.4rem;
}
.hero-lead { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== ボタン ===== */
.btn {
  display: inline-block; padding: .85rem 1.8rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dk); }
.btn-ghost { border: 1px solid var(--brand); color: var(--brand-dk); }
.btn-ghost:hover { background: var(--brand); color: var(--white); }
.btn-lg { padding: 1.05rem 2.6rem; font-size: 1.05rem; }

/* ===== セクション共通 ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  font-family: "Shippori Mincho", serif;
  color: var(--accent); letter-spacing: .25em; font-size: .8rem; text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--ink); margin-bottom: 1.4rem;
}
.section-text { color: var(--ink-soft); max-width: 760px; margin-bottom: 2rem; }

/* ===== カード ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.15rem; color: var(--brand-dk); margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .95rem; }

/* ===== スペック（働き方） ===== */
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.spec > div {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; display: flex; gap: 1rem; align-items: baseline;
}
.spec dt { font-weight: 700; color: var(--brand-dk); min-width: 6em; font-size: .95rem; }
.spec dd { color: var(--ink-soft); }

/* ===== 所在地 ===== */
.location-tabs {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0 2.6rem;
}
.location-tab {
  min-width: 140px; border: 2px solid var(--brand-dk); border-radius: 999px;
  background: var(--white); color: var(--brand-dk); padding: .75rem 1.8rem;
  font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, transform .15s;
}
.location-tab:hover { transform: translateY(-1px); }
.location-tab.active { background: var(--brand-dk); color: var(--white); }
.location-panel { margin-bottom: 1.4rem; }
.location-grid { display: grid; gap: 1.4rem; }
.location-grid-kanto { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.location-grid-west { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.location-card {
  background: var(--white); border-radius: 16px; padding: 1.6rem 1.5rem 1.8rem;
  box-shadow: var(--shadow); min-height: 310px;
}
.location-card-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 2px solid var(--line);
}
.location-card h3 {
  position: relative; padding-left: 1.45rem; color: var(--brand-dk); font-size: 1.15rem;
}
.location-card h3::before {
  content: "●"; position: absolute; left: 0; top: .05rem; color: #dc8950; font-size: .85rem;
}
.location-card-header span {
  flex: 0 0 auto; background: #efe8df; color: var(--brand-dk); border-radius: 999px;
  padding: .2rem .6rem; font-weight: 700; font-size: .9rem;
}
.location-list { list-style: none; display: grid; gap: 0; }
.location-list li {
  position: relative; padding: .58rem 0 .58rem 1.5rem; color: var(--ink-soft);
  font-weight: 500; border-bottom: 1px dashed #e8dfd4;
}
.location-list li:last-child { border-bottom: none; }
.location-list li::before {
  content: "◎"; position: absolute; left: 0; color: #dc8950; font-size: .82rem;
}
.note { font-size: .82rem; color: var(--ink-soft); }
.note a { color: var(--brand); text-decoration: underline; }

/* ===== 仕事の流れ ===== */
.flow { list-style: none; display: grid; gap: 1rem; counter-reset: flow; }
.flow li {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.flow-no {
  font-family: "Shippori Mincho", serif; font-size: 1.5rem; color: var(--accent);
  font-weight: 600; min-width: 2.2em;
}
.flow h3 { font-size: 1.05rem; color: var(--brand-dk); margin-bottom: .2rem; }
.flow p { color: var(--ink-soft); font-size: .92rem; }

/* ===== 会社概要テーブル ===== */
.company-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.company-table th, .company-table td { text-align: left; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th { width: 30%; color: var(--brand-dk); background: var(--bg-alt); font-weight: 700; }
.company-table td a { color: var(--brand); text-decoration: underline; }

/* ===== CTA ===== */
.section-cta { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); text-align: center; }
.contact-inner .section-text { margin-inline: auto; }

/* ===== フッター ===== */
.site-footer { background: var(--ink); color: #d8cdbf; padding: 2.4rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-family: "Shippori Mincho", serif; font-size: 1.3rem; letter-spacing: .08em; }
.footer-brand span { color: var(--accent); }
.footer-copy { font-size: .85rem; opacity: .8; }

/* ===== レスポンシブ ===== */
@media (max-width: 820px) {
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); flex-direction: column; gap: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .8rem 0; width: 90%; margin-inline: auto; text-align: center; }
  .nav-cta { width: 90%; }
  .nav-toggle { display: block; }
  .company-table th { width: 38%; }
  .location-grid-kanto,
  .location-grid-west { grid-template-columns: 1fr; }
  .location-card { min-height: 0; }
  .location-tabs { justify-content: flex-start; }
  .location-tab { flex: 1 1 150px; }
}
