/* {
    border: 1px solid #ff0000;
}
*/

body {
    width:100%;
    max-width:1100px;
    margin-left: auto;
    margin-right: auto;
    font-family:'sans-serif','メイリオ','serif';
}



nav ul {
    padding-left: 0;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    border-bottom: 2px solid #dedfe2;
}

nav ul li a{
    font-size: 23px;
    font-weight: bold;
    color: #3F51B5;
    display:block;
    text-decoration:none;
}

.menu li a:hover {
    background-color: #3F51B5;
    color: #ffffff;
    border-radius: 5px;
}
article {
    position: relative;
  
}

section h1 {
    /* margin-top: 23px; */
    font-size: 2rem;
    text-indent: 2px;
    margin-bottom: auto;
    border-left: 10px solid #3F51B5;
    border-bottom: 1px dotted #3F51B5;
}
div.myslider div img{
    width:100%;
    
}
.catch img{
    max-width:50%;
    margin-left: 10px;
}
#main {
    width: 750px;
    max-width: 100%;
    float: left;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
}
#main div.news p {
    border-bottom: 1px dotted #3F51B5;
    font-size:large;
}
#main div.event {
    border:3px solid #FF9800;
    margin-top:5px;
    text-align:center;
}

#sub {
    margin-right: 10px;
    width: 290px;
    max-width: 100%;
    float: right;
    margin-left: 10px;
    margin-top: 0px;
}


#sub ul li {
    /* margin-top: 33px; */
    list-style-type: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: #3F51B5;
}
#sub ul li a{
    text-decoration:none;
}
#sub img {
    max-width: 100%;
    height: auto;
    margin: 0px 0px;
}
aside ul {
    padding-left: 0;
}


.link-icon li{
    list-style-type:none;

}
.link-icon i{
    font-size:3em;
    color: #F44336;
}
.link-icon a{
       text-decoration:none;
}
footer {
    display: flex;
    justify-content: center;
    clear: both;
    text-align: center;
    border-top: 5px solid #3F51B5;
    padding-top: 10px;
    padding-bottom: 5px;
}

/*ページの先頭へ行くアイコン*/
.pagetop {
    position: fixed;
    font-size: 2.5rem;
    color: #9e9e9e94;
    right: 50px;
    bottom: 33px;
}

/*ハンバーガー*/
div.ham {
    height: 50px;
    width: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around !important;
    align-items: center;
    box-sizing: border-box;
    background-color: #fff;
    border: 2px solid #444;
    border-radius: 4px;
}

div.ham .open {
    justify-content: center;
}

div.ham span {
    display: block;
    width: 45px;
    height: 4px;
    background-color: #000;
    position: relative;
    transition: 1s;
}

.open span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 16.5px;
}

.open span:nth-of-type(2) {
    opacity: 0;
}

.open span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: -15.5px;
}

div.ham {
    display: none;
}
/*練習日のページ*/
/*.cal_wrapper{
    max-width:700px;
    min-width:300px;
}
.cal{
    position:relative;
}
.cal iframe{
   width:100%;
   
}
*/

/*photo,mediaギャラリーのページ*/
.photo{
    display:flex;
    padding:0;
    /* flex-direction: column; */
}
.photo li{
    padding-left:5px;
    list-style-type:none;
}
.photo img{
    width:350px;
    height:200px;
}

/*合唱団についてのページ*/
section h2{
    margin-bottom:0px;
}
section .party{
    max-width: 100%;
}
#prof{
    font-size:larger;
}
table caption{
    font-size:larger;
}
table th, table td{
    padding:10px;
    border:1px solid #000000;
}
table th, table td:first-of-type,table td:nth-of-type(2){
    text-align:center;
}
table{
    border-collapse:collapse;
    margin-bottom: 20px;
    font-size:large;
}
table th{
    background-color:#dedfe2
}
table th:first-of-type, table th:nth-of-type(2){
width:80px;
}
table th:last-of-type{
    width:500px;
}



/*指導者紹介のページ*/
div.prof1 p{
    margin: 5px 16px;
}
div.prof1{
    float:right;
    width: 460px;
    margin-top: 30px;
    margin-bottom: 38px;
}
.propi1 img{
    /* max-width: 100%; */
    float:left;
    width: 272px;
    padding: 46px 3px;
}

/*media*/
.media iframe{
    width:500px;
    height:400px;
}
.newspaper{
    width:500px;
    height:400px;
}

/*お問い合わせのページ*/
.sendmail i{
    font-size: 7em;
    color:#444;
}
.sendmail{
    text-align:center;
    margin: 40px;
    border-bottom: 1px dotted #000000;
}
.text-m p{
    margin: 5px;
}
.sendmail .e-ma{
    font-size: 2em;
}
/*レシポンシブデザイン@768以下になったとき*/
@media screen and (max-width: 768px) {
    body {
        max-width: 100%;
        margin-left: 5px;
    }

    #sub {
        float: none;
    }


    /*ファーストビューの写真左右アイコン　レシポン*/
    .slick-prev:before, .slick-next:before {
        font-size: 28px;
    }

    section h1 {
        font-size: 150%;
    }

    div.ham {
        width: 50px;
        height: 50px;
        border: 1px solid black;
        /* display:block; */
        z-index: 300;
        position: relative;
        display: flex;
        justify-content: center ;
    }

    ul.menu {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        padding-left: 0;
        height: 0;
        overflow: hidden;
        transition: 1s;
        position: fixed;
        z-index: 200;
        width: 100%;
        background-color: #ffffffab;
        top: 0;
        margin-top: 0;
        list-style-type: none;
    }

    /*ナビメニューに.navgationがついた時の指定*/
    ul.menu.navigation {
        height: 45vh;
    }
    .propi1 img{
        width: 220px;
        padding: 56px 3px;
    }
    .slick-prev {
        left: -2px;
    }
    .slick-next{
        right: 11px;
    } 


.photo img{
        width:270px;
        height:170px;

    }

}

/*レシポンシブデザイン@480以下になったとき*/
@media screen and (max-width: 480px) {
    section h1 {
        font-size: 1.3em;
    }
    p {
        font-size: 0.9em;
        padding-left: 0px;
    }
    #sub {
        margin-left: 20px;
        float: none;
    }
    #sub ul li {
        font-size: 1em;
    }
    #main ul li time {
        font-weight: 500;
        font-size: 1.2em;
        width: 70px;
    }
    #main li {
        font-size: 0.8em;
    }
    .slick-prev {
        left: -2px;
    }
    .slick-next{
        right: 7px;
    }
    .cal iframe{
       width:97%;
        height:400px;
    } 
    table{
        font-size: 0.9em;
        max-width: 99%;
    }
    div.prof1{
        margin-top: 0px;
        max-width: 100%;
    }
    .prof1 h2{
        font-size: 1.1em;
        margin-left: 16px;
    }
    .propi1 img{
        padding: 10px 0 10px 20px;
    }
    .sub-t{
        font-size:1.2em;
    }
    .sendmail .e-ma{
        font-size:1.4em;
    }
    .sendmail i{
        font-size:5em;
    }
    
.photo {
      flex-direction:column;
    }
}
