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

.zetx1 {
    line-height: 1.7;
}

.zebox1 p {
    font-size: 0.92em;
    line-height: 1.5;
}
.zebox1 h4 {
    font-weight: 500;
    border-bottom: 1px solid #333;
    line-height: 1.5;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}
.zebox1 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.zebox1 ul li:nth-child(1) {
    width: 10%;
}
.zebox1 ul li:nth-child(2) {
    width: 30%;
}
.zebox1 ul li:nth-child(3) {
    width: 55%;
}
.zebox1 ul li:nth-child(1) img {
    width: 100%;
}
.zebox1 section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0.5em;
}
.zebox1 section img {
    width: 48%;
}

.zetx2 {
    text-align: center;
    font-size: 1.4em;
    line-height: 1.5;
}

.zebox2 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.zebox2 ul img {
    width: 100%;
}
.zebox2 ul li {
    width: 32%;
}

.zesub {
    display: flex;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: wrap;
    margin-bottom: 1em;
}
.zesub h4 {
    border-left: 5px solid #aa8e51;
    color: #aa8e51;
    font-size: 1.16em;
    font-weight: normal;
    line-height: 1.5;
    padding: 0 1em 0 0.5em;
}
.zesub h5 {
    font-weight: normal;
    line-height: 1.5;
}

.zebox3 p {
    font-size: 0.92em;
    line-height: 1.5;
}
.zebox3 ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.zebox3 ul img {
    width: 100%;
}
.zebox3 ul li:first-child {
    width: 32%;
}
.zebox3 ul li:first-child strong {
    color: #c00;
}
.zebox3 ul li:last-child {
    width: 65%;
}

.zebox4 p {
    font-size: 0.92em;
    line-height: 1.5;
}
.zebox4 h6 {
    text-align: center;
}
.zebox4 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.zebox4 ul li {
    width: 31%;
}
.zebox4 ul li:nth-child(2) img {
    width: 60%;
}
.zebox4 ul li:nth-child(3) img {
    width: 60%;
}
.zebox4 ul li:nth-child(5) img {
    width: 100%;
}

@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) {
.zebox1 ul li:nth-child(1) {
    width: 20%;
}
.zebox1 ul li:nth-child(2) {
    width: 75%;
}
.zebox1 ul li:nth-child(3) {
    width: 100%;
    margin-top: 2em;
}

.zetx2 {
    font-size: 1.24em;
}

.zebox2 ul {
    justify-content: space-around;
    margin-bottom: -2em;
}
.zebox2 ul li {
    width: 47%;
    margin-bottom: 2em;
}

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

.zebox4 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: -4em;
}
.zebox4 ul li {
    margin-bottom: 4em;
}
.zebox4 ul li:nth-child(4) {
    width: 65%;
}
}

@media screen and (max-width: 520px) {
.zesub {
    align-items: flex-start !important;
    flex-direction: column !important;
}
.zesub h5 {
    margin-top: 0.5em;
}

.zebox1 section {
    justify-content: space-around;
}
.zebox1 section img {
    width: 80%;
}
.zebox1 section img:first-child {
    margin-bottom: 2em;
}

.zetx2 {
    font-size: 1.16em;
    text-align: left;
}

.zebox2 ul li {
    width: 100%;
}

.zebox4 ul li {
    width: 100%;
}
.zebox4 ul li:nth-child(4) {
    width: 100%;
    margin-bottom: 1em;
}
.zebox4 ul li:nth-child(5) {
    width: 100%;
    text-align: center;
}
.zebox4 ul li:nth-child(5) img {
    width: 70%;
}

}

