/*
Theme Name: DREAMCHARACTER
Version: 0.1
Author: DUSK
*/

@font-face {
	font-family: 'Hakidame';
	src: url(./font/hakidame/hakidame.ttf);
}

html, body {
    background-color: black;
    color: white;
    position: relative;
    margin: 0;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    opacity: 0;
	visibility: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


a {
    color: white;
    text-decoration:none;
}

button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

header {
    width: 100%;
    background-color: black;
    position: fixed;
    top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    font-family: Hakidame;
    z-index: 100;
}

nav {
    width: 100%;
    padding-top: 5px;
    box-sizing: border-box;
    opacity: 0.5;
}

.logo {
    margin-left: 40px;
}

.logo img {
    height: 60px;
}

.hamburger {
    display: none;
}

nav ul {
    width: 90%;
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    display: block;
    text-decoration: none;
    color: white;
    margin-right: 15px;
}

nav ul li a:hover {
    color: red;
}

.res-hidden {
    display: block;
}

section {
    margin-top: 90px;
}

.dream-outline {
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
    margin-right: auto;
    margin-left: auto;
    border-top: solid 2px white;
    border-bottom: solid 2px white;
    box-sizing: border-box;
    width: 70%;
    padding: 20px;
}

.dream-outline:before, .dream-outline:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: white;
}
.dream-outline:before {left: 10px;}
.dream-outline:after {right: 10px;}

.yume-front {
    display: flex;
    width: 100%;
}

.yume-front-video {
    width: 90%;
    max-height: 100vh;
    margin: auto;
    display: block;
    margin-top: -30px;
}

.yume-front-responsive {
    display: none;
}

.yume-front-title {
    position: fixed;
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.yume-title {
    font-size:  2rem;
    text-align: center;
    margin-bottom: 40px;
    font-family: Hakidame;
    letter-spacing: 0.2em;
}

#dream-characters {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.characters-order-boxes {
    width: 500px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border: white;
    margin-top: 8px;
    margin-bottom: 30px;
}

.characters-order-box {
    width: 25%;
}

.characters-order {
    width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-radius: 10px;
    color: white;
    border:solid 2px;
}

.characters-order-active {
    background-color: rgba(80, 13, 13, 1);
}

.characters-order:hover {
    background-color: rgba(80, 13, 13, 1);
}

.searchform {
    display: flex;
    width: 500px;
    margin-right: auto;
    margin-left: auto;
}

.searchform input {
    height: 40px;
    width: 400px;
    padding: 1px;
    border: none;
    box-sizing: border-box;
    padding-left: 10px;
}

.searchform button {
    width: 100px;
    height: 40px;
    color: white;
    background-color: rgba(80, 13, 13, 1);
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    box-sizing: border-box;
}

.yume-character {
    width: 20%;
    margin-bottom: 20px;
}

.yume-character a {
    width: 85%
}

.character-image-box img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.character-like-box {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    position: relative;
}

.character-like-button {
    cursor: pointer;
}

.character-like-count {
    margin-left: 5px;
}

.yume-character-name {
    text-align: center;
}

.yume-character-detail-img {
    margin-right: auto;
    margin-left: auto;
    width: 40%;
}

.yume-character-detail-img img {
    width: 100%;
}

.yume-character-detail-first {
    margin-right: auto;
    margin-left: auto;
    width: 40%;
    display: flex;
}

.detail-buttons-box {
    margin-top: 5px;
    width: 40%;
    display: flex;
    margin-right: auto;
    margin-left: auto;
}

.detail-like-box-container {
    width: 25%;
    cursor: pointer;
}

.character-detail-like-box {
    width: 95%;
    display: flex;
    justify-content:center;
    border:solid 2px;
    border-radius: 10px;
    border-color: red;
    color: red;
    background-color: white;
    font-size: 0.7rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.character-detail-like-button {
    cursor: pointer;
}

.character-detail-like-count {
    margin-left: 5px;
}

.back-characters {
    width: 20%;
    text-align: center;
}

.back-characters a {
    color:rgb(215, 138, 30);
}

.back-characters a:hover {
    color: red;
}

#all-text-display {
    width: 20%;
    text-align: center;
    color:rgb(215, 138, 30);
    cursor: pointer;
}

#all-text-display:hover {
    color: red;
}

.yume-character-detail-name {
    width: 60%;
    font-size: 1.2rem;
    text-align: center;
}

.yume-character-detail-text {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    text-align: center;
    margin-bottom: 30px;
}

.yume-character-info {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    margin-top: 70px;
    margin-bottom: 0;
}

.yume-character-video {
    width: 100%;
}

.yume-character-info-text {
    padding-top: 40px;
    font-family: NSimSun;
    font-weight: bolder;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    z-index: 99;
    font-size: 2.8rem;
    animation: noise 0.2s infinite;
}

.yume-character-info-text-end {
    font-size: 3.2rem;
    margin-top: 200px;
}

.shop-buttons {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.shop-button-box {
    width: 25%;
}

.shop-button {
    display: block;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    background-color: black;
    border: white;
    color: white;
    border:solid 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.shop-button-active {
    background-color: rgba(80, 13, 13, 1);
}

.shop-button:hover {
    background-color: rgba(80, 13, 13, 1);
}

.shops {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.shop {
    margin-right: auto;
    margin-left: auto;
}

.shop-name {
    margin-top: 20px;
    margin-bottom: 20px;
}

.shop-name p {
    font-size: 1.5rem;
    margin: 0;
    font-family: Hakidame;
    letter-spacing: 0.1em;
}

.shop-name-line {
    margin-top: 10px;
    border-top-style: solid;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
}

.shop-items {
    display: flex;
    flex-wrap: wrap;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    align-items: stretch;
}

.shop-item {
    width: 25%;
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(150px);
}

.shopItemFadeInUnder {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shop-item .item-box {
    width: 85%;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
}

.shop-item img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-fit: contain;
    display: block;
}

.item-name {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.item-price {
    font-weight: bold;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.modal-items {
    width: 100%;
}

.modal-item {
    width: 50%;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    position: fixed;
    margin: auto;  
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: white;
    padding-top: 10px;
    overflow:auto;
    padding-bottom: 50px;
    color: black;
    bolder: rgba(80, 13, 13, 1);
    border:solid 2px;
    border-radius: 10px;
    height: 70%;
    transform: translateY(150px);
}

.modal-item-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modal-item-box {
    width: 70%;
    margin-right: auto;
    margin-left:auto;
}

.modal-item-close {
    margin-right: 20px;
    font-size: 1.7rem;
    cursor: pointer;
    text-align: right;
    height: 40px;
    text-align: right;
    margin-bottom: 10px;
}

.modal-item-box img {
    display: block;
    width: 100%;
    border: black;
    border: solid 1px;
}

.motal-item-name {
    font-size: 1.4rem;
    margin-top: 10px;
}

.motal-item-price-box {
    display: flex;
    margin-bottom: 10px;
}

.motal-item-price {
    font-size: 1.4rem;
    margin-right: 10px;
}

.modal-item-tax {
    color: rgba(133, 131, 131, 1);
}

.modal-item-description-head {
    font-size: 1.3rem;
}

.modal-item-description {
    margin-bottom: 20px;
}

.modal-item-decoration-content {
    white-space: normal;
}

.modal-item-link {
    width: 70%;
    font-size: 1.2rem;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    display: block;
    color: white;
    background-color: black;
    border-radius: 10px;
    margin-right: auto;
    margin-left: auto;
}

.modal-item-link:hover {
    background-color: rgba(80, 13, 13, 1);
}

.news-archive {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
}

.news-buttons {
    width: 70%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    flex-wrap: wrap;
}

.news-button-box {
    width: 20%;
}

.news-button {
    width: 90%;
    display: block;
    background-color: black;
    border: white;
    color: white;
    border:solid 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 10px;
}

.news-button-active {
    background-color: rgba(80, 13, 13, 1);
}

.news-archive ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.news-list {
    display:flex;
    min-height: 120px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
}

.news-first-box {
    width: 20%;
    text-align: center;
}

.news-second-box {
    width: 80%;
}

.category-box {
    width: 50%;
    border-radius: 10px;
    font-size: 0.9rem;
}

.category-box-yellow {
    background-color: #bbbb15ff;
}

.category-box-blue {
    background-color: #2ea8c4ff;
}

.category-box-green {
    background-color: #638530ff;
}

.category-box-pink {
    background-color: #db80bdff;
}

.category-box-default {
    background-color: black;
}

.news-title {
    font-size: 1.2rem;
    display: block;
    color: red;
    width: 100%;
}

.news-description {
    font-size: 0.9rem;
}

.news-list-line {
    display: block;
    border: 1px solid #a2a2a2ff;
}

.pagenate-box {
    width: 90%;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
}

.page-numbers {
    display: block;
    background-color: #d7d7d7ff;
    color: rgba(80, 13, 13, 1);
    width: 30px;
    height: 30px;
    text-align: center;
    align-items: center;
    border-radius: 2px;
    box-shadow: -2px -2px 5px #393939ff inset;
}

.page-numbers.current {
    background-color: white;
    color: black;
    font-weight: bold;
}

.next.page-numbers {
    background-color: white;
    color: black;
    font-weight: bold;
}

.prev.page-numbers {
    background-color: white;
    color: black;
    font-weight: bold;
}

.news-post-back {
    display: block;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    color: rgb(215, 138, 30);
}

.news-post {
    min-height: 400px;
}

.news-post-first-box {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
}

.news-second-box {
    display: block;
}

.news-post-category {
    border-radius: 10px;
    font-size: 0.9rem;
    width: 15%;
    text-align: center;
    margin-right: 5px;
}

.news-post-date {
    font-size: 0.9rem;
}

.news-post-title {
    width: 90%;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    color: red;
    font-size: 1.5rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #a2a2a2ff;
    padding-bottom: 5px;
}

.news-post-description {
    white-space: pre-wrap;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.news-post-description a {
    display: block;
    color: rgb(215, 138, 30);
}

.news-post-navigation {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
}

.news-post-navigation nav {
    opacity: 1;
}

.news-post-navigation .nav-links {
    display: flex;
    margin-bottom: 20px;
}

.news-post-navigation .nav-previous,
.news-post-navigation .nav-previous a {
    display: block;
    margin-right: auto;
}

.news-post-navigation .nav-next,
.news-post-navigation .nav-next a {
    display: block;
    margin-left: auto;
}

.news-post-navigation a {
    color: rgb(215, 138, 30);
}

.contact {
    margin-bottom: 40px;
}

.contact-mes {
    text-align: center;
}

.privacy {
    margin-bottom: 40px;
}

.privacy-first {
    margin-bottom: 10px;
}

.privacy-box {
    margin-bottom: 20px;
}

.privacy-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #a2a2a2ff;
}

footer {
  margin-top: auto;
  background-color: rgba(80, 13, 13, 1);
  width: 100%;
  padding-bottom: 10px;
  z-index: 100;
}

.footer-second-box {
    display: flex;
}

footer .privacy-link {
    width: 50%;
    font-size: 0.8rem;
    text-align: left;
    padding-left: 20px;
    margin-right: auto;
    display: block;
}

footer .copy-write {
    width: 50%;
    text-align: right;
    font-size: 0.8rem;
    padding-right: 20px;
    margin-left: auto;
}

footer .sns-links {
   padding-top: 20px;
   margin-right: auto;
   margin-left: auto;
   width: 20%;
   display: flex;
   padding-bottom: 40px;
}

footer .sns-link {
    display: block;
    width: 33%;
    margin-right: auto;
    margin-left: auto;
    display: flex; 
    justify-content: center;
}

footer .sns-link img {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

footer .x-icon {
    display: block;
    width: 25px;
}

footer .tiktok-icon {
    display: block;
    width: 45px;
}

footer .youtube-icon {
    display: block;
    width: 40px;
}

.admax-footer {
    margin-left: auto;
    margin-right: auto;
    pointer-events: auto;
    display: flex; 
    justify-content: center;
}

.not-found p {
    width: 60%;
    height: 120px;
    font-size: 2.5rem;
    margin-top: 200px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    line-height: 120px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(68, 14, 14, 1);
    background-color: rgba(117, 20, 20, 1);
    font-family: Hakidame;
}
.not-found h4 {
    text-align: center;
}

.display-none-overlay {
    height: 100vh;
    z-index: 100;
    background-color: black;
}

.text-red {
    color: red;
}

.post-img {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: space-between;
    margin-top: 4px;
    margin-bottom: 4px;
}

.post-img img {
    display: block;
    width: calc(25% - 3px);
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.post-img-single {
    width: 50%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 4px;
    margin-bottom: 4px;
}

.post-img-single img {
    display: block;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.post-youtube {
    width: 70%;
    display: block;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-right: auto;
    margin-left: auto;
    margin-top: 4px;
    margin-bottom: 4px;
}

.contact-form {
    display: block;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    max-width: 90%;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 120;
}

#overlay.overlay-active {
    opacity: 1;
    visibility: visible;
}

#firstLoading {
    z-index: 9999;
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;  
    transition: opacity 1s;
}

#firstLoading .loading-5 {
    display: block;
    font-size: 1.2rem;
}

#firstLoading .loading-5 img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
}

.lock-scroll {
    overflow: hidden;
    height: 100dvh;
}

/*タブレット対応*/
@media screen and (max-width: 1024px) {
    .logo {
        margin-left: 20px;
    }

    .logo img {
        height: 40px;
    }

    .hamburger {
        width: 40px;
        height: 32px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center; 
        background-color: black;
        margin-right: 20px;
        cursor: pointer;
    }
    
    nav {
        display: none;
        border-top: 1px solid;
        position: absolute;
        top: 70px;
        z-index: 3000;
        width: 100%;
        background-color: black;
        opacity: 1;
        margin: 0;
        padding: 0;
        background-color: transparent;
    }

    nav ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        z-index: 3000;
        height: 50px;
        border-bottom: 1px solid;
        border-color: white;
        display: flex;
        align-items: center;
        background-color: black;
    }
    
    nav ul li a {
        display: flex;
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
        position: relative; 
        width: 30%;
    }

    nav ul li a i {
        position: absolute;
        left: 0;
    }

    .res-hidden {
        display: none;
    }

    .hamburger_bar {
        display: block;
        width: 100%;
        height: 4px;
        position: absolute;
        left: 0;
    }

    .hamburger_bar:nth-child(1) {
        top: 0;
        background-color: white;
    }

    .hamburger_bar:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
        background-color: white;
    }

    .hamburger_bar:nth-child(3) {
        top: 100%;
        transform: translateY(-100%);
        background-color: white;
    }

    .dream-outline {
        width: 90%;
    }

    .yume-front {
        display: none;
    }

    .yume-front-responsive {
        display: flex;
        width: 100%;
    }

    .yume-front-responsive-video {
        margin-right: 0;
        margin-left: 0;
        margin-top: -30px;
        max-width: 100%;
        display: block;
        width:100vw
    }

    .yume-front-title {
        width: 100%;
    }

    .yume-character-name {
        font-size: 0.75rem;
    }

    .character-like-box {
        font-size: 0.75rem;
    }

    .yume-character-detail-img {
        width: 70%;
    }

    .detail-buttons-box {
        width: 70%;
        font-size: 0.5rem;
    }

    .yume-character-detail-first {
        width: 70%;
    }

    .yume-character-detail-name {
        font-size: 1rem;
    }

    .back-characters {
        font-size: 0.85rem;
    }

    #all-text-display {
        font-size: 0.85rem;
    }

    .yume-character-info-text {
        width: 100%;
        font-size: 1.5rem;
    }

    .yume-character-info-text-first {
        margin-to: 100px;
        font-size: 1.7rem;
        margin-bottom: 60px;
    }

    .yume-character-info-text-end {
        font-size: 1.7rem;
    }

    .shop-buttons {
        justify-content: flex-start;
    }

    .shop-button-box {
        width: 50%;
    }

    .shop-item {
        width: 50%;
    }

    .modal-item { 
        width: 70%;
    }

    .category-box {
        width: 80%;
        font-size: 0.8rem;
    }

    .news-archive {
        width: 90%;
    }

    .news-buttons {
        width: 90%;
        justify-content: flex-start;
    }

    .news-button-box {
        width: 25%;
    }

    .news-list {
        min-height: 130px;
    }

    .news-date {
        font-size: 0.8rem;
    }

    .news-description {
        font-size: 0.8rem;
    }

    .news-post-first-box {
        width: 90%;
    }

    .news-post-title {
        font-size: 1.2rem;
    }

    .news-post-navigation {
        width: 90%;
    }

    .news-post-navigation nav {
        all: unset;
    }

    .news-post-back { 
        width: 90%;
    }

    footer .sns-links {
      width: 40%;
    }

    .post-img img {
        width: calc(50% - 2px);
    }

    .searchform {
        width: 400px;
    }

    .characters-order-boxes {
        width: 400px;
    }
}
/*スマホ対応*/
@media screen and (max-width: 480px) {
    nav ul li a {
        width: 50%
    }

    .yume-title {
        font-size: 1.6rem;
    }

    .yume-character {
        width: 50%;
    }

    .yume-character-name {
        font-size: 0.8rem;
    }

    .news-button {
        font-size: 0.75rem
    }

    .news-title {
        font-size: 1rem;
    }

    .news-list {
        display: block;
        min-height: 160px;
    }

    .news-first-box {
        width: 30%;
        text-align: center;
    }

    .category-box {
        font-size: 0.8rem;
        width: 100%;
        margin-bottom: 2px;
    }

    .news-date {
        margin-bottom: 2px;
    }

    .news-second-box {
        width: 100%;
    }

    .footer-second-box {
        display: block;
    }

    footer .privacy-link {
        font-size: 0.7rem;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 5px;
        padding: 0;
    }

    footer .copy-write {
        text-align: center;
        font-size: 0.7rem;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 5px;
        padding: 0;
    }

    .searchform {
        width: 300px;
    }

    .characters-order-boxes {
        width: 300px;
    }

    .searchform input {
        width: 230px;
        font-size: 1.1rem;
    }

    .searchform button {
        width: 70px;
        font-size: 1.1rem;
    }

    .yume-character-detail-first {
        width: 90%;
    }

    .yume-character-detail-img {
        width: 90%;
    }

    .detail-buttons-box {
        width: 90%;
    }

    .yume-character-detail-text {
        width: 90%;
    }

    .yume-character-info-text {
        width: 100%;
        font-size: 1.1rem;
    }

    .yume-character-info-text-first {
        margin-top: 40px;
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .yume-character-info-text-end {
        font-size: 1.4rem;
        margin-top: 60px;
    }

    .shop-buttons {
        width: 90%;
    }

    .shop-button {
        width: 90%;
        font-size: 0.8rem;
    }

    .shop-name p {
        font-size: 1rem;
    }

    .item-name {
        font-size: 0.7rem
    }

    .item-price {
        font-size: 0.7rem
    }

    .modal-item { 
        width: 85%;
    }

    .modal-item-link {
        width: 85%;
    }

    .news-post-category {
        width: 30%;
    }

    .news-post-title {
        font-size: 1rem;
    }

    .not-found p {
        font-size: 2rem;
        width: 80%;
    }

    .post-img-single {
        width: 90%;
    }

    .post-youtube {
        width: 90%;
    }
}

/*アニメーション用クラス*/
/*非表示*/
.hidden {
    display: none;
}

/*タイピング表示*/
.type-text span {
    opacity: 0;
}

/*ハンバーガーメニューのアニメーション*/
.hamburger span:nth-of-type(1) {
  -webkit-animation: btn18-bar01 .5s forwards;
  animation: btn18-bar01 .5s forwards;
}
@-webkit-keyframes btn18-bar01 {
  0% {
    -webkit-transform: translateY(20px) rotate(-45deg);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes btn18-bar01 {
  0% {

    transform: translateY(20px) rotate(-45deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
.hamburger span:nth-of-type(2) {
  -webkit-animation: btn18-bar02 .5s forwards;
  animation: btn18-bar02 .5s forwards;
}
@-webkit-keyframes btn18-bar02 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes btn18-bar02 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.hamburger span:nth-of-type(3) {
  -webkit-animation: btn18-bar03 .5s forwards;
  animation: btn18-bar03 .5s forwards;
}
@-webkit-keyframes btn18-bar03 {
  0% {
    -webkit-transform: translateY(-20px) rotate(45deg);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes btn18-bar03 {
  0% {
    transform: translateY(-20px) rotate(45deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
.hamburger::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: '';
  width: 30px;
  height: 30px;
  margin: -16px 0 0 -16px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  transition: all .1s;
  opacity: 0;
}
.hamburger.ham-active::after {
  -webkit-animation: circle .5s;
  animation: circle .5s;
}
@-webkit-keyframes circle {
  0% {
    -webkit-transform: scale(.1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(3.5);
    opacity: 0;
  }
}
@keyframes circle {
  0% {
    transform: scale(.1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}
.hamburger.ham-active span:nth-of-type(1) {
  -webkit-animation: active-btn18-bar01 .5s .5s forwards;
  animation: active-btn18-bar01 .5s .5s forwards;
}
@-webkit-keyframes active-btn18-bar01 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  100% {
    -webkit-transform: translateY(20px) rotate(-45deg);
  }
}
@keyframes active-btn18-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  100% {
    transform: translateY(20px) rotate(-45deg);
  }
}
.hamburger.ham-active span:nth-of-type(2) {
  -webkit-animation: active-btn18-bar02 .5s .5s forwards;
  animation: active-btn18-bar02 .5s .5s forwards;
}
@-webkit-keyframes active-btn18-bar02 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes active-btn18-bar02 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.hamburger.ham-active span:nth-of-type(3) {
  -webkit-animation: active-btn18-bar03 .5s .5s forwards;
  animation: active-btn18-bar03 .5s .5s forwards;
}
@-webkit-keyframes active-btn18-bar03 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  100% {
    -webkit-transform: translateY(-20px) rotate(45deg);
  }
}
@keyframes active-btn18-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  100% {
    transform: translateY(-20px) rotate(45deg);
  }
}

/*フェードイン*/
.fadeIn {
  animation-name: fade-in;
  animation-duration: 3s;
}

.fadeInSlow {
  animation-name: fade-in;
  animation-duration: 8s;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*右からゆっくりスライドイン*/
.slideLineRight {
  animation: slideLineRight 1.5s forwards ease-out;
}

@keyframes slideLineRight {
  to {
    transform: scaleX(1);
  }
}

/*右からフェードインしつつスライドイン*/
.slideFadeinRight {
  animation: slideinRight 1.8s , fade-in 1.2s;
}

@keyframes slideinRight {
  0% {
    transform: translateX(50vh);
  }
  100% {
    transform: translateX(0);
  }
}

/*光る*/
.character-shine {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.character-shine::before {
    content: "";
    height: 100%;
    width: 30px;
    position: absolute;
    top: -180px;
    left: 0;
    background-color: #fff;
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -webkit-animation: shine 2s ease-in-out;
}

@keyframes shine {
    0% { -webkit-transform: scale(0) rotate(25deg); opacity: 0; }
    75% { -webkit-transform: scale(0) rotate(25deg); opacity: 0.5; }
    76% { -webkit-transform: scale(4) rotate(25deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(25deg); opacity: 0; }
}

/*右から回転して出現させる*/
.shop-name p {
  display: inline-block;
}

.shop-name p span {
  display: inline-block;
  opacity: 1;
  transform: rotateX(90deg) translateX(20px);
  animation: shopNameShow 0.9s ease-out forwards;
}

/* 1文字ずつ遅延 */
.shop-name p span:nth-child(1) { animation-delay: 0s; }
.shop-name p span:nth-child(2) { animation-delay: 0.1s; }
.shop-name p span:nth-child(3) { animation-delay: 0.2s; }
.shop-name p span:nth-child(4) { animation-delay: 0.3s; }
.shop-name p span:nth-child(5) { animation-delay: 0.4s; }
.shop-name p span:nth-child(6) { animation-delay: 0.5s; }
.shop-name p span:nth-child(7) { animation-delay: 0.6s; }
.shop-name p span:nth-child(8) { animation-delay: 0.7s; }
.shop-name p span:nth-child(9) { animation-delay: 0.8s; }

/* 回転しながら出現 */
@keyframes shopNameShow {
  0% {
    transform: translateX(50vw) rotate(0deg) scale(0);
  }
  100% {
    transform: translateX(0) rotate(-2880deg) scale(1);
  }
}

/**登場人物一覧ローディング**/
.loading {
    margin-right: auto;
    margin-left: auto;
    width: 50%;
    margin-top: 30px;
    margin-bottom: 60px;
    display:none;
}

.loading-5 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-5 p {
    margin: 0;
}

.loading-5 span {
    font-family: Hakidame;
    display: inline-block;
    color: #f03355;
    font-weight: 600;
    font-size: 1.5em;
    animation: animation-loading-5 1s infinite;
}

.loading-5 span:nth-of-type(2) {
    animation-delay: .1s;
}

.loading-5 span:nth-of-type(3) {
    animation-delay: .2s;
}

.loading-5 span:nth-of-type(4) {
    animation-delay: .3s;
}

.loading-5 span:nth-of-type(5) {
    animation-delay: .4s;
}

.loading-5 span:nth-of-type(6) {
    animation-delay: .5s;
}

.loading-5 span:nth-of-type(7) {
    animation-delay: .6s;
}

.loading-5 span:nth-of-type(8) {
    animation-delay: .7s;
}

@keyframes animation-loading-5 {
    50% {
        transform: translateY(10px);
    }
}

/**ノイズ**/
@keyframes noise {
    0% {
        text-shadow: 
            2px 0 rgba(255, 0, 0, 0.4),
            -2px 0 rgba(0, 255, 0, 0.4),
            0 2px rgba(0, 0, 255, 0.4),
            0 -2px rgba(255, 255, 0, 0.4);
    }
    10% {
        text-shadow: 
            1px 1px rgba(255, 0, 0, 0.4),
            -1px 1px rgba(0, 255, 0, 0.4),
            1px -1px rgba(0, 0, 255, 0.4),
            -1px -1px rgba(255, 255, 0, 0.4);
    }
    20% {
        text-shadow: 
            -2px 2px rgba(255, 0, 0, 0.4),
            2px -2px rgba(0, 255, 0, 0.4),
            2px 2px rgba(0, 0, 255, 0.4),
            -2px -2px rgba(255, 255, 0, 0.4);
    }
    30% {
        text-shadow: 
            -3px 3px rgba(255, 0, 0, 0.4),
            3px -3px rgba(0, 255, 0, 0.4),
            3px 3px rgba(0, 0, 255, 0.4),
            -3px -3px rgba(255, 255, 0, 0.4);
    }
    40% {
        text-shadow: 
            0 2px rgba(255, 0, 0, 0.4),
            -1px -1px rgba(0, 255, 0, 0.4),
            2px -1px rgba(0, 0, 255, 0.4),
            -1px 2px rgba(255, 255, 0, 0.4);
    }
    50% {
        text-shadow: 
            1px -2px rgba(255, 0, 0, 0.4),
            -2px 2px rgba(0, 255, 0, 0.4),
            1px 1px rgba(0, 0, 255, 0.4),
            -1px -1px rgba(255, 255, 0, 0.4);
    }
    100% {
        text-shadow: 
            2px 0 rgba(255, 0, 0, 0.4),
            -2px 0 rgba(0, 255, 0, 0.4),
            0 2px rgba(0, 0, 255, 0.4),
            0 -2px rgba(255, 255, 0, 0.4);
    }
}

/*いいね時に加算を表示*/
.like-plus {
    color: red;
    position: absolute;
    top: 0;
    left: 0;
    animation: fade-out-like 7s;
    animation-fill-mode: both;
    z-index: 50;
    font-size: 0.8rem;
    font-weight: 1000;
    margin-left: 20px;
}

.character-detail-like-box .like-plus {
    font-weight: 500;
    margin-left: 75px;
    @media screen and (max-width: 480px) {
        margin-left: 50px;
    }
}

/*いいね時の加算フェードアウト*/
@keyframes fade-out-like {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

/*SearchWP Live Ajax Lite Searchによるインクリメンタルサーチのスタイル調整*/
.searchwp-live-search-results {
    min-height: 0px !important;
    height: auto;
    background-color: white;
    margin-right: auto;
    margin-left: auto;
    width: 500px;
    z-index: 99;
    position: absolute;
}

.searchwp-live-search-results .spinner {
    display: none;
    height: 0px;
    padding: 0px !important;
} 

.searchwp-live-search-result {
    padding: 5px !important;
}

.searchwp-live-search-result--title {
    margin: 0;
}

.searchwp-live-search-result a {
    color: rgba(80, 13, 13, 1);
    font-size: 1rem;
    font-weight: normal;
    width: 100%;
    display: block;
}

.live-search-result-link:focus {
    background-color: rgba(218, 218, 218, 1);
}