/* ----- 読み込み画面 ----- */
/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #F2F1ED;
    text-align: center;
}

/* Loading画像中央配置　*/
#splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
    width: 28rem;
}

/* fadeUpをするアイコンの動き */
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- メインビジュアル ----- */

.top_visual_container {
    position: relative;
}

.top_main_slider_text {
    position: absolute;
    top: 6%;
    right: 8%;
    z-index: 9;
    font-size: 3rem;
    line-height: 1;
    font-weight: 600;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.top_main_slider_text span {
    background: #fff;
    padding: .5rem .5rem .2rem;
    display: inline-block;
    margin: 0.8rem;
}

.top_main_slider {
    width: 100%;
    height: 78vh;
}

/* ----- お知らせ ----- */

.top_news_container {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.top_news_heading {
    font-size: 2.6rem;
    width: 16%;
    padding-right: 4%;
}

.news_list {
    width: 66%;
}

.news_list_item {
    line-height: 1.6;
    align-items: flex-start;
}

.news_list_item:nth-child(n+4){
    display: none;
}

.news_list_item + .news_list_item {
    padding-top: 2.4rem;
}

.news_list_date {
    width: 15%;
    font-size: 1.5rem;
}

.news_list_category {
    width: 15%;
    font-size: 1.4rem;
    background: #F2F1ED;
    padding: .2rem 1rem;
    text-align: center;
}

.news_list_title {
    width: 70%;
    font-weight: 400;
    padding-left: 6%;
    font-size: 1.7rem;
}

.news_link_container {
    width: 18%;
}

.news_link_all {
    margin-top: auto;
}


/* ----- アバウト ----- */

.top_about_container {
    padding-top: 12rem;
    padding-bottom: 12rem;
    margin-bottom: 12rem;
    position: relative;
}

.top_about_container::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: cover;
    background-position: bottom center;
    background-image: url(https://file001.shop-pro.jp/PA01505/436/common/top_about_bg.jpg);
    content: "";
    z-index: -2;
}

.top_about_container::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(242, 241, 237, 1) 0%, rgba(242, 241, 237, 1) 38%, rgba(242, 241, 237, 0.60) 56%, rgba(242, 241, 237, 0) 100%);
    content: "";
    z-index: -1
}

.top_about_inner {
    justify-content: space-between;
    align-items: center;
}

.top_about_logo {
    width: 8.6rem;
    margin-top: -10rem;
    margin-left: 9%;
}

.top_about_text {
    font-size: 2rem;
    line-height: 2.2;
    margin-bottom: 4rem;
}

.top_about_img {
    width: 35%;
}

.top_about_img img {
    display: block;
}

.top_about_img-1 {
    width: 56%;
    margin: 0 0 6% auto;
}

.top_about_img-2 {
    width: 74%;
}

.top_message_container {
    padding-top: 6rem;
}

.top_message_inner {
    width: 82%;
    padding: 4rem 6%;
    margin: auto;
    background: #fff;
    justify-content: space-between;
    align-items: center;
}

.top_message_body {
    width: 40%;
}

.top_message_heading_sub {
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 2rem;
}

.top_message_heading_main {
    width: 92%;
    margin-bottom: 6rem;
}

.top_message_img {
    width: 47%;
}


/* ----- HAIKEI・特集 ----- */
.top_yomimono_container {
    padding-bottom: 15rem;
}

.top_main_heading {
    text-align: center;
    margin-bottom: 10rem;
    position: relative;
}

.top_main_heading::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 1px;
    background: #870015;
    z-index: -1;
}

.top_main_heading span {
    padding: 0 2.8rem;
    background: #fff;
}

.top_main_heading img {
    width: auto;
    height: 7rem;
}

.top_haikei_container {
    padding-bottom: 10rem;
}

.top_category_header {
    align-items: center;
    padding-bottom: 4.8rem;
}

.haikei_heading {
    width: 20rem;
}

.special_heading {
    font-size: 5.2rem;
}

.category_intro_text {
    padding-left: 3.6rem;
    font-size: 1.7rem;
    line-height: 1.5;
}

.post_list {
    margin: 0 -2.4%;
}

.post_list_item {
    width: calc(100% / 3);
    padding: 0 2.4% 6rem;
}

.post_list_img {
    margin: 0 0 2.4rem;
}

.post_list_link:hover {
    filter: grayscale(100%);
}

.haikei_who {
    font-size: 1.6rem;
    line-height: 1.3;
}

.haikei_who span {
    font-size: 80%;
}

.post_list_date {
    font-size: 1.5rem;
    color: #7E7C76;
}

.post_list_title {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 600;
    padding-top: 1rem;
}

#rssbox_special .post_list_item:nth-child(n+4) {
    display: none;
}

/* ----- 次世代支援ほか ----- */

.top_support_container {
    margin-top: 18rem;
}

.top_support_main {
    padding: 0 14% 4.8rem 8%;
    justify-content: space-between;
    align-items: flex-end;
}

.top_support_img {
    width: 50vw;
    margin-left: calc(50% - 50vw);
}

.top_support_header {
    flex-direction: row-reverse;
}

.top_support_heading_sub {
    font-size: 2rem;
    font-weight: 600;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    padding-left: 2.4rem;
}

.top_support_heading_main {
    width: 11rem;
}

.top_support_sub {
    padding: 22rem 16% 8rem 8%;
    background: #F2F1ED;
    justify-content: space-between;
    margin-left: 10%;
    margin-top: -22rem;
}

.top_support_text {
    width: 75%;
    font-size: 1.7rem;
    text-align: justify;
    line-height: 1.75;
}

.top_support_text p {
    margin-top: 2rem;
}

.top_support_logo_img {
    width: 11rem;
    padding-bottom: 1rem;
}

.top_support_logo_text {
    color: #870015;
    font-size: 1.5rem;
    text-align: center;
}

.bottom_link_list {
    padding-top: 10rem;
    justify-content: space-evenly;
}

.bottom_link_item {
    width: 35%;
    position: relative;
}

.bottom_link {
    display: block;
}

.bottom_link:hover {
    filter: grayscale(100%);
    text-decoration: none;
}

.bottom_link_body {
    padding-top: 2.6rem;
}

.bottom_link_heading {
    font-size: 2.2rem;
    font-weight: 600;
}

.top_pp_container {
    padding-top: 10rem;
    margin-bottom: -10rem;
}

.top_pp_slider img {
    width: 16rem !important;
}

/*----------------------------------------------------

スマートフォンのみ

----------------------------------------------------*/


@media screen and (max-width: 767px) {
    /* ----- 読み込み画面 ----- */

    #splash_logo img {
        width: 20rem;
    }

    /* ----- メインビジュアル ----- */

    .top_main_slider_text {
        top: 3%;
        right: 8%;
        font-size: 2.3rem;
    }

    .top_main_slider_text span {
        padding: .5rem .4rem 0rem;
        display: inline-block;
        margin: 0.4rem;
    }

    .top_main_slider {
        margin-right: calc(50% - 50vw);
        width: calc(100% + 2.2rem);
        height: calc(100vh - 11rem);
        height: calc(100svh - 11rem);
    }


    /* ----- お知らせ ----- */

    .top_news_container {
        padding-top: 4.8rem;
        padding-bottom: 6.4rem;
        align-items: flex-start;
    }

    .top_news_heading {
        font-size: 2.2rem;
        width: 70%;
        padding-right: 0;
        order: 1;
        margin-bottom: 2.8rem;
    }

    .news_list {
        width: 100%;
        order: 3;
    }

    .news_list_item {
        align-items: center;
    }

    .news_list_item + .news_list_item {
        margin-top: 1.6rem;
        border-top: 1px dotted #7E7C76;
        padding-top: 1.6rem;
    }

    .news_list_date {
        width: 26%;
        font-size: 1.3rem;
    }

    .news_list_category {
        width: fit-content;
        padding: 0 1.2rem;
        font-size: 1.2rem;
    }

    .news_list_title {
        width: 100%;
        font-weight: 600;
        padding-left: 0;
        font-size: 1.5rem;
        padding-top: 0.8rem;
    }

    .news_link_container {
        order: 2;
        width: 30%;
    }

    .news_link_all {
        margin-top: 0;
    }

    /* ----- アバウト ----- */

    .top_about_container {
        padding-top: 3rem;
        padding-bottom: 10rem;
        margin-bottom: 8rem;
    }

    .top_about_container::before {
        background-repeat: no-repeat;
        background-size: 300%;
    }

    .top_about_container::after {
        background: linear-gradient(180deg, rgba(242, 241, 237, 1) 0%, rgba(242, 241, 237, 1) 40%, rgba(242, 241, 237, 0.60) 60%, rgba(242, 241, 237, 0) 100%);
    }

    .top_about_inner {
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .top_about_logo {
        position: absolute;
        top: 3rem;
        left: 12%;
        width: 5rem;
        margin-top: 0;
        margin-left: 0;
    }

    .top_about_text {
        font-size: 1.7rem;
        line-height: 2;
        font-weight: 600;
        margin-bottom: 2.8rem;
    }

    .top_about_img {
        width: 100%;
        padding-top: 10rem;
        padding-bottom: 4rem;
    }

    .top_about_img img {
        display: block;
    }

    .top_about_img-1 {
        width: 64%;
        margin: 0 0 8% auto;
    }

    .top_about_img-2 {
        width: 80%;
    }

    .top_about_link {
        margin-left: 0;
    }

    .top_message_container {
        padding-top: 6rem;
    }

    .top_message_inner {
        width: 100%;
        padding: 4rem 2rem;
    }

    .top_message_body {
        width: 100%;
        padding: 0 1.2rem 4rem;
    }

    .top_message_heading_sub {
        font-size: 1.6rem;
        padding-bottom: 1.8rem;
    }

    .top_message_heading_main {
        width: 92%;
        margin-bottom: 4rem;
    }

    .top_message_img {
        width: 100%;
    }

    /* ----- HAIKEI・特集 ----- */
    .top_yomimono_container {
        padding-bottom: 10rem;
    }

    .top_main_heading {
        margin: 0 calc(50% - 50vw) 5.2rem;
    }

    .top_main_heading span {
        padding: 0 1.6rem;
    }

    .top_main_heading img {
        height: 4.4rem;
    }

    .top_haikei_container {
        padding-bottom: 7rem;
    }

    .top_category_header {
        padding-bottom: 3.2rem;
    }

    .haikei_heading {
        width: 12rem;
    }

    .special_heading {
        font-size: 3rem;
    }

    .category_intro_text {
        padding-top: 1.6rem;
        width: 100%;
        padding-left: 0;
        font-size: 1.5rem;
    }

    .post_list {
        margin: 0 -3%;
    }

    .post_list_item {
        width: calc(100% / 2);
        padding: 0 3% 2.8rem;
    }

    .post_list_img {
        margin: 0 0 1.6rem;
    }

    .haikei_who {
        font-size: 1.3rem;
    }

    .haikei_who span {
        font-size: 80%;
    }

    .post_list_date {
        font-size: 1.3rem;
    }

    .post_list_title {
        font-size: 1.7rem;
        padding-top: 1rem;
    }

    #rssbox_haikei .post_list_item:nth-child(1),
    #rssbox_haikei .post_list_item:nth-child(2) {
        width: 100%;
    }

    #rssbox_special .post_list_item:nth-child(1) {
        width: 100%;
    }

    .top_yomimono_container .link_button {
        margin-top: 2.4rem;
    }


    /* ----- 次世代支援ほか ----- */

    .top_support_container {
        margin: 10rem calc(50% - 50vw) 0;
    }

    .top_support_main {
        padding: 0 4.4rem 0;
    }

    .top_support_img {
        width: 100%;
        margin-left: 0;
    }

    .top_support_heading_sub {
        font-size: 1.6rem;
        padding-left: 2.4rem;
    }

    .top_support_heading_main {
        width: 9rem;
    }

    .top_support_sub {
        padding: 18rem 2.2rem 6rem;
        margin-left: 0;
        margin-top: -16rem;
    }

    .top_support_text {
        width: 100%;
        font-size: 1.5rem;
        padding-bottom: 4rem;
    }

    .top_support_text p {
        margin-top: 1.6rem;
    }

    .top_support_logo_img {
        width: 8.6rem;
        padding-bottom: .7rem;
    }

    .top_support_logo_text {
        font-size: 1.3rem;
    }

    .bottom_link_list {
        padding-top: 6.6rem;
    }

    .bottom_link_item {
        width: 100%;
    }

    .bottom_link_item + .bottom_link_item {
        padding-top: 4.4rem;
    }

    .bottom_link_body {
        padding-top: 1.8rem;
    }

    .bottom_link_heading {
        font-size: 1.8rem;
    }

    .top_pp_container {
        padding-top: 8rem;
        margin-bottom: -6rem;
    }

    .top_pp_slider img {
        width: 8rem !important;
    }

}
