/* --------------------------------
   Variables & Reset (Airy & Friendly)
-------------------------------- */
:root {
  --bg-color: #fafafa;
  --surface-color: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --accent-yellow: #fbbc05;
  --accent-blue: #4285f4;
  --border-light: #e0e0e0;
  
  --font-main: 'Noto Sans JP', sans-serif;
  
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  --radius-md: 12px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  
  --transition-smooth: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --------------------------------
   Typography
-------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 4px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

p {
  color: var(--text-muted);
}

/* --------------------------------
   Layout & Container
-------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--spacing-xl) 0;
}

/* --------------------------------
   Navigation
-------------------------------- */
.nav-bar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* Hamburger active animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------
   Buttons
-------------------------------- */
.btn-primary {
  background: var(--accent-blue);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: #3367d6;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.btn-primary.large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-accent {
  background: var(--accent-yellow);
  color: var(--text-main) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn-accent:hover {
  background: #e5ab00;
  transform: translateY(-2px);
}

/* --------------------------------
   Hero Section
-------------------------------- */
.hero {
  padding: calc(80px + 6vh) 2rem 8vh;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------
   About
-------------------------------- */
.about {
  background: var(--surface-color);
  padding: var(--spacing-lg) 0;
}

.about-text {
  max-width: 800px;
}

/* --------------------------------
   Pillars (Cards)
-------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.pillar-img {
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* V3 specification respected */
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-img img {
  transform: scale(1.05);
}

.pillar-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sub-badge {
  font-size: 0.7rem;
  background: #e6f4ea;
  color: #1e8e3e;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-weight: 700;
}

.pillar-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-action {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* --------------------------------
   News & Contact
-------------------------------- */
.footer-section {
  padding: var(--spacing-lg) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.news-list {
  list-style: none;
}

.news-list li {
  padding: 1rem 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.news-list .date {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-blue);
}

.news-list .title {
  font-size: 0.95rem;
}

.contact-block {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 2rem;
}

/* --------------------------------
   Animations
-------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------
   Responsive
-------------------------------- */
@media (max-width: 768px) {
  .hero {
    padding: calc(70px + 4vh) 1rem 6vh;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid transparent;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    max-height: 400px;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }

  .nav-links .btn-primary {
    margin: 1rem auto 0;
    display: inline-block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------
   Sub Pages (Photography, Workshop, Tech)
-------------------------------- */
.sub-hero {
  padding: 20vh 2rem 10vh;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  margin-bottom: 4rem;
}
.sub-title {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: #fff;
}
.price-table {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.price-card {
  background: var(--surface-color);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  width: 100%;
  max-width: 350px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin: 1rem 0;
}
.price-features {
  list-style: none;
  text-align: left;
  margin-top: 1.5rem;
}
.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-light);
  color: var(--text-muted);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.portfolio-card {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: block;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.portfolio-img {
  height: 200px;
  background: #eee;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-content {
  padding: 1.5rem;
}
.portfolio-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.portfolio-title {
  font-size: 1.25rem;
  margin: 0.5rem 0;
}
.portfolio-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}
