@charset "utf-8";

body {
    width: 100%;
    height: auto;
}

img {
    width: 100%;
    height: auto;
    margin-top: 5%;

}

.text_1 {
    /*    position: absolute;*/
    display: block;
    top: 40%;
    left: 20%;
    right: 20%;
    font-weight: bold;
    /*    margin: 0 auto;*/
    text-align: center;
    font-size: 1.5rem;
}

.text_2 {
    /*    position: absolute;*/
    display: block;
    top: 55%;
    left: 20%;
    right: 20%;
    font-weight: bold;
    /*    margin: 0 auto;*/
    text-align: center;
    font-size: 1.1rem;
}

.btntextchange {
    /*    position: absolute;*/
    display: block;
    /*ボタンの形状*/
    border: 1px solid #fff;
    border-radius: 25px;
    min-width: 210px;
    padding: 30px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    outline: none;
    transition: all .2s;
    background: #2C447D;
    font-weight: bold;
    top: 67%;
    left: 40%;
    right: 40%;
    text-align: center;
    margin: 0 auto;
}

.btntextchange:hover {
    background: #333;
    color: #fff;
}

.btntextchange span {
    /*    position: absolute;*/
    display: block;
    left: 50%;
    top: 50%;
    /*    transform: translate(-50%, -50%);*/
    /*    transition: all .5s;*/
    display: block;
    white-space: nowrap;
}

.btntextchange span:nth-child(2) {
    opacity: 0;
}

.btntextchange:hover span:nth-child(1) {
    opacity: 0;
}

.btntextchange:hover span:nth-child(2) {
    opacity: 1;
}

.center01 {
    margin: 0 auto;
    text-align: center;
}



.btn,
a.btn,
button.btn {
    /*    font-size: 1.6rem;*/
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

.btn--orange,
a.btn--orange {
    color: #fff;
    background-color: #2C447D;
}

.btn--orange:hover,
a.btn--orange:hover {
    color: #fff;
    background: #000;
}

a.btn--radius {
    border-radius: 100vh;
}




/*pc表示*/
@media screen and (min-width: 768px) {
    .pc {
        display: block;
    }

    .sp {
        display: none;
    }
}

/*sp表示*/
@media screen and (max-width: 767px) {
    body {
        width: 100%;
        height: auto;
    }

    img {
        width: 100%;
        height: auto;
        margin-top: 0%;

    }

    .text_1 {
        /*        font-size: 1.6rem;*/
        /*        position: absolute;*/
        display: block;
        top: 20%;
        left: 20%;
        right: 20%;
        font-weight: bold;
        /*    margin: 0 auto;*/
        font-size: 1.3rem;
    }

    .text_2 {
        font-size: 0.9rem;
        /*        position: absolute;*/
        display: block;
        top: 40%;
        left: 10%;
        right: 10%;
        font-weight: bold;
        /*    margin: 0 auto;*/
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .btntextchange {
        /*        position: absolute;*/
        display: block;
        /*ボタンの形状*/
        border: 1px solid #fff;
        border-radius: 25px;
        min-width: 210px;
        padding: 30px;
        text-align: center;
        display: inline-block;
        text-decoration: none;
        color: #fff;
        outline: none;
        transition: all .2s;
        background: #2C447D;
        font-weight: bold;
        top: 43%;
        left: 15%;
        right: 15%;
    }

    .btntextchange:hover {
        background: #333;
        color: #fff;
    }

    .btntextchange span {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        transition: all .5s;
        display: block;
        white-space: nowrap;
    }

    .btntextchange span:nth-child(2) {
        opacity: 0;
    }

    .btntextchange:hover span:nth-child(1) {
        opacity: 0;
    }

    .btntextchange:hover span:nth-child(2) {
        opacity: 1;
    }
}
