@charset "utf-8";
/*すべて共通　*/
html,body {
    font-size: 16PX;
    font-family: sans-serif;
}

body,div,p,h1,h2,h3,h4,ul,figure {
    margin: 0;
    padding: 0;
}
body {
     border-top: 5px solid #ff8989;
    background-color: #ffe5e5;
    font-family: 'Noto Serif JP', serif; 
}
p, td, th, li {
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: #709a00;
}
a:hover {
 color: #95cd00}
}
a:active {
    color: #4b6700;
}
/*共通の見出し　*/
.container {
    margin: : 0 auto;
    max-width: 1000px;
     text-align:center;
     margin-left:auto;
     margin-right:auto;
     text-align:left;
}
h1 {
	font-size: 1.4rem;
}
h2 {
	font-size: 1.14rem;
}
h3 {
    font-size: 1rem;
}

p {
	margin-top: 0;
	margin-bottom: 0;
}
ul {
    list-style-type: none;
}
@media screen and (min-width: 670px) {
    .container {
        padding-left: 70px;
        padding-right: 70px;
    }
}
/*  ヘッダー　　*/

header .container {
}
.header-inner {
    height: 120px;
    padding-left: 20px;
    font-family: 'Noto Serif JP', serif;   
}
.traffic {
    display: block;
    font-size: 15px;
    color: #000033;
}
.heder-logo {
    font-size: 1.7rem;
    color: #000033;
}
@media screen and (min-width: 670px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;        
    }
}
/* ナビゲーション flex: 1 0 auto;　*/
nav {
    background-color: #ff8989; 
}
nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;    
}

nav li {
        border-right: 1px solid #fff;
        border-left: 1px solid #fff;
        border-bottom: 1px solid #fff;
        flex: auto;  
    
}
nav li a {
    display: block;
    padding: 15px 20px;
    text-align: center;
    color: #fff;    
}


nav li a:hover {
    color: #2393f7;
    background-color: #f1f1f1;
}
nav ul li:hover ul {
    display: block;
    position:  absolute;
}
nav li ul {
     display: none;
}


/* メインエリア*/
main {
    padding: 0 30px 50px 70px;
    font-family: 'Noto Serif JP', serif;  
}
.home-maincopy {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    transform: translate(-80px,5px);
}
.home-copy {
    font-weight: bold;
    text-align: center;
    padding-bottom: 50px;  
}
.home-color1 {
    color: #003f8e;
}
.home-color2 {
    color: #003f8e;
    font-style: italic;   
    font-size: 1.7rem;
}
.home-color5 {
    color: #003f8e;
    font-style: italic;
    font-size: 1.5rem;
}
.btn {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 5px;
    border-bottom: 1px dotted #ed5389;
}

.main p {
    text-indent: 1em;
}

.event {
    padding: 2px
}

section .container {
    display: flex;
    flex-flow: column;
}

@media only screen and (min-width:670px) {
    section .container {
    flex-flow: row;
    }
    
.cite {
    padding: 40px 70px;
    font-family: 'Noto Serif JP', serif;  
    }
    
.aside {
    margin-top: 50px;
    justify-content: center;
    font-family: 'Noto Serif JP', serif; 
    
}

 .aside-contents {
    margin-top: 7px;
    border-bottom: 1px dotted #6495ed;
    border-left: 3px solid #6495ed;
    text-align: center;
        
    }
}
     
    }    
/* これより上確認済み*/


/*　　フッター　　*/

.copy {
    font-size: 12px;
    padding-top: 20px;
    font-size: 0.8rem;
}

footer {
    background-color: #ff8989;
    height: 100px;
}
footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;    
}
footer li {
        flex: auto;
        border: 1px solid #fff;
}
footer li a {
    display: block;
    padding-top: 10px;
    color: #fff;
}

/* メンバー　*/


.teacher {
    overflow: hidden;
    flex: 1 1 50%;
}
.member {
    float: left;
    margin: 40px 20px 0 20px;
    
}
.misako {
    float: left;
    margin: 40px 20px 0 20px;
    
}
.yoji {
    float: left;
    margin: 40px;
}

.message {
    padding: 30px 20px;
}

.name {
    padding-left: 50px;
    padding-top: 30px; 
    border-bottom: 1px dotted #ed5389;
}

.profile {
    width: 150px;
    margin-top: 10px;
    padding-left: 40px;
    border-bottom: 1px dotted #ed5389;
}

.teacher p {
    padding-left: 40px;
    padding-right: 20px;
    text-indent: 1em;
}

/* これより上確認済み*/


/*　　ビデオ　　*/
.you {
    padding: 10px;
}

.video {
    display: flex;
    flex-wrap: wrap;
}

/*　　写真ページ　　*/
.img-belfoto {
    display: flex;
    flex-wrap: wrap;
    
}
.foto {
    padding: 10px;
}

.main p {
    margin-top: 10px;
}
/*　　リンクページ　　*/
table {
    border-collapse: collapse;
}
th, td {
   border: 1px solid #8fbac8;
    padding: 8px;
}
.rink-logo {
    margin-top: 5px;
    margin-bottom: 5px
    margin-left: 10px;
}
.icon {
    padding: 5px 50px 0 50px;
    
    display: flex;
    flex-flow: row;
}
.icon p {
    margin: 0;
}
@media screen and (min-width:670px) {
    .teachers {
    flex-flow: row;
    
}

