ul{
    padding-left: 0;
}
li{
    list-style-type: none;
}
.date{
    font-size: 1.8rem;
    text-align: right;
    color:#666666;
}
h2.h2tanakanao{
    border-bottom: 3px solid #533111;
    padding-bottom: 1rem;
}
.h3_wrap{
    border-top: solid 1px #eeeeee;
    padding-top: 30px;
}
h2.h2tanakanao + .h3_wrap{
    border-top: none;
    padding-top: 0;
}
h3.h3_tanakanao{
    border-left: solid 5px #533111;
    padding-left: 1rem;
    margin-top: 2rem;
}
.border_img_flex_wrap{
    text-align: center;
}
.border_img_flex{
    display: grid;
    grid-template-columns: repeat(4, 1fr) 2fr;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 0 auto;
}
.border_img_flex li{
    margin: 5px;;
}
.border_img_flex2{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.border_img_flex2 li{
    display: inline-block;
    margin: 5px;
}
h4{
    font-size: 2rem;
    margin: 2rem 0 2rem;
    font-weight: bold;
    padding-bottom: 1rem;
    border-bottom: solid 1px #cccccc;
}
h5{
    font-size: 1.6rem;
    margin: 1rem 0 0 0;
}
.flexbox{
    display: flex;
}
.flexbox div{
    margin-right: 20px;
    min-width: 200px;
    margin-top: 20px;
    text-align: center;
}
.flexbox2{
    display: flex;
}
.flexbox2 div{
    margin-right: 20px;
    min-width: 154px;
    margin-top: 20px;
    text-align: center;
}
.unit img{
    display: block;
    margin: 0 auto;
}
@media screen and (max-width: 751px) {
    .border_img_flex2{
        flex-wrap: wrap;
        justify-content: start;
        margin: 0 auto;
        max-width: 470px;
    }
    .border_img_flex{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        flex-wrap: nowrap;
        justify-content: space-between;
        margin: 0 auto;
        max-width: 370px;
    }
    .border_img_flex li:nth-of-type(5) {
        grid-column-start: 2;
        grid-column-end: 4;
        grid-row-start: 2;
        grid-row-end: 3;
      }
    .border_img_flex li:nth-of-type(5) img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        max-height: 149px;
    }
}
@media screen and (max-width: 600px) {
    .date{
    font-size: 1.4rem;
    text-align: right;
    color:#666666;
    }
    #content .section {
    margin: 2rem auto 4rem;
    padding: 0;
    }
    h1{
        font-size: 2.4rem!important;
    }
    #content .singleContent .cont_header{
        margin: 2rem auto 3rem;
    }
    h2{
        font-size: 1.8rem;
        margin: 2.5rem 0 1.5rem;
    }
    h2.h2tanakanao a span{
        font-size: 1.4rem;
        margin-left: 15px;
        color: #1E99D5;
        padding-bottom: 1rem;
    }
    h3{
        font-size: 1.6rem!important;
        margin: 2.5rem 0 1.5rem;
    }
    h4{
        font-size: 1.6rem!important;
        margin: 2.5rem 0 1.5rem;
    }
    p{
        font-size: 1.4rem;
    }
    .border_img_flex_wrap{
        text-align: center;
    }
    .border_img_flex{
        flex-wrap: wrap;
        justify-content: start;
        margin: 0 auto;
        max-width: 370px;
    }
    .border_img_flex li{
        margin: 5px;
    }
    .flexbox{
        display: block;
    }
}
@media screen and (max-width: 492px){
    .border_img_flex2{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 400px){
    .kitao_map iframe{
        min-height: 400px;
    }
    .border_img_flex{
        flex-wrap: wrap;
        justify-content: start;
        margin: 0 auto;
        max-width: 250px;
    }
    .border_img_flex li:nth-of-type(5) img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        max-height: 100px;
    }
}