@charset "UTF-8";

/*
Theme Name: 
Theme URI: /wp-content/themes/naro-book
Author URI:
Version: 1.0
*/

body{
  background:url("http://naro-book.work/wp-content/uploads/2022/06/naroimage5.png");
  background-repeat: repeat;
}

.naro__wrap {
    display: none;
}

.naro__wrap.slick-initialized {
    display: block;
}

.index__wrap {
    display: none;
}

.index__wrap.slick-initialized {
    display: block;
}


html {
    font-family: fot-udkakugo-large-pr6n, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 62.5%;
    letter-spacing: 0.05em;
}

*,
*:before,
*:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    outline: none;
}

img,
video {
    width: 100%;
    vertical-align: bottom;
    height: auto;
}


a {
    display: inline-block;
    text-decoration: none;

}

li {
    list-style: none;
}

.naro__content {
    position: relative;
}

.naro__left {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

.naro__right {
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.naro__button {
    width: 6.568vw;
    position: absolute;
    left: 3.53vw;
    bottom: 2.3vw;
}

.modal {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

}

.modal__wrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.modal__img {
    width: auto;
    height: 100%;
    width: auto;
    vertical-align: bottom;
}

.naro__top,
.naro__tobook {
    width: 16.4vw;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

.index {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    height: 31.32vw;
    width: 90%;
    top: 12vw;
    left: 50%;
    transform: translateX(-50%);
}

.index__content {
    height: 31.32vw;
    position: relative;
    z-index: 1;
}

.index__left {
    width: 62%;
}

.index__button {
    width: 15vw;
    position: absolute;
    cursor: pointer;
}

.index__image {
    position: relative;
}

.index__label {
    position: absolute;
    top: 6%;
    left: 47%;
    transform: translate(-50%, -50%);
    width: 6.5vw;
}

.index__box {
    position: relative;
}

.index__ttl {
    font-size: 1.642vw;
    position: absolute;
    left: 50%;
    top: 50%;
    line-height: 1em;
    transform: translate(-50%, -50%);
    color: #fff;
}

.index__content .index__button:first-of-type {
    top: 8%;
    left: 9%;
}

.index__content .index__button:nth-of-type(2) {
    top: 51%;
    left: 23.5%;
}

.index__content .index__button:nth-of-type(3) {
    top: 8%;
    left: 38.5%;
}

.index__content .index__button:nth-of-type(4) {
    top: 51%;
    left: 53%;
}

.index__content .index__button:nth-of-type(5) {
    top: 8%;
    left: 68.5%;
}

.index__main {
    width: 10.3vw;
    position: absolute;
    left: 1.65vw;
    top: 1.4vw;
}

.slick-dots {
    bottom: 1vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slick-dots li {
    margin: 0 0.5vw;
    width: 1.23vw;
    height: 1.23vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slick-dots li button {
    width: 1.23vw;
    height: 1.23vw;
}

.slick-dots li button:before {
    content: "";
    width: 1.026vw;
    height: 1.026vw;
    border-radius: 100%;
    background-color: #484949;
    opacity: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    width: 1.23vw;
    height: 1.23vw;
    background-color: #fd598d;
}

.index__right {
    height: 33vw;
    width: 37%;
}

.latest {
    position: relative;
    cursor: pointer;
}

.latest__image {
    position: absolute;
    top: 31%;
    left: 22.5%;
    width: 49.5%;
}

.index__under {
    cursor: pointer;
}

.slick-dotted.slick-slider {
    margin: 0;
}

.index__left {
    position: relative;
}

.index__prev {
    display: none;
    width: 2.95vw;
    position: absolute;
    left: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
}

.index__next {
    width: 2.95vw;
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
}

.latest__label {
    font-size: 3.285vw;
    position: absolute;
    left: 44.5%;
    top: 2vw;
    color: #6f480d;
}

.last__menu {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
}

.last__img {
    width: 42.6vw;
    cursor: pointer;
}

.last__start {
    margin-bottom: 4vw;
}

/* Loading CSS */

:root{
    --main-clr: rgba(255, 255, 255, 1);
    --font-clr: rgb(0, 127, 255);
}

.wrap{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background: var(--main-clr);
    display: grid;
    place-items: start center;
    padding:100px;
    z-index:10;
}

.fadeout {
    animation : fadeOut 1s;
    animation-fill-mode: both;
  }
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

.txt{
    position: relative;
    top: 20rem;
    left: 0;
    font-size:30px;
    font-family: sans-serif;
    color: var(--font-clr);
}

.support{
    width: 15rem;
    height: 15rem;
    position: absolute;
    animation: rotation 3.8s linear infinite;
}

.support.active{
    animation: rotation 3.8s linear infinite;
}

.support:nth-child(1){
    animation-delay: 0.15s;
}
.support:nth-child(2){
    animation-delay: 0.3s;
}
.support:nth-child(3){
    animation-delay: 0.45s;
}
.support:nth-child(4){
    animation-delay: 0.6s;
}
.support:nth-child(5){
    animation-delay: 0.75s;
}
.support:nth-child(6){
    animation-delay: 0.9s;
}

@keyframes rotation {
    0%{
        opacity: 0.8;
    }
    30%{
        transform: rotate(180deg);
        opacity: 1;
    }
    40%{
        transform: rotate(360deg);
        opacity: 1;
    }
    80%{
        transform: rotate(720deg);
        opacity: 0.8;
    }
    81%{
        opacity: 0;
    }
    100%{
        transform: rotate(0deg);
        opacity: 0;
    }
}

.dot{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--font-clr);
    position: relative;
    top: 37px;
    left: 7px;
}


@media screen and (min-width: 960px) {
    .wrap{
        height:100%;
        place-items: center;
        padding:0;
    }

    .txt{
        top: 7rem;
        left: 0;
        font-size:24px;
    }
    
    .support{
        width: 7rem;
        height: 7rem;
    }

    .dot{
        width: 10px;
        height: 10px;
    }
}

