/* =============================================================
   株式会社ポジティブ — Corporate Site Stylesheet
   Design: Consulting-grade, professional, deep navy × gold
   ============================================================= */

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.7;
}

/* ─── Section Padding ───────────────────────────────────────── */
.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* ─── Custom Shadow ─────────────────────────────────────────── */
.shadow-card {
  box-shadow: 0 2px 12px rgba(10, 25, 47, 0.07), 0 1px 3px rgba(10, 25, 47, 0.04);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.shadow-card:hover {
  box-shadow: 0 8px 32px rgba(10, 25, 47, 0.12), 0 2px 8px rgba(10, 25, 47, 0.06);
  transform: translateY(-3px);
}

/* ─── Header ─────────────────────────────────────────────────── */
#site-header {
  background: transparent;
}

#site-header.scrolled {
  background: rgba(10, 25, 47, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

/* Header text colors stay white on navy bg */
#site-header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.7);
}

#site-header.scrolled .nav-link:hover {
  color: #C9A84C;
}

#site-header.scrolled .logo-mark {
  border-color: #C9A84C;
}

/* Hamburger text color on scrolled bg */
#site-header.scrolled .hamburger-line {
  background-color: white;
}

/* ─── Hamburger Menu ─────────────────────────────────────────── */
.hamburger-line {
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

#hamburger-btn.is-open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#hamburger-btn.is-open .hamburger-line:nth-child(2) {
  transform: translateY(0) rotate(-45deg);
}

#hamburger-btn.is-open .hamburger-line:nth-child(3) {
  opacity: 0;
  transform: scaleX(0);
}

/* ─── Mobile Menu ────────────────────────────────────────────── */
#mobile-menu {
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* ─── Hero Section ───────────────────────────────────────────── */
.hero-section {
  position: relative;
}

/* Subtle grid overlay for texture */
.hero-grid-overlay {
  background-image: 
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Scroll indicator animation */
.scroll-line {
  animation: scrollBounce 2.4s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  30%  { opacity: 1; }
  60%  { opacity: 0.4; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ─── Hero Fade-in Animations ────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Reveal on Scroll ───────────────────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Message Section ────────────────────────────────────────── */
.message-lead {
  position: relative;
}

.message-lead::before {
  content: '';
  display: block;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #C9A84C, transparent);
  position: absolute;
  left: -24px;
  top: 0;
}

@media (max-width: 1023px) {
  .message-lead::before {
    display: none;
  }
}

/* ─── Business Cards ─────────────────────────────────────────── */
.business-card {
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.business-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.business-card:hover::before {
  border-bottom-color: #C9A84C;
}

.card-image {
  transition: transform 0.55s ease;
}

.card-image-wrap:hover .card-image,
.business-card:hover .card-image {
  transform: scale(1.06);
}

/* ─── Profile Table ──────────────────────────────────────────── */
.profile-table dt {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.profile-row:last-child {
  border-bottom: 1px solid #e5e7eb;
}

/* Mobile: stack the table cells */
@media (max-width: 639px) {
  .profile-row.grid {
    grid-template-columns: 1fr;
  }
  .profile-row dt {
    padding-bottom: 0;
    color: #C9A84C;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 20px;
    padding-bottom: 4px;
  }
  .profile-row dd {
    padding-top: 0;
    padding-bottom: 20px;
  }
}

/* ─── Contact Section ────────────────────────────────────────── */
.contact-btn {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.contact-btn-tel {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.contact-btn-mail {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

/* ─── Footer ─────────────────────────────────────────────────── */
footer address a {
  text-decoration: none;
}

/* ─── Selection Color ────────────────────────────────────────── */
::selection {
  background-color: rgba(201, 168, 76, 0.25);
  color: #0A192F;
}

/* ─── Focus Visible ──────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 3px;
}

/* ─── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0A192F;
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.35);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.6);
}

/* ─── Responsive Typography Helpers ─────────────────────────── */
@media (max-width: 640px) {
  .contact-btn {
    min-width: unset !important;
    width: 100%;
    clip-path: none;
  }
}

/* ─── Active Nav Link ────────────────────────────────────────── */
.nav-link-active {
  color: #C9A84C !important;
  position: relative;
}

.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: #C9A84C;
}

/* ─── Print ──────────────────────────────────────────────────── */
@media print {
  #site-header,
  .scroll-line,
  #mobile-menu {
    display: none !important;
  }
}


/* GROWUP ADD CSS
2026.3.23
 */

.hero-title{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

@media (max-width: 620px) {
  .hero-title {
	width:350px;
  }
}
@media (max-width: 349px) {
  .hero-title {
	width:100%;
  }
}