@charset "UTF-8";

/* 共通 */
.fixed-bg {
    position: relative;
    min-height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
}

@media (min-width: 600px){
		.fixed-bg {
				min-height: 75vh;	
		}
}

@media (min-width: 768px){
	.fixed-bg {
		min-height: 75vh;
	}
}




/* 各タイトルの背景画像 */

/* index.html */
.fixed-bg.fixed-bg-1 {
    background-image: url("../images/background-image/cd-background-1.jpg");
		min-height: 80vh;
}

@media (min-width: 768px){
		.fixed-bg.fixed-bg-1 {
				min-height: 100vh;
	}
}

.fixed-bg.fixed-bg-2 {
    background-image: url("../images/background-image/cd-background-2.jpg");
		min-height: 70vh;
}

@media (max-width: 768px){
		.fixed-bg.fixed-bg-2 {
				min-height: 50vh;
		}
}

.fixed-bg.fixed-bg-3 {
    background-image: url("../images/background-image/cd-background-3.jpg");
		min-height: 70vh;
}

@media (max-width: 768px){
		.fixed-bg.fixed-bg-3 {
				min-height: 50vh;
		}
}

.fixed-bg.fixed-bg-4 {
    background-image: url("../images/background-image/cd-background-4.jpg");
		min-height: 70vh;
}

@media (max-width: 768px){
		.fixed-bg.fixed-bg-4 {
				min-height: 50vh;
		}
}

.fixed-bg.fixed-bg-5 {
    background-image: url("../images/background-image/cd-background-5.jpg");
		min-height: 70vh;
}

@media (max-width: 768px){
		.fixed-bg.fixed-bg-5 {
				min-height: 50vh;
		}
}

.fixed-bg.fixed-bg-6 {
    background-image: url("../images/background-image/cd-background-6.jpg");
		min-height: 70vh;
}

@media (max-width: 768px){
		.fixed-bg.fixed-bg-6 {
				min-height: 50vh;
		}
}

.fixed-bg.fixed-bg-6-2 {
    background-image: url("../images/background-image/cd-background-6-2.jpg");
		min-height: 70vh;
}

@media (max-width: 768px){
		.fixed-bg.fixed-bg-6-2 {
				min-height: 50vh;
		}
}

.fixed-bg.fixed-bg-7 {
    background-image: url("../images/background-image/cd-background-7.jpg");
		min-height: 70vh;
}

@media (max-width: 768px){
		.fixed-bg.fixed-bg-7 {
				min-height: 50vh;
		}
}

.fixed-bg.fixed-bg-8 {
    background-image: url("../images/background-image/cd-background-8.jpg");
		min-height: 70vh;
}

@media (max-width: 768px){
		.fixed-bg.fixed-bg-8 {
				min-height: 50vh;
		}
}

.fixed-bg-greet {
    background-image: url("../images/background-image/greet-top-2.jpg");
}

@media (min-width: 769px) {
		.fixed-bg-greet {
    		background-image: url("../images/background-image/greet-top.jpg");
		}
}

.fixed-bg-management-exam {
    background-image: url("../images/background-image/cd-background-6.jpg");
}

.fixed-bg-following-procedure {
    background-image: url("../images/background-image/cd-background-6-2.jpg");
}


.fixed-bg-column {
    background-image: url("../images/background-image/cd-background-column.jpg");
}

.fixed-bg-necessary-conditions {
    background-image: url("../images/background-image/cd-background-necessary-conditions.jpg");
}

.fixed-bg.fixed-bg-price {
    background-image: url("../images/background-image/cd-background-price.jpg");
}	

/* --------------- fixed-bg-content ----------------*/

.fixed-bg-content {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
    text-align: center;
    font-size: 3rem;
}

.fixed-bg h1 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: white;
}

.fixed-bg h2 {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
    text-align: center;
    font-size: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: white;
}


@media (min-width: 768px) {
    .fixed-bg h1 {
        font-size: 3.6rem;
    }
}

@media (min-width: 1170px) {
        /* fix bug on IE11 and below */
        .fixed-bg {
            background-attachment: fixed;
    }
}

.fixed-bg-1-text {
    position: absolute;
    text-align: center;
    margin: auto;
    color: #fff;
    font-size: 16px;
    top: 30px;
    left: 0;
    right: 0;
    bottom: 0;
}

/*---------------- scrolling-bg --------*/

.scrolling-bg {
    position: relative;
    min-height: 100%;
    padding: 4em 0;
    line-height: 1.6;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.scrolling-bg:last-of-type {
    box-shadow: none;
}

@media (min-width: 768px) {
    .scrolling-bg {
        padding: 3em 0;
        font-size: 1.1rem;
        line-height: 2;
        font-weight: 300;
    }
}

/*---------------- scrolling-bg__content --------*/

.scrolling-bg-content {
    width: 95%;
    max-width: 1024px;
    margin: 0 auto;
}

