@charset "utf-8";

html{
    font-size: 100%;
}

body{
    background-color: #f4f9ff;
    color: #333333;
    font-size: 0.875em;
    line-height: 1.7;
}

img{
    max-width: 100%;
}
/* サイト全体のコンテンツ幅 */

.container{
    max-width: 1000px;
    margin: 0 auto;
    /* background-color: #ffe; */
}
/* コンテンツ部分の最大幅 */

.inner{
    max-width: 600px;
    margin: 0 auto;
    /* background-color: #bff; */
}

.section-title{
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 10px;
    /* background-color: #999999; */
}

/* ヘッダー */
#header{
    margin-top: 60px;
    color: #d80;
}

#header .site-title{
    width: 160px;
    line-height: 1px;
    margin-bottom: 15px;
}

/* mainvisual */
#mainvisual{
    margin-bottom:60px;
}

/* index */
#index{
    background-color: #fff;
    padding: 30px 0;
    margin-bottom: 60px;
}

#index .index-list{
    margin-left: 20px;
}

#index .index-list li{
margin-bottom: 20px;
}

#index .index-list li:last-child{
    margin-bottom: 0;
}

/* detail */
#detail{
    margin-bottom: 100px;

}

#detail .content{
    display: flex;
    align-items: flex-start;
    /* background-color: #ffa; */
}

#detail .content .title{
    font-size: 1.125rem;
    font-weight: bold;
}

#detail .content .img{
    width: 270px;
    margin-right: 60px;
}

#detail .content .text p{
      margin-bottom: 20px;
}

#detail .content dl{
        display: flex;
        flex-wrap: wrap;
        padding: 16px 0; 
        margin-bottom: 25px;
        border-top: 1px solid #dedede;
        border-bottom: 1px solid #dedede;
}

#detail .content dt{
    width: 25%;
    /* background-color: #ff6600; */
}
#detail .content dd{
    width: 75%;
    /* background-color: #66ff00; */
}

#detail .content .link{
    color: #333333;
}

#detail .content .link:hover{
    opacity:0.8;
}

/* footer */
#footer{
    font-size: 0.625rem;
    padding: 15px 0;
}

/* sp */
@media screen and (max-width:1024px){
    .inner{
      padding: 0 40px;
    }
    
    /* ヘッダー */
    #header{
        padding: 10px;
    }

    /* mainvisual */
    #mainvisual{
        padding: 0 10px;
    }
    
    /* detail */
    #detail .content{
            flex-direction:column;
    }
    #detail .content .img{
        width: 100%;
        margin: 0 0 25px 0;
    }
}