// path: styles/main.css
/* ==========================================================================
   GOジョブ物流セミナーLP - メインスタイルシート
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #0d47a1;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px; /* WCAG tap target */
}

.btn:focus {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #e55a00 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #e55a00 0%, #d14900 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 90, 0, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #1976d2;
    color: #1976d2;
}

.btn-outline:hover, .btn-outline:focus {
    background-color: #1976d2;
    color: white;
    text-decoration: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo img {
    height: 40px;
    width: auto;
}

/* Main content offset for fixed header */
main {
    padding-top: 80px;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(25, 118, 210, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(13, 71, 161, 0.08) 0%, transparent 50%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    color: #0d47a1;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(13, 71, 161, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #1565c0;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-weight: 700;
    color: #333;
}

.detail-value.price {
    color: #ff6b00;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 107, 0, 0.3);
}

.hero-cta {
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Problem Section */
.problem {
    background-color: #f8f9fa;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.problem-item {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1976d2, #0d47a1);
}

.problem-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(25, 118, 210, 0.15);
}

.problem-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.problem-item h3 {
    color: #0d47a1;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.problem-item p strong {
    color: #ff6b00;
    font-weight: 700;
}

/* Solution Section */
.solution-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.solution-headline {
    color: #0d47a1;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.solution-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1976d2;
    font-weight: bold;
    font-size: 1.2rem;
}

.success-cases {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.success-cases h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.case-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.case-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.case-item h4 {
    color: #1976d2;
    margin-bottom: 0.5rem;
}

/* Seminar Details */
.seminar-details {
    background-color: #f8f9fa;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.speaker {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.speaker h4 {
    color: #333;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: #1976d2;
    font-weight: 600;
    margin-bottom: 1rem;
}

.speaker-bio {
    color: #666;
    line-height: 1.6;
}

.agenda, .benefits {
    padding-left: 1.5rem;
}

.agenda li, .benefits li {
    margin-bottom: 0.5rem;
}

.info-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 120px;
}

.info-card dl {
    margin: 0;
}

.info-card dt {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.info-card dt:first-child {
    margin-top: 0;
}

.info-card dd {
    color: #666;
    margin-bottom: 0.5rem;
    margin-left: 0;
}

.info-card dd.price {
    color: #ff6b00;
    font-size: 1.25rem;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    color: white;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

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

.cta-section .btn-primary {
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
    font-size: 1.2rem;
    padding: 16px 40px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 0, 0.8);
        transform: translateY(-3px);
    }
}

.cta-section h2 {
    color: white;
    margin-bottom: 2rem;
}

.outcomes {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.outcome-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #64b5f6;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.outcome-text {
    font-size: 1.125rem;
    font-weight: 600;
}

.urgency {
    color: #e3f2fd;
    font-weight: 600;
    margin-bottom: 2rem;
}

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

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

.faq-item {
    background-color: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    list-style: none;
    position: relative;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #1976d2;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    margin-bottom: 0;
}

/* Trust Section */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.logo-placeholder {
    height: 80px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 4px;
}

.testimonials-title {
    text-align: center;
    margin-bottom: 2rem;
}

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

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #1976d2;
}

.testimonial p {
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: #666;
}

/* Application Form */
.application {
    background-color: #f8f9fa;
}

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

.application-form {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.required {
    color: #d32f2f;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-input.error, .form-select.error, .form-textarea.error {
    border-color: #d32f2f;
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox {
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.privacy-link {
    color: #1976d2;
    text-decoration: underline;
}

.error-message {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.2rem;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Thanks Page */
.thanks {
    text-align: center;
    padding: 80px 0;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 2rem;
    color: #1976d2;
}

.thanks-title {
    color: #1976d2;
    margin-bottom: 3rem;
}

.confirmation-details {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: left;
}

.details-list dt {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.details-list dt:first-child {
    margin-top: 0;
}

.details-list dd {
    color: #666;
    margin-bottom: 0.5rem;
    margin-left: 0;
}

.details-list dd.price {
    color: #ff6b00;
    font-weight: 700;
}

.next-steps {
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    gap: 2rem;
    text-align: left;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #1976d2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.calendar-section, .contact-info, .social-share {
    margin-bottom: 3rem;
    text-align: center;
}

.calendar-buttons, .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.return-home {
    margin-top: 3rem;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.company-info address {
    font-style: normal;
    line-height: 1.6;
    color: #ccc;
}

.company-info a {
    color: #ccc;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ccc;
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    font-size: 0.875rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .header {
        padding: 12px 0;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .nav .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    main {
        padding-top: 80px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-details {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-headline {
        font-size: 1.5rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-card {
        position: static;
    }
    
    .outcomes {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .outcome-number {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .application-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .calendar-buttons, .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps {
        gap: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .detail-item {
        padding: 1rem 0.75rem;
    }
    
    .detail-label {
        font-size: 0.8rem;
    }
    
    .detail-value {
        font-size: 0.95rem;
    }
    
    .detail-value.price {
        font-size: 1.1rem;
    }
    
    .outcome-number {
        font-size: 2.2rem;
    }
    
    .application-form {
        padding: 1rem;
    }
    
    .problem-item {
        padding: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .logos-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .cta-section .btn-primary {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid transparent;
    }
    
    .btn-outline {
        border-width: 3px;
    }
}

/* Additional responsive improvements */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 24px;
    }
    
    .hero .container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
    
    .solution-content {
        gap: 3rem;
    }
    
    .details-grid {
        gap: 3rem;
    }
}

/* Better button spacing and touch targets */
.btn {
    min-width: 120px;
    white-space: nowrap;
}

.btn + .btn {
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .btn + .btn {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Focus indicators for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #0066cc;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 6px;
}

/* Print styles */
@media print {
    .header, .footer {
        display: none;
    }
    
    main {
        padding-top: 0;
    }
    
    .btn {
        display: none;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}