@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #202020;
}

/* セクション共通 */

@font-face {
    font-family: Nunito;
    src: url(../font/Nunito-Italic-VariableFont_wght.ttf);
}

@font-face {
    font-family: Potta One;
    src: url(../font/PottaOne-Regular.ttf);
}

h3 {
    position: sticky;
    top: 0;
    z-index: -100;
    text-align: right;
    padding: 2% 5%;
    font-size: 2vw;
    font-family: Nunito;
    background-color: #8fbc8f;
}


/* ファーストビューアニメはじめ */
.anime {
    position: absolute;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: yellow;
}

.mainSite {
    width: 100%;
}

.anime-flex {
    display: flex;
    width: 45%;
}
.anime-box {
    display: flex;

}

.anime-box img {
    display: block;
    width: 25%;
}

.anime-p {
    width: 100%;
    text-align: center;
    font-family: Potta One;
    font-size: 2vw;
    line-height: 1.6;
    color: #7b5544;
}

.coffee-anime {
    animation: anime-anime 2s;
}
@keyframes anime-anime {
    50% {
        transform: rotate(-45deg);
    }
    100% {
        opacity: 0;
    }
}


/* ファーストビューアニメ終わり */

/* ヘッダーはじめ */
header {
    display: flex;
    padding-top: 3%;
    padding-bottom: 3%;
}
.mark-flex {
    width: 30%;
    text-align: center;
}
.facemark {
    width: 15%;
}

.facemark img {
    display: block;
    margin: 0 auto;
    width: 15%;
    animation: scaleanime 4s infinite;
}
@keyframes scaleanime {
    12% {
        transform: rotate(5deg);
    }
    25% {
        transform: rotate(10deg);
    }
    37% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    62% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(-10deg);
    }
    87% {
        transform: rotate(-5deg);
    }
    99% {
        transform: rotate(0deg);
    }
}
.subtitle {
    width: 100%;
}
nav {
    width: 70%;
}
header nav ul {
    display: flex;
    justify-content: space-around;
}
header nav ul li{
    width: 20%;
    text-align: center;
    line-height: 3;
    border-radius: 20px;
}
header nav ul li:hover{
    box-shadow: -2px 2px 0px 0px #8fbc8f;
}
header nav ul li a {
    display: block;
}
/* ヘッダー終わり */

/* topに戻るスクロールビヘイバー */
#top-p {
    position: fixed;
    bottom: 10px;
    right: 0px;
    width: 4%;
    z-index: 10;
    background-color: yellowgreen;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
    transition: 1s;
}
#top-p:hover {
    background-color: #202020;
    transition: 1s;
}

#top-p a {
    display: block;
    line-height: 3;
    text-align: right;
    color: #202020;
    font-size: 2vw;
    font-weight: 900;
}
#top-p a:hover {
    color: #fff;
    transition: 1S;
}

/* バナースライドショー始まり */

.slide-section {
    width: 100%;
    height: 55vh;
    margin: 0% auto 10%;
    display: flex;
}
.slide {
    position: relative;
    overflow: hidden;
    width: 33%;
    height: 55vh;
    margin: auto;
}

.slide2 {
    position: relative;
    overflow: hidden;
    width: 33%;
    height: 55vh;
    margin: auto;
}
.slide3 {
    position: relative;
    overflow: hidden;
    width: 33%;
    height: 55vh;
    margin: auto;
}
 
 /*=== スライドのアニメーションを時間差で開始する ========= */

.slide-img1 {
    display: block;
    position: absolute;
    left: 100%;
    animation: slideanime 30s infinite;
    width: 100%;
    height: 100%;
    animation-delay: 0s;
 }

.slide-img2 {
    display: block;
    position: absolute;
    left: 100%;
    animation: slideanime 30s infinite;
    width: 100%;
    height: 100%;
    animation-delay: 6s;
 }

.slide-img3 {
    display: block;
    position: absolute;
    left: 100%;
    animation: slideanime 30s infinite;
    width: 100%;
    height: 100%;
    animation-delay: 12s;
 }
.slide-img4 {
    display: block;
    position: absolute;
    left: 100%;
    animation: slideanime 30s infinite;
    width: 100%;
    height: 100%;
    animation-delay: 18s;
 }
.slide-img5 {
    display: block;
    position: absolute;
    left: 100%;
    animation: slideanime 30s infinite;
    width: 100%;
    height: 100%;
    animation-delay: 24s;
 }

 /*=== スライドのアニメーション ========================= */

@keyframes slideanime {
    0% {
        left: 100%;
    }
    2% {
        left: 0;
    }
    18% {
        left: 0;
    }
    20% {
        left: -100%;
    }
    100% {
        left: -100%;
    }
}

.slide-box:hover img {
    filter: saturate(50%);
}


/* スライドショー終わり */

/* ポスターの始まり */

.poster-flex {
    width: 70%;
    margin: 5% auto 0;
}
.poster-flex figure {
    width: 100%;
    overflow: hidden;
}
.poster-flex figure a img {
    display: block;
    width: 100%;
    margin: 3% 0;
}
.poster-flex figure:hover a img {
    transform: scale(1.2, 1.2);
    transition: 1s;
}
.poster-box {
    display: flex;
}

.poster-box figure {
    width: 50%;
}
.poster-box .poster-abstract {
    width: 70%;
    margin: 10%;
}
.poster-box .poster-abstract figcaption {
    text-align: center;
}

.poster-abstract table {
    display: flex;
    width: 100%;
    margin-top: 6%;
    font-size: 1vw;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
    position: relative;
}
.poster-abstract table::before, .poster-abstract table::after {
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}
.poster-abstract table::before {
    left: 10px;
}
.poster-abstract table::after {
    right: 10px;
}

.poster-abstract table tr th {
    width: 30%;
    line-height: 2.5;
}
.poster-abstract table tr td {
    width: 64%;
    padding: 3%;
}

/* ポスター終わり */


/* コラージュ始まり */

.collage-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    margin: 5% auto;
}

.collage-flex figure figcaption {
    text-align: center;
}

.collage-flex figure:nth-of-type(2) {
    margin-left: 2%;
    margin-right: 2%;
}
.collage-flex figure a img {
    display: block;
    width:100%;
}

.collage-flex figure a:hover {
    filter: brightness(150%);
}
/* コラージュ終わり */

/* サイト始まり */
.site-flex {
    width: 100%;
    margin: 5% auto;
}
.site .site-box {
    width: 100%;
    margin: 10% auto;
}
.site .site-box a img {
    display: block;
    width: 100%;
}
.site .site-box a:hover {
    filter: contrast(50%);
}
/* サイト終わり */


/* レタッチ始まり */

.retouch-flex {
    width: 70%;
    margin: 3% auto 0;
}

.retouch-box {
    display: flex;
}

.retouch-box figcaption {
    writing-mode: tb-rl;
    width: 4%;
}
.retouch-box figure {
    width: 48%;
    margin-bottom: 3%;
    overflow: hidden;
}
.retouch-box figure img {
    display: block;
    width: 100%;
}
.retouch-box figure:hover img {
    transform: scale(1.2, 1.2);
    transition: 1s;
}

/* レタッチ終わり */

/* ジフアニメ その他始まり */

.gif-box {
    display: flex;
    align-items: center;
    margin: 3% auto;
    width: 70%;
    background-color: #8fbc8f;
}
.gif-box div {
    width: 50%;
    text-align: center;
}

.gif-box div img {
    width: 50%;
    vertical-align: bottom;
}

.gif-box div img:nth-of-type(2) {
    display: block;
    box-shadow: 2px 2px 0 0 #202020;
}

/* ジフアニメ その他終わり */

/* コンタクト始まり */

.contact p {
    width: 50%;
    margin: 3% auto;
    text-align: center;
    line-height: 3;
    /* border: double 3px #8fbc8f; */
}

.contact details summary {
    width: 15%;
    margin: 3% auto 0;
    line-height: 4;
    text-align: center;
    font-size: 2vw;
    background-color: #8fbc8f;
    border-radius: 99999px;
}
.contact details summary:hover {
    background-color: cadetblue;
}

.contact address {
    font-style: normal;
    width: 50%;
    margin: 3% auto;
    text-align: center;
    line-height: 5;
    background-color: #8fbc8f;
    border-radius: 200px;
}

/* コンタクト終わり */

/* フッター始まり */
footer {
    width: 100%;

}
.footer-box {
    width: 30%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3% auto;
}

.footer-box a {
    margin-top: 5%;
    width: 30%;
}

.footer-box a i {
    display: block;
    text-align: center;
    font-size: 1.5vw;
    line-height: 3;
    width: 100%;
}
.footer-box a img {
    display: block;
    width: 100%;
}

footer p {
    width: 100%;
    color: #fff;
    background-color: #8fbc8f;
}

footer p small {
    display: block;
    padding: 2% 5%;
    text-align: right;
}
/* フッター終わり */
