@charset "UTF-8";
body{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background-image: radial-gradient(#ffff1a 16%, transparent 21%), radial-gradient(#ffff1a 16%, transparent 21%);
    background-position: 0 0, 4px 4px;
    background-size: 8px 8px;
    Overflow-x: hidden
}
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 待機期間 */
h1 {
    text-align: center;
    background-color: #A2E288;
    box-shadow: 5px 10px 0 #225966;
    border: 2px solid #225966;
    color: #FFF799;
    margin: 50px;
    padding: 10px 0;
    text-shadow: 1px 1px 0px #225966, -1px -1px 0px #225966, -1px 1px 0px #225966, 1px -1px 0px #225966, 1px 0px 0px #225966, -1px 0px 0px #225966, 0px 1px 0px #225966, 0px -1px 0px #225966;
}

/* 待機期間　タイトル */
.taiki{
    width: 90%;
    margin: 4rem auto;
    background-color: #fff;
    padding: 3rem 0;
    border:2px solid #225966;
    border-radius: 10px;
}

.kikan{
    width: 85%;
    margin: 0 auto;
}

.moushikomibi{
    text-align: center;
}

.moushikomibi P{
    font-size: 34px;
    color: #225966;
    margin:20px 2rem;
}

.highlight {
    background: linear-gradient(to bottom, transparent 50%, yellow 50%);
}

.pink{
    background: linear-gradient(to bottom, transparent 50%, pink 50%);
}

/* 待機期間　画像 */
.hosyo-kaishi{
    width: 70%;
    margin: 0 auto 3rem;
}

.hosyo-kaishi img{
    width:100%;
}

/* 学校あんしん保険へ戻る */
.gakko-button{
    display: flex;
    justify-content: center;
    align-items: center;
}

.modoru-button {
    margin: 50px 0;
    display: inline-block;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
    padding: 20px 100px;
    background: #A2E288;
    color: #225966;
    line-height: 1em;
    transition: .3s;
    box-shadow: 15px 15px #225966;
    border: 3px solid #225966;
}

.modoru-button:hover{
    background: #fff; 
    color: #225966; 
    box-shadow: none; 
}

/* コピーライト */
.copyright {
    background-color: #a2e288;
    text-align: center;
    grid-column-start: left;
    grid-row-start: auto;
}

.copyright p {
    margin: 0;
    padding: 10px;
    color: #3b3d3f;
    font-size: 14px;
}

/* フッターメニュー */
.menu {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-row-gap: 0;
    grid-column-start: left;
    grid-column-end: right;
    grid-row-start: auto;
    margin: 100px 0 0;
    padding: 0;
    list-style: none;
    background-color: #FFF799;
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #225966;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border: 1px solid #225966;
    border-top: 2px solid #225966;
    border-bottom: 2px solid #225966;
}
.menu a:hover{
    background-color: #ffef45;
}

@media (max-width: 1100px) {
    /* 待機期間　タイトル */
    .taiki{
        margin: 3rem auto;
        padding: 0;
    }

    h1 {
        margin: 35px;
        margin-bottom: 3rem;
    }
    
}


@media (max-width: 768px) {
     /* 待機期間 */
     h1 {
        text-align: center;
        background-color: #A2E288;
        box-shadow: 5px 10px 0 #225966;
        border: 2px solid #225966;
        color: #FFF799;
        font-size: 14px;
        margin: 20px 20px 40px;
        padding: 10px 0;
        text-shadow: 1px 1px 0px #225966, -1px -1px 0px #225966, -1px 1px 0px #225966, 1px -1px 0px #225966, 1px 0px 0px #225966, -1px 0px 0px #225966, 0px 1px 0px #225966, 0px -1px 0px #225966;
    }
    
    .taiki{
        margin: 2rem auto;
    }

    
    .moushikomibi{
        text-align: center;
    }
    
    .moushikomibi P{
        font-size: 14px;
        color: #225966;
        margin:20px;
    }
    
    .pink{
        background: linear-gradient(to bottom, transparent 50%, pink 50%);
    }
    
    /* 待機期間　画像 */
    .hosyo-kaishi{
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .hosyo-kaishi {
        width:90%;
    }
    
    .hosyo-kaishi img{
        width:100%;
    }
    
    /* 学校あんしん保険へ戻る */
    .gakko-button{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .modoru-button {
        margin: 50px 0;
        display: inline-block;
        font-size: 15px;
        font-weight: 700;
        text-align: center;
        cursor: pointer;
        padding: 10px 50px;
        background: #A2E288;
        color: #225966;
        line-height: 1em;
        transition: .3s;
        box-shadow: 5px 5px #225966;
        border: 3px solid #225966;
    }
    
    .modoru-button:hover{
        background: #fff; 
        color: #225966; 
        box-shadow: none; 
    }

    /* お問い合わせ */
    .otoiawase {
        padding: 50px 0;
    }

    .otoiawase p {
        font-size: 20px;
    }

    .otoiawase img {
        width: 60%;
    }

    .panf img {
        width: 60%;
    }

    .t-strong {
        font-size: 30px;
    }

    /* フッターメニュー */
    .menu {
        grid-template-columns: 1fr 1fr;
    }

    .menu a {
        padding: 10px 0;
        font-size: 13px;
        border-bottom: 1px;
    }
}

@media (max-width:440px) {
    /* 待機期間 */
    h1 {
        font-size: 9px;
        margin: 10px 10px 20px;
        padding: 5px 0;
        box-shadow: 3px 6px 0 #225966;
    }

    /* 待機期間タイトル */
    .taiki {
        margin: 0 10px;
        padding: 15px 0;
    }

    .moushikomibi p {
        font-size: 12px;
        margin: 10px;
    }

    /* 待機期間　画像 */
    .hosyo-kaishi img {
        width: 100%;
        max-width: 300px;
    }

    /* 学校あんしん保険へ戻るボタン */
    .modoru-button {
        font-size: 12px;
        padding: 8px 30px;
        margin: 30px 0;
        box-shadow: 3px 3px #225966;
    }
    
    .modoru-button:hover{
        background: #fff; 
        color: #225966; 
        box-shadow: none; 
    }

    /* 問い合わせ*/
    .otoiawase {
        padding: 20px 0;
        text-align: center;
    }

    .otoiawase p {
        font-size: 16px;
        margin: 10px 0;
    }

    .otoiawase img {
        width: 80%;
        max-width: 300px;
    }

    .panf img {
        width: 80%;
        max-width: 300px;
    }

    .t-strong {
        font-size: 20px;
    }

    /* コピーライト */
    .copyright p {
        margin: 0;
        padding: 10px;
        color: #3b3d3f;
        font-size: 9px;
    }

    /* フッターメニュー */
    .menu {
        grid-template-columns: 1fr 1fr;
        margin: 30px 0 0;
    }

    .menu a {
        font-size: 10px;
        border-bottom: 1px solid #ccc;
    }
}