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

#title {
    background-color: #fff;
    background-image: url("../img/bg_check.jpg");
    background-position: center;
    background-size: 65px auto;
    height: auto;
    line-height: 1;
    padding-top: 60px;
}
.titletx {
    box-sizing: border-box;
    padding: 10px 80px 0;
    max-width: 1500px;
    height: auto;
    margin: auto;
    position: relative;
}
.titletx img {
    width: 100%;
}

.main_box {
    margin: 0 auto;
    padding: 10px;
    max-width: 1800px;
}
.main_box ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.main_box ul img {
    width: 100%;
}
.main_box ul li:first-child {
    width: 65%;
    flex-shrink: 0;
}
.main_box ul li:last-child {
    width: 35%;
    flex-shrink: 0;
    position: relative;
}
.main_box ul li:last-child img {
    width: 110%;
    position: absolute;
    top: 0;
    right: 0;
}

.madori_box {
    background-image: url("../img/bg_dot.png");
    background-position: center;
    background-size: 59px auto;
}
.madori_box ul {
    margin: 0 auto;
    padding: 3em 20px 1em;
    max-width: 1500px;
}
.madori_box ul img {
    width: 100%;
}

.shiyo_box {
    margin: 0 auto;
    padding: 20px 30px 0;
    max-width: 1500px;
}
.shiyo_box ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
.shiyo_box ul img {
    width: 100%;
}
.shiyo_box ul li:first-child {
    width: 58%;
}
.shiyo_box ul li:last-child {
    width: 40%;
}

.map_box {
    text-align: center;
}
.map_box img {
    width: 100%;
    max-width: 800px;
}
.galleryadd {
    margin-top: 3em;
}
.galleryadd section {
    line-height: 1.4;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 1em 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.galleryadd h3 {
    font-weight: 500;
    font-size: 1.16em;
    color: #096;
}
.galleryadd h4 {
    font-weight: 500;
    font-size: 1.8em;
    padding: 0 0.5em;
}
.galleryadd p {
    font-size: 1.16em;
}
.gmap_link {
    text-align: center;
}
.gmap_link p {
    display: inline-block;
    margin: 0 auto;
}
.gmap_link p a {
    display: block;
    color: #333;
    line-height: 1;
    padding: 1em 1.5em;
    border: 1px solid #999;
}


@media screen and (max-width: 960px) {
#title {
    height: auto;
}
.titletx {
    padding: 20px 7% 10px;
}

.galleryadd section {
    padding: 1em 0;
    margin-left: 7%;
    margin-right: 7%;
}
.galleryadd h3 {
    font-size: 1em;
}
.galleryadd h4 {
    font-size: 1.6em;
    padding: 0 0.5em;
}
.galleryadd p {
    font-size: 1em;
}
}


@media screen and (max-width: 520px) {
#title {
    height: auto;
    padding-top: 50px;
}
.titletx {
    padding: 15px 10% 20px;
}

.main_box {
    margin: 0 auto 2em;
    padding: 0;
}
.main_box ul li:first-child {
    width: 100%;
}
.main_box ul li:last-child {
    width: 100%;
    flex-shrink: 0;
}
.main_box ul li:last-child img {
    width: 100%;
    position: static;
}

.madori_box ul {
    margin: 0 auto;
    padding: 0 0 15px;
    max-width: 1500px;
}

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

}

