body {
    margin: 0;
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
}

.hero {
    position: relative;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    display: block;
    height: auto;
}

.hero-card-top {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    font-weight: 700;
    line-height: 1.6;
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(2px);
    color: white;
    max-width: 420px;
}

.hero-card-top p {
    margin: 0;
    font-size: 18px;
    color: white;
    text-shadow:
        0 2px 0 #51b859,
        1.4px 1.4px 0 #51b859,
        2px 0 0 #51b859,
        1.4px -1.4px 0 #51b859,
        0 -2px 0 #51b859,
        -1.4px -1.4px 0 #51b859,
        -2px 0 0 #51b859,
        -1.4px 1.4px 0 #51b859;
}

.hero-cta {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
}

.hero-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 16px;
    background-color: #ffffff;
    color: #1a7f37;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
    border: 2px solid #e4f3e8;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        border-color 0.12s ease;
}

.hero-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
    border-color: #bfe7c6;
}

.hero-cta-text {
    white-space: nowrap;
    font-size: 15px;
}

.hero-cta-arrow {
    font-size: 18px;
    line-height: 1;
}

.hero-cta-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.section {
    padding: 36px 0 52px;
}

.section-gray-background {
    background-color: #f9f9f9 !important;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 14px;
}

.section-container-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.section-container-title-key-message {
    text-align: center;
    color: #1d7c31;
    margin: 0;
}

.section-container-title-sub-message {
    text-align: center;
    color: #4d4d4d;
    margin: 0;
    line-height: 1.7;
}

.plan-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.plan-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e6eee7;
}

.plan-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.plan-card-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.plan-card-subtitle {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

.plan-card-description {
    margin: 0;
    color: #4d4d4d;
    line-height: 1.7;
    font-size: 14px;
    min-height: 3.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plan-card-note {
    margin: 0;
    font-size: 13px;
    color: #e65100;
    font-weight: 600;
    line-height: 1.5;
}

.plan-card .plan-price {
    margin-top: auto;
}

.plan-card-title {
    margin: 0;
    font-size: 22px;
    color: #1d7c31;
}

.plan-card-description {
    margin: 0;
    color: #4d4d4d;
    line-height: 1.7;
    font-size: 15px;
}

.plan-price {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0f6b30;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.plan-price-tax {
    font-size: 14px;
    color: #4d4d4d;
    font-weight: 600;
}

.contact-section {
    padding: 36px 0 60px;
    background-color: #ffffff;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.contact-option {
    border-radius: 12px;
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-option-heading {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-option-subheading {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.contact-option-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #ffffff;
    color: #0f6b30;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.08);
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease;
}

.contact-option-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.16);
}

.contact-option-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
}

.contact-option-mail {
    background-color: #c3cf00;
}

.contact-option-line {
    background-color: #50b95a;
}

.contact-message {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    color: #4b4b4b;
}

.contact-message-lead {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.contact-message-line {
    color: #00b900;
}

.contact-message-free {
    color: #e53935;
}

.contact-message p {
    margin: 0;
    line-height: 1.8;
    font-size: 16px;
}

@media (max-width: 960px) {
    .hero-card-top {
        padding: 8px 9px;
        top: 12px;
        left: 12px;
        right: 12px;
    }

    .hero-cta {
        left: 12px;
        bottom: 20px;
    }

    .hero {
        aspect-ratio: 3 / 4;
    }

    .hero-image {
        height: 100%;
        object-fit: cover;
        object-position: 40% center;
    }

    .section {
        margin: 32px 0 48px;
    }

    .section-container {
        padding: 0 12px;
    }

    .plan-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-option {
        text-align: center;
        margin: 0 20px;
    }
}
