/* =トップページのみに適用されます
-------------------------------------------------------------- */
.balloon {
  display: none;
  position: absolute;
  width: 212px;
  z-index: 9999;
}
.balloon.animated {
  display: block;
}
@keyframes rubberBand {
  0% {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
  }
  30% {
      -webkit-transform: scale3d(1, 0.75, 1);
      transform: scale3d(1, 0.75, 1);
  }
  40% {
      -webkit-transform: scale3d(0.75, 1, 1);
      transform: scale3d(0.75, 1, 1);
  }
  50% {
      -webkit-transform: scale3d(1, 0.85, 1);
      transform: scale3d(1, 0.85, 1);
  }
  65% {
      -webkit-transform: scale3d(.95, 1, 1);
      transform: scale3d(.95, 1, 1);
  }
  75% {
      -webkit-transform: scale3d(1, .95, 1);
      transform: scale3d(1, .95, 1);
  }
  100% {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
  }
}
@media screen and (max-width: 960px) {
  .balloon {
    width: 125px;
  }
  .balloon.animated {
    display: none;
  }
}

html.hideScrollbar {
  overflow-y: hidden;
}
html,body,#wrapper {
	height: 100%;
}
header {
  position: fixed;;
  top: 0; left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
}
#branding {
  padding: 10px 0;
}

#main {
  padding: 70px 0 120px;
}
#main-visual {
  position: relative;
  width: 428px;
  height: 370px;
  margin: 100px auto 100px;
  z-index: 999;
}
#main-visual .balloon {
  display: none;
  top: -50px; right: -210px;
}
#main-visual .balloon.animated {
  display: block;
}
#main-visual:hover .balloon {
  opacity: 1;
}

@media screen and (max-width: 960px) {
  #main {
    padding: 70px 0 100px;
  }
  #main-visual .balloon {
    top: -40px; right: -90px;
  }
}

#gnav  {
  text-align: center;
}
#gnav li {
  position: relative;
  width: 140px;
}
#gnav li a {
  display: block;
  color: #727171;
}
#gnav li a:hover {
  text-decoration: none;
}
#gnav li a object {
  pointer-events: none;
}
#gnav li:first-child .text {
  border-left: 2px solid #727171;
}
#gnav .gnav-daruma {
  width: 74px;
  margin: auto;
}
#gnav .gnav-daruma.swing {
  -moz-animation: gnav-daruma-swing linear .5s infinite;
  -webkit-animation: gnav-daruma-swing linear .5s infinite;
  -ms-animation: gnav-daruma-swing linear .5s infinite;
  animation: gnav-daruma-swing linear .5s infinite;
  transform-origin: center bottom;
}
#gnav .gnav-daruma object svg:hover {
  cursor: pointer;
}
#gnav .text {
  text-align: center;
}
#gnav .text {
  width: 100%;
  box-sizing: border-box;
  border-right: 2px solid #727171;
  letter-spacing: -2px;
  font-size: 18px;
  font-weight: bold;
}
#gnav li:nth-child(1) .text {
  color: #d7000f;
}
#gnav li:nth-child(2) .text {
  color: #2cab3e;
}
/*#gnav li:nth-child(3) .text {
  color: #222485;
}*/
/*#gnav li:nth-child(3) .text {
  color: #E65522;
}*/
#gnav li:nth-child(3) .text {
  color: #25A0E6;
}
#gnav li:nth-child(4) .text {
  color: #25A0E6;
}
/*#gnav li:nth-child(6) .text {
  color: #903A19;
}*/
#gnav .balloon {
  top: -165px; left: -30px;
}
@media screen and (max-width: 960px) {
  #gnav {
    width: auto;
  }
  #gnav li {
    width: 300px;
  }
  #gnav li:nth-child(4) .text {
   border-left: 2px solid #727171;
  }
  #gnav li:not(:nth-last-child(-n+3)) {
    margin-bottom: 40px;
  }
  #gnav .gnav-daruma {
    width: 120px;
  }
  #gnav .text {
    font-size: 36px;
      letter-spacing: -3px;
  }
  #gnav .balloon {
    top: -125px;
    left: 0;
  }
}
.scrollDown {
  margin: 50px auto 0;
  text-align: center;
  z-index: 99;
}
.scrollDown a {
  display: block;
  width: 100px;
  margin: auto;
  color: #231815;
}
.scrollDown a:hover {
  text-decoration: none;
}
.scrollDown .arrow {
  font-size: 32px;
  font-weight: bold;
}
.scrollDown .arrow.animated {
  -webkit-animation-duration: 1.2s;
  animation-duration: 1.2s;
}
.scrollDown .text {
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}
.scrollDown .text.animated {
  -webkit-animation: fadeInOut 4s infinite;
  animation: fadeInOut 4s infinite;
}
@-webkit-keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-moz-keyframes gnav-daruma-swing {
    0% { -moz-transform: rotate(0deg) }
    25% { -moz-transform: rotate(4deg); }
    50% { -moz-transform: rotate(0deg); }
    75% { -moz-transform: rotate(-4deg); }
    100% { -moz-transform: rotate(0deg); }
}
@-webkit-keyframes gnav-daruma-swing {
    0% { -webkit-transform: rotate(0deg); }
    25% { -webkit-transform: rotate(4deg); }
    50% { -webkit-transform: rotate(0deg); }
    75% { -webkit-transform: rotate(-4deg); }
    100% { -webkit-transform: rotate(0deg); }
}
@-ms-keyframes gnav-daruma-swing {
    0% { -ms-transform: rotate(0deg); }
    25% { -ms-transform: rotate(4deg); }
    50% { -ms-transform: rotate(0deg); }
    75% { -ms-transform: rotate(-4deg); }
    100% { -ms-transform: rotate(0deg); }
}
@keyframes gnav-daruma-swing {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(4deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-4deg); }
    100% { transform: rotate(0deg); }
}
@media screen and (max-width: 960px) {
  .scrollDown {
    margin-top: 80px;
  }
  .scrollDown .arrow {
    font-size: 64px;
  }
  .scrollDown .text {
    font-size: 30px;
  }
}

.footer-wrap {
  position: relative;
}
.footer-wrap .section-title {
  width: 200px;
  margin: 0 auto 20px;
  border-bottom: 4px solid #C8000A;
  font-size: 28px;
  color: #C8000A;
  text-align: center;
}
.footer-wrap #blog .section-title {
  margin-bottom: 25px;
}
.footer-wrap .section-title a {
  color: #C8000A;
}
.footer-wrap .section-title a:hover {
  text-decoration: none;
}
.footer-wrap #news .section-inner {
  padding-bottom: 40px;
}
.footer-wrap #news .news-list li {
  padding: 10px 0;
  border-bottom: 2px dashed #C8000A;
}
.footer-wrap #news .news-list li:first-child {
  padding-top: 0;
}
.footer-wrap #news .news-list .title,
.footer-wrap #blog .item .title {
  line-height: 1.5;
}
.footer-wrap #news .news-list .title a,
.footer-wrap #blog .item .title a {
  font-size: 18px;
  color: #231815;
  text-decoration: underline;
}
.footer-wrap #news .news-list .date {
  width: 240px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
}
.footer-wrap #news .news-list .text {
  font-size: 15px;
}
.footer-wrap #blog .section-inner {
  padding-bottom: 40px;
}
.footer-wrap #blog .item {
  width: 300px;
}
.footer-wrap #blog .item:not(:last-child) {
  margin-right: 30px;
}
.footer-wrap #blog .item .imgbox {
  width: 300px;
  height: 240px;
}
.footer-wrap #blog .item .imgbox img {
  width: 100%;
  height: 100%;
}
.footer-wrap #blog .item .title {
  font-size: 18px;
}

@media screen and (max-width: 960px) {
	.scrollDown a {
		width: 200px;
	}
  .footer-wrap {
    height: auto;
  }
  .footer-wrap .section-title {
    width: 280px;
    font-size: 48px;
  }
  .footer-wrap #news .news-list .date {
		width: 280px;
		font-size: 36px;
	}
  .footer-wrap #news .news-list .title {
    margin-bottom: 10px;
  }
	.footer-wrap #news .news-list .title a,
  .footer-wrap #blog .item .title a {
		font-size: 36px;
	}
  .footer-wrap #news .news-list .text {
    font-size: 32px;
  }
  .footer-wrap #blog .item:not(:last-child) {
    margin-right: 10px;
  }
}

