.image-size-fix {
  padding:0 0 calc(900/600*100%) !important;
  min-height: 0 !important;
}
.image-size-fix .wp-block-cover__inner-container{
  position: absolute;
  padding: 0;
  top: 40%;
}


@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:500,700');

@font-face {
	font-family: 'pit';
	src: url(/wp-content/themes/twentytwentytwo/assets/fonts/pit.ttf);
}
html,body,a,p,ul,li,h1,h2,h3,h4,h5,h6,figure,dl,dt,dd{margin:0;padding:0;}

*{
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    font-weight: 500;
    -ms-overflow-style: none;
    scrollbar-width: none;
    
}

html{
    overflow-x: hidden !important;
}
body{
    background: #efefef !important;
    overflow-x: hidden !important;
}
.wp-block-cover{
    min-height: 0 !important;
    padding: 0 !important;
    background: #000
}
.wp-block-cover__background{
    position: static !important;
}
.wp-block-cover img{
    width: 100%;
    position: static !important;
}

.wp-block-cover__inner-container{
        position: absolute;
        top: 0;
    left: 0;
    height: 100%;
    max-height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 2%;    
    }
.wp-block-cover__inner-container pre{
    margin: 0 !important;
}
 .wp-block-cover__inner-container sub{
        font-family: 'pit' !important;
     display: block;
     width: 19.6em !important;
        font-size: 1.8vw;
     letter-spacing: 0.15em;
    }
.wp-block-buttons.wp-container-1{
    justify-content: center !important;
}

.wp-block-button .wp-block-button__link{
    border-radius: 100px !important;
    background: rgb(0,156,236);
background: linear-gradient(45deg, rgba(0,156,236,1) 0%, rgba(22,227,254,1) 100%);
    box-shadow: 0 0 5px rgba(0,0,0,.2);
    border: solid 2px #fff;
    
}

.wp-container-25{
    max-width: 1250px;
    margin: 0 auto;
}

.wp-block-post{
    background: #fff;
    border-radius: 12px;
    border: solid 1px rgb(207, 217, 222);
    padding: 35px 35px;
    position: relative;
}

.wp-block-post-title{
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    
}

h1.wp-block-post-title{
    font-size: 36px !important;
    max-width: 850px !important;
    margin-bottom: 50px !important;
}
.wp-block-post-title a{
     font-weight: 700 !important;
    text-decoration: none;
    background: linear-gradient(45deg, rgba(0,156,236,1) 0%, rgba(22,227,254,1) 100%);
    -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wp-block-read-more{
    color: #009cec;
    font-weight: bold;
    display: block !important;
    text-align:center;
    margin: 0 auto;
    color: #333;
     background: #333;
    width: 10em !important;
    padding: 0.5em;
    font-size: 14px;
    border-radius: 100px;
    position: relative;

}

.wp-block-read-more:after{
    content: "MORE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    
}

.wp-block-post-excerpt__excerpt{
    font-size: 16px;
    color: #999;
}
.wp-block-separator,.wp-block-spacer,.wp-block-spacer{
    display: none;
}

li .wp-block-columns .wp-block-column:first-child{
    flex-basis: 100% !important;
}

li .is-layout-flex{
    gap: 0 !important;
}

.wp-block-embed-youtube{
    max-width: 1000px;
    margin: 100px auto 0 !important;
}

.is-layout-constrained{
    padding-top: 0 !important;
}

.wp-block-post-content{
    max-width: 850px;
    padding: 50px 0 !important;
    margin: 0 auto;
    border-top: solid 2px #ccc;
    border-bottom: solid 2px #ccc;
}


.wp-block-post-date,.wp-block-post-author__name,.taxonomy-category{
    display: none;
}

footer{
    margin-block-start: 0 !important;
}
footer .is-content-justification-space-between{
    justify-content: center !important;
}

footer .is-content-justification-space-between a{
    text-decoration: none;
    
}

.single-post header{
    display: none;
}

.single-post main{
    padding: 75px 0 0;
}

@media screen and (max-width: 780px){
    .wp-block-cover__inner-container{
        position: absolute;
        top: auto !important;
        bottom: 5%;
        left: 3%;
        display: block;
        height: auto !important;
        
    }
    
    .wp-block-cover__inner-container sub{
       width: 19.6em !important;
        font-size: 4vw;
    }
    .wp-block-button .wp-block-button__link{
        font-size: 13px !important;
    }
    
    .wp-block-buttons{
        gap:0.75rem !important;
    }
    
    .wp-block-post{
    background: #fff;
    padding: 35px 25px;
}

.wp-block-post-title{
    font-size: 21px !important;
}

h1.wp-block-post-title{
    font-size: 26px !important;
    max-width: 850px !important;
    margin-bottom: 35px !important;
}

.wp-block-read-more{
    font-size: 14px;
}

.wp-block-post-excerpt__excerpt{
    font-size: 12px;
    text-align: justify;
    
}
    
.wp-block-embed-youtube{
    max-width: 1000px;
    margin: 50px auto 0 !important;
}
    
    .single-post main{
        padding: 25px 0 0;
    }
    .wp-block-post-content{
        padding: 35px 0 !important;
    }
footer .is-content-justification-space-between{
    justify-content: center !important;
    padding: 1em 0 !important;
}

footer .is-content-justification-space-between a{
    text-decoration: none;
    font-size: 12px;
}
    
    .wp-block-preformatted{
        font-size: 14px;
        text-align: justify;
        word-break:break-all; 
  text-justify:inter-ideograph;
  text-justify:inter-character;
  word-wrap:break-word;
  overflow-wrap:break-word;
    }
}