@charset "utf-8";

/* レイアウト */
#mymainback {
    width: 100%;
    padding: 0;
}
#container {
    overflow-x: hidden;
}
.tpl_side1 #main {
    width: 100%;
}
.tpl_side1 #main_a {
    padding: 0;
}

/* 共通 */
.tpl_site_index img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
.tpl_site_index h2 {
    margin: 0 auto 34px;
    font-size: 4.2rem;
    font-family: var(--fontfamily-maru);
    text-align: center;
}
#footstep_wrap {
    display: none;
}
.inner {
    width: 96%;
    max-width: 1080px;
    margin: 0 auto;
}

/*=== お知らせ ===*/
.information {
    position: relative;
    z-index: 2;
    background: #E6FAEF;
    margin: 0;
    padding: 50px 0 70px;
}
.information:before,
.information:after {
    content: "";
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 12px;
    background-size: auto 100%;
    background-repeat: repeat-x;
    background-image: url("/img/site/iju/information_bg_top.png");
}
.information:before {
    top: -12px;
}
.information:after {
    bottom: -12px;
    background-image: url("/img/site/iju/information_bg_bottom.png");
}
.subsite-main .section_information {
    margin: 0;
}
.subsite-main .section_information h2 {
    padding: 0;
    background: transparent;
    font-size: 4.2rem;
    margin: 0 0 34px;
}
.section_information_contents {
    display: flex;
    justify-content: space-between;
}

/* 新着 */
.section_information_list {
    flex-grow: 1;
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    list-style: none;
}
.section_information_list li {
    display: flex;
    margin: 0 0 25px;
}
.section_information_list li:last-child {
    margin-bottom: 0;
}
.section_information_list a {
    color: #333;
    text-decoration: none;
}
.section_information_list .article_date {
    flex-shrink: 0;
    margin: 0 10px 0 0;
}

/* ボタン */
.section_information .link_box {
    display: block;
    width: 212px;
    flex-shrink: 0;
    margin: 0 0 0 10px;
}
.section_information .link_box > span {
    display: block;
    padding: 7px;
    border: 2px solid #00823B;
    border-radius: 44px;
    background-color: #fff;
    text-align: center;
    margin: 0 0 10px;
}
.section_information .link_box > span:last-child {
    margin-bottom: 0;
}
.section_information .link_box span.view--pc {
    display: inline-block;
}
.section_information .link_box > span a {
    font-weight: bold;
    color: #00823B;
    text-decoration: none;
}


/*=== 見出し ===*/
.main_contents h2 span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

}
.main_contents h2 span:before,
.main_contents h2 span:after {
    content: "";
    display: block;
    width: 60px;
    height: 39px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("/img/site/iju/title_deco_left.png");
    padding: 0 25px;
}
.main_contents h2 span:after {
    background-image: url("/img/site/iju/title_deco_right.png");
}


/*=== メイン ===*/
.main_contents {
    position: relative;
    z-index: 2;
    top: -30px;
}


/*=== bunrui ===*/
.bunrui {
    position: relative;
    z-index: 3;
    padding: 143px 0 120px;
}
.bunrui:before {
    content: "";
    display: block;
    width: 100%;
    height: 255px;
    background-image: url(/img/site/iju/bunrui-top-pc.png);
    background-size: auto 100%;
    background-position: top center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}
.bunrui_box {
    position: relative;
    margin: 0 0 128px;
}
.bunrui_box:last-child {
    margin-bottom: 0;
}
.bunrui_box:after {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    width: 150px;
    height: 134px;
    position: absolute;
}
.bunrui_box:nth-child(1):after {
    top: 0;
    right: -207px;
    background-image: url("/img/site/iju/bunrui_img-1.png");
}
.bunrui_box:nth-child(2):after {
    width: 194px;
    height: 172px;
    bottom: -94px;
    right: -57px;
    background-image: url("/img/site/iju/bunrui_img-2.png");
}
.bunrui_contents {
    display: flex;
    justify-content: center;
    gap: 23px;
}
.bunrui_contents .free_box {
    width: calc(100% / 3 - 12px);
}

/*=== おすすめ ===*/
#sidebar_recommend {
    position: relative;
    padding: 24px 0 46px;
    border-top: 10px solid #E6FAEF;
    border-bottom: 10px solid #E6FAEF;
    margin: 0 0 80px;
}
#sidebar_recommend:after {
    content: "";
    display: block;
    width: 240px;
    height: 197px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("/img/site/iju/recommend_deco.png");
    position: absolute;
    bottom: -80px;
    left: -109px;
}
#recommend_title,
#ai_recommend_title {
    background: none;
    border: none;
    margin: 0 0 10px;
}
#recommend_title h2,
#ai_recommend_title h2 {
    padding: 13px 0px 13px 48px;
    font-size: 2.2rem;
}
#recommend_title h2 {
    background: url(/img/site/iju/icon_recommend.png) no-repeat left center transparent;
    background-size: 38px auto;
}
#recommend_title h2 span,
#ai_recommend_title h2 span {
    display: inline;
    color: #333;
}
#sidebar_recommend ul,
#sidebar_ai_recommend ul {
    border: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 15px 25px;
    max-width: 778px;
    margin: 0 auto;
    padding: 0;
}
#sidebar_recommend ul li, 
#sidebar_ai_recommend ul li {
    width: auto;
    display: inline-block;
    padding-left: 0;
    text-indent: 0;
}
#sidebar_recommend ul li a:before, 
#sidebar_ai_recommend ul li a:before {
    content: none;
}



/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {
    #mymainback {
        margin: 0;
    }

    .inner {
        width: 89.3%;
    }

    /*=== お知らせ ===*/
    .information {
        padding: 40px 0;
    }
    .information:before,
    .information:after {
        height: 8px;
    }
    .information:before {
        top: -8px;
    }
    .information:after {
        bottom: -8px;
    }
    .subsite-main .section_information h2 {
        font-size: 2.4rem;
        margin: 0 auto 18px;
    }
    .section_information_contents {
        display: block;
    }

    /* 新着 */
    .section_information_list li {
        display: block;
        margin: 0 0 20px;
    }
    .section_information_list .article_date {
        display: block;
        margin: 0;
    }

    /* ボタン */
    .section_information .link_box {
        width: auto;
        margin: 20px auto 0;
        display: flex;
        justify-content: center;
    }
    .section_information .link_box > span {
        display: inline-block;
        padding: 3px 20px;
        border-radius: 33px;
        margin: 0 12px 0 0;
    }
    .section_information .link_box > span:last-child {
        margin-right: 0;
    }
    .section_information .link_box span.view--pc {
        display: none;
    }


    /*=== 見出し ===*/
    .tpl_site_index h2 {
        margin-bottom: 16px;
    }
    .main_contents h2 span {
        font-size: 2.4rem;
    }
    .main_contents h2 span:before,
    .main_contents h2 span:after {
        width: 36px;
        height: 24px;
        padding: 0 16px;
    }
    /* 文字拡大時 */
    .font_size_changed .main_contents h2 span {
        letter-spacing: 0;
    }


    /*=== メイン ===*/
    .main_contents {
        top: -20px;
    }
    .main_contents:before {
        content: "";
    }


    /*=== bunrui ===*/
    .bunrui:before {
        height: 128px;
        background-image: url(/img/site/iju/bunrui-top-sp.png);
        background-position: top left;
    }
    .bunrui_contents {
        flex-wrap: wrap;
        max-width: 800px;
        margin: 0 auto;
    }
    .bunrui_contents .free_box {
        width: calc(100% / 2 - 12px);
    }
    .bunrui_contents .free_box img {
        width: 100%!important;
    }
    .bunrui_box:nth-child(1):after {
        width: 75px;
        height: 67px;
        right: 0;
        top: auto;
        bottom: -70px;
    }
    .bunrui_box:nth-child(2):after {
        width: 97px;
        height: 86px;
        bottom: -90px;
        right: 0;
    }


    /*=== おすすめ ===*/
    #sidebar_recommend {
        padding: 30px 0 45px;
        margin: 0 0 66px;
    }
    #sidebar_recommend:after {
        width: 120px;
        height: 98px;
        bottom: -66px;
        left: 0;
    }
    #recommend_title,
    #ai_recommend_title {
        margin: 0 0 10px;
    }
    #recommend_title h2,
    #ai_recommend_title h2 {
        display: inline-flex;
        flex-direction: column;
        padding: 13px 0px 13px 55px;
        font-size: 1.6rem;
    }
    #recommend_title h2 {
        background-size: 43px auto;
    }
    #recommend_title h2 span,
    #ai_recommend_title h2 span {
        display: inline-block;
    }
    #sidebar_recommend ul,
    #sidebar_ai_recommend ul {
        gap: 11px 25px;
    }
    /* 文字拡大時 */
    .font_size_changed #recommend_title h2,
    .font_size_changed #ai_recommend_title h2 {
        display: block;
    }
    .font_size_changed #recommend_title h2 span,
    .font_size_changed #ai_recommend_title h2 span {
        display: inline;
    }
}

@media screen and (max-width: 768px) {
    /*=== bunrui ===*/
    .bunrui {
        padding: 106px 0 96px;
    }
    .bunrui_box {
        margin: 0 0 100px;
    }
    .bunrui_contents {
        display: block;
        max-width: 500px;
    }
    .bunrui_contents .free_box {
        width: 100%;
        margin: 0 0 15px;
        text-align: center;
    }
    .bunrui_contents .free_box:last-child {
        margin-bottom: 0;
    }
}

/* ==================================================
スマートフォン ここまで
================================================== */