@charset "UTF-8";
/* コンテンツ */

.bg_d {
    background-color: #eae8d2;
    color: #111;
}

.madori {
    
}
.madori h1 {
    width: 70%;
    line-height: 0;
    margin: 0 auto 2em;
}
.madori h1 img {
    width: 100%;
}
.madori ul {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}
.madori ul img {
    width: 100%;
}
.madori ul li:first-child {
    width: 30%;
    text-align: center;
}
.madori ul li:last-child {
    width: 55%;
}

.madori ul li:first-child h2 {
    width: 90%;
    margin:0 auto 3em;
}
.madori ul li:first-child h3 {
    width: 90%;
    margin:0 auto 3em;
}
.madori ul li:last-child h3 {
    font-size: 2.5em;
    line-height: 1.4;
    text-align: center;
}
.madori ul li:last-child p {
    font-size: 1.24em;
    line-height: 1.5;
    margin: 0.5em 0 2em;
}

.ditem {
}
.ditem h3 {
    color: #9d020a;
    text-align: center;
    font-size: 1.8em;
    line-height: 1.5;
    margin-bottom: 1em;
}
.ditem ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: -3em;
}
.ditem ul img {
    width: 100%;
}
.ditem ul li {
    width: 31%;
    margin-bottom: 3em;
}


@media screen and (min-width: 500px) {

}

@media screen and (max-width: 499px) {

.madori {
    
}
.madori h1 {
    width: 100%;
    margin: 0 auto 2em;
}
.madori ul {
    flex-direction: column-reverse;
}
.madori ul li:first-child {
    width: 100%;
}
.madori ul li:last-child {
    width: 100%;
    text-align: center;
    margin-bottom: 3em;
}

.madori ul li:first-child h3 {
    width: 80%;
    margin:0 auto;
}
.madori ul li:last-child h2 {
    width: 70%;
    margin:0 auto 2em;
}
.madori ul li:last-child h3 {
    font-size: 1.4em;
    line-height: 1.4;
}
.madori ul li:last-child p {
    font-size: 1em;
    line-height: 1.5;
    margin: 0.5em 0 2em;
}

.ditem {
    
}
.ditem h3 {
    text-align: left;
    font-size: 1.16em;
    line-height: 1.5;
    margin-bottom: 1em;
}
.ditem ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: -2em;
}
.ditem ul img {
    width: 100%;
}
.ditem ul li {
    width: 100%;
    margin-bottom: 2em;
}
.ditem ul li:last-child {
    width: 100%;
    text-align: center;
}
.ditem ul li:last-child img {
    width: 100%;
}




}