/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.nav-cta {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white !important;
    font-weight: bold;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #dd4b3e 100%);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

@media (max-width: 768px) {
    .nav-open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .nav-open .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        text-align: center;
    }
    
    .nav-open .nav-link:last-child {
        border-bottom: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 70px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('./images/header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-details .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('./images/header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.expert-faces {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.expert-face {
    text-align: center;
}

.face-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.expert-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.header-bg {
    display: none;
}

@media (max-width: 768px) {
    .hero-image {
        background-position: center center;
    }
}


@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px !important;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    }
    
    .hero-image {
        display: none !important;
    }
    
    .hero .container {
        position: relative;
        z-index: 2;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 8px 16px;
        margin-bottom: 30px;
        text-align: center;
        background: rgba(255,255,255,0.1);
        border-radius: 15px;
        display: inline-block;
    }
    
    .hero-features {
        margin-bottom: 30px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.85) 0%, rgba(42, 82, 152, 0.85) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    color: white;
    line-height: 1.3;
    letter-spacing: 0.02em;
    font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', '游明朝体', serif;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: white;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95) 0%, rgba(42, 82, 152, 0.95) 100%);
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    padding: 12px 24px;
    border-radius: 6px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.1rem;
    margin-right: 10px;
    opacity: 0.9;
}

.feature-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.feature-item.main-subtitle {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95) 0%, rgba(42, 82, 152, 0.95) 100%);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 8px;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.subtitle-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    letter-spacing: 0.05em;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-button.primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.cta-button.line {
    background: linear-gradient(135deg, #00C300 0%, #00B900 100%);
    color: white;
    position: relative;
    padding-left: 50px;
}

.cta-button.line:hover {
    background: linear-gradient(135deg, #00B900 0%, #00A000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,195,0,0.3);
}

.line-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.cta-button.large .line-icon svg {
    width: 24px;
    height: 24px;
}

.cta-button.secondary {
    background: linear-gradient(135deg, #4ecdc4 0%, #38a3a5 100%);
    color: white;
}

.cta-button.large {
    font-size: 1.3rem;
    padding: 20px 40px;
}

.line-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: bold;
}

/* Problem Introduction Section */
.problem-intro {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Problem Details Section */
.problem-details {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.problem-category {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.problem-category:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f2f6;
}

.category-header h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0;
}

.category-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.problem-scenarios {
    space-y: 20px;
}

.scenario {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f2f6;
}

.scenario:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.scenario h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.scenario p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.scenario-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.scenario-stats .stat {
    background: #e8f4f8;
    color: #2980b9;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Problem Summary */
.problem-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: white;
}

.summary-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.summary-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.effectiveness-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.effectiveness-stats .stat-item {
    text-align: center;
}

.effectiveness-stats .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    color: #fff;
}

.effectiveness-stats .stat-label {
    font-size: 1.1rem;
    opacity: 1;
    margin-top: 8px;
    font-weight: 500;
    color: #f0f0f0;
    background: rgba(0,0,0,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
}

/* Solutions Section */
.solutions {
    background: #f8f9fa;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.solution-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
}

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

.solution-item h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.solution-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

.mid-cta {
    text-align: center;
    margin-top: 50px;
}

/* Pricing Section */
.pricing {
    background: white;
}

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

.pricing-item {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.pricing-item:hover {
    transform: translateY(-5px);
}

.pricing-item.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.pricing-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.pricing-item.featured h3 {
    color: white;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 30px;
}

.pricing-item.featured .price {
    color: #fff;
}

.price-features {
    list-style: none;
    text-align: left;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.pricing-item.featured .price-features li {
    border-bottom-color: rgba(255,255,255,0.2);
}

.price-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.pricing-item.featured .price-features li:before {
    color: #fff;
}

.pricing-notes {
    background: #e8f4f8;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.pricing-notes h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.pricing-notes ul {
    list-style: none;
}

.pricing-notes li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.pricing-notes li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Flow Section */
.flow {
    background: #f8f9fa;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.flow-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.flow-number {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.flow-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.flow-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

.flow-cta {
    text-align: center;
}

/* Trust Section */
.trust {
    background: white;
}

.trust-content {
    display: grid;
    gap: 50px;
    align-items: center;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.expert-profile {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.expert-image {
    text-align: center;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.expert-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.expert-title {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.expert-registration {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.expert-description {
    color: #7f8c8d;
    line-height: 1.6;
}

.trust-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #e74c3c;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 5px;
}

/* FAQ Section */
.faq {
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    background: #3498db;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    margin: 0;
    transition: background 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: #2980b9;
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.final-cta .section-title {
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    margin-bottom: 30px;
}

.cta-features {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

/* Contact Form */
.contact-form-section {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-top: 50px;
}

.contact-form-section h3 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

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

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    color: #333;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

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

.footer-content {
    margin-bottom: 20px;
}

.footer-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-content p {
    margin-bottom: 5px;
    opacity: 0.8;
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid #34495e;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 15px 25px;
    }
    
    .hero-features {
        gap: 15px;
    }
    
    .feature-item {
        padding: 8px 16px;
    }
    
    .feature-text {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .problem-category {
        padding: 20px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .effectiveness-stats {
        gap: 30px;
    }
    
    .effectiveness-stats .stat-number {
        font-size: 2rem;
    }
    
    .problem-summary {
        padding: 30px 20px;
    }
    
    .summary-content h3 {
        font-size: 1.5rem;
    }
    
    .summary-content p {
        font-size: 1rem;
    }
    
    .solution-grid,
    .pricing-grid,
    .flow-grid {
        grid-template-columns: 1fr;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .expert-profile {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .cta-button.large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .solution-item,
    .pricing-item,
    .flow-item {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .trust-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .flow-number {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .price {
        font-size: 2rem;
    }
}

/* Animation and Transitions */
.solution-item,
.pricing-item,
.flow-item,
.problem-item {
    transition: all 0.3s ease;
}

.solution-item:hover,
.pricing-item:hover,
.flow-item:hover,
.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.cta-button:focus,
.faq-question:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

input:focus,
textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}