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

.mainimg {
    background-image: url("../img/main_bg.webp");
    background-position: center center;
    background-size: cover;
    height: 600px;
    margin-top: 140px;
    position: relative;
}
.mainimg p {
    position: absolute;
    right: 10px;
    bottom: 10px;
    line-height: 1.4;
    font-size: 0.68em;
    color: #fff;
}
.bg_alp {
    background-color: #be99c3;
    background-image: url("../img/bg.webp");
    background-position: center center;
    background-size: cover;
    padding-top: 1px;
    color: #fff;
}
.ill {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 300px;
}
.ill img {
    height: 100%;
}

.atitle {
    position: relative;
    text-align: center;
    margin-top: -200px;
    margin-bottom: 1em;
}
.atitle img {
    height: 400px;
}

.tx1 {
    text-align: center;
    font-size: 1.4em;
    line-height: 1.5;
    margin-bottom: 2em;
}

.aimg1 ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
.aimg1 ul li  {
    width: 40%;
    margin-right: 2em;
    margin-bottom: 3em;
}
.aimg1 ul li img {
    width: 100%;
}

.aimg2 ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}
.aimg2 ul li  {
    width: 40%;
    margin-left: 2em;
    margin-bottom: 3em;
}
.aimg2 ul li img {
    width: 100%;
}

.aimg3 ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: -3em;
}
.aimg3 ul li  {
    width: 40%;
    margin-right: 2em;
    margin-bottom: 3em;
}
.aimg3 ul li img {
    width: 100%;
}

.aimg4 ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
.aimg4 ul li  {
    width: 50%;
    position: relative;
}
.aimg4 ul li p {
    position: absolute;
    right: 10px;
    bottom: 10px;
    line-height: 1.4;
    font-size: 0.68em;
    color: #fff;
}
.aimg4 ul li img {
    width: 100%;
}

@media screen and (min-width: 500px) {
    
}

@media screen and (max-width: 499px) {
.mainimg {
    height: 250px;
    margin-top: 50px;
}
.ill {
    height: 140px;
}
.atitle {
    margin-top: -75px;
}
.atitle img {
    height: 150px;
}

.tx1 {
    text-align: left;
    font-size: 1.24em;
    margin-bottom: 1.5em;
}

.aimg1 ul li  {
    width: 90%;
    margin-right: 0;
    margin-bottom: 1em;
}
.aimg1 ul li:last-child {
    margin-left: 5%;
}

.aimg2 ul li  {
    width: 90%;
    margin-left: 0;
    margin-bottom: 1em;
}
.aimg2 ul li:last-child {
    margin-right: 5%;
}

.aimg3 ul {
    margin-bottom: -1em;
}
.aimg3 ul li  {
    width: 90%;
    margin-right: 0;
    margin-bottom: 1em;
}
.aimg3 ul li:last-child {
    margin-left: 5%;
}

.aimg4 ul li  {
    width: 100%;
}

}