/* プロフィールセクション */
.profile-container {
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.03) 0%, transparent 50%);
}

.profile-section {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  background: var(--background);
  padding: var(--space-2xl);
  border-radius: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.profile-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, transparent 50%, rgba(52, 152, 219, 0.05) 50%);
  z-index: 0;
}

.profile-image-wrapper {
  position: relative;
  z-index: 1;
}

.profile-image-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-left: 4px solid var(--accent);
  border-top: 4px solid var(--accent);
  border-top-left-radius: 24px;
  opacity: 0.3;
  z-index: -1;
  transition: all 0.5s ease;
}

.profile-section:hover .profile-image-decoration {
  transform: translate(-10px, -10px);
  opacity: 0.6;
}

.profile-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: var(--shadow-lg);
  display: block;
}

.profile-header {
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--background-alt);
  padding-bottom: var(--space-md);
}

.profile-name {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--primary);
  letter-spacing: -1px;
}

.profile-tagline {
  font-size: var(--text-lg);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.profile-body {
  display: grid;
  gap: var(--space-xl);
}

.profile-main-text {
  line-height: 1.9;
  font-size: var(--text-base);
  color: var(--neutral-dark);
}

.profile-main-text p {
  margin-bottom: var(--space-md);
}

.profile-main-text strong {
  color: var(--accent);
  position: relative;
}

/* タイムラインスタイル */
.profile-history {
  background: var(--background-alt);
  padding: var(--space-lg);
  border-radius: 20px;
}

.history-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.history-title::before {
  content: '';
  width: 24px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.history-list {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.history-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(52, 152, 219, 0.2);
}

.history-item {
  position: relative;
  margin-bottom: var(--space-lg);
  transition: all 0.3s ease;
}

.history-item:last-child {
  margin-bottom: 0;
}

.history-marker {
  position: absolute;
  left: -20px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--background);
  border: 2px solid var(--accent);
  border-radius: 50%;
  z-index: 1;
}

.history-year {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}

.history-label {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.history-info p {
  font-size: var(--text-sm);
  color: var(--neutral);
  line-height: 1.5;
}

.history-item:hover {
  transform: translateX(8px);
}

.history-item:hover .history-marker {
  background: var(--accent);
}

/* お約束セクション */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.promise-card {
  background: var(--background);
  padding: var(--space-lg) var(--space-md);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promise-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.promise-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  background: var(--background-alt);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.promise-card:hover .promise-icon {
  transform: scale(1.1);
  background: rgba(52, 152, 219, 0.1);
}

.promise-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.promise-card h3 .en-sub {
  font-size: var(--text-xs);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  opacity: 0.8;
}

.promise-card p {
  color: var(--neutral);
  line-height: 1.7;
  font-size: var(--text-sm);
  max-width: 280px;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .profile-section {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
  }

  .profile-image-wrapper {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .profile-section {
    padding: var(--space-lg);
    border-radius: 24px;
  }

  .profile-name {
    font-size: var(--text-3xl);
  }

  .profile-tagline {
    font-size: var(--text-base);
  }

  .profile-history {
    padding: var(--space-md);
  }
}