/* ========================================
   ARATA Inc. — Simple version (j-tng inspired)
   ======================================== */

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

:root {
  --text: #222;
  --text-soft: #555;
  --muted: #888;
  --line: #e5e5e5;
  --bg: #ffffff;
  --bg-alt: #f7f7f5;
  --accent: #1a3a5f;
  --max: 1100px;

  /* Category colors */
  --c-sales: #c8362b;
  --c-sales-soft: rgba(200, 54, 43, 0.08);
  --c-sales-bg: #fdf2f0;
  --c-sns: #e85d75;
  --c-sns-soft: rgba(232, 93, 117, 0.10);
  --c-sns-bg: #fdf0f3;
  --c-exec: #1a3a5f;
  --c-exec-soft: rgba(26, 58, 95, 0.08);
  --c-exec-bg: #f0f3f8;
  --c-news: #6b8e7f;
  --c-news-bg: #f0f4f2;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }

/* === Header === */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.brand {
  font-weight: 700; font-size: 1.1rem; letter-spacing: 0.1em;
}
.brand-sub {
  font-size: 0.7rem; color: var(--muted);
  letter-spacing: 0.1em; margin-left: 0.6rem;
  font-weight: 400;
}
.nav-list {
  list-style: none; display: flex; gap: 1.8rem;
  font-size: 0.85rem;
}
.nav-list a {
  color: var(--text-soft);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border 0.2s;
}
.nav-list a:hover { border-bottom-color: var(--accent); }

.hamburger {
  display: none;
  background: none; border: none;
  width: 28px; height: 20px;
  position: relative; cursor: pointer;
}
.hamburger span {
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: var(--text);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* === Hero === */
.hero {
  background: var(--bg-alt);
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.hero-en {
  font-size: 0.8rem; letter-spacing: 0.3em;
  color: var(--muted); margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 700; letter-spacing: 0.05em;
  line-height: 1.5; color: var(--text);
  margin-bottom: 1.2rem;
}
.hero-desc {
  font-size: 0.95rem; color: var(--text-soft);
  max-width: 620px; margin: 0 auto;
}
.hero-img-wrap {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}
.hero-img {
  width: 100%; height: 280px;
  background: repeating-linear-gradient(
    45deg,
    #eeeae2 0 12px,
    #f5f1e8 12px 24px
  );
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.6rem; color: var(--muted);
  font-size: 0.9rem; letter-spacing: 0.25em;
}
.hero-img .label {
  font-size: 1rem; letter-spacing: 0.3em;
  color: var(--text-soft); text-transform: uppercase;
}

/* === Section === */
.section {
  padding: 4.5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.section-alt { background: var(--bg-alt); }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text);
}
.section-en {
  font-size: 0.75rem; letter-spacing: 0.3em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.section-title {
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.05em;
}

/* === News === */
.news-list {
  list-style: none;
}
.news-item {
  display: flex; gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.news-item:last-child { border-bottom: none; }
.news-date {
  color: var(--muted); flex-shrink: 0;
  min-width: 100px;
  font-variant-numeric: tabular-nums;
}
.news-text {
  color: var(--text-soft);
}
.news-more {
  margin-top: 1.5rem; font-size: 0.85rem;
  color: var(--accent);
}

/* === About table === */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  font-weight: 500;
  width: 180px;
  color: var(--muted);
  background: var(--bg-alt);
}
.info-table td {
  color: var(--text);
}

/* === Business === */
.biz-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.biz-list-2 {
  grid-template-columns: repeat(2, 1fr);
}
.biz-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--biz-color, var(--accent));
  transition: transform 0.25s, box-shadow 0.25s;
}
.biz-link {
  display: block; padding: 2rem 1.6rem 1.8rem;
  color: inherit;
  height: 100%;
}
.biz-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.biz-item:hover .biz-more {
  gap: 0.6rem;
  color: var(--biz-color, var(--accent));
}
.biz-no {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem; color: var(--biz-color, var(--muted));
  letter-spacing: 0.3em; margin-bottom: 1rem;
  font-weight: 600;
}
.biz-title {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.biz-desc {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.biz-more {
  display: inline-flex; align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  transition: gap 0.25s, color 0.25s;
  font-weight: 500;
}
.biz-item-sales { --biz-color: var(--c-sales); }
.biz-item-sns { --biz-color: var(--c-sns); }

/* === Recruit === */
.recruit-lead {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}
.recruit-catch {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.recruit-msg {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  font-weight: 500;
  color: var(--text);
  line-height: 2;
  margin-bottom: 2rem;
}
.recruit-text {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 2;
  margin-bottom: 1.2rem;
  text-align: left;
}
.recruit-table {
  margin-top: 2rem;
}
.recruit-cta-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 2;
}

/* === Recruit Cards === */
.recruit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}
.recruit-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  padding: 2.2rem 1.6rem 1.8rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.recruit-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--r-color, var(--accent));
}
.recruit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.recruit-card-en {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--r-color, var(--accent));
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.recruit-card-title {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: 0.03em;
}
.recruit-card-sub {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  min-height: 3.5em;
}
.recruit-card-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.recruit-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: var(--r-bg, var(--bg-alt));
  color: var(--r-color, var(--muted));
  letter-spacing: 0.1em;
  border-radius: 2px;
}
.recruit-card-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--r-color, var(--accent));
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: gap 0.25s;
}
.recruit-card:hover .recruit-card-arrow { gap: 0.7rem; }
.recruit-card-sales { --r-color: var(--c-sales); --r-bg: var(--c-sales-bg); }
.recruit-card-sns { --r-color: var(--c-sns); --r-bg: var(--c-sns-bg); }
.recruit-card-exec { --r-color: var(--c-exec); --r-bg: var(--c-exec-bg); }

/* === News Styled === */
.news-item {
  position: relative;
  padding-left: 0.5rem;
}
.news-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  background: var(--c-news-bg);
  color: var(--c-news);
  letter-spacing: 0.1em;
  margin-right: 0.8rem;
  flex-shrink: 0;
  min-width: 60px;
  text-align: center;
}

/* === Page Hero (詳細ページ) === */
.page-hero {
  padding: 4.5rem 1.5rem 4rem;
  border-bottom: 1px solid var(--line);
  background: var(--p-bg, var(--bg-alt));
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--p-color, var(--accent));
}
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero-breadcrumb {
  font-size: 0.78rem; color: var(--muted);
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}
.page-hero-breadcrumb a { color: var(--muted); }
.page-hero-breadcrumb a:hover { color: var(--p-color, var(--accent)); }
.page-hero-en {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  color: var(--p-color, var(--accent));
  margin-bottom: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}
.page-hero-title {
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}
.page-hero-desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 720px;
  line-height: 1.9;
}
.ph-sales { --p-color: var(--c-sales); --p-bg: var(--c-sales-bg); }
.ph-sns { --p-color: var(--c-sns); --p-bg: var(--c-sns-bg); }
.ph-exec { --p-color: var(--c-exec); --p-bg: var(--c-exec-bg); }

/* === Detail Content === */
.detail-content {
  max-width: 820px;
  margin: 0 auto;
}
.detail-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--p-color, var(--accent));
  letter-spacing: 0.05em;
}
.detail-content h2:first-child { margin-top: 0; }
.detail-content p {
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 2;
  margin-bottom: 1.2rem;
}
.detail-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
}
.detail-content ul li {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.9;
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.detail-content ul li::before {
  content: "";
  position: absolute; left: 0; top: 1.15rem;
  width: 8px; height: 1px;
  background: var(--p-color, var(--accent));
}

/* === Detail CTA === */
.detail-cta {
  padding: 3rem 1.5rem 4rem;
  background: var(--p-bg, var(--bg-alt));
  text-align: center;
  border-top: 1px solid var(--line);
}
.detail-cta-inner {
  max-width: 620px;
  margin: 0 auto;
}
.detail-cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.detail-cta-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 1.8rem;
}
.detail-cta-btns {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: all 0.25s;
  border: 1px solid var(--p-color, var(--accent));
}
.btn-primary {
  background: var(--p-color, var(--accent));
  color: #fff;
}
.btn-primary:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--p-color, var(--accent));
}
.btn-ghost:hover {
  background: var(--p-color, var(--accent));
  color: #fff;
}

/* === Contact === */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-box {
  border: 1px solid var(--line);
  padding: 2rem 1.5rem;
  text-align: center;
}
.contact-label {
  font-size: 0.75rem; color: var(--muted);
  letter-spacing: 0.25em; margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.contact-value {
  font-size: 1.25rem; font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
}
.contact-note {
  margin-top: 2rem; font-size: 0.85rem;
  color: var(--text-soft); text-align: center;
}

/* === Footer === */
.footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 2.5rem 1.5rem 1.5rem;
  font-size: 0.82rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  color: #fff; font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.footer-addr {
  color: #888; font-size: 0.78rem; line-height: 1.7;
}
.footer-nav {
  list-style: none; display: flex; gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a { color: #aaa; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #333;
  text-align: center;
  color: #666;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-list {
    position: fixed; top: 56px; right: 0;
    width: 100%; background: #fff;
    flex-direction: column; gap: 0;
    border-top: 1px solid var(--line);
    transform: translateY(-200%); transition: transform 0.3s;
    padding: 1rem 0;
  }
  .nav-list.open { transform: translateY(0); }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 1rem 1.5rem; }

  .biz-list, .biz-list-2 { grid-template-columns: 1fr; }
  .recruit-cards { grid-template-columns: 1fr; }
  .page-hero { padding: 3rem 1.5rem; }
  .detail-cta-btns { flex-direction: column; align-items: stretch; }
  .contact-wrap { grid-template-columns: 1fr; }

  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding: 0.6rem 1rem; }
  .info-table td { padding: 0.8rem 1rem 1rem; border-bottom: 1px solid var(--line); }

  .news-item { flex-direction: column; gap: 0.3rem; }
  .news-date { min-width: auto; }

  .hero { padding: 3rem 1.5rem; }
  .section { padding: 3rem 1.5rem; }
}
