/* ================================================================
   LUMINA OPTICAL — assets/css/custom.css
   既存スタイル完全版 + 下層ページ用スタイル
   ================================================================ */

/* ---- Scroll Progress ------------------------------------------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, rgba(100,220,255,0.8), rgba(120,140,255,0.8));
  width: 0%; z-index: 9999; transition: width 0.1s linear;
}

/* ---- Glass / Morphism ------------------------------------------ */
.glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-strong {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---- Background Orbs ------------------------------------------- */
.orb { position: absolute; border-radius: 50%; pointer-events: none; }
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(100,220,255,0.08) 0%, transparent 70%);
  filter: blur(70px);
}
.orb-2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(120,140,255,0.07) 0%, transparent 70%);
  filter: blur(90px);
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(100,220,255,0.05) 0%, transparent 70%);
  filter: blur(50px);
}

/* ---- Navigation ------------------------------------------------- */
.nav-link {
  color: rgba(200,214,229,0.65);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  font-family: 'Noto Sans JP', sans-serif;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: rgba(100,220,255,0.6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: rgba(100,220,255,0.85); }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 0.5rem; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(200,214,229,0.7);
  transition: all 0.35s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
#mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(6, 11, 28, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2.5rem 1.5rem 3rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 998;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#mobile-menu.open {
  transform: translateY(0); opacity: 1; pointer-events: all;
}

/* ---- Section Labels --------------------------------------------- */
.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(100,220,255,0.65);
  font-family: 'Noto Sans JP', sans-serif; font-weight: 400;
}
.line-accent {
  display: inline-block; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,220,255,0.7));
}

/* ---- Hero ------------------------------------------------------- */
.hero-title {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.hero-sub { font-weight: 300; }
.hero-glasses { animation: floatY 4.5s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ---- Buttons ---------------------------------------------------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, rgba(100,220,255,0.22) 0%, rgba(100,220,255,0.08) 100%);
  border: 1px solid rgba(100,220,255,0.38);
  color: rgba(200,214,229,0.92);
  padding: 0.9rem 2.5rem;
  border-radius: 9999px;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: all 0.35s ease;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer; text-decoration: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(100,220,255,0.32) 0%, rgba(100,220,255,0.16) 100%);
  border-color: rgba(100,220,255,0.7);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(100,220,255,0.16);
}
/* Alias for old HTML */
.btn-submit { }
.btn-submit {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, rgba(100,220,255,0.22) 0%, rgba(100,220,255,0.08) 100%);
  border: 1px solid rgba(100,220,255,0.38);
  color: rgba(200,214,229,0.92);
  padding: 0.9rem 2.5rem;
  border-radius: 9999px;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: all 0.35s ease;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer; text-decoration: none;
}
.btn-submit:hover {
  background: linear-gradient(135deg, rgba(100,220,255,0.32) 0%, rgba(100,220,255,0.16) 100%);
  border-color: rgba(100,220,255,0.7);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(100,220,255,0.16);
}

/* ---- Gradient divider ------------------------------------------- */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,220,255,0.22), transparent);
  margin: 0 auto;
}

/* ---- Concept section -------------------------------------------- */
.concept-number {
  position: absolute; top: -1rem; right: 1rem;
  font-size: 6rem;
  font-family: 'Cormorant Garamond', serif;
  color: rgba(255,255,255,0.025);
  font-weight: 300; line-height: 1;
  pointer-events: none; user-select: none;
}

/* ---- Product Cards ---------------------------------------------- */
.product-card {
  border-radius: 16px; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(100,220,255,0.1);
}
.card-img-wrap { position: relative; overflow: hidden; height: 220px; }
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.06); }
.lens-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(100,220,255,0.08) 0%, transparent 55%);
  pointer-events: none;
}

/* ---- Spec list -------------------------------------------------- */
.spec-list {
  display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem;
}
.spec-list dt {
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(100,220,255,0.55); padding-top: 0.1rem;
  font-family: 'Noto Sans JP', sans-serif;
}
.spec-list dd {
  font-size: 0.78rem; color: rgba(200,214,229,0.7);
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---- Company Table --------------------------------------------- */
.company-table { width: 100%; border-collapse: collapse; }
.company-table th {
  color: rgba(100,220,255,0.65);
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 400; padding: 1.25rem 1.5rem;
  text-align: left; width: 32%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
  font-family: 'Noto Sans JP', sans-serif;
}
.company-table td {
  color: rgba(200,214,229,0.75);
  font-size: 0.88rem; padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  line-height: 1.85;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---- Form ------------------------------------------------------ */
.form-field { margin-bottom: 1.5rem; }
.form-field label {
  display: block; font-size: 0.72rem; letter-spacing: 0.12em;
  color: rgba(200,214,229,0.65); margin-bottom: 0.5rem;
  font-family: 'Noto Sans JP', sans-serif;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: rgba(200,214,229,0.9);
  font-size: 0.85rem;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(100,220,255,0.45);
  background: rgba(100,220,255,0.03);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(200,214,229,0.25);
}
.form-field textarea { resize: vertical; min-height: 130px; }

/* WordPress CF7 override */
.wpcf7-form .form-field input,
.wpcf7-form .form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: rgba(200,214,229,0.9);
  width: 100%;
}
.wpcf7-submit {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, rgba(100,220,255,0.22), rgba(100,220,255,0.08));
  border: 1px solid rgba(100,220,255,0.38) !important;
  color: rgba(200,214,229,0.92);
  padding: 0.9rem 2.5rem !important;
  border-radius: 9999px;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s ease;
}

/* ---- Scroll Focus Animation ------------------------------------ */
.scroll-focus {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-focus.in-view { opacity: 1; transform: translateY(0); }
.scroll-focus-delay-1 { transition-delay: 0.15s; }
.scroll-focus-delay-2 { transition-delay: 0.30s; }
.scroll-focus-delay-3 { transition-delay: 0.45s; }

/* ---- Page Hero (下層ページ共通) -------------------------------- */
.page-hero {
  padding: 9rem 1.5rem 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(100,220,255,0.07) 0%, transparent 65%),
    linear-gradient(180deg, #0A1128 0%, #060D1E 100%);
}
.page-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(100,220,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,220,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-hero__label { margin-bottom: 1rem; }
.page-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #fff; font-weight: 300;
  line-height: 1.15; margin-bottom: 1.25rem;
}
.page-hero__lead {
  font-size: 0.9rem; color: rgba(200,214,229,0.6);
  max-width: 520px; margin: 0 auto;
  line-height: 1.9; font-weight: 300;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; letter-spacing: 0.1em;
  color: rgba(200,214,229,0.4);
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 2rem;
  justify-content: center;
}
.breadcrumb a { color: rgba(100,220,255,0.55); transition: color 0.3s; }
.breadcrumb a:hover { color: rgba(100,220,255,1); }
.breadcrumb__sep { color: rgba(255,255,255,0.2); }

/* ---- Timeline (会社概要ページ) --------------------------------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(100,220,255,0.5) 0%, rgba(100,220,255,0.1) 100%);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute; left: -2.4rem; top: 0.35rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(100,220,255,0.7);
  box-shadow: 0 0 12px rgba(100,220,255,0.5);
}
.timeline-year {
  font-size: 0.65rem; letter-spacing: 0.2em;
  color: rgba(100,220,255,0.7); margin-bottom: 0.35rem;
  font-family: 'Noto Sans JP', sans-serif;
}
.timeline-text {
  font-size: 0.88rem; color: rgba(200,214,229,0.75);
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---- Process Steps (コンセプトページ) -------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden;
}
@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}
.process-step {
  background: rgba(10,17,40,0.95);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background 0.3s;
}
.process-step:hover { background: rgba(100,220,255,0.04); }
.process-step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; color: rgba(100,220,255,0.2);
  font-weight: 300; line-height: 1; margin-bottom: 0.5rem;
}
.process-step__name {
  font-size: 0.75rem; color: rgba(200,214,229,0.7);
  letter-spacing: 0.05em; line-height: 1.5;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---- Color swatches (商品案内ページ) --------------------------- */
.color-dots { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.color-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.color-dot:hover {
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(100,220,255,0.4);
}

/* ---- FAQ (お問合せページ) -------------------------------------- */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.88rem; color: rgba(200,214,229,0.85);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  background: none; border: none; cursor: pointer;
  text-align: left;
}
.faq-question:hover { color: #fff; }
.faq-icon {
  font-size: 1.2rem; color: rgba(100,220,255,0.6);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-icon.open { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open {
  max-height: 200px; padding-bottom: 1.25rem;
}
.faq-answer p {
  font-size: 0.83rem; color: rgba(200,214,229,0.6);
  line-height: 1.9;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---- Material badge -------------------------------------------- */
.material-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(100,220,255,0.08);
  border: 1px solid rgba(100,220,255,0.2);
  border-radius: 9999px;
  font-size: 0.65rem; letter-spacing: 0.12em;
  color: rgba(100,220,255,0.75);
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---- Access info block ----------------------------------------- */
.access-row {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: flex-start;
}
.access-row:last-child { border-bottom: none; }
.access-label {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(100,220,255,0.6); min-width: 80px;
  padding-top: 0.1rem;
  font-family: 'Noto Sans JP', sans-serif;
}
.access-val {
  font-size: 0.85rem; color: rgba(200,214,229,0.7); line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---- 404 page -------------------------------------------------- */
.page-404 {
  min-height: 80vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 2rem;
}
