/* =========================================================
   SENSCOPE ABOUT PAGE
   slug: about_senscope
========================================================= */

body.page .entry-content {
    color: #304657;
    font-family:
        "M PLUS 1p",
        "Hiragino Sans",
        "Yu Gothic",
        "Meiryo",
        sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
}

/* ---------------------------------------------------------
   BASE WIDTH
--------------------------------------------------------- */

body.page .entry-content > * {
    width: min(920px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

body.page .entry-content p {
    color: #4f6474;
}

/* =========================================================
   PAGE INTRO
========================================================= */

/* 「SenScopeについて」 */
body.page .entry-content > h1:first-of-type {
    position: relative;
    margin-top: 82px;
    margin-bottom: 28px;

    color: #18a3a3;

    font-family:
        "M PLUS Rounded 1c",
        sans-serif;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
}

body.page .entry-content > h1:first-of-type::before {
    content: "ABOUT SENSCOPE";
    display: block;
    margin-bottom: 9px;

    color: #153957;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

/* 最初の大見出し
   「教育の仕事を、もっと広く見渡す。」 */
body.page .entry-content > h2:first-of-type {
    position: relative;

    margin-top: 0;
    margin-bottom: 38px;
    padding-bottom: 26px;

    color: #153957;

    font-family:
        "M PLUS Rounded 1c",
        sans-serif;

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.045em;
}

body.page .entry-content > h2:first-of-type::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 72px;
    height: 7px;

    background: #ffd45a;
    box-shadow: 28px 0 0 #18a3a3;
}


/* =========================================================
   BODY TEXT
========================================================= */

body.page .entry-content > p {
    margin-top: 0;
    margin-bottom: 22px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

body.page .entry-content > h2:not(:first-of-type) {
    position: relative;

    margin-top: 96px;
    margin-bottom: 34px;
    padding: 18px 22px 19px 27px;

    border-left: 6px solid #18a3a3;

    background: #153957;
    color: #ffffff;

    box-shadow: 6px 6px 0 #dce8ed;

    font-family:
        "M PLUS Rounded 1c",
        sans-serif;

    font-size: clamp(27px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.03em;
}

body.page .entry-content > h2:not(:first-of-type)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 22px;

    width: 42px;
    height: 5px;

    background: #ffd45a;
}


/* =========================================================
   H3 — 01 / 02 / 03 / 04 + POLICY
========================================================= */

body.page .entry-content > h3 {
    position: relative;

    margin-top: 50px;
    margin-bottom: 18px;
    padding: 17px 18px 15px 20px;

    border: 2px solid #d6e3e9;
    border-left: 5px solid #18a3a3;
    border-radius: 5px;

    background: #f8fbfc;
    color: #153957;

    box-shadow: 4px 4px 0 #e1eaee;

    font-family:
        "M PLUS Rounded 1c",
        sans-serif;

    font-size: 21px;
    font-weight: 600;
    line-height: 1.45;
}

body.page .entry-content > h3::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 22px;

    width: 28px;
    height: 4px;

    background: #ffd45a;
}





/* =========================================================
   LAST SECTION
========================================================= */

body.page .entry-content > h2:last-of-type {
    margin-top: 100px;
}


/* =========================================================
   LINKS
========================================================= */

body.page .entry-content a {
    color: #153957;
    font-weight: 700;
    text-decoration-color: #18a3a3;
    text-underline-offset: 4px;
}


/* =========================================================
   ABOUT MESSAGE
   「答えを決める場所ではなく、見渡すための場所。」
========================================================= */

body.page .entry-content .ss-about-message {
    position: relative;
    box-sizing: border-box;

    width: 100vw !important;
    max-width: none !important;

    margin-top: 110px;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 0;

    padding:
        76px
        max(24px, calc((100vw - 920px) / 2))
        78px;

    background: #153957;
    color: #ffffff;
}

body.page .entry-content .ss-about-message::after {
    content: "";
    position: absolute;
    top: 0;
    left: max(24px, calc((100vw - 920px) / 2));

    width: 58px;
    height: 6px;

    background: #ffd45a;
    box-shadow: 24px 0 0 #18a3a3;
}

body.page .entry-content .ss-about-message h2 {
    margin: 0 0 34px;
    padding: 0;

    border: 0;
    background: transparent;
    box-shadow: none;

    color: #ffffff;

    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -.035em;
}

body.page .entry-content .ss-about-message h2::before {
    content: "SENSCOPE MESSAGE";
    display: block;

    margin-bottom: 18px;

    color: #83d8d0;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .18em;
}

body.page .entry-content .ss-about-message h2::after {
    display: none;
}

body.page .entry-content .ss-about-message p {
    width: min(760px, 100%);
    margin: 0 0 22px;

    color: #d6e2e9;

    font-size: 16px;
    line-height: 2;
}

body.page .entry-content .ss-about-message p:last-child {
    margin-bottom: 0;
    color: #ffffff;
    font-weight: 600;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    body.page .entry-content {
        font-size: 15px;
    }

    body.page .entry-content > * {
        width: min(100% - 30px, 920px);
    }

    body.page .entry-content > h1:first-of-type {
        margin-top: 56px;
    }

    body.page .entry-content > h2:first-of-type {
        font-size: clamp(34px, 9vw, 48px);
        margin-bottom: 30px;
    }

    body.page .entry-content > h2:not(:first-of-type) {
        margin-top: 68px;
        padding: 15px 17px 16px 20px;
        font-size: 25px;
    }

    body.page .entry-content > h3 {
        margin-top: 36px;
        padding: 15px 15px 14px 17px;
        font-size: 19px;
    }

    body.page .entry-content .ss-about-message {
        margin-top: 78px;
        padding: 58px 20px 60px;
    }

    body.page .entry-content .ss-about-message::after {
        left: 20px;
    }

    body.page .entry-content .ss-about-message h2 {
        font-size: 31px;
    }

    body.page .entry-content .ss-about-message p {
        font-size: 15px;
    }
}