@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;
}

.cmbox1 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: -4em;
    line-height: 1.5;
}
.cmbox1 ul img {
    width: 100%;
}
.cmbox1 ul li {
    width: 21%;
    margin-bottom: 4em;
}
.cmbox1 ul li:nth-child(4) {
    margin-top: -4em;
}
.cmbox1 ul li h4 {
    color: #aa8e51;
    font-weight: 500;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
}
.cmbox1 ul li p {
    font-size: 0.92em;
}
.cmbox1 ul li section {
    background-color: #afa795;
    color: #fff;
    padding: 1em;
    font-size: 0.92em;
}

.cmbox2 p {
    font-size: 0.92em;
    line-height: 1.5;
}
.cmbox2 h5 {
    color: #155699;
    font-weight: 500;
}
.cmbox2 ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.5;
}
.cmbox2 ul img {
    width: 100%;
}
.cmbox2 ul li:nth-child(1) {
    width: 15%;
}
.cmbox2 ul li:nth-child(2) {
    width: 40%;
}
.cmbox2 ul li:nth-child(3) {
    width: 40%;
}

.cmbox3 {
    background-color: #333;
    color: #fff;
    line-height: 1.5;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.cmbox3 p {
    font-size: 0.92em;
    margin-top: 0.5em;
}
.cmbox3 h4 {
    font-weight: 500;
    margin-bottom: 2em;
    text-align: center;
}
.cmbox3 img {
    width: 100%;
}
.cmbox3 section {
    padding: 2em;
}
.cmbox3 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.cmbox3 ul li {
    width: 31%;
}

@media screen and (max-width: 1060px) {
.snavi ul li {
    width: calc(100% / 3);
}
.snavi ul li:first-child {
    border-left-width: 0;
}
.snavi ul li:nth-child(4) {
    width: 50%;
    border-top: 1px solid #999;
}
.snavi ul li:nth-child(5) {
    width: 50%;
    border-right-width: 0;
    border-top: 1px solid #999;
}
.snavi ul li a {
    padding: 0;
}
.snavi ul li a span {
   display: none;
}
}

@media screen and (max-width: 960px) {
.cmbox1 ul li {
    width: 30%;
}

.cmbox2 ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.5;
}
.cmbox2 ul img {
    width: 100%;
}
.cmbox2 ul li:nth-child(1) {
    width: 20%;
}
.cmbox2 ul li:nth-child(2) {
    width: 70%;
}
.cmbox2 ul li:nth-child(3) {
    width: 60%;
    margin-top: 2em;
}

}

@media screen and (max-width: 520px) {
.cmbox1 ul li {
    width: 47%;
}
.cmbox1 ul li:nth-child(1) {
    margin-bottom: 1em !important;
}
.cmbox1 ul li:nth-child(1),.cmbox1 ul li:nth-child(2) {
    width: 100%;
}
.cmbox1 ul li:nth-child(4) {
    margin-top: 0;
}

.cmbox2 ul {
    flex-direction: column;
}
.cmbox2 ul li:nth-child(1) {
    width: 40%;
}
.cmbox2 ul li:nth-child(2) {
    width: 100%;
    margin-top: 2em;
}
.cmbox2 ul li:nth-child(3) {
    width: 100%;
    margin-top: 2em;
}

.cmbox3 p {
    font-size: 0.84em;
}
.cmbox3 section {
    padding: 2em 1em;
}
.cmbox3 ul {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}
.cmbox3 ul li {
    width: 45%;
}
.cmbox3 ul li:last-child {
    margin-top: 1em;
}
}

