@charset "UTF-8";

/**-------------------------- 共通 --------------------------**/
/* 使用フォント定義: 新卒採用サイトから流用 */
main.prospective {
    font-family: "Zen Kaku Gothic New", sans-serif;
}

/**------ ヘッダー ------**/
header.prospective {
    width: 100%;
    height: 50px;
    background-color: #56CE66;
    position: fixed;
    z-index: 998;
}
header.prospective #logo {
    height: 100%;
    line-height: 36px;
    background: unset;
}

/**------ メイン ------**/
main.prospective {
    margin-bottom: 0;
    padding: 50px 0 100px;
    min-height: calc(100% - 50px - 66px - 100px);
    background-color: #E7FBC7;
    position: relative;
}

/**--- おしらせ一覧 ---**/
/** タイトル **/
main.prospective > h1 {
    margin-bottom: 20px;
    padding-top: 60px;
    color: #303628;
    font-weight: bold;
}

/** リスト **/
#prospective-list {
    margin: 0 auto;
    background-color: #FFF;
    border: #56CE66 solid 1px;
    border-radius: 20px;
}
#prospective-list ul {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#prospective-list li {
    padding: 20px 0;
    border-bottom: 1px solid #e5e2e2;
    display: inline-flex;
    justify-content: flex-start;
    align-items: stretch;
}
/* 段落分岐 */
@media screen and (min-width: 970px) {
    #prospective-list li {
        width: calc(50% - 15px);
    }
    #prospective-list li:nth-of-type(odd) {
        margin-right: 10px;
    }
    #prospective-list li:nth-of-type(even) {
        margin-left: 10px;
    }
}
@media screen and (max-width: 969px) {
    #prospective-list li {
        width: 100%;
    }
}
/* サムネイル */
#prospective-list img {
    margin: auto 15px auto 0;
    padding: 3px;
    margin-right: 15px;
    border: 1px solid #e5e2e2;
}
/* お知らせタイトル */
#prospective-list a {
    height: 100%;
    color: #303628;
    font-weight: bold;
    letter-spacing: 0.75px;
}
/* お知らせ更新日 */
#prospective-list a span {
    color: #FF7C72;
    letter-spacing: 0;
}
/* お知らせ 地域 */
#prospective-list p {
    margin-top: 5px;
    width: 100%;
}
#prospective-list p > a {
    color: #525252;
}

/**--- お知らせ記事 ---**/
#prospective-post {
    margin: 50px auto 0;
    background-color: #FFF;
    border: #56CE66 solid 1px;
    border-radius: 20px;
    text-align: left;
}
#prospective-post h1 {
    margin-bottom: 10px;
    padding: 0 0 20px;
    border-bottom: 1px solid #e5e2e2;
    color: #303628;
    font-weight: bold;
    text-align: center;
}
#prospective-post .post-modified {
    color: #FF7C72;
    font-weight: bold;
}
#prospective-post .post-box {
    padding: 25px 10px 60px;
    border-bottom: 1px solid #e5e2e2;
}
#prospective-post .post-box > p {
    padding-bottom: 15px;
    line-height: 1.2em;
    box-sizing: border-box;
}
#prospective-post .back-button {
    margin: 30px auto 0;
    background-color: #57CE66;
    border-radius: 50px;
    text-align: center;
}
#prospective-post .back-button a {
    padding: 15px 0;
    width: 100%;
    height: 100%;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 1.5px;
    display: block;
}

/**--- ページネーション ---**/
#prospective-list .paginate {
    margin-top: 40px;
}
#prospective-list .paginate > .page-numbers {
    padding: 0 0.5em;
    color: #303628;
    font-weight: bold;
}
/* ページ記号 */
#prospective-list .paginate > .prev {
    margin-right: 2em;
}
#prospective-list .paginate > .next {
    margin-left: 2em;
}
/* 表示中のページ番号 */
#prospective-list .paginate > .current {
    color: #56CE66;
} 

/**------ フッター ------**/
footer.prospective {
    width: 100%;
    background-color: #E7FBC7;
    color: #303628;
    position: relative;
}
footer.prospective .decoration {
    padding: 20px 0;
    background-color: #C0EF75;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
}
footer.prospective a {
    color: #303628;
}
footer.prospective #pageup {
    bottom: 80px;
}


/**-------------------------- PC --------------------------**/
@media screen and (min-width: 781px) {
    /* 共通最低幅 */
    .prospective {
        min-width: 781px;
    }

    /**------ ヘッダー ------**/
    header.prospective #logo {
        width: 320px;
    }

    /**--- おしらせ一覧 ---**/
    /** タイトル **/
    main.prospective > h1 {
        font-size: 45px;
    }
    main.prospective > h1 > .subtitle {
        margin-left: 0.2em;
        font-size: 0.7em;
    }

    /** リスト **/
    #prospective-list {
        padding: 40px 50px 60px;
        width: 65%;
    }
    /* サムネイル */
    #prospective-list img {
        width: 65px;
        height: 65px;
    }
    /* お知らせタイトル */
    #prospective-list a {
        font-size: 16px;
        line-height: 1.2em;
    }
    /* お知らせ更新日 */
    #prospective-list a span {
        font-size: 13px;
        line-height: 2.2em;
    }
    /* お知らせ 地域 */
    #prospective-list p,
    #prospective-list p > a {
        font-size: 13px;
    }

    /**--- お知らせ記事 ---**/
    #prospective-post {
        padding: 40px 50px;
        width: 75%;
    }
    #prospective-post h1 {
        font-size: 28px;
    }
    #prospective-post .post-modified {
        padding-right: 30px;
        text-align: right;
    }
    #prospective-post .back-button {
        width: 250px;
    }
    #prospective-post .back-button a {
        font-size: 17px;
    }

    /**--- ページネーション ---**/
    #prospective-list .paginate {
        margin-top: 30px;
    }
    #prospective-list .paginate > .page-numbers {
        font-size: 15px;
    }
}


/**--------------------------------------- smartphone---------------------------------------**/
@media screen and (max-width: 780px) {
    /**------ ヘッダー ------**/
    header.prospective #logo {
        padding: 0;
        left: 20px !important;
    }

    /**--- おしらせ一覧 ---**/
    /** タイトル **/
    main.prospective > h1 {
        font-size: 30px;
    }
    main.prospective > h1 > .subtitle {
        font-size: 0.75em;
    }

    /** リスト **/
    #prospective-list {
        padding: 20px 30px 45px;
        width: 75%;
    }
    /* サムネイル */
    #prospective-list img {
        height: 55px;
        width: 55px;
    }
    /* お知らせタイトル */
    #prospective-list a {
        font-size: 14px;
        line-height: 1.3em;
    }
    /* お知らせ更新日 */
    #prospective-list a span {
        font-size: 12px;
        line-height: 1.8em;
    }
    /* お知らせ 地域 */
    #prospective-list p,
    #prospective-list p > a {
        font-size: 12px;
    }

    /**--- お知らせ記事 ---**/
    #prospective-post {
        padding: 40px 15px;
        width: 85%;
        overflow-x: hidden; /*罫線とリンクの突き抜け対策*/
    }
    #prospective-post h1 {
        font-size: 20px;
    }
    #prospective-post .post-modified {
        padding: 0;
        text-align: center;
    }
    #prospective-post .back-button {
        width: 200px;
    }
    #prospective-post .back-button a {
        font-size: 16px;
    }

    /**--- ページネーション ---**/
    #prospective-list .paginate {
        margin-top: 25px;
    }
    #prospective-list .paginate > .page-numbers {
        font-size: 13px;
    }
}