.tonari p,
.tonari li {
    line-height: 2em;
    font-size: 14px;
    list-style-type: none;
}

.tonari h2 {
    font-size: 1.5em;
}

.tonari h4 {
    font-size: 1.5em;
    font-weight: bold;
}

.tonari img {
    width: 100%;
    height: auto;
}

.tonari_text {
    margin-bottom: 2em;
}

.tonari_text p {
    text-align: center;
}

.tonari_text span {
    font-weight: bold;
    font-size: 1.5em;
}

p.tonari_title {
    font-weight: bold;
    font-size: 1.5rem;
}

.tonari section.precaution{
    margin: 2em auto;
}
.tonari section.precaution p{
    line-height: 1.2;
}

.tonari h2 {
    margin: 2em 0;
    padding: 0.5em;
    /*文字周りの余白*/
    color: #494949;
    color: #fff;
    /*文字色*/
    background: #fff0ad;
    background: #81a7c6;
    /*背景色*/
    border-left: solid 5px #ffc081;
    border-left: solid 5px #0b3774;
    /*左線（実線 太さ 色）*/
}

.tonari h4 {
    margin: 1em 0;
}

.tonari .hash {
    font-weight: bold;
}

.tonari .last {
    text-align: center;
}

.tonari a {
    display: block;
    color: #80a7c6;
}

.tonari li {
    position: relative;
}

.tonari li:before {
    position: absolute;
    content: '';
    background-image: url(https://www.2wayworld.jp/onlinestore/html/template/default/assets/img/moni/event/listicon.png);
    width: 1.5em;
    height: 1.5em;
    left: -2em;
    background-size: contain;
    background-position: center;
    top: 0.5em;
}

.tonari .textwrapper p {
    font-weight: bold;
    text-align: center;
}

.tonari .textwrapper {
    margin: auto;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex {
    display: flex;
    flex-direction: column;
}

.tonari_item {
    display: flex;
    flex-direction: column;
}

.tonari .product_text{
margin-top: 3em;}

.tonari .product_text p{
margin: 2em 0;}



@media(min-width:768px) {
    .sp_none {
        display: none;
    }
    .tonari .textwrapper p {
        font-size: 1.2em;
    }
    .flex {
        flex-direction: row;
        max-width: 1360px;
    }
    .In_pro {
        max-width: 1360px;
    }
}