body{
    margin: 0px;
    padding: 0;
}
.header{
    width: 100%;
    height: auto;
    background-color: white;
    color: black;
    text-align: center;
    border-bottom: solid 1px black;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0;
}
.header a{
    text-decoration: none; 
    color: inherit; 
}
.header h1{
    margin-top: 20px;
    margin-bottom: 10px;
}
.header h1:hover {
    color: #555;
}
.menu{
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu ul{
    display: flex;
    gap: 50px;
}
.menu li{
    list-style: none;
}
.menu a{
    text-decoration: none; 
    color: inherit;
    display: block;
}
.header .menu a:hover {
    color: #555;
}
.contents{
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}
.title{
    font-size: 30px;
    border-bottom: solid 2px red;
    padding-bottom: 15px;
}
.mycontact{
    font-size: 16px;
    width: 650px;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    padding-bottom: 20px;
}
.mycontact li{
    display: flex;
    border-bottom: solid 1px #cccccc;
    padding: 15px;

}
.mycontact div{
    flex-basis: 50%;
}
footer{
    background-color: rgb(33, 33, 33);
    margin-top: 20px;
}
.footer-contents{
    width: 1200px;    
    margin-left: auto;
    margin-right: auto;

}
.footer-title{
    color: white;
    text-align: center;
    margin: 0;
    padding-top: 35px;
    padding-bottom: 30px;
    border-bottom: solid 1px gray;
}
footer a{
    text-decoration: none; 
    color: inherit; 
}
footer a:hover {
    color: #ccc;
}
.footer-text{
    margin: 0;
}
.sns{
    display: flex;
    gap: 50px;
    justify-content: center;
    margin: 15px;
}
.sns-icon:hover{
    opacity: 0.7;
}
.footer-contents .menu{
    color: white;
    margin: 15px;
}
.footer-text{
    color: rgb(50, 50, 50);
    text-align: center;
    padding-top: 10px;
    padding-bottom: 20px;
}
.pic-leftside{
    width: 450px;
    height: 350px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.pic-rightside{
    width: 450px;
    height: 350px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    justify-content: right;
    margin-left: auto;   
}
.picktures{
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-basis: 50%;
    text-decoration: none; 
    color: inherit; 
    border-bottom: solid 1px gray;
}
.linktocontent{
    padding-left: 150px;
    text-decoration: none; 
    color: inherit; 
}
.text-linktocontent{
    padding-top: 150px;
}
.title-tocontent{
    width: 450px;
    font-size: 36px;
    margin: auto;
    justify-content: center;
    text-align: center;
}
.top{
    margin-top: 1px;
    overflow: hidden;
}
.toppic{
    width: 100%;
    height: 700px;
    object-fit: cover;
    overflow: hidden;
    animation: animationZoom2 20s ease-in-out infinite;
    z-index: 1;
}
.pic-subpage{
    width: 450px;
    height: 350px;
    object-fit: cover;
    justify-content: right;
    margin-left: auto;   
}
.text-tocontent{
    text-align: center;
}

@keyframes animationZoom2 {
    50% { transform:scale(1.1)} 
  }

.links_prev,
.links_next {
    width: 40px;
    height: 40px;
    display: block;
    background-color: #FFFFFF;
    border: 0px;
    padding: 0;
    z-index: 2;
}
.links_prev{
    position: absolute;
    left: 20px;
    top: 500px;
}

.links_next{
    position: absolute;
    right: 20px;
    top: 500px;
}

.links_prev.disable,
.links_next.disable{
    opacity: 0.2;
}