/* index.html専用CSS */

/* ヒーローセクション */
.hero-section {
    background: #005BAC;
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/front.jpg') center/cover;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    line-height: 1.3;
}

.hero-note {
    font-size: 1rem;
    font-weight: 400;
    vertical-align: super;
    margin-left: 2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.hero-cta {
    margin: 25px 0;
}

.hero-cta-btn {
    display: inline-block;
    background: white;
    color: #005BAC;
    padding: 20px 60px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-cta-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hero-notes {
    margin-top: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.note-item {
    font-size: 0.9rem;
    margin-bottom: 5px;
    opacity: 0.9;
    line-height: 1.4;
}

/* How It Works セクション */
.how-it-works {
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #0277bd;
    margin-bottom: 20px;
}

.section-lead {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.6;
}

.story-text {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.story-box {
    background: rgba(248, 250, 252, 0.9);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    text-align: left;
    line-height: 1.8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.story-box p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.story-box p:last-child {
    margin-bottom: 0;
}

.story-box strong {
    color: #0277bd;
    font-weight: 600;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0277bd, #29b6f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.step-card h3 {
    color: #0277bd;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* 統計セクション */
.stats-section {
    background: linear-gradient(135deg, #f5f5f5, #e8f4fd);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #0277bd;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* チーム紹介セクション */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    display: block;
    border: 4px solid #0277bd;
}

.team-member h3 {
    color: #0277bd;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.team-member .role {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
    font-style: italic;
}

.team-member p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 機能セクション */
.features-section {
    background: #005BAC;
    padding: 80px 0;
    width: 100%;
}

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

.features-section h2 {
    color: white;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 35px;
    font-weight: 700;
    letter-spacing: 1px;
}

.features-section > .container > p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.features-list {
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.feature-image {
    flex: 0 0 300px;
    height: 200px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-image img:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.feature-content {
    flex: 1;
    padding: 30px;
    text-align: left;
}

.feature-content h3 {
    color: #0277bd;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: left;
}

.feature-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* 画像拡大モーダル */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.image-close:hover {
    color: #ccc;
}

.image-caption {
    color: white;
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 500;
}

/* マサルくん固定画像 */
.masaru-fixed {
    position: fixed;
    bottom: -20px;
    right: 20px;
    z-index: 1500;
    pointer-events: auto;
}

.masaru-link {
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.masaru-link:hover {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.masaru-character {
    height: 35vh;
    width: auto;
    opacity: 1;
    transition: all 0.3s ease;
    max-width: none;
}

/* 価格セクション */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid #ff6b35;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    background: linear-gradient(135deg, #0277bd, #29b6f6);
    color: white;
    padding: 30px;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, #ff6b35, #ff9800);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.pricing-period {
    font-size: 1rem;
    opacity: 0.9;
}

.pricing-body {
    padding: 40px 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0277bd;
    font-weight: bold;
}

.pricing-btn {
    width: 100%;
    background: linear-gradient(135deg, #0277bd, #29b6f6);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card.featured .pricing-btn {
    background: linear-gradient(135deg, #ff6b35, #ff9800);
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 119, 189, 0.4);
}

.pricing-card.featured .pricing-btn:hover {
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-cta-btn {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
    
    .hero-notes {
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .how-it-works h2 {
        font-size: 2rem;
    }
    
    .section-lead {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .story-text {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .story-box {
        padding: 30px;
    }
    
    .story-box p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .steps-grid,
    .team-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-row {
        flex-direction: column;
        margin-bottom: 25px;
    }
    
    .feature-image {
        flex: none;
        width: 100%;
        height: 180px;
        padding: 12px;
    }
    
    .feature-content {
        padding: 25px;
    }
    
    .feature-content h3 {
        font-size: 1.2rem;
    }
    
    .feature-content p {
        font-size: 0.95rem;
    }
    
    .masaru-fixed {
        right: 15px;
        bottom: -15px;
    }
    
    .masaru-character {
        height: 25vh;
        width: auto;
        max-width: 140px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0;
        min-height: 280px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-note {
        font-size: 0.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta-btn {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    .hero-notes {
        margin-top: 25px;
        padding: 0 15px;
    }
    
    .note-item {
        font-size: 0.8rem;
    }
    
    .how-it-works h2 {
        font-size: 1.7rem;
    }
    
    .section-lead {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .story-text {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .story-box {
        padding: 20px;
    }
    
    .story-box p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card,
    .team-member {
        padding: 30px 20px;
    }
    
    .feature-row {
        margin-bottom: 20px;
    }
    
    .feature-image {
        height: 150px;
        padding: 10px;
    }
    
    .feature-content {
        padding: 20px;
    }
    
    .feature-content h3 {
        font-size: 1.1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
    
    .masaru-fixed {
        right: 10px;
        bottom: -10px;
    }
    
    .masaru-character {
        height: 20vh;
        width: auto;
        max-width: 120px;
    }
    
    .pricing-body {
        padding: 30px 20px;
    }
}
