@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: elmer;
    src: url(../font/elmer_font/えるまー.ttf);
}

@font-face {
    font-family: Zen_Maru;
    src: url(../font/Zen_Maru_Gothic/ZenMaruGothic-Regular.ttf);
}


header {
    background-image: url(../imags/bg_top.png);
    background-size: 100% 50%;
    background-position: bottom;
    background-repeat: no-repeat;
    background-color: #F4F0EA;
}

h2 {
    font-family: elmer;
    text-align: center;
    color: #603813;
    font-size: 2.2vw;
}

h2::before {
    content: url(../images/nekoicon1.png);
    margin-right: 1.5%;
}

h2::after {
    content: url(../images/nekoicon1.png);
    margin-left: 1.5%;
}

p {
    font-family: Zen_Maru;
    color: #202020;
}

h1 {
    width: 70%;
    padding: 3%;
    width: fit-content;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

h1 a {
    width: 80%;
    display: block;
    text-decoration: none;
    color: #603813;
    font-size: 2vw;
    font-family: elmer;
}

h1 a img {
    display: block;
    width: 100%;
}

nav {
    position: sticky;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    z-index: 10;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    width: 15%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

nav ul li a {
    display: block;
    text-decoration: none;
    color: #603813;
    font-family: elmer;
    font-size: 1.5vw;
    line-height: 3;
}

nav ul li a::after {
    display: block;
    opacity: 0;
    margin-top: -10%;
    content: url(../images/cursor.png);
}

nav ul li a:hover::after {
    opacity: 1;
    margin-top: -18%;
    transition: 0.5s;
}

/* メインvisual */
main {
    background-color: #F4F0EA;
}

.main-visual {
    height: 100vh;
}


/* あばうと */
.about {
    position: relative;
    width: 65%;
    margin-top: 20%;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/bgneko.png);
    background-size: 15% 25%;
    background-repeat: no-repeat;
    background-position: 48% 63%;
}

.about h2 {
    text-align: center;
    font-family: elmer;
}

.aboutflex {
    display: flex;
    padding: 2%;
}

.about p {
    width: 64%;
    padding: 2%;
    padding-top: 3%;
    padding-bottom: 3%;
    text-align: center;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2vw;
    line-height: 2;
    white-space: pre-wrap;
}

.about p span {
    display: block;
    font-size: 1.5vw;
    margin-bottom: -3%;
    color: #a54340;
}

.keito {
    position: absolute;
    top: 79%;
    left: -50%;
    width: 8%;
    animation: keito 5s linear forwards;
}

.keito img {
    width: 100%;
}

@keyframes keito {
    85% {
        top: 79%;
        left: 0%;
    }

    90% {
        top: 79%;
        left: -2%;
    }
    100% {
        transform: rotate(360deg);
        top: 79%;
        left: 0;
    }
    
}

/* にゅーす */

.news {
    width: 90%;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
}

.news h2 {
    margin-bottom: 2%;
}
 
.newsflexparent {
    display: flex;
}

.newsflexchild {
    width: 50%;
    margin-left: 2%;
}

.newsflexchild a img {
    width: 100%;
}

.newsflexchild ul {
    list-style-type: none;
    width: 95%;
}

.newsflexchild ul li {
    padding: 3%;
    border-bottom: 1px dotted #603813;
}

.newsflexchild ul li time {
    margin-left: 5%;
    display: block;
    color: #a54340;
}

.newsflexchild ul li a {
    display: block;
    text-align: center;
    padding: 1%;
    text-decoration: none;
    color: #202020;
    transition: .5s;
}

.newsflexchild ul li a:hover {
    color: #b83030;
    transition: .5s;
}

.newsflexchild a:nth-child(3) {
    display: block;
    width: 15%;
    padding: 1%;
    margin-top: 2%;
    margin-left: 78%;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    color: #ffffff;
    background-color: #EB7E87;
    transition: .5s;
}

.newsflexchild a:nth-child(3):hover {
    color: #EB7E87;
    background-color: #ffffff;
    border: 1px solid #EB7E87;
    transition: .5s;
}

/* 看板猫 */

.cat {
    margin-top: 10%;

}

.cat h2 {
    padding: 2%;
}

.cat-flex {
    width: 60%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.cat-left {
    width: 50%;
    margin-left: 2%;
}

.cat-right {
    width: 50%;
}

.cat p {
    text-align: center;
    margin-bottom: 2%;
}
