@charset "UTF-8";

html{
    font-size: 100%;
}
body{
    color: #333;
    font-size: 0.875rem;
}
img{
    max-width: 100%;
}
ul{
    list-style: none;
}

.container{
    max-width: 1000px;
    margin: 0 auto;
}
.inner{
    max-width: 800px;
    margin: 0 auto;
}
.section-title{
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

#header{
    margin-top: 60px;
}
#header .site-title{
    width: 180px;
    line-height: 1px;
    margin-bottom: 15px;
}
#header .site-title a{
    display: block;
}
#mainvisual{
    margin-bottom: 60px;
}
#index {
    background-color: #f5f5f5;
    padding: 60px;
    margin-bottom: 60px;
  }
  #index .index-inner {
    border: solid 1px #333;
    padding: 30px;
  }
 #index .index-inner .index-list {
    display: table;
    margin: 0 auto;
  }
#index .index-inner .index-list li {
    margin-bottom: 20px;
}
#index .index-inner .index-list li:last-child{
    margin-bottom: 0;
}
.list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 45px;
}
.list li{
    width: 49%;
    margin-bottom: 15px;
}
.list li img{
    vertical-align: bottom;
}
#detail{
    background-color: #f5f5f5;
    padding: 60px;
    margin-bottom: 60px;
}
#detail .flex{
    display: flex;
}
#detail .flex dl{
    width: 35%;
    border-right: solid 1px #333;
    padding-right: 40px;
}
#detail .flex dt{
    font-weight:bold;
}
#detail .flex dd{
    margin-bottom: 10px;
}
#detail .flex dd:last-child{
    margin-bottom: 0;
}
#detail .text{
    width: 65%;
    padding-left: 40px;
}
#detail .text p{
    margin-bottom: 20px;
}
#detail .text .link{
    color: #333;
}
#detail .text .link:hover{
    opacity: 0.8;
}
#footer{
    font-size: 0.625rem;
    padding: 15px 0;
    text-align: center;
}


@media screen and (max-width:1024px){
    .innner{
        padding: 0 40px;
    }
    #header{
        padding: 0 10px;
    }
    #index{
        padding: 40px 20px;
    }
    .list{
        flex-direction: column;
    }
    .list li{
        width: 100%;
        text-align: center;
    }
    #detail{
        padding: 40px 20px;
    }
    #detail .flex{
        flex-direction: column;
    }
    #detail .flex dl{
        width: 100%;
        border-right: none;
        border-bottom: solid 1px #333;
        padding: 0 0 40px 0;
    }
    #detail .text{
        width: 100%;
        padding: 40px 0 0 0;
    }
}