body{
    margin: 0;
    padding: 0;
    max-width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
}

h1{
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin: 0px 0px 8px 0px;
}

.lead{
    width: 325px;
    margin: 0 auto;
}

h2{
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 8px auto;
}

span{
    display: block;
    border-bottom: solid 2px #1158AB;
    width: 277px;
    margin: 0 auto;
}

h3{
    font-size: 14px;
    font-weight: bold;
    color: #494F55;
    padding: 0;
    margin: -6px 0px;
}

h4{
    font-size: 16px;
    font-weight: bold;
    color: #020303;
    padding: 0;
    margin: 6px 0px;
}

.introduction p{
    font-size: 12px;
    font-weight: 400;
    color: #494F55;
    margin: 8px auto;
}

.chapter-text p{
    font-size: 12px;
    font-weight: 400;
    color: #494F55;
    padding: 0;
    margin: 4px 0px;
    line-height: 160%;
    height: 60px;
}

header{
    background-color: #1158AB;
    height: 40px;
    line-height: 44px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}

.logo{
    /*vertical-align: middle;*/
    margin-left: 10px;
    margin-top: 5px;
}

a{
    text-decoration: none;
}

.introduction{
    text-align: center;
    align-items: center;
    width: 100%;
    height: 173px;
    margin: 0px;
    padding-top: 16px;
}

.container{
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    margin: -24px 16px;
}

.wrapper{
    margin: 10px 16px;
    width: 288px;
    /*height: 368px;*/
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.08);
    border-radius: 0px 0px 16px 16px;
}
.thumb{
    width: 288px;
}

.article{
    margin: 16px;
    flex-wrap: wrap;
    align-items: stretch;
    height: 176px;
}

.btn{
    font-size: 14px;
    font-weight: bold;
    color: #0058BD;
    line-height: 160%;
    height: 38px;
    border: solid;
    border-width: 1px;
    border-radius: 54px;
    border-color: #0058BD;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0px;
    transition: background-color 0.5s;
}

.btn::after{
    content: url("../img/arrow.svg");
    padding: 4px;
    width: 12px;
    height: 12px;
    line-height: 12px;
}

.btn:hover{
    background-color: #E8F3FF;
}

footer{
    font-family: "Hiragino Sans";
    font-size: 12px;
    font-weight: 300;
    color: #494F55;
    /*height: 140px;*/
    text-align: center;
    line-height: 20px;
    margin-top: 40px;
    background-color: #f2f2f3;
    padding: 20px;
}

footer a{
    color: #0070F0;
    text-decoration: underline;
}


@media screen and (min-width: 481px) {
    h1{
        font-size: 36px;
    }
    h2{
        font-size: 20px;
    }
    .introduction{
        width: 100%;
        overflow: wrap;
    }
    .introduction{
        padding-top: 40px;
    }
    .introduction p{
        font-size: 14px;
        margin: 8px auto;
    }
    .container{
        margin: 0px 0px;
    }
    h3{
        margin: 6px 0px;
    }
    .wrapper{
        margin: 16px;
    }
    .chapter-text p{
        font-size: 14px;
        margin: 8px 0px;
        height: 66px;
}
    .footer-sp{
        display: none;
    }
    .footer-pc{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
     .footer-pc-text{
        position: relative;
        display: inline-block;
        margin: 1.5em 30px 1.5em 30px;
        padding: 16px 30px;
        min-width: 120px;
        max-width: 100%;
        background: #FFF;
        border: solid 3px #ccced1;
        box-sizing: border-box;
        border-radius: 15px;
    }
    .footer-pc-text:before {
        content: "";
        position: absolute;
        top: 50%;
        right: -24px;
        margin-top: -12px;
        border: 12px solid transparent;
        border-left: 12px solid #FFF;
        z-index: 2;
    }
    .footer-pc-text:after {
        content: "";
        position: absolute;
        top: 50%;
        right: -30px;
        margin-top: -14px;
        border: 14px solid transparent;
        border-left: 14px solid #ccced1;
        z-index: 1;
    }
}


@media screen and (max-width: 480px) {
    .introduction{
        width: 100%;
        overflow: wrap;
    }
    .footer-pc{
        display: none;
    }
    .footer-sp-text{
        position: relative;
        display: inline-block;
        margin: 1.5em 0;
        padding: 16px 30px;
        min-width: 120px;
        max-width: 100%;
        background: #FFF;
        border: solid 3px #ccced1;
        box-sizing: border-box;
        border-radius: 15px;
    }
    .footer-sp-text:before {
        content: "";
        position: absolute;
        bottom: -24px;
        left: 50%;
        margin-left: -15px;
        border: 12px solid transparent;
        border-top: 12px solid #FFF;
        z-index: 2;
    }
    .footer-sp-text:after {
        content: "";
        position: absolute;
        bottom: -30px;
        left: 50%;
        margin-left: -17px;
        border: 14px solid transparent;
        border-top: 14px solid #ccced1;
        z-index: 1;
    }
    .icon {
        /*margin: 0px 0px 40px 120px;*/
    }

}