@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% 1%;
    width: 3%;
    font-size: 3.5vw;
    writing-mode: tb-rl;
    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: 90%;
}
.anime-box {
    display: flex;
    justify-content: right;
    width: 60%;
}

.anime-box img {
    display: block;
    width: 25%;
}
.anime-box img:nth-of-type(4) {
    display: none;
}

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

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

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

/* ヘッダーはじめ */
header {
    display: flex;
    padding-top: 3%;
}

.mark-flex {
    display: flex;
    width: 80%;
    text-align: right;
    font-size: 1.6vw;
}
h1 {
    width: 80%;
    font-size: 5vw;
    line-height: 2.2;
}
.mark-flex .facemark {
    width: 20%;
}

.subtitle {
    display: none;
    width: 5%;
}

.facemark img {
    display: block;
    margin: 0 auto;
    width: 100%;
    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%;
    font-size: 1.6vw;
}

/* ハンバーガーメニュー */
nav.NavMenu{
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #000;
    text-align: center;
    width: 100%;
    transform: translateX(-100%);
    transition: all 0.6s;
}

nav.NavMenu ul{
    background: yellowgreen;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

nav.NavMenu ul li{
    font-size: 1.1em;
    padding: 0;
    width: 100%;
    border-bottom: 1px dotted #333;
}

nav.NavMenu ul li:last-child{
    padding-bottom: 0;
    border-bottom: none;
}

nav.NavMenu ul li a{
    display: block;
    color: #000;
    padding: 1em 0;
}

nav.NavMenu.active{
    transform: translateX(0%);
}

.Toggle {
    position: fixed;
    right: 13px;
    top: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 3;
}

.Toggle span {
    display: block;
    position: absolute;
    width: 30px;
    border-bottom: solid 3px #000;
    transition: .35s ease-in-out;
    left: 6px;
}

.Toggle span:nth-child(1) {
    top: 9px;
}

.Toggle span:nth-child(2) {
    top: 18px;
}

.Toggle span:nth-child(3) {
    top: 27px;
}

.Toggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    transform: rotate(-45deg);
}

.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 18px;
    transform: rotate(45deg);
}
/* ヘッダー終わり */

/* topに戻るスクロールビヘイバー */
#top-p {
    position: fixed;
    bottom: 10px;
    right: 0px;
    width: 8%;
    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: center;
    color: #202020;
    font-size: 5vw;
    font-weight: 900;
}
#top-p a:hover {
    color: #fff;
    transition: 1S;
}


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

.slide-section {
    width: 85%;
    height: 55vh;
    margin: -10% auto 2%;
    display: flex;
    justify-content: flex-start;
}
.slide {
    position: relative;
    overflow: hidden;
    width: 80%;
    height: 55vh;
    margin: auto;
}

.slide2 {
    display: none;
    position: relative;
    overflow: hidden;
    width: 50%;
    height: 55vh;
    margin: auto;
}
.slide3 {
    display: none;
    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: 85%;
    margin: -2% auto 5%;
}
.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: 90%;
    margin: 0 0 0 1%;
}
.poster-box .poster-abstract figcaption {
    text-align: center;
    margin-top: 5%;
}

.poster-abstract table {
    display: flex;
    width: 100%;
    margin-top: 2%;
    font-size: 1.5vw;
}

.poster-abstract table tr th {
    width: 20%;
    line-height: 1;
    background-color: #8fbc8f;
}
.poster-abstract table tr td {
    width: 65%;
padding: 2%;
    font-size: 2vw;
    background-color: yellowgreen;
}

/* ポスター終わり */


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

.collage-flex {
    width: 85%;
    margin: 5% auto;
}

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

.collage-flex figure a img {
    display: block;
    width:80%;
    margin: 3% auto 0%;
}

.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: 85%;
    margin: -8% auto 3%;
}

.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: -20% auto 3%;
    width: 85%;
    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 {
    width: 100%;
    margin-top: 8%;
}

.contact details {
    width: 70%;
    margin: -24% auto 0%;
}

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

.contact details summary {
    width: 60%;
    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: 100%;
    margin: 3% auto;
    text-align: center;
    line-height: 3;
    background-color: #8fbc8f;
    border-radius: 200px;
}

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

/* フッター始まり */
footer {
    width: 100%;
}
.footer-box {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3% auto;
}

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

.footer-box a i {
    display: block;
    text-align: center;
    font-size: 4vw;
    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: 0% 5%;
    text-align: center;
}
/* フッター終わり */
