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

/* ===== Base ===== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #333;
  background-color: #f5f5f5;
  padding-top: 70px;
  padding-bottom: 50px;
  overflow: hidden;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  color: #333;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  font-size: 14px;
}

nav a {
  text-decoration: none;
  color: #333;
}

nav a:hover {
  color: #0078d4;
}

/* ===== Footer ===== */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 1000;
  background-color: #222;
  color: #ccc;
  font-size: 12px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ===== index.html：Hero ===== */
.hero-index {
  width: 100%;
  height: calc(100vh - 120px);
  background-image: url("../images/background.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-overlay {
  flex: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.15)
  );
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  color: #ffffff;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 12px;
  margin-bottom: 12px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-primary {
  background-color: #ffffff;
  color: #333;
  font-weight: 600;
}

.btn-secondary {
  background-color: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ===== menu.html / company.html：Hero ===== */
.hero {
  width: 100%;
  height: calc(100vh - 120px);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 0;
}

.hero-menu {
  background-image: url("../images/background.png");
}

.hero-company {
  background-image: url("../images/company.png");
}

.hero-recruit {
  background-image: url("../images/company.png"); /* 採用専用の背景画像があれば images/recruit.png 等に差し替えてください */
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 40px 24px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  color: #fff;
}

.content h1 {
  font-size: 32px;
  margin-bottom: 24px;
  border-left: 6px solid #ffffff;
  padding-left: 12px;
  font-weight: 700;
}

/* ===== company.html：Table ===== */
table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}

th, td {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  vertical-align: top;
  font-size: 15px;
}

th {
  width: 25%;
  font-weight: 600;
  color: #ddd;
}

tr:last-child td {
  border-bottom: none;
}

/* ===== menu.html：Grid ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.menu-card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.menu-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.menu-card-body {
  padding: 18px;
}

.menu-card-body h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.menu-card-body p {
  line-height: 1.7;
}

.menu-feature {
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
}

.menu-feature h2 {
  margin-bottom: 16px;
}

.menu-feature ul {
  line-height: 2;
  padding-left: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 14px; }
  nav ul { gap: 12px; font-size: 12px; }
  .content { margin: 0 12px; padding: 24px; }
  .content h1 { font-size: 24px; }
  th, td { font-size: 14px; padding: 12px; }
}
