/* ページ上部お知らせ掲載用CSS */
html {
    font-size: 62.5%;
}

a {
    text-decoration: none;
}

body.notice_body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Meiryo, メイリオ, "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "Hiragino Kaku Gothic ProN", sans-serif;
}
.included-section {
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 0;
    justify-items: start;
    margin: 0 auto;
    padding: 15px;
    background: #D2D6F1;
}

.included-section p {
    margin: 0;
    text-align: left;
}
        
.included-section .include-ttl {
    width: 100%;
    font-size: clamp(1.4rem, 3.7vw, 2rem);
    grid-area: 1 / 1 / 2 / 2 ;
}

.included-section .include-txt {
    font-size: 1.5rem;
    grid-area: 2 / 1 / 3 / 2;
}

.included-section .include-btn {
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
}

.included-section .include-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 100%;
    margin: 0;
    padding: 0 2rem;
    background-color: #78206E;
    border-radius: 5px;
    color: #FFF;
    font-size: 16px;
    line-height: 1;
    transition: .3s ease-in-out;
}
            
.included-section .include-btn a:hover {
    background-color: #004391;
    color: #FFF;
    text-decoration: none;
}

.included-section .include-btn span {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
}


/* 旧デザイン */

.included-section {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    align-items: center;
}
.included-section .include-btn {
    grid-area: 1 / 2 / 3 / 3;
}


/* 新デザイン */

.notice-target_newDesign {

    .included-section {
        display: block;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        padding: 15px;
        box-sizing: border-box;

        .include-ttl {
            font-size: 1.6rem;
            text-align: center;
        }

        .include-btn {
            margin-top: 1rem;
        }

        @media (min-width: 700px) {
            display: grid;
            grid-template-columns: 1fr auto;
            grid-template-rows: 1fr auto;
            align-items: center;
            max-width: 1130px;
            
            .include-ttl {
                text-align: left;
                grid-area: 1 / 1 / 2 / 2 ;
            }

            .include-txt {
                grid-area: 2 / 1 / 3 / 2;
            }

            .include-btn {
                margin-top: 0;
                grid-area: 1 / 2 / 3 / 3;
            }
        }
    }
}


