/* ============================================
   EBISU CREATE - Corporate Website
   Design Philosophy: Premium Tech Minimalism
   ============================================ */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #fafaf9;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Color Variables */
:root {
  --bg-primary: #fafaf9;
  --bg-secondary: #f5f5f4;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent-color: #0d9488;
  --accent-dark: #0a7368;
  --border-color: #e7e5e4;
  --white: #ffffff;
  --black: #000000;
  --overlay-dark: rgba(0, 0, 0, 0.4);
  --overlay-darker: rgba(0, 0, 0, 0.5);
}

/* Typography */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.text-sm {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

nav .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin:0 auto;
}

nav .logo .accent {
  color: var(--accent-color);
}

.logo img{
  width: 100%;
  max-height: 80px;
}

nav .nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  nav .logo {
    margin:0;
  }
  nav .nav-links {
    display: flex;
  }
  .logo img{
    max-height: 100px;
  }
}

nav .nav-links a {
  font-size: 0.875rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav .nav-links a:hover {
  color: var(--accent-color);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 4rem;
}

#hero .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#hero .bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-dark);
  z-index: 1;
}

#hero .content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 56rem;
  color: var(--white);
}

#hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#hero .accent-text {
  color: var(--accent-color);
}

#hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#hero .cta-button {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

#hero .cta-button:hover {
  background-color: var(--accent-dark);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

/* Section Styles */
section {
  padding: 6rem 1rem;
}

section .section-header {
  text-align: center;
  margin-bottom: 1rem;
}

section h2 {
  margin-bottom: 0.5rem;
}

section .section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

section .section-description {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
#services {
  background-color: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  color: var(--accent-color);
  text-align: center;
}
.service-icon img{
  margin:0 auto;
  width: 100%;
  max-width: 100px;
  display: inline-block;
}
.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
}

/* Works Section */
#works {
  background-color: var(--bg-secondary);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  height: 16rem;
  group: true;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover img {
  transform: scale(1.1);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-dark);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background-color 0.3s ease;
}

.work-card:hover .work-overlay {
  background-color: var(--overlay-darker);
}

.work-overlay h3 {
  color: var(--white);
  font-size: 1.125rem;
}

/* Partners Section */
#partners {
  background-color: var(--bg-primary);
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partner-card {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.partner-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-image {
  position: relative;
  height: 16rem;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-image img {
  transform: scale(1.05);
}

.partner-info {
  padding: 2rem;
}

.partner-info h3 {
  margin-bottom: 0.5rem;
}

.partner-info p {
  color: var(--text-muted);
}

/* Company Info Section */
#company {
  background-color: var(--bg-secondary);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .company-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.company-section h3 {
  margin-bottom: 1.5rem;
}

.company-item {
  margin-bottom: 1.5rem;
}

.company-item .label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.company-item .value {
  font-size: 1.125rem;
  font-weight: 500;
}

.business-list {
  list-style: none;
}

.business-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.business-list .bullet {
  color: var(--accent-color);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 1rem;
  background-color: rgba(13, 148, 136, 0.05);
}

.cta-section .container {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .cta-button {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-section .cta-button:hover {
  background-color: var(--accent-dark);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 1rem;
  background-color: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  text-align: center;
}
.footer-section h4 img{
  width: 100%;
  max-width: 200px;
}
.footer-section .accent {
  color: var(--accent-color);
}

.footer-section p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate] {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Utility Classes */
.text-accent {
  color: var(--accent-color);
}

.bg-accent {
  background-color: var(--accent-color);
}

.drop-shadow-lg {
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.drop-shadow-md {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 4rem 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}


.list-sns-icon{
  display: flex;
  justify-content: center;
  list-style: none;
}
.list-sns-icon > li{
  width: 50%;
  max-width: 100px;
  padding: 0 20px;
}
.list-sns-icon > li img{
  max-width: 100%;
  height: auto;
}
.list-sns-icon > li a:hover{
  opacity: 0.5;
}

.wrap-contact{
  background:#fff;
  max-width: 1000px;
  width:100%;
  margin:60px auto 0;
  border-radius: 10px;
  padding: 25px;;
}
.wrap-contact h2{
  color: #0d9488 !important;
  font-size: 24px;
}
.list-contact{
  list-style: none;
}
.list-contact > li{
  font-size: 18px;
}
.list-contact > li b{
  font-size: 150%;
}
.list-contact > li.li-web{
  margin-top: 20px;
  text-align: center;
}
.list-contact > li.li-web a{
  display: block;
  width:100%;
  max-width: 300px;
  margin:0 auto;
  background: #333;
  color:#fff;
  text-align: center;
  text-decoration: none;
  padding: 16px;
  border-radius: 4px;
}
.list-contact > li.li-web a:hover{
  opacity: 0.5;
}