/* グロウラボ — メインスタイルシート */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700;900&display=swap');

:root {
  --primary: #833AB4;
  --primary-alt: #9B59B6;
  --secondary: #E1306C;
  --dark: #1a1a2e;
  --medium-grey: #666666;
  --light-grey: #F8F5FF;
  --white: #ffffff;
  --accent: #FD1D1D;
  --gradient: linear-gradient(135deg, #833AB4 0%, #C13584 50%, #E1306C 100%);
  --font: 'Noto Sans JP', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(131,58,180,0.12);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 900; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

/* ===================== LAYOUT ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.col-1-3 { flex: 1 1 280px; }
.col-1-2 { flex: 1 1 420px; }
.col-2-3 { flex: 2 1 520px; }
.text-center { text-align: center; }
.section { padding: 80px 0; }
.section--grey { background: var(--light-grey); }
.section--dark { background: var(--dark); color: var(--white); }
.section--gradient { background: var(--gradient); color: var(--white); }
.separator { height: 4px; width: 60px; background: var(--gradient); border-radius: 2px; margin: 16px auto 32px; }
.separator--left { margin-left: 0; }
.section-subtitle { color: var(--medium-grey); font-size: 1.05rem; max-width: 600px; margin: 0 auto 40px; }

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(131,58,180,0.1);
  padding: 0 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 20px; max-width: 1200px; margin: 0 auto;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding svg { width: 40px; height: 40px; }
.brand-name { font-size: 1.4rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.main-menu { display: flex; align-items: center; gap: 8px; list-style: none; }
.main-menu a {
  display: block; padding: 8px 16px; font-weight: 700; font-size: 0.92rem;
  color: var(--dark); border-radius: 8px; transition: all var(--transition);
}
.main-menu a:hover, .main-menu a.active { background: var(--light-grey); color: var(--primary); }
.main-menu .btn-nav {
  background: var(--gradient); color: var(--white) !important;
  padding: 8px 20px; border-radius: 24px;
}
.main-menu .btn-nav:hover { opacity: 0.9; background: var(--gradient); }

.menu-trigger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-trigger span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: all var(--transition); }

@media (max-width: 768px) {
  .menu-trigger { display: block; }
  .main-menu {
    display: none; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--white);
    padding: 20px; border-bottom: 1px solid rgba(131,58,180,0.1);
    gap: 4px;
  }
  .main-menu.open { display: flex; }
  .main-menu a { width: 100%; }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 32px; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; transition: all var(--transition); text-decoration: none;
  font-family: var(--font);
}
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: 0 4px 20px rgba(225,48,108,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(225,48,108,0.45); color: var(--white); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--light-grey); color: var(--primary); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: url('../content/hero-bg.webp') center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(131,58,180,0.65) 100%);
}
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 60px; padding: 80px 20px; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-text { flex: 1 1 500px; color: var(--white); }
.hero-tag { display: inline-block; padding: 6px 16px; background: rgba(255,255,255,0.15); border-radius: 20px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 20px; backdrop-filter: blur(4px); }
.hero-text h1 { margin-bottom: 20px; }
.hero-text h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-lede { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-image { flex: 1 1 380px; max-width: 480px; }
.hero-image img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

@media (max-width: 768px) {
  .hero { min-height: auto; }
  .hero-inner { flex-direction: column; padding: 60px 20px; }
  .hero-image { max-width: 100%; }
}

/* ===================== STATS ===================== */
.stats-row { background: var(--white); padding: 60px 0; }
.stats-grid { display: flex; flex-wrap: wrap; gap: 0; }
.stat-item {
  flex: 1 1 220px; text-align: center; padding: 40px 24px;
  border-right: 1px solid rgba(131,58,180,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 3rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; }
.stat-label { color: var(--medium-grey); font-size: 0.95rem; font-weight: 700; }
.stat-icon { font-size: 1.8rem; margin-bottom: 12px; color: var(--primary); }

@media (max-width: 600px) {
  .stat-item { border-right: none; border-bottom: 1px solid rgba(131,58,180,0.12); }
  .stat-item:last-child { border-bottom: none; }
}

/* ===================== BENEFIT CARDS ===================== */
.cards-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  flex: 1 1 280px; background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; box-shadow: var(--shadow);
  border: 1px solid rgba(131,58,180,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(131,58,180,0.18); }
.card-icon { font-size: 2rem; color: var(--primary); margin-bottom: 16px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--medium-grey); font-size: 0.95rem; margin: 0; }
.custom-list { list-style: none; padding: 0; margin: 12px 0 0; }
.custom-list li { position: relative; padding-left: 24px; color: var(--medium-grey); font-size: 0.93rem; margin-bottom: 8px; }
.custom-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===================== TABS ===================== */
.tabs-container { margin-top: 40px; }
.tab-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; border-bottom: 2px solid rgba(131,58,180,0.12); padding-bottom: 0; }
.tab-btn {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px;
  background: none; border: none; cursor: pointer; font-family: var(--font);
  font-size: 0.95rem; font-weight: 700; color: var(--medium-grey);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn .tab-num {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(131,58,180,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 900;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn.active .tab-num { background: var(--primary); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.tab-panel-text { flex: 1 1 380px; }
.tab-panel-text h3 { font-size: 1.4rem; margin-bottom: 16px; }
.tab-panel-text p { color: var(--medium-grey); }
.tab-panel-image { flex: 1 1 340px; }
.tab-panel-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===================== PRICING ===================== */
.pricing-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.pricing-card {
  flex: 1 1 280px; max-width: 340px; background: var(--white);
  border-radius: 16px; padding: 40px 32px; box-shadow: var(--shadow);
  border: 2px solid rgba(131,58,180,0.1); position: relative;
  transition: transform var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--primary); background: var(--gradient); color: var(--white);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--secondary); color: var(--white); padding: 4px 16px;
  border-radius: 12px; font-size: 0.8rem; font-weight: 700; white-space: nowrap;
}
.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; opacity: 0.8; }
.plan-price { font-size: 2.8rem; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.plan-price span { font-size: 1rem; font-weight: 400; }
.plan-period { font-size: 0.85rem; opacity: 0.7; margin-bottom: 24px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 28px; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid rgba(131,58,180,0.08); font-size: 0.93rem; display: flex; align-items: center; gap: 8px; }
.pricing-card.featured .plan-features li { border-bottom-color: rgba(255,255,255,0.15); }
.plan-features li i { color: var(--primary); font-size: 0.85rem; }
.pricing-card.featured .plan-features li i { color: var(--white); }

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.testimonial-card {
  flex: 1 1 300px; background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); border-left: 4px solid var(--primary);
}
.testimonial-stars { color: #F59E0B; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-text { color: var(--medium-grey); font-style: italic; margin-bottom: 20px; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 900; font-size: 1.1rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { color: var(--medium-grey); font-size: 0.85rem; }

/* ===================== CTA BAND ===================== */
.cta-band { background: var(--gradient); padding: 80px 20px; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-band .btn-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ===================== FAQ ===================== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(131,58,180,0.12); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; font-family: var(--font); font-size: 1rem;
  font-weight: 700; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; color: var(--dark); transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question i { transition: transform var(--transition); font-size: 0.9rem; color: var(--primary); }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 0 20px; color: var(--medium-grey); line-height: 1.7; }

/* ===================== IMAGE OVERLAY ===================== */
.image-overlay { position: relative; }
.image-overlay-layout-2 { display: flex; gap: -20px; }
.image-overlay-layout-2 img:first-child { width: 65%; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-overlay-layout-2 img:last-child { width: 45%; margin-top: 40px; margin-left: -20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-overlay-layout-3 { position: relative; height: 420px; }
.image-overlay-layout-3 img:nth-child(1) { position: absolute; top: 0; left: 0; width: 62%; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-overlay-layout-3 img:nth-child(2) { position: absolute; bottom: 0; right: 0; width: 50%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===================== CONTACT FORM ===================== */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 60px; }
.contact-form-block { flex: 1 1 420px; }
.contact-info-block { flex: 1 1 280px; }
.contact-form-block form { background: var(--white); padding: 40px; border-radius: 16px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid rgba(131,58,180,0.15);
  border-radius: 8px; font-family: var(--font); font-size: 1rem;
  transition: border-color var(--transition); outline: none; color: var(--dark);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 14px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--light-grey); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.contact-info-label { font-weight: 700; margin-bottom: 4px; font-size: 0.9rem; }
.contact-info-value { color: var(--medium-grey); font-size: 0.95rem; }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-link { width: 44px; height: 44px; border-radius: 50%; background: var(--light-grey); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; transition: all var(--transition); }
.social-link:hover { background: var(--gradient); color: var(--white); transform: scale(1.1); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { flex: 1 1 260px; }
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-desc { margin-top: 16px; font-size: 0.93rem; line-height: 1.7; }
.footer-nav-group { flex: 1 1 160px; }
.footer-nav-group h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.92rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact-info { font-size: 0.9rem; line-height: 1.9; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px 20px; max-width: 1200px; margin: 0 auto; }
.footer-copy { font-size: 0.85rem; opacity: 0.5; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 1rem; transition: color var(--transition); }
.footer-social a:hover { color: var(--white); }

/* ===================== COOKIES GDPR ===================== */
.cookies-alert {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 680px; background: var(--dark);
  color: rgba(255,255,255,0.88); border-radius: 16px; padding: 24px 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4); z-index: 9999;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  border: 1px solid rgba(131,58,180,0.3);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookies-alert.hidden { opacity: 0; transform: translateX(-50%) translateY(120%); pointer-events: none; }
.cookies-text { flex: 1 1 300px; font-size: 0.88rem; line-height: 1.6; }
.cookies-text a { color: var(--primary-alt); }
.cookies-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookies-accept { background: var(--gradient); color: var(--white); border: none; padding: 10px 22px; border-radius: 24px; font-family: var(--font); font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: opacity var(--transition); }
.btn-cookies-accept:hover { opacity: 0.88; }
.btn-cookies-reject { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2); padding: 10px 18px; border-radius: 24px; font-family: var(--font); font-size: 0.88rem; cursor: pointer; transition: all var(--transition); }
.btn-cookies-reject:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  background: var(--gradient); padding: 80px 20px; text-align: center; color: var(--white);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { opacity: 0.85; max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; font-size: 0.88rem; opacity: 0.7; }
.breadcrumb a { color: var(--white); }
.breadcrumb span { opacity: 0.5; }

/* ===================== VALUES PAGE ===================== */
.values-grid { display: flex; flex-wrap: wrap; gap: 32px; }
.value-item { flex: 1 1 280px; display: flex; gap: 20px; }
.value-icon-wrap { width: 52px; height: 52px; border-radius: 12px; background: var(--light-grey); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.4rem; flex-shrink: 0; }
.value-text h3 { margin-bottom: 8px; }
.value-text p { color: var(--medium-grey); font-size: 0.93rem; margin: 0; }

/* ===================== IMAGE GRID ===================== */
.image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.image-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }

/* ===================== LEGAL PAGE ===================== */
.legal-content { max-width: 840px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 36px 0 12px; color: var(--dark); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--primary); }
.legal-content p, .legal-content li { color: var(--medium-grey); line-height: 1.8; }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 6px; }

/* ===================== SUCCESS PAGE ===================== */
.success-box { max-width: 520px; margin: 80px auto; text-align: center; padding: 60px 40px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.success-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 20px; }
.success-box h1 { font-size: 1.8rem; margin-bottom: 12px; }
.success-box p { color: var(--medium-grey); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .section { padding: 60px 0; }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 640px) {
  .tab-nav { gap: 4px; }
  .tab-btn { padding: 10px 12px; font-size: 0.85rem; }
  .image-grid { grid-template-columns: 1fr 1fr; }
  .image-grid img:last-child { display: none; }
  .footer-top { gap: 32px; }
  .cta-band { padding: 60px 20px; }
}
