@charset "UTF-8";
/*
Theme Name: https://dekineko-anime.com/
Description: アニメ「デキる猫は今日も憂鬱」公式サイト
Author:山田ヒツジ・講談社／デキる猫は今日も憂鬱製作委員会
*/
@import url("https://fonts.googleapis.com/css2?family=Yomogi&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Life+Savers:wght@400;700;800&display=swap");
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {  margin: 0;  padding: 0;  border: 0;  font-size: 100%;  font: inherit;  vertical-align: baseline;}article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {  display: block;}ol, ul {  list-style: none;}blockquote, q {  quotes: none;}blockquote:before, blockquote:after, q:before, q:after {  content: "";  content: none;}table {  border-collapse: collapse;  border-spacing: 0;}img {  vertical-align: bottom;  max-width: 100%;}pre {  white-space: pre-wrap;}*,*:before,*:after {  box-sizing: inherit;}

body {
  position: relative;
  font-size: 87.5%;
  line-height: 1.42857;
  text-align: center;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  box-sizing: border-box;
  font-family: sans-serif;
  width: 100%;
  height: 100vh;
  color: #61492b;
  background: #fffefd;
}

@media screen and (max-width:898px) {
body {
background: #fffefd url(images/background/background.png) repeat top center;
background-size: 200% auto;
-webkit-animation: bg 40s linear infinite;
animation: bg 80s infinite linear;
}
@keyframes bg {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 360px -360px;
  }
}
}

a {
  color: #61492b;
  text-decoration: none
}

a:hover {
  color: #2db432;
  transition: color .5s
}

#wrapper {
  position: relative;
  width: 100%
}

body,
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh
}

#wrapper {
  position: relative;
  z-index: 1;
  width: 100%
}
#circle01,
#circle02,
#circle03,
#circle04,
#circle05,
#circle06,
#circle07 {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%
}
@media screen and (max-width:898px) {
#circle01,
#circle02,
#circle03,
#circle04,
#circle05,
#circle06,
#circle07 {
display:none;
}
}

#wrapperContainer {
	display:none;
  margin: 0 auto;
  text-align: center;
  padding-top: 2.23vw;
  width: min(1366px, 95%);
  font-family: "Life Savers", cursive, "Yomogi", cursive;
  line-height: 1.4;
  box-sizing: border-box;
  position: relative
}

@media screen and (min-width:899px) {
  #wrapperContainer {
    padding-top: 20px
  }
}

#wrapper #container {
  margin: 0 auto
}

@media screen and (min-width:899px) {
  #wrapper #container {
    display: flex;
    justify-content: space-between
  }
}

#wrapper #container #header {
  display: flex;
  justify-content: space-between
}

@media screen and (min-width:899px) {
  #wrapper #container #header {
    display: block;
    text-align: left;
	width: min(280px, 20%);
    width: min(280px, 28%);
  }
}

#wrapper #container #header h1 {
  width: 30%
}

@media screen and (min-width:899px) {
  #wrapper #container #header h1 {
    width: 100%
  }
}

#wrapper #container #main {
  margin: .5em auto 0;
  font-family: "Life Savers", cursive, "Yomogi", cursive;
  font-size: clamp(1.125rem, 1.125rem + .3125vw, 1.4375rem)
	  word-break: break-all;
	overflow-wrap: break-word;
}

@media screen and (min-width:899px) {
  #wrapper #container #main {
    margin: 60px auto 0;
    width: min(986px, 80%)
  }
}

#wrapper #container #main h2 {
  font-family: "Life Savers", cursive, "Yomogi", cursive;
  font-weight: 700;
  position: relative;
  margin: 0 auto 7.02vh;
  font-size: clamp(1.5rem, 1.5rem + 2.8953vw, 3.125rem);
  color: #2db432
}

@media screen and (min-width:899px) {
  #wrapper #container #main h2 {
    margin: 0 auto 90px;
    font-size: clamp(2rem, 2rem + 1.375vw, 3.375rem)
  }
}

#wrapper #container #main h2 span {
  font-size: clamp(2.375rem, 2.375rem + .375vw, 2.75rem);
  font-size: clamp(1.5rem, 1.5rem + 2.8953vw, 3.125rem);
  padding: 0 .1em
}

#wrapper #container #main h2::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -35px;
  left: 0;
  width: 100%;
  height: 35px;
  background: url(images/header/icon.png) no-repeat center bottom;
  background-size: 35px auto
}

#wrapper #container #main .comingsoon {
  font-size: clamp(2rem, 2rem + 1.375vw, 3.375rem);
  font-weight: 400;
  margin-top: 15vh;
  min-height: 200px;
}
@media screen and (min-width:899px) {
#wrapper #container #main .comingsoon {
  margin-top: 20vh;
  min-height: initial;
}
}

.mainArea {
  position: relative;
  width: 100%;
  background-color: #fff;
  border: #f1e99d 3vw solid;
  border-radius: 18.55px;
  margin: 0 auto 10px;
  padding: 8.9vw 0
}

@media screen and (min-width:640px) {
  .mainArea {
    margin: 100px auto 20px;
    border: #f1e99d 20px solid;
    padding: 80px 0
  }
  body.post-type-archive-post .mainArea {
    margin: 100px auto 150px
  }
}

.mainArea::before {
  content: "";
  display: block;
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url(images/common/clip.png) no-repeat center bottom;
  background-size: auto 11.7vw
}

@media screen and (min-width:640px) {
  .mainArea::before {
    background-size: auto 75px
  }
}

#wrapper #container .news {
  padding: 5.24vh 6.12vw 3.34vw;
  text-align: left
}

@media screen and (min-width:899px) {
  #wrapper #container .news {
    padding: 50px 50px 30px;
    min-height: 600px
  }
}

#wrapper #container .news dl {
  border-bottom: 2px #2db432 dashed;
  padding-bottom: .5em;
  margin-bottom: .8em;
  text-align: left
}

#wrapper #container .news dl dt {
  font-family: "Life Savers";
  font-weight: 700;
  color: #ff8200;
  font-size: clamp(1.125rem, 1.125rem + .4454vw, 1.375rem)
}

@media screen and (min-width:899px) {
  #wrapper #container .news dl dt {
    font-size: clamp(1rem, 1rem + .125vw, 1.125rem)
  }
}

#wrapper #container .news dl dd {
  font-family: "Yomogi", cursive;
  line-height: 1.4em;
  font-size: clamp(1rem, 1rem + .4454vw, 1.25rem);
}

@media screen and (min-width:899px) {
  #wrapper #container .news dl dd {
    font-size: clamp(1.125rem, 1.125rem + .125vw, 1.25rem);
  }
}

#wrapper #container .news .newsContents {
  font-family: "Yomogi", cursive;
  font-size: clamp(1rem, 1rem + .125vw, 1.125rem);
  line-height: 1.6em;
}

#wrapper #container .news .newsContents img {
  margin: 1em auto;
height: auto;
}

#wrapper #container .mov a {
  display: block;
  position: relative;
}

#wrapper #container .mov a:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 15.95vw;
  height: 15.95vw;
  background: url(images/common/movie_icon.png) no-repeat;
  background-size: 100%;
  transition-duration: 1s;
  opacity: .8;
}

@media screen and (min-width:440px) {
  #wrapper #container .mov a:before {
    width: 8.9vw;
    height: 8.9vw;
  }
}

@media screen and (min-width:899px) {
  #wrapper #container .mov a:before {
    width: 60px;
    height: 60px;
  }
}

#wrapper #container .mov a:hover:before {
  opacity: 1;
}

#wrapper #container .goBack {
  margin: 2vh auto 100px;
}

#wrapper #container .goBack img {
  width: min(300px, 25%);
  margin-right: 2.23vw;
}

@media screen and (min-width:899px) {
  #wrapper #container .goBack img {
    width: min(200px, 20%);
    margin-right: 20px;
  }
}

#wrapper footer {
  font-family: "Yomogi", serif;
  font-size: clamp(.625rem, .625rem + .3341vw, .8125rem);
  width: 100%;
  text-align: center;
  padding: 10px 0;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}

@media screen and (min-width:899px) {
  #wrapper footer {
    position: initial;
    font-size: clamp(.6875rem, .4469rem + .4283vw, .8125rem);
  }
}

body.post-type-archive-post #header ul li:nth-child(2) a,
body.single-post #header ul li:nth-child(2) a,
body.post-type-archive-story ul li:nth-child(5) a,
body.single-story ul li:nth-child(5) a,
body.post-type-archive-caststaff ul li:nth-child(6) a,
body.post-type-archive-character ul li:nth-child(7) a,
body.single-character ul li:nth-child(7) a,
body.post-type-archive-bdcd ul li:nth-child(8) a,
body.single-bdcd ul li:nth-child(8) a,
body.post-type-archive-goods ul li:nth-child(9) a,
body.single-goods #header ul li:nth-child(9) a,
body.post-type-archive-movie ul li:nth-child(10) a,
body.post-type-archive-special ul li:nth-child(11) a,
body.single-special ul li:nth-child(11) a {
  color: #2db432;
  font-weight: 700;
}

body.post-type-archive-post #header ul li:nth-child(2) a:before,
body.single-post #header ul li:nth-child(2) a:before,
body.post-type-archive-story #header ul li:nth-child(5) a:before,
body.single-story #header ul li:nth-child(5) a:before,
body.post-type-archive-caststaff #header ul li:nth-child(6) a:before,
body.post-type-archive-character #header ul li:nth-child(7) a:before,
body.single-character #header ul li:nth-child(7) a:before,
body.post-type-archive-bdcd #header ul li:nth-child(8) a:before,
body.single-bdcd #header ul li:nth-child(8) a:before,
body.post-type-archive-goods #header ul li:nth-child(9) a:before,
body.single-goods #header ul li:nth-child(9) a:before,
body.post-type-archive-movie #header ul li:nth-child(10) a:before,
body.post-type-archive-special #header ul li:nth-child(11) a:before,
body.single-special #header ul li:nth-child(11) a:before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 20px;
  background: url(images/header/icon.png) no-repeat;
  background-size: contain;
  margin-left: -20px;
}
body.post-type-archive-post #header ul li:nth-child(2) a:hover:before,
body.single-post #header ul li:nth-child(2) a:hover:before,
body.post-type-archive-story #header ul li:nth-child(5) a:hover:before,
body.single-story #header ul li:nth-child(5) a:hover:before,
body.post-type-archive-caststaff #header ul li:nth-child(6) a:hover:before,
body.post-type-archive-character #header ul li:nth-child(7) a:hover:before,
body.single-character #header ul li:nth-child(7) a:hover:before,
body.post-type-archive-bdcd #header ul li:nth-child(8) a:hover:before,
body.single-bdcd #header ul li:nth-child(8) a:hover:before,
body.post-type-archive-goods #header ul li:nth-child(9) a:hover:before,
body.single-goods #header ul li:nth-child(9) a:hover:before,
body.post-type-archive-movie #header ul li:nth-child(10) a:hover:before,
body.post-type-archive-special #header ul li:nth-child(11) a:hover:before,
body.single-special #header ul li:nth-child(11) a:hover:before {
  content: none;
}
@media screen and (min-width:899px) {
body.post-type-archive-post #header ul li:nth-child(2) a:before,
body.single-post #header ul li:nth-child(2) a:before,
body.post-type-archive-story #header ul li:nth-child(5) a:before,
body.single-story #header ul li:nth-child(5) a:before,
body.post-type-archive-caststaff #header ul li:nth-child(6) a:before,
body.post-type-archive-character #header ul li:nth-child(7) a:before,
body.single-character #header ul li:nth-child(7) a:before,
body.post-type-archive-bdcd #header ul li:nth-child(8) a:before,
body.single-bdcd #header ul li:nth-child(8) a:before,
body.post-type-archive-goods #header ul li:nth-child(9) a:before,
  body.single-goods #header ul li:nth-child(9) a:before,
body.post-type-archive-movie #header ul li:nth-child(10) a:before,
body.post-type-archive-special #header ul li:nth-child(11) a:before,
body.single-special #header ul li:nth-child(11) a:before {
	width: 30px;
    margin-left: -30px;
  }
}

figure {
  margin: 0 !important;
}

.nav {
  position: fixed;
  z-index: 99;
  top: -200%;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url(images/header/bg.jpg);
  background-size: 8% auto;
transition: all .6s;
  font-family: "Life Savers", cursive, "Yomogi", cursive;
  font-weight: 400;
  font-size: clamp(1.5rem, .7485rem + 1.3405vw, 1.8125rem);
	  overflow: hidden;
	-webkit-backface-visibility:hidden;
backface-visibility:hidden;
}

@media screen and (min-width:899px) {
  .nav {
    position: static;
    margin-top: .5em;
    padding-left: 1.5em;
    background-image: none;
    height: auto;
    transition: all 0s;
  }
}

.nav.panelactive {
  top: 0;
}

.nav.panelactive .cont-global-navi {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.nav .logo {
  display: block;
  margin: .5em auto 0;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 4px #fff);
  text-align: center;
}

.nav .logo img {
  width: 37.86vw;
}

@media screen and (min-width:899px) {
  .nav .logo {
    display: none;
  }
}

.nav ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 94%;
  margin: 6vh 0 6vh auto;
}

.nav ul li {
  width: 50%;
  width: 50%;
  text-align: left;
  margin: .6vh 0;
  font-size: clamp(0.625rem, 0.625rem + 4.5102vw, 1.86248125rem);
}
@media screen and (min-width:440px) {
.nav ul li {
font-size: clamp(1.75rem, 1.5098rem + 0.8734vw, 2rem);
font-size: clamp(1.8125rem, 1.152rem + 2.4017vw, 2.5rem);
}
  }
@media screen and (min-width:899px) {
  .nav ul {
    display: block;
    width: 100%;
    margin: 0
  }
  .nav ul li {
    width: 100%;
    letter-spacing: .01em;
    line-height: 1.6em;
  margin: 6px 0;
    font-size: clamp(1.375rem, .3229rem + 1.8767vw, 1.8125rem);
  }
  .nav ul li a:hover {
    transition-duration: .5s
  }
  .nav ul li:hover:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 20px;
    background: url(images/header/icon.png) no-repeat;
    background-size: contain;
    margin-left: -30px;
  }
}

.nav-button {
  position: fixed;
  z-index: 999;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background: url(images/common/menu.png) no-repeat top right;
  background-size: contain;
}
.nav-button.active {
  background: url(images/common/close.png) no-repeat;
  background-size: contain;
}
.nav-button span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #fff;
  width: 45%;
}
.nav-button span:nth-of-type(1) {
  top: 15px;
}
.nav-button span:nth-of-type(2) {
  top: 23px;
}
.nav-button span:nth-of-type(3) {
  top: 31px;
}
.nav-button.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.nav-button.active span:nth-of-type(2) {
  opacity: 0;
}
.nav-button.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
@media screen and (min-width:899px) {
  .nav-button {
    display: none;
  }
}
html {
 overflow-y: scroll;
height: 100%;
}
#wrapper footer {
position: sticky;
top: 100vh;
}


#wrapper #container .news .newsContents h1{
display: block;
  font-size: 2em;
  -webkit-margin-before: 0.67em;
  -webkit-margin-after: 0.67em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
}
#wrapper #container #main .news .newsContents h2 {
	margin: initial;
 font-size: initial;
	color: #61492b;
  display: block;
  font-size: 1.5em;
  -webkit-margin-before: 0.83em;
  -webkit-margin-after: 0.83em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
}
#wrapper #container #main .news .newsContents h2::after {
content: none;
}
#wrapper #container .news .newsContents h5 {
  display: block;
  font-size: 0.83em;
  -webkit-margin-before: 1.67em;
  -webkit-margin-after: 1.67em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
}
#wrapper #container .news .newsContents h6 {
  display: block;
  font-size: 0.67em;
  -webkit-margin-before: 2.33em;
  -webkit-margin-after: 2.33em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
}
.newsContents h3{
position: relative;
display:inline;
padding-bottom: .5rem;
background-image: repeating-linear-gradient(45deg, transparent 0 3px, #f1e99d 3px 6px);
background: repeating-linear-gradient(-45deg, #f1e99d, #f1e99d 5px, #FFFFFF 0, #FFFFFF 10px); 
background-repeat: no-repeat;
background-size: 100% 0.5rem;
background-position: bottom;
font-size: clamp(1rem, 1rem + 0.8909vw, 1.5rem);
font-weight:800;
line-height:2em;
}
.newsContents h3::before {
display: block;
content: '';
width: 1px;
height: .8rem; 
}
.newsContents h3::after {
display: block;
content: '';
width: 1px;
height: .8rem; 
}
@media screen and (min-width: 898px) {
.newsContents h3{
font-size:22px;
}
}
.newsContents h4{
display:inline;
font-size: clamp(1rem, 1rem + 0.8909vw, 1.5rem);
font-weight:800;
font-family: "Yomogi", cursive;
line-height:1.8em;
border-bottom: 2px solid #a09280;
}
.newsContents h4::before {
display: block;
content: '';
width: 1px;
height: 1rem;
}
.newsContents h4::after {
display: block;
content: '';
width: 1px;
height: 1rem;
}
@media screen and (min-width: 898px) {
.newsContents h4{
font-size:20px;
}
}
.newsContents iframe{
margin: .5em auto;	
max-width: 100%; !important;
}
#wrapper #container .news .newsContents img {
box-shadow: 8px 8px 0 #f1e99d;
}

hr{
border: none;
margin: 1.5em 0;
height: 22px;
background: url(images/common/line.png) repeat-x center left;
background-size:contain;
}
strong{font-weight:800;　}
@media screen and (min-width: 898px) {
img.alignleft { display: block; margin: 0 auto 0 0; }
img.aligncenter { display: block; margin: 0 auto; }
img.alignright { display: block; margin: 0 0 0 auto!important; }
}
.alignright {　float: none;　}

.character .character__nav ul {
 flex-wrap: wrap;
}
.character .character__detail .character__img .character__img__visual {
text-align: center !important;
}
/* ------- pagenav ------- */
.wp-pagenavi {
clear: both;
margin: 2vh auto; 
font-weight:800;
text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
padding: 3px 5px;
margin: 2px;
font-size: clamp(1rem, 1rem + 0.6674vw, 1.375rem);
}
@media screen and (min-width: 898px){
.wp-pagenavi a, .wp-pagenavi span {
font-size: 22px;
}
}
.wp-pagenavi a:hover, 
.wp-pagenavi span.current {
color: #ff8200;
font-weight: 800;
}
.wp-pagenavi span.current {
color: #2db432;
}