/*///////  ママコワーク  ///////CSS */

/* 共通設定 */
body#nts-style p {
    font-weight: 400 !important;
}

p,
li {
    font-size: 16px;
    color: #532400;
    line-height: 1.7;
    font-family: "Zen Maru Gothic", serif;
}

.center {
    font-size: 22px;
    color: #532400;
    text-align: center;
}

img {
    max-width: 100%;
}

section {
    padding: 80px 15px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.pc {
    display: block;
}

.tab {
    display: none;
}

.sp {
    display: none;
}

.right {
    text-align: right;
}

/* 背景色付きセクション */
section.mc-offer,
section.mc-future,
section.mc-qa,
section.mc-contact {
    background: #FFFFF0;
}

/* 背景画像　ブルー */
.bg-blue {
    background-image: url(https://c48ishigami.cloudfree.jp/test001/wp-content/themes/jin-child/images/mc-bg01.png);
    background-position: center;
    background-size: cover;
}

.mc-h2 {
    font-size: 28px;
    font-weight: 600;
    color: #532400;
    font-family: "Zen Maru Gothic", serif;
    text-align: center;
    margin: 0 0 30px;
}

.mc-h2.marker span {
    color: #532400;
    background: linear-gradient(to bottom, transparent 60%, #FFF6AF 60%);
}

/* ヘッダー */
.mc-header {
    background-image: url(https://c48ishigami.cloudfree.jp/test001/wp-content/themes/jin-child/images/mc-header-pc01.png);
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
}

/* こんなお悩みありますか？ */
.problem-wrap.pc {
    display: flex;
    gap: 20px;
}

/* ママコワークが解決します */

.solution-container {
    text-align: center;
    background: #fefef9;
    border: 2px solid #532400;
    border-radius: 10px;
    padding: 40px 0;
}

.solution-center {
    font-size: 18px;
}

.solution-wrap {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.solution-item {
    width: 240px;
    text-align: left;
}

.solution-item h4 {
    font-size: 20px;
    color: #532400;
    text-align: center;
    font-family: "Zen Maru Gothic", serif;
    margin: 15px 0;
}

.solution-text {
    text-align: justify;
    padding: 0 15px;
    border: 1px solid #532400;
    border-radius: 10px;
}

/* オファー */

.mc-offer .mc-h2 {
    position: relative;
    color: #532400;
    font-size: 24px;
    margin-bottom: 30px;
}

.mc-h2 span.pc.slash {
    color: #532400;
}

.mc-h2 span {
    display: inline;
    font-size: 30px;
    color: #FF7274;
}

.offer-wrap {
    display: flex;
    justify-content: center;
    gap: 40px;
}


/* 業務領域 */
.region-grid {
    max-width: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px 0;
}


.region-item {
    text-align: center;
}

/* 未来イメージ */
.mc-h2 span.small {
    font-size: 16px;
    color: #532400;
}

span.small img {
    width: 13px;
    position: relative;
    top: 3px;
    right: 3px;
}


/* 成功事例 */
section.mc-success {
    padding-bottom: 20px;
}

.success-img {
    max-width: 800px;
    margin: 30px auto;
}

.mc-success h2 {
    margin-bottom: 0;
}

/* よくある質問 */
.qa-wrap {
    max-width: 940px;
    margin: 30px auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 3px 5px #ccc;
}

h3.question {
    position: relative;
    font-size: 22px;
    color: #532400;
    padding: 0 0 20px 70px;
    border-bottom: 2px solid #532400;
    margin-bottom: 20px;
}

p.answer {
    position: relative;
    max-width: 730px;
    padding-left: 70px;
    margin-bottom: 0;
}

.question::before {
    content: "Q";
    position: absolute;
    top: -15px;
    left: 13px;
    color: #A5E0FF;
    font-size: 36px;
}

.answer::before {
    content: "A";
    position: absolute;
    top: -5px;
    left: 15px;
    color: #FDB3B4;
    font-size: 36px;
}

/* 人材不足でお困りではないですか？ */
.container.resources {
    position: relative;
    max-width: 800px;
    padding: 30px 80px;
    margin-top: 30px;
    border: 2px solid #532400;
    border-radius: 20px;
    text-align: justify;
}

.resources-img {
    width: 40%;
    position: absolute;
    bottom: -15px;
    right: 20px;
}

/* 地域密着 */
section.mc-community-base {
    padding-top: 180px;
}

.container.community-base {
    position: relative;
    max-width: 800px;
    padding: 90px 50px 100px;
    margin: 0 auto;
    border: 3px solid #6DCBD1;
    border-radius: 20px;
}

.community-img {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent 50%, #fff 50%);
}

.community-grid {
    max-width: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 50px auto;
}

/* 「みらいきって」について */
.message-wrap {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    align-items: center;
    gap: 100px;
    text-align: justify;
}

.message-text p {
    font-size: 18px;
    max-width: 570px;
}

.message-text h3 {
    font-size: 24px;
    color: #532400;
}

.message-text .right {
    position: relative;
    right: -50px;
}

.message-img {
    width: 270px;
}

.company-wrap {
    display: flex;
    justify-content: space-around;
    border: 1px solid #6DCBD1;
    border-radius: 15px;
    padding: 20px;
}

.company-wrap ul {
    list-style: disc;
    padding-left: 40px;
}

.company-wrap li {
    font-size: 14px;
}

/* タブレット表示（780px）*/
@media(max-width:780px) {

    /* ママコワークが解決します！ */
    .solution-wrap {
        max-width: 680px;
        margin: 0 auto;
    }

    /* 「みらいきって」について */
    section.mc-company.bg-blue {
        padding: 80px 40px;
    }

}


/* スマホ表示（600px） */
@media(max-width:600px) {

    /* 共通設定 */
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    .mc-h2 img {
        width: 80%;
    }

    /* ヘッダー */
    .mc-header {
        background-image: url(https://c48ishigami.cloudfree.jp/test001/wp-content/themes/jin-child/images/mc-header-sp01.png);
        height: 550px;
    }

    /* こんな悩みありませんか？ */
    .problem-item {
        margin: 40px 0;
    }

    /* ママコワークが解決します */
    .solution-container {
        padding: 20px 20px;
    }

    .solution-wrap {
        flex-direction: column;
        margin: 40px 0;
    }

    .solution-item {
        width: 100%;
        text-align: center;
    }

    /* オファー */
    .mc-offer .mc-h2::before {
        content: "";
        display: block;
        width: 2px;
        height: 40px;
        position: absolute;
        bottom: 5px;
        left: 10px;
        background: #532400;
        transform: rotateZ(-20deg);
    }

    .mc-offer .mc-h2::after {
        content: "";
        display: block;
        width: 2px;
        height: 40px;
        position: absolute;
        bottom: 5px;
        right: 10px;
        background: #532400;
        transform: rotateZ(20deg);
    }

    .offer-wrap {
        flex-direction: column;
    }

    /* 業務領域 */
    .region-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* よくある質問 */
    .qa-wrap {
        padding: 20px;
    }

    h3.question {
        font-size: 18px;
        padding: 0 0 15px 50px;
    }

    p.answer {
        padding-left: 50px;
    }

    .question::before {
        left: 5px;
    }

    .answer::before {
        top: -10px;
        left: 7px;
    }

    /* 人材不足にお困りではありませんか？ */
    .container.resources {
        padding: 20px 40px;
    }

    .resources-img {
        width: 35%;
        right: 5px;
        bottom: -7px;
    }

    /* 地域密着 */
    .container.community-base {
        padding: 40px 30px 20px;
    }

    .community-grid {
        padding: 0 15px;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 「みらいきって」について */
    section.mc-company .mc-h2 {
        font-size: 23px;
    }

    .message-wrap {
        flex-direction: column;
        padding: 10px;
        gap: 30px;
    }

    .message-text .right {
        font-size: 20px;
        right: -15px;
    }

    .company-wrap {
        flex-direction: column;
    }

    .company-wrap li {
        font-size: 14px;
        margin: 15px 0;
    }
}