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

:root {
  --cream: #f5f0e8;
  --blue:  #8facc0;
  --blue-dark: #7a9bb5;
  --text:  #5a4a3a;
  --text-light: #8a7a6a;
  --text-muted: #b0a090;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Noto Serif JP', serif;
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(245,240,232,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo img {
  height: 56px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active { border-bottom: 1.5px solid var(--blue-dark); padding-bottom: 2px; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--blue);
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 400;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

.nav-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 48px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ── LEFT: TEXT ── */
.hero-text { display: flex; flex-direction: column; gap: 0; }

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero-heading {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.65;
  color: var(--text);
  letter-spacing: 0.04em;
  text-wrap: pretty;
  margin-bottom: 8px;
}

.hero-heading em {
  display: block;
  font-style: normal;
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--blue);
  margin: 20px 0;
}

.hero-body {
  font-size: 13.5px;
  line-height: 2;
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.hero-cta-img {
  width: 260px;
  height: auto;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  filter: drop-shadow(0 4px 12px rgba(143,172,192,0.3));
}

.hero-cta-img:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 18px rgba(143,172,192,0.45)); }

.hero-contact {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.hero-contact:hover { color: var(--text-light); }
.hero-contact::after { content: '›'; font-size: 14px; }

/* ── RIGHT: IMAGES ── */
.hero-images {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.hero-img-01 {
  position: absolute;
  width: 62%;
  object-fit: contain;
  top: 10%;
  left: 0%;
  filter: drop-shadow(0 12px 32px rgba(90,74,58,0.12));
  border-radius: 16px;
  z-index: 1;
  transition: transform 0.4s ease;
}

.hero-img-02 {
  position: absolute;
  width: 44%;
  object-fit: contain;
  bottom: 4%;
  right: 2%;
  filter: drop-shadow(0 16px 40px rgba(90,74,58,0.18));
  z-index: 2;
  transition: transform 0.4s ease;
}

.hero-img-01:hover { transform: translateY(-6px) rotate(-1deg); }
.hero-img-02:hover { transform: translateY(-8px) rotate(1deg); }

/* floating dots decoration */
.dots {
  position: absolute;
  top: 20%;
  right: 12%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 0;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}
.dot:nth-child(2) { opacity: 0.3; margin-left: 8px; }
.dot:nth-child(3) { opacity: 0.15; margin-left: 4px; }

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  animation: bob 2s ease-in-out infinite;
}
.scroll-hint span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text);
}
.scroll-hint svg { color: var(--text); }

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* ── SERVICE ── */
.service {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-en {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
}

.section-ja {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(90,74,58,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(90,74,58,0.10);
}

.service-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: contain;
}

.service-body { flex: 1; }

.service-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ── WORKS ── */
.works {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.works-header {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 48px;
}

.works-header .section-header {
  text-align: center;
}

.works-link {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--text-muted);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.works-link:hover { color: var(--text-light); border-color: var(--text-light); }

.works-footer {
  text-align: right;
  margin-top: 48px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 48px;
  min-width: 0;
}

.work-card {
  cursor: pointer;
  transition: transform 0.3s;
  min-width: 0;
}

.work-card:hover { transform: translateY(-4px); }

.work-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: #f3efe9;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.work-card:hover .work-img-wrap img { transform: scale(1.04); }

.work-info { padding: 20px 4px 0; }

.work-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
  line-height: 1.7;
  margin-bottom: 12px;
}

.work-category {
  display: inline-block;
  font-size: 10.5px;
  color: var(--text-light);
  letter-spacing: 0.08em;
  background: #efe9e1;
  padding: 5px 12px;
}

/* ホバー時の工程タグ */
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.work-card:hover .work-tags {
  max-height: 120px;
  opacity: 1;
  margin-top: 12px;
}

.work-tags span {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.04em;
  background: #f3efe9;
  padding: 6px 13px;
  white-space: nowrap;
}

/* ── ABOUT ── */
.about {
  background: #eef2f7;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
}

.about-mascot {
  width: 160px;
  height: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

.about-text { }

.about-text .section-en { display: block; text-align: center; font-size: 32px; margin-bottom: 4px; }
.about-text .section-ja { display: block; text-align: center; margin-bottom: 24px; }

.about-body {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.about-deco {
  width: 120px;
  opacity: 0.25;
  flex-shrink: 0;
}

/* ── FLOW ── */
.flow {
  background: #fff;
}

.flow-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}

.flow-inner .section-header { margin-bottom: 56px; }

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: grid;
  grid-template-columns: 56px 80px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #eee;
  position: relative;
}

.flow-step:last-child { border-bottom: none; }

.flow-step:nth-child(even) {
  grid-template-columns: 1fr 80px 56px;
}

.flow-step:nth-child(even) .flow-step-body { text-align: right; grid-column: 1; grid-row: 1; }
.flow-step:nth-child(even) .flow-icon { grid-column: 2; grid-row: 1; }
.flow-step:nth-child(even) .flow-num { grid-column: 3; grid-row: 1; }

.flow-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: #d0dce8;
  line-height: 1;
  text-align: center;
}

.flow-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.flow-step-body {}

.flow-step-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.flow-step-desc {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-light);
  font-weight: 300;
}

/* ── PRICE ── */
.price {
  background: var(--cream);
}

.price-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.price-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(90,74,58,0.06);
}

.price-name {
  font-size: 12.5px;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.price-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.price-cta {
  background: #eef2f7;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.price-cta-text {
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.04em;
}

.price-cta-text span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 300;
}

.price-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

/* ── FAQ ── */
.faq {
  background: #fff;
}

.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}

.faq-list { margin-top: 0; }

.faq-item {
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

.faq-item:first-child { border-top: 1px solid #eee; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.faq-q-text {
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-q-text::before {
  content: 'Q';
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.faq-icon::before { width: 16px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 16px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.faq-item.open .faq-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 4px;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 4px 20px;
}

.faq-a-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 2;
  font-weight: 300;
  padding-left: 32px;
  letter-spacing: 0.02em;
}

/* ── HERO LIGHTBOX ── */
@keyframes heroLbFadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes heroLbScaleIn { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }
@keyframes heroLbFadeOut { from { opacity:1; } to { opacity:0; } }

.hero-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(40,32,24,0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  box-sizing: border-box;
}
.hero-lightbox.open    { display: flex; animation: heroLbFadeIn  0.35s ease forwards; }
.hero-lightbox.closing { animation: heroLbFadeOut 0.3s ease forwards; }
.hero-lightbox.open .hero-lightbox-inner { animation: heroLbScaleIn 0.35s cubic-bezier(0.22,1,0.36,1) forwards; }

.hero-lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  display: block;
}
.hero-lightbox-title {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.hero-lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ── FOOTER ── */
footer {
  background: var(--cream);
  border-top: 1px solid #e5ddd0;
  padding: 48px;
}

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

.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-nav a {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--text-light); }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-social a:hover { opacity: 0.7; }

.footer-copy {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 32px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.06em;
  padding: 16px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(180,160,140,0.18);
  transition: color 0.2s;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .mobile-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--blue);
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  border-bottom: none !important;
  width: auto;
}
.mobile-menu .mobile-cta:hover { background: var(--blue-dark); }
.mobile-menu .mobile-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .works { padding: 60px 24px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 36px; }
}

@media (max-width: 900px) {
  /* NAV */
  nav { padding: 0 20px; }
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }

  /* HERO */
  .hero-inner { grid-template-columns: 1fr; padding: 96px 24px 60px; gap: 40px; }
  .hero-images { height: 360px; }
  .hero-img-01 { width: 58%; }
  .hero-img-02 { width: 40%; }

  /* SERVICE */
  .service { padding: 60px 24px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }

  /* WORKS */
  .works { padding: 60px 24px; }
  .works-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* ABOUT */
  .about-inner {
    grid-template-columns: 1fr !important;
    padding: 60px 24px;
    text-align: center;
    overflow: hidden;
  }
  .about-mascot { margin: 0 auto; }
  .about-deco { display: none; }
  .about-text .section-en,
  .about-text .section-ja { text-align: center; }
  .about-body { word-break: break-word; }
  .about-text .nav-cta { margin: 0 auto; }

  /* PRICE */
  .price-inner { padding: 60px 24px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .price-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .price-cta-text { white-space: normal; word-break: break-word; }
  .price-cta-actions { align-items: center; }

  /* FOOTER */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: 0 24px; }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 480px) {
  .price-grid { grid-template-columns: 1fr; }
  .service-card { flex-direction: column; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
