main {
    padding-top: var(--header-height);
}

.partner-hero {
    background: url('../images/お腹ソムリエ① 小.jpg') center/cover no-repeat;
    position: relative;
    padding: 88px 0 76px;
}

.partner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 44, 74, 0.88), rgba(30, 75, 141, 0.75));
}

.hero-grid,
.first-grid,
.benefits-grid,
.pricing-layout,
.cta-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: stretch;
}

.hero-grid {
    grid-template-columns: 1fr;
}

.hero-content {
    position: relative;
    z-index: 1;
    align-self: center;
}

.hero-subcopy {
    margin-top: 16px;
    color: rgba(242, 248, 255, 0.95);
    line-height: 1.85;
    font-size: 1.06rem;
}
.hero-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 2.7rem;
    line-height: 1.28;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
}

.hero-support-section {
    background: #ffffff;
    padding: 64px 0 22px;
}

.first-copy-block {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(44, 95, 158, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    padding: 34px;
}

.first-section-title {
    color: #0f2c4a;
    font-size: 2rem;
    line-height: 1.45;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 14px;
}

.first-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 76px;
    height: 4px;
    border-radius: 3px;
    background: linear-gradient(135deg, #3b82f6, #f59e0b);
}

.first-section-subcopy {
    margin: 18px 0 14px;
    font-size: 1.08rem;
    color: #39536f;
    font-weight: 600;
    line-height: 1.8;
}

.hero-concept {
    color: #415a75;
    line-height: 1.9;
}

.problem-list {
    display: grid;
    gap: 12px;
}

.problem-layout {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 18px;
    align-items: start;
}

.problem-item {
    background: rgba(244, 249, 255, 0.85);
    border: 1px solid #d7e4f3;
    border-radius: 10px;
    padding: 16px;
}

.problem-item h3 {
    color: #174370;
    margin-bottom: 6px;
    font-size: 1.04rem;
}

.problem-item p {
    color: #4a627c;
    line-height: 1.8;
}

.section-subheading {
    margin: 2px 0 18px;
    color: #35506d;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.7;
}

.hero-cta-wrap {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2ebf4;
}

.hero-microcopy {
    margin-bottom: 10px;
    color: #506780;
    font-size: 0.95rem;
}

.hero-cta,
.partner-cta-section .primary-button {
    padding: 16px 34px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(44, 95, 158, 0.25);
}

.partner-section {
    padding: 76px 0;
    background: #ffffff;
}

.section-alt {
    background: url('../images/背景白波.jpg') center/cover no-repeat fixed;
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
}

.section-alt .container {
    position: relative;
    z-index: 1;
}

.section-heading {
    font-size: 2.2rem;
    color: #0f2c4a;
    line-height: 1.4;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 12px;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    border-radius: 3px;
    background: linear-gradient(135deg, #3b82f6, #f59e0b);
}

.section-lead {
    margin-bottom: 30px;
    color: #4c637c;
    line-height: 1.85;
}

.for-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.for-card,
.benefit-item,
.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
    border-radius: 14px;
    border: 1px solid rgba(44, 95, 158, 0.16);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    padding: 24px;
}

.for-card h3,
.benefit-item h3,
.pricing-card h3,
.rental-note h3 {
    color: #15406f;
    margin-bottom: 10px;
    line-height: 1.55;
    font-size: 1.15rem;
}

.for-card p,
.benefit-item p,
.pricing-includes,
.rental-note p,
.partner-cta-section p {
    color: #49617a;
    line-height: 1.85;
}

.benefit-list {
    display: grid;
    gap: 14px;
}

.solution-copy {
    display: grid;
    gap: 14px;
}

.solution-copy p {
    color: #49617a;
    line-height: 1.9;
}

.pricing-filter {
    margin-bottom: 10px;
    color: #5f738a;
    font-size: 0.93rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.pricing-value {
    color: #1a4477;
    font-size: 2rem;
    margin-bottom: 12px;
}

.pricing-value span {
    font-size: 1rem;
}

.rental-note {
    background: rgba(239, 246, 255, 0.8);
    border: 1px solid #d3e2f3;
    border-left: 4px solid #2c5f9e;
    border-radius: 12px;
    padding: 24px;
}

.partner-cta-section {
    background: linear-gradient(135deg, #1e3a8a, #234b7e);
    padding: 82px 0;
}

.partner-cta-section h2 {
    color: #ffffff;
    font-size: 2.1rem;
    line-height: 1.45;
    margin-bottom: 16px;
}

.partner-cta-section p {
    color: rgba(240, 247, 255, 0.92);
    margin-bottom: 22px;
}

.image-placeholder {
    border-radius: 14px;
    border: 2px dashed rgba(44, 95, 158, 0.35);
    background: rgba(255, 255, 255, 0.78);
    min-height: 220px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.image-placeholder p {
    color: #2f557f;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.image-placeholder small {
    color: #4f6781;
    font-size: 0.85rem;
    line-height: 1.65;
}

.image-hero {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    min-height: 300px;
}

.image-hero p,
.image-hero small,
.partner-cta-section .image-placeholder p,
.partner-cta-section .image-placeholder small {
    color: #eff6ff;
}

.image-first,
.image-benefits,
.image-pricing,
.image-cta {
    min-height: 320px;
}

.image-first {
    min-height: 380px;
}

.benefits-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
}

.image-benefits {
    min-height: 220px;
    max-width: 300px;
    margin-top: 64px;
    justify-self: end;
}

.image-small {
    min-height: 190px;
    max-width: 560px;
    margin-top: 22px;
}

.partner-cta-section .image-placeholder {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(214, 230, 250, 0.55);
}

@media (max-width: 1100px) {
    .hero-grid,
    .first-grid,
    .benefits-grid,
    .pricing-layout,
    .cta-grid,
    .problem-layout,
    .for-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .image-hero,
    .image-first,
    .image-benefits,
    .image-pricing,
    .image-cta {
        min-height: 240px;
    }

    .image-benefits {
        margin-top: 0;
        max-width: none;
        justify-self: stretch;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 60px;
    }

    .partner-hero,
    .partner-section,
    .partner-cta-section {
        padding: 56px 0;
    }

    .hero-support-section {
        padding: 48px 0 14px;
    }

    .hero-content h1,
    .section-heading,
    .partner-cta-section h2,
    .first-section-title {
        font-size: 1.58rem;
    }

    .section-subheading {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .first-copy-block,
    .for-card,
    .benefit-item,
    .pricing-card,
    .rental-note {
        padding: 18px;
    }

    .hero-concept,
    .hero-subcopy,
    .problem-item p,
    .for-card p,
    .benefit-item p,
    .solution-copy p,
    .partner-cta-section p {
        font-size: 0.95rem;
    }

    .image-placeholder {
        min-height: 170px;
    }
}
