body#toppage .mv .inner {
  padding-bottom: 2.4em;
  background: url("../images/toppage/mv_bg.png") no-repeat center bottom;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  -webkit-background-size: 100%;
  background-size: 100%;
}
body#toppage .mv .inner img {
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
}
body#toppage .mv .flexslider {
  margin-bottom: 0;
  border: 0 none;
  -moz-box-shadow: 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
}
body#toppage .about p {
  margin-bottom: 2em;
  text-align: center;
  line-height: 2;
}
body#toppage .diary {
  margin-bottom: 3.75em;
  padding: 1.875em;
  background-color: #ffffff;
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
}
body#toppage .diary .heading {
  position: relative;
  margin-bottom: 1.25em;
  padding: 0.625em 0.8125em;
  background-color: #a3cc29;
  -moz-border-radius: 0.1875em;
  -webkit-border-radius: 0.1875em;
  border-radius: 0.1875em;
}
body#toppage .diary .heading h3 {
  color: #ffffff;
  font-weight: bold;
  line-height: 1.25;
}
body#toppage .diary .heading .nav {
  position: absolute;
  top: 50%;
  right: 0.625em;
  margin-top: -0.9375em;
}
body#toppage .diary .heading .nav a {
  display: inline-block;
  padding: 0 3em 0 2em;
  color: #f2a03d;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  line-height: 1.875;
  background-color: #ffffff;
  -moz-border-radius: 0.9375em;
  -webkit-border-radius: 0.9375em;
  border-radius: 0.9375em;
}
body#toppage .diary .heading .nav a:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  content: '';
  position: absolute;
  top: 50%;
  right: 0.5em;
  margin-top: -0.5em;
  width: 1em;
  height: 1em;
  background: url("../images/icon_arrow.png") no-repeat 0 0;
  -moz-background-size: 1em;
  -o-background-size: 1em;
  -webkit-background-size: 1em;
  background-size: 1em;
}
body#toppage .diary .heading .nav a:hover {
  color: #ffffff;
  background-color: #f2a03d;
}
body#toppage .diary .r-tabs .r-tabs-nav {
  margin: 0;
  padding: 0;
  display: flex;
}
body#toppage .diary .r-tabs .r-tabs-nav li {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 1px;
}
body#toppage .diary .r-tabs .r-tabs-nav li a {
  position: relative;
  z-index: 10;
  display: block;
  padding: 0.625em 1em;
  border-bottom: solid 1px #ffffff !important;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  -moz-border-radius: 0.3125em 0.3125em 0 0;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em 0.3125em 0 0;
}
body#toppage .diary .r-tabs .r-tabs-nav li a.all {
  border: solid 1px #e5e5e5;
  color: #999999;
  background-color: #e5e5e5;
}
body#toppage .diary .r-tabs .r-tabs-nav li a.development {
  border: solid 1px #ffd1d1;
  color: #ff6666;
  background-color: #ffd1d1;
}
body#toppage .diary .r-tabs .r-tabs-nav li a.dayservice {
  border: solid 1px #fbe2c4;
  color: #f2a03d;
  background-color: #fbe2c4;
}
body#toppage .diary .r-tabs .r-tabs-nav li a.livingcare {
  border: solid 1px #d0eafb;
  color: #63bbf2;
  background-color: #d0eafb;
}
body#toppage .diary .r-tabs .r-tabs-nav li a.news {
  border: solid 1px #edf3ce;
  color: #9bb224;
  background-color: #edf3ce;
}
body#toppage .diary .r-tabs .r-tabs-nav li a.company {
  border: solid 1px #ffccee;
  color: #ff4ca6;
  background-color: #ffccee;
}
body#toppage .diary .r-tabs .r-tabs-nav li.r-tabs-state-active a {
  z-index: 12;
  background-color: #ffffff;
}
body#toppage .diary .r-tabs .r-tabs-nav li.r-tabs-state-active a.all {
  border: solid 1px #999999;
}
body#toppage .diary .r-tabs .r-tabs-nav li.r-tabs-state-active a.development {
  border: solid 1px #ff6666;
}
body#toppage .diary .r-tabs .r-tabs-nav li.r-tabs-state-active a.dayservice {
  border: solid 1px #f2a03d;
}
body#toppage .diary .r-tabs .r-tabs-nav li.r-tabs-state-active a.livingcare {
  border: solid 1px #63bbf2;
}
body#toppage .diary .r-tabs .r-tabs-nav li.r-tabs-state-active a.news {
  border: solid 1px #9bb224;
}
body#toppage .diary .r-tabs .r-tabs-nav li.r-tabs-state-active a.company {
  border: solid 1px #ff4ca6;
}
body#toppage .diary .r-tabs .r-tabs-tab {
  display: inline-block;
  margin: 0;
  list-style: none;
}
body#toppage .diary .r-tabs .r-tabs-panel {
  position: relative;
  z-index: 11;
  margin-top: -1px;
  display: none;
}
body#toppage .diary .r-tabs .r-tabs-panel ul li {
  padding: 1em;
  border-bottom: dotted 1px #999999;
}
body#toppage .diary .r-tabs .r-tabs-panel ul li .date {
  vertical-align: middle;
  margin-right: 1em;
}
body#toppage .diary .r-tabs .r-tabs-panel ul li .label {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  width: 12em;
  margin-right: 1.25em;
  padding: 0.5em;
  color: #ffffff;
  font-size: 87.5%;
  text-align: center;
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
}
body#toppage .diary .r-tabs .r-tabs-panel ul li .label.development {
  background-color: #ff6666;
}
body#toppage .diary .r-tabs .r-tabs-panel ul li .label.dayservice {
  background-color: #f2a03d;
}
body#toppage .diary .r-tabs .r-tabs-panel ul li .label.livingcare {
  background-color: #63bbf2;
}
body#toppage .diary .r-tabs .r-tabs-panel ul li .label.news {
  background-color: #9bb224;
}
body#toppage .diary .r-tabs .r-tabs-panel ul li .label.company {
  background-color: #ff4ca6;
}
body#toppage .diary .r-tabs .r-tabs-panel.r-tabs-state-active {
  display: block;
}
body#toppage .diary .r-tabs .r-tabs-panel.all {
  border-top: solid 1px #999999;
}
body#toppage .diary .r-tabs .r-tabs-panel.development {
  border-top: solid 1px #ff6666;
}
body#toppage .diary .r-tabs .r-tabs-panel.dayservice {
  border-top: solid 1px #f2a03d;
}
body#toppage .diary .r-tabs .r-tabs-panel.livingcare {
  border-top: solid 1px #63bbf2;
}
body#toppage .diary .r-tabs .r-tabs-panel.news {
  border-top: solid 1px #9bb224;
}
body#toppage .diary .r-tabs .r-tabs-panel.company {
  border-top: solid 1px #ff4ca6;
}
body#toppage .diary .r-tabs .r-tabs-accordion-title {
  display: none;
}
body#toppage .service {
  padding-bottom: 0;
}
body#toppage .service .boxset {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -1%;
}
body#toppage .service .boxset:after {
  content: '';
  clear: both;
  display: block;
}
body#toppage .service .boxset a {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  float: left;
  width: 31.3%;
  margin: 0.625em 1%;
  text-align: center;
  text-decoration: none;
}
body#toppage .service .boxset a:hover {
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
body#toppage .service .boxset a:first-child {
  margin-left: 16.7%;
}
body#toppage .service .boxset a dl {
  padding: 0.625em;
  font-weight: bold;
  background-color: #999999;
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
}
body#toppage .service .boxset a dl.development {
  background-color: #ff6666;
}
body#toppage .service .boxset a dl.development dd {
  color: #ff6666;
}
body#toppage .service .boxset a dl.dayservice {
  background-color: #f2a03d;
}
body#toppage .service .boxset a dl.dayservice dd {
  color: #f2a03d;
}
body#toppage .service .boxset a dl.livingcare {
  background-color: #63bbf2;
}
body#toppage .service .boxset a dl.livingcare dd {
  color: #63bbf2;
}
body#toppage .service .boxset a dl dt {
  padding-bottom: 0.625em;
  color: #ffffff;
  line-height: 1.25;
}
body#toppage .service .boxset a dl dd {
  padding: 0.8em;
  background-color: #ffffff;
  -moz-border-radius: 0.1875em;
  -webkit-border-radius: 0.1875em;
  border-radius: 0.1875em;
}

/* RWD
---------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
  body#toppage .mv p {
    padding-bottom: 0.6125em;
  }
  body#toppage .about p {
    margin-bottom: 1em;
    text-align: left;
    line-height: 1.75;
  }
  body#toppage .diary {
    margin-bottom: 1em;
    padding: 0.625em;
  }
  body#toppage .diary .heading {
    margin-bottom: 0.625em;
  }
  body#toppage .diary .heading .nav {
    font-size: 80%;
  }
  body#toppage .diary .heading .nav a {
    padding: 0 2em 0 1em;
  }
  body#toppage .diary .r-tabs .r-tabs-nav {
    display: none;
  }
  body#toppage .diary .r-tabs .r-tabs-accordion-title {
    display: block;
  }
  body#toppage .diary .r-tabs .r-tabs-accordion-title a {
    display: block;
    margin-top: 0.3125em;
    padding: 0.625em;
    font-weight: bold;
    text-decoration: none;
    -moz-border-radius: 0.3125em;
    -webkit-border-radius: 0.3125em;
    border-radius: 0.3125em;
  }
  body#toppage .diary .r-tabs .r-tabs-accordion-title:nth-of-type(1) a {
    color: #999999;
    background-color: #e5e5e5;
  }
  body#toppage .diary .r-tabs .r-tabs-accordion-title:nth-of-type(3) a {
    color: #ff6666;
    background-color: #ffd1d1;
  }
  body#toppage .diary .r-tabs .r-tabs-accordion-title:nth-of-type(5) a {
    color: #f2a03d;
    background-color: #fbe2c4;
  }
  body#toppage .diary .r-tabs .r-tabs-accordion-title:nth-of-type(7) a {
    color: #63bbf2;
    background-color: #d0eafb;
  }
  body#toppage .diary .r-tabs .r-tabs-accordion-title:nth-of-type(9) a {
    color: #9bb224;
    background-color: #edf3ce;
  }
  body#toppage .diary .r-tabs .r-tabs-accordion-title:nth-of-type(11) a {
    color: #ff4ca6;
    background-color: #ffccee;
  }
  body#toppage .diary .r-tabs .r-tabs-panel {
    margin-top: 0;
    border-top: 0 none !important;
  }
  body#toppage .diary .r-tabs .r-tabs-panel ul li {
    padding: 0.625em 0;
  }
  body#toppage .diary .r-tabs .r-tabs-panel ul li .date {
    font-size: 87.5%;
  }
  body#toppage .diary .r-tabs .r-tabs-panel ul li .label {
    margin-right: 0;
    font-size: 75%;
  }
  body#toppage .diary .r-tabs .r-tabs-panel ul li a {
    display: block;
    margin-top: 0.625em;
    font-size: 87.5%;
  }
  body#toppage .service .boxset a {
    width: 48%;
    margin: 0.3125em 1%;
  }
  body#toppage .service .boxset a:first-child {
    margin-left: 1%;
  }
  body#toppage .service .boxset a dl {
    padding: 0.3125em;
  }
  body#toppage .service .boxset a dl dt {
    padding-bottom: 0.3125em;
    font-size: 62.5%;
  }
  body#toppage .service .boxset a dl dd {
    padding: 0.3125em 0;
  }
}
