/* 事業紹介ページ専用スタイル */

/* ページヒーロー */
.page-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center center/cover no-repeat;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--ocean-blue) 100%);
    opacity: 0.8;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    font-family: var(--headline-font);
    color: #000;
}

.page-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

/* 事業概要 */
.business-overview {
    padding: 4rem 0 8rem;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

/* 事業紹介ページ：見出し直下の余白（事業概要/私たちの強みのみ） */
.page-business #business-overview .section-header,
.page-business #products .section-header {
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .page-business #business-overview .section-header,
    .page-business #products .section-header {
        margin-bottom: 16px;
    }
}

/* 事業紹介ページ：カード/要素のアニメーションを無効化（ボタン等の明示的なインタラクティブ要素は除く） */
.page-business .highlight-item,
.page-business .product-card,
.page-business .strength-card,
.page-business .client-category,
.page-business .visual-card img,
.page-business .strength-icon,
.page-business .product-card .product-image img,
.page-business .clients-content .category-icon,
.page-business .product-features li::before {
    transition: none !important;
    animation: none !important;
}

/* =============================
   事業紹介ページ専用 シェイプディバイダー（波形）
   ============================= */
/* このページでは既存のセクション末尾装飾を無効化 */
.page-business .business-overview::after,
.page-business .products::after,
.page-business .strengths::after,
.page-business .clients::after,
.page-business .business-flow::after { display: none !important; }

.page-business .shape-divider { position: relative; overflow: hidden; }
/* overview/products はカスタム::beforeを使うため、汎用::afterを無効化 */
.page-business .business-overview.shape-bottom::after,
.page-business .products.shape-bottom::after { display: none !important; }

/* セクション内コンテナの下余白（ディバイダーと重ならないためのスペース） */
.page-business .business-overview > .container,
.page-business .products > .container { margin-bottom: 80px; }

/* セクション背景は単色で統一（セクション途中で色が変わらない） */
/* セクションごとに 淡い青(#eaf7fb) と 白(#ffffff) を交互適用（タイトルから次のタイトル手前まで1セクション） */
.page-business .business-overview { background: linear-gradient(to bottom, #ffffff calc(100% - 8rem), #eaf7fb calc(100% - 8rem), #eaf7fb 100%) !important; padding: 6rem 0 8rem !important; }
.page-business .business-flow {
    /* 上部は水色、下側padding相当の下端は白にフェード */
    background: linear-gradient(to bottom, #eaf7fb calc(100% - 8rem), #ffffff calc(100% - 8rem), #ffffff 100%) !important;
    padding: 2rem 0 8rem !important;
}
.page-business .products { background: linear-gradient(to bottom, #ffffff calc(100% - 8rem), #eaf7fb calc(100% - 8rem), #eaf7fb 100%) !important; padding: 2rem 0 8rem !important; }
.page-business .strengths {
    /* 本体は水色、padding-bottom領域は白に見せる */
    background: linear-gradient(to bottom, #eaf7fb calc(100% - 8rem), #ffffff calc(100% - 8rem), #ffffff 100%) !important;
    padding: 4rem 0 8rem !important;
}
.page-business .clients { background: #eaf7fb !important; padding: 2rem 0 8rem !important; }
/* CTAセクションは既存のグラデーション背景を維持 */
.page-business .business-cta { background: linear-gradient(135deg, var(--primary-blue, #0066cc) 0%, var(--ocean-blue, #004d99) 100%) !important; padding: 80px 0 !important; }

/* ディバイダー高さのベース変数と、重なり回避のための余白確保 */
.page-business .shape-divider { --divider-h: 60px; }
@media (min-width: 768px) { .page-business .shape-divider { --divider-h: 85px; } }
@media (min-width: 2100px) { .page-business .shape-divider { --divider-h: calc(2vw + 85px); } }
.page-business .shape-top { padding-top: var(--divider-h); }
.page-business .shape-bottom { padding-bottom: var(--divider-h); }

/* セクション背景をディバイダー色 #eaf7fb と馴染ませる（上側を#eaf7fbに） */
.page-business .business-overview.shape-bottom {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 70%, #eaf7fb 70%, #eaf7fb 100%);
}
.page-business .business-flow.shape-bottom {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 70%, #eaf7fb 70%, #eaf7fb 100%);
}
.page-business .strengths.shape-bottom {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 70%, #eaf7fb 70%, #eaf7fb 100%);
}

/* shape-top はセクション上端を #eaf7fb にして波と一体化 */
.page-business .products.shape-top {
    background: linear-gradient(to bottom, #eaf7fb 0, #eaf7fb 60px, #f8fafc 60px, #f8fafc 100%);
}
.page-business .clients.shape-top {
    background: linear-gradient(to bottom, #eaf7fb 0, #eaf7fb 60px, #f8fafc 60px, #f8fafc 100%);
}

/* 上部の波形 */
.page-business .shape-divider.shape-top::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: var(--divider-h); z-index: 2; pointer-events: none; background-repeat: no-repeat; background-size: 102% var(--divider-h); background-position: 50% 0%; background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23eaf7fb"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23eaf7fb"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23eaf7fb"/></svg>'); }

/* 下部の波形 */
.page-business .shape-divider.shape-bottom::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: var(--divider-h); z-index: 2; pointer-events: none; background-repeat: no-repeat; background-size: 102% var(--divider-h); background-position: 50% 100%; background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23eaf7fb"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23eaf7fb"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23eaf7fb"/></svg>'); }

@media (min-width: 768px) {
    .page-business .shape-divider.shape-top::before,
    .page-business .shape-divider.shape-bottom::after { background-size: 102% var(--divider-h); }
}

.page-business .highlight-item:hover,
.page-business .product-card:hover,
.page-business .strength-card:hover,
.page-business .client-category:hover,
.page-business .visual-card:hover img,
.page-business .strength-card:hover .strength-icon {
    transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* 業務の流れ: このページではアニメーション/ホバー効果を無効化 */
.page-business .flow-item,
.page-business .flow-content,
.page-business .flow-image img {
    transition: none !important;
    animation: none !important;
}

.page-business .flow-content:hover {
    transform: none !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important; /* 通常状態の影に固定 */
}

.page-business .flow-content:hover .flow-image img {
    transform: none !important; /* カードホバー時の画像拡大を無効化 */
}

.page-business .flow-image img:hover {
    transform: none !important;
}

/* AOS系のフェードイン/移動も無効化 */
.page-business [data-aos],
.page-business [data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
/* =============
   flow: padding-bottom上の波形ディバイダー（白背景上）
   ============= */
.page-business .shapedividers_com-7376{ overflow:hidden; position:relative; }
/* =============
   overview/products: padding-bottom上に上揃え配置のディバイダー
   ============= */
.page-business .shapedividers_com-3442{ overflow:hidden; position:relative; }
.page-business .shapedividers_com-3442::before{
    content:''; font-family:'shape divider from ShapeDividers.com'; position: absolute;
    left: 0; right: 0; bottom: 0; height: 8rem; z-index: 3; pointer-events: none;
    background-repeat: no-repeat; background-size: 100% 70px; background-position: 50% 0%;
    background-image: url('data:image/svg+xml;charset=utf8, <svg preserveAspectRatio="xMidYMax slice" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2000.4 84"><g fill="%23ffffff"><path d="M1937 49V11l1-1 18-10h29l15 9v41l-30 18-33-19z" opacity=".5"/><path d="M1867 30V0h59v30l-29 17-30-17z"/><path d="M1716 60V11l2-1 9-5 9-5h44l16 9 2 1 2 1v49l-42 24-42-24zM1844 44v20l17 10 17-10V44l-17-10-17 10z" opacity=".75"/><path d="M1811 59v13l11 6 10-6V59l-10-6-11 6z"/><path d="M1796 32V0h59v32l-30 17-25-15-4-2z" opacity=".5"/><path d="M1814 9V0h59v9l-3 1-3 2-12 7-11 6-27-15-3-1zM1902 50v19l16 9 16-9V50l-16-10-16 10zM1661 43V5l8-5h50l8 5v38l-11 6-22 13-33-19z"/><path d="M1591 24V0h58v24l-29 17-29-17z" opacity=".5"/><path d="M1431 54V5l6-3 3-2h66l5 3 4 2v49l-42 24-36-21-6-3zM1567 38v20l17 10 18-10V38l-18-10-17 10zM1535 53v13l10 6 11-6V53l-11-6-10 6z"/><path d="M1504 28V0h64v28l-32 18-27-16-5-2z"/><path d="M1538 3V0h58v3l-5 3-8 4-5 3-11 6-16-9-13-7z"/><path d="M1625 44v19l17 9 16-9V44l-16-10-17 10z" opacity=".5"/><path d="M1163 43V5l8-5h50l8 5v38l-33 19-33-19zM1323 38v20l-17 10-17-10V38l17-10 17 10z"/><path d="M1356 53v13l-11 6-11-6V53l11-6 11 6z" opacity=".5"/><path d="M1455 67v11l-10 6-9-6V67l9-5 10 5z" opacity=".75"/><path d="M1312 26V0h59v26l-4 2-26 15-29-17z"/><path d="M1294 3V0h58v3l-13 7-16 9-11-6-5-3-8-4-5-3z"/><path d="M1209 3V0h59v3l-13 7-16 9-11-6-6-3-7-4-6-3z" opacity=".5"/><path d="M1265 44v19l-16 9-17-9V44l17-10 16 10z"/><path d="M1083 47V9l16-9h34l16 9v38l-33 19-33-19z" opacity=".75"/><path d="M1013 29V0h58v29l-29 17-29-17z"/><path d="M862 58V10l10-6 7-4h49l13 7 4 3v48l-41 24-42-24z" opacity=".5"/><path d="M989 42v20l17 10 18-10V42l-18-10-17 10zM1143 60v15l13 8 13-8V60l-13-8-13 8z" opacity=".75"/><path d="M1133 0h38l-17 10-2 1-2-1-17-10zM1708 8V0h38v8l-3 2-16 9-16-9-3-2zM1642 8V0h38v8l-3 2-16 9-16-9-3-2zM1774 0h39l-17 10-3 1-2-1-17-10zM1919 0h39l-17 10-3 1-2-1-17-10zM1061 0h38l-17 10-2 1-2-1-17-10zM920 9V0h38v9l-2 1-17 10-17-10-2-1zM853 0h39l-17 10-3 1-2-1-17-10zM359 0h38l-17 10-2 1-2-1-17-10zM278 17V0h39v17l-20 11-19-11zM206 7V0h39v7l-6 3-14 8-8-5-5-3-6-3zM956 58v12l11 7 11-7V58l-11-6-11 6z"/><path d="M941 30V0h59v30l-29 17-26-14-4-3z"/><path d="M960 7V0h58v7l-5 3-13 8-11 6-24-14-5-3z"/><path d="M1047 48v19l17 10 16-10V48l-16-9-17 9z" opacity=".5"/><path d="M806 41V3l6-3h55l5 3v38l-10 6-23 13-33-19z"/><path d="M736 23V0h59v23l-29 17-30-17zM585 52V4l6-3 1-1h71l2 1 4 3v48l-42 24-36-21-6-3zM713 36v20l17 10 17-10V36l-17-10-17 10z" opacity=".5"/><path d="M680 52v12l11 7 11-7V52l-11-6-11 6zM665 24V0h59v24l-30 17-25-15-4-2z"/><path d="M683 1V0h59v1l-6 3-10 6-2 2-11 6-14-8-16-9zM778 1V0h59v1l-6 3-10 6-2 2-11 6-14-8-16-9z"/><path d="M771 42v19l16 10 16-10V42l-16-9-16 9z" opacity=".75"/><path d="M309 41V3l5-3h55l6 3v38l-33 19-33-19z" opacity=".5"/><path d="M386 23V0h59v23l-29 17-30-17zM512 52V4l4-3 3-1h71l1 1 5 3v48l-5 3-37 21-42-24z"/><path d="M469 36v20l-18 10-17-10V36l17-10 18 10z" opacity=".75"/><path d="M501 52v12l-11 7-10-7V52l10-6 11 6z" opacity=".5"/><path d="M600 66v11l-9 5-10-5V66l10-6 9 6z"/><path d="M458 24V0h58v24l-4 2-25 15-29-17z" opacity=".75"/><path d="M439 1V0h59v1l-16 9-13 8-11-6-3-2-10-6-6-3z" opacity=".75"/><path d="M410 42v19l-16 10-16-10V42l16-9 16 9z" opacity=".5"/><path d="M228 43V5l9-5h49l8 5v38l-33 19-33-19z"/><path d="M158 24V0h59v24l-29 17-30-17z" opacity=".5"/><path d="M13 54V5l9-5h65l5 3 4 2v49L55 78 13 54zM135 38v20l17 10 17-10V38l-17-10-17 10z"/><path d="M102 54v12l11 6 11-6V54l-11-7-11 7zM3 68v11l10 5 9-5V68l-9-6-10 6z" opacity=".5"/><path d="M87 26V0h59v26l-30 17-25-15-4-2z" opacity=".75"/><path d="M105 3V0h59v3l-6 3-7 4-5 3-11 7-17-10-13-7zM0 9V0h42l-4 5-4 5-9 11-12-6-7-3-3-2-3-1z"/><path d="M193 44v19l16 9 16-9V44l-16-9-16 9z" opacity=".75"/><path d="M292 55v15l12 7 13-7V55l-13-7-12 7z"/><path d="M1367 54V5l4-2 5-3h65l4 2 6 3v49l-6 3-36 21-42-24z" opacity=".75"/><path d="M1998 10l2 1V0h-20l18 10z"/><path d="M1241 24V0h58v24l-29 17-29-17z" opacity=".5"/></g></svg>');
}
@media (min-width:768px){ .page-business .shapedividers_com-3442::before{ height: 8rem; background-size: 100% 90px; background-position: 50% 0%; } }
@media (min-width:1025px){ .page-business .shapedividers_com-3442::before{ height: 8rem; background-size: 105% 95px; background-position: 50% 0%; } }
@media (min-width:2100px){ .page-business .shapedividers_com-3442::before{ height: 8rem; background-size: 105% calc(2vw + 95px); } }
.page-business .shapedividers_com-7376::before{
    content:''; font-family:'shape divider from ShapeDividers.com'; position: absolute;
    left: 0; right: 0; bottom: 0; height: 8rem; z-index: 3; pointer-events: none;
    background-repeat: no-repeat; background-size: 100% 90px; background-position: 50% 0%;
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23eaf7fb"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23eaf7fb"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23eaf7fb"/></svg>');
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23eaf7fb"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23eaf7fb"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23eaf7fb"/></svg>');
}
@media (min-width:768px){
    .page-business .shapedividers_com-7376::before{ height: 8rem; background-size: 100% 90px; background-position: 50% 0%; }
}
@media (min-width:1025px){
    .page-business .shapedividers_com-7376::before{ left: 0; right: 0; bottom: 0; height: 8rem; background-size: 100% 122px; background-position: 50% 0%;
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23eaf7fb"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23eaf7fb"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23eaf7fb"/></svg>'); }
}
@media (min-width:2100px){
    .page-business .shapedividers_com-7376::before{ background-size: 100% calc(2vw + 122px); }
}

/* 事業概要の見出し行は本文・画像とは別行に固定 */
.business-overview > .container > .section-header {
    margin-bottom: 32px;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    height: 320px;
}

/* 削除：独自の.section-titleスタイルを削除し、統一スタイルを使用 */

.lead-text {
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 500;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* 事業紹介ページ：事業概要のリード文に上の余白を追加 */
.page-business #business-overview .lead-text {
    margin-top: 30px;
}

.overview-description p {
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.8;
    color: #000; /* 事業概要の本文は黒に統一 */
    margin-bottom: 1.5rem;
}

.overview-highlights {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--ocean-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.highlight-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.overview-visual {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
}

.visual-card {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    height: 280px;
    width: 100%;
}

.visual-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.visual-overlay {
    display: none;
}

.visual-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* 業務の流れ */
.business-flow {
    padding: 2rem 0 8rem;
    background: white;
}
.business-flow.is-collapsed {
    /* 交互背景と下端のディバイダーを維持しつつ、余白を詰める */
    padding-top: 0 !important;
    padding-bottom: 8rem !important; /* shapedividers_com-7376 の下端波形高さに合わせる */
    min-height: 0 !important;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* 各セクションで .container 内の .section-header 下余白を小さくする */
.page-business .container > .section-header {
    margin-bottom: 0.1rem !important;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 300;
    margin-top: 1rem;
}

.flow-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--ocean-blue));
    transform: translateX(-50%);
    border-radius: 2px;
}

.flow-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.flow-item:nth-child(odd) {
    flex-direction: row;
}

.flow-item:nth-child(even) {
    flex-direction: row-reverse;
}

.flow-time {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    white-space: nowrap;
}

.flow-content {
    flex: 1;
    max-width: 45%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.flow-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.flow-item:nth-child(odd) .flow-content {
    margin-right: auto;
    margin-left: 0;
}

.flow-item:nth-child(even) .flow-content {
    margin-left: auto;
    margin-right: 0;
}

.flow-image {
    height: 200px;
    overflow: hidden;
}

.flow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flow-content:hover .flow-image img {
    transform: scale(1.1);
}

.flow-text {
    padding: 2rem;
}

.flow-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.flow-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* 主要取扱商品 */
.products {
    padding: 2rem 0 8rem;
    background: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 80px;
    max-width: 1200px;
    margin: 80px auto 0;
}

.strengths .products-grid { padding-bottom: 60px; }

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-blue);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-business .product-card:hover .product-image img,
.product-card:hover .product-image img {
    transform: none !important;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-blue), var(--ocean-blue));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.page-business .product-card:hover .product-overlay,
.product-card:hover .product-overlay {
    opacity: 0 !important;
    display: none !important;
}

.product-overlay h3 {
    color: white;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.product-content {
    padding: 22px 20px;
}

.product-content h3 {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    color: var(--trust-navy);
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.product-content p {
    font-size: clamp(13px, 1.8vw, 16px);
    line-height: 1.75;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 400;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 6px 0 6px 26px;
    font-size: clamp(12px, 1.6vw, 15px);
    color: #000;
    position: relative;
    line-height: 1.5;
    font-weight: 400;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.3em; /* 行高(1.5em)の中央に配置 */
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: none;
    background-image: url('../images/icons/checkmark.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px 16px;
    border-radius: 0;
    display: block;
}

.product-features li:last-child {
    padding-bottom: 0;
}

/* 私たちの強み */
.strengths {
    padding: 2rem 0 8rem;
    background: white;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 30px !important;
    max-width: 1200px;
    margin: 10px auto 0;
    margin-bottom: 80px;
}

.strength-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: left;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.strength-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-blue);
}

.strength-icon {
    width: 140px;
    height: 140px;
    border-radius: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto ;
    font-size: 2.2rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

.strength-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* 共通の40x40指定を確実に上書き */
.page-business .strength-icon .np-icon {
    width: 100px !important;
    height: 100px !important;
}

.strength-card:hover .strength-icon {
    transform: scale(1.1);
    box-shadow: none;
}

.strength-card h3 {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    color: var(--trust-navy);
    margin-bottom: 10px;
    letter-spacing: -0.025em;
    text-align: left;
}

.strength-card p {
    font-size: clamp(13px, 1.8vw, 16px);
    line-height: 1.75;
    color: var(--text-gray);
    margin-bottom: 10px;
    text-align: left;
    font-weight: 400;
}

/* 取引先情報 */
.clients {
    padding: 4rem 0 8rem;
    background: #f8fafc;
}

.clients-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 1rem;
}

.clients-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.client-category {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    min-height: 120px;
}

.client-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.category-icon {
     width: 80px;
     height: 80px;
     border-radius: 0;
     background: none;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     flex-shrink: 0;
}

.category-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.category-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex: 1;
    align-items: center;
}

.category-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    text-align: left;
}

.client-category h3 {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.client-category p {
    font-size: clamp(13px, 1.7vw, 16px);
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
    text-align: center;
}

.category-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.category-stats .stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.clients-map {
    position: relative;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.map-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
}

.map-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.map-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* お問い合わせCTA */
.business-cta {
    padding: 4rem 0 8rem;
    background: var(--ocean-blue);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.business-cta::before { content: none !important; display: none !important; background: none !important; }

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* サブタイトル配置：PCのみ横配置、それ以外は下配置 */
/* 事業概要の見出し行: PCは横、その他は下 */
@media (max-width: 1023px) {
    .site-energy .business-overview > .container > .section-header { 
        display: block !important;
        text-align: left !important;
    }
    .site-energy .business-overview > .container > .section-header h2 { 
        margin-bottom: 8px !important; 
    }
}

/* デスクトップ（1024px以上）でのサブタイトル横配置を確保 */
@media (min-width: 1024px) {
    .site-energy .business-overview > .container > .section-header { 
        display: flex !important; 
        flex-direction: row !important;
        align-items: baseline !important; 
        gap: 16px !important; 
        justify-content: flex-start !important; 
        text-align: left !important; 
        flex-wrap: nowrap !important; /* 1行に収める */
    }
    .site-energy .business-overview > .container > .section-header h2 { 
        margin-bottom: 0 !important; 
        flex: 0 0 auto !important; /* タイトルは幅固定 */
    }
    .site-energy .business-overview > .container > .section-header p { 
        margin: 0 !important; 
        max-width: none !important; 
        flex: 0 0 auto !important; /* サブタイトルは折り返さず隣に */
        white-space: nowrap !important; /* 折り返し禁止 */
    }
}

/* レスポンシブ対応 */
@media (max-width: 968px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        height: auto;
    }
    
    .overview-visual {
        height: auto;
    }
    
    .visual-card {
        height: 230px;
    }
    
    .visual-card img {
        height: 230px;
    }
    
    .category-content {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .category-text {
        order: 1;
    }
    
    .category-stats {
        order: 2;
        align-self: center;
        margin-top: 0;
    }
    
    .client-category p {
        margin-bottom: 0;
    }
    
    .flow-timeline::before {
        left: 3rem; /* 左マージンを拡大して軸を少し内側へ */
    }
    
    .flow-item {
        flex-direction: row !important;
        padding-left: 8rem; /* 軸の移動に合わせて本文の左余白も拡大 */
    }
    .flow-item.aos-animate { padding-left: 6.2rem; }
    
    .flow-time {
        left: 3rem;
        transform: translateX(-50%); /* 軸位置の変更に追随 */
    }
    
    .flow-content {
        max-width: 100%;
        margin: 0 !important;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 600px;
    }
    
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        max-width: 800px;
    }
    
    .clients-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .client-category {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    /* 小画面でも本文は左揃えにする */
    .client-category .category-text,
    .client-category h3,
    .client-category p {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-background::before {
        background-attachment: scroll;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .business-overview,
    .business-flow,
    .products,
    .strengths,
    .clients,
    .business-cta {
        padding: 4rem 0;
    }
    
    /* 削除：独自の.section-titleスタイルを削除 */
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 500px;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 500px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .stat-item {
        padding: 0.8rem;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .highlight-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .highlight-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .flow-text {
        padding: 1.5rem;
    }
    
    .product-content { padding: 20px 16px; }
    
    .strength-card { padding: 28px 22px; }
    
    .strength-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 28px;
        font-size: 2rem;
    }
    
    .client-category {
        padding: 1.5rem;
    }
    
    .floating-recruit-btn {
        bottom: 1rem;
        right: 1rem;
    }
    
    .recruit-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-item,
.flow-item,
.product-card,
.strength-card,
.client-category {
    animation: fadeInUp 0.6s ease-out;
}

/* スクロールアニメーション用 */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
} 

/* market5.jpg専用 下部を切り抜いて表示 */
img[src="market5.jpg"] {
    object-fit: cover;
    object-position: center bottom;
} 