@charset "utf-8";
*{
margin: 0;
padding: 0;
}
.header{
    height: 56px;
    width: 100%;
    box-shadow: 0 0 10px #dddddd;
    background-color: #ebfcfc;
    position: fixed;
    top: 0;
}
.header-left{
    float: left;
}
.header-right{
    float: right;
}
.clear{
    clear:  both;
}

.header-left h {
    line-height: 56px;
    color:black;
    margin-left: 5px;
    font-size: 20px;
    padding: 16px 5px;
}



.header-right a {
    line-height: 56px;
    color:black;
    margin-left: 5px;
    font-size: 20px;
    padding: 16px 5px;
}
.header-right a:hover{
    background-color: skyblue;
    transition: background-color 0.5s;
}
.container{
    max-width: 980px;
    padding: 0 30px;
    margin-left: auto;
    margin-right: auto;
}
.main-visual {
    height: 480px;
    background: center center no-repeat;
    background-image: url(images/toppic.png);
    background-size: cover;

}






.top-title{
    font-size: 64px;
    margin-bottom: 10px;
}
.top-subtittle{
    font-size: 24px;
    margin-bottom: 60px;
}
.top-text{
    opacity: 0.9;
}

.main-wrapper{
    display: flex;
    flex-wrap: wrap;
}


.main {
    font-size: 12px;
    padding: 80px;
    color: #5a5c5f;
    text-align: center;
}
.main image h2{
    margin-bottom: 100px;
}
.main image{
    width: 450px;
    margin-bottom: 25px;
    box-shadow: 2px 2px 4px #b7b7b7;
    border-radius: 5px;
}
.main h2{
    font-size: 20px;
}
.main h3{
    margin-bottom: 10px;
}

.main {
    padding: 80px;
    color: #5a5c5f;
    text-align: center;
}








.modal-wrapper {
    z-index: 999;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 10px;
    text-align: center
  }
  
  .modal-wrapper:not(:target) {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  
  .modal-wrapper:target {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s, visibility .4s;
  }
  
  .modal-wrapper::after {
    display: inline-block;
    height: 100%;
    margin-left: -.05em;
    vertical-align: middle;
    content: ""
  }
  
  .modal-wrapper .modal-window {
    box-sizing: border-box;
    display: inline-block;
    z-index: 20;
    position: relative;
    width: 70%;
    max-width: 600px;
    padding: 30px 30px 15px;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, .6);
    vertical-align: middle
  }
  
  .modal-wrapper .modal-window .modal-content {
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .modal-overlay {
    z-index: 10;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .8)
  }
  
  .modal-wrapper .modal-close {
    z-index: 20;
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    color: #95979c!important;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
    text-decoration: none;
    text-indent: 0
  }
  
  .modal-wrapper .modal-close:hover {
    color: #2b2e38!important
  }




.footer{
    height: 120px;
    background-color: #ebfcfc;
    color: black;
    padding-top: 20px;
}
.footer-left{
    float: left;
}
.footer-right{
    float: right;
    padding-top: 50px;
}
.footer-left p {
    margin-bottom: 8px;
}