/* ============================================
   梛左官（ナギサカン）ホームページ - スタイルシート
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors - 梛の葉の緑 */
  --color-primary: #2E7D32;
  --color-primary-light: #4CAF50;
  --color-primary-dark: #1B5E20;
  --color-primary-pale: #E8F5E9;
  --color-primary-gradient: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #4CAF50 100%);

  /* Neutrals */
  --color-bg-white: #FFFFFF;
  --color-bg-light: #FAFAF8;
  --color-bg-warm: #F5F0EB;
  --color-bg-dark: #1a1a1a;
  --color-text: #212121;
  --color-text-secondary: #555555;
  --color-text-light: #888888;
  --color-text-white: #FFFFFF;
  --color-border: #E0E0E0;
  --color-border-light: #EEEEEE;

  /* Accent */
  --color-accent-gold: #BFA76A;
  --color-accent-terracotta: #C4956A;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);

  /* Typography */
  --font-heading: 'Noto Serif JP', 'Yu Mincho', 'HG明朝E', serif;
  --font-body: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Section padding */
  --section-padding: 6rem 0;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section-padding {
  padding: var(--section-padding);
}

.text-center {
  text-align: center;
}

/* --- Section Header (Common) --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header__en {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-weight: 400;
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
}

.section-header__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary-gradient);
  margin: var(--space-md) auto 0;
  border-radius: 2px;
}

.section-header__subtitle {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-sm);
  line-height: 1.8;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: var(--space-md) 0;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xs) 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.site-logo__img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  transition: transform var(--transition-base);
}

.site-logo:hover .site-logo__img {
  transform: scale(1.05);
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 0.1em;
  transition: color var(--transition-base);
}

.site-header.is-scrolled .site-logo__text {
  color: var(--color-primary-dark);
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.main-nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-white);
  letter-spacing: 0.06em;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

.site-header.is-scrolled .main-nav__link {
  color: var(--color-text);
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
  width: 100%;
}

.main-nav__link:hover {
  color: var(--color-primary-light);
}

.site-header.is-scrolled .main-nav__link:hover {
  color: var(--color-primary);
}

/* CTA Button in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-text-white) !important;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition-base);
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.3);
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.4);
  color: var(--color-text-white) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--color-text-white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.site-header.is-scrolled .menu-toggle__bar {
  background: var(--color-text);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-nav-overlay.is-active {
  opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-text-white);
  padding: 0 var(--space-lg);
  max-width: 800px;
}

.hero__logo {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-lg);
  opacity: 0;
  animation: heroFadeIn 1s ease 0.3s forwards;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero__catchphrase {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: heroFadeIn 1s ease 0.5s forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: heroFadeIn 1s ease 0.8s forwards;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: heroFadeIn 1s ease 1.1s forwards;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeIn 1s ease 1.4s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-white);
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.4);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(46, 125, 50, 0.5);
  color: var(--color-text-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  color: var(--color-text-white);
}

.btn__icon {
  font-size: 1.2em;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  animation: scrollBounce 2s ease infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Slider dots */
.hero__dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  padding: 0;
}

.hero__dot.is-active {
  background: var(--color-text-white);
  transform: scale(1.3);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--color-bg-light);
  padding: var(--section-padding);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-primary-pale);
  color: var(--color-primary);
  font-size: 1.8rem;
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: var(--color-primary);
  color: var(--color-text-white);
  transform: scale(1.1);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Area badge */
.services__area {
  text-align: center;
  margin-top: var(--space-3xl);
  padding: var(--space-lg);
  background: var(--color-primary-pale);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: auto;
  margin-right: auto;
}

.services__area-wrapper {
  text-align: center;
  margin-top: var(--space-3xl);
}

.services__area-icon {
  font-size: 1.5rem;
}

.services__area-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  padding: var(--section-padding);
  background: var(--color-bg-white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(46, 125, 50, 0.4) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item-zoom {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* Featured gallery items (larger) */
.gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.is-active {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-text-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-text-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: 1.5rem;
}

.lightbox__nav--next {
  right: 1.5rem;
}

.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ============================================
   ABOUT / 代表挨拶 SECTION
   ============================================ */
.about {
  padding: var(--section-padding);
  background: var(--color-bg-warm);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-primary-pale) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about__visual {
  position: relative;
}

.about__logo-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-primary-pale);
  position: relative;
}

.about__logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__leaf-deco {
  position: absolute;
  font-size: 3rem;
  opacity: 0.15;
  color: var(--color-primary);
}

.about__leaf-deco--1 {
  top: -20px;
  left: 10%;
  transform: rotate(-30deg);
}

.about__leaf-deco--2 {
  bottom: -10px;
  right: 15%;
  transform: rotate(15deg);
}

.about__text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  letter-spacing: 0.06em;
}

.about__name {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.about__message {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 2;
}

.about__message p {
  margin-bottom: var(--space-md);
}

.about__highlight {
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* ============================================
   COMPANY INFO SECTION
   ============================================ */
.company {
  padding: var(--section-padding);
  background: var(--color-bg-white);
}

.company__table {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.company__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-md) 0;
}

.company__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  letter-spacing: 0.04em;
}

.company__value {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--color-primary-gradient);
  position: relative;
  overflow: hidden;
  color: var(--color-text-white);
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.contact__content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.contact__subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: var(--space-2xl);
}

.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.04em;
  transition: all var(--transition-base);
}

.contact__phone:hover {
  transform: scale(1.05);
  color: var(--color-text-white);
}

.contact__phone-icon {
  font-size: 2rem;
}

.contact__phone-note {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: var(--space-2xl);
}

.contact__sns {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.contact__sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--color-text-white);
}

.contact__sns-btn--line {
  background: #06C755;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.3);
}

.contact__sns-btn--line:hover {
  background: #05a848;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(6, 199, 85, 0.4);
  color: var(--color-text-white);
}

.contact__sns-btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 16px rgba(220, 39, 67, 0.3);
}

.contact__sns-btn--instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(220, 39, 67, 0.4);
  color: var(--color-text-white);
}

.contact__sns-icon {
  font-size: 1.3em;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text-white);
  letter-spacing: 0.08em;
}

.footer__nav {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__nav a:hover {
  color: var(--color-primary-light);
}

.footer__divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__item--featured {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }

  /* Header Mobile */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: var(--color-bg-white);
    flex-direction: column;
    padding: 5rem var(--space-lg) var(--space-lg);
    gap: var(--space-xs);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    align-items: stretch;
  }

  .main-nav.is-open {
    right: 0;
  }

  .main-nav__link {
    color: var(--color-text) !important;
    font-size: 1rem;
    padding: var(--space-sm);
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav-cta {
    text-align: center;
    justify-content: center;
    margin-top: var(--space-sm);
  }

  .mobile-nav-overlay {
    display: block;
    pointer-events: none;
  }

  .mobile-nav-overlay.is-active {
    pointer-events: auto;
  }

  /* Hero Mobile */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .hero__logo {
    width: 80px;
    height: 80px;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Section headers */
  .section-header__title {
    font-size: 1.6rem;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* About */
  .about__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .about__logo-frame {
    width: 160px;
    height: 160px;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  /* Company */
  .company__row {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  /* Contact */
  .contact__phone {
    font-size: 1.8rem;
  }

  .contact__title {
    font-size: 1.6rem;
  }

  .contact__sns {
    flex-direction: column;
    align-items: center;
  }

  .contact__sns-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Lightbox */
  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox__nav--prev {
    left: 0.5rem;
  }

  .lightbox__nav--next {
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.5rem;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }

  .section-header__title {
    font-size: 1.4rem;
  }

  .contact__phone {
    font-size: 1.5rem;
  }

  .footer__nav {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .hero__slider,
  .hero__scroll,
  .hero__dots,
  .lightbox,
  .contact__sns {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
