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

h6.beige {
    line-height: 1.4;
}

.ebox1 {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 4em;
}
.ebox1 img {
    width: 100%;
}
.main_img {
    width: 35%;
}
.ebox1_doc {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65%;
    box-sizing: border-box;
    padding-left: 5%;
}

.stitle h3 {
    font-size: 4em;
    line-height: 1;
    font-weight: 500;
}
.stitle h6 {
    line-height: 1.7;
    font-weight: 500;
    margin-top: 0.5em;
}

.ebox1_doc h4 {
    font-weight: 500;
    font-size: 1.8em;
    line-height: 1.7;
    margin-top: 1em;
    margin-bottom: 1em;
}
.ebox1_doc p {
    line-height: 1.7;
}

.msub {
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.2em;
}
.ebox2 {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ebox2 p {
    font-size: 0.92em;
    line-height: 1.5;
}
.ebox2 img {
    width: 100%;
    max-width: 700px;
}

.ebox3 p {
    font-size: 0.92em;
    line-height: 1.5;
}
.ebox3 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.ebox3 ul img {
    width: 100%;
}
.ebox3 ul li section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1em;
}
.ebox3 ul li:first-child {
    width: 62%;
}
.ebox3 ul li:last-child {
    width: 33%;
}
.ebox3 ul li:first-child section img {
    width: 40%;
}
.ebox3 ul li:first-child section figure {
    width: 55%;
}
.img3adj {
    width: 70% !important;
}
.ebox3 ul li:last-child section p {
    width: 75%;
}
.ebox3 ul li:last-child section img {
    width: 20%;
}

.ebox4 p {
    font-size: 0.92em;
    line-height: 1.5;
}
.ebox4 ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.ebox4 ul img {
    width: 100%;
}
.ebox4 ul li section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.ebox4 ul li:first-child {
    width: 50%;
}
.ebox4 ul li:last-child {
    width: 45%;
}
.ebox4 ul li:first-child section p {
    width: 55%;
}
.ebox4 ul li:first-child section img {
    width: 40%;
}
.ebox4 ul li:last-child section img {
    width: 20%;
}
.ebox4 ul li:last-child section figure {
    width: 75%;
}



@media screen and (max-width: 1100px) {
.stitle h3 {
    font-size: 3em;

}
.ebox1_doc h4 {
    font-size: 1.6em;
}
}

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

.img3adj {
    width: 80% !important;
}

}

@media screen and (max-width: 880px) {
.ebox1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    margin-bottom: 4em;
}
.main_img {
    width: 70%;
}
.ebox1_doc {
    padding-left: 0;
    margin-bottom: 4em;
}
}

@media screen and (max-width: 520px) {
.ebox1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    margin-bottom: 3em;
}
.main_img {
    width: 80%;
}
.ebox1_doc {
    width: 100%;
    display: block;
    margin-bottom: 3em;
}

.stitle h3 {
    font-size: 2.6em;
}
.ebox1_doc h4 {
    font-size: 1.4em;
}

.ebox3 ul li:first-child {
    width: 100%;
    margin-bottom: 4em;
}
.ebox3 ul li:last-child {
    width: 100%;
}
.img3adj {
    width: 100% !important;
}
.ebox3 ul li:last-child section p {
    width: 77%;
}
.ebox3 ul li:last-child section img {
    width: 18%;
}
.img5adj {
    width: 70% !important;
}

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

}

