/* file: assets/css/portfolio.css */
/* Portfolio Custom Styles - フリーランス向け */

/* Hero Section */
.pf-hero {
  position: relative;
  min-height: 650px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 4rem 2rem;
}

.pf-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.pf-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 2rem;
}

.pf-hero__title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.pf-hero__subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.8;
}

.pf-hero__cta {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: #3498db;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  margin-bottom: 2rem;
}

.pf-hero__cta:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.pf-hero__subtext {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* Common Section Styles */
.pf-section {
  padding: 5rem 2rem;
}

.pf-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pf-section__title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.pf-section__subtitle {
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Services Section */
.pf-services {
  background: #f8f9fa;
}

.pf-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pf-service-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pf-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pf-service-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pf-service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.pf-service-card > p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.pf-service-card__list {
  list-style: none;
  margin: 1.5rem 0;
  padding-left: 0;
}

.pf-service-card__list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #555;
  line-height: 1.6;
}

.pf-service-card__list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

.pf-service-card__note {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-top: 1rem;
  font-style: italic;
}

/* Portfolio Section */
.pf-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.pf-portfolio-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pf-portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.pf-portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pf-portfolio-item__content {
  padding: 1.5rem;
}

.pf-portfolio-item__content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.pf-portfolio-item__type {
  color: #3498db;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pf-portfolio-item__content ul {
  list-style: none;
  padding-left: 0;
}

.pf-portfolio-item__content li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pf-portfolio-item__content li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3498db;
}

/* Testimonials Section */
.pf-testimonials {
  background: #f8f9fa;
}

.pf-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pf-testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-left: 4px solid #3498db;
}

.pf-testimonial-card__text {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.9;
  font-size: 0.95rem;
}

.pf-testimonial-card__author strong {
  display: block;
  color: #2c3e50;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

/* Flow Section */
.pf-flow {
  background: #fff;
}

.pf-flow__steps {
  max-width: 900px;
  margin: 0 auto;
}

.pf-flow-step {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 3rem;
}

.pf-flow-step__number {
  position: absolute;
  left: 0;
  top: 0;
  width: 3.5rem;
  height: 3.5rem;
  background: #3498db;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.pf-flow-step h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.pf-flow-step p {
  color: #555;
  line-height: 1.8;
}

/* Profile Section */
.pf-profile {
  background: #f8f9fa;
}

.pf-profile__content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.pf-profile__image {
  position: sticky;
  top: 100px;
}

.pf-profile__image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pf-profile__text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #555;
}

.pf-profile__stats {
  list-style: none;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid #3498db;
}

.pf-profile__stats li {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.pf-profile__stats strong {
  color: #2c3e50;
}

.pf-profile__values {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.pf-profile__values li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.7rem;
  color: #2c3e50;
  font-weight: 500;
}

.pf-profile__values li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

/* Contact CTA Section */
.pf-contact-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.pf-contact-cta .pf-section__title,
.pf-contact-cta .pf-section__subtitle {
  color: #fff;
}

.pf-contact-cta__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pf-contact-cta__text {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.pf-contact-cta__buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pf-btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s;
}

.pf-btn--primary {
  background: #fff;
  color: #667eea;
}

.pf-btn--primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.pf-btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.pf-btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .pf-hero__title {
    font-size: 2rem;
  }
  
  .pf-hero__subtitle {
    font-size: 1.05rem;
  }
  
  .pf-section__title {
    font-size: 2rem;
  }
  
  .pf-profile__content {
    grid-template-columns: 1fr;
  }
  
  .pf-profile__image {
    position: static;
  }
  
  .pf-flow-step {
    padding-left: 4rem;
  }
  
  .pf-flow-step__number {
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
  }
  
  .pf-contact-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .pf-btn {
    width: 100%;
  }
}