/* style.css - Premium Modern Design for Garden FWH (B2B Media & PR Consulting) */

:root {
  --primary: #0c2340;       /* Deep Luxury Blue */
  --primary-light: #1e3a60; /* Medium Blue */
  --accent: #d4af37;        /* Matte Gold Accent */
  --accent-light: #f4e8c1;  /* Soft Gold Accent */
  --bg-light: #f8fafc;      /* Background Matte Light */
  --text-dark: #1e293b;     /* Slate Dark Text */
  --text-muted: #64748b;    /* Muted Text Gray */
  --white: #ffffff;
  --success: #10b981;       /* Premium Mint Green */
  --error: #ef4444;
  --font-sans: "Noto Sans JP", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibility: Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 20px;
  z-index: 9999;
  font-weight: bold;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  background-color: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--accent);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-img {
  width: 42px;
  height: 42px;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  aria-label: "メニューを開閉";
}

/* Main Content Wrapper */
.main-content {
  flex: 1;
}

/* Hero Section */
.hero-sec {
  background: linear-gradient(135deg, var(--primary) 0%, #05101e 100%);
  color: var(--white);
  padding: 100px 0 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-sec::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 4px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.hero-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--accent);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature/Asymmetric Section */
.feature-sec {
  padding: 90px 0;
  background-color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-grid.reverse {
  direction: rtl;
}

.feature-grid.reverse > * {
  direction: ltr;
}

.feature-img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--accent);
}

.feature-img {
  width: 100%;
  height: auto;
  display: block;
}

.section-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

.feature-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.feature-icon {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.feature-text strong {
  color: var(--primary);
  display: block;
}

/* Services Grid (on index.html & services.html) */
.services-sec {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.service-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-info {
  padding: 24px;
}

.service-title {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Workflow Section (Random Section 1) */
.flow-sec {
  padding: 90px 0;
  background-color: var(--white);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.flow-step {
  text-align: center;
  position: relative;
}

.flow-num {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px auto;
  border: 3px solid var(--accent-light);
}

.flow-step h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Form Section */
.form-sec {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  position: relative;
}

.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--white);
  color: var(--text-dark);
  padding: 48px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-header h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 800;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--primary);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-checkbox {
  margin-top: 4px;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-checkbox-label a:hover {
  color: var(--accent);
}

.btn-submit {
  width: 100%;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
  border: none;
  padding: 16px;
  border-radius: 4px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-submit:disabled {
  background-color: var(--text-muted);
  color: var(--white);
  cursor: not-allowed;
}

/* Success Box state */
.success-box {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.success-icon {
  width: 64px;
  height: 64px;
  color: var(--success);
  margin-bottom: 24px;
}

.success-title {
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}

.success-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* FAQ Accordion Section (faq.html) */
.faq-sec {
  padding: 90px 0;
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.faq-details {
  background-color: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-summary {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '＋';
  font-size: 1.2rem;
  color: var(--accent);
  transition: var(--transition);
}

.faq-details[open] .faq-summary::after {
  content: 'ー';
  transform: rotate(180deg);
}

.faq-details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid #e2e8f0;
  background-color: var(--white);
}

/* Partner / Random Section 2 */
.partner-sec {
  padding: 60px 0;
  background-color: var(--bg-light);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.partner-title {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}

.partner-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  opacity: 0.65;
}

.partner-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 1px;
}

/* About / History (about.html) */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #112d54 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.about-intro-sec {
  padding: 90px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-narrative h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.about-narrative p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.company-factsheet {
  background-color: var(--bg-light);
  padding: 32px;
  border-radius: 6px;
  border-left: 4px solid var(--accent);
}

.fact-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 8px;
}

.fact-row {
  display: flex;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.fact-label {
  width: 140px;
  font-weight: 700;
  color: var(--primary);
}

.fact-value {
  flex: 1;
  color: var(--text-muted);
}

/* Contacts Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-panel h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
  border: 1px solid #e2e8f0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Section */
.site-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0 30px 0;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h4 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

.footer-about p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-legal h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

.footer-legal-text {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-legal-text strong {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 0.8rem;
  color: #64748b;
}

.footer-meta-links {
  display: flex;
  gap: 16px;
}

.footer-meta-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-meta-links a:hover {
  color: var(--accent);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  padding: 20px 24px;
  border-top: 3px solid var(--accent);
  transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.btn-cookie-accept {
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-cookie-decline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-decline:hover {
  color: var(--white);
  border-color: var(--white);
}

/* Legal Page Styling (Privacy, Terms, etc.) */
.legal-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 24px;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 48px;
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 24px;
}

.legal-header h1 {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-body h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

.legal-body p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-body ul, .legal-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-body li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* Responsive Adjustments (Mobile-first) */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .feature-grid, .feature-grid.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .feature-grid.reverse {
    direction: ltr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Can expand via JS if menu toggle clicked, kept simple and accessible */
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--primary);
    padding: 20px;
    border-bottom: 3px solid var(--accent);
    gap: 16px;
  }
  
  .nav-menu.show {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .form-wrapper {
    padding: 24px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .legal-container {
    padding: 24px;
    margin: 30px auto;
  }
}
