/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Shippori Mincho', serif;
  line-height: 1.6;
  color: #222222;
  background-color: #F9F4F2;
  opacity: 0;
  transition: opacity 1s ease;
}

body.loaded {
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  background: transparent;
  z-index: 10;
  transition: all 0.4s ease;
}

header.scrolled {
  background-color: rgba(249, 244, 242, 0.95);
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  position: relative;
}

.logo-text {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  transition: color 0.3s ease;
  margin: 0; /* h1のデフォルトマージンをリセット */
}

.logo-accent {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  text-transform: lowercase;
  transition: color 0.3s ease;
}

header.scrolled .logo-text {
  color: #222222;
  text-shadow: none;
}

header.scrolled .logo-accent {
  color: #808F7C;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  color: #fff;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-contact {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
}

.nav-contact:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

header.scrolled .nav-menu a {
  color: #222222;
  text-shadow: none;
}

header.scrolled .nav-contact {
  border-color: rgba(34, 34, 34, 0.3);
}

header.scrolled .nav-contact:hover {
  background-color: rgba(34, 34, 34, 0.05);
}

/* Hero Section */
.hero {
  height: 100vh;
  margin-top: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  background: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/DSC_2880%20%283%29.jpg-u8IPB3zRGX0W7kVN7SqmZunYt4oAws.jpeg') no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-image::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(40, 30, 30, 0.1);
  background-image: radial-gradient(#111 30%, transparent 31%), radial-gradient(#111 30%, transparent 31%);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em; /* 文字間隔を詰める */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0;
  padding-left: 15px;
}

.hero-title-line {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
  animation-delay: 0.5s;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
.section, .services, .contact {
  padding: 120px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 70px;
  color: #222222;
  font-weight: 600;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.title-decoration {
  display: block;
  width: 30px;
  height: 1px;
  background-color: #808F7C;
}

/* Services Section */
.services {
  background-color: #F9F4F2;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 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='%23808F7C' fill-opacity='0.05'%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");
  opacity: 0.5;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
}

.services-list li {
  font-size: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(128, 143, 124, 0.2);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.services-list li:hover {
  transform: translateX(10px);
}

.services-list li:last-child {
  border-bottom: none;
}

.service-number {
  font-size: 16px;
  color: #808F7C;
  font-weight: 600;
  margin-right: 20px;
  opacity: 0.8;
  min-width: 30px;
}

.service-text {
  color: #333;
}

/* About Section */
.about-info {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 18px;
  line-height: 1.8;
  position: relative;
}

.about-row {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding-left: 20px;
  /* ホバーアニメーションを削除 */
}

.about-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #808F7C;
  opacity: 0.7;
}

.label {
  width: 120px;
  font-weight: 600;
  color: #333;
}

.value {
  flex: 1;
  color: #555;
}

/* Contact Section */
.contact {
  background-color: #F3EFED;
  text-align: center;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-text {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-link {
  display: inline-block;
  font-size: 20px;
  color: #808F7C;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 40px;
  border: 1px solid rgba(128, 143, 124, 0.3);
  border-radius: 40px;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background-color: rgba(128, 143, 124, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
  background-color: #808F7C;
  color: #fff;
  padding: 100px 0 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  margin-top: 15px;
  font-size: 16px;
  opacity: 0.8;
  letter-spacing: 1px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
  font-size: 14px;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 20px 0;
  }
  
  header.scrolled {
    padding: 15px 0;
  }

  .header-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    align-items: center;
    margin-bottom: 15px;
  }

  .nav-menu {
    margin-top: 15px;
    gap: 20px;
    display: none;
  }

  .nav-menu li {
    margin: 0;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-left: 0;
    padding-left: 15px;
  }
  
  .section, .services, .contact {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 24px;
    margin-bottom: 50px;
  }
  
  .about-row {
    flex-direction: column;
    gap: 5px;
  }
  
  .label {
    width: 100%;
  }
  
  .services-list li {
    font-size: 18px;
    padding: 20px 0;
  }
  
  .contact-link {
    font-size: 18px;
    padding: 10px 30px;
  }
  
  .footer-content {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-title {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 22px;
  }
}
