/* =========================
   Base
========================= */
:root{
  --bg: #fbfaf8;
  --surface: #ffffff;
  --soft: #f3f1ed;
  --text: #1f2328;
  --muted: #5b6470;
  --line: rgba(20, 20, 20, .10);
  --shadow: 0 14px 30px rgba(0,0,0,.08);
  --radius: 18px;
  --radius2: 28px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
.container{
  width: min(1180px, calc(100% - 40px));
  margin-inline:auto;
}

/* =========================
   Header
========================= */
.site-header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(251,250,248,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}
.brand-logo{
  width: 34px;
  height: 34px;
}
.brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.brand-name{ font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.brand-tag{ font-size: 12px; color: var(--muted); }

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav-link{
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
}
.nav-link:hover{ background: rgba(0,0,0,.05); color: var(--text); }
.nav-cta{
  background: var(--text);
  color: #fff;
}
.nav-cta:hover{ background: #000; color:#fff; }

.hamburger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.hamburger span{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 99px;
}
.drawer{
  padding: 10px 20px 18px;
  border-top: 1px solid var(--line);
  background: rgba(251,250,248,.92);
}
.drawer-link{
  display:block;
  padding: 12px 10px;
  color: var(--muted);
  border-radius: 12px;
}
.drawer-link:hover{ background: rgba(0,0,0,.05); color: var(--text); }
.drawer-cta{
  margin-top: 6px;
  background: var(--text);
  color:#fff;
}

/* =========================
   Hero (写真が主役)
========================= */
.hero{
  position:relative;
  overflow:hidden;
}
.hero-media{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 360px 260px;
  gap: 10px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.02));
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.hero-media img:nth-child(1){ grid-column: 1; grid-row: 1 / span 2; }
.hero-media img:nth-child(2){ grid-column: 2; grid-row: 1; }
.hero-media img:nth-child(3){ grid-column: 3; grid-row: 1; }
.hero-media img:nth-child(4){ grid-column: 2 / span 2; grid-row: 2; }

.hero-overlay{
  position:absolute;
  inset: 0;
  display:flex;
  align-items:flex-end;
  pointer-events:none;
}
.hero-copy{
  pointer-events:auto;
  padding: 0 0 22px;
}
.hero-copy h1{
  margin:0;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: .02em;
  text-shadow: 0 16px 30px rgba(0,0,0,.30);
  color:#fff;
}
.hero-copy p{
  margin: 10px 0 0;
  color: rgba(255,255,255,.88);
  text-shadow: 0 12px 22px rgba(0,0,0,.25);
  max-width: 46ch;
}
.hero-actions{
  display:flex;
  gap: 12px;
  margin-top: 14px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.14);
  color:#fff;
  box-shadow: 0 16px 28px rgba(0,0,0,.18);
}
.btn.primary{
  background: #fff;
  color: var(--text);
  border-color: rgba(255,255,255,.65);
}
.btn.ghost{
  background: rgba(255,255,255,.14);
  color:#fff;
}
.btn:hover{ transform: translateY(-1px); }

/* =========================
   Sections
========================= */
.section{
  padding: 64px 0;
}
.section.soft{
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head h2{
  margin:0;
  font-size: 22px;
  letter-spacing: .02em;
}
.section-head p{
  margin:0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   Category grid (写真カード)
========================= */
.category-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius2);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  min-height: 180px;
}
.cat-card img{
  width:100%;
  height: 220px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .25s ease;
}
.cat-card:hover img{ transform: scale(1.08); }
.cat-label{
  position:absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,.08);
}

/* =========================
   Masonry (大量写真)
========================= */
.masonry{
  columns: 4;
  column-gap: 14px;
}
.tile{
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  background: var(--surface);
}
.tile img{
  width:100%;
  height:auto;
  display:block;
}
.gallery-cta{
  display:flex;
  justify-content:center;
  margin-top: 22px;
}
.gallery-cta .btn{
  background: rgba(0,0,0,.06);
  color: var(--text);
  border-color: rgba(0,0,0,.08);
  box-shadow: none;
}
.gallery-cta .btn:hover{ background: rgba(0,0,0,.09); }

/* =========================
   Steps (文字最小限)
========================= */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step{
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex;
  gap: 14px;
}
.step-no{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
}
.step-body h3{
  margin: 2px 0 6px;
  font-size: 16px;
}
.step-body p{
  margin:0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   Contact
========================= */
.contact-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items:stretch;
}
.contact-media img{
  width:100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
}
.contact-box{
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 22px;
}
.contact-box h2{
  margin:0 0 10px;
  font-size: 22px;
}
.contact-box p{
  margin:0 0 14px;
  color: var(--muted);
}
.contact-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-actions .btn{
  color: var(--text);
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.08);
  box-shadow:none;
}
.contact-actions .btn.primary{
  background: var(--text);
  color:#fff;
  border-color: var(--text);
}
.note{ color: var(--muted); display:block; margin-top: 10px; }

/* =========================
   Footer
========================= */
.site-footer{
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}
.footer-title{ font-weight: 800; }
.footer-sub{ color: var(--muted); font-size: 13px; margin-top: 4px; }
.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.footer-links a:hover{ color: var(--text); }
.footer-meta{ color: var(--muted); }

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .nav{ display:none; }
  .hamburger{ display:block; }
  .category-grid{ grid-template-columns: repeat(2, 1fr); }
  .masonry{ columns: 2; }
  .steps{ grid-template-columns: 1fr; }
  .contact-inner{ grid-template-columns: 1fr; }
  .hero-media{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
  }
  .hero-media img:nth-child(1){ grid-column: 1 / span 2; grid-row: 1; }
  .hero-media img:nth-child(2){ grid-column: 1; grid-row: 2; }
  .hero-media img:nth-child(3){ grid-column: 2; grid-row: 2; }
  .hero-media img:nth-child(4){ display:none; }
}

@media (max-width: 520px){
  .container{ width: calc(100% - 28px); }
  .masonry{ columns: 1; }
  .category-grid{ grid-template-columns: 1fr; }
  .hero-actions{ flex-direction: column; align-items:flex-start; }
}
