@charset "utf-8";

/* ========================================
Foundation
======================================== */

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

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video {
  margin:0;
  padding:0;
  vertical-align:baseline;
  border:0;
  outline:0;
  background:transparent;
  font-size:100%;
}
body {
  line-height:1.5;
}
article, aside, dialog, figure, footer, header,
hgroup, nav, section {
  display:block;
}
nav ul {
  list-style:none;
}
blockquote, q {
  quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}
a {
  margin:0;
  padding:0;
  vertical-align:baseline;
  border:0;
  background:transparent;
  font-size:100%;
}
ins {
  text-decoration:none;
  color:#000;
  background-color:#ff9;
}
mark {
  color:#000;
  background-color:#ff9;
  font-weight:bold;
  font-style:italic;
}
del {
  text-decoration: line-through;
}
abbr[title], dfn[title] {
  cursor:help;
  border-bottom:1px dotted #000;
}
table {
  border-spacing:0;
  border-collapse:collapse;
}
hr {
    display:block;
    height:1px;
    margin:1em 0;
    padding:0;
    border:0;
    border-top:1px solid #cccccc;
}
input, select {
  vertical-align:middle;
}

/* ========================================
Layout
======================================== */

@media (max-width: 959px) {
  .cb {
    width: 100%;
  }
}

/* ========================================
campaign
======================================== */

.campaign {
  margin: auto;
 padding-top: 15px;
}

.campaign a:hover img {
  opacity: 0.7;
}

/* Hero
-----------------------------------------*/

#hero {
  position: relative;
  height: 365px;
  box-shadow: 0px 2px 10px -2px rgba(0,0,0,0.1) inset;
}
#slider {
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.slider-image-cache {
  display: none;
}
.slider-bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  max-height: 365px;
  background-color: #f7f7f7;
}
.slider-content {
  width: 810px;
  margin: 0 auto;
  padding-top: 30px;
}
.slider-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.slider-bg ul,
.slider-banner ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: white;
}
.slider-bg li,
.slider-banner li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.slider-bg img {
  width: 100%;
  min-width: 1200px;
  height: auto;
  min-height: 365px;
  vertical-align: middle;
}
a.slider-banner-link {
  display: block;
  background-color: white;
}
.slider-navigation {
  padding-top: 270px;
}
.slider-navigation ul {
  text-align: center;
}
.slider-navigation li {
  display: inline-block;
  width: 15%;
  height: 6px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 1px;
  background-color: #464646;
}
.slider-navigation li.active,
.slider-navigation li:hover {
  background-color: #ff5577;
}

@media (max-width: 817px) {
  .slider-content {
    width: calc(100% - 40px);
  }
  .slider-bg {
    max-height: 100%;
  }
  .slider-bg img {
    min-width: 100%;
    background-size: cover;
  }
  .slider-navigation {
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 100%;
    padding-top: 0;
  }
}
@media (max-width: 779px) and (min-width: 730px) {
  #hero {
    height: 340px;
  }
}
@media (max-width: 729px) and (min-width: 680px) {
  #hero {
    height: 325px;
  }
}
@media (max-width: 679px) and (min-width: 630px) {
  #hero {
    height: 305px;
  }
}
@media (max-width: 629px) and (min-width: 580px) {
  #hero {
    height: 290px;
  }
}
@media (max-width: 579px) and (min-width: 530px) {
  #hero {
    height: 275px;
  }
}
@media (max-width: 529px) and (min-width: 480px) {
  #hero {
    height: 260px;
  }
}
@media (max-width: 479px) and (min-width: 430px) {
  #hero {
    height: 245px;
  }
}
@media (max-width: 429px) and (min-width: 380px) {
  #hero {
    height: 225px;
  }
}
@media (max-width: 379px) and (min-width: 330px) {
  #hero {
    height: 210px;
  }
}
@media (max-width: 329px) {
  #hero {
    height: 190px;
  }
}

/* Service
-----------------------------------------*/

#service {
  padding: 60px 0;
}
#service ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 34px;
  list-style: none;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#service li {
  width: 225px;
}
#service a figure {
  display: block;
  height: 139px;
}
#service a:hover figure {
  opacity: 0.7;
}
#service a h2 {
  margin: 13px 0 13px 0;
  text-align: center;
  color: #000;
  font-size: 14px;
}
#service a:hover h2 {
  color: #818193;
}
#service p {
  font-size: 12px;
  line-height: 1.6;
}
#service small {
  font-size: 11px;
}

@media (max-width: 959px) and (min-width: 780px) {
  #service a figure {
    height: auto;
  }
  #service li img {
    width: 100%;
  }
  #service small {
    font-size: 8px;
    font-weight: normal;
  }
  #service span {
    font-size: 12px;
  }
}

@media (max-width: 779px) and (min-width: 600px) {
  #service ul {
    width: 482px;
    margin: 0 auto;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #service li {
    margin-bottom: 32px;
  }
}

@media (max-width: 599px) {
  #service ul {
    box-sizing: border-box;
    width: 100%;
    max-width: 482px;
    margin: 0 auto;
    padding: 0 20px;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #service li {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }
  #service li img {
    width: 100%;
  }
  #service a figure {
    height: auto;
  }
  #service small {
    display: block;
    font-size: 9px;
  }
  #service span {
    font-size: 9px;
  }
}

@media (max-width: 419px) {
  #service a h2 {
    font-size: 13px;
  }
}

@media (max-width: 320px) {
  #service a h2 {
    font-size: 11px;
    letter-spacing: -0.02em;
  }
  #service a p {
    font-size: 11px;
  }
  #service span {
    font-size: 8px;
  }
}

/* Information
-----------------------------------------*/

#information {
  padding: 60px 0;
  background: #f7f7f7;
}
#information ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#information li {
  width: 465px;
}
#information header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 21px;
  padding-bottom: 10px;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#information li:first-of-type header {
  border-bottom: 2px solid #FD7C96;
}
#information li:last-of-type header {
  border-bottom: 2px solid #ff8240;
}
#information h2 {
  font-size: 20px;
  font-weight: normal;
}
#information span {
  display: block;
  padding: 4px 8px;
  text-decoration: none;
  font-size: 12px;
}
#information li:first-of-type span {
  color: #FD7C96;
  border: 1px solid #FD7C96;
}
#information li:first-of-type a:hover span {
  color: #fff;
  background: #FD7C96;
}
#information li:last-of-type span {
  color: #ff8240;
  border: 1px solid #ff8240;
}
#information li:last-of-type a:hover span {
  color: #fff;
  background: #ff8240;
}
#information dl {
  margin-bottom: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid #cacaca;
}
#information dl:last-of-type {
  margin: 0;
  padding: 0;
  border: 0;
}
#information dd {
  max-height: 100%;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.6;
}
#information dd a {
  color: #000;
}
#information dd a:hover {
  text-decoration: underline;
}
#information dt {
  max-height: 100%;
  color: #999;
  font-size: 12px;
}

@media (max-width: 959px) {
  #information ul {
    flex-direction: column;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #information li {
    width: calc(100% - 40px);
  }
  #information li:first-of-type {
    margin-bottom: 32px;
  }
}

@media (max-width: 599px) {
  #information li img {
    width: 100%;
  }
}

/* Event
-----------------------------------------*/

#event {
  padding: 60px 0;
  color: #fff;
  background: #51434f url('../images/event/event.jpg');
  background-size: cover;
}
#event dl {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 10px;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#event dt {
  min-width: 75px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}
#event dl:first-of-type::before {
  position: absolute;
  top: -25px;
  left: 23px;
  content: '開催日';
  font-size: 12px;
}
#event dd {
  margin-left: 21px;
  font-size: 14px;
}
#event dd a {
  color: #fff;
  line-height: 1.6;
}
#event dd a:hover {
  text-decoration: underline;
}
#event .c-btn {
  color: #fff;
  border-color: 1px solid #fff;
}
#event .c-btn:hover {
  color: #4c3753;
  background: #fff;
}
#event .no-data {
  text-align: center;
}

@media (max-width: 959px) {
  #event dl {
    width: calc(100% - 40px);
    margin: 0 auto 20px auto;

    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
  #event dl::before {
    display: none;
  }
  #event dt {
    text-align: left;
  }
  #event .c-btn {
    margin-top: 52px;
  }
}

/* Case
-----------------------------------------*/

#case {
  padding: 60px 0;
}
#case ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 15px;
  list-style: none;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#case ul:last-of-type {
  margin-bottom: 30px;
}
#case ul li a:hover {
  opacity: 0.7;
}
#case #case-template a {
  display: block;
  margin-bottom: 20px;
  color: #000;
}
#case #case-template a:hover {
  background: #f6f6f6;
}
#case dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px;
  border: 1px solid #ccc;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#case dt {
  min-width: 225px;
  margin-right: 20px;
}
#case dt img {
  width: 100%;
}
#case dd {
  position: relative;

  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}
#case dd h3 {
  margin-bottom: 10px;
}
#case dd small {
  margin-left: 5px;
  font-size: 12px;
}
#case dd h4 {
  margin-bottom: 13px;
  font-size: 14px;
  line-height: 1.4;
}
#case dd p {
  padding-bottom: 20px;
  font-size: 12px;
  line-height: 1.5;

  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}
#case footer {
  text-align: right;
  font-size: 14px;
}
#case footer .fa {
  margin-right: 5px;
  color: #d8d8d8;
}
#case dd span {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  box-sizing: border-box;
  min-width: 90px;
  height: 24px;
  padding: 0 10px;
  text-align: center;
  color: #fff;
  background: #555;
  font-size: 11px;
  line-height: 23px;
}
#case dd span.public {
  background: #27a627;
}
#case dd span.game {
  background: #d02d2d;
}

@media (min-width: 600px) {
  #case dt {
    max-width: calc(39% - 10px);
  }
  #case dd {
    max-width: calc(61% - 10px);
  }
}

@media (max-width: 959px) and (min-width: 600px) {
  #case #case-template {
    width: calc(100% - 40px);
    margin: 0 auto;
  }
  #case dd span {
    display: none;
  }
  #case ul {
    margin-right: 20px;
    margin-left: 20px;
  }
  #case li {
    margin-left: 20px;
  }
  #case li:first-of-type {
    margin-left: 0;
  }
  #case li img {
    width: 100%;
  }
  #case .c-btn {
    margin-top: 56px;
  }
}

@media (max-width: 599px) {
  #case ul {
    flex-direction: column;
    margin-bottom: 0;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
  }
  #case li {
    margin-bottom: 20px;
  }
  #case ul:last-of-type li:last-of-type {
    margin-bottom: 16px;
  }
  #case #case-template {
    width: calc(100% - 40px);
    margin: 0 auto;
  }
  #case dl {
    flex-direction: column;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
  }
  #case dt {
    margin-bottom: 32px;
    margin-right: 0;
    text-align: center;
    min-height: 1px;
  }
  #case dd h3 {
    margin-bottom: 20px;
    text-align: center;
  }
  #case dd h4 {
    margin-bottom: 20px;
  }
  #case dd span {
    display: none;
  }
  #case footer {
    text-align: center;
  }
  #case .c-btn {
    margin-top: 56px;
  }
}


/* Effort
-----------------------------------------*/

#effort {
  padding: 60px 0;
  background: #d8d8dc;
}
#effort ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#effort li {
  width: 225px;
}
#effort li a figure {
  display: block;
  margin-bottom: 10px;
}
#effort li a:hover figure img {
  opacity: 0.7;
}
#effort a p {
  text-align: center;
  color: #000;
  font-size: 14px;
}
#effort a:hover p {
  color: #818193;
}

@media (max-width: 959px) and (min-width: 780px) {
  #effort li img {
    width: 100%;
  }
}

@media (max-width: 779px) and (min-width: 600px) {
  #effort ul {
    width: 482px;
    margin: 0 auto;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #effort li {
    margin-bottom: 32px;
  }
  #effort li:nth-last-of-type(1),
  #effort li:nth-last-of-type(2) {
    margin-bottom: 0;
  }
}

@media (max-width: 599px) {
  #effort ul {
    box-sizing: border-box;
    width: 100%;
    padding: 0 20px;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #effort li {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }
  #effort li img {
    width: 100%;
  }
  #effort li:nth-last-of-type(1),
  #effort li:nth-last-of-type(2) {
    margin-bottom: 0;
  }
}

@media (max-width: 419px) {
  #effort a p {
    font-size: 10px;
  }
}

/* Knowledge
-----------------------------------------*/

#knowledge {
  padding: 60px 0;
  background: #f3f3f3;
}
#knowledge h1 {
  margin-bottom: 60px;
  text-align: center;
}
#knowledge ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#knowledge li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 223px;
}
#knowledge li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: #000;
  border: 1px solid #bfbfbf;
  background: #fff;

  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
}
#knowledge li a:hover {
  border: 1px solid #ff7b7b;
}
#knowledge li header {
  padding: 20px 20px 10px 20px;

  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}
#knowledge li figure {
    overflow: hidden;
    max-height: 123px;
}
#knowledge li h3 {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.3;
}
#knowledge li aside {
  padding: 10px 20px;
  color: #999;
  font-size: 12px;
}
#knowledge footer {
  height: 32px;
  text-align: center;
  text-decoration: none;
  color: #000;
  background: #e2e2e2;
  font-size: 12px;
  line-height: 32px;
}
#knowledge a:hover footer {
  color: #fff;
  background: #ff7b7b;
}
#knowledge .c-btn {
  color: #ff7b7b;
  border-color: #ff7b7b;
}
#knowledge .c-btn:hover {
  color: #fff;
  background: #ff7b7b;
}
#knowledge .category {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 6px;
  color: #fff;
  background: #ff7b7b;
  font-size: 10px;
}

@media (max-width: 959px) and (min-width: 780px) {
  #knowledge ul {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
  #knowledge li {
    box-sizing: border-box;
    width: 25%;
  }
  #knowledge li a {
    border-left: none;
  }
  #knowledge li:last-of-type a {
    border-right: none;
  }
}

@media (max-width: 779px) and (min-width: 600px) {
  #knowledge ul {
    width: 482px;
    margin: 0 auto;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #knowledge ul li {
    box-sizing: border-box;
    margin-bottom: 36px
  }
  #knowledge ul li:nth-of-type(1n+3) {
    margin-bottom: 22px;
  }
}

@media (max-width: 599px) {
  #knowledge h1 img {
    width: 280px;
  }
  #knowledge ul {
    flex-direction: column;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #knowledge li {
    width: calc(100% - 40px);
    margin-bottom: 32px;
    text-align: center;
  }
  #knowledge li:nth-of-type(2) {
    margin-bottom: 22px;
  }
  #knowledge li:nth-of-type(1n+3) {
    display: none;
  }
}

/* Help
-----------------------------------------*/

#help {
  padding: 60px 0;
}
#help ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#help li {
  width: 225px;
}
#help li a figure {
  display: block;
  margin-bottom: 10px;
  background: #fff;
}
#help li a:hover figure img {
  opacity: 0.7;
}
#help a p {
  text-align: center;
  color: #000;
  font-size: 14px;
}
#help a:hover p {
  color: #818193;
}

@media (max-width: 959px) and (min-width: 780px) {
  #help li img {
    width: 100%;
  }
}

@media (max-width: 779px) and (min-width: 600px) {
  #help ul {
    width: 482px;
    margin: 0 auto;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #help li {
    margin-bottom: 32px;
  }
  #help li:nth-last-of-type(1),
  #help li:nth-last-of-type(2) {
    margin-bottom: 0;
  }
}

@media (max-width: 599px) {
  #help ul {
    box-sizing: border-box;
    width: 100%;
    padding: 0 20px;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #help li {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }
  #help li img {
    width: 100%;
  }
  #help li:nth-last-of-type(1),
  #help li:nth-last-of-type(2) {
    margin-bottom: 0;
  }
}

@media (max-width: 419px) {
  #help a p {
    font-size: 10px;
  }
}

/* ========================================
Object
======================================== */

/* Compornent
-----------------------------------------*/

.c-btn {
  display: block;
  width: 470px;
  height: 40px;
  margin: 34px auto 0 auto;
  text-align: center;
  text-decoration: none;
  color: #444;
  border: 1px solid #bfbfbf;
  line-height: 38px;
}
.c-btn:hover {
  color: #fff;
  background: #bfbfbf;
}

.c-hl {
  margin-bottom: 55px;
  text-align: center;
  font-size: 28px;
  font-weight: normal;
}

@media (max-width: 600px) {
  .c-btn {
    width: calc(100% - 40px);
  }
}
