


body {
    background-color: #42495d;
    font-family: "Suisse Int", "Noto Sans JP", sans-serif;
    margin: 0;
}

h1 {
    letter-spacing: 3px;
    font-size: 25px;
    /*text-decoration:underline solid #D9A513;*/
    text-align: center;
    color: #42495d;
}
h2 {
    letter-spacing: 3px;
    font-size: 25px;
    text-align: center;
    color: #fff;
}
h3 {
    letter-spacing: 3px;
    font-size: 25px;
    text-align: center;
    color: #42495d;
}

.topphotos p {color:rgba(255, 255, 255, 0.897);
    font-size: 40px;
    font-weight: 550;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,50%);
    white-space: nowrap;
    letter-spacing: 3px;
}
.topphotos {
    height: 100vh;
    position: relative;
}

.image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    background-size: cover;
    background-position: center center;

    animation: image-switch-animation 20s infinite;
}
.src1 {
    background-image: url('./pic_kyudaisai/kyudaisai1.jpg');
}
.src2 {
    background-image: url('./pic_kyudaisai/kyudaisai2.jpg');
}
.src3 {
    background-image: url('./pic_kyudaisai/kyudaisai3.jpg');
}
.src4 {
    background-image: url('./pic_kyudaisai/kyudaisai4.jpg');
}
.src5 {
    background-image: url('./pic_kyudaisai/kyudaisai5.jpg');
}
@keyframes image-switch-animation {
    0%{ opacity: 0;}
    5%{ opacity: 1;}
    25%{ opacity: 1;}
    30%{ opacity: 0;}
    100%{ opacity: 0;}
}
.image:nth-of-type(1) {
    animation-delay: 0s;
}
.image:nth-of-type(2) {
    animation-delay: 4s;
}
.image:nth-of-type(3) {
    animation-delay: 8s;
}
.image:nth-of-type(4) {
    animation-delay: 12s;
}
.image:nth-of-type(5) {
    animation-delay: 16s;
}
.image::before{
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;;
    background: black;
    opacity: 0.4;
}

.text {
    background-color: white;
}

.frame {
    position: relative;
    border: 5px solid #ca4;
    padding: 1em;
    text-align: center;
    background-color: white;
}
.frame::before,
.frame::after,
.circle::before,
.circle::after {
    position: absolute;
    display: block;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    content: "";
    background-color: #42495d;
    border: 5px solid #ca4;
}
.frame::before {
    top: -15px;
    left:-15px
}
.frame::after {
    top: -15px;
    right: -15px;
}
.circle::before {
    right: -15px;
    bottom: -15px;
}
.circle::after {
    left: -15px;
    bottom: -15px;
}
.over {
    overflow: hidden;
}
.text {
    margin-top: 150px;
    margin-left: 3%;
    margin-right: 3%;
}
.circle {
    width: 90%;
    /*max-width: 1000px;*/
    margin:50px auto;
}
.newslist {
    margin: 5px auto;
    border-top: 1px solid #42495d;
    width: 95%;
    /*margin-right: 30px;*/

}
.newslist li {
    padding: 15px 5px;
    border-bottom: 1px solid #42495d;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    margin-left: -35px;

}
.date {
    font-size: 16px;
    margin-right: 10px;
    color: #ca4;

}
.newstext{
    color: rgb(64, 62, 62);
}
.news-btn a{
    color: #42495d;
    text-decoration: none;
}
.news-btn {
    text-align: center;
    margin-top: 60px;
}
.btn {
    color: #42495d;
    padding: 10px 50px;
    background-color: #fff;
    border: 1.5px solid #42495d;
    border-radius: 50px;
    transition: all 0.5s;
}
.btn:hover {
    color: #fff;
    background-color: #ca4;
}
@media screen and (max-width: 600px) {
.circle {
    width: 100%;
    /*padding: 0 20px;*/
}
.newstext a{
    display: block;
    margin-top: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
}
}
.newstext a {
    text-decoration: none;
    color: #42495d;
    width: 100%;
}




.aboutus_bg {
    border-top: solid #353e57;
    position: relative;
    margin-top: 150px;
    background-color: #42495d;
    text-align: center;
    background: url('./pic_kyudaisai/back5.png');
    background-size:90px 200px;
    background-repeat: repeat;
    padding-bottom: 200px;
}

.aboutus_bg2 {
    position: relative;
    text-align: center;
    border-top: solid #353e57;
}
.image-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: auto;
}
.image-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: auto;
}
.br-sp {
    display: none;
}
@media (max-width: 600px) {
    .br-sp {
        display: block;
        text-align: center;
    }
}

.gradation {
    margin-top: 150px;
    height: 100px;
    background-image: linear-gradient(#42495d, #fff);

}


.aboutus_bg3 {
    position: relative;
    background-color: #fff;
    background-image: url('./pic_kyudaisai/back8.jpg');
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 100px;

    text-align: center;
}

@media (max-width: 600px) {
    .aboutus_bg3 {
    position: relative;
    background-color: #fff;
    background-image: url('./pic_kyudaisai/back7.jpg');
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 100px;
    }
}


.title {
    padding-top: 100px;
    text-align: center;
}

.text2 {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    /* background-color: #42495d;*/
    align-items: center;
}
.about-us1 {
    display: flex;
    flex-direction: column;
    position: relative;
    
}
.about-us1 {
    margin: 30px;
    width: 210px;
    padding-bottom: 5px;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.about-us1 img {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 5%;
}
.about-us1 p {
    text-align: center;
    letter-spacing: 3px;
    font-weight: 600;
    position: absolute;
    color:rgba(255, 255, 255, 0.897);
    font-size: 18px;
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    /*text-shadow: 1px 1px 4px black;*/
}
.about-us1::before {
    content: "";
    position: absolute;
    top: 0;left: 0;
    bottom: 5px; right: 0;
    background: black;
    opacity: 0.5;
    margin: 0;
    padding: 0;
    border-radius: 5%;
}
.about-us1:hover {
    transform: scale(1.1,1.1);
}
@media screen and (min-width: 768px) {
    .text2 {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    .about-us1 {
        max-width: 250px;
    }
}
