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

#title section span:nth-child(1) {
    background-image: url("../img/title_bg.webp");
}

.sub_box {
    margin-bottom: 5em;
}
.sub_box ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.sub_box ul li:first-child {
    margin-right: 5em;
    text-align: center;
    line-height: 1.5;
}
.sub_box ul li:first-child h3 {
    font-size: 2.4em;
}

.sub_box ul li:first-child h6 {
    height: 15px;
    line-height: 0;
    margin-top: 1em;
}
.sub_box ul li:first-child h6 img {
    height: 100%;
}

.sub_box ul li:last-child {
    text-align: left;
    line-height: 1.7;
}
.sub_box ul li:last-child h4 {
    font-size: 1.4em;
    font-weight: 500;
    margin-bottom: 0.3em;
}

.onsui ul {
    display: flex;
    justify-content: center;
    align-items: stretch;
    line-height: 1.7;
}
.onsui ul li:first-child {
    flex-shrink: 0;
    font-weight: 500;
    border: 1px solid #666;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em 2em;
    margin-right: 1em;
}

.cleanbox ul {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
.cleanbox ul li {
    width: 30%;
    text-align: center;
}
.cleanbox ul li img {
    width: 80%;
}
.cleanbox ul li h4 {
    font-size: 1.16em;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
}
.cleanbox ul li p {
    line-height: 1.6;
    font-size: 0.92em;
    margin:1em 0;
    text-align: justify !important;
    text-justify: inter-ideograph;
}

.hot_waku {
    background-color: #f2f2f2;
    padding: 2em;
    line-height: 1.7;
}

.hot_waku ul {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
.hot_waku ul li img {
    width: 100%;
}
.hot_waku ul li:first-child {
    width: 78%;
}
.hot_waku ul li:last-child {
    width: 20%;
}
.hot_waku ul li:last-child p {
    font-size: 0.76em;
    line-height: 1.4;
    text-align: left;
    text-align: justify !important;
    text-justify: inter-ideograph;
}



@media screen and (max-width: 960px) {
.sub_box {
    margin-bottom: 3em;
}
.sub_box ul {
    flex-direction: column;
}
.sub_box ul li:first-child {
    margin-right: 0;
    margin-bottom: 2em;
}
.sub_box ul li:first-child h3 {
    font-size: 2.2em;
}
.sub_box ul li:last-child h4 {
    font-size: 1.32em;
}

.cleanbox ul {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: -3em;
}
.cleanbox ul li {
    width: 42%;
    margin-bottom: 3em;
}
.cleanbox ul li img {
    width: 80%;
}

.hot_waku {
    padding: 2em;
}

.hot_waku ul li img {
    width: 100%;
}
.hot_waku ul li:first-child {
    width: 100%;
    margin-bottom: 2em;
}
.hot_waku ul li:last-child {
    width: 100%;
}
.hot_waku ul li:last-child h5 {
    text-align: center;
}
.hot_waku ul li:last-child img {
    width: 50%;
}

}

@media screen and (max-width: 520px) {
.sub_box ul li:first-child h3 {
    font-size: 2.0em;
}
.sub_box ul li:last-child h4 {
    font-size: 1.24em;
}

.onsui ul {
    justify-content: flex-start;
    flex-wrap: wrap;
}
.onsui ul li:first-child {
    margin-right: 0;
    margin-bottom: 0.5em;
}

.cleanbox ul li {
    width: 80%;
}
.hot_waku ul li:last-child img {
    width: 100%;
}

}
