@import url(A-OTF-ShinGoPro/A-OTF-ShinGoPro.css);

html,body {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

p,h1,h2,h3,h4,h5,h6 {
    margin: 0;
    font-size: inherit;
}

* {
    box-sizing: border-box;
    color: inherit;
    font-size: inherit;
    font-family: "A-OTF-ShinGoPro";
    font-weight: inherit;
}

img {
    display: block;
    max-height: 100%;
    max-width: 100%;
}

ul {
    margin: 0;
}


.container {
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
}

.sec {
    position: relative;
}

.pagebody{
	display: block;
	width: 90%;
	height: auto;
	margin: 0 auto;
	margin-top: 64px;
	padding: 2em 1em;
	overflow: hidden;
	background-color: #fff;
}
.pagebody h1{
	font-size: 24pt;
	font-weight: bold;
	padding: 1em;
	color: #fff;
	background-color: #123456;
	margin-bottom: 1em;
}
.pagebody h3{
	font-size: 16pt;
	font-weight: bold;
	padding: 1em 0 0.25em 0;
}
.pagebody p{
	margin: 1em 0;
	line-height: 2em;
}
.pagebody ul{
	margin: 1em 0;
	line-height: 2em;
}

.policyimgbox{
	display: block;
	float: right;
	overflow: hidden;
	width: 300px;
}
.policyphoto{
	display: block;
	float: left;
	width: 150px;
	height: auto;
	padding: 1em;
	text-align: center;
}
.policyphoto img{

}
.policyphoto p{
	margin: 0.5em 0;
	line-height: 1em;
	padding: 0;
}
.eventinfo{
	display: block;
	width: 600px;
	max-width: 100%;
	height: auto;
	font-size: 12pt;
	font-weight: bold;
	text-align: center;
	margin: 2em auto 3em auto;
}
.eventinfo a{
	color: #E50003;
	text-decoration: underline;
}
.eventinfo .eventinfo-l {
	display: block;
	float: left;
	width: 20%;
	height: auto;
}
.eventinfo .eventinfo-l img {	margin: 0 auto;}
.eventinfo .eventinfo-r {
	display: block;
	float: right;
	width: 78%;
	height: auto;
}
@media (max-width: 600px) {
.eventinfo .eventinfo-l {
	width: 50%;
	float: none;
	margin: 0 auto;
	}
.eventinfo .eventinfo-r {
	width: 100%;
	}
}
.linknavi{
	clear: both;
	display: block;
	width: 100%;
	height: auto;
	padding: 3em 0;
	text-align: center;
}
.linknavi a{
	font-size: 16pt;
	margin: 0 auto;
	padding: 0.5em 1em 0.5em 1em !important;
	color: #fff;
	background-color: #f5a;
}
@media (max-width: 750px) {
.pagebody{
	width: 96%;
	margin-top: 64px;
	padding: 1.5em 0.5em;
}
.pagebody h1{
	font-size: 18pt;
	padding: 0.75em 0.5em;
	margin-bottom: 1em;
}
.pagebody h3{
	font-size: 14pt;
}
.policyimgbox{
	float: none;
	margin: 0 auto;
}
.sec .linknavi a{	font-size: 12pt;}
} 

#top {
    background: url(assets/img/goryokaku.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: calc(100vh - 50px);
}

@keyframes animTopLogo {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.site-ttl--wrap {
    width: 30vw;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background-color: rgba(32,32,32,0.5);
    z-index: 9;
    color: #fff;
}



.site-ttl {
    font-size: "ヒラギノ明朝","MS 明朝",serif;
    padding-top: 5em;
    font-weight: 400;
    font-size: 2em;
    text-align: center;
}

.site-ttl--wrap p {
    line-height: 2.4em;
    padding: 8px;
}

@media (max-width: 750px) {
    .site-ttl--wrap {
        width: 100%;
    }
    .site-ttl--wrap {
        line-height: 1.5em;
        padding: 8px;
    }
    .site-ttl {
        padding-top: 3em;
        line-height: 1.5em;
    }
} 

.top--logo {
    width: 50%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: animTopLogo 2s;
    animation-fill-mode: forwards;
}

.top--bar {
    top: 0;
    left: 0;
    height: 64px;
    position: absolute;
    width: 100vw;
    background-color: #fff;
    z-index: 11;
}

.theme--img {
    width: 30%;
    min-width: 200px;
    height: auto;
    margin: 10vh auto;
}

#about {
    background-color: #123456;
    background-image: url(assets/img/about.png);
    background-repeat: no-repeat;
    background-size: contain;
    color: #fff;
    padding: 32px;
}

.about--img {
    margin: auto;
    width: 100px;
    height: auto;
}

.about--ttl {
    font-size: 1.7em;
    text-align: center;
    color: #ECA200;
}

.about--desc {
    font-size: 1.2em;
}

.about--split {
    display: flex;
    justify-content: space-around;
}



.about--split > div {
    width: 45%;
}

.about--history {
    margin-top: 48px;
    line-height: 32px;
    word-spacing: 4px;
}

.about--subttl {
    margin-top: 32px;
    font-size: 1.4em;
    color: #ECA200;
}

.about--list {
    font-size: 1.2em;
    margin: auto;
}

@media (max-width: 750px) {
    #about {
        background: initial;
        background-color: #123456;
    }
    .about--split {
        flex-direction: column;
    }
    .about--split > div {
        width: 100%;
    }
}

#pic {
    padding: 64px 16px;
    display: flex;
    background: url(assets/img/world.jpg) center center /cover no-repeat;
}

.pic--round {
    width: 25vw;
    height: 25vw;
    border-radius: 25vw;
    overflow: hidden;
    margin: 4.0vw;
}
.pic--round:nth-of-type(1) {
    background: url(assets/img/children.jpg) center center /cover no-repeat;
}
.pic--round:nth-of-type(2) {
    background: url(assets/img/water.jpg) center center /cover no-repeat;
}



#scholarship {
    color: #fff;
    background: #123456;
}

.scholarship--ttl {
    font-size: 1.6em;
    position: relative;
    margin-top: 32px;
    padding: 16px;
    z-index: 10;
}
.scholarship--split {
    display: flex;
}
.scholarship--split > div {
    width: 45%;
}

.scholarship--desc {
    padding: 16px;
    font-size: 1.2em;
    position: relative;
    z-index: 10;
}
.scholarship--img {
    background: url(assets/img/scholarship.jpg) center center /cover no-repeat;
    flex-grow: 1;
}


@media (max-width: 750px) {
    .scholarship--split {
        flex-direction: column;
    }
    .scholarship--split > div {
        width: 100%;
    }
    .scholarship--img {
        min-height: 200px;
    }
}

#endpolio {
    color: #fff;
    background: #123456;
}

.endpolio--ttl {
    font-size: 2em;
    position: relative;
    margin-top: 32px;
    padding: 16px;
    z-index: 10;
}
.endpolio--split {
    display: flex;
}
.endpolio--split > div {
    width: 45%;
}
.endpolio--split > div:last-child {
}

.endpolio--desc {
    padding: 16px;
    font-size: 1.2em;
    position: relative;
    z-index: 10;
}
.endpolio--img {
    background: url(assets/img/endpolio2.jpg) right bottom /cover no-repeat;
    flex-grow: 1;
}

@media (max-width: 750px) {
    .endpolio--split {
        flex-direction: column-reverse;
    }
    .endpolio--split > div {
        width: 100%;
    }
    .endpolio--img {
        min-height: 200px;
    }
}


.spacer {
    display: flex;
}
.spacer > img {
    width: 50vw;

    height: calc(50vw / 3 * 2);
}


#scholarship2 {
    color: #fff;
    background: #123456;
    padding: 32px 16px;
}

.scholarship2--ttl {
    font-size: 2em;
    position: relative;
    padding: 16px;
    z-index: 10;
}

.scholarship2--desc {
    padding: 0 32px;
    font-size: 1.2em;
}

.more {
    padding: 8px 16px;
    font-size: 1.2em;
    border-radius: 4px;
    background-color: #f5a;
    color: #fff;
    margin: 32px;
    display: block;
    max-width: 200px;
    text-align: center;
    margin-left: auto;
}

.gf {
    padding: 16px;
    background-color: #ddd;
}
.gf--split {
    display: flex;
    justify-content: space-around;
}


@media (max-width: 750px) {
    .gf--split {
        flex-direction: column;
    }
    .gf--links {
        flex-direction: column;
    }
}

.gf--links {
    display: flex;
    justify-content: space-around;
}

.gf--link {
    display: block;
    padding: 8px 16px;
    border-bottom: 1px solid #bbb;
    margin: 4px;
}

.fb-page {
    width: 300px;
}

.copyright {
    text-align: right;
    font-size: 0.8em;
}

.hide {
    opacity: 0;
    transition: all 0.5s ease-in;
}
.hide.show {
    opacity: 1;
}


@media (max-width: 750px) {
    .pc-only {
        display: none;
    }
}

@media (min-width: 750px) {
    .sp-only {
        display: none;
    }
}