
/*
  1.1 - Reset
-----------------------------------------------------*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
body {
  margin: 0;
  background-color: #f0f0f0;
  color: #212121;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  line-height: 1.5;
}


.l-container {
  margin: 0 auto;
  max-width: 1200px;
  width: 95%;
}


.l-header__title {
  margin: 0;
  padding: 3em 0;
  text-align: center;
}
.logo {
  text-decoration: none;
}
.panel {
  margin: 0 auto;
  padding: 4em 2em;
  max-width: 640px;
  width: 95%;
  border-radius: 1em;
  background-color: #fff;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .16);
          box-shadow: 0 0 8px rgba(0, 0, 0, .16);
  text-align: center;
}
.panel__title {
  margin: 0 0 1em;
  font-size: 2em;
}
.panel__text {
  color: #666;
  font-size: .875em;
}
.button {
  position: relative;
  top: 0;
  display: inline-block;
  overflow: hidden;
  margin-top: 3em;
  padding: 1em 4em;
  max-width: 320px;
  border-radius: 1em;
  text-decoration: none;
  font-weight: bold;
  -webkit-transition: all .2s ease-in-out;
     -moz-transition: all .2s ease-in-out;
       -o-transition: all .2s ease-in-out;
          transition: all .2s ease-in-out;
}
.button:before {
  position: absolute;
  right: 0;
  bottom: -8em;
  left: 0;
  margin: 0 auto;
  width: 10em;
  height: 10em;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  content: '';
  -webkit-filter: blur(10px);
          filter: blur(10px);
  -webkit-transition: all .2s ease-in-out;
     -moz-transition: all .2s ease-in-out;
       -o-transition: all .2s ease-in-out;
          transition: all .2s ease-in-out;
  -webkit-transform: scale(0);
     -moz-transform: scale(0);
      -ms-transform: scale(0);
          transform: scale(0);
}

.button.-facebook {
  border-bottom: solid 4px rgba(0,0,0,.25);
  background-color: #3b5998;
  color: #fff;
}
.button.-facebook:hover {
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
          box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.button.-facebook:hover:before {
  -webkit-transform: scale(1);
     -moz-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}
.button.-facebook i {
  margin-right: .5em;
}

.button.-primary {
  padding: 1em 2em;
  border: 3px solid #9dbf4a;
  border-radius: 2em;
  color: #212121;
}
.button.-primary:hover {
  background-color: #9dbf4a;
  color: #fff;
}

.l-footer__copyright {
  margin: 4em 0;
  color: #666;
  text-align: center;
  font-size: .75em;
}


/*
  Grid
*/

.grid {
  display: table;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 0;
}

.grid.-justify {
  display: block;
  margin: -4px;
  width: auto;
}

.grid__item {
  display: inline-block;
  margin: 0;
  width: 100%;
  vertical-align: top;
  text-align: left;
  font-size: medium;
}

.grid.-justify > .grid__item {
  border: 4px solid transparent;
  background-clip: padding-box;
}

.grid__item.-sp-1 {
  width: 8.33333%;
}

.grid__item.-sp-2 {
  width: 16.66667%;
}

.grid__item.-sp-3 {
  width: 25%;
}

.grid__item.-sp-4 {
  width: 33.33333%;
}

.grid__item.-sp-5 {
  width: 41.66667%;
}

.grid__item.-sp-6 {
  width: 50%;
}

.grid__item.-sp-7 {
  width: 58.33333%;
}

.grid__item.-sp-8 {
  width: 66.66667%;
}

.grid__item.-sp-9 {
  width: 75%;
}

.grid__item.-sp-10 {
  width: 83.33333%;
}

.grid__item.-sp-11 {
  width: 91.66667%;
}

.grid__item.-sp-12 {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .grid.-justify {
    margin: -8px;
  }

  .grid.-justify > .grid__item {
    border-width: 8px;
  }

  .grid__item.-tab-1 {
    width: 8.33333%;
  }

  .grid__item.-tab-2 {
    width: 16.66667%;
  }

  .grid__item.-tab-3 {
    width: 25%;
  }

  .grid__item.-tab-4 {
    width: 33.33333%;
  }

  .grid__item.-tab-5 {
    width: 41.66667%;
  }

  .grid__item.-tab-6 {
    width: 50%;
  }

  .grid__item.-tab-7 {
    width: 58.33333%;
  }

  .grid__item.-tab-8 {
    width: 66.66667%;
  }

  .grid__item.-tab-9 {
    width: 75%;
  }

  .grid__item.-tab-10 {
    width: 83.33333%;
  }

  .grid__item.-tab-11 {
    width: 91.66667%;
  }

  .grid__item.-tab-12 {
    width: 100%;
  }
}

@media screen and (min-width: 1024px) {
  .grid.-justify {
    margin: -12px;
  }

  .grid.-justify > .grid__item {
    border-width: 12px;
  }

  .grid__item.-lap-1 {
    width: 8.33333%;
  }

  .grid__item.-lap-2 {
    width: 16.66667%;
  }

  .grid__item.-lap-3 {
    width: 25%;
  }

  .grid__item.-lap-4 {
    width: 33.33333%;
  }

  .grid__item.-lap-5 {
    width: 41.66667%;
  }

  .grid__item.-lap-6 {
    width: 50%;
  }

  .grid__item.-lap-7 {
    width: 58.33333%;
  }

  .grid__item.-lap-8 {
    width: 66.66667%;
  }

  .grid__item.-lap-9 {
    width: 75%;
  }

  .grid__item.-lap-10 {
    width: 83.33333%;
  }

  .grid__item.-lap-11 {
    width: 91.66667%;
  }

  .grid__item.-lap-12 {
    width: 100%;
  }
}


/*
  Card
*/
.card {
  position: relative;
  display: block;
  padding-top: 70.72136%;
  border-radius: 1em;
  background-color: #fff;
  color: inherit;
  text-decoration: none;
  -webkit-transition: all .3s cubic-bezier(.52, 0, .5, 1.8);
          -o-transition: all .3s cubic-bezier(.52, 0, .5, 1.8);
          -moz-transition: all .3s cubic-bezier(.52, 0, .5, 1.8);
          transition: all .3s cubic-bezier(.52, 0, .5, 1.8);
}

.card.-secondary {
  border-radius: 0;
}

.card[href]:hover {
  background-color: #fafafa;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
          box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  -webkit-transform: scale(1.02);
      -ms-transform: scale(1.02);
          -moz-transform: scale(1.02);
       transform: scale(1.02);
}

.card:before,
.card:after {
  display: table;
  content: '';
}

.card:after {
  clear: both;
}

.card__body {
  position: relative;
  padding: 1em .5em;
}

.-secondary .card__body {
  padding: .25em 0;
  border-radius: 0;
}

.card__thumbnail {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  overflow: hidden;
  border-radius: .5em .5em 0 0;
}

.-secondary .card__thumbnail {
  border: 1px solid #ddd;
  border-radius: 0;
}

.card__thumbnail img {
  width: 100%;
}

.card__badge {
  position: absolute;
  top: -1.6em;
  left: .8em;
  z-index: 1;
}

.card__title {
  margin-bottom: .75em;
  min-height: 3em;
  font-weight: bold;
  font-size: .75em;
}

.-secondary .card__title {
  margin-bottom: 0;
  min-height: none;
  font-weight: normal;
}

.card__text {
  font-size: .625em;
}

.card__meta {
  font-size: .625em;
}

@media screen and (min-width: 340px) {
  .card__title {
    font-size: .875em;
  }
  .-secondary .card__title {
    font-size: .75em;
  }
}

@media screen and (min-width: 1024px) {
  .card[href]:hover {
    -webkit-box-shadow: 0 3px 16px rgba(0, 0, 0, .25);
            box-shadow: 0 3px 16px rgba(0, 0, 0, .25);
  }
  .card__body {
    position: relative;
    padding: 1.5em 1em;
  }
  .card__badge {
    top: -1.3333em;
    left: 1.333em;
  }
  .card__title {
    margin-bottom: .5em;
    font-size: 1em;
  }
  .-secondary .card__title {
    font-size: .875em;
  }
  .card__text {
    font-size: .875em;
  }
  .card__meta {
    font-size: .75em;
  }
}
