@charset "utf-8";
#news{
    .wrap{
        .contents{   
            max-width: 1000px;        
            h2{
                font-size: 2.4rem;
            }
            .contents_inner{
                background-color: #fff;
                padding: 1.5em 2em 0.5em;
                border-radius: 0 20px 0 20px;
                dl{
                    display: grid;
                    grid-template-columns: 8em 1fr;
                    border-bottom: 3px #E2D9C5 dotted;
                    padding: 1.2em 0;
                    grid-column-gap: 1em;
                    &:last-child{
                        border-bottom: none;
                    }
                    &:first-child{
                        padding-top: 0;
                    }
                    dt{
                        line-height: 1.5;
                    }
                    dd{
                        line-height: 1.5;
                    }
                }
                .title_box{
                    margin-bottom: 2em;
                }
                .contbox{
                    p{
                        margin-bottom: 2em;
                    }
                    .wp-block-image.size-large{
                        text-align: center;
                        margin-bottom: 1.5em;
                        img{
                            max-width: 70%;
                        }
                    }
                    
                }
            }
        }
    }
}

@media screen and (max-width:1200px){

    #news{
        .wrap{
            .contents{   
                max-width: 800px;        
                h2{
                    font-size: 2rem;
                }
                .contents_inner{
                    dl{
                        padding: 1em 0;
                    }
                    .title_box{
                        span{
                            font-size: 1.5rem;
                        }
                    }
                    .contbox{
                        p{
                            margin-bottom: 1.5em;
                        } 
                        .wp-block-image.size-large{
                            text-align: center;
                            img{
                                max-width: 80%;
                            }
                        }                     
                    }
                }
            }
        }
    }

}

@media screen and (max-width:1024px){

    #news{
        .wrap{
            .contents{   
                max-width: 100%;        
                h2{
                    font-size: 1.8rem;
                }
                .contents_inner{
                    padding: 1.5em 1.5em 0.5em;
                    dl{
                        padding: 0.7em 0;
                        dt{
                            font-size: 1.5rem;
                        }
                        dd{
                            font-size: 1.5rem;
                        }
                    }
                    .title_box{
                        margin-bottom: 1.5em;
                        span{
                            font-size: 1.4rem;
                        }
                    }
                    .contbox{
                        p{
                            margin-bottom: 1em;
                            font-size: 1.5rem;
                        }                 
                    }
                }
            }
        }
    }

}

@media screen and (max-width:768px){

   #news{
        .wrap{
            .contents{   
                max-width: 100%;        
                h2{
                    font-size: 1.6rem;
                    margin-bottom: 0.5em;
                }
                .contents_inner{
                    padding: 1em 0.7em 0.5em;
                    dl{
                        padding: 0.5em 0;
                        grid-template-columns: 5em 1fr;
                        dt{
                            font-size: 1.4rem;
                        }
                        dd{
                            font-size: 1.4rem;
                        }
                    }
                    .title_box{
                        margin-bottom: 1.2em;
                        span{
                            font-size: 1.3rem;
                        }
                    }
                    .contbox{
                        p{
                            margin-bottom: 1em;
                            font-size: 1.4rem;
                        }
                        .wp-block-image.size-large{
                            margin-bottom: 1em;
                            img{
                                max-width: 100%;
                            }
                        }                   
                    }
                }
            }
        }
    } 
        
}