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

#title {
    background-image: url("../img/title_bg.webp");
    color: #fff;
}

.snavi ul li {
    width: auto;
}
.snavi ul li a {
    padding: 0 3em;
}

.msub {
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.2em;
}

.gbox1 p {
    font-size: 0.92em;
    line-height: 1.5;
}
.gbox1 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.gbox1 ul li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.gbox1 ul li:first-child {
    width: 50%;
}
.gbox1 ul li:last-child {
    width: 45%;
}
.gbox1 ul li:first-child section {
    width: 80%;
}
.gbox1 ul li:first-child img {
    width: 15%;
}
.gbox1 ul li:last-child img {
    width: 50%;
}
.gbox1 ul li:last-child section {
    width: 45%;
}

.gbox2 p {
    font-size: 0.92em;
    line-height: 1.5;
}
.gbox2 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.gbox2 ul img {
    width: 100%;
}
.gwaku {
    border: 1px solid #666;
    padding: 1.5em 2em;
    line-height: 1.5;
    margin-bottom: 0.5em;
}
.gwaku h4 {
    margin-bottom: 1em;
}
.gbox2 ul li:first-child {
    width: 50%;
}
.gbox2 ul li:last-child {
    width: 45%;
}

.bg_wood {
    background-color: #444;
    color: #fff;
}
.wbox1 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.wbox1 ul img {
    width: 100%;
}
.wbox1 ul li {
    width: 23%;
}

.wbox2 ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.5;
}
.wbox2 ul img {
    width: 100%;
}
.wbox2 ul li:first-child {
    width: 40%;
}
.wbox2 ul li:last-child {
    width: 55%;
}


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

.snavi ul li {
    width: calc(100% / 3);
}
.snavi ul li:first-child {
    border-left-width: 0;
    border-bottom: 1px solid #999;
}
.snavi ul li:nth-child(2),.snavi ul li:nth-child(3) {
    border-bottom: 1px solid #999;
}
.snavi ul li:nth-child(3),.snavi ul li:last-child {
    border-right-width: 0;
}
.snavi ul li a {
    padding: 0;
}

.gbox1 ul li:first-child {
    width: 100%;
    margin-bottom: 4em;
}
.gbox1 ul li:last-child {
    width: 100%;
}

.gbox2 ul li:first-child {
    width: 100%;
    margin-bottom: 2em;
}
.gbox2 ul li:last-child {
    width: 100%;
}

}

@media screen and (max-width: 520px) {
.gbox1 ul li:first-child section {
    width: 70%;
}
.gbox1 ul li:first-child img {
    width: 25%;
}

.wbox1 ul li {
    width: 48%;
}
.wbox1 ul li:nth-child(1),.wbox1 ul li:nth-child(2) {
    margin-bottom: 1.5em;
}
.wbox2 ul li:first-child {
    width: 100%;
    margin-bottom: 1em;
}
.wbox2 ul li:last-child {
    width: 100%;
}

}

