/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --c-primary: #2B3A2E;
  --c-accent:  #8B7355;
  --c-gold:    #B8965A;
  --c-light:   #F7F5F0;
  --c-white:   #FFFFFF;
  --c-text:    #2C2C2A;
  --c-muted:   #6B6B66;
  --c-border:  rgba(44,44,42,0.12);
  --font-serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
  --font-sans:  'Noto Sans JP', sans-serif;
  --font-en:    'Cormorant Garamond', serif;
}

body {
  font-family: var(--font-sans);
  background: var(--c-white);
  color: var(--c-text);
  line-height: 1.8;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(10px);
}
.logo {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--c-primary);
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--c-muted);
  margin-top: 3px;
}
nav { display: flex; align-items: center; gap: 36px; }
nav a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--c-text);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
nav a:hover, nav a.active { color: var(--c-accent); border-color: var(--c-accent); }
nav .nav-cta {
  background: var(--c-primary);
  color: var(--c-white) !important;
  padding: 9px 22px;
  border-bottom: none !important;
  font-size: 11px;
  letter-spacing: 0.14em;
  transition: background 0.25s;
}
nav .nav-cta:hover { background: var(--c-accent); }

/* HAMBURGER (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--c-primary);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE DRAWER */
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: 24px 24px 32px;
  z-index: 199;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--c-text);
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  transition: color 0.2s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--c-accent); }
.nav-drawer .drawer-cta {
  margin-top: 20px;
  background: var(--c-primary);
  color: var(--c-white) !important;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  border-bottom: none !important;
}
.nav-drawer .drawer-cta:hover { background: var(--c-accent); }

/* ===== PAGE HERO ===== */
.page-hero {
  margin-top: 64px;
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero-overlay { position: absolute; inset: 0; background: rgba(20,30,24,0.60); }
.page-hero-content { position: relative; z-index: 1; padding: 0 80px; color: var(--c-white); }
.page-hero-en {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.58);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero-en::before { content: ''; width: 28px; height: 1px; background: rgba(255,255,255,0.45); display: block; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 80px;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  display: flex; gap: 8px; align-items: center;
}
.breadcrumb a { color: var(--c-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { color: var(--c-border); }

/* ===== SECTION ===== */
.section { padding: 96px 80px; }
.section-sm { padding: 64px 80px; }
.section-bg { background: var(--c-light); }

.label {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--c-accent);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.label::before { content: ''; width: 24px; height: 1px; background: var(--c-accent); display: block; }
.label-center { justify-content: center; }
.label-center::before { display: none; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--c-primary);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.section-text {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 300;
  line-height: 2.3; color: var(--c-muted);
}
.more-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 36px;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--c-primary);
  border-bottom: 1px solid var(--c-primary);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.more-link:hover { color: var(--c-accent); border-color: var(--c-accent); }

/* ===== CTA BAND ===== */
.cta-band {
  position: relative; overflow: hidden;
  min-height: 400px; display: flex; align-items: center;
}
.cta-band-bg { position: absolute; inset: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cta-band-overlay { position: absolute; inset: 0; background: rgba(18,28,20,0.72); }
.cta-inner {
  position: relative; z-index: 1; width: 100%;
  padding: 80px;
  display: flex; justify-content: space-between; align-items: center; gap: 60px;
}
.cta-btns { display: flex; flex-direction: column; gap: 14px; min-width: 260px; }
.cta-btn-w {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--c-white); color: var(--c-primary);
  padding: 20px 28px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  transition: all 0.3s;
}
.cta-btn-w:hover { background: var(--c-gold); color: var(--c-white); }
.cta-btn-o {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.46); color: var(--c-white);
  padding: 20px 28px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 300; letter-spacing: 0.1em;
  transition: all 0.3s;
}
.cta-btn-o:hover { border-color: var(--c-white); background: rgba(255,255,255,0.08); }
.cta-tel {
  font-family: var(--font-en); font-size: 13px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5); text-align: center; margin-top: 6px;
}

/* ===== DARK BAND CTA ===== */
.dark-cta {
  background: var(--c-primary);
  padding: 80px;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: var(--c-primary);
  padding: 72px 80px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 400;
  color: var(--c-white);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 20px;
}
.footer-logo small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px; font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}
.footer-addr {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 300;
  line-height: 2.1;
  color: rgba(255,255,255,0.48);
}
.footer-col-title {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.footer-nav a {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.46);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 300;
  color: rgba(255,255,255,0.26);
  letter-spacing: 0.1em;
}

/* ===== FADE IN ===== */
.fi { opacity: 0; transition: opacity 0.85s ease; }
.fi.vis { opacity: 1; }
.fi-d1 { transition-delay: 0.12s; }
.fi-d2 { transition-delay: 0.22s; }
.fi-d3 { transition-delay: 0.34s; }

/* ===== SHARED COMPONENTS ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; }
.two-col-img { overflow: hidden; }
.two-col-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.two-col-img:hover img { transform: scale(1.04); }
.two-col-body { padding: 80px 72px; display: flex; flex-direction: column; justify-content: center; }
.two-col.bg-light .two-col-body { background: var(--c-light); }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ===== CASE CARD ===== */
.c-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,22,17,0.88) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.35s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.c-card { position: relative; overflow: hidden; cursor: pointer; }
.c-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s; }
.c-card:hover img { transform: scale(1.05); }
.c-card:hover .c-overlay { opacity: 1; }
.c-num { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.22em; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.c-name { font-family: var(--font-serif); font-size: 16px; font-weight: 400; color: var(--c-white); letter-spacing: 0.06em; margin-bottom: 10px; }
.c-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.c-tag { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.28); padding: 3px 9px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header { padding: 0 16px; height: 60px; }
  /* ナビテキストを非表示にしてハンバーガーを表示 */
  nav .nav-item { display: none; }
  nav .nav-cta  { display: none; }
  .hamburger { display: flex; }
  .nav-drawer { top: 60px; }
  .section, .section-sm { padding: 56px 20px; }
  .page-hero-content, .breadcrumb { padding-left: 20px; padding-right: 20px; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .two-col-body { padding: 48px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 48px 20px 28px; }
  .cta-inner { flex-direction: column; padding: 48px 20px; }
  .dark-cta { padding: 56px 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
