@charset "utf-8";

/* =========================================================
   メイン領域の配置（固定ヘッダーとの余白調整）
========================================================= */
#business #main {
    width: 100vw;
    position: relative;
    top: 5vw;
    box-sizing: border-box;
    padding-bottom: 8vw;
}

@media (max-width: 900px) {
    #business #main {
        top: 40px;
        padding-bottom: 60px;
    }
}

/* 見出し調整 */
#business .headline {
    color: #222;
}

#business .headline_ja {
    text-align: center;
    font-size: 1.37vw;
    letter-spacing: 0.3em;
    color: #666;
    margin-bottom: 4vw;
}

@media (max-width: 900px) {
    #business .headline_ja {
        font-size: 4vw;
        margin-bottom: 30px;
    }
}

/* =========================================================
   PC版レイアウト（.PC: 901px以上）
========================================================= */
.PC {
    display: block;
    width: 80vw;
    max-width: 1100px;
    margin: 0 auto;
}
.SP {
    display: none;
}

/* PCボタン・スマホボタンの出し分け */
.PC .pc_button {
    display: block;
    float: right;
}
.PC .sp_button {
    display: none;
}

/* 共通ボタンスタイル */
.pc_button a,
.sp_button a,
.SP .button a {
    display: inline-block;
    padding: 8px 22px;
    background: #1aa170;
    color: #fff !important;
    font-family: '游ゴシック', 'Yu Gothic', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(26, 161, 112, 0.25);
    transition: all 0.3s ease;
}

.pc_button a:hover,
.sp_button a:hover,
.SP .button a:hover {
    background: #158058;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 161, 112, 0.35);
}

/* --- 上段（BUSINESS 01: フルワイドカード） --- */
.PC .box {
    margin-bottom: 40px;
}

.PC .bus_1 {
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.PC .bus_1 .img {
    width: 50%;
    height: 320px;
    overflow: hidden;
}

.PC .bus_1 .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.PC .bus_1:hover .img img {
    transform: scale(1.03);
}

.PC .bus_1 .caption {
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- 下段（BUSINESS 02 & 03: 2カラムグリッド） --- */
.PC .box2 {
    display: flex;
    gap: 40px;
}

.PC .bus_2,
.PC .bus_3 {
    width: calc(50% - 20px);
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.PC .box2 .img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.PC .box2 .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.PC .bus_2:hover .img img,
.PC .bus_3:hover .img img {
    transform: scale(1.03);
}

.PC .box2 .caption {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* テキスト装飾（PC共通） */
.PC .caption h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.PC .caption h4 .gray {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    color: #1aa170;
    letter-spacing: 0.05em;
}

.PC .caption h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.4;
}

.PC .caption .text {
    font-size: 14px;
    line-height: 1.85;
    color: #555;
    white-space: pre-line; /* HTML内の改行・空白を反映 */
}

/* =========================================================
   スマホ版レイアウト（.SP: 900px以下）
========================================================= */
@media (max-width: 900px) {
    .PC {
        display: none;
    }
    .SP {
        display: block;
        width: 90vw;
        margin: 0 auto;
    }

    .SP .movie_wrap {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .SP .movie {
        background: #fff;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    }

    .SP .movie .img {
        width: 100%;
        height: 200px;
        overflow: hidden;
        background: #000;
    }

    .SP .movie .img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .SP .caption {
        padding: 24px 18px 20px;
    }

    .SP .caption .button {
        margin-bottom: 14px;
    }

    .SP .caption h4 {
        font-size: 12px;
        font-weight: normal;
        margin-bottom: 6px;
    }

    .SP .caption h4 .gray {
        font-family: 'Roboto Slab', serif;
        font-weight: 700;
        color: #1aa170;
    }

    .SP .caption h2 {
        font-size: 17px;
        font-weight: 700;
        color: #222;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .SP .caption .text {
        font-size: 13px;
        line-height: 1.8;
        color: #444;
        white-space: pre-line;
    }

    .SP .close {
        display: none; /* works.htmlから流用されている不要な▲印を非表示 */
    }
}