/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1a1a2e;
  --color-secondary: #8b1a1a;
  --color-accent: #c9a84c;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-light: #f8f6f2;
  --font-main: 'Noto Sans JP', sans-serif;
  --font-heading: 'Noto Serif JP', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(42,36,32,0.08);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #2a2420;
  letter-spacing: 0.1em;
}

.site-header .logo span {
  display: block;
  font-size: 0.65rem;
  color: #9a8878;
  letter-spacing: 0.2em;
  font-family: var(--font-main);
  font-weight: 300;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: #2a2420;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #2a2420;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ddd;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.hero-inner {
  position: absolute;
  bottom: 12vh;
  left: 8vw;
  z-index: 2;
  max-width: 480px;
}

.hero-label {
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: 0.18em;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  color: #fff;
  font-weight: 200;
}

.hero p {
  display: none;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border: 1px solid rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  text-decoration: none;
}
.hero .btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}
.btn-fill {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.btn:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-fill {
  background: var(--color-accent);
  color: #fff;
}

.btn-fill:hover {
  background: #b8933f;
  border-color: #b8933f;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: #2a2420;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.section-subtitle {
  color: var(--color-text-light);
  max-width: 560px;
  margin-bottom: 3.5rem;
}

.bg-light {
  background: var(--color-bg-light);
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border: 1px solid #e8e4dc;
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===== PAGE HERO (sub pages) ===== */
.page-hero {
  min-height: 36vh;
  background: #D8C9B2;
  display: flex;
  align-items: flex-end;
  padding: 6rem 2rem 3rem;
  color: #1a1a1a;
}

.page-hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.page-hero .section-label {
  margin-bottom: 0.4rem;
  color: #8a7355;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.12em;
  color: #1a1a1a;
  font-weight: 300;
}

/* ===== TABLE ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.info-table th,
.info-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #e8e4dc;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 200px;
  color: var(--color-text-light);
  font-weight: 400;
  white-space: nowrap;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 640px;
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d0cbc0;
  background: #faf9f6;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

.required-mark {
  color: var(--color-secondary);
  margin-left: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #2a2420;
  color: #9a8878;
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #d4b872;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.9;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #9a8878;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #d4b872;
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) and (min-width: 769px) {
  .nav-menu {
    gap: 1.2rem;
  }
  .nav-menu a {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #2a2420;
    padding: 2rem;
    gap: 1.5rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .info-table th {
    width: 120px;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .card p,
  .section-subtitle {
    font-size: 1rem;
    line-height: 1.9;
  }

  /* ===== HOME: 事業内容 ===== */
  .home-svc-row {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
    padding: 2rem 0 !important;
  }

  .home-svc-row > span {
    display: none;
  }

  .home-svc-row h3 {
    font-size: 1.1rem !important;
  }

  .home-svc-row p {
    font-size: 1rem !important;
    line-height: 1.9 !important;
    letter-spacing: 0.03em !important;
  }

  /* ===== HOME: 会社概要スニペット ===== */
  .home-about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .home-about-grid p {
    font-size: 1rem !important;
    line-height: 1.9 !important;
  }

  .home-about-img {
    order: -1;
    height: 56vw !important;
    max-height: 260px !important;
  }
}
