/* Company Page Styles */
/* カスタムスタイル */

/* Module override */
.module.profile-section {
  padding: 100px 0 !important;
  background: #ffffff !important;
  background-image: url('../images/section-2.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

/* Animations */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes slideInFromTopLeft {
  from {
    opacity: 0;
    transform: translate(-100px, -100px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes slideInFromTopRight {
  from {
    opacity: 0;
    transform: translate(100px, -100px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.info-card {
  opacity: 0;
}

.info-card.animate-slide-top {
  animation: slideInFromTop 0.8s ease-out forwards;
}

.info-card.animate-slide-bottom {
  animation: slideInFromBottom 0.8s ease-out forwards;
}

.info-card.animate-slide-left {
  animation: slideInFromLeft 0.8s ease-out forwards;
}

.info-card.animate-slide-right {
  animation: slideInFromRight 0.8s ease-out forwards;
}

.info-card.animate-slide-top-left {
  animation: slideInFromTopLeft 0.8s ease-out forwards;
}

.info-card.animate-slide-top-right {
  animation: slideInFromTopRight 0.8s ease-out forwards;
}

/* Profile Card */
.profile-card {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 60px !important;
  text-align: left !important;
}

/* Info Grid and Cards */
body .info-grid,
body .row .info-grid,
body .container .info-grid,
body .profile-section .info-grid,
.profile-section .info-grid,
.info-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 30px !important;
  margin-top: 50px !important;
}

body .info-card,
body .row .info-card,
body .container .info-card,
body .profile-section .info-card,
.profile-section .info-card,
.info-card {
  background: rgba(255, 240, 245, 0.7) !important;
  border-radius: 0 !important;
  padding: 30px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  border-left: 4px solid #E4405F !important;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Info Card Elements */
body .info-card-icon,
body .info-card .info-card-icon,
.profile-section .info-card-icon,
.info-card-icon {
  font-size: 24px !important;
  color: #E4405F !important;
  margin-right: 10px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

body .info-card-title,
body .info-card .info-card-title,
.profile-section .info-card-title,
.info-card-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin-bottom: 0 !important;
  letter-spacing: 1px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

body .info-card-header,
body .info-card .info-card-header,
.profile-section .info-card-header,
.info-card-header {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 15px !important;
}

body .info-card-content,
body .info-card .info-card-content,
.profile-section .info-card-content,
.info-card-content {
  font-size: 14px !important;
  color: #333333 !important;
  line-height: 1.9 !important;
  font-weight: 500 !important;
}

.info-card:has(.business-list) .info-card-content {
  min-height: auto;
}

/* Business List */
body .business-list,
body .info-card .business-list,
.profile-section .business-list,
.business-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .business-list li,
body .info-card .business-list li,
.profile-section .business-list li,
.business-list li {
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(228, 64, 95, 0.2) !important;
  line-height: 1.5 !important;
}

body .business-list li:last-child,
body .info-card .business-list li:last-child,
.profile-section .business-list li:last-child,
.business-list li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

body .business-list li:first-child,
body .info-card .business-list li:first-child,
.profile-section .business-list li:first-child,
.business-list li:first-child {
  padding-top: 0 !important;
}

body .business-list li strong,
body .info-card .business-list li strong,
.profile-section .business-list li strong,
.business-list li strong {
  color: #E4405F !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  display: block !important;
  margin-bottom: -4px !important;
  line-height: 1.1 !important;
}

/* Profile Section */
body section.module.profile-section,
body section.profile-section,
body .module.profile-section,
body .profile-section,
section.module.profile-section,
section.profile-section,
.module.profile-section,
.profile-section {
  background: #ffffff !important;
  background-image: url('../images/section-2.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  padding: 100px 0 !important;
  position: relative !important;
}

body section.module.profile-section::before,
body section.profile-section::before,
body .module.profile-section::before,
body .profile-section::before,
section.module.profile-section::before,
section.profile-section::before,
.module.profile-section::before,
.profile-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0) !important;
  z-index: 0 !important;
}

section.module.profile-section .container,
section.profile-section .container,
.module.profile-section .container,
.profile-section .container {
  position: relative !important;
  z-index: 1 !important;
}

.profile-text {
  font-size: 17px !important;
  line-height: 2.2 !important;
  color: #ffffff !important;
  margin-bottom: 35px !important;
  font-weight: 400 !important;
}

.profile-paragraph {
  margin-bottom: 50px;
}

.profile-paragraph:last-child {
  margin-bottom: 0;
}

.profile-quote {
  font-size: 17px !important;
  line-height: 2.2 !important;
  color: #ffffff !important;
  font-style: normal !important;
  padding: 0 !important;
  background: transparent !important;
  margin: 35px 0 !important;
}

.profile-divider {
  width: 80px;
  height: 2px;
  background: #E4405F;
  margin: 50px 0;
  opacity: 0.3;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.profile-list li {
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.profile-list li:last-child {
  border-bottom: none;
}

.profile-list li strong {
  min-width: 140px;
  color: #201818;
  font-weight: 700;
  margin-right: 15px;
}

.profile-list li span {
  flex: 1;
  color: #666;
  line-height: 1.8;
}

/* Header Section - Remove dark overlay */
.portfolio-page-header.bg-dark-60::before {
  background: rgba(34, 34, 34, 0.3) !important; /* Lighter overlay instead of 0.8 */
}

/* Mobile Styles */
@media (max-width: 767px) {
  .profile-section {
    padding: 60px 0;
  }
  .profile-card {
    padding: 0;
  }
  .work-details-title {
    font-size: 22px !important;
    letter-spacing: 2px !important;
    margin-bottom: 40px !important;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .info-card-title {
    font-size: 14px !important;
  }
  .info-card-content {
    font-size: 12px !important;
    line-height: 1.8 !important;
  }
  .business-list li {
    padding: 6px 0;
  }
  .business-list li:first-child {
    padding-top: 0;
  }
  .business-list li strong {
    font-size: 13px !important;
    margin-bottom: 1px;
  }
  .profile-list li {
    flex-direction: column;
  }
  .profile-list li strong {
    margin-bottom: 8px;
  }
  .profile-paragraph {
    margin-bottom: 35px;
  }
  .profile-text {
    font-size: 12px !important;
    line-height: 1.8 !important;
  }
  .profile-quote {
    font-size: 12px !important;
    line-height: 1.8 !important;
    margin: 25px 0;
  }
  .profile-divider {
    margin: 40px 0;
  }
}

