@charset "utf-8";


.mainVisual {
    position: absolute;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -5;
}

.mainVisual video {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 100%;
    z-index: -100;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#background_video {
    min-height: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#background_video2 {
    min-height: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#video_cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('video_cover.jpeg') no-repeat;
    background-size: cover;
    background-position: center;
}

p {
    font-family: moji;
}

body {
    background-color: #F4F4F4;
    margin: 0;
    font-family: fot-tsukubrdgothic-std, sans-serif;
    font-weight: 400;
    font-style: normal;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.header {
    background: rgba(166, 166, 166, 0.75);
    transition: all 0.5s ease;
}

.hidden {
    background: none;
    transition: all 0.5s ease;
}

.headA {
    display: inline-block;
    line-height: 70px;
    padding-left: 10px;
    padding-right: 10px;
    color: #fff;
    color: var;
    font-size: 40px;
    text-decoration: none;
    z-index: 9999;
}

.headB ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.headB a {
    display: block;
    padding: 15px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.headB a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.conA p {
    font-family: Verdana, Geneva, "sans-serif";
}

.conB img {
    margin-top: 0px;
}

.conB h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
}

.conB p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.conB img {
    width: 200px;
}

.conB a {
    color: #5D9AB2;
    text-decoration: none;
}

.conB .text {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
    text-align: center;
}

.conB .container {
    padding-top: 80px;
    padding-bottom: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media(min-width: 768px) {
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1000px;
        max-width: var;
        margin-left: auto;
        margin-right: auto;
    }

    .headB ul {
        display: flex
    }

    .conB .container {
        display: flex;
    }

    .conB .text {
        flex: 1;
    }
}

@media(max-width:767px) {
    header .container-small {
        display: flex;
        align-items: center;
        justify-content: space-between;

    }

    .headC {
        margin-right: 10px;
        padding: 0;
        border: none;
        outline: none;
        background: none;
        font-size: 28px;
        opacity: 1;
        cursor: pointer;
        color: #FFFFFF;
    }

    .headC:hover {
        opacity: 0.3;

    }

    .headB {
        display: none;
    }
}

@media(min-width:768px) {
    .headC {
        display: none;

    }

    .headB {
        display: block !important;
    }
}


.conA {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 450px;

    background-position: center;
    background-size: cover;
    text-align: center;
    z-index: 100;
}

.conA h1 {
    position: relative;
    margin-top: 40vh;
    margin-bottom: 0px;
    font-family: sata;
    font-size: 9vw;
    letter-spacing: 0.04em;
    margin-left: 0.1em;
    color: aliceblue;
    z-index: 200;
}

.conA p {
    position: relative;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 18px;
    color: aliceblue;
    z-index: 200;
}

@media (min-width:768px) {
    .conA h1 {
        font-size: 100px;
    }

    .conA p {
        font-size: 33px;
    }

}

.listA a {
    flex: 1;
    margin: 10px;
    display: block;
    border: solid 1px #FFFFFF;
    border: solid 1px var;
    color: inherit;
    text-decoration: none;
    background-color: #FFFFFF;
}

.listA h1 {
    font-size: 50px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0px;

}

.listA .container {
    flex-wrap: wrap;
    max-width: 1000px;
    max-width: var;
    margin: 30px auto;
}

.listA article {
    flex: 1 1 300px;
    display: flex;
}

.listA a:hover {
    opacity: 0.8;
}

.listA .photo {
    margin-top: 0px;
    min-height: 200px;
    background-image: url("../img/IMG_0984.jpg");
    background-position: center;
    background-size: cover;

}

.listA .photo2 {
    margin-top: 0px;
    min-height: 200px;
    background-image: url("../img/IMG_1984.jpg");
    background-position: center;
    background-size: cover;

}

.listA .photo3 {
    margin-top: 0px;
    min-height: 200px;
    background-image: url("../img/IMG_1750.jpg");
    background-position: center;
    background-size: cover;

}

.listA .photo4 {
    margin-top: 0px;
    min-height: 200px;
    background-image: url("../img/IMG_4144_1-2-1024x683.jpg");
    background-position: center;
    background-size: cover;
}

.listA .photo5 {
    margin-top: 0px;
    min-height: 200px;
    background-image: url("../img/4a766797b4c49630bc4e61893b247be3-1-768x576.jpg");
    background-position: center;
    background-size: cover;
}

.listA .photo7 {
    margin-top: 0px;
    min-height: 200px;
    background-image: url("../img/中川先生3.jpg");
    background-position: center;
    background-size: cover;
}

.listA .photo8 {
    margin-top: 0px;
    min-height: 200px;
    background-image: url("../img/助成金写真2.jpg");
    background-position: center;
    background-size: cover;
}

.listA .photo9 {
    margin-top: 0px;
    min-height: 200px;
    background-image: url("../img/助成金写真4.jpg");
    background-position: center;
    background-size: cover;
}

.listA .text {
    margin: 10px;
}

.listA h2 {
    font-size: 18px;
    text-align: center;
}

.listA p {
    font-size: 14px;
}

.footA h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: sata;
    font-size: 30px;
    letter-spacing: 0.1em;
}


.listA .photo6 {
    flex: 1;
    margin: 10px;
    display: none;
    border: solid 0px #DDDDDD;
    color: inherit;
    text-decoration: none;
}

/*フッター*/
footer {
	height: auto;
	color: #fff;
	background-color: #000;
}

footer .container {
	max-width: 900px;
	padding: 40px 20px;
	margin: 0 auto;
}

.footA {
	text-align: center;
}

.footA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 14px;
}

.footB {
	padding: 30px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footB h3 {
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: solid 1px;
	font-size: 14px;
	text-align: center;
}

.footB ul {
	text-align: center;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.footB a {
	display: block;
	padding: 0;
	color: inherit;
	font-size: 17px;
	text-decoration: none;
	margin-top: 5px;
	padding-bottom: 4px;
	line-height: 20px;
	border-bottom: 3px solid #000;
	transition: 0.5s;
}

.footB a:hover {
	border-bottom: 3px solid #fff;
}

.footC {
	text-align: center;
}

.footC p{
	font-size: 1rem;
}


@media(min-width:1024px) {
	.footB ul {
		display: flex;
		justify-content: space-between;
		width: 100%;
	}
}



#lightgallery {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

#lightgallery a {
    text-decoration: none;
    flex: 1 1 300px;
    margin: 0;
    padding: 0;
}

#lightgallery img {
    width: 100%;
}

* {
    text-decoration: none;
}