@charset "UTF-8";

.bg-scroll {
    background: url(../images/certification/certification.jpeg) fixed center center;
    padding-top: 250px;

    min-height: 60vh;
    min-width: 100vw;
    height: 60%;
    min-width: 100%;
    width: auto;
    height: auto;
    background-size: cover;
    display: flex;
    position: relative;
}


h1 {
    font-size: 3.4rem;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

    color: #3e3a39;
    text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff;
}

h1 span {
    font-size: 1.3rem;
    font-family: "Noto Serif", serif;
    text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff;
    display: block;
}

.anchor {
    text-align: center;
    margin-top: 75px;
}

.anchor li {
    display: inline-block;
    text-align: center;
}

.anchor li span {

    display: block;
    font-size: 0.6rem;
}

.anchor li a {
    font-family: "Noto Serif", serif;
}

.anchor li + li {
    padding-left: 100px;
}

.anchor a::after {
    content: url("../images/arrow-down.png");
    display: block;
    position: relative;
    transition: bottom 1s ease-in-out;
}

.anchor a:hover::after {
    bottom: -5px;
}

.page-contents {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.page-contents h2 {
    margin-top: 3rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: left;
    font-family: "Noto Serif", serif;
}
.page-contents h3 {
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-align: left;
    font-family: "Noto Serif", serif;
}
.page-contents h2 + h3 {
    margin-top: 0;
}
.page-contents > p {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.8;
}
.page-contents p a {
    color: #0000EE;
    text-decoration: underline;
}
.page-contents ul {
    list-style: disc;
    padding-left: 1.8rem;
}
.page-contents img {
    margin-bottom: 1rem;
}


/* 768px以上の表示領域（タブレット） */
@media screen and (max-width: 1000px) {

    h1 {

        top: 40%;

    }

    .bg-scroll {
        background-attachment: inherit;
        margin-top: 175px;
        min-height: 1vh;

    }

}

/* 767px以下の表示領域（スマホ） */
@media only screen and (max-width: 767px) {

    h1 {
        font-size: 2.2rem;

        width: fit-content;
    }

    .bg-scroll {
        margin-top: 104px;
    }


    h1 span {
        font-size: 0.8rem;
    }

    .anchor li a {
        font-size: 10px;
    }

    .anchor li + li {
        padding-left: 20px;
    }

    .page-contents h2 {
        font-size: 1.3rem;
    }
    .page-contents h3 {
        font-size: 1.1rem;
    }
}
