@media screen and (min-width: 1025px) {
    .sp_on{display: none;}

    #mainArea{
        width: 1200px;
        margin: 8rem auto;
    }

    .main{
        background-color: #ffffff;
        box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .1);
        padding: 40px 60px;
    }

    .main .h1_style{
        font-size: 30px;
        text-align: left;
        font-weight: 600; 
        line-height: 36px;     
        margin: 20px 0 60px 0;
    }

    .main .h2_style{
        font-size: 24px;
        background-color: #d8e6dc;
        padding: 15px 20px;
        margin-bottom: 20px;
        margin-top: 30px;
        color: #111913; 
        font-weight: 500;
        font-family: "Zen Kaku Gothic New","Yu Gothic",
        "HiraKakuProN-W3","Hiragino Kaku Gothic ProN",
        "ヒラギノ角ゴ ProN W3","メイリオ",Meiryo,Osaka,
        "MS UI Gothic","ＭＳ Ｐゴシック","MS PGothic",
        sans-serif;
    }

    .main .h3_style{
        font-size: 22px;
        line-height: 40px;
        border-left: 5px solid #0a2c51;
        padding-left: 0.8em;
        margin-top: 3rem;
        margin-bottom: 1.5rem;
        color: #111913; 
    }

    #mainArea p{
        line-height: 2;
        font-size: 17px;
        padding: 10px 21px;
        font-weight: 500;
    }

    .date{
        padding: 0;
        font-size: 1rem;
    }

    .swiper {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden; 
    }
    
    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* #toggleBtn {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        z-index: 10;
    } */
}

/* タブレット */
@media screen and (max-width: 1024px) {
    .pc_on{
        display: none;
    }

    #mainArea{
        width: 100%;
        margin-top: 6rem;
        padding: 0 5px;
    }
     
    .main{
        width: 90%;
        margin: 0 auto;
        background-color: #ffffff;
        box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .1);
        padding: 20px;
    }
 
    .main .h1_style{
        font-size: 24px;
        text-align: left;
        font-weight: bold; 
        line-height: 36px;     
        margin: 20px 0;
        padding-left: 20px;
    }
 
    .main .h2_style{
        font-size: 22px;
        background-color: #d8e6dc;
        padding: 15px 20px;
        margin-bottom: 20px;
        margin-top: 30px;
        color: #111913; 
        font-weight: 500;
        font-family: "Zen Kaku Gothic New","Yu Gothic",
        "HiraKakuProN-W3","Hiragino Kaku Gothic ProN",
        "ヒラギノ角ゴ ProN W3","メイリオ",Meiryo,Osaka,
        "MS UI Gothic","ＭＳ Ｐゴシック","MS PGothic",
        sans-serif;
    }
 
    .main .h3_style{
        font-size: 20px;
        line-height: 40px;
        border-left: 5px solid #0a2c51;
        padding-left: 0.8em;
        margin-top: 20px;
        margin-bottom: 8px;
        color: #111913; 
    }

    p{
        font-size: 1rem!important;
    }
 
    #mainArea p{
        line-height: 2;
        font-weight: 500;
        padding: 10px 21px;
    }

    .swiper {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden; 
    }
    
    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* スマホ */
@media screen and (max-width: 599px) {
    .pc_on{display: none;}

    #mainArea{
       width: 100%;
       margin-top: 4rem;
       padding: 0 5px;
    }

    .main{
        width: 90%;
        background-color: #ffffff;
        box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .1);
        padding: 20px;
    }

    .main .h1_style{
        font-size: 22px;
        text-align: left;
        font-weight: bold; 
        line-height: 36px;     
        margin: 20px 0;
    }

    .main .h2_style{
        font-size: 22px;
        background-color: #d8e6dc;
        padding: 15px 20px;
        margin-bottom: 20px;
        margin-top: 30px;
        color: #111913; 
        font-weight: 500;
        font-family: "Zen Kaku Gothic New","Yu Gothic",
        "HiraKakuProN-W3","Hiragino Kaku Gothic ProN",
        "ヒラギノ角ゴ ProN W3","メイリオ",Meiryo,Osaka,
        "MS UI Gothic","ＭＳ Ｐゴシック","MS PGothic",
        sans-serif;
    }

    .main .h3_style{
        font-size: 18px;
        line-height: 40px;
        border-left: 5px solid #0a2c51;
        padding-left: 0.8em;
        margin-top: 20px;
        margin-bottom: 8px;
        color: #111913; 
    }

    #mainArea p{
        line-height: 2;
        font-weight: 500;
        padding: 10px 21px;
    }
}