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

 body {
     font-family: "Noto Sans JP", 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
     line-height: 1.8;
     color: #333;
 }

 .bold {
     font-weight: bold;
 }

 .colorful {
     color: #f2e8ff;
     text-shadow: 2px 2px 5px #667eea;
 }

 .container {
     /* max-width: 1200px; */
     margin: 0 auto;
     padding: 0 20px;
 }

 /* Header */
 header {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      background: center center / cover no-repeat url(/img/desk2.jpg);
     color: white;
     padding: 100px 0;
     text-align: center;
     position: relative;
     overflow: hidden;
     min-height: 480px;
 }

 .top-sec {
    padding: 80px 0;
 }

 .header-particles {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     overflow: hidden;
 }

 .particle {
     position: absolute;
     background: rgba(255, 255, 255, 0.4);
     border-radius: 50%;
     pointer-events: none;
 }

 @keyframes rise {
     0% {
         bottom: -10%;
         opacity: 0;
         transform: translateX(0) scale(0.5);
     }

     10% {
         opacity: 1;
     }

     90% {
         opacity: 0.8;
     }

     100% {
         bottom: 110%;
         opacity: 0;
         transform: translateX(50px) scale(1);
     }
 }

 @keyframes rise-reverse {
     0% {
         bottom: -10%;
         opacity: 0;
         transform: translateX(0) scale(0.5);
     }

     10% {
         opacity: 1;
     }

     90% {
         opacity: 0.8;
     }

     100% {
         bottom: 110%;
         opacity: 0;
         transform: translateX(-50px) scale(1);
     }
 }

 header .container {
     position: relative;
     z-index: 1;
 }

 header h1 {
     font-size: 3rem;
     margin-bottom: 20px;
     font-weight: 700;
 }

 header p {
     font-size: 1.3rem;
     opacity: 0.95;
 }

 /* Section */
 section {
     padding: 80px 0;
 }

 section h2 {
     text-align: center;
     font-size: 2.5rem;
     margin-bottom: 60px;
     color: #667eea;
     position: relative;
 }

 section h2::after {
     content: '';
     display: block;
     width: 60px;
     height: 4px;
     background: #667eea;
     margin: 20px auto 0;
 }

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

.service-grid {
     max-width: 1200px;
     margin: 0 auto 30px;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px; 
 } 

 .service-card {
     background: white;
     padding: 40px 30px;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     margin-right:15px;
 }

 .service-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
 }

 .service-icon {
     font-size: 3rem;
     margin-bottom: 20px;
 }

 .service-card h3 {
     font-size: 1.5rem;
     margin-bottom: 15px;
     color: #667eea;
 }

 .service-card p {
     color: #666;
     font-size: 0.95rem;
 }

 .weakness {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px 8px 0;
    color: #777;
}

 .weakness h3 {
    text-align: center;
    margin-bottom: 10px;
 }

 /* Strengths */
 .strengths {
     background: #fff;
 }

 .strength-list {
     max-width: 1300px;
     margin: 0 auto;
 }

 .strength-item {
     display: flex;
     gap: 40px;
     align-items: center;
     background: white;
     padding: 50px;
     border-radius: 15px;
     margin-bottom: 50px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .strength-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
 }

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

 .strength-image {
     width: 40%;
     flex-shrink: 0;
     aspect-ratio: 1;
     border-radius: 10px;
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 5rem;
     overflow: hidden;
 }

 .strength-image img {
    width:100%;
 }

 .strength-content {
     width: 60%;
 }

 .strength-content h3 {
     font-size: 1.8rem;
     color: #667eea;
     margin-bottom: 25px;
     font-weight: 700;
 }

 .strength-content p {
     color: #444;
     font-size: 1rem;
     line-height: 1.75;
     text-align: justify;
     margin-bottom: 18px;
 }

 /* Works */
 .works {
     background: white;
 }

 .work-grid {
     display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); 
     gap: 40px;
 } 

 .work-card {
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease;
 }

 .work-card:hover {
     transform: translateY(-5px);
 }

 .work-image {
     width: 100%;
     height: 200px;
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 1.2rem;
     font-weight: bold;
     position: relative;
 }

 .work-image h3 {
     z-index: 3;
 }

 .work-card .work-fames {
     background: center center / cover no-repeat url(/img/drink.jpg);
 }

 .work-card .work-apps {
     background: center center / cover no-repeat url(/img/app.jpg);
 }
 .work-card .work-media {
     background: center center / cover no-repeat url(/img/cdmedia.png);
 }
 .work-card .work-hr {
     background: center center / cover no-repeat url(/img/drink.png);
 }
 .overlay {
     z-index: 2;
     position: absolute;
     inset: 0;
     background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.2) 100%);
 }

 .work-content {
     padding: 30px;
 }

 .work-content h3 {
     font-size: 1.3rem;
     margin-bottom: 10px;
     color: #333;
 }

 .work-content p {
     color: #666;
     font-size: 0.95rem;
     margin-bottom: 15px;
 }

 .work-tags {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
 }

 .tag {
     background: #e8eaf6;
     color: #667eea;
     padding: 5px 15px;
     border-radius: 20px;
     font-size: 0.85rem;
 }

 /* Profile */
 .profile {
     background: center center / cover no-repeat url(/img/about.jpg);
     color: #fff;
 }

  .profile h2, .profile a {
    color:#fff;
  }

 .profile-content {
     display: flex;
     gap: 50px;
     align-items: center;
     max-width: 900px;
     margin: 0 auto;
 }

 .profile-image {
     width: 250px;
     height: 250px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 4rem;
     flex-shrink: 0;
     overflow: hidden;
 }

 .profile-image img {
     width: 100%;
     object-fit: cover;
 }

 .profile-text h3 {
     font-size: 1.8rem;
     margin-bottom: 20px;
 }

 .profile-text p {
     margin-bottom: 15px;
 }

 /* Contact */
 .contact {
     background: #f8f9fa;
 }

 .contact-form {
     max-width: 600px;
     margin: 0 auto;
 }

 .form-group {
     margin-bottom: 25px;
 }

 .form-group label {
     display: block;
     margin-bottom: 8px;
     color: #333;
     font-weight: 500;
 }

 .form-group input,
 .form-group textarea {
     width: 100%;
     padding: 15px;
     border: 2px solid #e0e0e0;
     border-radius: 8px;
     font-size: 1rem;
     transition: border-color 0.3s ease;
 }

 .form-group input:focus,
 .form-group textarea:focus {
     outline: none;
     border-color: #667eea;
 }

 .form-group textarea {
     resize: vertical;
     min-height: 150px;
 }

 .submit-btn {
     width: 100%;
     padding: 18px;
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     color: white;
     border: none;
     border-radius: 8px;
     font-size: 1.1rem;
     font-weight: 600;
     cursor: pointer;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .submit-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
 }

 /* Footer */
 footer {
     background: #2d3748;
     color: white;
     text-align: center;
     padding: 30px 0;
 }

 @media (max-width: 768px) {
     header h1 {
         font-size: 1.75rem;
     }

     header p {
         font-size: 1.1rem;
     }

     .container {
     padding: 0 10px;
     }

     section h2 {
         font-size: 2rem;
     }

     .profile-content {
         flex-direction: column;
         text-align: center;
     }

     .strength-item {
         flex-direction: column;
         text-align: center;
         padding: 0 10px 30px 10px;
     }

     .strength-image,
     .strength-content {
         width: 100%;
     }

     .strength-content h3 {
        font-size: 1.5rem;
     }
     .strength-content p {
         text-align: left;
     }

     .service-grid,
     .work-grid {
         grid-template-columns: 1fr;
     }
 }