/* Market Research Report Common Styles */

/* レポートカード共通スタイル（ウェビナーサイズと統一） */
.report-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 282.5px;
    height: 313.31px;
    max-width: 282.5px;
    max-height: 313.31px;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.report-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* カードサムネイル（ウェビナーと同じ高さに調整） */
.report-card-thumbnail {
    width: 282.5px;
    height: 148px;
    overflow: hidden;
    position: relative;
}

.report-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.report-card:hover .report-card-thumbnail img {
    transform: scale(1.05);
}

/* カードコンテンツ（高さ制限） */
.report-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 282.5px;
    height: 165.31px;
    overflow: hidden;
    box-sizing: border-box;
}

.report-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-card-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 詳しく見るボタン */
.report-card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2CA7DC;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.report-card-button:hover {
    color: #1a90c0;
    gap: 12px;
}

.report-card-button::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.report-card:hover .report-card-button::after {
    transform: translateX(3px);
}

/* カード内の仕切り線 */
.card-divider {
    display: flex;
    padding-bottom: 4px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-bottom: 2px solid #333;
}

/* レポートセクション共通装飾ライン */
.report-decorative-lines {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.report-decorative-lines .line {
    height: 2px;
    width: 50px;
}

.report-decorative-lines .blue-line {
    background-color: #28A7E1;
    margin-right: 2px;
}

.report-decorative-lines .red-line {
    background-color: #E60012;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .report-card-thumbnail {
        height: 150px;
    }
    
    .report-card-title {
        font-size: 16px;
    }
    
    .report-card-description {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .report-card {
        padding: 27px;
    }
    
    .report-card-thumbnail {
        height: 150px;
    }
    
    .card-divider {
        padding-bottom: 15px;
    }
} 

/* Front page shared section heading alignment */
body.home .examples-content,
body.home .column-content,
body.home .information-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 90px;
    padding-right: 90px;
    position: relative;
}

body.home .examples-grid-line,
body.home .column-grid-line,
body.home .information-grid-line {
    position: static;
    flex: 0 0 4px;
    width: 4px;
    height: 100px;
    margin: 0 28px;
}

body.home .examples-title,
body.home .column-title,
body.home .information-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 8px;
    margin: 0;
    white-space: nowrap;
}

body.home .examples-text-container,
body.home .column-text-container,
body.home .information-text-container {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 20px;
}

body.home .examples-subtitle,
body.home .column-subtitle,
body.home .information-subtitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 3px;
    margin: 0;
}

body.home .examples-description,
body.home .column-description {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 3px;
    margin: 0;
}

@media (min-width: 769px) and (max-width: 1004px) {
    body.home .examples-content,
    body.home .column-content,
    body.home .information-content {
        flex-direction: row;
        align-items: center;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 40px 60px 0;
    }

    body.home .examples-grid-line,
    body.home .column-grid-line,
    body.home .information-grid-line {
        flex-basis: 4px;
        width: 4px;
        height: 90px;
        margin: 0 24px;
    }

    body.home .examples-title,
    body.home .column-title,
    body.home .information-title {
        font-size: 24px;
        letter-spacing: 6px;
        white-space: nowrap;
    }

    body.home .examples-text-container,
    body.home .column-text-container,
    body.home .information-text-container {
        gap: 12px;
    }

    body.home .examples-subtitle,
    body.home .column-subtitle,
    body.home .information-subtitle {
        font-size: 15px;
        line-height: 1.5;
        letter-spacing: 2.4px;
    }

    body.home .examples-description,
    body.home .column-description {
        font-size: 12px;
        line-height: 22px;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    body.home .examples-content,
    body.home .column-content,
    body.home .information-content {
        display: grid;
        grid-template-columns: 4px minmax(0, auto);
        grid-template-areas:
            "line title"
            "line text";
        column-gap: 24px;
        row-gap: 10px;
        align-items: start;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 60px 32px 20px;
    }

    body.home .examples-grid-line,
    body.home .column-grid-line,
    body.home .information-grid-line {
        grid-area: line;
        align-self: start;
        width: 4px;
        height: 70px;
        margin: 0;
    }

    body.home .examples-title,
    body.home .column-title,
    body.home .information-title {
        grid-area: title;
        font-size: 20px;
        line-height: 1.35;
        letter-spacing: 4px;
        white-space: normal;
        margin: 0;
    }

    body.home .examples-text-container,
    body.home .column-text-container,
    body.home .information-text-container {
        grid-area: text;
        width: auto;
        max-width: calc(100vw - 76px);
        gap: 10px;
    }

    body.home .examples-subtitle,
    body.home .column-subtitle,
    body.home .information-subtitle {
        font-size: 12px;
        line-height: 1.5;
        letter-spacing: 1.5px;
    }

    body.home .examples-description,
    body.home .column-description {
        font-size: 10px;
        line-height: 20px;
        letter-spacing: 1.5px;
    }
}

/* ID scoped heading sections need matching specificity. */
body.home #webinar-section .examples-content,
body.home #market-research-report-section .examples-content,
body.home #report-section .examples-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 90px;
    padding-right: 90px;
    position: relative;
}

body.home #webinar-section .examples-grid-line,
body.home #market-research-report-section .examples-grid-line,
body.home #report-section .examples-grid-line {
    position: static;
    flex: 0 0 4px;
    width: 4px;
    height: 100px;
    margin: 0 28px;
}

body.home #webinar-section .examples-title,
body.home #market-research-report-section .examples-title,
body.home #report-section .examples-title {
    font-size: 32px;
    line-height: 1.35;
    letter-spacing: 8px;
    margin: 0;
    white-space: nowrap;
}

body.home #webinar-section .examples-text-container,
body.home #market-research-report-section .examples-text-container,
body.home #report-section .examples-text-container {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 20px;
}

body.home #webinar-section .examples-subtitle,
body.home #market-research-report-section .examples-subtitle,
body.home #report-section .examples-subtitle {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 3px;
    margin: 0;
}

body.home #webinar-section .examples-description,
body.home #market-research-report-section .examples-description,
body.home #report-section .examples-description {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 3px;
    margin: 0;
}

@media (min-width: 769px) and (max-width: 1004px) {
    body.home #webinar-section .examples-content,
    body.home #market-research-report-section .examples-content,
    body.home #report-section .examples-content {
        flex-direction: row;
        align-items: center;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 40px 60px 0;
    }

    body.home #webinar-section .examples-grid-line,
    body.home #market-research-report-section .examples-grid-line,
    body.home #report-section .examples-grid-line {
        flex-basis: 4px;
        width: 4px;
        height: 90px;
        margin: 0 24px;
    }

    body.home #webinar-section .examples-title,
    body.home #market-research-report-section .examples-title,
    body.home #report-section .examples-title {
        font-size: 24px;
        letter-spacing: 6px;
        white-space: nowrap;
    }

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

    body.home #webinar-section .examples-subtitle,
    body.home #market-research-report-section .examples-subtitle,
    body.home #report-section .examples-subtitle {
        font-size: 15px;
        line-height: 1.5;
        letter-spacing: 2.4px;
    }

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

@media (max-width: 768px) {
    body.home #webinar-section .examples-content,
    body.home #market-research-report-section .examples-content,
    body.home #report-section .examples-content {
        display: grid;
        grid-template-columns: 4px minmax(0, auto);
        grid-template-areas:
            "line title"
            "line text";
        column-gap: 24px;
        row-gap: 10px;
        align-items: start;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 60px 32px 20px;
    }

    body.home #webinar-section .examples-grid-line,
    body.home #market-research-report-section .examples-grid-line,
    body.home #report-section .examples-grid-line {
        grid-area: line;
        align-self: start;
        width: 4px;
        height: 70px;
        margin: 0;
    }

    body.home #webinar-section .examples-title,
    body.home #market-research-report-section .examples-title,
    body.home #report-section .examples-title {
        grid-area: title;
        font-size: 20px;
        line-height: 1.35;
        letter-spacing: 4px;
        white-space: normal;
        margin: 0;
        margin-bottom: 0 !important;
    }

    body.home #webinar-section .examples-text-container,
    body.home #market-research-report-section .examples-text-container,
    body.home #report-section .examples-text-container {
        grid-area: text;
        width: auto;
        max-width: calc(100vw - 76px);
        gap: 10px;
    }

    body.home #webinar-section .examples-subtitle,
    body.home #market-research-report-section .examples-subtitle,
    body.home #report-section .examples-subtitle {
        font-size: 12px;
        line-height: 1.5;
        letter-spacing: 1.5px;
    }

    body.home #webinar-section .examples-description,
    body.home #market-research-report-section .examples-description,
    body.home #report-section .examples-description {
        font-size: 10px;
        line-height: 20px;
        letter-spacing: 1.5px;
    }

    body.home #market-research-report-section .examples-content {
        padding-bottom: 0 !important;
    }

    body.home #market-research-report-section .examples-cards-grid {
        padding-top: 0 !important;
    }
}

/* Keep top-page decorative rings/circles visible on tablet and mobile. */
@media (max-width: 1004px) {
    body.home .hero .shapes,
    body.home .business .shapes,
    body.home .service .shapes,
    body.home .examples .shapes,
    body.home .column-section .shapes,
    body.home .information .shapes {
        display: block !important;
        visibility: visible !important;
    }

    body.home .hero .shapes img,
    body.home .business .shapes img,
    body.home .service .shapes img,
    body.home .examples .shapes img,
    body.home .column-section .shapes img,
    body.home .information .shapes img {
        display: block !important;
        visibility: visible !important;
    }

    body.home.parallax-ready .hero .shapes img,
    body.home.parallax-ready .business .shapes img,
    body.home.parallax-ready .service .shapes img,
    body.home.parallax-ready .examples .shapes img,
    body.home.parallax-ready .column-section .shapes img,
    body.home.parallax-ready .information .shapes img,
    body.home:not(.parallax-loading) .hero .shapes img,
    body.home:not(.parallax-loading) .business .shapes img,
    body.home:not(.parallax-loading) .service .shapes img,
    body.home:not(.parallax-loading) .examples .shapes img,
    body.home:not(.parallax-loading) .column-section .shapes img,
    body.home:not(.parallax-loading) .information .shapes img {
        opacity: 1 !important;
    }

    body.home .hero > .shapes .hero-shape.big-blue {
        display: none !important;
    }
}

/* Final news-section layout guard. Loaded after top/information.css. */
@media screen and (min-width: 1005px) {
    body.home .information .information-content {
        display: grid !important;
        grid-template-columns: minmax(390px, 1fr) 210px !important;
        gap: 44px !important;
        align-items: end !important;
        width: min(1420px, calc(100vw - 160px)) !important;
        max-width: 1420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.home .information .information-title {
        font-size: 44px !important;
        line-height: 1.15 !important;
        letter-spacing: 7px !important;
        white-space: nowrap !important;
    }

    body.home .information .information-subtitle {
        font-size: 15px !important;
        line-height: 1.9 !important;
        letter-spacing: 2px !important;
        margin: 0 !important;
    }
}

@media screen and (min-width: 1005px) and (max-width: 1280px) {
    body.home .information .information-content {
        grid-template-columns: minmax(390px, 1fr) 180px !important;
        gap: 28px !important;
        width: calc(100vw - 160px) !important;
        max-width: 1120px !important;
    }

    body.home .information .information-title {
        font-size: 34px !important;
        letter-spacing: 4.8px !important;
    }

    body.home .information .information-subtitle {
        font-size: 14px !important;
        letter-spacing: 1.7px !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1004px) {
    body.home .information .information-content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 22px !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 860px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
    }

    body.home .information .information-heading {
        grid-column: 1 / 2 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
    }

    body.home .information .information-header-button {
        grid-column: 2 / 3 !important;
        grid-row: 1 !important;
        justify-content: flex-end !important;
        margin-top: 0 !important;
    }

    body.home .information .information-title {
        font-size: 30px !important;
        line-height: 1.25 !important;
        letter-spacing: 4px !important;
        white-space: normal !important;
    }

    body.home .information .information-subtitle {
        font-size: 13px !important;
        line-height: 1.9 !important;
        letter-spacing: 1.3px !important;
    }
}

@media screen and (max-width: 768px) {
    body.home .information .information-content {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.home .information .information-title {
        font-size: 26px !important;
        line-height: 1.35 !important;
        letter-spacing: 3.2px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body.home .information .information-subtitle {
        margin-top: 16px !important;
        font-size: 12px !important;
        line-height: 1.9 !important;
        letter-spacing: 1.2px !important;
    }

    body.home .information .information-header-button {
        justify-content: flex-start !important;
        margin-top: 24px !important;
    }
}

/* Final guard: keep the top-page business video background full-bleed on PC only. */
body.home #primary.site-main {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
}

@media screen and (min-width: 1200px) {
    body.home #business-section {
        width: 134vw !important;
        margin-left: calc(50% - 67vw) !important;
        margin-right: calc(50% - 67vw) !important;
        overflow: hidden !important;
    }

    body.home #business-section .business {
        width: 100% !important;
        margin: 0 !important;
        overflow: visible !important;
        transform: none !important;
    }

    body.home #business-section .business-bg-video {
        left: 50% !important;
        width: 134vw !important;
        max-width: none !important;
        transform: translateX(-50%) !important;
    }
}

@media screen and (max-width: 1199px) {
    body.home #business-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
    }

    body.home #business-section .business,
    body.home #business-section .business-bg-video {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        transform: none !important;
    }

    body.home #business-section .business-bg-video {
        left: 0 !important;
    }
}
