/* Market Research Report Section for Front Page */

#report-section {
    padding: 0px 0px 84px 0px;
    background-color: #ffffff;
    position: relative;
    margin-bottom: -84px;
}

/* 既存のexamplesクラスを再利用（ウェビナーと同じスタイル） */
#report-section .examples {
    width: 100%;
    margin: 0 auto;
}

#report-section .examples-container {
    width: 100%;
    padding-top: 90px;
}

#report-section .examples-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 100px 0 90px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

#report-section .examples-title {
    color: #333;
    font-family: "BIZ UDGothic";
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 8px;
    white-space: nowrap;
    margin: 0;
}

#report-section .examples-grid-line {
    position: static;
    margin: 0 28px;
    flex-shrink: 0;
    width: 4px;
    height: 100px;
}

#report-section .examples-text-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#report-section .examples-subtitle {
    color: #333;
    font-family: "BIZ UDGothic";
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
}

#report-section .examples-description {
    color: #333;
    font-family: "BIZ UDGothic";
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 3px;
}

/* カードグリッド */
#report-section .examples-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 90px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

/* レポートカードのスタイル調整（TOPページ専用） */
#report-section .report-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px;
    gap: 10px;
    position: relative;
}

#report-section .report-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#report-section .report-card:active {
    transform: translateY(0);
    box-shadow: none;
}

#report-section .report-card-link {
    text-decoration: none;
    color: inherit;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#report-section .report-card-thumbnail {
    width: 100%;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    position: relative;
}

#report-section .report-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#report-section .card-divider {
    display: flex;
    padding-bottom: 4px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-bottom: 2px solid #333;
}

#report-section .report-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 一覧を見るボタン */
#report-section .view-all-button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 80px;
}

#report-section .view-all-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 51px;
    background: #333;
    text-decoration: none;
    height: 50px;
    min-width: 295px;
    padding: 0 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#report-section .view-all-button:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#report-section .view-all-button:active {
    transform: translateX(0);
    box-shadow: none;
}

#report-section .view-all-button span {
    color: #fff;
    text-align: center;
    font-family: "BIZ UDGothic";
    font-size: 16px;
    font-weight: 700;
    line-height: 28.9px;
    letter-spacing: 3.2px;
}

#report-section .view-all-button .arrow-icon {
    width: 20px;
    height: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    #report-section .examples-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 1004px) {
    #report-section .examples-container {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    #report-section .examples-content {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        padding: 82px 20px 0 106px;
    }

    #report-section .examples-grid-line {
        position: absolute;
        left: 80px;
        top: 40px;
        margin: 0;
        height: 100%;
    }

    #report-section .examples-title {
        font-size: 16px;
        letter-spacing: 6px;
        white-space: normal;
        margin: 0 0 13px 0;
    }

    #report-section .examples-text-container {
        width: 100%;
        gap: 0;
    }

    #report-section .examples-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
        line-height: 1.5;
        margin-bottom: 4px;
    }

    #report-section .examples-description {
        font-size: 10px;
        line-height: 24px;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    #report-section {
        padding: 0px 0;
    }

    #report-section .examples-cards-grid {
        grid-template-columns: 1fr;
        padding: 30px 35px;
        gap: 20px;
        margin-bottom: 40px;
    }

    #report-section .example-card {
        padding: 27px;
    }

    #report-section .card-divider {
        padding-bottom: 15px;
    }

    #report-section .view-all-button {
        justify-content: flex-start;
        gap: 11px;
        height: 42px;
        min-width: 237px;
        padding: 0 20px;
        padding-left: 60px;
    }

    #report-section .view-all-button span {
        font-size: 12px;
        line-height: 21.675px;
        letter-spacing: 2.4px;
    }
}

@media (max-width: 1004px) {
    #market-research-report-section .examples-content,
    #report-section .examples-content {
        width: fit-content;
        max-width: calc(100% - 40px);
        margin: 0 auto;
        padding: 82px 0 0 30px;
        align-items: flex-start;
    }

    #market-research-report-section .examples-grid-line,
    #report-section .examples-grid-line {
        left: 0;
    }

    #market-research-report-section .examples-text-container,
    #report-section .examples-text-container {
        width: auto;
    }
}

@media (min-width: 769px) and (max-width: 1004px) {
    #market-research-report-section .examples-content,
    #report-section .examples-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-width: 820px;
        margin: 0 auto;
        padding: 40px 60px 0;
    }

    #market-research-report-section .examples-grid-line,
    #report-section .examples-grid-line {
        position: static;
        width: 4px;
        height: 90px;
        margin: 0 24px;
    }

    #market-research-report-section .examples-title,
    #report-section .examples-title {
        font-size: 24px;
        letter-spacing: 6px;
        margin: 0;
    }

    #market-research-report-section .examples-text-container,
    #report-section .examples-text-container {
        gap: 12px;
    }

    #market-research-report-section .examples-subtitle,
    #report-section .examples-subtitle {
        font-size: 15px;
        letter-spacing: 2.4px;
        margin: 0;
    }

    #market-research-report-section .examples-description,
    #report-section .examples-description {
        font-size: 12px;
        line-height: 22px;
        letter-spacing: 2px;
    }
}

@media (max-width: 550px) {
    #market-research-report-section .examples-content,
    #report-section .examples-content {
        max-width: calc(100% - 32px);
        padding-left: 28px;
    }
}

/* Market research cards: text-first report design. */
#market-research-report-section .examples-cards-grid,
#report-section .examples-cards-grid {
    gap: 34px;
    align-items: stretch;
}

#market-research-report-section .report-example-card,
#report-section .report-example-card {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 14px 0 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(12, 39, 78, 0.1);
    gap: 0;
    position: relative;
    overflow: hidden;
}

#market-research-report-section .report-card-thumbnail,
#report-section .report-card-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
    background: #fff;
}

#market-research-report-section .report-card-thumbnail img,
#report-section .report-card-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

#market-research-report-section .report-card-body,
#report-section .report-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    padding: 24px 28px 16px;
}

#market-research-report-section .report-card-title,
#report-section .report-card-title {
    color: #081b3a;
    font-family: "BIZ UDGothic";
    font-size: 17px;
    font-weight: 700;
    line-height: 1.85;
    letter-spacing: 1.7px;
    margin: 0;
}

#market-research-report-section .report-description,
#report-section .report-description {
    display: none;
}

#market-research-report-section .report-card-footer,
#report-section .report-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: #ff1f2d;
    font-family: "BIZ UDGothic";
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.8px;
    padding: 0 28px 24px;
}

#market-research-report-section .report-card-document-icon,
#report-section .report-card-document-icon {
    position: relative;
    width: 17px;
    height: 21px;
    border: 2px solid currentColor;
    border-radius: 2px;
    flex: 0 0 auto;
    box-sizing: border-box;
}

#market-research-report-section .report-card-document-icon::before,
#report-section .report-card-document-icon::before {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 7px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: #fff;
}

#market-research-report-section .report-card-document-icon::after,
#report-section .report-card-document-icon::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 8px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 5px 0 currentColor;
}

#market-research-report-section .report-card-cta-text,
#report-section .report-card-cta-text {
    margin-left: auto;
}

#market-research-report-section .report-card-cta-arrow,
#report-section .report-card-cta-arrow {
    font-size: 20px;
    line-height: 1;
}

#market-research-report-section .report-example-card:nth-child(even) .report-card-footer,
#report-section .report-example-card:nth-child(even) .report-card-footer {
    color: #006aff;
}

#market-research-report-section .card-divider,
#report-section .card-divider {
    display: none;
}

#market-research-report-section .example-card-link,
#report-section .example-card-link {
    z-index: 2;
}

#market-research-report-section .view-all-button-container,
#report-section .view-all-button-container {
    margin-top: 0;
    padding-bottom: 84px;
}

#market-research-report-section .view-all-button,
#report-section .view-all-button {
    min-width: 340px;
    height: 54px;
    padding: 0 30px;
    gap: 12px;
    border: 2px solid #5a9cff;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 106, 255, 0.12);
    color: #2f86ff;
}

#market-research-report-section .view-all-button::before,
#report-section .view-all-button::before {
    content: "";
    width: 14px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 2px;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#market-research-report-section .view-all-button span,
#report-section .view-all-button span {
    color: #2f86ff;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1px;
    padding-right: 0;
}

#market-research-report-section .view-all-button .arrow-icon,
#report-section .view-all-button .arrow-icon {
    display: none;
}

#market-research-report-section .view-all-button::after,
#report-section .view-all-button::after {
    content: "→";
    color: #2f86ff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin-left: 4px;
}

@media (max-width: 1024px) {
    #market-research-report-section .report-example-card,
    #report-section .report-example-card {
        min-height: 190px;
    }
}

@media (max-width: 640px) {
    #market-research-report-section .examples-cards-grid,
    #report-section .examples-cards-grid {
        grid-template-columns: 1fr;
        padding-left: 24px;
        padding-right: 24px;
    }

    #market-research-report-section .view-all-button,
    #report-section .view-all-button {
        min-width: 0;
        width: calc(100% - 48px);
    }
}

@media (max-width: 1024px) {
    #market-research-report-section,
    #report-section {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    #market-research-report-section .view-all-button-container,
    #report-section .view-all-button-container {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 36px auto 0;
        padding: 0 24px 56px;
        box-sizing: border-box;
        position: relative;
        z-index: 5;
    }

    #market-research-report-section .view-all-button,
    #report-section .view-all-button {
        position: relative;
        width: min(360px, 100%);
        min-width: 0;
        max-width: calc(100vw - 48px);
        height: 50px;
        padding: 0 22px;
        gap: 10px;
        white-space: nowrap;
        overflow: visible;
        flex: 0 1 auto;
        justify-content: center;
    }

    #market-research-report-section .view-all-button::before,
    #report-section .view-all-button::before {
        position: absolute;
        left: 24px;
    }

    #market-research-report-section .view-all-button::after,
    #report-section .view-all-button::after {
        position: absolute;
        right: 24px;
        margin-left: 0;
    }

    #market-research-report-section .view-all-button span,
    #report-section .view-all-button span {
        font-size: 13px;
        letter-spacing: 0.6px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    #market-research-report-section,
    #report-section {
        padding-bottom: 0;
    }

    #market-research-report-section .view-all-button-container,
    #report-section .view-all-button-container {
        margin-top: 34px;
        padding: 0 22px 48px;
    }

    #market-research-report-section .view-all-button,
    #report-section .view-all-button {
        max-width: calc(100vw - 44px);
        height: 48px;
        padding: 0 18px;
        gap: 8px;
    }

    #market-research-report-section .view-all-button::before,
    #report-section .view-all-button::before {
        width: 12px;
        height: 16px;
        left: 20px;
    }

    #market-research-report-section .view-all-button span,
    #report-section .view-all-button span {
        font-size: 12px;
        letter-spacing: 0.3px;
    }

    #market-research-report-section .view-all-button::after,
    #report-section .view-all-button::after {
        font-size: 18px;
        right: 20px;
        margin-left: 0;
    }
}

/* Final spacing guard: keep report CTA inside its own section on every viewport. */
#market-research-report-section,
#report-section {
    margin-bottom: 0 !important;
    padding-bottom: 44px !important;
    background-color: #f3f8fd;
    overflow: visible;
}

#market-research-report-section .view-all-button-container,
#report-section .view-all-button-container {
    margin: 34px auto 0 !important;
    padding: 0 24px !important;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}

#market-research-report-section .view-all-button,
#report-section .view-all-button {
    position: relative;
    justify-content: center;
    margin: 0 auto;
}

#market-research-report-section .view-all-button::before,
#report-section .view-all-button::before {
    content: none !important;
    display: none;
}

#market-research-report-section .view-all-button::after,
#report-section .view-all-button::after {
    position: absolute;
    right: 24px;
    margin-left: 0;
}

@media (max-width: 1024px) {
    #market-research-report-section,
    #report-section {
        padding-bottom: 44px !important;
    }
}

@media (max-width: 480px) {
    #market-research-report-section,
    #report-section {
        padding-bottom: 52px !important;
    }

    #market-research-report-section .view-all-button-container,
    #report-section .view-all-button-container {
        margin-top: 34px !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    #market-research-report-section .view-all-button::before,
    #report-section .view-all-button::before {
        left: 20px;
    }

    #market-research-report-section .view-all-button::after,
    #report-section .view-all-button::after {
        right: 20px;
    }
}
