/* === works-detail.css (修正版) === */

/* --- 基本設定 --- */
:root {
    --font-en: 'League Spartan', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}
body {
    font-family: var(--font-jp);
    color: #333;
    background-color: #F2F3ED;
}

/* ▼▼▼ ヘッダーの個別設定 ▼▼▼ */
.page-header {
    background-color: transparent;
    border-bottom: none;
}
/* グローバルナビのtext-shadowはcommon.cssでmix-blend-modeを適用するため削除 */
.global-nav a {
    text-shadow: none;
}
/* ▲▲▲ 設定ここまで ▲▲▲ */

.wrapper {
    margin: 0 auto;
}

/* --- ヒーローセクション --- */
.work-hero {
    background-color: #F2F3ED;
    padding: 120px 0 0;
    text-align: center;
    margin-top: -49px; 
}
.work-hero-content {
    margin: 0 auto;
    padding: 0; 
}
.work-hero-content h1,
.work-hero-content .subtitle {
    padding: 0 20px; 
}
/* ▼▼▼ 修正箇所 ▼▼▼ */
.work-hero-content h1 {
    font-family: var(--font-jp);
    font-size: 48px;
    font-weight: 500; /* Medium */
    line-height: 1.7; /* 170% */
    margin: 0 0 10px 0;
}
.work-hero-content .subtitle {
    font-family: var(--font-jp);
    font-size: 32px;
    font-weight: 400; /* Regular */
    margin: 0 0 100px 0;
}
/* ▲▲▲ 修正ここまで ▲▲▲ */
.hero-image {
    margin: 0;
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- 概要セクション --- */
.work-overview {
    padding: 120px 20px;
    background-color: #fff;
}
.overview-container {
    max-width: 834px;
    margin: 0 auto;
}
.overview-item {
    margin-bottom: 80px;
}
.overview-item:last-child {
    margin-bottom: 0;
}
/* ▼▼▼ 修正箇所 ▼▼▼ */
.overview-title {
    font-family: var(--font-jp);
    font-size: 32px;
    font-weight: 500; /* Medium */
    line-height: 1.5;
    margin: 0 0 24px 0; /* 間隔を24pxに */
    padding-bottom: 10px;
}
.request-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.request-list li {
    font-size: 20px;
    font-weight: 400; /* Regular */
    line-height: 1.8;
    margin-bottom: 10px; /* 間隔を10pxに */
    padding-left: 27px;
    position: relative;
}
/* ▲▲▲ 修正ここまで ▲▲▲ */
.request-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9em;
    transform: translateY(-50%);
    width: 15px;
    height: 6px;
    background-color: #333;
}
.concept-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 2;
    margin: 0;
}

/* --- 全体モックアップ --- */
.work-full-mockup {
    background-color: #F2F3ED;
    padding: 100px 20px;
}
.mockup-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4%;
    max-width: 1400px;
    margin: 0 auto;
}
.mockup-pc {
    width: 68%;
    height: auto;
}
.mockup-sp-for-pc {
    width: 28%;
    height: auto;
}
.mockup-sp-for-mobile {
    display: none;
}


/* ===============================================
   スマートフォン用のスタイル (画面幅が768px以下の場合)
   =============================================== */
@media (max-width: 768px) {

    /* --- ヒーローセクション (スマホ) --- */
    .work-hero {
        padding-top: 80px;
        margin-top: -37px;
    }
    /* ▼▼▼ 修正箇所 ▼▼▼ */
    .work-hero-content h1 {
        font-size: 20px;
        font-weight: 400; /* Regular */
        line-height: 1.5; /* 行間をリセット */
    }
    .work-hero-content .subtitle {
        font-size: 12px;
        margin-bottom: 50px;
    }
    /* ▲▲▲ 修正ここまで ▲▲▲ */

    /* --- 概要セクション (スマホ) --- */
    .work-overview {
        padding: 80px 60px;
    }
    /* ▼▼▼ 修正箇所 ▼▼▼ */
    .overview-title {
        font-size: 20px;
        font-weight: 500; /* Medium */
        margin-bottom: 8px; /* 間隔を8pxに */
    }
    .request-list li {
        font-size: 16px;
        font-weight: 400; /* Regular */
        margin-bottom: 10px; /* 間隔を10pxに */
    }
    .concept-text {
        font-size: 16px;
    }
    /* ▲▲▲ 修正ここまで ▲▲▲ */

    /* --- 全体モックアップ (スマホ) --- */
    .work-full-mockup {
        padding: 60px 20px;
    }
    .mockup-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .mockup-pc {
        width: 100%;
    }
    .mockup-sp-for-pc {
        display: none;
    }
    .mockup-sp-for-mobile {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        width: 100%;
        align-items: flex-start; 
    }
    .mockup-sp-for-mobile img {
        width: calc(50% - 7.5px);
        height: auto;
    }
}