/* =============================================
   Qeight HP — common.css
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: #111827;
  background: #fff;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- CSS Variables ---------- */
:root {
  --green:  #7EC820;
  --green-d:#5fa015;
  --blue:   #3b82f6;
  --blue-d: #2563eb;
  --cyan:   #0ea5e9;
  --cyan-d: #0284c7;
  --purple: #9333ea;
  --purple-d:#7c22cc;
  --orange: #f97316;
  --orange-d:#ea6c0a;
  --dark:   #0f172a;
  --dark2:  #1e293b;
  --white:  #ffffff;
  --light:  #f8fafc;
  --gray:   #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
}

/* ---------- Layout ---------- */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .inner  { padding: 0 16px; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(15,23,42,.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  white-space: nowrap;
  margin-right: auto;
}
.site-logo span { color: var(--green); }
.nav-link {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
}
.nav-link:hover       { color: #fff; background: rgba(255,255,255,.1); }
.nav-link.active      { color: #fff; }
.nav-link.active-green  { background: rgba(126,200,32,.18); color: var(--green); }
.nav-link.active-blue   { background: rgba(59,130,246,.18); color: #60a5fa; }
.nav-link.active-cyan   { background: rgba(14,165,233,.18); color: #38bdf8; }
.nav-link.active-purple { background: rgba(147,51,234,.18); color: #c084fc; }
.nav-link.active-orange { background: rgba(249,115,22,.18); color: var(--orange); }
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  transition: background .2s;
}
.nav-cta:hover { background: var(--green-d); }
@media (max-width: 768px) {
  .nav-link { display: none; }
  .coord-grid { grid-template-columns: 1fr !important; }
  .sp-col1    { grid-template-columns: 1fr !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-green  { background: var(--green);  color: #fff; }
.btn-green:hover  { background: var(--green-d);  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(126,200,32,.35); }
.btn-blue   { background: var(--blue);   color: #fff; }
.btn-blue:hover   { background: var(--blue-d);   transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,.35); }
.btn-cyan   { background: var(--cyan);   color: #fff; }
.btn-cyan:hover   { background: var(--cyan-d);   transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,165,233,.35); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(147,51,234,.35); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.35); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-sm { padding: 10px 22px; font-size: .85rem; }

/* ---------- Section Titles ---------- */
.sec-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.sec-label-green  { background: rgba(126,200,32,.12); color: var(--green); }
.sec-label-blue   { background: rgba(59,130,246,.12);  color: var(--blue); }
.sec-label-cyan   { background: rgba(14,165,233,.12);  color: var(--cyan); }
.sec-label-purple { background: rgba(147,51,234,.12);  color: var(--purple); }
.sec-label-orange { background: rgba(249,115,22,.12);  color: var(--orange); }
.sec-label-white  { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }

.sec-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
}
.sec-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 2px;
}
.tag-green  { background: rgba(126,200,32,.12); color: var(--green); }
.tag-blue   { background: rgba(59,130,246,.12);  color: var(--blue); }
.tag-cyan   { background: rgba(14,165,233,.12);  color: var(--cyan); }
.tag-purple { background: rgba(147,51,234,.12);  color: var(--purple); }
.tag-gray   { background: #f1f5f9; color: var(--gray); }

/* ---------- Feature Cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.fi-green  { background: rgba(126,200,32,.12); }
.fi-blue   { background: rgba(59,130,246,.12); }
.fi-cyan   { background: rgba(14,165,233,.12); }
.fi-purple { background: rgba(147,51,234,.12); }
.fi-orange { background: rgba(249,115,22,.12); }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: .875rem; color: var(--gray); line-height: 1.7; }

/* ---------- Photo Grid ---------- */
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.photo-grid-3 img {
  width: 100%; height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}
.photo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.photo-grid-2 img {
  width: 100%; height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (max-width: 768px) {
  .photo-grid-3 { grid-template-columns: 1fr 1fr; }
  .photo-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .photo-grid-3 { grid-template-columns: 1fr; }
}

/* ---------- CTA Block ---------- */
.cta-block {
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}
.cta-block h2  { font-size: clamp(1.5rem,3vw,2rem); font-weight: 900; margin-bottom: 12px; }
.cta-block p   { font-size: 1rem; opacity: .85; margin-bottom: 32px; }
.cta-block-green  { background: linear-gradient(135deg, #3a6e0a 0%, #5fa015 50%, var(--green) 100%); }
.cta-block-blue   { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%); }
.cta-block-cyan   { background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 50%, #0ea5e9 100%); }
.cta-block-purple { background: linear-gradient(135deg, #3b0764 0%, #7c22cc 50%, #9333ea 100%); }
.cta-block-orange { background: linear-gradient(135deg, #7c2d12 0%, #ea6c0a 50%, #f97316 100%); }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Stats Row ---------- */
.stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.stat-label { font-size: .8rem; margin-top: 4px; opacity: .7; }

/* ---------- Video Container ---------- */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb span { color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 48px 0 24px;
  font-size: .85rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-brand .logo span { color: var(--green); }
.footer-brand p { margin-top: 8px; font-size: .8rem; line-height: 1.7; }
.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-col h4 { color: rgba(255,255,255,.8); font-size: .8rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 12px; }
.footer-col a  { display: block; color: rgba(255,255,255,.5); font-size: .8rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
}

/* ---------- Accordion (FAQ) ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #111827;
}
.faq-q .arrow {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  transition: transform .25s;
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 0 20px;
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }

/* ---------- Utility ---------- */
.bg-light  { background: var(--light); }
.bg-dark   { background: var(--dark); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
