*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --magenta: #C4006A;
  --magenta-light: #e0337f;
  --cream: #FDF5F0;
  --cream-dark: #f5e8e0;
  --dark: #2a1a1a;
  --mid: #6b4c4c;
  --light-border: #e8d5cc;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 15px;
  line-height: 1.8;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,245,240,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nav-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--magenta); letter-spacing: 0.05em; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 0.85rem; letter-spacing: 0.08em; transition: color .2s; }
.nav-links a:hover { color: var(--magenta); }
.nav-cta {
  background: var(--magenta); color: #fff; border: none; border-radius: 50px;
  padding: 10px 24px; font-size: 0.82rem; letter-spacing: 0.1em; cursor: pointer;
  text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: var(--magenta-light); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 60px 80px;
  gap: 60px;
  max-width: 1200px; margin: 0 auto;
}
.hero-left { flex: 1; }
.hero-label {
  font-size: 0.78rem; letter-spacing: 0.2em; color: var(--magenta);
  text-transform: uppercase; margin-bottom: 20px; display: block;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.15; margin-bottom: 24px;
  color: var(--dark);
}
.hero-title em { font-style: italic; color: var(--magenta); }
.hero-desc { font-size: 0.92rem; color: var(--mid); line-height: 2; max-width: 420px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--magenta); color: #fff; border: none; border-radius: 50px;
  padding: 14px 36px; font-size: 0.85rem; letter-spacing: 0.12em; cursor: pointer;
  text-decoration: none; transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--magenta-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--magenta);
  border: 1.5px solid var(--magenta); border-radius: 50px;
  padding: 14px 36px; font-size: 0.85rem; letter-spacing: 0.12em; cursor: pointer;
  text-decoration: none; transition: all .2s;
}
.btn-outline:hover { background: var(--magenta); color: #fff; transform: translateY(-2px); }
.hero-right { flex: 1; display: flex; justify-content: center; }
.hero-img-wrap {
  width: 100%; max-width: 480px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(196,0,106,0.15);
}
.hero-img-wrap img { width: 100%; height: auto; display: block; }

/* ===== SECTION COMMON ===== */
section { padding: 100px 60px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; letter-spacing: 0.25em; color: var(--magenta);
  text-transform: uppercase; margin-bottom: 12px; display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 48px;
}

/* ===== ABOUT ===== */
.about { background: var(--cream-dark); }
.about-inner { display: flex; align-items: center; gap: 70px; max-width: 1100px; margin: 0 auto; }
.about-img {
  flex: 0 0 320px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(196,0,106,0.12);
}
.about-img img { width: 100%; height: auto; display: block; }
.about-text { flex: 1; }
.about-text p { color: var(--mid); margin-bottom: 16px; font-size: 0.92rem; line-height: 2; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag {
  background: #fff; border: 1px solid var(--light-border);
  border-radius: 50px; padding: 6px 18px; font-size: 0.78rem;
  color: var(--magenta); letter-spacing: 0.06em;
}
.tag-link {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tag-link:hover {
  background: var(--magenta); color: #fff; border-color: var(--magenta);
}

/* ===== WORKS ===== */
.works { background: var(--cream); }
.works-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-btn {
  background: #fff; border: 1.5px solid var(--light-border);
  border-radius: 50px; padding: 8px 22px; font-size: 0.8rem;
  color: var(--mid); cursor: pointer; transition: all .2s;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.04em;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--magenta); border-color: var(--magenta); color: #fff;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.work-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform .25s, box-shadow .25s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(196,0,106,0.15); }
.work-card.hidden { display: none; }
.work-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--cream-dark);
  cursor: pointer;
}
.work-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(196,0,106,0.75), rgba(100,0,50,0.75));
  opacity: 0; transition: opacity .3s; display: flex; align-items: center; justify-content: center;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-overlay span { color: #fff; font-size: 0.78rem; letter-spacing: 0.15em; }
.work-info { padding: 18px 20px 20px; }
.work-cat {
  font-size: 0.7rem; letter-spacing: 0.15em; color: var(--magenta);
  text-transform: uppercase; margin-bottom: 6px; display: block;
}
.work-title { font-size: 0.88rem; color: var(--dark); line-height: 1.5; }

/* ===== SERVICES ===== */
.services { background: var(--cream-dark); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border-radius: 14px; padding: 36px 28px;
  border-left: 4px solid var(--magenta);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(196,0,106,0.1); }
.service-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); }
.service-desc { font-size: 0.83rem; color: var(--mid); line-height: 1.9; }

/* ===== PROCESS ===== */
.process { background: var(--cream); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.process-step {
  background: #fff; border-radius: 14px; padding: 32px 24px;
  text-align: center; position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.step-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.5rem;
  font-weight: 300; color: var(--magenta); opacity: 0.35; line-height: 1;
  margin-bottom: 12px;
}
.step-name { font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; color: var(--dark); }
.step-desc { font-size: 0.78rem; color: var(--mid); line-height: 1.8; }

/* ===== TESTIMONIAL ===== */
.testimonial {
  background: linear-gradient(135deg, var(--magenta), #8a0048);
  color: #fff;
}
.testimonial .section-label { color: rgba(255,255,255,0.6); }
.testimonial .section-title { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,0.12); border-radius: 14px;
  padding: 32px 28px; border: 1px solid rgba(255,255,255,0.2);
}
.testimonial-text { font-size: 0.88rem; line-height: 2; margin-bottom: 20px; opacity: 0.92; }
.testimonial-author { font-size: 0.8rem; opacity: 0.7; letter-spacing: 0.1em; }

/* ===== CONTACT ===== */
.contact { background: var(--cream-dark); }
.contact-wrap { max-width: 680px; margin: 0 auto; }
.contact-desc { color: var(--mid); font-size: 0.92rem; margin-bottom: 40px; line-height: 2; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--mid); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--light-border);
  border-radius: 10px; background: #fff; font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem; color: var(--dark); transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--magenta);
}
.form-group textarea { height: 140px; resize: vertical; }
.form-submit {
  width: 100%; background: var(--magenta); color: #fff; border: none;
  border-radius: 50px; padding: 16px; font-size: 0.9rem; letter-spacing: 0.12em;
  cursor: pointer; transition: background .2s; font-family: 'Noto Sans JP', sans-serif;
}
.form-submit:hover { background: var(--magenta-light); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark); color: rgba(255,255,255,0.6);
  padding: 60px 60px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: brightness(0.9); }
.footer-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: #fff; letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.75rem; }

/* ===== FADE IN ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { flex-direction: column; padding: 100px 24px 60px; gap: 40px; }
  .hero-right { order: -1; }
  .hero-img-wrap { max-width: 320px; }
  section { padding: 70px 24px; }
  .about-inner { flex-direction: column; gap: 40px; }
  .about-img { flex: 0 0 auto; width: 100%; max-width: 300px; }
  footer { padding: 50px 24px 32px; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: background 0.2s;
  z-index: 1001;
}
.lightbox-close:hover { background: var(--magenta); color: #fff; }


/* =====================
   Lightbox（作品拡大表示）
   ===================== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}