/*
Theme Name: Mofu Theme
Theme URI: https://github.com/jeffreyvr/jeffreyvr
Author: Jeffrey van Rossum
Author URI: https://vanrossum.dev
Description: A WordPress theme made with TailPress.
Version: 1.2.4
License: MIT
License URI: https://github.com/jeffreyvr/jeffreyvr/blob/master/LICENSE
Text Domain: mofu_theme
*/

/* General */
/* html {
    scroll-behavior: smooth;
} */
body {
    word-break: auto-phrase;
    height: 100%;
}
a {
    text-decoration: none;
    transition: 0.3s all;
}
a:hover {
    opacity: 0.6;
}

/* Font Family */
.ibm-plex-mono-thin {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 100;
    font-style: normal;
}
.ibm-plex-mono-extralight {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 200;
    font-style: normal;
}
.ibm-plex-mono-light {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 300;
    font-style: normal;
}
.ibm-plex-mono-regular {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-style: normal;
}
.ibm-plex-mono-medium {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500;
    font-style: normal;
}
.ibm-plex-mono-semibold {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    font-style: normal;
}
.ibm-plex-mono-bold {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 700;
    font-style: normal;
}
.ibm-plex-mono-thin-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 100;
    font-style: italic;
}
.ibm-plex-mono-extralight-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 200;
    font-style: italic;
}
.ibm-plex-mono-light-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 300;
    font-style: italic;
}
.ibm-plex-mono-regular-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-style: italic;
}
.ibm-plex-mono-medium-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500;
    font-style: italic;
}
.ibm-plex-mono-semibold-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    font-style: italic;
}
.ibm-plex-mono-bold-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 700;
    font-style: italic;
}

.familjen-grotesk-normal {
    font-family: "Familjen Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.familjen-grotesk-medium {
    font-family: "Familjen Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
.familjen-grotesk-semibold {
    font-family: "Familjen Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
.familjen-grotesk-bold {
    font-family: "Familjen Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.ibm-plex-sans-jp-regular {
    font-family: "IBM Plex Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.player {
    box-sizing: border-box;
    isolation: isolate;
    width: auto;
    height: auto;
    background: rgba(245, 242, 228, 0.6);
    border: 1px solid rgba(48, 38, 38, 0.08);
    backdrop-filter: blur(10px);
    /* Note: backdrop-filter has minimal browser support */
    border-radius: 8px;
}
.player-close {
    display: inline-block;
    width: 24px;
    height: auto;
    cursor: pointer;
    transition: .4s all;
}
.player-close:hover {
    opacity: 80%;
}
.controls {
    display: inline-flex;
    align-items: center;
    gap: 28px;
}
.controls button {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.controls button:hover {
  opacity: 0.8;
}
.music-info {
    display: inline-block;
    width: 204px;
    overflow: hidden;
}
#now-playing {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    font-family: 'IBM Plex Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 160%;
    color: #302626;
    mix-blend-mode: normal;
}

#timestamp {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: rgba(48, 38, 38, 0.5);
}

audio {
  display: none;
}
@media screen and (max-width: 680px) {
    .player {
        display: none;
    }
}F

#top_characters {
    background: url(/wp-content/themes/mofu-theme/assets/img/characters-color.jpg) center/cover;
    backdrop-filter: blur(20px);
}
#top_characters .bg-subtract {
    clip-path: polygon(45px 0, 100% 0, 100% 92%, 96% 100%, 0 100%, 0% 45px);
}
@media screen and (max-height: 800px) and (orientation: landscape) {
    #top_characters .character {
        padding-block: 16vh;
    }
}
@media screen and (max-height: 600px) and (orientation: landscape) {
    #top_characters .character {
        padding-block: 5vh;
    }
}



#top_story .map-part {
    z-index: 20;
}
#top_story .map-part .dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    z-index: 1;
}
#top_story .map-part .dots:hover {
    opacity: 0!important;
}
#top_story .map-part .frame {
    opacity: 0;
    border: 1px solid white;
    transition: opacity 0.5s ease;
    box-shadow: 0 0 0 99999px rgba(48, 38, 38, 0.6);
}
#top_story .map-part .description {
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: context-menu;
}
#top_story .map-part .dots:hover + .frame {
    opacity: 1!important;
}
#top_story .map-part .dots:hover + .frame + .description {
    opacity: 1!important;
}
#top_story .map-part .map-part-image {
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}
#top_story .map-part .map-part-image img {
    transform: scale(1.2);
}
#top_story .map-part .map-part-image::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 1px;
    height: 1px;
    box-shadow: 0 0 0 99999px rgba(48, 38, 38, 0.6);
}
#top_story .map-part .dots:hover + .map-part-image {
    opacity: 1!important;

}
#top_story .map-part .dots:hover + .map-part-image + .description {
    opacity: 1!important;
}

#top_story .paragraph,
#top_story .top-story-sp {
  transform: translateZ(0); /* or */
  will-change: transform;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}




@media screen and (max-width: 959px) {
    #top_story .paragraph {
        background: linear-gradient(180deg, #302626 14.42%, rgba(48, 38, 38, 0.808989) 53.34%, rgba(48, 38, 38, 0) 100%);
    }
}

/* 20250505modify */
.modify01 {
    font-weight: 500;
}

@media (width <782px) {
    .modify01 {
        text-align: left;
        max-width: 100%;
        word-break: break-all;
    }
}

.modify02{
    grid-template-columns: 1.2fr 1fr 1fr;
}
.modify02 > div:first-child{
    margin-right: 15px;
}
.modify02 > div:last-child{
    margin-left: 15px;
}

@media (width <782px) {
    .modify03 {
        word-break: break-all;
    }
}

@media (width <782px) {
	.modify04{
		background-color: #f5f2e4;
	}
	
    .modify04 .sticky{
        position: relative;
    }
}