/* 
 * Page Header Styles
 * Styles for fixed pages (not front page)
 */


.sp {display: none;}

.pc {display: block;}

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

/* Adding container styles needed for header layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Adding complete site-header styles from main stylesheet */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo-image {
  width: 139px;
  height: 35px;
  display: block;
}

.logo-highlight {
  color: #00bd94;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-navigation a {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: #00bd94;
}

.header-buttons {
  display: flex;
  gap: 15px;
}

/* Adding button styles used in header */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease-out;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #555555;
  border: 1px solid #ccc;
  transition: color 0.4s ease-in-out;
}

.btn-primary > * {
  position: relative;
  z-index: 2;
}

.btn-content {
  position: relative;
  z-index: 2;
  display: inherit;
  align-items: center;
  gap: inherit;
  transform: translateZ(0);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 700px;
  height: 500px;
  background-color: #555555;
  border-radius: 50%;
  z-index: 1;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease-in-out;
}

.btn-primary:hover {
  color: #ffffff;
}

.btn-primary:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Adding icon-download styles */
.icon-download {
  display: inline-block;
  width: 13px;
  height: 18px;
  mask-image: url(./top-img/icon-download.svg);
  -webkit-mask-image: url(./top-img/icon-download.svg);
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  background-color: #555555;
  margin-right: 8px;
  flex-shrink: 0;
}

.btn:hover .icon-download {
  background-color: #ffffff;
}

.icon-download:before {
  content: none;
}

/* Adding mobile menu toggle styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background: #333333;
  transition: all 0.3s ease;
}

.hamburger-line2 {
  width: 25px;
  height: 2px;
  background: #00bd94;
  transition: all 0.3s ease;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-nav {
  padding: 0;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  text-decoration: none;
  color: #333333;
  font-size: 18px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.mobile-nav-menu a:hover {
  background: #f8f8f8;
}

/* Footer Styles */
.site-footer {
  background: #ffffff;
  padding: 60px 0 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  margin-bottom: 10px;
}

.footer-logo img {
  width: 139px;
  height: 35px;
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.footer-link {
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #00bd94;
}

.footer-copyright {
  margin-top: 10px;
  width: 100vw;
  background: #e8e8e8;
}

.footer-copyright p {
  font-size: 12px;
  color: #888888;
  margin: 0 auto;
  padding: 10px 0 10px 0;
}

/* Features Page Styles */

/* Hero Section */
.features-hero {
  background: url(/wp-content/themes/themil/service-img/frame01.png);
  background-size: cover;
  background-position: center;
  padding: 240px 0 120px;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  z-index: 1;
}

.features-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: #254c4370;
  border-radius: 0%;
}

.features-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.features-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  line-height: 1.4;
}

.features-hero-subtitle {
  display: block;
  font-size: 52px;
}

.features-hero-description {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.8;
  margin: 0;
  opacity: 0.95;
}

/* Two Column Features Section */
.features-two-column {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  z-index: 2;
}

.features-two-column .content{
margin-bottom: 50px;}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.feature-column {
  display: grid;
  padding: 50px;
  gap: 0px;
  background: #f0f4f7;
}

.feature-column-title {
  font-size: 32px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 40px;
  text-align: left;
}

.feature-item {
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  flex-shrink: 0;
}

.feature-item-title {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 10px;
  line-height: 1.6;
  flex: 1;
}

.feature-item-description {
  font-size: 15px;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 60px;
}

/* Phone Mockup */
.features-phone-mockup {
  position: absolute;
  right: -25%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  z-index: 1;
}

.features-phone-mockup img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Full Width Image Section */
.features-full-image {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  z-index: 1;
  margin-bottom: 100px;
}

.features-full-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* WordPress Content Area */
.features-content {
  padding: 60px 0 80px;
}

.features-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333333;
  margin: 60px 0 30px;
  text-align: center;
}

.features-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin: 40px 0 20px;
}

.features-content p {
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
  margin: 0 0 20px;
}

.features-content ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.features-content li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
}

.features-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00bd94;
  font-weight: 700;
  font-size: 18px;
}

/* Product Showcase Section */
.product-showcase {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(var(--vh, 1vh) * 100);
    background: #f0f4f7;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.product-showcase-grid {
  display: grid;
  justify-content: center;
  padding-left: 580px;
  min-height: 600px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-showcase-image {
  width: max(38.8888vw, 525px);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    clip: rect(auto, auto, auto, auto);
    overflow: hidden;
}

.product-showcase-image img {
  display: block;
    width: max(38.8888vw, 525px);
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    object-fit: cover;
}

.product-showcase-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-showcase-title {
  font-size: 48px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 20px;
  letter-spacing: 0.05em;
}

.product-showcase-description {
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 50px;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 20px;
  text-decoration: none;
  color: #333333;
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  position: relative;
}

.product-item:hover {
  background: #00bd9452;
  padding-left: 30px;
}

.product-number {
  font-size: 14px;
  color: #999999;
  font-weight: 500;
  min-width: 30px;
}

.product-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

.product-name {
  font-size: 20px;
  font-weight: 600;
  color: #333333;
  flex: 1;
}

.product-arrow {
  color: #999999;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.product-item:hover .product-arrow {
  transform: translateX(5px);
  color: #00bd94;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-content {
    padding: 15px 20px;
  }

  .main-navigation {
    display: none;
  }

  .header-buttons {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .btn-primary {
    padding: 16px 24px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    padding: 40px 0 0;
  }

  .footer-content {
    gap: 20px;
  }

  .footer-logo img {
    width: 110px;
    height: 28px;
  }

  .features-hero {
    padding: 200px 0 50px;
    background: url(/wp-content/themes/themil/service-img/frame01-sp.png);
  }

  .features-hero-title {
    font-size: 22px;
  }

  .features-hero-subtitle {
    font-size: 32px;
  }

  .features-hero-description {
    font-size: 16px;
  }

  .features-two-column {
    padding: 60px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .product-showcase {
    margin: 0 auto;
    padding: 0px 20px 100px 20px;
    min-height: 0;
  }



  .features-phone-mockup {
    position: static;
    transform: none;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
  }

  .feature-column-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .feature-item {
    margin-bottom: 10px;
  }

  .feature-item-title {
    font-size: 18px;
  }

  .product-showcase-grid {
    margin: 0 auto;
    padding: 0;
  }

  .product-showcase-image {
    width: auto;
    position: static;
    margin: 0 -2rem;
    margin-bottom: 50px;
  }

  .product-showcase-content {
    padding: 60px 20px;
  }

  .product-showcase-title {
    font-size: 36px;
  }

  .product-showcase-description {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .product-item {
    padding: 25px 15px;
  }

  .product-item:hover {
    padding-left: 20px;
  }

  .product-name {
    font-size: 18px;
  }
  .product-showcase-image img{
   display: block;
   position: relative;
   width: 100%;
   height: 400px;
   object-fit: cover; 
  }
}

