/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 29 2025 | 00:55:20 */
/* ここにCSSコードを追加

例:
.example {
    color: red;
}

CSS の知識に磨きをかけるためにご覧ください。
http://www.w3schools.com/css/css_syntax.asp

コメント終わり */ 

/* ===== -----INDEX ----- =====*/
/*  - 汎用 */
/*  - 会社情報ページ */
/*  - CSR経営 */
/*  - 採用情報 --- 職場紹介 */
/* ===== ------------------------ =====*/

/* ===== -----ブレイクポイント ----- =====*/
/*  タブレット1  @media screen and (max-width: 1200px) */
/*  タブレット2  @media screen and (max-width: 960px) */
/*  スマホ1     @media screen and (max-width: 780px) */
/*  スマホ2     @media screen and (max-width: 480px) */
/* ===== ------------------------ =====*/

/* ------------------------- */
/* 汎用                       */
/* ------------------------- */

.pageTtlArea {
    padding: 0 40px;

    @media screen and (max-width: 1200px) {
        padding: 0 40px;
    }

    @media screen and (max-width: 780px) {
        padding: 0 20px;
    }
}

@media screen and (max-width: 780px) {
    .pageTtlBg {
        background-color: #1B4094;
        padding: 10px 0;
    }

    .pageTtlArea h1 {
        font-size: 140%;
        padding: 10px 0;
    }

    .mainContRt {
        padding-top: 40px;
    }
}

.mainContLt {
    p {
        margin: 0;
        font-size: 15px;
        line-height: 1.61;

        +p {
            margin-block-start: 1.61em;

            @media screen and (max-width: 780px) {
                margin-block-start: 20px;
            }
        }

        b {
            font-weight: bold;
        }
    }


    img {
        max-width: 100%;
    }

    .ib {
        display: inline-block;
    }
}


/* ------------------------- */
/* 会社情報                    */
/* ------------------------- */

.abt-text {

    &:first-of-type {
        margin-top: 0;
    }

    .abt-textLink {
        color: #1B4094;
        text-decoration: underline;
    }
}

.abt-section {
    margin: 0 0 100px;

    @media screen and (max-width: 780px) {
        margin: 0 0 60px;
    }
}

.abt-sectionItem {
    margin: 40px 0 0;
    container-type: inline-size;
    container-name: abt-sectionItem;

    @media screen and (max-width: 780px) {
        margin: 20px 0 0;
    }
}

.abt-sectionItem-title {
    font-size: 22px;
    line-height: 2;

    @media screen and (max-width: 780px) {
        font-size: 18px;
    }
}


/* ------------------------- */
/* 会社情報 トップページ          */
/* ------------------------- */

.abt-imageCont {
    height: auto;
    margin: 50px auto 110px;

    img {
        width: 100%;
        height: auto;
        display: block;

        &.abt-ceoImage {
            max-width: 500px;
            height: auto;
            margin: 0 auto 40px;
        }

        &.abt-sekisuiImage {
            width: 240px;
            margin: 0 auto 20px;
        }

        &.abt-hbfullerImage {
            width: 140px;
            margin: 0 auto;
        }
    }

    @media screen and (max-width: 780px) {
        margin: 30px auto 50px;

        img {
            &.abt-ceoImage {
                margin: 0 auto 24px;
            }

            &.abt-sekisuiImage {
                width: 160px;
                margin: 0 auto 14px;
            }

            &.abt-hbfullerImage {
                width: 94px;
            }
        }
    }
}

/* 会社情報トップ ------ メッセージ -------- */

.abt-message {
    container-type: inline-size;

    @container (max-width: 520px) {
        .abt-messageItem {
            flex-direction: column;
        }

        .abt-messageImg {
            width: 100%;
            height: auto;
        }
    }
}

.abt-messageTitle {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #D2D2D2;
}

.abt-messageItem {
    display: flex;
    gap: 20px;
    flex-direction: row;
}

.abt-messageImg {
    width: 300px;
    height: auto;
    flex-shrink: 0;

    img {
        width: 100%;
        height: auto;
        display: block;
    }
}

a.abt-messageLink {
    color: #1B4094;
    border-bottom: 1px solid #1B4094;
    font-size: 15px;
}

.abt-title {
    margin: 0 0 30px;
    padding: 0 0 0 40px;
    font-size: 26px;
    font-weight: 600;
    background-image: url("/wp/images/about-us/icon-bl_title.svg");
    background-repeat: no-repeat;
    background-position: 0 50%;

    @media screen and (max-width: 780px) {
        margin: 0 0 20px;
        padding: 0 0 0 32px;
        font-size: 20px;
        background-image: url("/wp/images/about-us/icon-bl_title.svg");
        background-size: 22px 22px;
    }
}


/* 会社情報 ------ 表 ------- */

.abt-table {
    font-size: 15px;
    display: grid;
    grid-template-columns: 160px 1fr;
}

.abt-table dt,
.abt-table dd {
    margin: 0;
    padding: 24px 0;
    border-top: 1px solid #D2D2D2;
}

.abt-table dt:last-of-type,
.abt-table dd:last-of-type {
    border-bottom: 1px solid #D2D2D2;
}

.abt-table dt:first-of-type,
.abt-table dt:first-of-type+dd {
    border-top: none;
}

.abt-table dt {
    color: #1B4094;
    padding: 24px 10px 24px 0;
}

.abt-orgList {
    margin: 0;
}

.abt-orgList li+li {
    margin-top: 4px;
}

@media screen and (max-width: 960px) {
    .abt-table {
        grid-template-columns: 110px 1fr;
    }
}

@media screen and (max-width: 780px) {
    .abt-table {
        display: block;
        margin-bottom: 60px;
    }

    .abt-table dt {
        border-top: none;
        padding: 10px 0 4px;
        width: auto;
        border-top: 1px solid #D2D2D2;
    }

    .abt-table dd {
        border-top: none;
        padding: 0 0 10px;
    }

    .abt-table dt:first-of-type {
        border-top: none;
    }

    .abt-table dt:last-of-type {
        border-bottom: none;
    }
}

/* 会社情報 ------ 資材調達の表01 ------- */

.abt-table--headingCenter {
    grid-template-columns: 200px 1fr;
    margin-bottom: 0;

    dt {
        display: flex;
        align-items: center;
        align-self: stretch;
    }

    @container abt-sectionItem (max-width: 520px) {
        grid-template-columns: 150px 1fr;

        dt {
            display: block;
        }
    }
}

/* 会社情報 ------ 資材調達の表02 ------- */

.abt-table--arrowDown {
    grid-template-columns: 180px 1fr;
    margin: 0 0 40px;

    dt,
    dd {
        margin: 0;
        padding: 36px 0 18px;
        border-top: 1px solid #D2D2D2;
    }

    dt {
        position: relative;
        color: #1B4094;
    }

    dt:last-of-type,
    dd:last-of-type {
        border-bottom: none;
    }

    dt::after {
        content: "";
        position: absolute;
        bottom: -24px;
        left: 30px;
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 8px solid currentColor;
        pointer-events: none;
    }

    dt:last-of-type::after {
        content: "";
        display: none;
    }

    @media screen and (max-width: 780px) {
        margin: 0 0 40px;

        dt::after {
            content: "";
            display: none;
        }

        dt {
            padding: 32px 0 4px;
        }

        dd {
            padding: 0 0 12px;
            border-top: none;
            position: relative;
        }

        dd::after {
            content: "";
            position: absolute;
            bottom: -26px;
            left: 50%;
            width: 0;
            height: 0;
            border-left: 14px solid transparent;
            border-right: 14px solid transparent;
            border-top: 14px solid currentColor;
            pointer-events: none;
            color: #1B4094;
        }

        dd:last-of-type::after {
            content: "";
            display: none;
        }
    }
}

/* 会社情報 ------ 資材調達の注意事項 ------- */

.abt-cautions {
    border: 1px solid #D2D2D2;
    margin: 60px 0 0;
}

.abt-cautionsHeading {
    padding: 15px 20px;

    @media screen and (max-width: 780px) {
        padding: 10px;
    }
}

.abt-subtitle {
    color: #1B4094;
    font-size: 22px;
    line-height: 2;

    @media screen and (max-width: 780px) {
        font-size: 18px;
    }
}

.abt-cautionsBody {
    border-top: 1px solid #D2D2D2;
    padding: 20px;

    @media screen and (max-width: 780px) {
        padding: 10px;
    }
}



/* 会社情報 ------ お電話によるお問い合わせ ------- */
.abt-tellContact {
    border: 1px solid #D2D2D2;
    border-radius: 10px;
    padding: 20px 16px;
    max-width: 800px;

    .abt-tellLabel {
        color: #1B4094;
        font-weight: bold;
        text-align: center;
        margin: 0;
    }

    .abt-tellNumber {
        font-size: 30px;
        font-weight: bold;
        text-align: center;
        letter-spacing: 0.05em;
        margin: 0;

        @media screen and (max-width: 780px) {
            font-size: 24px;
        }
    }

    .abt-tellTime {
        font-size: 0.9rem;
        text-align: center;
        margin: 0;
    }
}

.abt-procurement-btn {
    margin-top: 20px;
    text-align: center;

    .abt-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: #fff;
        border: 1px solid #000;
        color: #000;
        border-radius: 2px;
        padding: 12px 28px;
        line-height: 1.2;
        font-size: 15px;
        min-width: 200px;

    }

    .abt-btn:hover,
    .abt-btn:focus-visible {
        opacity: 0.9;
        background-color: #1B4094;
        color: #fff;
        outline: none;
        transition: background-color .2s ease, color .2s ease;
    }
}

/* 会社情報 ------ 営業所・工場 ------- */
.abt-locationList {
    container: locationList / inline-size;
}

.abt-locationItem {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 0 0 60px;
    border-bottom: 1px solid #D2D2D2;

    +.abt-locationItem {
        padding-top: 60px;
    }
}

.abt-locationItem-withMapImage {
    flex-direction: column;
}

.abt-locationInner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.abt-locationMapImg {
    margin: 20px 0 0;

    img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

.abt-locationImg {
    width: 50%;
    margin: 0;

    img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

.abt-locationBody {
    min-width: 0;
    font-size: 15px;
}

.abt-locationTitle {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: bold;
}

.abt-locationAddress {
    margin: 0 0 16px;
    font-style: normal;
    line-height: 1.5;
}

.abt-locationMap a {
    color: #1B4094;
}

.abt-locationBody .abt-locationText {
    margin: 4px 0 0;
    font-style: normal;
    line-height: 1.5;
}

@container locationList (max-width: 520px) {

    .abt-locationItem {
        flex-direction: column;
        gap: 10px;
        padding: 0 0 30px;
        border-bottom: none;

        +.abt-locationItem {
            padding-top: 0;
        }
    }

    .abt-locationInner {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .abt-locationImg {
        flex-basis: auto;
        width: 100%;
    }

    .abt-locationMapImg {
        margin: 10px 0 0;
    }
}

/* 企業理念 ------------- */
.abt-philosophyBox {
    border: 1px solid #D2D2D2;
    border-radius: 10px;
    padding: 52px 16px;
    max-width: 800px;

    .abt-philosophyTitle {
        font-size: 30px;
        font-weight: bold;
        margin: 0;
        text-align: center;
    }

    .abt-philosophyTitle-en {
        text-align: start;
    }
}

@media screen and (max-width: 780px) {
    .abt-philosophyBox {
        padding: 20px;

        .abt-philosophyTitle {
            font-size: 18px;
        }
    }
}

@media screen and (max-width: 480px) {
    .abt-philosophyBox {
        .ib {
            display: block;
        }
    }
}

.abt-guideline {
    .abt-guidelineItem {
        border-left: 5px solid #1B4094;
        padding-left: 20px;
        margin-bottom: 20px;
        font-size: 22px;
        font-weight: bold;
        line-height: 1.3;
    }

    .abt-guidelineHeading {
        color: #1B4094;
        font-size: 18px;
        display: block;
        font-weight: normal;
        margin-bottom: 4px;
    }

    @media screen and (max-width: 960px) {
        .abt-guidelineItem {
            /* padding-left: 10px; */
            font-size: 20px;
        }

        .abt-guidelineHeading {
            font-size: 16px;
        }
    }

    @media screen and (max-width: 780px) {
        .abt-guidelineItem {
            padding-left: 10px;
            font-size: 15px;
        }

        .abt-guidelineHeading {
            font-size: 15px;
        }
    }
}


/* 沿革 ------ 歴史の表 ------- */
.abt-history {
    max-width: 900px;
    font-size: 15px;
    container-type: inline-size;
    container-name: abt-history;
}

.abt-history-imgFuller {
    width: 132px;
    height: auto;

    @media screen and (max-width: 960px) {
        width: 80px;
    }
}

.abt-history-imgSekisui {
    width: 242px;
    height: auto;

    @media screen and (max-width: 960px) {
        width: 120px;
    }
}

.abt-history-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.abt-history-row {
    display: table-row;
    border-bottom: 1px solid #ddd;
}

.abt-history-left,
.abt-history-year,
.abt-history-right {
    display: table-cell;
    padding: 10px;
    vertical-align: top;
}

.abt-history-left,
.abt-history-right {
    width: 42%;
}

.abt-history-right {
    text-align: right;
}

.abt-history-year {
    width: 16%;
    text-align: center;
    color: #1B4094;
}

@container abt-history (max-width: 520px) {
    .abt-history-table {
        display: block;
    }

    .abt-history-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "year year"
            "left right";
        gap: 4px 8px;
        padding: 10px 0;
    }

    .abt-history-year {
        grid-area: year;
        text-align: center;
    }

    .abt-history-left {
        grid-area: left;
    }

    .abt-history-right {
        grid-area: right;
    }

    .abt-history-left,
    .abt-history-year,
    .abt-history-right {
        display: block;
        width: auto;
        padding: 0;
    }
}

/* 沿革 ------ 歴史の画像 ------- */
.abt-history-imgBox {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: max-content auto;
    margin: 20px 0 0;
}


.abt-history-imgItem {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    margin: 0;
    row-gap: 8px;

    img {
        grid-row: 1;
        align-self: end;
        width: 100%;
        height: auto;
        display: block;
    }

    figcaption {
        grid-row: 2;
        font-size: 14px;
        line-height: 1.5;
        color: #333;
    }
}

@media screen and (min-width:1201px) {

    /* 5枚目を列2に */
    .abt-history-imgBox>.abt-history-imgItem:nth-last-child(2):nth-child(4n + 1) {
        grid-column: 2;
    }

    /* 6枚目を列3に */
    .abt-history-imgBox>.abt-history-imgItem:last-child:nth-child(4n + 2) {
        grid-column: 3;
    }
}

@media screen and (max-width:1200px) {
    .abt-history-imgBox {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@container abt-history (max-width:520px) {
    .abt-history-imgBox {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

/* 資材調達 ------ PDFリスト ------- */
.abt-pdfList {
    border-top: 1px solid #D2D2D2;

    &:first-of-type {
        border-top: 0;
    }
}

.abt-pdfItem {
    border-bottom: 1px solid #D2D2D2;
    font-size: 15px;
}

.abt-pdfTitle {
    text-decoration: underline;
    color: #1B4094;
}

.abt-pdfLink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 30px 0;

    &::before {
        content: "";
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        background: url("/wp/images/about-us/icon-pdf.png") no-repeat center / contain;
    }
}

@media screen and (max-width: 780px) {
    .abt-pdfList {
        margin: 30px 0 0;

        .abt-pdfLink {
            padding: 20px 0;
        }

        >.abt-pdfItem:first-child>.abt-pdfLink {
            padding: 0 0 20px;
        }
    }
}


/* ------------------------- */
/* CSR経営                    */
/* ------------------------- */

.csr-title {
    margin: 0 0 30px;
    padding: 0 0 0 40px;
    font-size: 26px;
    font-weight: 600;
    background-image: url("/wp/images/about-us/icon-bl_title.svg");
    background-repeat: no-repeat;
    background-position: 0 50%;

    @media screen and (max-width: 780px) {
        margin: 0 0 20px;
        padding: 0 0 0 32px;
        font-size: 20px;
        background-image: url("/wp/images/about-us/icon-bl_title.svg");
        background-size: 22px 22px;
    }
}

.csr-section {
    margin: 0 0 60px;
    container-type: inline-size;
    container-name: csr-section;

    &:last-child {
        margin-bottom: 0;
    }

    @media screen and (max-width: 780px) {
        margin: 0 0 30px;
    }
}

.csr-sectionTitle {
    border-bottom: 1px solid #D2D2D2;
    padding-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 26px;

    @media screen and (max-width: 780px) {
        margin: 0 0 10px;
        font-size: 18px;
    }
}

.csr-sectionGroupTitle {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px;
}

.csr-sectionItem {
    margin: 0 0 60px;
    container-type: inline-size;
    container-name: csr-sectionItem;

    &:last-child {
        margin-bottom: 0;
    }

    @media screen and (max-width: 780px) {
        margin: 0 0 30px;
    }
}

.csr-sectionSubTitle {
    font-weight: bold;
    margin: 10px 0 10px;
    font-size: 15px;

    &:first-child {
        margin-top: 0;
    }

    +.csr-imageContainer {
        margin-top: 1.61em;
    }

    @media screen and (max-width: 780px) {
        margin: 10px 0 10px;
    }
}

p.csr-text {

    &.csr-textLead {
        margin-block-end: 60px;

        @media screen and (max-width: 780px) {
            margin-block-end: 30px;
        }
    }

    +.csr-imageContainer {
        margin-top: 1.61em;
    }

    +.csr-textList-ol {
        margin-top: 1.61em;
    }

    +.csr-textList {
        margin-top: 1.61em;
    }

}

.csr-textList {
    padding-left: 20px;
    list-style-type: disc;
    font-size: 15px;
}

.csr-textList-ol {
    padding-left: 20px;
    list-style-type: decimal;
    font-size: 15px;

    +.csr-text {
        margin-top: 1.61em;
    }

    +.csr-imageContainer {
        margin-top: 1.61em;
    }
}

.csr-textLink-arrow {
    display: inline-block;
    margin-top: 10px;
    line-height: 1;

    &::after {
        content: "";
        display: inline-block;
        width: 7px;
        height: 12px;
        background-image: url("/wp/images/csr/csr-icon-arrow.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        padding-right: 10px;
    }
}

.csr-imageContainer {
    width: 100%;
    max-width: 800px;

    img {
        width: 100%;
        height: auto;
        display: block;
    }

    .csr-imageMw380 {
        max-width: 380px;
        margin: 0 auto;
    }

    .csr-imageMw660 {
        max-width: 660px;
        margin: 0 auto;
    }

    +.csr-text {
        margin-top: 1.61em;
    }

    +.csr-imageContainer {
        margin-top: 1.61em;
    }

    &.icon-arrowdown {
        margin: 40px 0;

        img {
            width: 40px;
            height: 20px;
            margin: 0 auto;
        }

        @media screen and (max-width: 780px) {
            margin: 20px 0;
        }
    }
}

.csr-imageContainer-2col {
    width: 100%;
    margin-top: 1.61em;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    img {
        width: 100%;
        height: auto;
        display: block;
    }

    +.csr-imageContainer-2col {
        margin-top: 20px;

        @media screen and (max-width: 960px) {
            margin-top: 4px;
        }
    }

    +.csr-text {
        margin-top: 1.61em;
    }
}

@media screen and (max-width: 960px) {
    .csr-imageContainer-2col {
        gap: 4px;
    }
}

.csr-imageLogo {
    margin-top: 1.61em;
}

.csr-videoContainer {
    margin-top: 30px;

    video {
        display: block;
        max-width: 100%;
        height: auto;
    }
}

/* 汎用：CSRの横並びレイアウト */
.csr-flex-2col {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;

    +.csr-flex-2col {
        margin-top: 20px;

        @media screen and (max-width: 780px) {
            margin-top: 10px;
        }
    }
}

.csr-imageBox {
    width: 49%;
    max-width: 375px;
}

.csr-imageBox img {
    display: block;
    width: 100%;
    height: auto;
}

.csr-textBox {
    width: 51%;
    font-size: 15px;

    .csr-text:last-child {
        margin-bottom: 0;
    }
}

@container csr-sectionItem (max-width:520px) {
    .csr-flex-2col {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .csr-imageBox,
    .csr-textBox {
        width: 100%;
        max-width: none;
    }
}

.csr-flex-2col-small {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 30px;
}

.csr-imageBox-small {
    flex: 0 0 240px;
    text-align: center;
    height: auto;

    img {
        display: block;
        width: 100%;
        height: auto;
    }
}

.csr-textBox-small {
    flex: 1 1 0;
}

@container csr-sectionItem (max-width:520px) {
    .csr-flex-2col-small {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .csr-imageBox-small {
        flex: none;
        width: 100%;
        max-width: 100%;

        img {
            width: 100%;
        }
    }


}

/* 画像＋キャプション */
.csr-imageBox figure,
.csr-imageBox-small figure {
    margin: 0;
}

.csr-imageBox figcaption,
.csr-imageBox-small figcaption {
    margin-top: 10px;
    font-size: 15px;
    text-align: left;
    word-break: break-word;
}

.csr-imageBox-small {
    flex: 0 0 240px;
    text-align: center;
}

.csr-imageBox-small img {
    display: block;
    width: 100%;
    height: auto;
}

@container csr-sectionItem (max-width:520px) {
    .csr-imageBox-small {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .csr-flex-2col-spSmall {
        flex-direction: row;
        align-items: start;
        gap: 10px;
    }

    .csr-imageBox-spSmall {
        flex: 0 0 80px;

        img {
            width: 80px;
        }
    }

    .csr-textBox-spSmall {
        flex: 1 1 0;
    }
}


/* ------------------------- */
/* CSR経営 トップページ          */
/* ------------------------- */

.csr-declarationList {
    list-style-type: none;
    counter-reset: number;
    padding-left: 0;

    border: 1px solid #D2D2D2;
    border-radius: 10px;
    padding: 40px;
    max-width: 800px;
    margin: 30px 0 0;

    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;

    @media screen and (max-width: 960px) {
        padding: 20px;
    }
}

.csr-declarationList li {
    counter-increment: number;
    /* liごとにカウンタ+1 */
    position: relative;
    padding-left: 40px;
    font-weight: bold;
    box-sizing: border-box;
    width: calc(50% - 20px / 2);
    font-size: 20px;

    @media screen and (max-width: 960px) {
        width: 100%;
        font-size: 18px;
    }

    @media screen and (max-width: 780px) {
        font-size: 15px;
    }
}

.csr-declarationList li::before {
    content: counter(number);
    position: absolute;
    left: 0;
    top: 2px;
    font-weight: bold;
    color: #fff;
    background: #1B4094;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* CSR経営 トップページ ---- 下層ページ一覧 ---- */
.csr-topList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 24px;
}

.csr-topListItem {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    padding: 16px 0;
    border-bottom: 1px solid #D2D2D2;

    @container csr-section (max-width: 520px) {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
}

.csr-topListThumb {
    margin: 0;

    img {
        display: block;
        width: 100%;
        height: auto;
    }

}

.csr-topListBody {
    .csr-topListDesc {
        margin: 0 0 20px;
        font-size: 15px;

        @media screen and (max-width: 780px) {
            margin: 0 0 4px;
        }
    }
}

.csr-topListTitle {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: bold;

    a {
        color: #1B4094;
        display: inline-flex;
        align-items: center;
        gap: 10px;

        &::after {
            content: "";
            display: inline-block;
            width: 7px;
            height: 12px;
            background-image: url("/wp/images/csr/csr-icon-arrow.svg");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 100% 100%;
            flex: 0 0 auto;
        }
    }
}

.csr-topListSublinksTitle {
    font-weight: bold;
    color: #1B4094;
    font-size: 15px;
    line-height: 1;
}

.csr-topListSubLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    margin: 0;
    padding: 0;
    list-style: none;

    a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;

        &::after {
            content: "";
            display: inline-block;
            width: 7px;
            height: 12px;
            background-image: url("/wp/images/csr/csr-icon-arrow.svg");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 100% 100%;
            flex: 0 0 auto;
        }

    }
}

/* 品質管理 */

.csr-sectionItem .csr-qualityText {
    font-size: 20px;
    font-weight: bold;
    color: #1B4094;

    @media screen and (max-width: 960px) {
        font-size: 16px;
    }
}

/* 品質管理 ------ 表 ------- */
.csr-qualityTable {
    width: 100%;
    border-spacing: 0;
    border: 1px solid #D2D2D2;
    background: #fff;
    font-size: 15px;
    margin-top: 20px;
}

.csr-qualityTable th,
.csr-qualityTable td {
    padding: 10px 20px;
    border-bottom: 1px solid #D2D2D2;
    text-align: left;
    vertical-align: middle;
}

.csr-qualityTable tr:last-child td {
    border-bottom: 0;
}

.csr-qualityTable tr:first-child th {
    background: #E9EEF5;
    color: #1B4094;
    border-bottom: 1px solid #D2D2D2;
    font-weight: normal;
}

.csr-qualityTable th:nth-child(1),
.csr-qualityTable td:nth-child(1) {
    width: 10px;
    text-align: center;
}

.csr-qualityTable th:nth-child(2),
.csr-qualityTable td:nth-child(2) {
    width: 90px;
}

@media screen and (max-width: 580px) {

    .csr-qualityTable th,
    .csr-qualityTable td {
        padding: 10px 10px;
        font-size: 13px;
    }

    .csr-qualityTable th:nth-child(2),
    .csr-qualityTable td:nth-child(2) {
        width: 70px;
    }
}


/* コンプライアンス ------ 表 ------- */

.csr-complianceTable {
    width: 100%;
    border-spacing: 0;
    background: #fff;
    font-size: 15px;
    margin: 20px 0;
    table-layout: fixed;
}

.csr-complianceTable col {
    width: 50%;
}

.csr-complianceTable th,
.csr-complianceTable td {
    padding: 10px 20px;
    border-bottom: 1px solid #D2D2D2;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.csr-complianceTable tr:first-child th {
    background: #E9EEF5;
    color: #1B4094;
    font-weight: normal;
    border: none;
}

@media screen and (max-width: 580px) {

    .csr-complianceTable th,
    .csr-complianceTable td {
        padding: 10px 6px;
        font-size: 12px;
    }

}


/* CSR経営/QCサークル トップページ ---- 下層ページ一覧 ---- */
.qcc-topList {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    gap: 30px;

    @container csr-section (max-width: 520px) {
        gap: 20px;
    }
}

.qcc-topListItem {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-areas: "thumb body";
    gap: 40px;
    padding: 0 0 30px;
    border-bottom: 1px solid #D2D2D2;

    @media screen and (max-width: 780px) {
        gap: 20px;
    }

    @container csr-section (max-width: 520px) {
        grid-template-columns: 1fr;
        grid-template-areas: "thumb" "body";
        gap: 15px;
        padding: 0 0 20px;
    }
}

.qcc-topListThumb {
    margin: 0;

    img {
        display: block;
        width: 100%;
        height: auto;
    }

}

.qcc-topListBody {
    .qcc-topListDesc {
        margin: 0 0 20px;
        font-size: 15px;

        @media screen and (max-width: 780px) {
            margin: 0;
        }
    }
}

.qcc-topListTitle {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: bold;

    a {
        color: #1B4094;
        display: inline-flex;
        align-items: center;
        gap: 10px;

        &::after {
            content: "";
            display: inline-block;
            width: 7px;
            height: 12px;
            background-image: url("/wp/images/csr/csr-icon-arrow.svg");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 100% 100%;
            flex: 0 0 auto;
        }
    }
}


/* CSR経営/コンプライアンス  -------- */

.csr-flex-compliance {
    justify-content: center;
    margin-top: 60px;

    .csr-imageBox {
        flex: 0 0 200px;
        width: 200px;
        max-width: 200px;
    }

    .csr-imageBox img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .csr-textBox {
        width: auto;
        flex: 0 1 auto;
    }

    .csr-flex-2col {
        width: fit-content;
        margin-inline: auto;
    }

    @container csr-section (max-width: 520px) {
        flex-direction: column;
        align-items: center;
        margin-top: 30px;

        .csr-flex-2col {
            inline-size: 100%;
        }

        .csr-imageBox img {
            margin-inline: auto;
        }
    }

}


/* ------------------------- */
/* QCサークル経営              */
/* ------------------------- */


.qcc-article {
    container-type: inline-size;
    container-name: qcc-article;
}

.qcc-detail_mv {
    margin-block-end: 60px;


    img {
        width: 100%;
        height: auto;
    }

    @media screen and (max-width: 480px) {
        margin-block-end: 20px;
    }
}

.qcc-detail_2colCont {
    container-type: inline-size;
    container-name: qcc-detail_2colCont;

    +.qcc-detail_2colCont {
        margin: 36px 0;
    }
}

.qcc-detail_2col {
    display: flex;
    gap: 20px;

    @container qcc-detail_2colCont (max-width: 520px) {
        flex-direction: column;
        gap: 10px;
    }

    @container qcc-article (max-width: 520px) {
        flex-direction: column;
        gap: 10px;
    }

    +.qcc-detail_2col-text {
        margin-top: 30px;
    }
}


.qcc-detail_2col-thumb {
    width: 240px;
    margin: 0 auto;
}

p.qcc-detail_2col-text {
    flex: 1;
    margin: 0;

    +.qcc-detail_2col {
        margin-top: 30px;
    }
}

.qcc-detail_bgWrap {
    margin-top: 30px;

    &.is-bgGray {
        padding: 20px;
        background-color: #F2F2F2;
        border-radius: 10px;
    }

}

.qcc-detail_bgWrap-heading {
    font-size: 15px;
    margin-bottom: 20px;
}

.qcc-detail_gallery {
    margin-block-start: 60px;

    ul {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    li {
        width: calc(20% - 60px / 5);

        @media screen and (max-width: 960px) {
            width: calc(33.3% - 30px / 3);
        }
    }
}


/* ------------------------- */
/* Gallery Modal */
/* ------------------------- */
.modal {
    overflow: hidden;
}

#gallery-modal {
    position: fixed;
    width: auto;
    max-width: 740px;
    border: none;
    background: transparent;
    overflow: visible;
    /* slickの矢印が見えるように */
}

#gallery-modal[open] {
    display: block !important;
}

#gallery-modal::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

#gallery-modal .modal-content {
    background: #fff;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}

#gallery-modal .gallery-slider img {
    max-width: 100%;
    max-height: 80vh;
    /* ビューポートに収まるように */
    margin: 0 auto;
    display: block;
}

#gallery-modal .close-button {
    position: absolute;
    top: -24px;
    right: 8px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 18px;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

/* slickの矢印のスタイル調整 */
#gallery-modal .slick-prev,
#gallery-modal .slick-next {
    z-index: 10;
    width: 32px;
    height: 32px;

    @media screen and (max-width: 480px) {
        display: none;
    }
}

#gallery-modal .slick-prev {
    left: 8px;
}

#gallery-modal .slick-next {
    right: 8px;
}

#gallery-modal .slick-prev:before,
#gallery-modal .slick-next:before {
    font-size: 32px;
    color: #fff;
}

/* ------------------------- */
/* 職場紹介                    */
/* ------------------------- */

.owp-title {
    margin: 0 0 30px;
    padding: 0 0 0 40px;
    font-size: 26px;
    font-weight: 600;
    background-image: url("/wp/images/about-us/icon-bl_title.svg");
    background-repeat: no-repeat;
    background-position: 0 50%;

    @media screen and (max-width: 780px) {
        margin: 0 0 20px;
        padding: 0 0 0 32px;
        font-size: 20px;
        background-image: url("/wp/images/about-us/icon-bl_title.svg");
        background-size: 22px 22px;
    }
}

.owp-section {
    margin: 0 0 60px;
    container-type: inline-size;
    container-name: owp-section;

    &:last-child {
        margin-bottom: 0;
    }

    @media screen and (max-width: 780px) {
        margin: 0 0 30px;
    }
}

.owp-sectionTitle {
    border-bottom: 1px solid #D2D2D2;
    padding-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 26px;

    @media screen and (max-width: 780px) {
        margin: 0 0 10px;
        font-size: 18px;
    }
}

.owp-sectionItem {
    margin: 0 0 60px;
    container-type: inline-size;
    container-name: owp-sectionItem;

    &:last-child {
        margin-bottom: 0;
    }

    @media screen and (max-width: 780px) {
        margin: 0 0 30px;
    }
}


p.owp-text {
    &.owp-textLead {
        margin-block-end: 60px;

        @media screen and (max-width: 780px) {
            margin-block-end: 30px;
        }
    }

    +.owp-imageContainer {
        margin-top: 1.61em;
    }

    &.owp-text-lt {
        margin-left: 12%;

        @media screen and (max-width: 480px) {
            margin-left: 0;
        }
    }
}

.owp-imageContainer {
    width: 100%;
    max-width: 800px;

    img {
        width: 100%;
        height: auto;
        display: block;
    }

    +.owp-text {
        margin-top: 1.61em;
    }

    +.owp-imageContainer {
        margin-top: 1.61em;
    }

    @media screen and (max-width: 780px) {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        max-width: none;
    }
}

/* 職場紹介 --- トップページ */
.owp-topList {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    gap: 30px;

    @container owp-section (max-width: 520px) {
        gap: 20px;
    }
}

.owp-topListItem {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-areas: "thumb body";
    gap: 40px;
    padding: 0 0 30px;
    border-bottom: 1px solid #D2D2D2;

    @media screen and (max-width: 780px) {
        gap: 20px;
    }

    @container owp-section (max-width: 520px) {
        grid-template-columns: 1fr;
        grid-template-areas: "thumb" "body";
        gap: 15px;
        padding: 0 0 20px;
    }
}

.owp-topListThumb {
    margin: 0;

    img {
        display: block;
        width: 100%;
        height: auto;
    }
}

.owp-topListBody {
    .owp-topListDesc {
        margin: 0 0 20px;
        font-size: 15px;

        @media screen and (max-width: 780px) {
            margin: 0;
        }
    }
}

.owp-topListTitle {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: bold;

    a {
        color: #1B4094;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        line-height: 1;

        &::after {
            content: "";
            display: inline-block;
            width: 7px;
            height: 12px;
            background-image: url("/wp/images/csr/csr-icon-arrow.svg");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 100% 100%;
            flex: 0 0 auto;
        }
    }
}

/* 職場紹介 --- 下層ページ */
.owp-article-head {
    border-bottom: 1px solid #D2D2D2;
    padding: 0 0 10px;
    margin: 0 0 60px;

    .owp-article-headTitle {
        font-size: 26px;
        color: #1B4094;
    }

    .owp-article-headDepartment {
        font-size: 20px;
        margin: 4px 0 0;
    }

    @media screen and (max-width: 780px) {
        margin: 0 0 30px;

        .owp-article-headTitle {
            font-size: 18px;
        }

        .owp-article-headDepartment {
            font-size: 15px;
            margin: 0;
        }
    }
}

.owp-article-textItem {
    margin: 60px 0;

    @media screen and (max-width: 780px) {
        margin: 30px 0;
    }
}

.owp-article-textHeading {
    font-size: 20px;
    padding: 0 0 0 20px;
    position: relative;
    margin: 0 0 20px;

    &::before {
        content: "";
        display: inline-block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 6px;
        height: auto;
        border-radius: 5px;
        background: #1B4094;
        margin: auto 0
    }

    @media screen and (max-width: 780px) {
        margin: 0 0 10px;
    }
}

/* 職場紹介 --- ある1日のスケジュール */

.owp-schedule-section {
    position: relative;
    max-width: 800px;
    margin: 120px auto 0;
    padding: 70px 30px 30px;
    background: #F2F2F2;
    border-radius: 10px;

    &::after {
        content: "";
        position: absolute;
        top: -70px;
        right: 0;
        width: 153px;
        height: 153px;
        background: url("/wp/images/our-workplace/owp-icon-dailyschedule.png") center / contain no-repeat;
        pointer-events: none;
    }

    @container owp-sectionItem (max-width: 520px) {
        margin: 60px auto 0;
        padding: 70px 20px 30px;

        &::after {
            right: auto;
            left: 50%;
            transform: translateX(-50%);
        }
    }
}

/* .owp-schedule-list {} */

.owp-schedule-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #D2D2D2;
    font-size: 15px;
    font-weight: bold;
}

.owp-schedule-time {
    flex: 0 0 47px;
    min-width: 47px;
    font-weight: bold;
    color: #000;
    white-space: nowrap;
}

.owp-schedule-text {
    flex: 1 1 auto;
    margin: 0;
    color: #000;
}

.owp-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* プライバシーポリシー */

.privacy-contents {
    h2 {
        font-size: 15px;
        font-weight: bold;
        margin: 0 0 10px;
    }

    p {
        font-size: 15px;
        margin: 0 0 10px;
    }

    ul {
        padding-left: 20px;
        list-style-type: disc;
        margin: 0 0 10px;

        li {
            font-size: 15px;
        }
    }

    .privacy-lead {
        margin: 0 0 30px;

        @media screen and (max-width: 780px) {
            margin: 20px 0 20px;
        }
    }

    .privacy-textContact {
        margin: 30px 0 0;

        @media screen and (max-width: 780px) {
            margin: 20px 0 0;
        }
    }

    .privacy-textLink {
        color: #1B4094;
        text-decoration: underline;
    }
}