@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700&family=Playfair+Display:wght@400;700&display=swap");

:root {
  /* Premium Color Palette */
  --color-gold: #d4af37;
  --color-gold-light: #e8d5a3;
  --color-gold-dark: #b8941f;
  --color-black: #1a1a1a;
  --color-dark: #2d2d2d;
  --color-gray: #6b6b6b;
  --color-light-gray: #e5e5e5;
  --color-white: #ffffff;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 120px;

  /* Typography */
  --font-serif: "Playfair Display", "Noto Serif JP", serif;
  --font-sans: "Noto Serif JP", serif;

  /* Container */
  --container-width: 1280px;
  --container-padding: clamp(20px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.logo-text {
  background: linear-gradient(
    135deg,
    var(--color-gold),
    var(--color-gold-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__list {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav__link {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: var(--spacing-xs) 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  background-image: 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='%23d4af37' fill-opacity='0.03'%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");
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 70%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hero__title-main {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(
    135deg,
    var(--color-gold),
    var(--color-gold-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero__title-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-gold-light);
  opacity: 0.9;
}

.hero__description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-lg);
  line-height: 2;
}

.hero__actions {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--color-gold),
    var(--color-gold-dark)
  );
  color: var(--color-black);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn--ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--color-gold-light);
}

.btn--full {
  width: 100%;
}

/* Section */
.section {
  padding: var(--spacing-xl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--spacing-sm);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.05em;
}

.section--about {
  background: var(--color-white);
}

.section--services {
  background: #f8f8f8;
}

.section--gallery {
  background: var(--color-white);
}

.section--contact {
  background: var(--color-black);
  color: var(--color-white);
}

.section--contact .section__title {
  color: var(--color-white);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-grid__image {
  position: relative;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
  pointer-events: none;
}

.about-grid__content {
  padding: var(--spacing-md);
}

.about__subtitle {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: var(--spacing-md);
}

.about__text {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-gray);
  margin-bottom: var(--spacing-md);
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.feature-item__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  min-width: 60px;
}

.feature-item__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: var(--spacing-xs);
}

.feature-item__text {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.8;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.service-card {
  background: var(--color-white);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.service-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card__overlay {
  opacity: 1;
}

.service-card__content {
  padding: var(--spacing-md);
}

.service-card__number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--spacing-xs);
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: var(--spacing-xs);
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.8;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.8),
    rgba(212, 175, 55, 0.3)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__title {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-info__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--spacing-md);
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.contact-info__value {
  font-size: 1rem;
  color: var(--color-white);
  line-height: 1.8;
}

.contact-info__value a {
  transition: color 0.3s ease;
}

.contact-info__value a:hover {
  color: var(--color-gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

/* Footer */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

.footer-nav__list {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav__link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-nav__link:hover {
  color: var(--color-gold);
}

.footer__copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--spacing-sm);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

.sp-only {
  display: block;
}

@media (min-width: 769px) {
  .sp-only {
    display: none;
  }
}
