@charset "UTF-8";

/* ============================================
   共通セクション・見出し (Titles)
   ============================================ */

.field section {
    padding: 40px 0 40px;
}

.field section#section8 {
    margin-bottom: 50px;
}

/* ボックス型見出し */
.box-block-ttl {
    position: relative;
    margin-bottom: 50px;
}

.box-block-ttl::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #0062B1;
    z-index: -1;
}

.box-block-ttl span {
    display: inline-block;
    padding: 5px 30px;
    border-radius: 8px;
    background: linear-gradient(90deg, #3eae75 0%, #0062b1 100%);
    z-index: 2;
    color: #FFF;
    font-weight: 500;
    font-size: 22px;
}

/* セクション見出し（Q&A風） */
.section-ttl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.ttl-theme {
    width: 25%;
    border-radius: 20px;
    background: linear-gradient(90deg, #f5bb60 0%, #e58552 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    position: relative;
}

.ttl-theme:after {
    content: "";
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 100px;
    background-image: url(../img/start_img/question-mark.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.ttl-theme h2 {
    color: #FFF;
    text-align: center;
    font-weight: 500;
    font-size: min(2.4vw, 1.1rem);
    z-index: 2;
}

/* 吹き出しの三角部分 */
.ttl-theme:before {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    right: -41px;
    top: calc(50% - 15px);
    border-style: solid;
    border-width: 15px 0 15px 40px;
    border-color: transparent transparent transparent #E88F55;
    transform: rotate(0deg);
    z-index: 2;
}

.section-ttl .sub-ttl {
    width: 75%;
    position: relative;
    padding: 30px 30px 30px 60px;
    display: flex;
    align-items: center;
}

.section-ttl .sub-ttl p {
    font-size: min(2.4vw, 1.5rem);
    line-height: 1.6em;
}

/* ============================================
   データリスト・共通ボックス (Data Lists)
   ============================================ */

/* Data List 01 */
.data-list01 {
    margin: 40px 0;
}

.data-list01 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 3%;
}

.data-list01 li {
    width: 48%;
}

/* Data Style 02 (薄いベージュ背景) */
.data-style02 {
    background: #F4F3E8;
    padding: 10px 30px;
    border-radius: 20px;
}

.data-style02>p {
    font-size: min(2.2vw, 1.1rem);
    text-align: center;
    color: var(--main-color);
    line-height: 1.5em;
    padding: 10px 0;
}

/* Data Style 03 (グレー背景) */
.data-style03 {
    background: #F4F4F4;
    padding: 10px 30px;
    border-radius: 20px;
}

.data-style03>p {
    font-size: min(2.2vw, 1.1rem);
    text-align: center;
    color: #7B8288;
    line-height: 1.5em;
    padding: 10px 0;
}

/* Data Style 04 (カード型) */
.data-style04 {
    margin-bottom: 3%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.data-style04 .data-box {
    padding: 20px;
    flex: 0 0 auto;
}

.data-style04 .txt {
    flex: 1;
    padding: 15px 15px;
    background: #F4F3E8;
    min-height: 140px;
}

.data-style04 .txt p {
    font-size: 0.9rem;
    line-height: 1.8em;
}

/* Data List 02 */
.data-list02 {
    margin: 30px auto;
}

.data-list02>p {
    text-align: center;
    color: var(--main-color);
    font-size: 20px;
    padding: 20px 0;
}

.data-list02 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.data-list02 li {
    width: 31.33%;
    border-radius: 20px;
    overflow: hidden;
}

/* Field Layouts */
.field03 .flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 70px;
}

.field03 .flexbox .txt {
    width: 48%;
}

.field03 .flexbox .data {
    width: 48%;
}

.field04 .data-style02 p:nth-of-type(2) {
    color: #231815;
    font-size: 1rem;
}

/* ============================================
   カウント表示 (Count List)
   ============================================ */

.count-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0 3%;
}

.count-list li {
    box-sizing: border-box;
    width: 31.33%;
    margin-bottom: 3%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.count-list li .main-txt {
    padding: 20px 0 0;
    flex: 0 0 auto;
}

.count-list li .main-txt .ttl {
    text-align: center;
    font-size: 22px;
    padding-top: 40px;
    position: relative;
}

.count-list li .main-txt .ttl::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/research_img/data-check.svg');
    width: 30px;
    height: 30px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.count-list .detail-txt {
    padding: 15px 15px;
    background: #F4F3E8;
    min-height: 150px;
    flex: 1;
}

.count-list .detail-txt p {
    font-size: 0.9rem;
    line-height: 1.8em;
}

/* Background Images for Count List */
.count-list li:nth-child(1) .detail-txt {
    background: #F4F3E8 url(../../assets/img/research_img/research-section03-bg02.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.count-list li:nth-child(2) .detail-txt {
    background: #F4F3E8 url(../../assets/img/research_img/research-section03-bg03.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.count-list li:nth-child(3) .detail-txt {
    background: #F4F3E8 url(../../assets/img/research_img/research-section03-bg01.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.count-list li:nth-child(4) .detail-txt {
    background: #F4F3E8 url(../../assets/img/research_img/research-section03-bg04.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.count-list li:nth-child(5) .detail-txt {
    background: #F4F3E8 url(../../assets/img/research_img/research-section03-bg05.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.count-list li:nth-child(6) .detail-txt {
    background: #F4F3E8 url(../../assets/img/research_img/research-section03-bg06.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
}

/* Count Text Styles */
.count-section {
    padding: 5px 20px;
    text-align: center;
    background-color: #fff;
}

.count-text {
    line-height: 100%;
    font-size: min(5vw, 3rem);
    font-weight: bold;
    display: inline-block;
    background-image: linear-gradient(to right, #3EAE75 0%, #0062B1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.unit {
    font-size: min(2vw, 1.4rem);
    font-weight: bold;
    margin: 0;
    color: inherit;
}

/* ============================================
   仕事の流れ・導入 (Job Flow)
   ============================================ */

.job-flow-introduction .introduction-txt {
    text-align: center;
    font-size: min(2vw, 1.3rem);
}

.job-flow-introduction .start {
    text-align: center;
    font-family: var(--en-font);
    color: var(--main-color);
    font-size: 32px;
    padding: 50px 0 0;
}

.job section {
    padding: 0;
}

.job-block-detail {
    padding: 50px 0;
    position: relative;
}

.job-block-detail::after {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background: linear-gradient(90deg, rgba(244, 243, 232, 1) 0%, rgba(244, 243, 232, 1) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.job-block01 .job-block-detail::after {
    top: 100px;
}

.job-block-detail .content-wrap>div {
    padding-top: 120px;
    position: relative;
}

.job-block-detail .content-wrap>div::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/research_img/dot-arrow.svg');
    width: 80px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.job-block-detail .content-wrap {
    width: 80%;
    max-width: 770px;
    margin: 0 auto;
}

.job-block-detail .ttl-icon {
    width: 160px;
    margin: 0 auto;
    position: relative;
}

.job-block-detail h2 {
    position: relative;
    margin-bottom: 30px;
}

.job-block-detail h2 span {
    position: absolute;
    display: inline-block;
    color: #FFF;
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
    background: #4BA9C6;
    border-radius: 10px;
    font-weight: 500;
    font-size: 18px;
    padding: 5px 15px;
}

.job-main-image {
    margin: 15px auto 40px;
}

/* ============================================
   職種一覧 (Job List)
   ============================================ */

.job-block-list {
    background: #CDECF2;
    padding: 80px 0;
}

.job-block-list .job-list-wrap {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

/* 左側：職種リスト */
.job-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-card {
    display: flex;
    height: 120px;
    z-index: 1;
}

.job-modal-btn {
    width: 50%;
    display: flex;
    border-radius: 20px;
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    z-index: 2;
}

.job-img {
    border-radius: 20px 0 0 20px;
    width: 120px;
    background-color: #ccc;
    flex-shrink: 0;
}

.job-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.job-title-area {
    background-color: #FFF;
    width: calc(100% - 120px);
    padding: 15px;
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 0 20px 20px 0;
}

.job-title {
    font-size: min(1.6vw, 1.4rem);
    font-weight: 500;
    color: var(--main-color);
    margin: 0;
}

.job-title::before {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    background-image: url(../img/start_img/zoom-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    right: 8px;
    bottom: 10px;
}

.search-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.job-desc-area {
    width: 50%;
    padding: 30px;
    display: flex;
    align-items: center;
    line-height: 1.6;
    color: var(--main-color);
    font-weight: 500;
    background: #F4F3E8;
    position: relative;
    border-radius: 0 20px 20px 0;
}

.job-desc-area:before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #F4F3E8;
    width: 30px;
    height: 100%;
    left: -30px;
    top: 0;
    z-index: -1;
}

/* ============================================
   相関図 (Right Sidebar)
   ============================================ */

.right-sidebar {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.diagram-box {
    background-color: #FFF;
    width: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #4BA9C6;
    box-sizing: border-box;
}

.box-manufacturer {
    height: calc(120px * 3 + 20px * 2);
}

.box-manufacturer.with-arrow {
    margin-bottom: 20px;
    position: relative;
}

.box-manufacturer.with-arrow::after {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/research_img/figure-arrow.svg');
    width: 30px;
    height: 50px;
    z-index: 2;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
}

.box-product {
    height: calc(120px * 2 + 20px * 1);
}

.box-client {
    height: calc(120px * 5 + 20px * 4);
}

.box-all {
    height: calc(120px * 3 + 20px * 2);
}

.diagram-icon {
    width: 70%;
}

/* ============================================
   Job Case (Modal Content)
   ============================================ */

.job-case-content {
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.job-case-image {
    width: 35%;
}

.job-case-image img {
    border-radius: 20px;
    object-fit: cover;
}

.job-case-txt {
    width: 60%;
}

.job-case-txt .ttl {
    color: var(--main-color);
    font-size: 20px;
    padding-bottom: 15px;
}

.job-case-txt .ttl span {
    font-size: 32px;
}

.job-detail-list {
    margin: 20px 0 0;
}

.job-detail-list>p {
    color: var(--main-color);
    padding-bottom: 10px;
}

.job-detail-list ul {
    margin-left: 10px;
}

.job-detail-list ul li {
    position: relative;
    padding-left: 18px;
}

.job-detail-list ul li::before {
    content: '';
    position: absolute;
    top: 0.8em;
    left: 0;
    width: 7px;
    height: 7px;
    background-color: #4DB588;
    border-radius: 1px;
}

/* ============================================
   SP (max-width: 834px)
   ============================================ */

@media screen and (max-width: 834px) {

    /* --- Common & Layout --- */
    .field section {
        padding: 30px 0 30px;
    }

    .field section#section8 {
        margin-bottom: 50px;
    }

    /* --- Titles --- */
    .box-block-ttl {
        margin-bottom: 30px;
    }

    .box-block-ttl span {
        padding: 2px 15px;
        font-size: 14px;
    }

    .section-ttl {
        margin-bottom: 20px;
    }

    .ttl-theme {
        width: 100%;
        padding: 20px 0;
    }

    .ttl-theme:after {
        left: 10%;
    }

    .ttl-theme h2 {
        font-size: min(5vw, 1.1rem);
    }

    .ttl-theme:before {
        right: auto;
        top: auto;
        bottom: -28px;
        left: calc(50% - 10px);
        border-width: 15px 0 15px 25px;
        transform: rotate(90deg);
    }

    .section-ttl .sub-ttl {
        width: 100%;
        padding: 40px 0 0 0;
    }

    .section-ttl .sub-ttl p {
        font-size: min(4.2vw, 1.5rem);
    }

    /* --- Data Lists --- */
    .data-list01 {
        margin: 20px 0 0;
    }

    .data-list01 ul {
        max-width: 400px;
        margin: 0 auto;
    }

    .data-list01 li {
        width: 100%;
        margin-bottom: 20px;
    }

    .data-style02>p {
        font-size: min(4vw, 1.1rem);
    }

    .data-style03>p {
        font-size: min(4vw, 1.1rem);
    }

    .field03 .flexbox {
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .field03 .flexbox .txt {
        width: 100%;
        margin-bottom: 20px;
    }

    .field03 .flexbox .data {
        width: 100%;
    }

    .field04 .data-style02 p:nth-of-type(2) {
        font-size: min(3vw, 0.9rem);
    }

    .data-list02 {
        margin: 30px auto;
    }

    .data-list02>p {
        font-size: 16px;
    }

    .data-list02 ul {
        max-width: 300px;
        margin: 0 auto;
    }

    .data-list02 li {
        width: 100%;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    /* --- Count List --- */
    .count-list {
        max-width: 400px;
        margin: 0 auto;
    }

    .count-list li {
        width: 100%;
    }

    .count-list li .main-txt .ttl {
        font-size: 20px;
        padding-top: 30px;
    }

    .count-list li .main-txt .ttl::before {
        width: 20px;
        height: 20px;
    }

    .count-list .detail-txt {
        min-height: 80px;
    }

    /* Adjust background sizes for mobile */
    .count-list li:nth-child(1) .detail-txt,
    .count-list li:nth-child(2) .detail-txt,
    .count-list li:nth-child(3) .detail-txt,
    .count-list li:nth-child(4) .detail-txt,
    .count-list li:nth-child(5) .detail-txt,
    .count-list li:nth-child(6) .detail-txt {
        background-size: 200px auto;
    }

    .count-text {
        font-size: min(10vw, 3rem);
    }

    .unit {
        font-size: min(5vw, 1.4rem);
    }

    /* --- Job Flow & Intro --- */
    .job-flow-introduction .introduction-txt {
        font-size: min(3.8vw, 1rem);
    }

    .job-flow-introduction .start {
        font-size: 24px;
        padding: 30px 0 0;
    }

    .job-block-detail {
        padding: 30px 0;
    }

    .job-block-detail::after {
        background: #FFF;
    }

    .job-block01 .job-block-detail::after {
        top: 50px;
    }

    .job-block-detail .content-wrap>div {
        padding-top: 70px;
    }

    .job-block-detail .content-wrap>div::before {
        width: 50px;
        height: 60px;
    }

    .job-block-detail .ttl-icon {
        width: 150px;
    }

    /* --- Job List & Cards (Mobile) --- */
    .job-main-image {
        margin: 15px auto 30px;
    }

    .job-block-list {
        padding: 50px 0;
    }

    .job-list {
        gap: 0;
    }

    .job-card {
        flex-wrap: wrap;
        height: auto;
    }

    .job-modal-btn {
        width: 100%;
        order: 2;
    }

    .job-img {
        width: 80px;
    }

    .job-title-area {
        width: calc(100% - 80px);
    }

    .job-title {
        font-size: min(4.6vw, 1.1rem);
    }

    .job-title::before {
        width: 24px;
        height: 24px;
    }

    .job-desc-area {
        order: 1;
        width: 100%;
        padding: 10px 20px 30px;
        justify-content: center;
        border-radius: 20px 20px 0 0;
        top: 20px;
    }

    .job-desc-area p {
        text-align: center;
    }

    .job-desc-area:before {
        display: none;
    }

    /* Sidebar Hidden on Mobile */
    .right-sidebar {
        display: none;
    }

    /* --- Job Case Content (Mobile) --- */
    .job-case-content {
        padding: 20px;
    }

    .job-case-image {
        width: 100%;
        margin: 0 auto 20px;
    }

    .job-case-image img {
        max-height: 220px;
        object-fit: cover;
        object-position: 50% 40%;
    }

    #modal-01 .job-case-image img {
        object-position: 50% 90%;
    }

    .job-case-txt {
        width: 100%;
    }

    .job-case-txt .ttl {
        font-size: 16px;
    }

    .job-case-txt .ttl span {
        font-size: 24px;
    }
}