/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    font-weight: 700;
}

/* ===========================
   Container
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-large {
    padding: 20px 50px;
    font-size: 18px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 18px;
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: #1e293b;
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    margin-bottom: 50px;
    color: #64748b;
    font-weight: 500;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    margin-bottom: 30px;
    color: #1e293b;
    line-height: 1.5;
}

.hero-title .highlight {
    color: #2563eb;
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 50px;
    font-weight: 500;
}

.trust-points {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.trust-point .icon {
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

.trust-point .text {
    font-size: 15px;
    font-weight: 500;
    color: #334155;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Problems Section
   =========================== */
.problems {
    background: #fff;
}

.problem-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto 40px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #ef4444;
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.problem-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.problem-item p {
    font-size: 17px;
    color: #334155;
    margin: 0;
}

.problem-conclusion {
    text-align: center;
    font-size: 20px;
    color: #1e293b;
    margin-top: 50px;
}

.problem-conclusion strong {
    color: #2563eb;
}

/* ===========================
   Story Section
   =========================== */
.story {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
}

.story-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.story-card.highlight-card {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #2563eb;
}

.story-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.story-text {
    font-size: 18px;
    color: #334155;
}

.story-arrow {
    text-align: center;
    font-size: 30px;
    color: #f59e0b;
    margin: 10px 0;
}

.story-conclusion {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.story-conclusion p {
    font-size: 20px;
    color: #1e293b;
    line-height: 1.8;
}

.story-conclusion strong {
    color: #2563eb;
    font-size: 22px;
}

/* ===========================
   Overview Section
   =========================== */
.overview {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

/* ===========================
   Function Sections
   =========================== */
.function {
    background: #fff;
}

.function-alt {
    background: #f8fafc;
}

.function-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.function-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.function-content.reverse .function-text {
    order: 2;
}

.function-content.reverse .function-image {
    order: 1;
}

.function-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1e293b;
    line-height: 1.5;
}

.function-title .label {
    display: block;
    font-size: 14px;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.function-list {
    list-style: none;
    margin-bottom: 30px;
}

.function-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 17px;
    color: #334155;
}

.function-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 20px;
}

.function-highlight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    border-left: 4px solid #2563eb;
}

/* Mockup Styles */
.mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.mockup-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 16px;
}

.mockup-body {
    padding: 25px;
}

.mockup-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.mockup-label {
    font-weight: 700;
    color: #64748b;
    min-width: 100px;
}

.mockup-value {
    color: #1e293b;
}

.mockup-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.status-progress {
    background: #dbeafe;
    color: #1e40af;
}

.mockup-notes {
    margin-top: 20px;
}

.note-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #10b981;
}

.note-date {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 5px;
}

.note-text {
    font-size: 14px;
    color: #334155;
}

/* Documents Mockup */
.mockup-documents .mockup-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.document-item:hover {
    background: #e0f2fe;
}

.document-icon {
    font-size: 32px;
}

.document-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-name {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
}

.generate-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    background: #059669;
}

/* Deployment Options */
.deployment-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.deployment-option {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.deployment-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.deployment-option h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e293b;
}

.deployment-option p {
    font-size: 15px;
    color: #64748b;
}

.deployment-divider {
    font-size: 18px;
    font-weight: 700;
    color: #94a3b8;
}

/* ===========================
   Subsidy Section
   =========================== */
.subsidy {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.subsidy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.subsidy-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.subsidy-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.subsidy-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e293b;
}

.subsidy-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

.subsidy-cta {
    text-align: center;
}

/* ===========================
   Target Section
   =========================== */
.target {
    background: #fff;
}

.target-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.target-item {
    background: #f8fafc;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.target-item:hover {
    border-color: #2563eb;
    transform: translateY(-5px);
}

.target-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.target-item p {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.target-note {
    background: #fef2f2;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #ef4444;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.note-title {
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 10px;
    font-size: 16px;
}

.note-text {
    color: #64748b;
    font-size: 15px;
}

.target-conclusion {
    text-align: center;
    font-size: 24px;
    color: #1e293b;
}

.target-conclusion strong {
    color: #2563eb;
}

/* ===========================
   Final CTA Section
   =========================== */
.final-cta {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0 100px;
}

.cta-notes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 16px;
    color: #334155;
    font-weight: 500;
}

/* ===========================
   Contact Form
   =========================== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    color: #1e293b;
}

.wpcf7-form-control-wrap {
    margin-bottom: 25px;
}

.wpcf7-form-control-wrap label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #334155;
    font-size: 15px;
}

.required {
    color: #ef4444;
    font-size: 12px;
    margin-left: 5px;
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap select:focus,
.wpcf7-form-control-wrap textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wpcf7-form-control-wrap textarea {
    resize: vertical;
}

button, input[type="button"], input[type="submit"] {
    display: inline-block;
    /*
    padding: 16px 40px;
    font-size: 16px;
    */
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;    
    width: 100%;
    padding: 18px;
    font-size: 18px;
}

button, input[type="button"], input[type="submit"] {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

button:hover, :not( .mejs-button ) > button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
} 

::placeholder {
   color: #b0b3b7;
}
/* ===========================
   Footer
   =========================== */
.footer {
    background: #1e293b;
    padding: 30px 0;
    text-align: center;
}

.footer-text {
    color: #94a3b8;
    font-size: 14px;
}

/* ===========================
   Responsive Styles
   =========================== */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    /* Hero Section */
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .trust-points {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 14px 30px;
    }

    /* Sections */
    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Function Sections */
    .function-content,
    .function-content.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .function-content.reverse .function-text {
        order: 1;
    }

    .function-content.reverse .function-image {
        order: 2;
    }

    .function-title {
        font-size: 24px;
    }

    /* Subsidy */
    .subsidy-content {
        grid-template-columns: 1fr;
    }

    /* Target */
    .target-list {
        grid-template-columns: 1fr;
    }

    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
    }

    /* CTA Notes */
    .cta-notes {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .problem-item {
        padding: 20px;
    }

    .problem-icon {
        font-size: 24px;
    }

    .problem-item p {
        font-size: 15px;
    }
}