/* Blissful Official Pixel-Perfect Clone Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,600&family=Raleway:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --font-logo: 'Playfair Display', Didot, 'Didot LT STD', 'Hoefler Text', Garamond, serif;
  --font-sans: 'Raleway', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --color-navy: #1a3c6c;
  --color-navy-hover: #122b4f;
  --color-dark: #080808;
  --color-body: #333333;
  --color-muted: #666666;
  --color-footer-bg: #181818;
  --color-footer-text: #a0a09f;
  --site-width: 980px;
  --header-height: 70px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  color: var(--color-body);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

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

.container {
  width: 100%;
  max-width: var(--site-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  font-family: var(--font-logo);
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #000000;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.brand-logo .tm {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 600;
  vertical-align: super;
  color: #555555;
  margin-left: 2px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  color: #222222;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--color-navy);
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.85rem;
  color: #333333;
  cursor: pointer;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  display: none;
  z-index: 1010;
}

.lang-dropdown.is-open {
  display: block;
}

.lang-option {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: #333333;
}

.lang-option:hover, .lang-option.is-active {
  background: #f3f4f6;
  font-weight: 600;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #000000;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 999;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
}

.mobile-nav-overlay.is-open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.15rem;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

/* ==========================================================================
   Section 1: Hero Section with back3 background
   ========================================================================== */
.hero-strip {
  position: relative;
  background: #f8fafc url('/assets/images/back3_opt.jpg') center / cover no-repeat;
  padding: 72px 0 80px;
}

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

.hero-eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-title span.highlight {
  color: var(--color-dark);
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #2b2b2b;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-btn {
  display: inline-block;
  background-color: var(--color-navy);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 0px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 10px rgba(26, 60, 108, 0.2);
}

.hero-btn:hover {
  background-color: var(--color-navy-hover);
  color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media img {
  width: 100%;
  max-width: 492px;
  height: auto;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Section 2: Consulting Pillars (3 Columns)
   ========================================================================== */
.pillars-strip {
  background: #ffffff;
  padding: 88px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar-col {
  display: flex;
  flex-direction: column;
}

.pillar-category-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: underline;
  margin-bottom: 12px;
  display: inline-block;
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
  line-height: 1.4;
}

.pillar-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #4a4d4b;
}

/* ==========================================================================
   Section 3: Middle Scenic Divider (back4)
   ========================================================================== */
.scenic-strip {
  width: 100%;
  height: 300px;
  background: #e2e8f0 url('/assets/images/back4_opt.jpg') center / cover no-repeat;
}

/* ==========================================================================
   Section 4: Mission Section
   ========================================================================== */
.mission-strip {
  background: #ffffff;
  padding: 96px 0;
  text-align: center;
}

.mission-eyebrow {
  display: block;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: #555555;
  margin-bottom: 32px;
}

.mission-quote {
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1.65;
  color: #111111;
  max-width: 860px;
  margin: 0 auto;
}

/* ==========================================================================
   Section 5: Footer & Contact Section
   ========================================================================== */
.site-footer {
  background-color: var(--color-footer-bg);
  color: #ffffff;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

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

.footer-mission-sub {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-footer-text);
  margin-bottom: 32px;
}

.footer-office {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--color-footer-text);
  margin-bottom: 16px;
}

.footer-office-title {
  color: #ffffff;
  font-weight: 600;
}

.footer-map-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: underline;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.social-icon-link {
  display: inline-block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.social-icon-link:hover {
  opacity: 1;
}

.social-icon-link img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.footer-copy {
  font-size: 0.85rem;
  color: #777777;
  line-height: 1.6;
}

.footer-copy a {
  color: #888888;
  text-decoration: underline;
}

/* Contact Form on Footer */
.footer-contact-wrap h2 {
  font-size: 2rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.contact-form-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-input, .contact-textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: #ffffff;
  border: none;
  border-radius: 0px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #000000;
}

.contact-input:focus, .contact-textarea:focus {
  outline: 2px solid var(--color-navy);
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  background-color: var(--color-navy);
  color: #ffffff;
  border: none;
  border-radius: 0px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}

.contact-submit-btn:hover {
  background-color: var(--color-navy-hover);
}

.contact-success-msg {
  display: none;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
  font-size: 0.95rem;
  margin-top: 12px;
}

.contact-success-msg.is-visible {
  display: block;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-media img {
    max-width: 100%;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .mission-quote {
    font-size: 1.45rem;
  }
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-strip {
    padding: 48px 0 60px;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .hero-btn {
    width: 100%;
    text-align: center;
  }
  .scenic-strip {
    height: 180px;
  }
  .mission-strip {
    padding: 60px 0;
  }
  .site-footer {
    padding: 60px 0 32px;
  }
  .contact-submit-btn {
    width: 100%;
  }
}
