/* Reset & Base Styles */
:root {
  --primary-color: #0056b3;
  --secondary-color: #e74c3c;
  --accent-color: #4caf50;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --text-color: #333;
  --text-light: #666;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  background: #f7f9fb;
  color: var(--text-color);
  line-height: 1.6;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  height: 50px;
  transition: var(--transition);
}

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

.company-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.contact-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-color);
}

.phone {
  color: var(--accent-color);
  font-weight: 600;
}

.email a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.email a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.cta-button {
  padding: 8px 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-button:hover {
  background: #004494;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Navbar Styles */
.navbar {
  background-color: white;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-item {
  position: relative;
  padding: 15px 20px;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--dark-color);
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* Announcement Section */
.announcement-section {
  background: linear-gradient(to right, #d8f2ff, #b7e6ff);
  padding: 12px 0;
}

.announcement-box {
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  text-align: center;
  padding: 12px;
  font-size: 15px;
  color: var(--text-color);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.announcement-icon {
  color: var(--secondary-color);
  font-size: 18px;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 600px;
}

.slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  transform: scale(1.02);
}

.slide.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay Styling */
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  text-align: center;
  color: white;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
}

.slide.active .overlay {
  opacity: 1;
}

.slide-title {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 30px;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out forwards;
}

.slide-title .highlight {
  color: #ffcc00;
  font-size: 3.2rem;
  text-shadow: none;
}

/* Circle Boxes */
.circle-texts {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.circle {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.slide.active .circle {
  opacity: 1;
  transform: translateY(0);
}

.circle:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.3);
}

.circle:nth-child(1) { transition-delay: 0.3s; }
.circle:nth-child(2) { transition-delay: 0.5s; }
.circle:nth-child(3) { transition-delay: 0.7s; }

/* Slider CTA Button */
.slider-cta {
  padding: 12px 30px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  opacity: 0;
  transform: translateY(20px);
}

.slide.active .slider-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.slider-cta:hover {
  background: #d62c1a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.slider-prev, .slider-next {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-prev:hover, .slider-next:hover {
  background: rgba(255, 255, 255, 0.6);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

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

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .slide-title {
    font-size: 2.5rem;
  }
  
  .slide-title .highlight {
    font-size: 2.7rem;
  }
  
  .circle {
    width: 120px;
    height: 120px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 5%;
  }
  
  .contact-block {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    border-right: 1px solid #eee;
    transition: var(--transition);
    z-index: 1000;
  }
  
  .navbar.active {
    left: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    padding: 80px 20px 20px;
    align-items: flex-start;
  }
  
  .nav-item {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }
  
  .nav-link {
    font-size: 16px;
  }
  
  .hero-slider {
    height: 500px;
  }
  
  .slide-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .slide-title .highlight {
    font-size: 2.2rem;
  }
  
  .circle-texts {
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .circle {
    width: 100px;
    height: 100px;
    font-size: 14px;
  }
  
  .slider-cta {
    padding: 10px 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .company-name {
    font-size: 18px;
  }
  
  .hero-slider {
    height: 400px;
  }
  
  .slide-title {
    font-size: 1.6rem;
  }
  
  .slide-title .highlight {
    font-size: 1.8rem;
  }
  
  .circle-texts {
    gap: 10px;
  }
  
  .circle {
    width: 80px;
    height: 80px;
    font-size: 12px;
  }
  
  .slider-controls {
    bottom: 20px;
  }
}






/* -------------------------Section 3----------------------------------*/


.animated-feature-section {
  background: linear-gradient(120deg, #f0f8ff 0%, #e6f0ff 100%);
  padding: 60px 20px;
  text-align: center;
}

.feature-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.feature-block {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  transition: transform 0.5s ease;
  animation-duration: 1.2s;
}

.feature-block img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.5s ease;
}

.feature-text {
  padding: 20px;
}

.feature-text h2 {
  font-size: 20px;
  color: #005cac;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.feature-text p {
  color: #333;
  font-size: 15px;
}

.feature-block:hover {
  transform: translateY(-10px);
}

.fade-in-left {
  animation: fadeInLeft 1s ease forwards;
  opacity: 0;
}
.fade-in-right {
  animation: fadeInRight 1s ease forwards;
  opacity: 0;
}
.fade-in-bottom {
  animation: fadeInBottom 1s ease forwards;
  opacity: 0;
}

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

@keyframes fadeInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 768px) {
  .feature-container {
    flex-direction: column;
    gap: 20px;
  }

  .feature-text h2 {
    font-size: 18px;
  }

  .feature-text p {
    font-size: 14px;
  }
}