@charset "UTF-8";
html, body, h1, h2, h3, h4, p, ul, li, dl, dt, dd, ol {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

p {
  line-height: 1.65;
}

/*font-size*/
/*---------------------------------*/
html {
  font-size: 62.5%;
}

body {
  font-size: 16px;
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 2.0rem;
}

h4 {
  font-size: 1.8rem;
}

h5 {
  font-size: 1.6rem;
}

p {
  font-size: 1.6rem;
}

/*resetはここまで
-----------------------------------*/
/*固定値
-----------------------------------*/
/*共通mixin
-----------------------------------*/
/*media query
-----------------------------------*/
/*body
------------------------------------*/
body {
  background: #26272F url(../img/madfia_bg.png) no-repeat center top;
}

/*common layout
------------------------------------*/
.site-title .container h1, .site-title .container a, .product [class^="product_char"], .product .product_sample a, .special .link .sample a, .stella [class^="char"] a {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.nav-top {
  top: 0;
}

.nav .g-nav.nav-top {
  top: 57px;
}

@media (min-width: 760px) {
  .container {
    max-width: 1200px;
    padding: 10px 0;
    margin: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
}

.hide {
  display: none !important;
}

.comming-soon {
  text-align: center;
}

.slick-prev, .slick-next {
  width: 56px;
  height: 56px;
}

.slick-prev::before {
  display: block;
  height: 100%;
  background-image: url(../img/madfia_slide_l.png);
  content: "";
}

.slick-next::before {
  display: block;
  height: 100%;
  background-image: url(../img/madfia_slide_r.png);
  content: "";
}

/*site-title
------------------------------------*/
@media (min-width: 760px) {
  .site-title {
    height: 82px;
    margin-bottom: 10px;
    background-color: #000;
  }
}

.site-title .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.site-title .container h1 {
  width: 176px;
  height: 61px;
  padding: 0.5rem 0 0 1rem;
  margin: 5px 0;
}

@media (min-width: 760px) {
  .site-title .container h1 {
    padding: 0;
    margin: 0 auto;
    -webkit-transform: translateX(50%);
            transform: translateX(50%);
  }
}

.site-title .container h1 a {
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
  background: url(../img/madfia_primrose.png) no-repeat 0 0/contain;
}

.site-title .container a {
  width: 124px;
  height: 44px;
  margin: 0 10px;
  background: #000 url(../img/madfia_twitter.png) no-repeat 0 0/contain;
}

/*nav hamburger
------------------------------------------*/
.nav {
  position: fixed;
  width: 100%;
  min-height: 57px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.6);
}

@media (min-width: 760px) {
  .nav {
    position: static;
    background-color: transparent;
  }
}

.nav .hamburger {
  position: absolute;
  right: 10px;
}

.nav .hamburger .hamburger-inner, .nav .hamburger .hamburger-inner::before, .nav .hamburger .hamburger-inner::after {
  background-color: #fff;
}

@media (min-width: 760px) {
  .nav .hamburger {
    display: none;
  }
}

.nav .g-nav {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 100%;
  top: 127px;
  -webkit-transition: .3s;
  transition: .3s;
  background-color: rgba(0, 0, 0, 0.6);
  overflow-x: hidden;
}

@media (min-width: 760px) {
  .nav .g-nav {
    position: static;
    max-width: 850px;
    height: auto;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    background-color: transparent;
  }
}

.nav .g-nav.view {
  left: 0;
}

.nav .g-nav a {
  display: block;
  padding: 18px 10px 16px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid #fff;
  background-color: rgba(0, 0, 0, 0.3);
}

@media (min-width: 760px) {
  .nav .g-nav a {
    background-color: transparent;
  }
}

@media (min-width: 760px) {
  .nav .g-nav li {
    background: url(../img/madfia_nav_acce.png) no-repeat left center;
  }
  .nav .g-nav li a {
    width: 256px;
    height: 104px;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 0;
    -webkit-transition: .3s;
    transition: .3s;
  }
  .nav .g-nav li:nth-child(1) a {
    width: 100%;
    background: url("../img/madfia_nav01.png") no-repeat right center;
  }
  .nav .g-nav li:nth-child(1) a:hover {
    background-image: url("../img/madfia_nav01_hov.png");
  }
  .nav .g-nav li:nth-child(2) a {
    background: url("../img/madfia_nav02.png") no-repeat center center;
  }
  .nav .g-nav li:nth-child(2) a:hover {
    background-image: url("../img/madfia_nav02_hov.png");
  }
  .nav .g-nav li:nth-child(3) a {
    background: url("../img/madfia_nav03.png") no-repeat center center;
  }
  .nav .g-nav li:nth-child(3) a:hover {
    background-image: url("../img/madfia_nav03_hov.png");
  }
  .nav .g-nav li:first-child {
    width: 316px;
  }
}

.nav .g-nav li:last-child a {
  border-bottom: 0;
}

@media (max-width: 772px) {
  .nav .g-nav li:first-child a {
    background-size: contain;
  }
}

/*slider
-----------------------------------------*/
.slider {
  padding-top: 70px;
}

@media (min-width: 760px) {
  .slider {
    max-width: 1000px;
    padding-top: 20px;
    margin: 0 auto 50px;
  }
}

/*contents
----------------------------------------*/
.contents {
  overflow-y: hidden;
  padding: 0 1rem;
}

/*youtube width="717" height="403"
----------------------------------------*/
.youtube {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  max-width: 717px;
  margin: auto;
}

.youtube .movie {
  height: 0;
  padding-top: 56.20642%;
  margin-bottom: 30px;
  position: relative;
}

.youtube .movie iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.youtube .movie.case-04 {
  width: 100%;
}

.youtube .movie.case-01, .youtube .movie.case-02, .youtube .movie.case-03 {
  padding-top: 56.20642%;
  top: 100%;
  width: 100%;
  height: 100%;
}

@media (min-width: 760px) {
  .youtube .movie.case-01, .youtube .movie.case-02, .youtube .movie.case-03 {
    padding-top: 18.73547%;
    width: 33%;
    height: 33%;
  }
}

/*story
----------------------------------------*/
.story {
  margin-top: -120px;
  text-align: center;
}

/*product
---------------------------------------*/
.product {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* PC layout ------------------*/
  overflow-y: hidden;
}

@media (min-width: 760px) {
  .product {
    max-width: 867px;
    margin: auto;
  }
}

.product h2 {
  margin: -80px 0;
  text-align: center;
}

.product [class^="product_char"] {
  height: 0;
  padding-top: 87.89474%;
  margin-bottom: 20px;
}

@media (min-width: 760px) {
  .product [class^="product_char"] {
    margin-bottom: 0;
  }
}

.product .product_sample a {
  display: block;
  max-width: 188px;
  height: 47px;
  margin: 20px auto;
  -webkit-transition: .2s;
  transition: .2s;
}

@media (min-width: 760px) {
  .product .product_sample a {
    width: 188px;
  }
}

.product .product_sample a:hover {
  -webkit-filter: brightness(150%);
          filter: brightness(150%);
}

@media (min-width: 760px) {
  .product .product_sample {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}

.product .product_sample .char-play-btn.play {
  -webkit-filter: drop-shadow(0 0 10px #fff);
          filter: drop-shadow(0 0 10px #fff);
}

.product .product_char01 {
  background: url(../img/madfia_ch01.png) no-repeat center center/contain;
}

.product .product_char01 + .product_sample a:nth-child(1) {
  background: url(../img/madfia_ch1_voice1.png) no-repeat center center/contain;
}

.product .product_char01 + .product_sample a:nth-child(2) {
  background: url(../img/madfia_ch1_voice2.png) no-repeat center center/contain;
}

.product .product_char01 + .product_sample a:nth-child(3) {
  background: url(../img/madfia_ch1_voice3.png) no-repeat center center/contain;
}

.product .product_char02 {
  background: url(../img/madfia_ch02.png) no-repeat center center/contain;
}

.product .product_char02 + .product_sample a:nth-child(1) {
  background: url(../img/madfia_ch2_voice1.png) no-repeat center center/contain;
}

.product .product_char02 + .product_sample a:nth-child(2) {
  background: url(../img/madfia_ch2_voice2.png) no-repeat center center/contain;
}

.product .product_char02 + .product_sample a:nth-child(3) {
  background: url(../img/madfia_ch2_voice3.png) no-repeat center center/contain;
}

.product .product_char03 {
  background: url(../img/madfia_ch03.png) no-repeat center center/contain;
}

.product .product_char03 + .product_sample a:nth-child(1) {
  background: url(../img/madfia_ch3_voice1.png) no-repeat center center/contain;
}

.product .product_char03 + .product_sample a:nth-child(2) {
  background: url(../img/madfia_ch3_voice2.png) no-repeat center center/contain;
}

.product .product_char03 + .product_sample a:nth-child(3) {
  background: url(../img/madfia_ch3_voice3.png) no-repeat center center/contain;
}

.product .product_char04 {
  background: url(../img/madfia_ch04.png) no-repeat center center/contain;
}

.product .product_char04 + .product_sample a:nth-child(1) {
  background: url(../img/madfia_ch4_voice1.png) no-repeat center center/contain;
}

.product .product_char04 + .product_sample a:nth-child(2) {
  background: url(../img/madfia_ch4_voice2.png) no-repeat center center/contain;
}

.product .product_char04 + .product_sample a:nth-child(3) {
  background: url(../img/madfia_ch4_voice3.png) no-repeat center center/contain;
}

.product .ch-border {
  max-width: 944px;
  height: 10px;
  margin: 40px auto;
  background: url(../img/madfia_ch_border.png) no-repeat center center/contain;
}

/*special
------------------------------------*/
.special h2, .special h3 {
  text-align: center;
}

.special .link {
  margin-bottom: 80px;
}

.special .link h3 {
  margin-bottom: 80px;
}

.special .link h3 span {
  position: relative;
}

.special .link h3 span::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: -59px;
  top: -64px;
  width: 147px;
  height: 148px;
  background: url(../img/madfia_sp_acce.png) no-repeat center center/contain;
}

.special .link h3 + p {
  margin-bottom: 80px;
}

.special .link .track {
  margin-bottom: 40px;
}

.special .link .track h4 {
  margin-bottom: 40px;
  text-align: center;
}

.special .link .track h4 + p {
  text-align: center;
}

.special .link .sample {
  margin-bottom: 100px;
}

.special .link .sample a {
  display: block;
  width: 199px;
  height: 41px;
  margin: auto;
  background: url(../img/madfia_link_voice.png) no-repeat center center/contain;
  -webkit-transition: .2s;
  transition: .2s;
}

.special .link .sample a.char-play-btn.play {
  -webkit-filter: drop-shadow(0 0 10px #fff);
          filter: drop-shadow(0 0 10px #fff);
}

/* stella
-------------------------------------------*/
.stella {
  margin-bottom: 100px;
}

@media (min-width: 760px) {
  .stella {
    max-width: 873px;
    margin: 0 auto 100px;
  }
}

.stella h3 {
  margin-bottom: 40px;
}

.stella [class^="char"] {
  position: relative;
  height: 0;
  padding-top: 20.9622%;
  margin-bottom: 20px;
  background: no-repeat center center/contain;
}

.stella [class^="char"] a {
  position: absolute;
  bottom: 2px;
  right: 5px;
  display: block;
  width: 22.45132%;
  padding-top: 5.04009%;
  height: 0;
  background: url(../img/madfia_stella_hp.png) no-repeat center center/contain;
}

.stella [class^="char"] a:hover {
  -webkit-filter: drop-shadow(0 0 10px #fff) brightness(150%);
          filter: drop-shadow(0 0 10px #fff) brightness(150%);
}

.stella .char03, .stella .char04 {
  padding-top: 22.79496%;
}

.stella .char01 {
  background-image: url(../img/madfia_stella_ch01.png);
}

.stella .char02 {
  background-image: url(../img/madfia_stella_ch02.png);
}

.stella .char03 {
  background-image: url(../img/madfia_stella_ch03.png);
}

.stella .char04 {
  background-image: url(../img/madfia_stella_ch04.png);
}

/*アニメイト
------------------------------------*/
.animate, .official, .dlsite, .pokedra {
  margin-bottom: 200px;
}

@media (min-width: 760px) {
  .animate, .official, .dlsite, .pokedra {
    max-width: 873px;
    margin: 0 auto 200px;
  }
}

.animate h3, .official h3, .dlsite h3, .pokedra h3 {
  margin-bottom: 40px;
}

.animate [class^="char"], .official [class^="char"], .dlsite [class^="char"], .pokedra [class^="char"] {
  margin-bottom: 60px;
  text-align: center;
}

@media (min-width: 760px) {
  .animate [class^="char"], .official [class^="char"], .dlsite [class^="char"], .pokedra [class^="char"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.animate [class^="char"] > img, .official [class^="char"] > img, .dlsite [class^="char"] > img, .pokedra [class^="char"] > img {
  margin-bottom: 30px;
}

.animate [class^="char"] a, .official [class^="char"] a, .dlsite [class^="char"] a, .pokedra [class^="char"] a {
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

@media (min-width: 760px) {
  .animate [class^="char"] a, .official [class^="char"] a, .dlsite [class^="char"] a, .pokedra [class^="char"] a {
    margin: 0 10px;
  }
}

.animate [class^="char"] a.url:hover, .official [class^="char"] a.url:hover, .dlsite [class^="char"] a.url:hover, .pokedra [class^="char"] a.url:hover {
  -webkit-filter: drop-shadow(0 0 10px #fff) brightness(150%);
          filter: drop-shadow(0 0 10px #fff) brightness(150%);
}

/*primrose
-----------------------------------*/
.official .char01 {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/*dlsite
-----------------------------------*/
/*pokedra
-----------------------------------*/
.pokedra {
  margin-bottom: 0;
}

/*footer
---------------------------------*/
.footer {
  padding: 80px;
  text-align: center;
  background-color: #000;
}

/*page-top
---------------------------------*/
.page-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 20%;
  opacity: 0;
  text-align: right;
  -webkit-transition: .5s;
  transition: .5s;
}

.page-top.view {
  opacity: 1;
}
