@charset "utf-8";

#header {
    box-shadow:0 1px 3px rgba(0,0,0,.15);    
}

#main {
    /* padding-bottom: 150px; */
}


.titlewrap {
    h1 {
        width:calc(100% - 60px);
        max-width:1100px;
        margin:0 auto;
        font-size:1.4rem;
        display:grid;
        grid-row-gap:.66em;
        padding:2em 0 4em;
        font-weight:500;
        span {
            font-size:4.4rem;
            font-weight:500;
            &:first-letter {
                font-size:1.2em;
            }
        }
    }
}

.breadcrumbs {
    .aioseo-breadcrumbs {
        width:calc(100% - 60px);
        max-width:1100px;
        margin:0 auto;
        padding:1.5em 0;
        font-size:1.4rem;
        line-height:1.2;
    }
}

.pagenavi {
    padding-top:60px;
    .screen-reader-text {
        display:none;
    }
    .page-numbers {
        display:flex;
        align-items:start;
        justify-content:center;
        gap:.5em .33em;
        li {
            a,span {
                background-color:#f1f1f1;
                color:#000000;
                font-size:1.2rem;
                min-height:2em;
                line-height:2;
                min-width:2em;
                padding:0 .5em;
            }
        }
        .current {
            font-weight:700;
        }
    }
}

section {
    .wrap {
        padding-bottom:120px;
        .contents {
            h2 {
                font-size:2.8rem;
                text-align:center;
                font-weight:500;
                letter-spacing:.1em;
                line-height:1.5;
                margin-bottom:1em;
            	/* font-family: "Noto Serif", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif; */
            }
        }
    }
}

#p404 {
    .wrap {
        .contents {
            p {
                text-align: center;
                a {
                    text-decoration: underline;
                }
            }
        }
    }
}

@media ( hover:hover ){
    
}


/* =================================================================
    section
================================================================= */


@media screen and (max-width:1200px){

}

@media screen and (max-width:1024px){
    
    .titlewrap {
        h1 {
            width:calc(100% - 50px);
        }
    }

    section {
        .wrap {
            padding-bottom:90px;
        }
    }
    
    .breadcrumbs {
        .aioseo-breadcrumbs {
            width:calc(100% - 50px);
        }
    }
}

@media screen and (max-width:768px){
    
    #main {
        /* padding-bottom: 90px; */
    }
    
    .titlewrap {
        h1 {
            width:calc(100% - 40px);
            font-size:1.3rem;
            padding:2em 0 3em;
            span {
                font-size:3.2rem;
            }
        }
    }

    section {
        .wrap {
            padding-bottom:60px;
            .contents {
                h2 {
                    font-size:2.2rem;
                }
            }
        }
    }
    
    .breadcrumbs {
        .aioseo-breadcrumbs {
            width:calc(100% - 40px);
            padding:1em 0;
            font-size:1.2rem;
        }
    }
    
    .pagenavi {
        padding-top:45px;
        .page-numbers {
            font-size:1.4rem;
        }
    }
}