/* リセットCSS */

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
a,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    list-style-position: inside;
}

/* リセットCSSEND */

/* aタグリセット */

a {

    text-decoration: none;
    overflow: hidden;
    outline: none;
}

a:visited {
    color: #666;
    text-decoration: none;
}

a:hover {
    color: greenyellow;
    text-decoration: none;
}

a img {
    border: none;
    opacity: 1;
}

a img:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

/* aタグリセットここまで */

/* clearfix */

.cf:after {
    content: "";
    display: block;
    clear: both;
}

html{
    color: #666;
}
section{
    margin: 1rem 0;
    padding: 6rem 10px;
    border-bottom: 1px dashed #666;
}

.l-flex {
    display: -webkit-flex;
    display: flex;
}
.l-center{
 text-align: center;   
}

.l-left {
    display: -webkit-flex;
    display: flex;
    justify-content: flex-end;
}

.l-padding {
    padding: 1rem;
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.wrap-sp {
    max-width: 680px;
    margin: 2rem auto;
}



h1{
    display: inline-block;
    width: 300px;
    height: 80px;
    margin: 10px 10px;
}

h3 {
    text-align: center;
    font-size: 2rem;
    margin: 1rem;
}

h4 {
    display: flex;
    display: -webkit-flex;
    width: 90%;
    height: 2.4rem;
    margin: 0 auto;
    font-size: 1.3rem;
    background: #689ecc;
    border-radius: 25% / 100% 100% 0 0;
    color: #fff;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

h5{
    width: 90%;
    background: #3769; 
    margin: 0.5rem auto;
    font-size: 0.9rem;
    padding: 5px;
    color: #fff;
}

.smaller{
    font-size: 0.9rem;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    height: 100px;
    background: #fff;
    color: #333;
    font-weight: 900;
    box-shadow: 0px 3px #689ecc;

}

header h2{
    float: right;
    max-width: 25%;
        margin-top: 20px;
    margin-left: 10px;

}

header nav{
    float: right;
    max-width: 35%;
    margin-top: 20px; 
}


header nav ul{
    display: flex;
    display: -webkit-flex;
    list-style-type: none;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    align-items: flex-start;
    font-size: 1.2rem;

}
header nav ul li{
    padding: 0.3rem 0.8rem;
border-right: 1px solid #ccc;
    

}

header nav ul li:first-child{
border-left: 1px solid #ccc;
}


footer {
    padding: 2rem 0;
    background: #555;
    color: #fff;
}

#mv {
    width: 100%;
    padding:250px 0; 
    background: url("../img/earth_mv.jpg") center center no-repeat;
    background-size: cover;
    /*border-radius: 0 0 25% 25%;*/
}

.mv-text{
    text-align: center;
    padding: 0 10px;
    color: aliceblue;
    text-shadow: 1px 1px 4px #555;
}

.span{
    display: inline-block;
    font-size:1.6rem;
}

figure{
    text-align: center;
}

.flex-img{
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-wrap: wrap;
    justify-content: space-between;
    -webkit-content: space-between;
}

.flex-img .flex-item{
    margin-bottom: 1rem;
    width: 48%;
    box-sizing: border-box;
}

.flex-img .flex-item img{
    display: block;
    width: 100%;
    height: auto;
}

figcaption{
    font-size: 0.9rem;
    margin-bottom: 1rem;
}


.borderline{
    border-bottom: 2px solid #ff5949;
}



.flex-around{
    justify-content: space-around;
}


#about .chart {
    margin: 1.5rem;
}

#about dl {
    display: flex;
    display: -webkit-flex;
    margin: 0 auto;
    box-sizing: border-box;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
}


#about dl dt {
    display: inline-block;
    width: 25%;
    padding: 0.5rem;
    box-sizing: border-box;
    text-align: center;
    font-weight: 800;
}

#about dl dd {
    display: inline-block;
    width: 60%;
    padding: 0.5rem;
    box-sizing: border-box;

}


#about dl ul {
    list-style-type: none;
    border-left: 5px solid #ccc;
    padding-left: 1rem;
}


#access .text {
    width: 100%;
    padding: 4rem 0;
    margin: 0 0 0 1rem;
}

#access .route{
    margin: 1rem 0;
    padding: 0.8rem;
    background: #ffdd66;
    font-weight: bolder;
}



#page-top {
    position: fixed;
    bottom: 8rem;
    right: 20px;
    font-size: 77%;
}

#page-top a {
    background: #666;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 20px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}

#page-top a:hover {
    text-decoration: none;
    background: #999;
}

@media screen and (max-width:780px) {
    img {
        max-width: 100%;
    }
    #mv {
        padding:200px 0; 
    }
    
    .mv-text{
    padding: 60px 10px 0 10px;;
}

    
    header {
        height: 150px;
    }
    
    header h2{
        display: none;
        float: none;
        max-width: 100%;
        margin-top: 30px;
        margin-left: 10px;
    }
    section{
        padding:9rem 0;
    }
    

    header nav{
        display: block;
          max-width: 100%;
        width: 100%;
        float: none;
        margin: 0 auto;
        text-align: center;
    }
    header nav ul{
        display: flex;
        display: -webkit-flex;
        list-style-type: none;
        justify-content: center;
        -webkit-justify-content: center;
        font-size: 1.2rem;
    }
    
    
    h1{
        display: block;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    h3 {
        text-align: center;
        font-size: 1.5rem;
        margin: 1rem;
    }
    .l-flex{
        display: block;
    }
    
    .newline{
    display: block;    
    }
    
    .wrap {
        padding: 0 10px;
    }
    
    .wrap-sp {
        padding: 0 10px;
    }
    
    .flex-img{
        justify-content: center;
        -webkit-content: center;
    }

    .flex-img .flex-item{
        margin-bottom: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .flex-img .flex-item img{
        display: block;
        width: 100%;
        height: auto;
    }
    

    #about dl {
        display: block;
    }
    #about dl dt,
    #about dl dd {
        width: 100%;
    }
    
    #about dl ul {
        border-right: 5px solid #ccc;
        padding-right: 1rem;
    }
    
    #about .holder ul{
        text-align: center;
    }
    
    
    #access .l-flex {
        display: block;
    }
    #access figure {
        text-align: center;
    }
    body #access .text {
        padding: 0 0;
        margin: 1rem 0;
    }
    


}
