/* ========================================
   あかし住建 - gar-denテイスト リデザイン
   余白×写真×ミニマルデザイン
   ======================================== */

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

:root {
  --primary: #50939d;
  --primary-dark: #3d7a83;
  --text: #222;
  --text-muted: #777;
  --text-light: #aaa;
  --bg: #fff;
  --bg-alt: #f7f6f3;
  --border: #222;
  --border-light: #ddd;
  --serif: "Noto Serif JP", "游明朝", "YuMincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

a { color: var(--text); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 580px; }

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.08em;
}

.header-nav { display: flex; gap: 28px; }
.header-nav a {
  font-size: 0.78rem; font-weight: 500; color: var(--text-muted);
  letter-spacing: 0.04em; transition: color 0.2s;
}
.header-nav a:hover { color: var(--text); }

.header-tel-btn {
  border: 1px solid var(--border);
  padding: 8px 20px; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.03em; transition: all 0.2s;
}
.header-tel-btn:hover {
  background: var(--text); color: #fff;
}

/* --- Hero --- */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "サンプル画像";
  position: absolute; bottom: 20px; right: 20px;
  background: rgba(0,0,0,0.4); color: #fff;
  font-size: 0.7rem; font-weight: 700; padding: 4px 10px;
  border-radius: 4px; z-index: 2;
}

.hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
}

.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
}

.hero-sub {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em;
  margin-bottom: 24px; opacity: 0.85;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1.6; letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.hero-line {
  width: 40px; height: 1px; background: #fff;
  margin: 0 auto 24px; opacity: 0.6;
}

.hero-lead {
  font-size: 0.9rem; letter-spacing: 0.1em; opacity: 0.85;
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center; color: #fff;
}
.hero-scroll span { font-size: 0.65rem; letter-spacing: 0.15em; opacity: 0.6; }
.scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.4);
  margin: 8px auto 0;
  animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Sections --- */
.section { padding: 100px 0; }
.section-bg { background: var(--bg-alt); }

/* --- Title Box (gar-den style) --- */
.title-box {
  margin-bottom: 40px;
}
.title-box-center { text-align: center; }

.title-box-label {
  display: block;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em;
  color: var(--primary); margin-bottom: 12px;
}

.title-box h2 {
  font-family: var(--serif);
  font-size: 1.6rem; font-weight: 700; line-height: 1.7;
  letter-spacing: 0.06em;
  display: inline-block;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}

/* --- Concept --- */
.concept-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.concept-photo {
  position: relative;
}
.concept-photo img {
  border: 8px solid var(--bg-alt);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.photo-label {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(0,0,0,0.5); color: #fff;
  font-size: 0.65rem; font-weight: 700; padding: 3px 8px;
  border-radius: 3px;
}

.concept-text p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 2.2;
  margin-bottom: 16px;
}

.concept-numbers {
  display: flex; gap: 32px; margin-top: 32px;
  padding-top: 28px; border-top: 1px solid var(--border-light);
}

.concept-num { text-align: center; }
.num-value {
  font-family: var(--serif);
  font-size: 2.2rem; font-weight: 700; color: var(--primary);
}
.num-unit { font-size: 0.85rem; color: var(--primary); font-weight: 600; }
.concept-num p { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

/* --- Works Gallery --- */
.works-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery-item img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-large { grid-row: 1 / 3; }
.gallery-large img { aspect-ratio: auto; height: 100%; }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 40px 24px 20px; color: #fff;
}

.gallery-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  opacity: 0.7; margin-bottom: 4px; display: block;
}

.gallery-caption h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.gallery-caption p { font-size: 0.75rem; opacity: 0.8; }

/* --- Before/After --- */
.ba-container {
  display: flex; align-items: stretch; gap: 0;
  max-width: 800px; margin: 0 auto;
}

.ba-side {
  flex: 1; position: relative;
}
.ba-side img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.ba-label {
  position: absolute; top: 12px; left: 12px;
  background: var(--text-muted); color: #fff;
  font-size: 0.7rem; font-weight: 700; padding: 4px 14px;
  letter-spacing: 0.05em;
}
.ba-label-after { background: var(--primary); }

.ba-divider {
  width: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--primary);
  font-size: 1rem; flex-shrink: 0;
}

.ba-desc {
  max-width: 800px; margin: 24px auto 0; text-align: center;
}
.ba-desc h3 { font-family: var(--serif); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.ba-desc p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.ba-meta { display: flex; gap: 20px; justify-content: center; }
.ba-meta span {
  font-size: 0.75rem; color: var(--text-light);
  border: 1px solid var(--border-light); padding: 4px 12px;
}

/* --- Menu --- */
.menu-list {
  max-width: 800px; margin: 0 auto;
  border-top: 2px solid var(--border);
}

.menu-row {
  display: grid;
  grid-template-columns: 180px 1fr auto auto;
  gap: 20px; align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.menu-en {
  display: block; font-size: 0.65rem; color: var(--primary);
  letter-spacing: 0.12em; font-weight: 500;
}
.menu-name h3 { font-size: 1rem; font-weight: 700; }
.menu-detail { font-size: 0.8rem; color: var(--text-muted); }
.menu-price {
  font-family: var(--serif);
  font-size: 1.05rem; font-weight: 700; color: var(--primary);
  white-space: nowrap;
}
.menu-period { font-size: 0.75rem; color: var(--text-light); white-space: nowrap; }

.menu-note {
  text-align: center; font-size: 0.75rem; color: var(--text-light);
  margin-top: 20px;
}

/* --- Voice --- */
.voice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.voice-card {
  border: 1px solid var(--border-light);
  padding: 32px 28px;
  transition: all 0.25s ease;
}
.voice-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(80,147,157,0.08);
}

.voice-card blockquote p {
  font-size: 0.88rem; color: var(--text); line-height: 2;
  margin-bottom: 16px;
}

.voice-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--border-light);
}
.voice-name { font-size: 0.8rem; font-weight: 700; }
.voice-type { font-size: 0.7rem; color: var(--primary); font-weight: 500; }

/* --- Flow --- */
.flow-steps {
  max-width: 700px; margin: 0 auto;
}

.flow-step-item {
  display: flex; gap: 28px; padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}

.flow-num {
  font-family: var(--serif);
  font-size: 1.8rem; font-weight: 700; color: var(--primary);
  opacity: 0.4; flex-shrink: 0; width: 48px;
}

.flow-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.flow-body p { font-size: 0.85rem; color: var(--text-muted); }

/* --- Contact --- */
.contact-tel-area {
  text-align: center; margin-bottom: 28px;
}
.contact-tel-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.contact-tel-number {
  display: block; font-family: var(--serif);
  font-size: 2rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text); margin-bottom: 4px;
}
.contact-tel-hours { font-size: 0.75rem; color: var(--text-light); }

.contact-divider {
  text-align: center; position: relative;
  margin-bottom: 28px; padding: 12px 0;
}
.contact-divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--border-light);
}
.contact-divider span {
  position: relative; background: #fff; padding: 0 20px;
  font-size: 0.8rem; color: var(--text-light);
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 6px;
}
.req {
  background: var(--primary); color: #fff; font-size: 0.6rem;
  padding: 2px 6px; margin-left: 4px; vertical-align: middle;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border-light);
  font-size: 0.9rem; font-family: var(--sans);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; }

.btn-submit {
  width: 100%; padding: 18px;
  background: var(--primary); color: #fff;
  border: none; font-size: 1rem; font-weight: 700;
  font-family: var(--sans);
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.05em;
}
.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(80,147,157,0.25);
}

.form-note {
  text-align: center; font-size: 0.75rem; color: var(--text-light);
  margin-top: 8px;
}

/* --- Footer --- */
.footer {
  background: var(--text); color: #999; padding: 48px 0 32px;
}

.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px; padding-bottom: 32px;
  border-bottom: 1px solid #333;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 700; color: #fff;
  letter-spacing: 0.08em; margin-bottom: 4px;
}
.footer-sub { font-size: 0.7rem; color: #777; margin-bottom: 8px; }
.footer-address { font-size: 0.7rem; color: #666; }

.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 0.75rem; color: #888; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.7rem; color: #555; }
.footer-credit a { color: #777; }
.footer-credit a:hover { color: #ccc; }

/* --- Mobile --- */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hero-title { font-size: 2rem; }
  .concept-grid { grid-template-columns: 1fr; gap: 32px; }
  .works-gallery { grid-template-columns: 1fr; }
  .gallery-large { grid-row: auto; }
  .gallery-large img { aspect-ratio: 4/3; height: auto; }
  .ba-container { flex-direction: column; }
  .ba-divider {
    width: 100%; height: 36px;
    transform: rotate(90deg);
  }
  .menu-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .section { padding: 64px 0; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-nav { flex-wrap: wrap; }
}
