/* ===================================================================
   Front Page Styles - Salt Plus Redesign
   =================================================================== */

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lineExpand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 4rem;
  overflow: hidden;
  background: var(--bg-primary);
  width: 100%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80vw;
  height: 80vw;
  animation: float 20s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse at center, rgba(184,115,51,0.05) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite reverse;
}

.hero-geometric {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 400px;
  height: 400px;
  border: 1px solid var(--border-accent);
  transform: rotate(45deg);
  opacity: 0.3;
  animation: fadeIn 2s ease-out 0.5s both;
  z-index: 0;
}

.hero-geometric::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  bottom: 40px;
  border: 1px solid var(--border-accent);
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent-gold);
}

.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-title span {
  display: inline;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2;
  max-width: 500px;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.hero-description br {
  display: inline;
}

/* サービスカードの「詳しく見る」リンクを非表示 */
.service-link {
  display: none;
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.btn-primary {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.2rem 2.5rem;
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gold);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn-primary:hover {
  color: var(--bg-primary);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: color 0.3s ease;
}

.btn-text:hover {
  color: var(--text-primary);
}

.btn-text svg {
  transition: transform 0.3s ease;
}

.btn-text:hover svg {
  transform: translateX(5px);
}

.hero-scroll {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 1s ease-out 1.5s both;
}

.hero-scroll span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-gold), transparent);
  animation: pulse 2s ease-in-out infinite;
}

/* ===== About Section ===== */
.about {
  padding: 12rem 4rem;
  position: relative;
  background: var(--bg-primary);
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
}

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

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: calc(100% + 4rem);
  height: calc(100% + 4rem);
  border: 1px solid var(--border-accent);
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--accent-gold);
  opacity: 0.3;
  letter-spacing: 0.1em;
}

.about-badge {
  position: absolute;
  bottom: -3rem;
  right: -3rem;
  width: 120px;
  height: 120px;
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
}

.about-badge-inner {
  text-align: center;
}

.about-badge-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent-gold);
  display: block;
}

.about-badge-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-content {
  max-width: 500px;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent-gold);
}

.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 2.2;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-gold);
}

.about-feature-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Services Section ===== */
.services {
  padding: 8rem 4rem 12rem;
  background: var(--bg-secondary);
  position: relative;
  width: 100%;
}

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

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 6rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro {
  max-width: 400px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-primary);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  transform: translateY(-10px);
}

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

.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--accent-gold);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  right: 2rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-gold);
}

.service-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.service-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.service-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
}

/* ===== Works Section ===== */
.works {
  padding: 12rem 4rem;
  position: relative;
  background: var(--bg-primary);
  width: 100%;
}

.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-secondary);
  display: block;
  text-decoration: none;
}

.work-card-image,
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.work-card:hover .work-card-image,
.work-card:hover img {
  transform: scale(1.1);
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.work-card:hover .work-card-content {
  transform: translateY(0);
  opacity: 1;
}

.work-card-category {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.work-card-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.work-card-client {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.view-all-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--border-accent);
  padding: 1rem 2rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.view-all-link:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

/* ===== News Section ===== */
.news {
  padding: 8rem 4rem 12rem;
  background: var(--bg-secondary);
  width: 100%;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.news-list {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
}

.news-item:hover {
  background: rgba(201,169,98,0.03);
}

.news-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.news-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
  color: var(--text-primary);
}

.news-item:hover .news-title {
  color: var(--accent-gold);
}

.news-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.news-item:hover .news-arrow {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
}

.news-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  transition: stroke 0.3s ease;
}

.news-item:hover .news-arrow svg {
  stroke: var(--bg-primary);
}

/* ===== Blog Section ===== */
.blog {
  padding: 4rem 4rem 0;
  background: var(--bg-primary);
  width: 100%;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.blog-card-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent-gold);
  opacity: 0.3;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card-title {
  color: var(--accent-gold);
}

.blog-card-excerpt {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Contact Section ===== */
.contact {
  padding: 12rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  width: 100%;
}

.contact::before {
  content: 'CONTACT';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20vw;
  font-weight: 300;
  color: var(--accent-gold);
  opacity: 0.03;
  white-space: nowrap;
  pointer-events: none;
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.contact-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.contact-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 3rem;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.5rem 3rem;
  background: var(--accent-gold);
  color: var(--bg-primary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.contact-cta:hover {
  color: var(--accent-gold);
}

.contact-cta:hover::before {
  transform: translateX(0);
}

.contact-cta span,
.contact-cta svg {
  position: relative;
  z-index: 1;
}

.contact-info {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.contact-info-item {
  text-align: center;
}

.contact-info-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-info-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
  padding: 4rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-copyright {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ===== No Posts Message ===== */
.no-posts {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 2rem;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .works-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero,
  .about,
  .services,
  .works,
  .news,
  .blog,
  .contact {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

  .works-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-arrow {
    display: none;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .hero-geometric {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 5%;
  }

  /* スマホ時はhero-descriptionの改行を無効化 */
  .hero-description br {
    display: none;
  }

  .services-header,
  .works-header,
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* スマホ時のスクロールとCTAの距離調整 */
  .hero-scroll {
    bottom: 2rem;
  }
  
  .hero-scroll span {
    font-size: 0.6rem;
  }
  
  .scroll-line {
    height: 40px;
  }
  
  .hero-content {
    padding-bottom: 10rem;
  }
  
  .about-badge {
    right: auto;
    left: 0;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}
