/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   konmari portfolio — shared stylesheet
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

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

:root {
  --cream:  #f9f5f0;
  --white:  #fffcf9;
  --lv1:    #ffaac8;
  --lv2:    #fff2f7;
  --lv3:    #e8508a;
  --pk1:    #f2c4ce;
  --pk2:    #fceef1;
  --mt1:    #b5d9cb;
  --mt2:    #dff0e9;
  --tx1:    #2d2020;
  --tx2:    #6b5050;
  --tx3:    #b09090;
  --gold:   #c9a96e;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  background: var(--cream);
  color: var(--tx1);
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ━━━ SCROLL INDICATOR ━━━ */
.scroll-indicator {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lv1), var(--pk1), var(--mt1));
  z-index: 200;
  width: 0%;
  transition: width 0.1s;
}

/* ━━━ NAV ━━━ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: rgba(249, 245, 240, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 170, 200, 0.15);
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 2px 24px rgba(232, 80, 138, 0.1);
}
.nav-logo {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tx1);
  text-decoration: none;
}
.nav-logo span { color: var(--lv3); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--tx2);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--lv3); }
.nav-links a.active { color: var(--lv3); font-weight: 700; }
.nav-cta {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ffaac8 0%, #e8508a 100%);
  border: none;
  border-radius: 100px;
  padding: 10px 24px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(232,80,138,0.32);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.04em;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,80,138,0.42); }

/* ━━━ BUTTONS ━━━ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ffaac8 0%, #e8508a 100%);
  border: none;
  border-radius: 100px;
  padding: 18px 40px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(232,80,138,0.38);
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
  font-family: "Zen Maru Gothic", sans-serif;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: inherit;
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(232,80,138,0.45);
}
.btn-primary .material-icons { font-size: 18px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tx2);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
  letter-spacing: 0.02em;
}
.btn-ghost .material-icons { font-size: 16px; transition: transform 0.2s; }
.btn-ghost:hover { color: var(--lv3); }
.btn-ghost:hover .material-icons { transform: translateX(3px); }

/* ━━━ WAVE ━━━ */
.wave {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  position: relative;
  z-index: 1;
}
.wave svg { display: block; width: 100%; }

/* ━━━ PAGE HERO (sub pages) ━━━ */
.page-hero {
  padding: 140px 56px 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,170,200,0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-blob-1 {
  width: 500px; height: 460px;
  background: radial-gradient(circle, var(--lv2) 0%, transparent 70%);
  top: -100px; right: -80px;
  opacity: 0.7;
}
.page-hero-blob-2 {
  width: 300px; height: 280px;
  background: radial-gradient(circle, var(--mt2) 0%, transparent 70%);
  bottom: -60px; left: -60px;
  opacity: 0.6;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lv3);
  background: var(--lv2);
  border-radius: 100px;
  padding: 7px 20px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow .material-icons { font-size: 13px; }
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--tx1);
  line-height: 1.22;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}
.page-hero h1 .accent { color: var(--lv3); }
.page-hero p {
  font-size: 15px;
  color: var(--tx2);
  line-height: 1.9;
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
}

/* ━━━ SECTION COMMON ━━━ */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 100px 56px;
  position: relative;
  z-index: 1;
}
.section-inner.narrow { max-width: 820px; }

.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lv3);
  margin-bottom: 18px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  width: 32px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--lv1));
}
.section-eyebrow::after {
  background: linear-gradient(90deg, var(--lv1), transparent);
}
.section-eyebrow.left { justify-content: flex-start; }
.section-eyebrow.left::before { display: none; }

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  text-align: center;
  color: var(--tx1);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-title .accent { color: var(--lv3); }
.section-lead {
  text-align: center;
  font-size: 15px;
  color: var(--tx2);
  line-height: 1.9;
  margin-bottom: 64px;
}

/* ━━━ ABOUT ━━━ */
#about-wrap {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#about-wrap .bg-shape-1 {
  position: absolute;
  width: 500px; height: 460px;
  border-radius: 55% 45% 60% 40% / 45% 60% 40% 55%;
  background: radial-gradient(circle at 40% 40%, var(--lv2) 0%, transparent 70%);
  top: -100px; right: -100px;
  opacity: 0.7;
  pointer-events: none;
}
#about-wrap .bg-shape-2 {
  position: absolute;
  width: 300px; height: 280px;
  border-radius: 45% 55% 40% 60%;
  background: radial-gradient(circle, var(--pk2) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  opacity: 0.6;
  pointer-events: none;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-photo-area {
  position: relative;
  height: 480px;
}
/* ── About: hero-style panel strip ── */
.about-panels {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 100%;
}
.about-panel {
  flex: 1;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: var(--cream);
  position: relative;
}
.ap-1 { height: 78%; }
.ap-2 { height: 100%; }
.ap-3 { height: 68%; }
.about-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.65s ease;
}
.about-panel:hover img { transform: scale(1.04); }
.about-panel-ph {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--lv2) 0%, var(--cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-panel-ph .material-icons { font-size: 32px; color: var(--lv3); opacity: 0.3; }
/* floating badge */
.about-floating-badge {
  position: absolute;
  top: -12px; right: -12px;
  z-index: 3;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: 0 8px 28px rgba(232,80,138,0.14);
  border: 1.5px solid var(--lv2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-floating-badge .material-icons { font-size: 16px; color: var(--gold); }
.about-floating-badge-text { font-size: 12px; font-weight: 700; color: var(--tx1); line-height: 1.5; }
.about-content {}
.about-content .section-eyebrow { margin-bottom: 14px; }
.about-content .section-title { text-align: left; margin-bottom: 28px; }
.about-content p {
  font-size: 15px;
  color: var(--tx2);
  line-height: 2.1;
  margin-bottom: 20px;
}
.about-content strong { color: var(--tx1); font-weight: 700; }
.ambassador-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 32px;
}
.ambassador-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid rgba(255,170,200,0.25);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tx1);
  transition: box-shadow 0.2s, transform 0.2s;
}
.ambassador-item:hover {
  box-shadow: 0 4px 16px rgba(232,80,138,0.1);
  transform: translateY(-1px);
}
.ambassador-item .material-icons { font-size: 15px; color: var(--lv3); flex-shrink: 0; }
.ambassador-item.full { grid-column: 1 / -1; }

/* ━━━ STATS BELT ━━━ */
.stats-belt {
  background: linear-gradient(135deg, var(--lv3) 0%, #cc3878 100%);
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}
.stats-belt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.stats-belt-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.stat-num {
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-num sup { font-size: 0.5em; vertical-align: super; }
.stat-num sub { font-size: 0.45em; vertical-align: baseline; }
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* ━━━ DIFFERENTIATION BAR ━━━ */
.diff-bar {
  background: linear-gradient(135deg, var(--tx1) 0%, #3d2020 100%);
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}
.diff-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,170,200,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
}
.diff-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.diff-bar-text {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}
.diff-bar-text em {
  font-style: normal;
  color: var(--lv1);
}
.diff-bar-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  font-weight: 400;
}
.diff-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tx1);
  background: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 36px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  font-family: "Zen Maru Gothic", sans-serif;
  letter-spacing: 0.04em;
}
.diff-bar-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.diff-bar-cta .material-icons { font-size: 18px; color: var(--lv3); }

/* ━━━ SPEAKING ━━━ */
#speaking-wrap {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
#speaking-wrap::before {
  content: '';
  position: absolute;
  width: 420px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lv2) 0%, transparent 70%);
  top: -80px; right: -60px;
  opacity: 0.6;
  pointer-events: none;
}
.speaking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.speaking-card {
  background: var(--white);
  border-radius: 28px;
  padding: 36px 32px;
  border: 1px solid rgba(255,170,200,0.2);
  box-shadow: 0 4px 20px rgba(232,80,138,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.speaking-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lv1), var(--pk1), var(--mt1));
}
.speaking-card:hover {
  box-shadow: 0 12px 40px rgba(232,80,138,0.12);
  transform: translateY(-4px);
}
.speaking-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.speaking-date {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--tx3);
  letter-spacing: 0.08em;
}
.speaking-org {
  font-size: 11px;
  font-weight: 700;
  color: var(--lv3);
  background: var(--lv2);
  border-radius: 100px;
  padding: 3px 12px;
  letter-spacing: 0.06em;
}
/* ━━━ SPEAKING THUMB ━━━ */
.speaking-thumb {
  margin: -36px -32px 20px;
  width: calc(100% + 64px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}
.speaking-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.speaking-card:hover .speaking-thumb img { transform: scale(1.04); }
.speaking-thumb-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--lv2) 0%, var(--pk2) 60%, var(--mt2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.speaking-thumb-ph .material-icons { font-size: 40px; color: var(--lv3); opacity: 0.25; }

.speaking-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--tx1);
  line-height: 1.5;
  margin-bottom: 20px;
}
.speaking-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--tx2);
  background: var(--white);
  border-radius: 16px;
  padding: 18px 24px;
  border: 1px solid rgba(255,170,200,0.2);
}
.speaking-note .material-icons { font-size: 18px; color: var(--lv1); flex-shrink: 0; }
.speaking-note a { color: var(--lv3); font-weight: 600; text-decoration: none; }
.speaking-note a:hover { text-decoration: underline; }

/* ━━━ WORKS ━━━ */
#works-wrap {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
#works-wrap .bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--pk2) 0%, transparent 70%);
  width: 400px; height: 380px;
  top: -60px; right: 60px;
  opacity: 0.6;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.work-card {
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,170,200,0.18);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,170,200,0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.work-card:hover {
  box-shadow: 0 20px 56px rgba(232,80,138,0.16);
  transform: translateY(-6px);
}
.work-card:hover::before { opacity: 1; }
.work-card-visual {
  height: 220px;
  background: linear-gradient(135deg, var(--lv2) 0%, var(--pk2) 60%, var(--mt2) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-card-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.work-card-visual::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--white));
}
.work-card-visual-icon {
  position: relative;
  z-index: 1;
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.85);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(232,80,138,0.15);
}
.work-card-visual-icon .material-icons { font-size: 32px; color: var(--lv3); }
.work-card-visual-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}
.work-card-visual-deco-1 {
  width: 140px; height: 140px;
  background: rgba(255,170,200,0.5);
  top: -40px; right: -40px;
}
.work-card-visual-deco-2 {
  width: 80px; height: 80px;
  background: rgba(242,196,206,0.5);
  bottom: -20px; left: 20px;
}
.work-card-body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-card-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx3);
  margin-bottom: 8px;
}
.work-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--tx1);
  margin-bottom: 10px;
  line-height: 1.3;
}
.work-card-desc {
  font-size: 13.5px;
  color: var(--tx2);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 22px;
}
.work-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.work-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.work-card-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--lv3);
  background: var(--lv2);
  border-radius: 100px;
  padding: 3px 12px;
}
.work-card-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lv2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.work-card:hover .work-card-arrow { background: var(--lv3); transform: rotate(-45deg); }
.work-card-arrow .material-icons { font-size: 18px; color: var(--lv3); }
.work-card:hover .work-card-arrow .material-icons { color: #fff; }

/* ━━━ GALLERY ━━━ */
#gallery-wrap {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#gallery-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,170,200,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.gallery-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--tx2);
  background: var(--cream);
  border: 1.5px solid rgba(255,170,200,0.25);
  border-radius: 100px;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.03em;
}
.tab-btn .material-icons { font-size: 17px; }
.tab-btn:hover { color: var(--lv3); border-color: var(--lv1); background: var(--lv2); }
.tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--lv1), var(--lv3));
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(232,80,138,0.3);
}
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  border: 1px solid rgba(255,170,200,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 36px rgba(232,80,138,0.18);
  z-index: 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,32,32,0.65) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
/* Placeholder when image is missing */
.gallery-item-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--lv2) 0%, var(--pk2) 50%, var(--mt2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.gallery-item-ph .material-icons { font-size: 36px; color: var(--lv3); opacity: 0.4; }
.gallery-add-hint {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--tx3);
  line-height: 1.8;
}
.gallery-add-hint a { color: var(--lv3); font-weight: 600; text-decoration: none; }
.gallery-add-hint a:hover { text-decoration: underline; }

/* ━━━ SERVICES ━━━ */
#services-wrap {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#services-wrap .bg-shape-1 {
  position: absolute;
  width: 500px; height: 460px;
  border-radius: 45% 55% 55% 45% / 50%;
  background: radial-gradient(circle, var(--lv2) 0%, transparent 70%);
  bottom: -120px; left: -80px;
  opacity: 0.65;
  pointer-events: none;
}
#services-wrap .bg-shape-2 {
  position: absolute;
  width: 320px; height: 300px;
  border-radius: 55% 45% 40% 60%;
  background: radial-gradient(circle, var(--mt2) 0%, transparent 70%);
  top: -60px; right: -60px;
  opacity: 0.55;
  pointer-events: none;
}
.service-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: center;
  padding: 52px 0;
  border-bottom: 1.5px solid rgba(255,170,200,0.18);
}
.service-row:last-of-type { border-bottom: none; }
.service-row.rev { grid-template-columns: 1fr 260px; }
.service-row.rev .service-photo-wrap { order: 2; }
.service-row.rev .service-text-wrap { order: 1; }
.service-photo-wrap { position: relative; }
.service-photo {
  width: 240px; height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 12px 40px rgba(232,80,138,0.15);
  display: block;
  position: relative;
  z-index: 1;
}
.service-photo-ph {
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 12px 40px rgba(232,80,138,0.15);
  position: relative;
  z-index: 1;
}
.service-photo-ph.ph-1 { background: linear-gradient(135deg, var(--lv2), var(--lv1) 60%, var(--pk1)); }
.service-photo-ph.ph-2 { background: linear-gradient(135deg, var(--pk2), var(--pk1) 60%, var(--lv1)); }
.service-photo-ph.ph-3 { background: linear-gradient(135deg, var(--mt2), var(--mt1) 60%, var(--lv1)); }
.service-photo-wrap::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--lv2);
  top: 20px; left: 20px;
  opacity: 0.45;
  z-index: 0;
}
.service-num-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--lv2);
  color: var(--lv3);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.service-name {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--tx1);
  margin-bottom: 14px;
  line-height: 1.25;
}
.service-desc {
  font-size: 14.5px;
  color: var(--tx2);
  line-height: 2;
  margin-bottom: 20px;
}
.service-tools { display: flex; flex-wrap: wrap; gap: 7px; }
.tool-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--tx2);
  background: var(--cream);
  border-radius: 100px;
  padding: 4px 14px;
  border: 1px solid rgba(255,170,200,0.3);
}
.service-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding-top: 52px;
  border-top: 1.5px solid rgba(255,170,200,0.18);
}
.service-mini-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 28px 24px;
  border: 1px solid rgba(255,170,200,0.2);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.service-mini-card::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--lv1);
  opacity: 0.1;
}
.service-mini-card:hover {
  box-shadow: 0 8px 28px rgba(232,80,138,0.12);
  transform: translateY(-3px);
}
.service-mini-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--lv2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-mini-icon .material-icons { font-size: 22px; color: var(--lv3); }
.service-mini-title { font-size: 16px; font-weight: 700; color: var(--tx1); margin-bottom: 10px; }
.service-mini-desc { font-size: 12.5px; color: var(--tx2); line-height: 1.85; margin-bottom: 16px; }

/* ━━━ REFERENCE PRICING ━━━ */
#pricing-wrap {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
#pricing-wrap .bg-shape {
  position: absolute;
  pointer-events: none;
  width: 440px; height: 420px;
  border-radius: 55% 45% 50% 50%;
  background: radial-gradient(circle, var(--pk2) 0%, transparent 70%);
  top: -80px; right: -80px;
  opacity: 0.55;
}
.pricing-availability {
  background: var(--white);
  border-radius: 20px;
  padding: 18px 24px;
  border: 1.5px solid rgba(255,170,200,0.3);
  font-size: 13.5px;
  color: var(--tx2);
  line-height: 1.8;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.pricing-availability .material-icons { font-size: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.price-card {
  background: var(--white);
  border-radius: 22px;
  padding: 24px 26px;
  border: 1px solid rgba(255,170,200,0.2);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.price-card:hover { box-shadow: 0 8px 28px rgba(232,80,138,0.12); transform: translateY(-2px); }
.price-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--lv1), var(--pk1));
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.price-card:hover::before { opacity: 1; }
.price-card-left { flex: 1; }
.price-card-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tx1);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  flex-wrap: wrap;
}
.price-card-note { font-size: 11.5px; color: var(--tx3); line-height: 1.6; }
.price-amount {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--tx1);
  white-space: nowrap;
  text-align: right;
  line-height: 1.4;
  flex-shrink: 0;
}
.price-amount small { font-size: 11px; font-weight: 400; color: var(--tx3); display: block; }
.price-card.wide { grid-column: 1 / -1; }
.badge { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 2.5px 9px; border-radius: 100px; letter-spacing: 0.04em; }
.badge-lv { background: var(--lv2); color: var(--lv3); }
.badge-pk { background: var(--pk2); color: #b56070; }
.pricing-note {
  margin-top: 22px;
  background: var(--white);
  border-radius: 18px;
  padding: 18px 24px;
  font-size: 13px;
  color: var(--tx2);
  line-height: 1.85;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(255,170,200,0.2);
}
.pricing-note .material-icons { font-size: 16px; color: var(--lv1); flex-shrink: 0; margin-top: 2px; }

/* ━━━ TESTIMONIAL ━━━ */
#testimonial-wrap {
  background: linear-gradient(135deg, #f5effe 0%, #fff0f4 50%, #edf8f4 100%);
  position: relative;
  overflow: hidden;
}
#testimonial-wrap .bg-shape {
  position: absolute;
  pointer-events: none;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,170,200,0.2) 1px, transparent 1px);
  background-size: 36px 36px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.testimonial-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 28px 26px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 24px rgba(232,80,138,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}
.testimonial-card:hover { box-shadow: 0 12px 40px rgba(232,80,138,0.15); transform: translateY(-3px); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.star { font-size: 15px; color: var(--gold); }
.testimonial-text { font-size: 13.5px; color: var(--tx1); line-height: 1.9; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.ta-a { background: linear-gradient(135deg, var(--lv1), var(--lv3)); }
.ta-b { background: linear-gradient(135deg, var(--pk1), #e06070); }
.ta-c { background: linear-gradient(135deg, var(--mt1), #5aaa88); }
.testimonial-name { font-size: 13px; font-weight: 700; color: var(--tx1); }
.testimonial-role { font-size: 11px; color: var(--tx3); }

/* ━━━ CONNECT (replaces contact) ━━━ */
#connect-wrap {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
#connect-wrap::before {
  content: '';
  position: absolute;
  width: 500px; height: 460px;
  border-radius: 55% 45% 50% 50%;
  background: radial-gradient(circle, var(--lv2) 0%, transparent 70%);
  top: -100px; left: -100px;
  opacity: 0.55;
  pointer-events: none;
}
#connect-wrap::after {
  content: '';
  position: absolute;
  width: 360px; height: 340px;
  border-radius: 45% 55%;
  background: radial-gradient(circle, var(--pk2) 0%, transparent 70%);
  bottom: -80px; right: -60px;
  opacity: 0.5;
  pointer-events: none;
}
.connect-card {
  background: var(--white);
  border-radius: 40px;
  padding: 72px 80px 64px;
  border: 1px solid rgba(255,170,200,0.2);
  box-shadow: 0 16px 64px rgba(232,80,138,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.connect-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--lv1), var(--pk1), var(--mt1));
}
.connect-card .section-title { margin-bottom: 16px; }
.connect-desc {
  font-size: 15px;
  color: var(--tx2);
  line-height: 2;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
/* SNSリンクグリッド */
.connect-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.connect-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: 18px;
  border: 1px solid rgba(255,170,200,0.2);
  text-align: left;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.connect-link:hover {
  background: #fff;
  box-shadow: 0 8px 28px rgba(232,80,138,0.12);
  transform: translateY(-2px);
}
.connect-link > .material-icons:first-child { font-size: 26px; color: var(--lv3); flex-shrink: 0; }
.connect-link-info { flex: 1; min-width: 0; }
.connect-link-name { font-size: 15px; font-weight: 700; color: var(--tx1); }
.connect-link-desc { font-size: 13px; color: var(--tx3); margin-top: 3px; }
.connect-link-arrow { font-size: 18px !important; color: var(--tx3); flex-shrink: 0; opacity: 0.5; }
/* メール */
.connect-mail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--lv2) 0%, var(--pk2) 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,170,200,0.3);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.connect-mail:hover {
  box-shadow: 0 8px 28px rgba(232,80,138,0.18);
  transform: translateY(-2px);
}
.connect-mail > .material-icons:first-child { font-size: 26px; color: var(--lv3); flex-shrink: 0; }
.connect-mail-info { flex: 1; text-align: left; }
.connect-mail-label { font-size: 12px; color: var(--tx2); margin-bottom: 2px; }
.connect-mail-addr { font-size: 15px; font-weight: 700; color: var(--tx1); }

/* ━━━ FOOTER ━━━ */
footer {
  background: var(--tx1);
  padding: 40px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.footer-logo span { color: var(--lv1); }
footer p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ━━━ FADE-IN ━━━ */
.fi {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.25,.46,.45,.94), transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.fi.delay-1 { transition-delay: 0.1s; }
.fi.delay-2 { transition-delay: 0.2s; }
.fi.delay-3 { transition-delay: 0.3s; }
.fi.delay-4 { transition-delay: 0.4s; }
.fi.visible { opacity: 1; transform: translateY(0); }

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  .nav-links { display: none; }
  .section-inner { padding: 72px 28px; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-area { height: 300px; margin: 0 auto; width: 100%; }
  .ap-3 { display: none; }
  .about-floating-badge { top: -8px; right: -8px; }
  .about-content .section-title { text-align: center; }
  .about-content .section-eyebrow { justify-content: center; }
  .stats-belt { padding: 40px 28px; }
  .stats-belt-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .diff-bar { padding: 40px 28px; }
  .diff-bar-inner { justify-content: center; text-align: center; }
  .speaking-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row, .service-row.rev { grid-template-columns: 1fr; gap: 32px; }
  .service-row .service-photo-wrap { order: 0; display: flex; justify-content: center; }
  .service-row.rev .service-photo-wrap { order: 0; display: flex; justify-content: center; }
  .service-row.rev .service-text-wrap { order: 1; }
  .service-mini-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .connect-card { padding: 48px 28px; }
  .page-hero { padding: 120px 28px 64px; }
  footer { padding: 28px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 26px; }
  .stats-belt-inner { grid-template-columns: repeat(2, 1fr); }
  .ambassador-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 56px 20px; }
  .connect-card { padding: 40px 20px; }
  .diff-bar-text { font-size: 17px; }
  .speaking-title { font-size: 15px; }
  .speaking-grid { grid-template-columns: 1fr; }
}

/* ━━━ LIGHTBOX ━━━ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 14, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lb-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 80px;
  box-sizing: border-box;
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

#lbImg {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* 透かしレイヤー */
.lb-wm {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='110'%3E%3Ctext transform='rotate(-35,110,55)' x='50%25' y='55%25' text-anchor='middle' dominant-baseline='middle' font-size='15' font-family='sans-serif' fill='rgba(255,255,255,0.22)' font-weight='600' letter-spacing='1'%3E%40konmari_tweet%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 110px;
}

/* 閉じるボタン */
.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.25); }
.lb-close .material-icons { font-size: 24px; }

/* 前後ボタン */
.lb-prev,
.lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover,
.lb-next:hover { background: rgba(255,255,255,0.28); }
.lb-prev .material-icons,
.lb-next .material-icons { font-size: 30px; }

/* ギャラリーサムネイル：右クリック・ドラッグ保護 */
.gallery-item img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 640px) {
  .lb-container { padding: 60px 16px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; }
}
