@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
/* **************************
    SLIDER
************************** */

.main-image {
    position: relative;
}

.main-image-sp img {
    width: 100%;
    object-fit: cover;
    height: 300px;
    display: block;
}

.main-image img {
    width: 100%;
}

.association-logo {
    position: absolute;
    /*    top: 43%;*/
    /*    top: 350px;*/
    top: 38vh;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: white;
    font-size: 6em;
    width: 150px;
    text-align: center;
}


.main-image span {
    position: absolute;
    /*    top: 56%;*/
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding-top: 5px;
    color: white;
    font-size: 1.3em;
    width: 650px;
    text-align: center;
}

.top-image-area {
    width: 100%;
    text-align: center;
}

.top-image-area img {
    width: 100%;
    max-width: 800px;
    margin: 20px;
}

.slider-area {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.slider {
    width: 100%;
    background-attachment: fixed;
    z-index: 0;
}

.background-image {
    /*    width: 100vw;*/
    /* height: 90vh; */
    height: 400px;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(80%);
}

.background-image-01 {
    background-image: url(../image/imgSilder01.jpg);
}

.background-image-02 {
    background-image: url(../image/imgSilder01.png);
}

.background-image-03 {
    background-image: url(../image/imgSilder01.png);
}

@media screen and (max-width:765px) {
    .main-image {
        display: none;
    }
}

@media screen and (min-width:765px) {
    .main-image-sp {
        display: none;
    }
}

/* **************************
    TOPICS
************************** */

.message {
    text-align: center;
    letter-spacing: 3px;
    color: #FFFFFF;
    font-weight: 900;
    /*    margin: 0 0 1em 0;*/
    width: 100%;
    font-family: 'Abril Fatface', serif;
    font-size: 2em;
    margin: 5px 0;
}

.sub {
    width: 100%;
    color: #FFFFFF;
    font-size: 1em;
    padding: 20px 0;
}

.container-msg {
    width: 95%;
    max-width: 960px;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    border-bottom: solid 1px #FFFFFF;
    padding: 5px 0;
}

.container-msg p {
    color: #FFFFFF;
}

/* **************************
    NEWS
************************** */

.news {
    margin: 10px;
    width: 450px;
    /*    border: 1px solid dimgray;*/
    box-shadow: 0 0 8px gray;
    transition: .4s;
    background-color: white;
}

.news:hover {
    background: #AEC4E5;
    transform: scale(1.03);
}

.news-image img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-contents i {
    margin: 10px;
    color: #4790BB;
}

.news-contents p {
    margin: 10px;
    color: dimgray;
    font-size: 1.1em;
}

.news-contents time {
    color: #4790BB;
}

@media screen and (max-width:765px) {
    .news {
        width: 100%;
    }
    .news-image img {
        height: 100px;
    }
}

.more-button {
    margin: 1em;
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 0 8px gray;
    transition: .4s;
    color: dimgrey !important;
    width: 100%;
    background-color: #ffffff;
}

.more-button:hover {
    background: #0447b1;
    color: #ffffff !important;
}

/* **************************
    MENU
************************** */

.guide {
    position: relative;
    margin: 10px;
    width: 450px;
    height: 200px;
    border: 1px solid #e2e2e2;
    box-shadow: 0 0 8px gray;
    transition: .4s;
}

.guide:hover {
    background: #e0edff;
    transform: scale(1.03);
}

.guide img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(60%);
}

.title-i {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: white;
    font-size: 2em;
    border-bottom: 2px solid white;
}

.subtitle-i {
    position: absolute;
    top: 69%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: white;
    font-size: 1.2em;
}

.frame {
    position: absolute;
    width: 96%;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    border: 3px solid white;
}

@media screen and (max-width:765px) {
    .guide {
        width: 100%;
    }
}
